54 Commits

Author SHA1 Message Date
Henry Zhu
41b0a79837 update packages to alpha.12 (#343)
* update packages to alpha.12

* fix tests

* Read babel-cli from package.json in smoke test
2017-06-01 10:32:28 -04:00
Artem Yavorsky
e1cb75989f Add flow (#269) 2017-05-15 08:59:48 -05:00
Brian Ng
aad13388c7 Add forceAllTransforms option and deprecate Uglify target (#264) 2017-04-26 14:11:53 -05:00
Brian Ng
2b9b69dc32 Merge branch 'master' into 2.0 2017-04-20 08:20:31 -05:00
Henry Zhu
a35684988b update to alpha.8 (#293) 2017-04-17 15:45:35 -04:00
Diogo Franco
75db91940e Support spec option (#98) 2017-04-14 10:11:36 -05:00
Henry Zhu
7acf4a46f0 make useBuiltIns: false default, rename true to 'usage' (#285) 2017-04-13 21:45:25 -05:00
Henry Zhu
e4d2c4e346 account for web.iterable (#283)
* account for web.iterable

* extra test, remove unncessary warning
2017-04-13 17:39:34 -04:00
Brian Ng
243d5d1a02 Merge branch 'master' into 2.0 2017-04-10 15:23:20 -05:00
Henry Zhu
444025a764 Merge pull request #263 from babel/coverage
Coverage + fixes
2017-04-10 10:39:01 -04:00
Henry Zhu
5d8a091336 fix code output 2017-04-10 10:10:21 -04:00
Henry Zhu
5248f499b3 check if import/required babel-polyfill are removed 2017-04-07 17:47:43 -04:00
Brian Ng
3c8eeec515 Ensure const-check plugin order (#257) 2017-04-07 16:25:34 -05:00
Brian Ng
3c1836ab43 Support target versions as strings (#231) 2017-04-07 14:24:42 -05:00
Henry Zhu
5cbe963dde account for computed variables in properties 2017-04-06 14:32:12 -04:00
Henry Zhu
cb1c5eaf97 validate useBuiltIns against true,false,entry and test 2017-04-06 11:21:06 -04:00
Henry Zhu
bf31fff83e add imports as built-ins are found instead of at program exit 2017-04-05 19:35:02 -04:00
Henry Zhu
f1bf68364c useBuiltIns: true is now useBuiltIns: entry, and turn on useBuiltIns: true on default 2017-04-04 18:17:07 -04:00
Henry Zhu
016c9ad94c Breaking: account for https://github.com/babel/babel/pull/5584, only run on babel-polyfill not core-js
return babel-polyfill require instead of core-js
2017-04-04 17:42:16 -04:00
Henry Zhu
7df557a269 add instance method tests 2017-04-04 14:16:29 -04:00
Henry Zhu
c10528254b create add-used-built-ins option 2017-04-04 14:16:28 -04:00
Brian Ng
83b85a3609 Merge branch 'master' into 2.0 2017-03-31 12:15:06 -05:00
Brian Ng
ae3e7cb4a9 Add check for ArrayBuffer[Symbol.species] (#233) 2017-03-30 16:18:28 -04:00
Brian Ng
9a5ab8cfea Merge branch 'master' into 2.0 2017-03-28 10:37:47 -05:00
Mikhail Shustov
ae3dfda1d6 separate default builtins for platforms (#226) 2017-03-27 17:43:18 -05:00
Brian Ng
35068a6626 Merge branch 'master' into 2.0 2017-03-15 18:24:57 -05:00
Artem Yavorsky
dde487a0c6 Add typed array methods to built-ins features. 2017-03-14 10:28:25 -05:00
Brian Ng
f521884d01 Merge branch 'master' into 2.0 2017-03-10 11:35:58 -06:00
Brian Ng
7348637a1e Fix running tests (#182) 2017-03-06 20:26:42 -06:00
Brian Ng
cd0c019b24 Add transform-duplicate-keys mapping (#192) 2017-03-06 14:55:34 -06:00
Artem Yavorsky
6a2b6fc0e0 Add uglify as a target (#178) 2017-03-03 15:36:54 -06: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
Roman Yakobnyuk
e56c318eed remove unnecessary extension (#131) 2017-01-09 17:47:31 -05:00
Marco Massarotto
1815ffab14 Explicitly resolve lowest browser version (#121)
stop relying on browserlist returning a list sorted by browser version
fix #119
2017-01-06 17:18:43 -05:00
Henry Zhu
dc46adf519 test actual requires from useBuiltIns (#95)
* test actual requires from useBuiltIns

* only run on npm 3 for now
2017-01-05 10:21:56 -05:00
Henry Zhu
c6afaa74d4 fix include/exclude for built-ins (#102) 2016-12-16 17:26:15 -05:00
Henry Zhu
45370e3553 add exclude option, rename whitelist to include (#89) 2016-12-13 16:16:54 -05:00
Eric Baer
e379681b58 Update pathnames to aviod uppercase + consistent with other babel projects 2016-12-12 08:59:52 -05:00
Brian Ng
3b60dc5444 Fix issue with Object.getOwnPropertySymbols (#71) 2016-12-10 11:33:22 -05:00
Henry Zhu
44c40cf7ab fix regenerator import (#68) 2016-12-10 10:11:15 -05:00
Henry Zhu
64ed1ba167 add tests for electron option
Closes gh-55
2016-12-09 14:42:26 -05:00
Henry Zhu
08cd975eb4 always include web polyfills for now 2016-12-09 11:23:46 -05:00
Henry Zhu
d2976bed13 remove console.log, fix tests 2016-12-09 11:23:46 -05:00
Henry Zhu
541ebb5e5f also import regenerator when the transform is required 2016-12-09 11:23:46 -05:00
Henry Zhu
8e2aa82991 also transform 'core-js' 2016-12-09 11:23:46 -05:00
Henry Zhu
5d32ca6bb3 prevent duplicate imports 2016-12-09 11:23:46 -05:00
Henry Zhu
69e9138637 extra tests 2016-12-09 11:23:46 -05:00
Henry Zhu
771e5d2cd6 account for multiple features (#62) 2016-12-09 11:23:46 -05:00
Henry Zhu
bd1ed28242 separate years, add es2016, es2017 2016-12-09 11:23:46 -05:00
Henry Zhu
d06270498b add some tests 2016-12-02 17:58:31 -05:00