337 Commits

Author SHA1 Message Date
Babel Bot
7512095c84 v7.14.2 2021-05-12 16:58:57 +00:00
Nicolò Ribaudo
9440318309
Update Rollup plugins (#13265) 2021-05-06 08:53:30 +02:00
Babel Bot
e50f6f7eef v7.13.15 2021-04-08 15:40:57 +00:00
Nicolò Ribaudo
8d4da69e9d
Update polyfill plugins (#13079)
* Update polyfill plugins

* Update fixtures

* Update Babel 8 fixtures
2021-03-31 13:46:15 -04:00
Huáng Jùnliàng
6ee87eea49
[babel 8] fallback targets to "defaults, not ie 11" (#12989) 2021-03-23 20:17:16 +01:00
Babel Bot
d1d404b9a3 v7.13.10 2021-03-08 22:23:36 +00:00
Nicolò Ribaudo
d04842a700
Avoid using CJS globals in internal source files (#12963)
* Lint against CJS globals in modules

* Use `import.meta.url` instead of `__filename` in `src` files

* Prepare fixtures runner for `import.meta.url`

* Use `import.meta.url` instead of `__filename` in `test/index` files

* Remove `__dirname` from remaining test files

dirname

* Avoid using `module` in `src` files

* Avoid using `require` in `src` files

* Avoid using `require` in `test` files

* Update `@types/node`

* Compile dynamic import in `@babel/node`

* Fix windows

* Use `@babel/plugin-proposal-dynamic-import` from npm
2021-03-05 19:55:36 +01:00
Nicolò Ribaudo
d9ebfab07f
[internal] Use the Node.js behavior for default imports (#12795) 2021-03-04 13:55:15 +01:00
Babel Bot
2c0e8d0008 v7.13.9 2021-03-01 21:33:11 +00:00
Nicolò Ribaudo
9844eeee84
Put back ESM helpers in a folder where we can use .js (#12919) 2021-03-01 17:31:12 +01:00
Babel Bot
e2abc19c4c v7.13.8 2021-02-26 23:28:19 +00:00
Nicolò Ribaudo
ea6a438315
Enable external-helpers by default in tests (#12911)
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
Co-authored-by: Babel Bot <babel-bot@users.noreply.github.com>
2021-02-26 23:33:26 +01:00
Nicolò Ribaudo
bb558aaf28
Allow require() of runtime helpers in Node.js 13.2-13.6 (#12893) 2021-02-25 12:28:50 +01:00
Nicolò Ribaudo
6a471decc3
Improve @babel/runtime esm stability (#12883) 2021-02-24 20:04:03 +01:00
pigcan
c9da9650eb
chore: downgrade semver to ^6.3.2 (#12890) 2021-02-24 19:55:42 +01:00
Babel Bot
c39082ab74 v7.13.7 2021-02-24 08:52:11 +00:00
Nicolò Ribaudo
cfdbdc0d1c Add back export maps for the helpers/esm folder 2021-02-23 19:08:30 +01:00
Babel Bot
30a89c969a v7.13.6 2021-02-23 17:34:04 +00:00
Nicolò Ribaudo
ac7ac540ee
Define fallback exports for @babel/runtime on old Node (#12877)
* Define fallback `exports` for `@babel/runtime` on old Node

* Update .github/workflows/ci.yml
2021-02-23 18:32:48 +01:00
Babel Bot
9a4269e7b6 v7.13.5 2021-02-23 13:52:17 +00:00
Eli Gao
1484260f62
Add es6.array.slice in corejs2 builtins (#12870) 2021-02-23 13:49:09 +01:00
Nicolò Ribaudo
115841e778
Ensure that @babel/runtime-corejs3 imports are injected (#12869)
* Add failing test for #12863

* Minimal

* Ensure that `@babel/runtime-corejs2` imports are injected
2021-02-23 12:47:04 +01:00
Babel Bot
e940b8c4b9 v7.13.4 2021-02-23 10:31:04 +00:00
Nicolò Ribaudo
a2114d452c
Always load the CJS helpers when using require (#12865) 2021-02-23 11:21:01 +01:00
Babel Bot
bcd70d988f v7.13.2 2021-02-23 02:00:44 +00:00
Nicolò Ribaudo
c4320a6019
Correctly update module.exports.default of typeof helper (#12858) 2021-02-23 02:59:03 +01:00
Babel Bot
103b187e6f v7.13.1 2021-02-23 01:10:37 +00:00
Nicolò Ribaudo
0c65ff7a55
Rename index.mjs to _index.mjs in @babel/runtime (#12855) 2021-02-23 02:08:41 +01:00
Nicolò Ribaudo
c827193d9c v7.13.0 2021-02-22 23:35:18 +01:00
Nicolò Ribaudo
771841f764
Fix _isNativeReflectConstruct helper (#8461) 2021-02-22 22:49:44 +01:00
Nicolò Ribaudo
484667b54c
Use babel-plugin-polyfill-* packages in transform-runtime (#12845) 2021-02-22 22:30:27 +01:00
Nicolò Ribaudo
eefd83794c
Don't use useESModules in @babel/runtime build script (#12842) 2021-02-22 16:12:32 +01:00
Huáng Jùnliàng
ba4ac7d587
chore: bump semver to 7.0.0 (#12015)
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-02-21 23:56:43 +01:00
Nicolò Ribaudo
c10825ab05
Use conditional exports in @babel/runtime for CJS/ESM (#12632) 2021-02-21 17:41:10 +01:00
Nicolò Ribaudo
2f755ef052 v7.12.17 2021-02-18 15:58:43 +01:00
Babel Bot
b1921d2d9b v7.12.15 2021-02-04 21:27:03 +00:00
Nicolò Ribaudo
0fdec6b7e7
Convert runtime helpers build script to ESM (#12756) 2021-02-04 18:15:30 +01:00
Nicolò Ribaudo
d291edbdf1 v7.12.13 2021-02-03 01:59:31 +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
e901454096 v7.12.10 2020-12-09 23:44:59 +01:00
Nicolò Ribaudo
98aa72ca74
Use native Node.js functions when available (#12458) 2020-12-09 00:03:47 +01:00
Nicolò Ribaudo
208acb1d6c
Use require.resolve instead of the resolve package (#12439) 2020-12-04 08:57:09 +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
Nicolò Ribaudo
9018716905
Allow importing @babel/runtime/package (#12184) 2020-10-15 23:15:03 +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
Huáng Jùnliàng
4e66b8eb6b
Specify runtime exports (#10853) 2020-10-14 20:06:56 +02:00
Niklas Mischkulnig
a080c82777
[cjs] Skip duplicate reexported bindings in namespace reexports (#11739) 2020-09-28 16:22:13 +02:00