Nicolò Ribaudo
d329156ebc
v7.6.3
2019-10-08 21:31:40 +02:00
Brian Ng
57ae306457
Bump flow@0.108.0 ( #10516 )
2019-10-02 12:13:58 -05:00
Nicolò Ribaudo
b459f6a0a4
Add windows to travis ( #10249 )
...
* Add windows to travis
* Update
* Do not use sh file on windows
* Fix whitespace
* Unify command
* ./ doesn't work on windows
* Remove all ./ usages
* Run windows test before others
* fix: normalize filename when generating sources
sources should be URL.
* fix: replace normalized path to cwd
* chore: add nodePlatform task options
* fix: normalize preset-env filename output
* chore: replace normalized path to CWD on win32 platform
* limit transform-react-source to run on linux and darwin
* test: escapeRegExp on testcases
* test: add test for babel --filename on windows
* test: double babel-node/cli test timeout
* chore: workaround windows build does not stop
* chore: remove redundant condition
* refactor: rename `nodePlatform` to `os`
2019-09-26 20:59:17 +02:00
Nicolò Ribaudo
b9cb4af953
v7.6.2
2019-09-23 23:14:37 +02:00
Huáng Jùnliàng
256fa5aa04
chore: bump regexpu-core to version 4.6.0 ( #10439 )
...
* chore: update test fixtures
* chore: test against regexpu-core 4.6.0
* chore: bump regexpu-core dependency
2019-09-13 17:51:24 +02:00
Tan Li Hau
8027dca501
fix object rest in array pattern ( #10275 )
...
* fix object rest in array pattern
* update test fixtures
* early return
* use path.stop() at the right path
2019-09-10 15:18:45 +02:00
Nicolò Ribaudo
cbd5a26e57
v7.6.0
2019-09-06 19:25:16 +02:00
Huáng Jùnliàng
b64cb9aaf1
fix: early return when instance is not iterable ( #10396 )
...
* fix: early return when instance is not iterable
* chore: update test fixtures
* fix: gaurd against arguments for old browsers
2019-09-06 18:09:57 +02:00
Nicolò Ribaudo
3e8a5c5e28
Use "validateLogs" for preset-env's debug fixtures ( #10401 )
...
* Add ability to ignore output to the test runner
* Use normal fixtures instead of custom debug-fixtures in preset-env
2019-09-06 17:32:20 +02:00
Bin Xin
5c859b1117
Don't polyfill if evaluation is not confident ( #10397 )
2019-09-06 00:29:19 +02:00
Bin Xin
29734b924a
Don't allow instance properties transformation on namespace ( #10372 )
2019-09-05 10:32:57 -05:00
Adam Ramberg
fcb77de901
[preset-env] Include / exclude module plugins properly ( #10218 )
...
* Include / exclude module plugins properly
* Use filter-items to excl / incl module plugins
* Move transform selection to getModulesPluginNames
* Remove unnecessary spread operator
Co-Authored-By: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
* Adjust tests to changes in #10218
2019-09-05 15:58:29 +02:00
Nicolò Ribaudo
27ba292774
Silence remaining test warnings ( #10392 )
2019-09-04 22:56:47 +02:00
Nicolò Ribaudo
7c0333e12a
Move preset-env old changelog
...
Fixes #9730
2019-09-02 12:41:55 +02:00
Nicolò Ribaudo
469a5a71cd
Allow testing logs with @babel/helper-transform-fixture-test-runner ( #10326 )
...
* Add support for logs to transform-fixture-test-runner
* Test some warnings
* Use stderr/stdout, and add a validateLogs test option
* Normalize CWD in logs and rename vars
* Silence preset-env tests
* Restore old methods
2019-08-14 08:03:03 +02:00
Huáng Jùnliàng
15535cf52c
Update preset-env text fixtures ( #10318 )
...
* chore: update preset-env text fixtures
* chore: remove FORCE_COLOR workaround
2019-08-12 00:55:27 +02:00
ifsnow
9ec26a7d3e
Improves the logic to import objects in helpers ( #10161 )
...
* Improves the logic to import objects in helpers
* Modified to work with more cases.
* Modified by considering exception cases
* Fixed not using bundler's polyfill
Co-Authored-By: Jordan Harband <ljharb@gmail.com>
* Updated test output files
* Changes to cache logic
* Modified to use if statement
2019-08-08 11:11:50 +02:00
Ashwin Ramaswami
66727632e8
fix: replace es.string.reverse with es.array.reverse ( #10284 )
2019-08-01 09:20:52 +02:00
Daniel Tschinder
4f0840ab88
Update dev dependencies and fix linting errors ( #10228 )
...
* chore: Uppate dev dependencies
* chore: Fix lint errors
* chore: Format options.json files
* chore: Fix stupid flow errors
* Update test262 whitelist
Seems test262-stream was updated and now these tests work.
2019-07-27 15:09:30 +02:00
Nicolò Ribaudo
0407f034f0
v7.5.5
2019-07-17 23:08:08 +02:00
Huáng Jùnliàng
5d9a786b2f
perf: match ownKeys perf to the one of objectSpread ( #10189 )
2019-07-10 21:03:01 -05:00
Nicolò Ribaudo
a9a7f4e690
v7.5.4
2019-07-09 20:52:37 +02:00
Nicolò Ribaudo
fa5ec75c43
Fix _objectSpread2 for real ( #10188 )
...
* Fix _objectSpread2 for real
* Tests
* Test 2
2019-07-09 20:50:07 +02:00
Nicolò Ribaudo
759ff4d6df
v7.5.3
2019-07-09 16:41:44 +02:00
Nicolò Ribaudo
9e65472377
[_objectSpread2] Do not use hoisted var from prev iteration ( #10180 )
2019-07-09 16:38:40 +02:00
Nicolò Ribaudo
0dbf99bedb
v7.5.2
2019-07-08 21:46:49 +02:00
Nicolò Ribaudo
406a65c894
Don't rely on getOwnPropertyDescriptors in objectSpread2 ( #10171 )
2019-07-07 11:24:36 +02:00
Nicolò Ribaudo
49da9a07c8
v7.5.0
2019-07-04 14:52:17 +02:00
Brian Ng
cbb482e2f9
Bump compat-table and update preset-env mappings ( #10127 )
2019-07-03 09:37:06 -05:00
Nicolò Ribaudo
ef3f555be9
Add proposal-dynamic-import to preset-env ( #10109 )
2019-06-30 13:58:50 +02:00
Brian Ng
77fd7cd4c4
Allow defaults query in preset-env ( #8897 )
2019-06-30 11:00:43 +02:00
Kagami Sascha Rosylight
a596da2822
Retry to fix object spread helper compatibility ( #9384 )
...
This reverts commit 43b83f8ed7545b9c049eeed85541fa162842fb8f.
Fix objectSpread helper breaking old codes
remove tests to regenerate later
renamed output
new name
try using word
add comment as requested
revert inline name changes
add 2 for consistency
Update packages/babel-helpers/src/helpers.js
Co-Authored-By: Daniel Tschinder <daniel@tschinder.de>
2019-05-25 12:57:13 +02:00
Nicolò Ribaudo
33ab4f1661
v7.4.5
2019-05-21 19:38:26 +02:00
Daniel Tschinder
0430a48775
Update preset-env dependencies and fix fixtures ( #10002 )
...
* Fix fixtures after core-js update
* Update core-js, caniuse and compat-table
2019-05-20 23:27:19 -07:00
Matthew Schupack
45ca6751fa
use console.warn for warning ( #9992 )
...
* use console.warn for warning
* fix tests
2019-05-18 00:36:18 +02:00
Nicolò Ribaudo
9febf63882
Fix mobile browsers support in preset-env ( #9978 )
...
* Fix mobile browsers support in preset-env
* Update fixtures
* Alias other mobile browsers, since they aren't included by compat-table
2019-05-15 14:05:37 +02:00
Sebastian Silbermann
eae7a33316
Fix destructuring assignments being transpiled for edge 15 ( #9902 )
...
* Current behavior for preset-env destructuring and edge
* fix(preset-env): destructuring transpiled in edge 15
2019-05-03 23:35:28 +02:00
Nicolò Ribaudo
2c88694388
v7.4.4
2019-04-26 23:00:07 +02:00
Nicolò Ribaudo
8ca323e810
Disable chromeforandroid test in preset-env ( #9906 )
2019-04-26 20:57:13 +02:00
Nicolò Ribaudo
508fde4009
v7.4.3
2019-04-02 21:36:09 +02: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
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
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
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
Brian Ng
7f8ded9851
Tweak preset-env corejs/useBuiltIns warning and error messages ( #9716 )
2019-03-20 19:47:30 -05:00
Denis Pushkarev
92fcd31eac
Handle object rest parameters in the corejs3-usage plugin ( #9724 )
...
Fixes #9713
2019-03-20 22:29:01 +01: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