Logan Smyth
935533cff3
Ensure that the wildcard interop is used with re-export + default. ( #8316 )
2018-07-14 12:49:31 -07:00
Henry Zhu
10910a10f5
Remove yearly presets from repo, inline in standalone ( #8274 )
...
These were already deprecated in v6, just didn't remove the folders?
2018-07-09 14:23:25 -04:00
Logan Smyth
b6eba87daa
Rename some test fixtures so they run properly. ( #8265 )
2018-07-04 18:33:26 -07:00
Dennis Czombera
040ba2bf53
Remove no longer needed #__PURE__ annotations for taggedTemplateLiteral helper ( #7914 )
...
* Remove pure comment annotation
* Update outputs
2018-05-12 15:19:33 +02:00
Dennis Czombera
4260ffd7ec
Lazy load tagged template literal strings ( #7855 )
...
* Lazy load tagged template literal strings
* Update snapshots to reflect lazy loading
* Use pure annotation and remove unnecessary parenthesized expression
* Update snapshots
* Optimize lazy loading by doing assignment within logical expression
* Update snapshots to reflect optimization
* Use re-define function pattern to avoid hitting function size deopts
* Update snapshots to reflect the usage of the redefining function pattern
2018-05-10 14:54:10 -04:00
Logan Smyth
acf509bab5
Upgrade Babel to self-host with beta.46 ( #7784 )
2018-04-27 15:04:37 -07:00
Justin Ridgewell
34d73ebef0
Correct update expression Number coercion ( #7766 )
...
* Correct update expression Number coercion
You have to `ToNumber` whatever the `UpdateExpression` argument is.
* Fix systemjs update expression
2018-04-22 13:50:11 -04:00
Deven Bansod
c8d82d6483
Migrate all remaining fixtures to jest expect
2018-03-24 16:22:20 +05:30
Deven Bansod
db42a5d70f
Migrate babel-preset-es2015 and -next-target tests to use jest expect
2018-03-24 16:22:19 +05:30
Deven Bansod
8b57a3e3b9
Migrate a few packages' tests to use Jest Expect (see below)
...
* Migrate the following packages' tests:
* babel-helper-annotate-as-pure
* babel-helper-module-imports
* babel-helper-transform-fixture-test-runner
* babel-highlight
* babel-node
* babel-plugin-transform-modules-commonjs
* babel-preset-env-standalone
* babel-preset-env
* babel-preset-es2015
* babel-preset-react
* babel-standalone
* babel-template
* babel-traverse
* babel-types
2018-03-24 16:22:10 +05:30
Logan Smyth
c662c2ada2
Use strict namespace behavior for mjs files. ( #7545 )
2018-03-15 13:27:01 -07:00
Logan Smyth
4d76d5dddc
Refactor Babel's helpers into smaller functions.
2018-03-05 09:32:39 -08:00
Logan Smyth
15a80f0df8
Merge pull request #7490 from loganfsmyth/sourcetype-helpful-errors
...
Give helpful errors if the wrong sourceType is detected
2018-03-04 15:03:49 -08:00
Logan Smyth
5f6e3122a0
Give users helpful feedback if they are detected as using the wrong sourceType.
2018-03-04 14:12:37 -08:00
Logan Smyth
beb99dfda1
Rename test fixtures using module syntax to .mjs files.
2018-03-04 13:31:32 -08:00
Logan Smyth
aa669ef902
Fix an issue with new update-expression tests.
2018-03-04 13:25:31 -08:00
Marvin Hagemeister
c92e8be612
Generating correct assignments for live bindings updated with UpdateExpressions ( #7489 )
...
Fixes #7488
2018-03-04 20:46:33 +01:00
Logan Smyth
8e3e6e0a88
Require AST output to be opt-in, rather than opt-out.
2018-02-26 18:44:59 -08:00
Logan Smyth
62c1046249
Avoid re-traversing inserted references to the namespace binding. ( #7418 )
2018-02-22 23:54:29 -08:00
Deepak Pai
dad05ed503
Solves Tagged template literal size optimization ( #7379 )
...
* Tagged template literal size optimization
solves #7352
* Incorporates review changes
2018-02-20 15:39:22 -05:00
Logan Smyth
e732ee0c5b
Preserve import binding locations during module rewriting ( #7378 )
...
* Only wrap import references that need it.
* Preserve the import binding location for sourcemaps.
* Add tests.
2018-02-14 10:17:27 -08:00
Nicolò Ribaudo
8659e1a88c
Remove old expected.{js,json} files ( #7187 )
2018-01-09 13:10:30 -06:00
Raja Sekar
0f42accb87
Renamed files
2018-01-09 15:36:42 +01:00
Logan Smyth
53826aaaa0
Expose a 'lazy' option for the CommonJS transform.
2017-12-17 18:42:35 -08:00
Daniel Tschinder
9d9710c765
Copy getters and setters correctly in interopWildcard ( #6850 )
2017-11-30 15:50:10 -06:00
Artem Yavorsky
0a2a37c31f
Fix export from assignment order for loose mode. ( #6863 )
...
* Consider reexports for bindingKindLookup.
* Update test cases according to reexports change
* Fix order for assign reexports.
* void 0 assignation to module keys only for loose mode.
* Create buildReexportsFromMeta helper.
* Update umd/amd fixtures.
* Refactor reexports build.
* Hoist template for reexports.
* Use map as a second argument of Array.from.
* Remove unnecessary export.
2017-11-29 11:58:29 -08:00
Brian Ng
d81cca3b5f
Add additional support for loose mode in helper-module-transforms ( #6742 )
2017-11-05 20:54:14 -05:00
Henry Zhu
9ac326b075
remove es20xx prefixes from plugins and rename folders ( #6575 )
2017-10-28 20:43:15 -04:00