Moti Zilberman
c3e8715010
Mask existing "local" bindings when registering new binding
...
Fixes #5491 .
2017-08-25 19:21:38 -04:00
Brian Ng
af2c974473
Fix TypeScript TypeParameterDeclaration location start values
2017-08-25 09:54:16 -05:00
James Henry
87b322cfc2
Add failing test case
2017-08-25 09:49:03 -05:00
Brian Ng
65db277364
Raise error if trailing comma after rest element in async func params
2017-08-24 21:59:01 -05:00
Brian Ng
c441afeaa6
Improve error message for comma after rest element in arrow func
2017-08-24 21:28:19 -05:00
Mauro Bringolf
d8b4073536
Consistent const violations ( #6100 )
...
* Changed updateExpression to report itself as violation instead of its argument
* Update getBindingIdentifiers to work with forXStatement and return proper node as violation
* Updated unaryExpression violation to be consistent with changes.
2017-08-24 21:19:02 -04:00
Brian Ng
27aae6c0f9
Merge pull request #686 from babel/invalid-label-declarations
2017-08-24 19:45:17 -05:00
Brian Ng
2bc124bf49
Fix some cases of keywords with escape sequences
2017-08-24 19:27:09 -05:00
Brian Ng
5e60ad6688
Fix some cases of invalid labeled declarations
2017-08-24 19:00:52 -05:00
Mateusz Burzyński
5d83e2692f
Adjusted Object Rest/Spread syntax handling to the latest spec ( #670 )
2017-08-24 18:31:50 -05:00
Mateusz Burzyński
5df1139567
Test262 update ( #692 )
2017-08-24 17:42:04 -05:00
Mateusz Burzyński
3c4f19a28d
Adjusted Object Rest/Spread tests to use only allowed syntax from the latest spec ( #6102 )
2017-08-24 15:50:43 -04:00
Noah Lemen
2db0c3ad1d
linting: disallow t.identifier("undefined") in plugins ( #6096 )
...
* add new custom eslint rule, replace remaining t.identifier("undefined") with buildUndefinedNode(), update tests
* change no-undefined-identifier reporting descriptor
2017-08-24 15:43:01 -04:00
Sven SAULEAU
f0e49dceb5
Merge pull request #400 from devdevil666/feature/license
...
Change license year
2017-08-24 09:20:18 +02:00
Nikita Yuzhakov
93ebb58e28
Add 'lib/types.js' to .npmignore
2017-08-23 19:08:23 +03:00
Evgeniy
0507c067f4
Change license
2017-08-23 18:48:21 +03:00
Nicolò Ribaudo
4577bd1b7c
TypeParameterInstantiation params can be "Flow" nodes, not "FlowType" ( #6140 )
2017-08-22 23:11:02 -04:00
Daniel Lo Nigro
93cf26abca
Fix babel-standalone for realz ( #6137 )
...
* Fix babel-standalone
* Fix infinite loop in Makefile (oops)
* Override Node.js module resolution to handle babel-core
2017-08-22 13:46:30 -07:00
Brian Ng
be0fe1c6b6
Update rollup config options ( #685 )
2017-08-22 15:59:05 -04:00
Astha Sharma
62c22c7b5d
Removed the deprecated jsx pragma detection code ( #6145 )
...
* Removed the deprecated jsx pragma detection code and the concerned tests that included jsx-pragma
* Removed extra tests
* Restored packages/babel-plugin-transform-react-jsx/test/fixtures/react/honor-custom-jsx-pragma-option/
2017-08-22 15:29:06 -04:00
Bryan Wain
63baaa7148
add --config-file option to CLI to pass in .babelrc location ( #6133 )
2017-08-22 13:58:24 -04:00
Sangboak Lee
d83064a82e
add test for do expressions ( #688 )
2017-08-22 08:48:56 -05:00
Justin Ridgewell
7e726a81e6
Complete export transform split ( #6139 )
...
They were each transforming the other's syntax (including namespace
transform would transform default, too, and vice-versa).
2017-08-21 14:15:40 -04:00
Ramiro Silveyra d'Avila
9e4e64dac9
Remove Flow support in React preset ( #6118 )
2017-08-21 10:48:18 -04:00
Daniel Lo Nigro
3569cb9922
Allow nightly Yarn builds to be used ( #6138 )
...
* Allow nightly Yarn builds to be used
Fixes:
```
C:\src\babel (fix-it-fix-it-fix-it-fix-it) (babel)
λ yarn
yarn install v1.0.0-20170811.1240
[1/5] Validating package.json...
error babel@: The engine "yarn" is incompatible with this module. Expected version ">=0.27.5".
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
```
* Use Yarn 0.28.4 to fix build
2017-08-20 16:19:17 -07:00
James Henry
d0c7d7a8c7
Fix: Use parseExprAtom() for TS module id string ( #684 )
2017-08-20 10:38:55 -05:00
greenkeeper[bot]
d685b3999c
Update rollup to the latest version 🚀 ( #682 )
2017-08-20 10:27:15 -05:00
Nicolò Ribaudo
79d6bad5c2
Disallow failures in the flow-test JOB 🎉
2017-08-19 23:13:47 +02:00
Nicolò Ribaudo
748b6fc477
Add option to update the whitelist
2017-08-19 22:18:10 +02:00
Nicolò Ribaudo
656815a53a
Add whitelist to flow tests
2017-08-19 22:02:27 +02:00
Nicolò Ribaudo
942d22dd70
Remove the get_harcoded_tests function, use get_tests
2017-08-19 18:25:18 +02:00
Nicolò Ribaudo
1a9b340cb9
Use a Map instead of an Obejct to store tests
...
This change has two reasons:
- The object was actually used as a map
- Using an object leads some problems with the
private_class_fields/constructor.js test, since
`tests[test_name] || {}` returned the Obejct
constructor instead of an empty object.
2017-08-19 18:24:21 +02:00
Henry Zhu
f87b81a8b1
7.0.0-beta.20
2017-08-19 10:36:28 -04:00
Sangboak Lee
c6a094a9d2
Split export extensions into 2 different plugins, update stage presets ( #6080 )
2017-08-19 09:35:40 -04:00
Daniel Tschinder
559e333557
Remove babel-cli as unused ( #679 )
2017-08-19 07:34:06 -04:00
Daniel Tschinder
9c2b5e6b1f
Update dependencies and add babel-core as dependency
...
it is requried by rollup-plugin-babel
2017-08-19 12:08:46 +02:00
[mediba] Satoshi Takeda
879bd8f850
Fix README. rename Babili to babel-minify [skip ci] ( #397 )
2017-08-17 21:02:56 -05:00
laoxiong
a8021fafc4
chore: add comment for whitespace char code ( #676 )
2017-08-16 21:51:56 +02:00
Henry Zhu
cee4cde53e
v6.26.0
v6.26.0
2017-08-16 11:54:08 -04:00
Henry Zhu
aa330999d0
update changelog
2017-08-16 11:39:05 -04:00
Henry Zhu
5749276d7e
update deps
2017-08-16 10:21:19 -04:00
Henry Zhu
7b30f77954
Merge pull request #6111 from modosc/update-regenerator
...
Update regenerator
2017-08-16 10:17:59 -04:00
Anup
6ab3b4c0e3
Add 'configurable' property to class fields ( #6123 )
2017-08-16 10:12:38 -04:00
Henry Zhu
70ab2e0620
Merge pull request #6113 from Andarist/fix/regenerator-fixtures
...
Fix/regenerator fixtures
2017-08-16 10:11:24 -04:00
Sven SAULEAU
0d16499fc0
Merge pull request #6124 from uxter/patch-1
...
Update README.md
2017-08-16 15:30:51 +02:00
Sven SAULEAU
77bbe20352
fix: [skip ci] split babel config
2017-08-16 15:30:16 +02:00
Vasiliy Shilov
bd569433c4
Update README.md: A semicolon is required after a class property.
2017-08-16 16:18:39 +03:00
greenkeeper[bot]
dfec243fba
Update flow-bin to the latest version 🚀 ( #675 )
...
* chore(package): update flow-bin to version 0.53.0
* chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2017-08-16 13:33:41 +02:00
Mateusz Burzyński
fffa604023
Fixed regenerator related fixtures
2017-08-16 10:02:33 +02:00
Ben Newman
e08ff8e650
Update regenerator-runtime to version 0.11.0.
2017-08-16 10:02:33 +02:00