Nicolò Ribaudo
d291edbdf1
v7.12.13
2021-02-03 01:59:31 +01:00
Huáng Jùnliàng
f8fe8eaab1
breaking: throw on missing dynamic import when import() is seen in systemjs ( #12700 )
2021-01-29 13:14:13 -05:00
Leslie Leigh (李的序)
2338b052ad
[systemjs] Fix: export star alongside with named export ( #12612 )
2021-01-13 00:12:12 +01:00
Daniel Arthur Gallagher
e8b08523f4
docs: add package-specific documentation links ( #12531 )
...
[skip ci]
2021-01-06 14:11:53 +01:00
Nicolò Ribaudo
2984f0cb88
Use the correct context when re-using a cached NodePath ( #12331 )
2020-11-10 15:03:21 +01:00
Álvaro Mondéjar
b649f8d192
Fix packages documentation README links. ( #12289 )
2020-10-30 21:19:21 +01:00
Nicolò Ribaudo
ed498a772b
Use workspace:* for devDependencies (again) ( #12217 )
...
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
2020-10-19 18:32:06 +02:00
Nicolò Ribaudo
7f4b83833f
v7.12.1
2020-10-16 00:36:30 +02:00
Huáng Jùnliàng
eec01fe078
chore: use workspace:* for dev deps ( #12186 )
2020-10-15 14:03:50 -04:00
Nicolò Ribaudo
726154c78e
v7.12.0
2020-10-14 21:48:45 +02:00
Guy Bedford
9c7d9c0fe5
SystemJS top-level await support ( #12163 )
...
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
2020-10-14 20:14:52 +02:00
Huáng Jùnliàng
21d7ee2610
String import/export specifier ( #12091 )
...
* feat: parse moduleExportName
* feat: add validators
* Support string specifier name in commonjs transform
* Support string specifier name in export-ns-from
* test: add loose testcases
* test: add testcases for amd and umd
* feat: support systemjs
* test: update fixtures fixed in #12110
* add plugin name typings
* test: rename test layout
* feat: implement under moduleStringNames flag
* chore: add plugin syntax module string names
* feat: support ModuleExportName as ModuleExportName
* test: update test fixtures
* fix flow errors
* docs: update AST spec
* feat: support { "some imports" as "some exports" }
* feat: support { "some imports" as "some exports" } in systemjs
* test: add test on `import { "foo" }`
* Address review comments
* add moduleStringNames to missing plugin helpers
* Apply suggestions from code review
* update test fixtures
* Update packages/babel-parser/src/parser/error-message.js
* update test fixtures
Co-Authored-By: Kai Cataldo <kai@kaicataldo.com>
Co-authored-by: Brian Ng <bng412@gmail.com>
2020-10-14 20:01:37 +02:00
Huáng Jùnliàng
62965e3880
Archive plugins ( #12117 )
2020-10-09 16:29:37 +02:00
Huáng Jùnliàng
62df8d2b79
fix: push exported variable when hoisting export declared names ( #12110 )
2020-09-28 11:38:39 -04:00
Huáng Jùnliàng
3fad7eab9b
Use Yarn 2 ( #11962 )
...
* chore: use yarn 2
* chore: remove redundant yarn locks
* chore: remove publishEslintPkg
* chore: remove redundant make bootstrap
* Update .yarnrc.yml
Co-authored-by: Kristoffer K. <merceyz@users.noreply.github.com>
* chore: use workspace protocol for eslint packages in the root
Co-Authored-By: merceyz <merceyz@users.noreply.github.com>
* chore: pin caniuse-lite versions
Testcases in packages/babel-preset-env/test/fixtures/debug/browserslists-defaults-not-ie
depends on specific caniuse-lite versions. We pinned the version here
so we don't have to deal with fixture different in e2e-tests
where all deps will be updated and tested.
* chore: resolve yarn install warnings
* chore: update yarn cache path on circle/travis
* chore: add yarn deduplicate plugin
* chore: deduplicate lock files
* chore: move devDependencies to leaf packages
* chore: remove @yarnpkg/plugin-constraints
* chore: remove unused dedupe options
* test: fix unwanted self reference
* chore: remove output-file-sync dependency
* chore: update browserify to 16.5.2
Co-authored-by: Kristoffer K. <merceyz@users.noreply.github.com>
2020-08-25 14:37:30 -04:00
Huáng Jùnliàng
f7964a9ac5
v7.10.5
2020-07-14 14:10:36 -04:00
Huáng Jùnliàng
5dd64ecc4a
Disallow duplicated AST nodes ( #11807 )
2020-07-14 08:32:16 -05:00
Huáng Jùnliàng
7fd40d86a0
v7.10.4
2020-06-30 09:04:22 -04:00
Huáng Jùnliàng
2787ee2f96
v7.10.3
2020-06-19 16:42:41 -04:00
Bogdan Savluk
4108524856
Update prettier to v2 ( #11579 )
...
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2020-06-07 22:21:33 +02:00
Nicolò Ribaudo
88f57a7ea6
v7.10.1
2020-05-27 21:56:37 +00:00
Saulo Santiago
242d9e0b20
Use repository.directory field in package.json files ( #11625 )
...
Co-authored-by: Nicolas Stepien <567105+nstepien@users.noreply.github.com>
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2020-05-27 16:32:25 +02:00
Nicolò Ribaudo
5da2440adf
v7.10.0
2020-05-26 21:20:43 +00:00
Nicolò Ribaudo
31b361b736
Use ?. where it represents the intended semantics ( #11512 )
2020-05-09 23:31:50 +02:00
Nicolò Ribaudo
9c2846bcac
v7.9.6
2020-04-29 20:33:47 +02:00
Nicolò Ribaudo
d4c8db5177
Update babel-plugin-dynamic-import-node to 2.3.3 ( #11458 )
2020-04-21 21:26:33 +02:00
Nicolò Ribaudo
5b8477e969
Update dynamic import ( #11453 )
...
* Update babel-plugin-proposal-dynamic-import fixture test outputs
* Update package.json files
Co-authored-by: Arun Kumar Mohan <arunmohandm@gmail.com>
2020-04-21 12:12:54 +02:00
Nicolò Ribaudo
8d5e422be2
v7.9.0
2020-03-20 16:32:55 +01:00
Nicolò Ribaudo
a875560c31
Allow defining the moduleIds-related option in the transform p… ( #11194 )
...
* Update "moduleIds" tests
* Allow defining the moduleIds related options in the transform plugins
- moduleIds
- moduleId
- getModuleId
- moduleRoot
* Sort deps
2020-03-16 23:58:04 +01:00
Nicolò Ribaudo
a7620bd266
v7.8.3
2020-01-13 22:36:19 +01:00
Nicolò Ribaudo
8fce431d88
Revert "chore: specify package type ( #10849 )" ( #11003 )
...
This reverts commit e8dac621de9dba27b47646169562c0a0c2e02c96.
Fixes installs when using npm <= 3.9.5 (Node.js <= 6.2.2)
2020-01-13 21:18:42 +01:00
Nicolò Ribaudo
a677d59a63
Archive syntax plugins enabled by default ( #10820 )
...
* Remove syntax plugins enabled by default
Moved to babel-archive: babel/babel-archive@8f23ddce03
- `@babel/plugin-syntax-async-generators`
- `@babel/plugin-syntax-bigint`
- `@babel/plugin-syntax-dynamic-import`
- `@babel/plugin-syntax-json-strings`
- `@babel/plugin-syntax-nullish-coalescing-operator`
- `@babel/plugin-syntax-object-rest-spread`
- `@babel/plugin-syntax-optional-catch-binding`
- `@babel/plugin-syntax-optional-chaining`
* Fix build script
* Fix jest config
* Remove archived plugins from tests
2020-01-13 00:31:48 +01:00
Nicolò Ribaudo
2486615a74
v7.8.0
2020-01-12 01:09:29 +01:00
Huáng Jùnliàng
e8dac621de
chore: specify package type ( #10849 )
2020-01-09 21:40:15 -05:00
Huáng Jùnliàng
44f9d85904
add allowTopLevelThis option to transform-modules-systemjs ( #10780 )
...
* feat: expose rewriteThis method
* feat: add allowTopLevelThis option to transform-modules-systemjs
2020-01-10 03:16:26 +01:00
Nicolò Ribaudo
75767d87cb
v7.7.4
2019-11-23 00:05:58 +01:00
Nicolò Ribaudo
97faa83953
v7.7.0
2019-11-05 11:27:14 +01:00
Huáng Jùnliàng
5e24016623
fix: remove ExportNamedDeclaration when the specifier is empty ( #10638 )
2019-11-04 21:51:24 +01:00
Nicolò Ribaudo
49da9a07c8
v7.5.0
2019-07-04 14:52:17 +02:00
Nicolò Ribaudo
38f8bbac1a
Create @babel/plugin-proposal-dynamic-import ( #9552 )
...
* Create @babel/plugin-proposal-dynamic-import
* Use airbnb/babel-plugin-dynamic-import-node
Do not duplicate code, which will unavoidably lead
to bugs being fixed in one plugin and not in the other.
* Update error message
* Add error callback to amd interop
* Update babel-plugin-dynamic-import-node
2019-06-30 13:21:46 +02:00
Nicolò Ribaudo
2c88694388
v7.4.4
2019-04-26 23:00:07 +02:00
Nicolò Ribaudo
f1328fb913
v7.4.0
2019-03-19 21:27:16 +01:00
Guy Bedford
a891b73401
System modules - Hoist classes like other variables ( #9639 )
2019-03-10 23:33:19 +01:00
Daniel Tschinder
43eed1ac92
Check exported bindings are defined ( #9589 )
...
* Check exported bindings are defined
* Add tests
* Update flow whitelist
* Add tests for builtins
2019-02-26 13:28:10 -08:00
Nicolò Ribaudo
0345c1bc1d
Use for..of Object.keys instead of for..in ( #9518 )
...
In https://github.com/babel/babel/issues/9511 (and #9495 is another symptom), @PavelKastornyy reported a node crash becaue the JavaScript heap run out of memory. The problem was that their code was adding enumerable properties to `Object.prototype`: it is something that shouldn't be done, but Babel shouldn't make node crash if someone adds them.
I reduced down the problem to `for...in` loops in `@babel/traverse` that grew the memory consumption exponentially because of that unexpected properties.
2019-02-26 20:09:02 +01:00
Nicolò Ribaudo
1f6454cc90
v7.3.4
2019-02-25 19:29:12 +01:00
Daniel Tschinder
b78fdc0cb1
chore: Enable eqeqeq rule in eslint ( #9541 )
2019-02-18 21:16:42 -08:00
Nicolò Ribaudo
282129ea66
v7.2.0
2018-12-03 20:00:35 +01:00
Nicolò Ribaudo
8c7d4b55c9
Add plugins name ( #8769 )
...
* Add plugins name
* Add missing names found by the plugin
* Add eslint plugin
2018-11-18 23:02:58 +01:00
Henry Zhu
8ee857e268
v7.1.3
2018-10-11 11:52:19 -04:00