Ryo Ota
b4224ed8f3
Update homepage and issue link ( #9826 ) [skip ci]
2019-04-05 13:55:05 +02:00
Henry Zhu
9f5f688385
update sponsors links [skip ci] ( #9821 )
2019-04-04 11:09:35 -04:00
Nicolò Ribaudo
3edd4e1a82
Update CHANGELOG.md [skip ci]
2019-04-02 21:59:20 +02:00
Babel Bot
f994d6f3ae
Add v7.4.3 to CHANGELOG.md [skip ci]
2019-04-02 19:39:25 +00:00
Nicolò Ribaudo
508fde4009
v7.4.3
2019-04-02 21:36:09 +02:00
Nicolò Ribaudo
e82169dcab
Enforce publish of previously missed packages ( #9811 )
...
* Fix versions of packages which haven’t been released.
* Do not ignore package.json
2019-04-02 21:19:59 +02:00
Denis Pushkarev
00cae77ec7
fix #9232 , add some missed modules to noConflict ( #9780 )
2019-04-02 21:19:34 +02:00
Nicolò Ribaudo
e03eb17c08
[runtime-corejs3] Only polyfill instance methods when it might be needed ( #9754 )
2019-04-02 21:18:59 +02:00
Daniel Tschinder
9a8a7316ae
Do not ignore package.json
2019-04-02 12:01:28 -07:00
Daniel Tschinder
557a8af3bc
Fix versions of packages which haven’t been released.
2019-04-02 12:01:19 -07:00
Sven Sauleau
53e0622b54
Merge pull request #9808 from babel/fix-noconflict-babel-polyfill
...
refactor: unify polyfill with noConflict mode
2019-04-02 18:15:24 +02:00
Sven Sauleau
17e10509c0
refactor: unify polyfill with noConflict mode
2019-04-02 14:00:58 +02:00
Daniel Tschinder
491b0a8e33
Update test262 ( #9806 )
2019-04-01 21:47:07 -07:00
Daniel Tschinder
bac2781a20
Upgrade lodash to 4.17.11 as all the other packages ( #9807 )
2019-04-01 21:46:29 -07:00
Daniel Tschinder
c7587c016e
Don't accept '\08' or '\09' in strict mode ( #9769 )
2019-04-01 19:41:50 -07:00
Andrew Anikin
123fdfd314
Fix lazy option of babel-plugin-transform-modules-commonjs ( #9802 )
...
* Fix lazy mode of babel-plugin-transform-modules-commonjs (#9447 )
* Update output snapshots for lazy mode of babel-plugin-transform-modules-commonjs (#9447 )
2019-04-01 07:59:12 +02:00
Mattias Buelens
3c11a4a930
Fix super method call in private instance method calling overridden method ( #9801 )
...
* Fix super method call in private instance method calling overridden method
* Change return value in test fixtures
* Update tests to verify that overridden method is not called
2019-03-31 18:50:29 -04:00
Denis Pushkarev
ae9b25ac69
Add to preset-env ES3 transforms for ES3 targets ( #9781 )
...
* add to preset-env ES3 transforms for ES3 targets
* add `transform-reserved-words`
* fix `transform-reserved-words` plugin in `@babel/standalone`
2019-03-30 23:25:12 +01:00
Moti Zilberman
1f5444e96a
Destructuring: Fix handling of impure computed keys with object rest ( #9416 )
2019-03-26 19:11:44 -07:00
Moti Zilberman
f7bfc774ba
Destructuring: Fix array unpacking assignments with holes on RHS ( #9412 )
...
This fixes an issue where destructuring assignments eligible for the "array unpacking" optimization would fail to compile when the array literal on the right-hand side of the expression contained holes.
Example input:
```js
[a, b] = [, 2];
; // Avoid completion record special case
```
The error message was `Property right of AssignmentExpression expected node to be of a type ["Expression"] but instead got null`.
Now the above code compiles to:
```js
a = void 0;
b = 2;
;
```
This PR also adds a couple of related test cases that were missing, to ensure the change doesn't regress them:
* Normal assignment expression with unpacking
* Declaration with unpacking and a hole on RHS
2019-03-27 01:14:21 +01:00
Grégoire Geis
72161a64b2
@babel/traverse: Fix NodePath.getData ( #9415 )
...
* @babel/traverse: Fix NodePath.getData
Currently, if the obtained value is `false`, it will be replaced by the given default value, which is invalid. This makes sure that we only set the default value when the value is `undefined`, instead of falsy.
* Add test and fix object protoype
* Allow false as default value
2019-03-26 16:58:38 -07:00
Daniel Tschinder
60d7e940e2
Fix merge error
2019-03-26 15:44:16 -07:00
Daniel Tschinder
6bc9e7ebda
Correctly check for-in and for-of loop for invalid left-hand side ( #9768 )
...
* Correctly check for-in and for-of loop for invalid left-hand side
* Overwrite with env variable
2019-03-26 15:32:14 -07:00
Daniel Tschinder
7f4427432c
Parse right-hand-side of for/of as an assignment expression ( #9767 )
2019-03-25 18:14:56 -07:00
Tan Li Hau
2867bbf195
[typescript] parsing template literal as type ( #9748 )
2019-03-25 23:21:11 +01:00
Daniel Tschinder
444daf9224
Optimize parseBindingAtom code to get better error messages ( #9762 )
2019-03-25 14:23:39 -07:00
Daniel Tschinder
d720c6cfff
Explicit labels for tokenTypes ( #9761 )
...
* Explicit labels for tokenTypes
* Fix test
* Fix test
2019-03-25 14:23:16 -07:00
Daniel Tschinder
aaefc83a6c
Allow HTML comments on first line ( #9760 )
2019-03-25 14:22:57 -07:00
pnowak
3aaafae053
proper feature call isLoose function #9424
2019-03-24 10:21:44 +01:00
Conrad Buck
ff04d3535c
Allow coreJS Symbol to be type object ( #9756 )
2019-03-24 09:47:09 +01:00
Daniel Tschinder
a559397feb
Move array reference into for head initializer ( #9698 )
...
* Move array reference into for head initializer
* Update packages/babel-plugin-transform-for-of/src/index.js
Co-Authored-By: danez <daniel@tschinder.de>
* Fix tests
2019-03-23 17:57:17 -07:00
Nicolò Ribaudo
d610289812
Set NPM_TOKEN in .npmrc when publishing ( #9735 ) [skip ci]
...
* Set NPM_TOKEN in .npmrc when publishing [skip ci]
* Update .github/main.workflow
2019-03-24 01:04:44 +01:00
Denis Pushkarev
adb4701e00
Normalize core-js entry points ( #9752 )
...
* normalize `core-js` entry points names
* Update packages/babel-preset-env/src/polyfills/corejs3/entry-plugin.js
Co-Authored-By: zloirock <zloirock@zloirock.ru>
* handle windows paths
2019-03-24 01:03:25 +01:00
Daniel Tschinder
ef0722b4b2
Fix compatibility between estree and TS plugin ( #9700 )
2019-03-23 16:47:50 -07:00
Ludwig Magnusson
419d8052d3
Upgrade browserslist and caniuse in preset-env ( #9747 )
2019-03-22 12:38:19 -05:00
Maximilian Lackaw
998024e913
Fix wrong minimum dependency version ( #9738 )
2019-03-21 10:40:55 -07:00
Daniel Tschinder
596eedd3e7
Change babel-boot email
2019-03-21 10:31:52 -07:00
Babel Bot
e93cd9ff50
Add v7.4.2 to CHANGELOG.md [skip ci]
2019-03-21 09:57:37 +00:00
Nicolò Ribaudo
7dea0f23de
v7.4.2
2019-03-21 10:55:50 +01:00
Nicolò Ribaudo
de7dd7f015
Mark the core-js warning as such ( #9732 )
2019-03-21 10:38:21 +01:00
Nicolò Ribaudo
f2c55d01c4
Create drafts instead of finished releases ( #9729 ) [skip ci]
...
Currently, the "Trigger GitHub release" and "Publish to npm" actions
are run in parallel. Publishing to npm takes about 15 mins (it needs to
run `make bootstrap`), so everyone watching the npm repo for
releases would get the notification before that the new version is
available on npm.
This commit marks the automatically generated GitHub releases as draft,
which then need to be manually "finalized" by real people. This will also
avoid notifying people when for some reason a publish fails.
2019-03-21 08:26:10 +01:00
Nicolò Ribaudo
2201fd839b
Modules might be in loose mode when checking for undecl exports ( #9725 )
2019-03-20 17:57:12 -07:00
Brian Ng
7f8ded9851
Tweak preset-env corejs/useBuiltIns warning and error messages ( #9716 )
2019-03-20 19:47:30 -05:00
Nicolò Ribaudo
bf94bb9d43
Fix typo in wrapRegExp helper ( #9726 )
2019-03-21 00:18:43 +01:00
Daniel Tschinder
ab41cb2cda
Fix scope checks with enabled flow plugin ( #9719 )
2019-03-20 16:03:31 -07:00
Denis Pushkarev
92fcd31eac
Handle object rest parameters in the corejs3-usage plugin ( #9724 )
...
Fixes #9713
2019-03-20 22:29:01 +01:00
Brian Ng
c259ec5408
Bump Babel deps ( #9718 )
2019-03-20 11:00:58 -05:00
Babel Bot
4cf7d0c828
Add v7.4.1 to CHANGELOG.md [skip ci]
2019-03-19 23:12:21 +00:00
Nicolò Ribaudo
94d1a5e8d7
v7.4.1
2019-03-20 00:10:54 +01:00
Nicolò Ribaudo
6402d8d58c
Alias @babel/preset-env/data/built-ins.json.js ( #9711 )
...
Fixes vuejs/vue-cli#3671
Even if it has the `.js` extension, `require("@babel/preset-env/data/built-ins.json")` will still work.
2019-03-20 00:09:09 +01:00