11107 Commits

Author SHA1 Message Date
Brian Ng
3e41a2dacb Update README examples to fix website [skip ci] (#151) 2017-01-23 18:22:52 -05:00
Chau Nguyen
2ee3a017f0 [7.0] Added yarn.lock (#5175)
* Added yarn.lock

* Updated bootstrap npm install commands to yarn and added yarn caching
2017-01-23 18:15:33 -05:00
Andrew Levine
9929baaca8 Don't parse class properties without initializers when classProperties is disabled and Flow is enabled (#300) 2017-01-23 23:56:39 +01:00
Brian Ng
b69dc51be0 Fix missing parens when function expressions is tag (#5193) 2017-01-23 08:45:57 -08:00
Sven SAULEAU
c638985aca docs: [skip ci] update README (#5194) 2017-01-23 10:48:35 -05:00
Vivek Kumar Bansal
728072f47b [7.0] Remove old babel-runtime code (#5187) 2017-01-21 11:25:29 -05:00
Scott Arnold
20a5249dea [7.0] Drop support for Node 5 (#5186) 2017-01-21 10:14:49 -05:00
Henry Zhu
661102c7ea Merge branch 'master' into 7.0
# Conflicts:
#	.travis.yml
#	CHANGELOG.md
#	lerna.json
#	packages/babel-cli/package.json
2017-01-21 08:52:14 -05:00
Andres Suarez
e9d87ed55c Remove path-is-absolute in favor of builtin path.isAbsolute (#5179) 2017-01-21 08:33:34 -05:00
Brian Ng
d76092b2dd Internal: Run coverage only once (#5182) 2017-01-21 08:20:03 -05:00
Daniel Tschinder
b6c3b5aa83 Cleanup and splitup parser functions (#295)
This makes it easier to integrate the estree plugin.
2017-01-20 23:52:16 +01:00
Henry Zhu
3a0d1599cd Internal: only build once on CI (#5177) 2017-01-20 17:46:09 -05:00
Daniel Tschinder
0a00aff2fe Do not allow overwritting of primitive types (#314)
* Do not allow overwritting of primitive types

* Better name for method
2017-01-20 22:22:25 +01:00
Brian Ng
461ed45942 Fix parse error when destructuring set with default value (#317) 2017-01-20 22:21:40 +01:00
Daniel Tschinder
55df6631fa Address comments on flow type imports (#312) 2017-01-20 22:20:13 +01:00
Daniel Tschinder
d5cd2c3231 Allow imports in declare module (#315)
* Allow imports in declare module {}

* Rename bodyElement to bodyNode
2017-01-20 22:19:50 +01:00
Mathias Bynens
f2df08e253 AST spec: fix casing of RegExpLiteral (#318) [skip ci] 2017-01-20 11:05:21 -05:00
Henry Zhu
d7a0ef19f1 Run in dev on build otherwise it runs with coverage plugin (#5159) [skip ci] 2017-01-20 10:08:01 -05:00
Sergey Rubanov
7aa6387835 Add Node 7 to CI (#5165) 2017-01-20 10:07:32 -05:00
Mathias Bynens
090f7abda4 [7.0] babel-preset-stage-2: Add transform-unicode-property-regex (#3683)
This enables the use of Unicode property escapes of the form `\p{…}` and `\P{…}` in regular expressions with the `u` flag enabled.

More info: https://mathiasbynens.be/notes/es-unicode-property-escapes
Proposal: https://github.com/mathiasbynens/es-regexp-unicode-property-escapes
Plugin: https://github.com/mathiasbynens/babel-plugin-transform-unicode-property-regex
2017-01-20 08:17:25 -05:00
Colin
1aa7a2a1a3 Remove "class-constructor-call" syntax and transform plugins (#5119)
* removed class-constructor-call syntax and transform plugins and all references to them

* #5112, removed another reference to constructor call
2017-01-20 10:42:56 +01:00
Sergey Rubanov
d0b42d4313 Update babel-core browserify fixture (#5164) 2017-01-20 10:29:44 +01:00
Logan Smyth
85eec9ffef CHANGELOG for 6.22.2 2017-01-19 22:08:10 -08:00
Logan Smyth
7de9fa07fb v6.22.2 2017-01-19 22:03:27 -08:00
Logan Smyth
396634a51d Merge pull request #5162 from loganfsmyth/fix-5161
Break out of argument processing properly.
2017-01-19 22:00:58 -08:00
Logan Smyth
6528fe105e Break out of argument processing properly. 2017-01-19 21:47:11 -08:00
Adonis K
12886ea495 [7.0] Remove stage 4 plugins from stage 3 preset (#5126)
* remove trailing function commas from stage-3 preset (#5117)

trailing function commas is now a finished proposal and was moved to stage 4 (https://github.com/tc39/proposal-trailing-function-commas)

* remove the exponentiation operator from stage-3 preset (#5117)

exponentiation-operator is now a finished proposal and was moved to stage 4 (https://github.com/rwaldron/exponentiation-operator)

* remove async function to es2015 generator from stage-3 preset (#5117)

async functions is now a finished proposal and was moved to stage 4 (https://github.com/tc39/ecmascript-asyncawait)
2017-01-19 23:03:49 -05:00
Sergey Rubanov
b978996ba4 Remove add-module-exports use internally (#5131) 2017-01-19 23:02:19 -05:00
Jordan Jones
1742035a98 [7.0] Fixes #5108, browser.js and browser.js test removed (#5124)
* Fixes #5108, browser.js and browser.js test removed

* Moved api/node.js to index.js and adjusted associated file references
2017-01-19 22:43:11 -05:00
Janus Troelsen
e4ba28c294 [7.0] Dependencies: Upgrade regexpu-core to ^4.0.2 (#5028) 2017-01-19 22:33:46 -05:00
Anderson Vasques
81c3578adc [7.0] Remove old code used for backwards compatibility (#5122)
[7.0] Remove old code used for backwards compatibility in babel-polyfill

Fixes #5121
2017-01-19 22:32:16 -05:00
Chau Nguyen
d710e6dd5b [7.0] Drop flowUsesCommas option from babel-generator (#5123) 2017-01-19 22:24:13 -05:00
Sergey Rubanov
3a5ce620c8 [7.0] Deprecate babel-core/register.js (#5132)
* Deprecate babel-core/register.js

* add error when using `babel-core/register`
2017-01-19 22:22:45 -05:00
Shubheksha Jalan
c468b15a15 [7.0] removed old code from transform-runtime (#5142) 2017-01-19 22:20:04 -05:00
Henry Zhu
fabfc463f1 v6.22.1 changelog [skip ci] 2017-01-19 22:17:33 -05:00
Henry Zhu
368485828f v6.22.1 2017-01-19 22:12:53 -05:00
Henry Zhu
b06763f1a3 force update core/cli 2017-01-19 22:09:37 -05:00
Jason Aslakson
ef25bebfa8 fix issue #5012 - Cannot read property 'declarations' of null (#5019)
- temporary fix
2017-01-19 21:36:18 -05:00
Henry Zhu
ef3ab66847 Merge pull request #5025 from siddharthkp/patch-1
Drop support for Node 0.12 💀
2017-01-19 21:25:16 -05:00
Henry Zhu
e2c5a513f6 Create circle.yml 2017-01-19 20:42:25 -05:00
Henry Zhu
2471d5ebf3 Merge pull request #5041 from xtuc/remove-0.10-support
Remove node 0.10 support (CI)
2017-01-19 20:24:22 -05:00
Henry Zhu
e9fc38bcd3 v6.22.0 2017-01-19 19:33:22 -05:00
Henry Zhu
cc227f44a6 Merge pull request #5157 from babel/revert-5135-run-sandbox-tests
Revert "Run Babel's unittests in a custom sandbox."
2017-01-19 19:25:29 -05:00
Henry Zhu
03c88baf8d 6.22.0 changelog [skip ci] (#5158) 2017-01-19 19:24:23 -05:00
Henry Zhu
4106dd3db1 Revert "Run Babel's unittests in a custom sandbox." 2017-01-19 18:43:50 -05:00
Kilian Valkhof
4cefa5bcc0 Use external Electron to Chromium library (#144)
* Replace manual electron-to-chromium list and function with external library

* test fixtures for electron: Switch to electron 1.4, with known chrome version and update expected output

* update tests: electron 1.0 used chrome 49, not 50

* import only the relevant function from electron-to-chromium

* electron fixtures: Use number instead of string

* If both chrome and electron are defined, choose the lower version to preserve

* Add to test cases to verify correct handling of chrome number
2017-01-19 17:41:02 -05:00
Erik Desjardins
bca170ad79 Avoid duplicating impure expressions in object rest destructuring (#5151)
* avoid duplicating impure initializers in object rest destructuring

* reuse existing VariableDeclarations in object rest destructuring, to fix two issues:

1. inserting an additional VariableDeclaration after the current one may change order of operations, which is unsafe if a future VariableDeclarator refers to a destructured variable.

2. The entire VariableDeclaration is removed when all properties are rest properties, indiscriminately removing other variables
2017-01-18 21:32:44 -05:00
Brian Ng
235b1ba264 Merge pull request #146 from babel/typos
Fix few typos
2017-01-18 19:20:40 -06:00
Brian Ng
69870774e7 Fix few typos 2017-01-18 19:12:13 -06:00
Daniel Tschinder
a1bfa0253a
Update yarn.lock 2017-01-18 20:43:31 +01:00