13320 Commits

Author SHA1 Message Date
Joseph Rex
fe6a606c58 Changed word were to where in README 2017-03-10 03:44:50 -06:00
Diogo Franco (Kovensky)
8dc2176a04 Fix Node 4 parse errors 2017-03-10 16:36:20 +09:00
Diogo Franco (Kovensky)
cf5ab16ff9 Add useBuiltIns and useESModules options to transform-runtime
useBuiltIns uses versions of the helpers that do not import even
internal polyfills from core-js.

useESModules uses versions of the helpers that do not go through
transform-es2015-modules-commonjs. This allows for smaller builds in
module systems like webpack, as it doesn't need to preserve commonjs
semantics.

This includes changes to the babel-runtime build-dist script, which
will build the versions of the runtime helpers to be used by
combinations of useBuiltIns and useESModules.
2017-03-10 16:27:35 +09:00
Logan Smyth
ca71c74696 Move plugin and pass initialization into a more central location. 2017-03-09 16:13:38 -08:00
Logan Smyth
305165eda4 Remove Logger usage from options processing. 2017-03-09 16:13:38 -08:00
Henry Zhu
12eb25c06c don't show other presets in readme [skip ci] (#5438) 2017-03-09 11:00:25 -05:00
Sven SAULEAU
7c8825f6b2 Merge pull request #5418 from babel/xtuc-patch-4
Add new members
2017-03-09 16:48:06 +01:00
Aaron Ang
3d987ed6c0 Keep parentheses for logical expression when in await expression (fix #5428) (#5433) 2017-03-09 09:13:53 -05:00
Henry Zhu
230712e091 Internal: back to fixed, publish everything (#5436) 2017-03-08 22:56:00 -05:00
Henry Zhu
0553d7761d Publish
- babel-cli@7.0.0-alpha.2
 - babel-core@7.0.0-alpha.2
 - babel-helper-plugin-test-runner@7.0.0-alpha.2
 - babel-helper-transform-fixture-test-runner@7.0.0-alpha.2
 - babel-register@7.0.0-alpha.2
2017-03-08 13:08:44 -05:00
Artem Yavorsky
ba2b58e57f Replace preset-es2015 with env (#184) 2017-03-08 11:01:35 -06:00
Artem Yavorsky
84d4b9de5d Add built-ins, better links, compat-table url, etc (#195) [skip ci] 2017-03-08 10:54:16 -05:00
Brian Ng
7a6d495704 Throw error if new.target is used outside of a function (#402) 2017-03-08 16:34:22 +01:00
Henry Zhu
5e0dc7a689 add version badge [skip ci] 2017-03-08 08:43:49 -05:00
Artem Yavorsky
7dfcba6f16 Merge pull request #194 from babel/doc-relative-path
Change CONTRIBUTING.md to use absolute paths
2017-03-08 12:23:28 +02:00
Aaron Ang
8f0e70bad4 Change CONTRIBUTING.md to use absolute paths
[skip ci]
2017-03-07 20:18:14 -08:00
Henry Zhu
02473a72c1 Merge pull request #4892 from kaicataldo/babelrcjs
Add support for .babelrc.js files
2017-03-07 16:58:00 -05:00
Kai Cataldo
d054cd0ea8 Add support for .babelrc.js files 2017-03-07 16:44:24 -05:00
Brian Ng
0336cab757 Fix transform-object-rest-spread README [skip ci] (#5409) 2017-03-07 16:41:49 -05:00
Artem Gurzhii
6888a2c51b Code refactoring for the babel-generator (#5344)
* refactoring code for babel-generator package

* removing spaces and refactoring if statement

* fixing warnings
2017-03-07 16:41:49 -05:00
Logan Smyth
39eca84642 Use 'resolve' from npm instead of private 'module' methods. (#5416) 2017-03-07 12:42:25 -08:00
Logan Smyth
ea787a1980 Merge pull request #5427 from rwjblue/backport-modules-noInterop
Backport `noInterop` flag for modules to 6.x.
2017-03-07 12:25:16 -08:00
Robert Jackson
290995923e Add docs for strict and noInterop with es2015-modules-commonjs.
(cherry picked from commit 23de276718eda141b7a02934851256462e6b762e)
2017-03-07 14:53:01 -05:00
Robert Jackson
bc65822379 Add noInterop option to babel-plugin-transform-es2015-modules-commonjs.
The intent of this option is to toggle module interop behavior. When `true`
no `interopRequireXXX` helper invocations will be emitted.

(cherry picked from commit 0d1edb9811694d25df2ef75a1e8de773624ec6b8)
2017-03-07 14:53:01 -05:00
Logan Smyth
836dd95c44 Merge pull request #5422 from rwjblue/remove-interop-require-default-in-strict-mode
Add noInterop option to babel-plugin-transform-es2015-modules-commonjs.
2017-03-07 11:16:43 -08:00
Artem Yavorsky
970f8ebaf8 Drop whitelist option (#181) 2017-03-06 20:41:55 -06:00
Brian Ng
7348637a1e Fix running tests (#182) 2017-03-06 20:26:42 -06:00
Robert Jackson
23de276718
Add docs for strict and noInterop with es2015-modules-commonjs. 2017-03-06 20:19:38 -05:00
Robert Jackson
0d1edb9811
Add noInterop option to babel-plugin-transform-es2015-modules-commonjs.
The intent of this option is to toggle module interop behavior. When `true`
no `interopRequireXXX` helper invocations will be emitted.
2017-03-06 19:51:35 -05:00
Brian Ng
6c20876fd2 v1.2.1 changelog [skip ci] 2017-03-06 15:00:53 -06:00
Brian Ng
0ede95a640 1.2.1 2017-03-06 14:56:23 -06:00
Brian Ng
cd0c019b24 Add transform-duplicate-keys mapping (#192) 2017-03-06 14:55:34 -06:00
Mike Greiling
6ee5b0c5ac Clarify reasons for the uglify option in README.md (#188) 2017-03-06 14:37:51 -06:00
greenkeeper[bot]
c7492454ca chore(package): update flow-bin to version 0.41.0 (#395)
https://greenkeeper.io/
2017-03-05 13:53:48 +01:00
Artem Yavorsky
349e31b665 Travis: Drop 0.12, 0.10 node. (#185) 2017-03-04 23:10:46 -05:00
Daniel Tschinder
12abc20575 Merge branch 'master' into 7.0 2017-03-04 21:00:42 +01:00
Daniel Tschinder
0b7da509d9
Add estree test for correct order of directives 2017-03-04 21:00:10 +01:00
Brian Ng
8a82cc060a Run new lint rules (#5413) 2017-03-04 10:46:01 -05:00
Sven SAULEAU
990d22a8d4 docs: [skip ci] add new members 2017-03-04 11:26:13 +01:00
Brian Ng
4966544002 v1.2.0 changelog [skip ci] 2017-03-03 17:03:58 -06:00
Brian Ng
a68d98d1a5 1.2.0 2017-03-03 16:50:57 -06:00
Artem Yavorsky
6a2b6fc0e0 Add uglify as a target (#178) 2017-03-03 15:36:54 -06:00
Henry Zhu
7e622940a4 Merge pull request #180 from babel/fix-compat-import
Respect older versions in invert equals map
2017-03-03 15:43:27 -05:00
Alex Kuzmenko
962ce16e84 Add DoExpression to spec (#364) 2017-03-03 21:38:04 +01:00
Daniel Tschinder
7d00281b2b Don’t add duplicate entries to map 2017-03-03 20:48:35 +01:00
Daniel Tschinder
6edae49d4d Version can be float and correctly lookup envMap 2017-03-03 17:27:24 +01:00
Daniel Tschinder
b5af93f348 Update compat-table to include ndoe4 and ios8 fixes 2017-03-03 17:15:26 +01:00
Brian Ng
2127df0db0 Fix transform-object-rest-spread README [skip ci] (#5409) 2017-03-02 23:29:34 -05:00
Henry Zhu
ed14b86fe3 2.0.0-alpha.1 2017-03-02 17:10:44 -05:00
Henry Zhu
71e4767014 updates 2017-03-02 17:10:31 -05:00