Brian Ng
9f0f8d99d5
Merge branch 'master' into 2.0
2017-09-18 20:15:30 -05:00
James Hegedus
8b97a8acf9
Clarify purpose of the tool in README ( #419 )
2017-09-18 18:32:18 -05:00
Pranav Prakash
e98bb3dc60
Use new Array instead of Array for V8 optimization ( #6250 )
...
* Use new Array instead of Array for V8 optimization
* fix spacing [skip ci]
* Remove extraneous use strict clauses
2017-09-18 14:14:46 -04:00
Mathias Bynens
24713e5040
transform-es2015-unicode-regex: Add tests for U+002F ( #6265 )
2017-09-18 13:36:39 -04:00
Mathias Bynens
51b0b06a25
Update regexpu-core to v4.1.3 ( #6263 )
...
Fixes #6246 .
2017-09-18 11:48:01 -04:00
Brian Ng
d016deac3d
Merge pull request #727 from jridgewell/private-methods
...
classPrivateMethods enables PrivateName usage
2017-09-18 08:55:44 -05:00
Justin Ridgewell
1f11dc0881
classPrivateMethods enables PrivateName usage
...
This separates `classPrivateMethods`'s dependency on
`classPrivateProperties`. It also starts a `PrivateName` at the hash
symbol, not the `Identifier`.
2017-09-17 21:24:37 -04:00
Ajay Narain Mathur
3cdb7d7f0f
added instanceOf plugin to preset es2015 ( #6257 )
...
* added instanceOf plugin to preset es2015
* fixed test cases
2017-09-17 17:33:42 -04:00
Ethan Han
f5ad86c5c6
Fix newlines before the update suffix operator in babel-generator ( #6259 )
2017-09-17 11:22:05 -07:00
Henry Zhu
c815cf554f
stopped working at some point so let's remove [skip ci]
2017-09-16 19:14:29 -04:00
Henry Zhu
745c4740af
remove ref to phabricator now that we've been on gissues for a while [skip ci]
2017-09-16 19:10:29 -04:00
Henry Zhu
5fae81f43f
move out old changelog, remove npm owners unused file [skip ci]
2017-09-16 19:00:36 -04:00
Henry Zhu
efe5c7928a
readme: move partially into packages/ [skip ci]
2017-09-16 18:56:51 -04:00
Henry Zhu
1c14fb1227
readme: move out packages [skip ci]
2017-09-16 18:56:29 -04:00
greenkeeper[bot]
9b582c913a
Update rollup to the latest version 🚀 ( #725 )
...
* chore(package): update rollup to version 0.50.0
* chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2017-09-16 15:47:33 -04:00
Artem Yavorsky
41f419a2fc
Merge pull request #416 from babel/fix-docs
...
Docs: fix claim about node versions in readme
2017-09-16 12:21:15 +03:00
Kevin Gibbons
4df876b4b5
Docs: fix claim about node versions in readme
2017-09-16 00:29:58 -07:00
Daniel Tschinder
9a0dd4e001
Fix jsx-source to not fail without filename ( #6239 )
2017-09-16 02:44:48 -04:00
Brian Ng
583a875d22
Add core-js stubs for parseFloat and parseInt to babel-polyfill ( #6256 )
2017-09-16 02:43:35 -04:00
Brian Ng
5f5ad940ed
Bump regenerator-runtime version in babel-polyfill ( #6255 )
2017-09-16 02:42:46 -04:00
Logan Smyth
f35cf8185b
Change usage of flag that was renamed.
2017-09-15 11:43:08 -07:00
Brian Ng
7f390b0282
Make terminator paren comment check more strict ( #5651 )
2017-09-15 11:06:24 -07:00
Henry Zhu
4df30fc300
7.0.0-beta.23
2017-09-14 20:38:17 -04:00
Henry Zhu
bf93be47c2
Merge pull request #6244 from loganfsmyth/remove-strict-toggling-wildcard-interop
...
Remove strict toggling wildcard interop
2017-09-14 11:19:46 -04:00
Brian Ng
cdb34c3aa2
Add support for new.target transform ( #414 )
2017-09-14 11:06:53 -04:00
Logan Smyth
3c93189fce
Remove useless stict toggle from strict transform.
2017-09-13 23:30:41 -07:00
Logan Smyth
b6ae55153c
Misc documentation fix.
2017-09-13 23:30:41 -07:00
Logan Smyth
2801bfe35c
Remove 'strict:false' directive behavior. Use 'strictMode:false'.
2017-09-13 23:30:41 -07:00
Logan Smyth
637bba542a
Remove interop toggling behavior of 'strict'.
2017-09-13 23:30:40 -07:00
Logan Smyth
c65742602b
Add some docs for why template literals use a chain of .concat() calls.
2017-09-13 13:42:20 -07:00
Logan Smyth
18f77b3aa9
Merge pull request #6238 from loganfsmyth/reexport-name-priority
...
Named exports should always take priority over star exports
2017-09-13 13:33:50 -07:00
Stephen Scott
f3fe5001e6
Flesh out readme ( #410 )
2017-09-13 12:29:30 -05:00
Maël Nison
0ea295e83b
Make sure that export * from does not overwrite named exports.
2017-09-12 22:32:09 -07:00
Logan Smyth
634c750558
Ensure helpers that reference globals continue to reference the globals properly.
2017-09-12 22:15:16 -07:00
Logan Smyth
158e9fbfd7
Represent helpers as simple modules.
2017-09-12 22:15:16 -07:00
Sven SAULEAU
0c5fae2faa
Make sure source type is module when parsing .mjs ( #5700 )
...
* feat: force source type module for mjs extension
* style: fix lint
2017-09-12 20:59:00 -07:00
Logan Smyth
7179136401
Ensure the AMD/UMD loaders all have params for each import to avoid lazy-loading ( #6237 )
2017-09-12 20:13:16 -07:00
Maël Nison
5bb6a83fa8
Add new tests for export * from with other names.
2017-09-12 19:51:48 -07:00
Logan Smyth
5006c81b77
Apply the new module transform the the babel-runtime helper files.
2017-09-12 17:51:52 -07:00
Logan Smyth
1e750a945c
Convert CommonJS to use new shared implementation.
2017-09-12 17:17:41 -07:00
Logan Smyth
f17d30692c
Convert AMD to use new shared implementation.
2017-09-12 17:17:41 -07:00
Logan Smyth
95e08b6d2a
Convert UMD to use new implementation of module logic.
2017-09-12 17:17:41 -07:00
Logan Smyth
47a254025a
Return a unique identifier node for each use.
2017-09-12 17:17:41 -07:00
Logan Smyth
20679979fc
Remove the unused 'scope' param from 'traverse.hasType'.
2017-09-12 16:48:05 -07:00
Henry Zhu
feed22c822
2.0.0-beta.0
2017-09-12 09:40:53 -04:00
Henry Zhu
a381f9b5f0
update to beta.0 ( #413 )
2017-09-12 09:40:35 -04:00
Henry Zhu
1cdacf85ae
update types readme [skip ci]
2017-09-11 23:04:12 -04:00
Henry Zhu
1c13250807
v7.0.0-beta.0
v7.0.0-beta.0
2017-09-11 23:01:41 -04:00
Laurin Quast
8742012b5e
Add --keep-file-extension option to babel-cli ( #6221 )
...
* Add --keep-module-extension option to babel-cli
* Rename keep-module-extension option to keep-file-extension; Change option to preserve all file extensions
2017-09-11 18:06:44 -04:00
Justin Ridgewell
4daf11528c
Return inserted/replaced paths ( #5710 )
...
* Return inserted/replaced paths
This gives `Path`’s replacement and insertion methods a consistent
return value: the inserted/replaced paths.
Before, they could return `undefined`, a `node`, or a the current path
inside an array. It was kinda pointless. But now they always return an
array of paths, which is useful for solving
https://github.com/babel/babel/pull/4935#discussion_r96151368 .
* Return inserted nodes and not BlockStatement
Addded test for bug #4363
* Cleanups
- `#replaceWith` will now return the current path if it's the same node
- `#insertAfter` and `#insertBefore` use public Path APIs now
- Makes container insertion faster (single splice call)
- Use public APIs in container insertion
- Replacing a statement with an expression returns the expression's path
- Replacing an expression with multiple statements returns the inserted
closure's body's paths.
2017-09-11 16:07:04 -04:00