Closed renovate[bot] closed 3 years ago
This PR contains the following updates:
7.12.7
7.13.8
2.14.12
2.15.2
This PR contains the following updates:
7.12.7
->7.13.8
2.14.12
->2.15.2
Release Notes
babel/babel
### [`v7.13.8`](https://togithub.com/babel/babel/blob/master/CHANGELOG.md#v7138-2021-02-26) [Compare Source](https://togithub.com/babel/babel/compare/v7.13.5...v7.13.8) ##### :bug: Bug Fix - Other - [#12909](https://togithub.com/babel/babel/pull/12909) chore: do not provide polyfills on bundling [@babel/standalone](https://togithub.com/babel/standalone) ([@JLHwung](https://togithub.com/JLHwung)) - [#12891](https://togithub.com/babel/babel/pull/12891) fix(eslint-parser): merge input `estree` options ([@JLHwung](https://togithub.com/JLHwung)) - `babel-compat-data`, `babel-preset-env` - [#12901](https://togithub.com/babel/babel/pull/12901) Fix Module not found: Error: Can't resolve 'core-js/modules/es6.array.concat.js' with compat-data@7.13.x ([@luxp](https://togithub.com/luxp)) - `babel-plugin-transform-runtime`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime` - [#12893](https://togithub.com/babel/babel/pull/12893) Allow `require()` of runtime helpers in Node.js 13.2-13.6 ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :nail_care: Polish - `babel-helper-create-class-features-plugin` - [#12898](https://togithub.com/babel/babel/pull/12898) Do not warn for `loose` of class features in `preset-env` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :house: Internal - `babel-core`, `babel-helper-transform-fixture-test-runner`, `babel-register` - [#12820](https://togithub.com/babel/babel/pull/12820) [internal] Keep the `.cjs` extension when compiling source files ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-plugin-transform-runtime`, `babel-runtime-corejs2`, `babel-runtime` - [#12883](https://togithub.com/babel/babel/pull/12883) Improve `@babel/runtime` esm stability ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :microscope: Output optimization - `babel-plugin-proposal-object-rest-spread` - [#12899](https://togithub.com/babel/babel/pull/12899) Skip `_extends` helper for `{…x}` with modern targets ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ### [`v7.13.5`](https://togithub.com/babel/babel/blob/master/CHANGELOG.md#v7135-2021-02-23) [Compare Source](https://togithub.com/babel/babel/compare/v7.13.0...v7.13.5) ##### :bug: Bug Fix - `babel-compat-data`, `babel-plugin-transform-runtime`, `babel-preset-env` - [#12870](https://togithub.com/babel/babel/pull/12870) Add `es6.array.slice` in corejs2 builtins ([@eligao](https://togithub.com/eligao)) - `babel-plugin-proposal-async-generator-functions`, `babel-plugin-proposal-decorators`, `babel-plugin-transform-runtime`, `babel-preset-env` - [#12869](https://togithub.com/babel/babel/pull/12869) Ensure that `@babel/runtime-corejs3` imports are injected ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ### [`v7.13.0`](https://togithub.com/babel/babel/blob/master/CHANGELOG.md#v7130-2021-02-22) [Compare Source](https://togithub.com/babel/babel/compare/v7.12.17...v7.13.0) ##### :rocket: New Feature - `babel-parser` - [#12370](https://togithub.com/babel/babel/pull/12370) Implement class features in estree ([@JLHwung](https://togithub.com/JLHwung)) - `babel-generator`, `babel-parser`, `babel-plugin-syntax-module-blocks`, `babel-standalone`, `babel-traverse`, `babel-types` - [#12469](https://togithub.com/babel/babel/pull/12469) Parse JS Module Blocks proposal ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - `babel-generator`, `babel-parser`, `babel-types` - [#12628](https://togithub.com/babel/babel/pull/12628) Support TypeScript 4.2 abstract constructor signatures ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - [#12193](https://togithub.com/babel/babel/pull/12193) Flow Enums with unknown members support ([@gkz](https://togithub.com/gkz)) - `babel-core`, `babel-register` - [#11498](https://togithub.com/babel/babel/pull/11498) Add cjs as a default extension ([@perrin4869](https://togithub.com/perrin4869)) - `babel-traverse` - [#12603](https://togithub.com/babel/babel/pull/12603) feat(referencesImport): support named exports accessed via namespace imports ([@jeysal](https://togithub.com/jeysal)) - `babel-plugin-transform-typescript`, `babel-preset-typescript` - [#12765](https://togithub.com/babel/babel/pull/12765) Enable allowNamespaces in `transform-typescript` by default ([@JLHwung](https://togithub.com/JLHwung)) - `babel-generator`, `babel-parser`, `babel-plugin-transform-flow-strip-types`, `babel-plugin-transform-parameters`, `babel-types` - [#12234](https://togithub.com/babel/babel/pull/12234) Support Flow `this` parameter annotations ([@dsainati1](https://togithub.com/dsainati1)) - `babel-plugin-proposal-record-and-tuple` - [#12145](https://togithub.com/babel/babel/pull/12145) Implement "Records and Tuples" transform ([@rickbutton](https://togithub.com/rickbutton)) - `babel-plugin-transform-runtime`, `babel-plugin-transform-typeof-symbol`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime` - [#12632](https://togithub.com/babel/babel/pull/12632) Use conditional exports in `@babel/runtime` for CJS/ESM ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-core`, `babel-helper-plugin-utils`, `babel-preset-env` - [#12219](https://togithub.com/babel/babel/pull/12219) Add `@babel/core` support for the new `assumptions` option ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-core`, `babel-helper-compilation-targets`, `babel-helper-plugin-utils`, `babel-preset-env` - [#12189](https://togithub.com/babel/babel/pull/12189) Add `targets` and `browserslist*` options to `@babel/core` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-core` - [#12266](https://togithub.com/babel/babel/pull/12266) Support `.mjs` plugins/presets and async factories ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :bug: Bug Fix - `babel-helpers`, `babel-plugin-proposal-class-properties`, `babel-plugin-proposal-decorators`, `babel-plugin-transform-classes`, `babel-plugin-transform-function-name`, `babel-plugin-transform-parameters`, `babel-plugin-transform-react-jsx`, `babel-plugin-transform-runtime`, `babel-plugin-transform-typescript`, `babel-preset-env` - [#8461](https://togithub.com/babel/babel/pull/8461) Fix \_isNativeReflectConstruct helper ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-cli` - [#12846](https://togithub.com/babel/babel/pull/12846) [babel-cli] Don't fail when `chmod` throws an error ([@immitsu](https://togithub.com/immitsu)) - `babel-node` - [#12836](https://togithub.com/babel/babel/pull/12836) fix: create IPC channel for spawned babel-node process ([@JLHwung](https://togithub.com/JLHwung)) - `babel-standalone` - [#12819](https://togithub.com/babel/babel/pull/12819) fix: add regenerate-unicode-properties to dynamicRequireTargets ([@JLHwung](https://togithub.com/JLHwung)) - `babel-plugin-proposal-optional-chaining`, `babel-traverse` - [#12812](https://togithub.com/babel/babel/pull/12812) Fix scope of computed method keys ([@overlookmotel](https://togithub.com/overlookmotel)) ##### :house: Internal - `babel-plugin-proposal-async-generator-functions`, `babel-plugin-proposal-decorators`, `babel-plugin-transform-runtime`, `babel-preset-env`, `babel-runtime-corejs2` - [#12845](https://togithub.com/babel/babel/pull/12845) Use the `babel-plugin-polyfill-*` packages in `transform-runtime` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-plugin-transform-runtime` - [#12842](https://togithub.com/babel/babel/pull/12842) Don't use `useESModules` in `@babel/runtime` build script ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-standalone` - [#12839](https://togithub.com/babel/babel/pull/12839) Make sure that Rollup's `dynamicRequireTargets` are included ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-transform-fixture-test-runner`, `babel-plugin-proposal-async-generator-functions`, `babel-plugin-proposal-decorators`, `babel-preset-env` - [#12583](https://togithub.com/babel/babel/pull/12583) Use the `babel-plugin-polyfill-*` packages in `preset-env` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :running_woman: Performance - `babel-register` - [#12813](https://togithub.com/babel/babel/pull/12813) babel-register: Don’t rewrite the cache if it’s not dirty ([@andersk](https://togithub.com/andersk)) ##### :microscope: Output optimization - `babel-helper-create-class-features-plugin`, `babel-helper-member-expression-to-functions`, `babel-plugin-proposal-class-properties` - [#12762](https://togithub.com/babel/babel/pull/12762) Support `noDocumentAll` for `obj?.#p` ([@JLHwung](https://togithub.com/JLHwung)) ### [`v7.12.17`](https://togithub.com/babel/babel/blob/master/CHANGELOG.md#v71217-2021-02-18) [Compare Source](https://togithub.com/babel/babel/compare/v7.12.16...v7.12.17) ##### :bug: Bug Fix - `babel-core` - [#12211](https://togithub.com/babel/babel/pull/12211) Do not cache non-existent JS config files forever ([@devongovett](https://togithub.com/devongovett)) - `babel-helper-module-transforms`, `babel-plugin-transform-typescript` - [#12796](https://togithub.com/babel/babel/pull/12796) Register binding when transforming TSParameterProperty ([@JLHwung](https://togithub.com/JLHwung)) - `babel-parser` - [#12776](https://togithub.com/babel/babel/pull/12776) fix(ts): parse multiline declarations correctly ([@fedeci](https://togithub.com/fedeci)) - [#12785](https://togithub.com/babel/babel/pull/12785) Raise recoverable error for type members with invalid modifiers ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - `babel-traverse` - [#12797](https://togithub.com/babel/babel/pull/12797) clean up traverse scope ([@JLHwung](https://togithub.com/JLHwung)) - `babel-types` - [#12794](https://togithub.com/babel/babel/pull/12794) Fix import assertions type definitions ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :nail_care: Polish - `babel-helper-create-class-features-plugin`, `babel-helpers`, `babel-plugin-proposal-private-methods` - [#12792](https://togithub.com/babel/babel/pull/12792) Reuse the `readOnlyError` helper for private methods ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :house: Internal - Other - [#12810](https://togithub.com/babel/babel/pull/12810) Store LICENSE files when publishing from GH actions ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-transform-fixture-test-runner` - [#12811](https://togithub.com/babel/babel/pull/12811) test: avoid deprecated jest.addMatchers ([@jeysal](https://togithub.com/jeysal)) - `babel-parser` - [#12808](https://togithub.com/babel/babel/pull/12808) refactor: fix typo in error.js ([@eltociear](https://togithub.com/eltociear)) ### [`v7.12.16`](https://togithub.com/babel/babel/blob/master/CHANGELOG.md#v71216-2021-02-11) [Compare Source](https://togithub.com/babel/babel/compare/v7.12.13...v7.12.16) ##### :bug: Bug Fix - `babel-core` - [#12783](https://togithub.com/babel/babel/pull/12783) fix: use semver gte comparison on polyfill version tester ([@JLHwung](https://togithub.com/JLHwung)) - `babel-parser` - [#12735](https://togithub.com/babel/babel/pull/12735) [parser] Fix scope handling of Flow declared functions ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - [#12775](https://togithub.com/babel/babel/pull/12775) babel-parser(ts): Throw recoverable for duplicates access modifier ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - [#12771](https://togithub.com/babel/babel/pull/12771) babel-parser(ts): Raise recoverable error for abstract interface ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - [#12763](https://togithub.com/babel/babel/pull/12763) fix(ts): include `asserts` in `TSTypePredicate` location ([@fedeci](https://togithub.com/fedeci)) - [#12758](https://togithub.com/babel/babel/pull/12758) [TS] Create `TSUnionType` or `TSIntersectionType` when typealias has a leading operator ([@fedeci](https://togithub.com/fedeci)) - `babel-plugin-transform-typescript` - [#12760](https://togithub.com/babel/babel/pull/12760) Support destructuring variable declarator within TS namespace ([@JLHwung](https://togithub.com/JLHwung)) ##### :nail_care: Polish - `babel-node` - [#12786](https://togithub.com/babel/babel/pull/12786) Polish `@babel/node` REPL ([@JLHwung](https://togithub.com/JLHwung)) ##### :house: Internal - Other - [#12781](https://togithub.com/babel/babel/pull/12781) pnp does not work with ESM dev scripts ([@JLHwung](https://togithub.com/JLHwung)) - [#12766](https://togithub.com/babel/babel/pull/12766) docs: Update build requirements in CONTRIBUTING.md ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - `babel-cli`, `babel-core`, `babel-helper-compilation-targets`, `babel-helper-create-class-features-plugin`, `babel-helper-create-regexp-features-plugin`, `babel-helper-member-expression-to-functions`, `babel-helper-validator-option`, `babel-node`, `babel-parser`, `babel-plugin-proposal-class-static-block`, `babel-plugin-proposal-dynamic-import`, `babel-plugin-proposal-optional-chaining`, `babel-plugin-transform-react-jsx-development`, `babel-plugin-transform-react-jsx`, `babel-preset-env`, `babel-preset-typescript` - [#12759](https://togithub.com/babel/babel/pull/12759) Avoid importing `.json` files ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ### [`v7.12.13`](https://togithub.com/babel/babel/blob/master/CHANGELOG.md#v71213-2021-02-03) [Compare Source](https://togithub.com/babel/babel/compare/v7.12.11...v7.12.13) ##### :eyeglasses: Spec Compliance - `babel-parser` - [#12661](https://togithub.com/babel/babel/pull/12661) spec: disable await binding identifier within static block ([@JLHwung](https://togithub.com/JLHwung)) - `babel-helper-create-class-features-plugin`, `babel-helpers`, `babel-plugin-proposal-private-methods`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime` - [#12689](https://togithub.com/babel/babel/pull/12689) fix: throw error when accessing private method without a getter ([@fedeci](https://togithub.com/fedeci)) - `babel-plugin-transform-computed-properties`, `babel-plugin-transform-shorthand-properties` - [#12664](https://togithub.com/babel/babel/pull/12664) fix: correctly transform `__proto__` properties ([@ExE-Boss](https://togithub.com/ExE-Boss)) ##### :bug: Bug Fix - `babel-plugin-proposal-class-properties`, `babel-traverse` - [#12729](https://togithub.com/babel/babel/pull/12729) Fix class fields when `super()` is in a default param ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-plugin-proposal-class-properties`, `babel-plugin-transform-classes` - [#12723](https://togithub.com/babel/babel/pull/12723) Define class elements in the correct order ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-parser`, `babel-template` - [#12725](https://togithub.com/babel/babel/pull/12725) Permit %%placeholder%% in left-hand-side of a let declaration ([@Zalathar](https://togithub.com/Zalathar)) - `babel-core`, `babel-helper-transform-fixture-test-runner`, `babel-register` - [#12728](https://togithub.com/babel/babel/pull/12728) Don't use `require()` in ESM files ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-parser` - [#12686](https://togithub.com/babel/babel/pull/12686) (ts) Raise syntax error for an abstract method in non-abstract class ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - [#12684](https://togithub.com/babel/babel/pull/12684) fix(parser): throw error with wrong typescript 'export declare' ([@fedeci](https://togithub.com/fedeci)) - [#12520](https://togithub.com/babel/babel/pull/12520) Raise recoverable error for await expressions in sync functions ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - [#12678](https://togithub.com/babel/babel/pull/12678) fix: start TypePredicate node after returnToken ([@JLHwung](https://togithub.com/JLHwung)) - [#12599](https://togithub.com/babel/babel/pull/12599) [@babel/preset-typescript](https://togithub.com/babel/preset-typescript): fix tsx assigment issue ([@Zzzen](https://togithub.com/Zzzen)) - [#12562](https://togithub.com/babel/babel/pull/12562) [ts]Add optional property to OptionalCallExpression node that has type arguments ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - `babel-helpers`, `babel-plugin-transform-classes` - [#12693](https://togithub.com/babel/babel/pull/12693) Avoid hitting **proto** in \_inheritsLoose ([@ChALkeR](https://togithub.com/ChALkeR)) - `babel-generator` - [#12653](https://togithub.com/babel/babel/pull/12653) fix: avoid line breaks between class members head and key ([@JLHwung](https://togithub.com/JLHwung)) - `babel-register` - [#12665](https://togithub.com/babel/babel/pull/12665) fix: babel-register transform internal dependencies ([@overlookmotel](https://togithub.com/overlookmotel)) - `babel-node` - [#12638](https://togithub.com/babel/babel/pull/12638) fix: place \_babel-node after process.execArgv ([@JLHwung](https://togithub.com/JLHwung)) - `babel-types` - [#12602](https://togithub.com/babel/babel/pull/12602) fix: cloneNode(deep, withoutLoc) handles absent comments ([@FauxFaux](https://togithub.com/FauxFaux)) - [#12575](https://togithub.com/babel/babel/pull/12575) Use isIdentifierChar instead of regex for toIdentifier ([@mischnic](https://togithub.com/mischnic)) - `babel-plugin-transform-modules-systemjs` - [#12612](https://togithub.com/babel/babel/pull/12612) [systemjs] Fix: export star alongside with named export ([@shrinktofit](https://togithub.com/shrinktofit)) - `babel-plugin-transform-for-of` - [#12611](https://togithub.com/babel/babel/pull/12611) Transform labeled `for-of` inside braceless `if` statement ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-create-class-features-plugin`, `babel-helper-replace-supers`, `babel-plugin-transform-classes` - [#12544](https://togithub.com/babel/babel/pull/12544) Correctly access shadowed class binding in `super.*` ([@Zzzen](https://togithub.com/Zzzen)) - `babel-helper-module-imports`, `babel-plugin-transform-react-jsx-development`, `babel-plugin-transform-react-jsx` - [#12546](https://togithub.com/babel/babel/pull/12546) Load `jsx-runtime` after existing imports ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :nail_care: Polish - `babel-helper-transform-fixture-test-runner`, `babel-parser`, `babel-preset-env` - [#12716](https://togithub.com/babel/babel/pull/12716) refactor: raise AwaitNotInAsyncContext when an AwaitExpression will be parsed ([@JLHwung](https://togithub.com/JLHwung)) - `babel-cli`, `babel-core`, `babel-parser` - [#12437](https://togithub.com/babel/babel/pull/12437) Recover from "missing semicolon" errors ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-create-class-features-plugin`, `babel-plugin-proposal-private-methods` - [#12713](https://togithub.com/babel/babel/pull/12713) Add `#` to the private name in "write-only" errors ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-compilation-targets`, `babel-preset-env` - [#12626](https://togithub.com/babel/babel/pull/12626) fix: print warning messages to stderr ([@JLHwung](https://togithub.com/JLHwung)) - `babel-code-frame` - [#12567](https://togithub.com/babel/babel/pull/12567) fix(code-frame): do not pad gutter of empty lines ([@SimenB](https://togithub.com/SimenB)) ##### :memo: Documentation - Other - [#12698](https://togithub.com/babel/babel/pull/12698) Add " 📢 Deprecation" to the changelog labels ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-cli`, `babel-code-frame`, `babel-compat-data`, `babel-core`, `babel-generator`, `babel-helper-annotate-as-pure`, `babel-helper-bindify-decorators`, `babel-helper-builder-binary-assignment-operator-visitor`, `babel-helper-builder-react-jsx`, `babel-helper-call-delegate`, `babel-helper-compilation-targets`, `babel-helper-create-class-features-plugin`, `babel-helper-create-regexp-features-plugin`, `babel-helper-define-map`, `babel-helper-explode-assignable-expression`, `babel-helper-explode-class`, `babel-helper-fixtures`, `babel-helper-function-name`, `babel-helper-get-function-arity`, `babel-helper-hoist-variables`, `babel-helper-member-expression-to-functions`, `babel-helper-module-imports`, `babel-helper-module-transforms`, `babel-helper-optimise-call-expression`, `babel-helper-plugin-test-runner`, `babel-helper-plugin-utils`, `babel-helper-remap-async-to-generator`, `babel-helper-replace-supers`, `babel-helper-simple-access`, `babel-helper-split-export-declaration`, `babel-helper-transform-fixture-test-runner`, `babel-helper-wrap-function`, `babel-helpers`, `babel-highlight`, `babel-node`, `babel-parser`, `babel-plugin-external-helpers`, `babel-plugin-proposal-async-generator-functions`, `babel-plugin-proposal-class-properties`, `babel-plugin-proposal-class-static-block`, `babel-plugin-proposal-decorators`, `babel-plugin-proposal-do-expressions`, `babel-plugin-proposal-export-default-from`, `babel-plugin-proposal-export-namespace-from`, `babel-plugin-proposal-function-bind`, `babel-plugin-proposal-function-sent`, `babel-plugin-proposal-json-strings`, `babel-plugin-proposal-logical-assignment-operators`, `babel-plugin-proposal-nullish-coalescing-operator`, `babel-plugin-proposal-numeric-separator`, `babel-plugin-proposal-object-rest-spread`, `babel-plugin-proposal-optional-catch-binding`, `babel-plugin-proposal-optional-chaining`, `babel-plugin-proposal-partial-application`, `babel-plugin-proposal-pipeline-operator`, `babel-plugin-proposal-private-methods`, `babel-plugin-proposal-private-property-in-object`, `babel-plugin-proposal-throw-expressions`, `babel-plugin-proposal-unicode-property-regex`, `babel-plugin-syntax-class-properties`, `babel-plugin-syntax-class-static-block`, `babel-plugin-syntax-decorators`, `babel-plugin-syntax-do-expressions`, `babel-plugin-syntax-export-default-from`, `babel-plugin-syntax-flow`, `babel-plugin-syntax-function-bind`, `babel-plugin-syntax-function-sent`, `babel-plugin-syntax-jsx`, `babel-plugin-syntax-module-string-names`, `babel-plugin-syntax-partial-application`, `babel-plugin-syntax-pipeline-operator`, `babel-plugin-syntax-throw-expressions`, `babel-plugin-syntax-top-level-await`, `babel-plugin-syntax-typescript`, `babel-plugin-transform-arrow-functions`, `babel-plugin-transform-async-to-generator`, `babel-plugin-transform-block-scoped-functions`, `babel-plugin-transform-block-scoping`, `babel-plugin-transform-classes`, `babel-plugin-transform-computed-properties`, `babel-plugin-transform-destructuring`, `babel-plugin-transform-dotall-regex`, `babel-plugin-transform-duplicate-keys`, `babel-plugin-transform-exponentiation-operator`, `babel-plugin-transform-flow-comments`, `babel-plugin-transform-flow-strip-types`, `babel-plugin-transform-for-of`, `babel-plugin-transform-function-name`, `babel-plugin-transform-instanceof`, `babel-plugin-transform-jscript`, `babel-plugin-transform-literals`, `babel-plugin-transform-member-expression-literals`, `babel-plugin-transform-modules-amd`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-modules-systemjs`, `babel-plugin-transform-modules-umd`, `babel-plugin-transform-named-capturing-groups-regex`, `babel-plugin-transform-new-target`, `babel-plugin-transform-object-assign`, `babel-plugin-transform-object-set-prototype-of-to-assign`, `babel-plugin-transform-object-super`, `babel-plugin-transform-parameters`, `babel-plugin-transform-property-literals`, `babel-plugin-transform-property-mutators`, `babel-plugin-transform-proto-to-assign`, `babel-plugin-transform-react-constant-elements`, `babel-plugin-transform-react-display-name`, `babel-plugin-transform-react-inline-elements`, `babel-plugin-transform-react-jsx-compat`, `babel-plugin-transform-react-jsx-self`, `babel-plugin-transform-react-jsx-source`, `babel-plugin-transform-react-jsx`, `babel-plugin-transform-regenerator`, `babel-plugin-transform-reserved-words`, `babel-plugin-transform-runtime`, `babel-plugin-transform-shorthand-properties`, `babel-plugin-transform-spread`, `babel-plugin-transform-sticky-regex`, `babel-plugin-transform-strict-mode`, `babel-plugin-transform-template-literals`, `babel-plugin-transform-typeof-symbol`, `babel-plugin-transform-typescript`, `babel-plugin-transform-unicode-escapes`, `babel-plugin-transform-unicode-regex`, `babel-preset-env`, `babel-preset-flow`, `babel-preset-react`, `babel-preset-typescript`, `babel-register`, `babel-runtime-corejs2`, `babel-runtime`, `babel-standalone`, `babel-template`, `babel-traverse`, `babel-types` - [#12531](https://togithub.com/babel/babel/pull/12531) docs: add package-specific documentation links ([@DanArthurGallagher](https://togithub.com/DanArthurGallagher)) ##### :house: Internal - `babel-traverse`, `babel-types` - [#12296](https://togithub.com/babel/babel/pull/12296) Use native ESM for dev scripts ([@karansapolia](https://togithub.com/karansapolia)) - `babel-register` - [#12674](https://togithub.com/babel/babel/pull/12674) babel-register run default register with global module cache ([@overlookmotel](https://togithub.com/overlookmotel)) - Other - [#12659](https://togithub.com/babel/babel/pull/12659) Add `yarn-plugin-conditions` to update Babel 8 dependencies ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - [#12640](https://togithub.com/babel/babel/pull/12640) test: reuse lodash library within eslint tests ([@armano2](https://togithub.com/armano2)) - [#12592](https://togithub.com/babel/babel/pull/12592) Remove remaining references to lerna ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-generator`, `babel-preset-env` - [#12670](https://togithub.com/babel/babel/pull/12670) fix: allow to execute util scripts ([@armano2](https://togithub.com/armano2)) - `babel-core`, `babel-helper-compilation-targets`, `babel-plugin-transform-classes`, `babel-plugin-transform-function-name`, `babel-plugin-transform-parameters`, `babel-plugin-transform-regenerator`, `babel-preset-env` - [#12615](https://togithub.com/babel/babel/pull/12615) Tweak helper compilation targets ([@JLHwung](https://togithub.com/JLHwung)) ##### :microscope: Output optimization - `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-template-literals`, `babel-plugin-transform-unicode-escapes`, `babel-preset-env` - [#12588](https://togithub.com/babel/babel/pull/12588) Declare template objects inline ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-plugin-transform-react-jsx` - [#12557](https://togithub.com/babel/babel/pull/12557) Optimize jsx spreads of object expressions ([@bz2](https://togithub.com/bz2)) ### [`v7.12.11`](https://togithub.com/babel/babel/blob/master/CHANGELOG.md#v71211-2020-12-16) [Compare Source](https://togithub.com/babel/babel/compare/v7.12.10...v7.12.11) ##### :eyeglasses: Spec Compliance - `babel-parser` - [#12366](https://togithub.com/babel/babel/pull/12366) Disallow non octal decimal escape before use strict ([@JLHwung](https://togithub.com/JLHwung)) ##### :bug: Bug Fix - `babel-plugin-transform-block-scoping` - [#11801](https://togithub.com/babel/babel/pull/11801) fix: handle block-level function declaration ([#10046](https://togithub.com/babel/babel/issues/10046)) ([@vitorveiga](https://togithub.com/vitorveiga)) - `babel-helper-builder-react-jsx-experimental`, `babel-plugin-transform-react-jsx-development`, `babel-plugin-transform-react-jsx` - [#12493](https://togithub.com/babel/babel/pull/12493) Lazily inject imports to the JSX runtime ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-builder-react-jsx-experimental`, `babel-preset-react` - [#12495](https://togithub.com/babel/babel/pull/12495) Fixed issue with skipping over self & source generated by another instance ([@Andarist](https://togithub.com/Andarist)) - `babel-preset-env` - [#10862](https://togithub.com/babel/babel/pull/10862) Add js extension to preset-env generated polyfill imports ([@JLHwung](https://togithub.com/JLHwung)) - `babel-helper-builder-react-jsx-experimental`, `babel-plugin-transform-react-jsx` - [#12479](https://togithub.com/babel/babel/pull/12479) Setup JSX runtime even if the file doesn't contain JSX ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-builder-react-jsx-experimental`, `babel-plugin-transform-react-jsx-development`, `babel-preset-react` - [#12475](https://togithub.com/babel/babel/pull/12475) Fixed a regression for multiple **self & **source props with classic runtime ([@Andarist](https://togithub.com/Andarist)) ##### :house: Internal - `babel-types` - [#12510](https://togithub.com/babel/babel/pull/12510) Improve AST node definitions in [@babel/types](https://togithub.com/babel/types) ([@zxbodya](https://togithub.com/zxbodya)) - Other - [#12508](https://togithub.com/babel/babel/pull/12508) chore: always check yarn lock and dedupe during update ([@JLHwung](https://togithub.com/JLHwung)) - [#12480](https://togithub.com/babel/babel/pull/12480) Avoid force trailing comma on test files ([@JLHwung](https://togithub.com/JLHwung)) - [#12462](https://togithub.com/babel/babel/pull/12462) Run e2e tests also with BABEL_8_BREAKING ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-plugin-transform-react-display-name`, `babel-plugin-transform-react-jsx` - [#12502](https://togithub.com/babel/babel/pull/12502) Reorganize some JSX-related tests ([@Andarist](https://togithub.com/Andarist)) - `babel-standalone`, `babel-types` - [#12127](https://togithub.com/babel/babel/pull/12127) Move some build steps to gulp ([@JLHwung](https://togithub.com/JLHwung)) ### [`v7.12.10`](https://togithub.com/babel/babel/blob/master/CHANGELOG.md#v71210-2020-12-09) [Compare Source](https://togithub.com/babel/babel/compare/v7.12.7...v7.12.10) ##### :eyeglasses: Spec Compliance - `babel-parser` - [#12443](https://togithub.com/babel/babel/pull/12443) Make sure estree test should not throw if babel parser does not throw ([@JLHwung](https://togithub.com/JLHwung)) - [#12375](https://togithub.com/babel/babel/pull/12375) Make sure babel parser throws exactly same recoverable errors when estree plugin is enabled ([@JLHwung](https://togithub.com/JLHwung)) ##### :bug: Bug Fix - `babel-generator` - [#12424](https://togithub.com/babel/babel/pull/12424) Fix printing BigIntLiterals/DecimalLiterals with compact option ([@existentialism](https://togithub.com/existentialism)) - `babel-types` - [#12418](https://togithub.com/babel/babel/pull/12418) babel-types update OptionalCallExpression to support ArgumentPlaceholder ([@zxbodya](https://togithub.com/zxbodya)) - [#12395](https://togithub.com/babel/babel/pull/12395) Fix `t.isReferenced()` for named re-exports ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-traverse` - [#12394](https://togithub.com/babel/babel/pull/12394) Set correct `path.context` un `push/unshiftContainer` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :nail_care: Polish - `babel-preset-env` - [#12402](https://togithub.com/babel/babel/pull/12402) Clarify warning source about underspecified corejs option in preset-env. ([@AndrewSouthpaw](https://togithub.com/AndrewSouthpaw)) ##### :memo: Documentation - `babel-parser` - [#12449](https://togithub.com/babel/babel/pull/12449) Add StaticBlock to Table of Contents in AST spec ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) ##### :house: Internal - Other - [#12450](https://togithub.com/babel/babel/pull/12450) Use new CircleCI images ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - [#12453](https://togithub.com/babel/babel/pull/12453) Use Yarn 2.4.0 ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - [#12430](https://togithub.com/babel/babel/pull/12430) chore: remove travis-ci badge ([@JLHwung](https://togithub.com/JLHwung)) - [#12397](https://togithub.com/babel/babel/pull/12397) chore: bump chokidar in glob-watcher to ^3.4.0 ([@JLHwung](https://togithub.com/JLHwung)) - `babel-cli`, `babel-node`, `babel-plugin-transform-runtime`, `babel-register` - [#12458](https://togithub.com/babel/babel/pull/12458) Use native Node.js functions when available ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-builder-react-jsx-experimental`, `babel-plugin-transform-react-jsx-development`, `babel-plugin-transform-react-jsx`, `babel-preset-react` - [#12253](https://togithub.com/babel/babel/pull/12253) Stop using old JSX transform ([@Andarist](https://togithub.com/Andarist)) - `babel-helper-fixtures`, `babel-types` - [#12440](https://togithub.com/babel/babel/pull/12440) Prepare codebase for inline Babel 8 breaking changes ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-core`, `babel-helper-transform-fixture-test-runner`, `babel-node`, `babel-plugin-transform-block-scoping`, `babel-plugin-transform-runtime`, `babel-plugin-transform-typeof-symbol` - [#12439](https://togithub.com/babel/babel/pull/12439) Use `require.resolve` instead of the `resolve` package ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-parser` - [#12398](https://togithub.com/babel/babel/pull/12398) refactor: simplify isAwaitAllowed ([@JLHwung](https://togithub.com/JLHwung))nuxt/nuxt.js
### [`v2.15.2`](https://togithub.com/nuxt/nuxt.js/releases/v2.15.2) [Compare Source](https://togithub.com/nuxt/nuxt.js/compare/v2.15.1...v2.15.2) ##### 🐛 Bug Fixes - `babel-preset-app` - [#8882](https://togithub.com/nuxt/nuxt.js/issues/8882) Pin [@babel/preset-env](https://togithub.com/babel/preset-env) to ~7.12 - [#8883](https://togithub.com/nuxt/nuxt.js/issues/8883) Avoid relying on preset-env internal utils ##### 💖 Thanks to - Huáng Jùnliàng ([@JLHwung](https://togithub.com/JLHwung)) ### [`v2.15.1`](https://togithub.com/nuxt/nuxt.js/releases/v2.15.1) [Compare Source](https://togithub.com/nuxt/nuxt.js/compare/v2.15.0...v2.15.1) ##### 🐛 Bug Fixes - `renderer` - Deep merge runtime config for server (resolves [#8820](https://togithub.com/nuxt/nuxt.js/issues/8820)) - `webpack` - [#8846](https://togithub.com/nuxt/nuxt.js/issues/8846) Transpile `ufo` (resolves [#8838](https://togithub.com/nuxt/nuxt.js/issues/8838)) - `cli` - [#8841](https://togithub.com/nuxt/nuxt.js/issues/8841) Don't early return when a dependency isn't installed - `types` - [#8835](https://togithub.com/nuxt/nuxt.js/issues/8835) `build.html.minify` can be false - `builder` - [#8832](https://togithub.com/nuxt/nuxt.js/issues/8832) Use `path.resolve` for pages dir ##### 💖 Thanks to - Harlan Wilton ([@loonpwn](https://togithub.com/loonpwn)) - Kenny ([@kn3ny](https://togithub.com/kn3ny)) ### [`v2.15.0`](https://togithub.com/nuxt/nuxt.js/releases/v2.15.0) [Compare Source](https://togithub.com/nuxt/nuxt.js/compare/v2.14.12...v2.15.0) ##### 💡 Highlights ⚠️This release introduces behavior changes. Update with caution ⚠️ - Minimum supported Node.js version is 12.0.0 (See [#8327](https://togithub.com/nuxt/nuxt.js/issues/8327) for why) - Using [jiti](https://togithub.com/nuxt-contrib/jiti) as new require engine with typescript support - [Plug and play](https://yarnpkg.com/features/pnp) works out of the box - Allow opting-in to use `postcss@8` (See [#8546](https://togithub.com/nuxt/nuxt.js/issues/8546)) > **NOTE: postcss-preset-env is disabled in v8 config as [it doesn't support postcss v8 for now](https://togithub.com/csstools/postcss-preset-env/issues/191), so please install all below dependencies explicitly.** ```sh yarn add --dev css-loader@^5.0.0 postcss@^8.1.10 postcss-import@^13.0.0 postcss-loader@^4.1.0 postcss-url@^10.1.1 ``` ### or npm i --save-dev css-loader@^5.0.0 postcss@^8.1.10 postcss-import@^13.0.0 postcss-loader@^4.1.0 postcss-url@^10.1.1 ``` - Several encoding issues resolved by consistently using [ufo](https://togithub.com/nuxt-contrib/ufo) - [Components ](https://togithub.com/nuxt/components) updated to v2 (please read [migration guide](https://togithub.com/nuxt/components#migration-guide)) - [Modules] When matching a webpack loader by name or query, should use `includes` instead of exact match ([example](https://togithub.com/nuxt-community/i18n-module/pull/1064)) ##### 🐛 Bug Fixes - `general` - [#8794](https://togithub.com/nuxt/nuxt.js/issues/8794) Ignore trailing slash in static payloads manifest - [#8738](https://togithub.com/nuxt/nuxt.js/issues/8738) Encoding issues with payload paths - [#8423](https://togithub.com/nuxt/nuxt.js/issues/8423) `trailingSlash` and child routes not working - `config` - [#8778](https://togithub.com/nuxt/nuxt.js/issues/8778) Prevent invalid css filenames in webpack output - `utils` - [#8780](https://togithub.com/nuxt/nuxt.js/issues/8780) `serializeFunction` fails with certain functions - `vue-app` - [#8759](https://togithub.com/nuxt/nuxt.js/issues/8759) Enable dynamic `publicPath` on server-side - [#8701](https://togithub.com/nuxt/nuxt.js/issues/8701) Static payload fetching bugfixes - [#8612](https://togithub.com/nuxt/nuxt.js/issues/8612) Check for `Page.options` before looking within - [#8611](https://togithub.com/nuxt/nuxt.js/issues/8611) Don't remove `req`, `res` and `query` from context unless in full static mode - [#8608](https://togithub.com/nuxt/nuxt.js/issues/8608) Ensure `link.__prefetch` exists before calling it - [#8596](https://togithub.com/nuxt/nuxt.js/issues/8596) Add missing `id` attribute to `noopApp` - [#8557](https://togithub.com/nuxt/nuxt.js/issues/8557) Scroll-to-top on route changes only - [#8523](https://togithub.com/nuxt/nuxt.js/issues/8523) Set `push` on router instance rather than prototype - [#8486](https://togithub.com/nuxt/nuxt.js/issues/8486) Do not preserve state when registering client-side dynamic module - [#8802](https://togithub.com/nuxt/nuxt.js/issues/8802) Add leading slash for payload hydration - `server, vue-app` - [#8748](https://togithub.com/nuxt/nuxt.js/issues/8748) Address encoding issues with query params - `dev` - [#8697](https://togithub.com/nuxt/nuxt.js/issues/8697) Clearnup vue installed plugins from server in dev mode - [#8556](https://togithub.com/nuxt/nuxt.js/issues/8556) Resolve module required by create-require in jiti - `cli` - [#8683](https://togithub.com/nuxt/nuxt.js/issues/8683) Disable parallel build behaviour when generating - `webpack` - [#8555](https://togithub.com/nuxt/nuxt.js/issues/8555) Can't resolve absolute url in css - `server` - [#8593](https://togithub.com/nuxt/nuxt.js/issues/8593) Fix HMR issue with serverMiddleware when `router.base` is set - `babel` - [#8545](https://togithub.com/nuxt/nuxt.js/issues/8545) Enable polyfilling of proposal core-js features - `vue-app, vue-renderer, utils` - [#8489](https://togithub.com/nuxt/nuxt.js/issues/8489) Respect `trailingSlash` setting for payloads - `generator` - [#8474](https://togithub.com/nuxt/nuxt.js/issues/8474) Ensure static manifest dir exists - [#8803](https://togithub.com/nuxt/nuxt.js/issues/8803) Normalize trailing slashes before `extendRoutes` ##### 🚀 Features - `cli` - [#8792](https://togithub.com/nuxt/nuxt.js/issues/8792) Warn if incompatible node and package versions detected - `postcss` - [#8546](https://togithub.com/nuxt/nuxt.js/issues/8546) Support postcss v8 with explict postcss installation - `config, vue-app, vue-renderer` - [#8520](https://togithub.com/nuxt/nuxt.js/issues/8520) Support dynamic `base` and `publicPath` - `general` - [#8389](https://togithub.com/nuxt/nuxt.js/issues/8389) Support plug-and-play, typescript runtime and native modules - [#8346](https://togithub.com/nuxt/nuxt.js/issues/8346) Update all dependencies that require node 10.x - `vue-app` - [#8466](https://togithub.com/nuxt/nuxt.js/issues/8466) Support custom `fetchKey` for full static generation - `vue-renderer` - [#8347](https://togithub.com/nuxt/nuxt.js/issues/8347) Allow adding async attribute to ` Githubissues.