Courier Notices is a WordPress frontend notifications plugin. It allows admins to create global notifications that can be displayed on your website. You can have even more control with courier pro
babel/babel (@babel/core)
### [`v7.26.0`](https://redirect.github.com/babel/babel/compare/v7.25.9...v7.26.0)
[Compare Source](https://redirect.github.com/babel/babel/compare/v7.25.9...v7.26.0)
### [`v7.25.9`](https://redirect.github.com/babel/babel/blob/HEAD/CHANGELOG.md#v7259-2024-10-22)
[Compare Source](https://redirect.github.com/babel/babel/compare/v7.25.8...v7.25.9)
##### :bug: Bug Fix
- `babel-parser`, `babel-template`, `babel-types`
- [#16905](https://redirect.github.com/babel/babel/pull/16905) fix: Keep type annotations in `syntacticPlaceholders` mode ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu))
- `babel-helper-compilation-targets`, `babel-preset-env`
- [#16907](https://redirect.github.com/babel/babel/pull/16907) fix: support BROWSERSLIST{,\_CONFIG} env ([@JLHwung](https://redirect.github.com/JLHwung))
- Other
- [#16884](https://redirect.github.com/babel/babel/pull/16884) Analyze `ClassAccessorProperty` to prevent the `no-undef` rule ([@victorenator](https://redirect.github.com/victorenator))
##### :house: Internal
- `babel-helper-transform-fixture-test-runner`
- [#16914](https://redirect.github.com/babel/babel/pull/16914) remove test options flaky ([@JLHwung](https://redirect.github.com/JLHwung))
##### :running_woman: Performance
- `babel-parser`, `babel-types`
- [#16918](https://redirect.github.com/babel/babel/pull/16918) perf: Make `VISITOR_KEYS` etc. faster to access ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu))
### [`v7.25.8`](https://redirect.github.com/babel/babel/blob/HEAD/CHANGELOG.md#v7258-2024-10-10)
[Compare Source](https://redirect.github.com/babel/babel/compare/v7.25.7...v7.25.8)
##### :bug: Bug Fix
- `babel-core`
- [#16888](https://redirect.github.com/babel/babel/pull/16888) Restore public API of `resolvePlugin`/`resolvePreset` ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
##### :house: Internal
- `babel-parser`, `babel-plugin-proposal-async-do-expressions`, `babel-plugin-proposal-destructuring-private`, `babel-plugin-proposal-do-expressions`, `babel-plugin-proposal-explicit-resource-management`, `babel-plugin-proposal-export-default-from`, `babel-plugin-proposal-function-bind`, `babel-plugin-proposal-function-sent`, `babel-plugin-proposal-import-defer`, `babel-plugin-proposal-partial-application`, `babel-plugin-proposal-throw-expressions`, `babel-plugin-transform-async-generator-functions`, `babel-plugin-transform-class-static-block`, `babel-plugin-transform-dynamic-import`, `babel-plugin-transform-export-namespace-from`, `babel-plugin-transform-json-strings`, `babel-plugin-transform-logical-assignment-operators`, `babel-plugin-transform-nullish-coalescing-operator`, `babel-plugin-transform-numeric-separator`, `babel-plugin-transform-object-rest-spread`, `babel-plugin-transform-optional-catch-binding`, `babel-plugin-transform-optional-chaining`, `babel-plugin-transform-private-property-in-object`, `babel-preset-env`
- [#16824](https://redirect.github.com/babel/babel/pull/16824) Inline one-line syntax plugins ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
### [`v7.25.7`](https://redirect.github.com/babel/babel/blob/HEAD/CHANGELOG.md#v7257-2024-10-02)
[Compare Source](https://redirect.github.com/babel/babel/compare/v7.25.2...v7.25.7)
##### :bug: Bug Fix
- `babel-helper-validator-identifier`
- [#16825](https://redirect.github.com/babel/babel/pull/16825) fix: update identifier to unicode 16 ([@JLHwung](https://redirect.github.com/JLHwung))
- `babel-traverse`
- [#16814](https://redirect.github.com/babel/babel/pull/16814) fix: issue with node path keys updated on unrelated paths ([@DylanPiercey](https://redirect.github.com/DylanPiercey))
- `babel-plugin-transform-classes`
- [#16797](https://redirect.github.com/babel/babel/pull/16797) Use an inclusion rather than exclusion list for `super()` check ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
- `babel-generator`
- [#16788](https://redirect.github.com/babel/babel/pull/16788) Fix printing of TS `infer` in compact mode ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
- [#16785](https://redirect.github.com/babel/babel/pull/16785) Print TS type annotations for destructuring in assignment pattern ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
- [#16778](https://redirect.github.com/babel/babel/pull/16778) Respect `[no LineTerminator here]` after nodes ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
##### :nail_care: Polish
- `babel-types`
- [#16852](https://redirect.github.com/babel/babel/pull/16852) Add deprecated JSDOC for fields ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu))
##### :house: Internal
- `babel-core`
- [#16820](https://redirect.github.com/babel/babel/pull/16820) Allow sync loading of ESM when `--experimental-require-module` ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
- `babel-helper-compilation-targets`, `babel-helper-plugin-utils`, `babel-preset-env`
- [#16858](https://redirect.github.com/babel/babel/pull/16858) Add browserslist config to external dependency ([@JLHwung](https://redirect.github.com/JLHwung))
- `babel-plugin-proposal-destructuring-private`, `babel-plugin-syntax-decimal`, `babel-plugin-syntax-import-reflection`, `babel-standalone`
- [#16809](https://redirect.github.com/babel/babel/pull/16809) Archive syntax-import-reflection and syntax-decimal ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
- `babel-generator`
- [#16779](https://redirect.github.com/babel/babel/pull/16779) Simplify logic for `[no LineTerminator here]` before nodes ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
##### :running_woman: Performance
- `babel-plugin-transform-typescript`
- [#16875](https://redirect.github.com/babel/babel/pull/16875) perf: Avoid extra cloning of namespaces ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu))
- `babel-types`
- [#16842](https://redirect.github.com/babel/babel/pull/16842) perf: Improve [@babel/types](https://redirect.github.com/babel/types) builders ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu))
- [#16828](https://redirect.github.com/babel/babel/pull/16828) Only access `BABEL_TYPES_8_BREAKING` at startup ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
### [`v7.25.2`](https://redirect.github.com/babel/babel/blob/HEAD/CHANGELOG.md#v7252-2024-07-30)
[Compare Source](https://redirect.github.com/babel/babel/compare/v7.24.9...v7.25.2)
##### :bug: Bug Fix
- `babel-core`, `babel-traverse`
- [#16695](https://redirect.github.com/babel/babel/pull/16695) Ensure that `requeueComputedKeyAndDecorators` is available ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
### [`v7.24.9`](https://redirect.github.com/babel/babel/blob/HEAD/CHANGELOG.md#v7249-2024-07-15)
[Compare Source](https://redirect.github.com/babel/babel/compare/v7.24.8...v7.24.9)
##### :bug: Bug Fix
- `babel-core`, `babel-standalone`
- [#16639](https://redirect.github.com/babel/babel/pull/16639) Avoid `require()` call in `@babel/standalone` bundle ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
- `babel-types`
- [#16638](https://redirect.github.com/babel/babel/pull/16638) fix: provide legacy typings for TS < 4.1 ([@JLHwung](https://redirect.github.com/JLHwung))
##### :nail_care: Polish
- `babel-generator`, `babel-plugin-transform-optional-chaining`
- [#16617](https://redirect.github.com/babel/babel/pull/16617) Avoid extra parens in TS `as`/`satisfies` ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
##### :house: Internal
- `babel-helper-module-transforms`
- [#16629](https://redirect.github.com/babel/babel/pull/16629) Lazy top-level initializations for module transforms ([@guybedford](https://redirect.github.com/guybedford))
### [`v7.24.8`](https://redirect.github.com/babel/babel/blob/HEAD/CHANGELOG.md#v7248-2024-07-11)
[Compare Source](https://redirect.github.com/babel/babel/compare/v7.24.7...v7.24.8)
##### :eyeglasses: Spec Compliance
- `babel-parser`
- [#16567](https://redirect.github.com/babel/babel/pull/16567) Do not use strict mode in TS `declare` ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu))
##### :bug: Bug Fix
- `babel-generator`
- [#16630](https://redirect.github.com/babel/babel/pull/16630) Correctly print parens around `in` in `for` heads ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
- [#16626](https://redirect.github.com/babel/babel/pull/16626) Fix printing of comments in `await using` ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
- [#16591](https://redirect.github.com/babel/babel/pull/16591) fix typescript code generation for yield expression inside type expre… ([@SreeXD](https://redirect.github.com/SreeXD))
- `babel-parser`
- [#16613](https://redirect.github.com/babel/babel/pull/16613) Disallow destructuring assignment in `using` declarations ([@H0onnn](https://redirect.github.com/H0onnn))
- [#16490](https://redirect.github.com/babel/babel/pull/16490) fix: do not add `.value: undefined` to regexp literals ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu))
- `babel-types`
- [#16615](https://redirect.github.com/babel/babel/pull/16615) Remove boolean props from `ObjectTypeInternalSlot` visitor keys ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
- `babel-plugin-transform-typescript`
- [#16566](https://redirect.github.com/babel/babel/pull/16566) fix: Correctly handle `export import x =` ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu))
##### :nail_care: Polish
- `babel-generator`
- [#16625](https://redirect.github.com/babel/babel/pull/16625) Avoid unnecessary parens around `async` in `for await` ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
- `babel-traverse`
- [#16619](https://redirect.github.com/babel/babel/pull/16619) Avoid checking `Scope.globals` multiple times ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu))
babel/babel (@babel/preset-env)
### [`v7.26.0`](https://redirect.github.com/babel/babel/blob/HEAD/CHANGELOG.md#v7260-2024-10-25)
[Compare Source](https://redirect.github.com/babel/babel/compare/v7.25.9...v7.26.0)
##### :rocket: New Feature
- `babel-core`, `babel-generator`, `babel-parser`, `babel-plugin-syntax-import-assertions`, `babel-plugin-syntax-import-attributes`, `babel-preset-env`, `babel-standalone`, `babel-types`
- [#16850](https://redirect.github.com/babel/babel/pull/16850) Enable import attributes parsing by default ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
- `babel-core`
- [#16862](https://redirect.github.com/babel/babel/pull/16862) feat: support async plugin's pre/post ([@timofei-iatsenko](https://redirect.github.com/timofei-iatsenko))
- `babel-compat-data`, `babel-plugin-proposal-regexp-modifiers`, `babel-plugin-transform-regexp-modifiers`, `babel-preset-env`, `babel-standalone`
- [#16692](https://redirect.github.com/babel/babel/pull/16692) Add `transform-regexp-modifiers` to `preset-env` ([@JLHwung](https://redirect.github.com/JLHwung))
- `babel-parser`
- [#16849](https://redirect.github.com/babel/babel/pull/16849) feat: add `startIndex` parser option ([@DylanPiercey](https://redirect.github.com/DylanPiercey))
- `babel-generator`, `babel-parser`, `babel-plugin-syntax-flow`
- [#16841](https://redirect.github.com/babel/babel/pull/16841) Always enable parsing of Flow enums ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
- `babel-helpers`, `babel-preset-typescript`, `babel-runtime-corejs3`
- [#16794](https://redirect.github.com/babel/babel/pull/16794) Support `import()` in `rewriteImportExtensions` ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu))
- `babel-generator`, `babel-parser`
- [#16708](https://redirect.github.com/babel/babel/pull/16708) Add experimental format-preserving mode to `@babel/generator` ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
##### :bug: Bug Fix
- `babel-core`
- [#16928](https://redirect.github.com/babel/babel/pull/16928) Workaround Node.js bug for parallel loading of TLA modules ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
- [#16926](https://redirect.github.com/babel/babel/pull/16926) Fix loading of modules with TLA in Node.js 23 ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
##### :nail_care: Polish
- `babel-plugin-proposal-json-modules`, `babel-plugin-transform-json-modules`, `babel-standalone`
- [#16924](https://redirect.github.com/babel/babel/pull/16924) Rename `proposal-json-modules` to `transform-json-modules` ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
##### :house: Internal
- `babel-code-frame`, `babel-highlight`
- [#16896](https://redirect.github.com/babel/babel/pull/16896) Inline `@babel/highlight` in `@babel/code-frame` ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
- `babel-generator`, `babel-parser`, `babel-types`
- [#16732](https://redirect.github.com/babel/babel/pull/16732) Add `kind` to `TSModuleDeclaration` ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu))
##### :running_woman: Performance
- `babel-helper-module-transforms`, `babel-plugin-transform-modules-commonjs`
- [#16882](https://redirect.github.com/babel/babel/pull/16882) perf: Improve module transforms ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu))
### [`v7.25.9`](https://redirect.github.com/babel/babel/blob/HEAD/CHANGELOG.md#v7259-2024-10-22)
[Compare Source](https://redirect.github.com/babel/babel/compare/v7.25.8...v7.25.9)
##### :bug: Bug Fix
- `babel-parser`, `babel-template`, `babel-types`
- [#16905](https://redirect.github.com/babel/babel/pull/16905) fix: Keep type annotations in `syntacticPlaceholders` mode ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu))
- `babel-helper-compilation-targets`, `babel-preset-env`
- [#16907](https://redirect.github.com/babel/babel/pull/16907) fix: support BROWSERSLIST{,\_CONFIG} env ([@JLHwung](https://redirect.github.com/JLHwung))
- Other
- [#16884](https://redirect.github.com/babel/babel/pull/16884) Analyze `ClassAccessorProperty` to prevent the `no-undef` rule ([@victorenator](https://redirect.github.com/victorenator))
##### :house: Internal
- `babel-helper-transform-fixture-test-runner`
- [#16914](https://redirect.github.com/babel/babel/pull/16914) remove test options flaky ([@JLHwung](https://redirect.github.com/JLHwung))
##### :running_woman: Performance
- `babel-parser`, `babel-types`
- [#16918](https://redirect.github.com/babel/babel/pull/16918) perf: Make `VISITOR_KEYS` etc. faster to access ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu))
### [`v7.25.8`](https://redirect.github.com/babel/babel/blob/HEAD/CHANGELOG.md#v7258-2024-10-10)
[Compare Source](https://redirect.github.com/babel/babel/compare/v7.25.7...v7.25.8)
##### :bug: Bug Fix
- `babel-core`
- [#16888](https://redirect.github.com/babel/babel/pull/16888) Restore public API of `resolvePlugin`/`resolvePreset` ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
##### :house: Internal
- `babel-parser`, `babel-plugin-proposal-async-do-expressions`, `babel-plugin-proposal-destructuring-private`, `babel-plugin-proposal-do-expressions`, `babel-plugin-proposal-explicit-resource-management`, `babel-plugin-proposal-export-default-from`, `babel-plugin-proposal-function-bind`, `babel-plugin-proposal-function-sent`, `babel-plugin-proposal-import-defer`, `babel-plugin-proposal-partial-application`, `babel-plugin-proposal-throw-expressions`, `babel-plugin-transform-async-generator-functions`, `babel-plugin-transform-class-static-block`, `babel-plugin-transform-dynamic-import`, `babel-plugin-transform-export-namespace-from`, `babel-plugin-transform-json-strings`, `babel-plugin-transform-logical-assignment-operators`, `babel-plugin-transform-nullish-coalescing-operator`, `babel-plugin-transform-numeric-separator`, `babel-plugin-transform-object-rest-spread`, `babel-plugin-transform-optional-catch-binding`, `babel-plugin-transform-optional-chaining`, `babel-plugin-transform-private-property-in-object`, `babel-preset-env`
- [#16824](https://redirect.github.com/babel/babel/pull/16824) Inline one-line syntax plugins ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
### [`v7.25.7`](https://redirect.github.com/babel/babel/blob/HEAD/CHANGELOG.md#v7257-2024-10-02)
[Compare Source](https://redirect.github.com/babel/babel/compare/v7.25.4...v7.25.7)
##### :bug: Bug Fix
- `babel-helper-validator-identifier`
- [#16825](https://redirect.github.com/babel/babel/pull/16825) fix: update identifier to unicode 16 ([@JLHwung](https://redirect.github.com/JLHwung))
- `babel-traverse`
- [#16814](https://redirect.github.com/babel/babel/pull/16814) fix: issue with node path keys updated on unrelated paths ([@DylanPiercey](https://redirect.github.com/DylanPiercey))
- `babel-plugin-transform-classes`
- [#16797](https://redirect.github.com/babel/babel/pull/16797) Use an inclusion rather than exclusion list for `super()` check ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
- `babel-generator`
- [#16788](https://redirect.github.com/babel/babel/pull/16788) Fix printing of TS `infer` in compact mode ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
- [#16785](https://redirect.github.com/babel/babel/pull/16785) Print TS type annotations for destructuring in assignment pattern ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
- [#16778](https://redirect.github.com/babel/babel/pull/16778) Respect `[no LineTerminator here]` after nodes ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
##### :nail_care: Polish
- `babel-types`
- [#16852](https://redirect.github.com/babel/babel/pull/16852) Add deprecated JSDOC for fields ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu))
##### :house: Internal
- `babel-core`
- [#16820](https://redirect.github.com/babel/babel/pull/16820) Allow sync loading of ESM when `--experimental-require-module` ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
- `babel-helper-compilation-targets`, `babel-helper-plugin-utils`, `babel-preset-env`
- [#16858](https://redirect.github.com/babel/babel/pull/16858) Add browserslist config to external dependency ([@JLHwung](https://redirect.github.com/JLHwung))
- `babel-plugin-proposal-destructuring-private`, `babel-plugin-syntax-decimal`, `babel-plugin-syntax-import-reflection`, `babel-standalone`
- [#16809](https://redirect.github.com/babel/babel/pull/16809) Archive syntax-import-reflection and syntax-decimal ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
- `babel-generator`
- [#16779](https://redirect.github.com/babel/babel/pull/16779) Simplify logic for `[no LineTerminator here]` before nodes ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
##### :running_woman: Performance
- `babel-plugin-transform-typescript`
- [#16875](https://redirect.github.com/babel/babel/pull/16875) perf: Avoid extra cloning of namespaces ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu))
- `babel-types`
- [#16842](https://redirect.github.com/babel/babel/pull/16842) perf: Improve [@babel/types](https://redirect.github.com/babel/types) builders ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu))
- [#16828](https://redirect.github.com/babel/babel/pull/16828) Only access `BABEL_TYPES_8_BREAKING` at startup ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
### [`v7.25.4`](https://redirect.github.com/babel/babel/blob/HEAD/CHANGELOG.md#v7254-2024-08-22)
[Compare Source](https://redirect.github.com/babel/babel/compare/v7.25.3...v7.25.4)
##### :bug: Bug Fix
- `babel-traverse`
- [#16756](https://redirect.github.com/babel/babel/pull/16756) fix: Skip computed key when renaming ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu))
- `babel-helper-create-class-features-plugin`, `babel-plugin-proposal-decorators`
- [#16755](https://redirect.github.com/babel/babel/pull/16755) fix: Decorator 2018-09 may throw an exception ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu))
- `babel-types`
- [#16710](https://redirect.github.com/babel/babel/pull/16710) Visit AST fields nodes according to their syntactical order ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
- `babel-generator`
- [#16709](https://redirect.github.com/babel/babel/pull/16709) Print semicolon after TS `export namespace as A` ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
##### :nail_care: Polish
- `babel-generator`, `babel-plugin-proposal-decorators`, `babel-plugin-proposal-destructuring-private`, `babel-plugin-proposal-pipeline-operator`, `babel-plugin-transform-class-properties`, `babel-plugin-transform-destructuring`, `babel-plugin-transform-optional-chaining`, `babel-plugin-transform-private-methods`, `babel-plugin-transform-private-property-in-object`, `babel-plugin-transform-typescript`, `babel-runtime-corejs2`, `babel-runtime`, `babel-traverse`
- [#16722](https://redirect.github.com/babel/babel/pull/16722) Avoid unnecessary parens around sequence expressions ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
- `babel-generator`, `babel-plugin-transform-class-properties`
- [#16714](https://redirect.github.com/babel/babel/pull/16714) Avoid unnecessary parens around exported arrow functions ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
- `babel-generator`, `babel-plugin-proposal-decorators`, `babel-plugin-proposal-destructuring-private`, `babel-plugin-transform-object-rest-spread`
- [#16712](https://redirect.github.com/babel/babel/pull/16712) Avoid printing unnecessary parens around object destructuring ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
##### :microscope: Output optimization
- `babel-generator`
- [#16740](https://redirect.github.com/babel/babel/pull/16740) Avoid extra spaces between comments/regexps in compact mode ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
### [`v7.25.3`](https://redirect.github.com/babel/babel/blob/HEAD/CHANGELOG.md#v7253-2024-07-31)
[Compare Source](https://redirect.github.com/babel/babel/compare/v7.25.2...v7.25.3)
##### :bug: Bug Fix
- `babel-plugin-bugfix-firefox-class-in-computed-class-key`, `babel-traverse`
- [#16699](https://redirect.github.com/babel/babel/pull/16699) Avoid validating visitors produced by `traverse.visitors.merge` ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
##### :house: Internal
- `babel-parser`
- [#16688](https://redirect.github.com/babel/babel/pull/16688) Add `@babel/types` as a dependency of `@babel/parser` ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
### [`v7.25.2`](https://redirect.github.com/babel/babel/blob/HEAD/CHANGELOG.md#v7252-2024-07-30)
[Compare Source](https://redirect.github.com/babel/babel/compare/v7.25.0...v7.25.2)
##### :bug: Bug Fix
- `babel-core`, `babel-traverse`
- [#16695](https://redirect.github.com/babel/babel/pull/16695) Ensure that `requeueComputedKeyAndDecorators` is available ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
### [`v7.25.0`](https://redirect.github.com/babel/babel/blob/HEAD/CHANGELOG.md#v7250-2024-07-26)
[Compare Source](https://redirect.github.com/babel/babel/compare/v7.24.8...v7.25.0)
##### :eyeglasses: Spec Compliance
- `babel-helpers`, `babel-plugin-proposal-explicit-resource-management`, `babel-runtime-corejs3`
- [#16537](https://redirect.github.com/babel/babel/pull/16537) `await using` normative updates ([@JLHwung](https://redirect.github.com/JLHwung))
- `babel-plugin-transform-typescript`
- [#16602](https://redirect.github.com/babel/babel/pull/16602) Ensure enum members syntactically determinable to be strings do not get reverse mappings ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu))
##### :rocket: New Feature
- `babel-helper-create-class-features-plugin`, `babel-helper-function-name`, `babel-helper-plugin-utils`, `babel-helper-wrap-function`, `babel-plugin-bugfix-safari-class-field-initializer-scope`, `babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression`, `babel-plugin-transform-classes`, `babel-plugin-transform-function-name`, `babel-preset-env`, `babel-traverse`, `babel-types`
- [#16658](https://redirect.github.com/babel/babel/pull/16658) Move `ensureFunctionName` to `NodePath.prototype` ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
- `babel-helper-hoist-variables`, `babel-helper-plugin-utils`, `babel-plugin-proposal-async-do-expressions`, `babel-plugin-transform-modules-systemjs`, `babel-traverse`
- [#16644](https://redirect.github.com/babel/babel/pull/16644) Move `hoistVariables` to `Scope.prototype` ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
- `babel-helper-create-class-features-plugin`, `babel-helper-module-transforms`, `babel-helper-plugin-utils`, `babel-helper-split-export-declaration`, `babel-plugin-transform-classes`, `babel-traverse`, `babel-types`
- [#16645](https://redirect.github.com/babel/babel/pull/16645) Move `splitExportDeclaration` to `NodePath.prototype` ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
- `babel-helper-create-class-features-plugin`, `babel-helper-environment-visitor`, `babel-helper-module-transforms`, `babel-helper-plugin-utils`, `babel-helper-remap-async-to-generator`, `babel-helper-replace-supers`, `babel-plugin-bugfix-firefox-class-in-computed-class-key`, `babel-plugin-bugfix-v8-static-class-fields-redefine-readonly`, `babel-plugin-transform-async-generator-functions`, `babel-plugin-transform-classes`, `babel-traverse`
- [#16649](https://redirect.github.com/babel/babel/pull/16649) Move `environment-visitor` helper into `@babel/traverse` ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
- `babel-core`, `babel-parser`
- [#16480](https://redirect.github.com/babel/babel/pull/16480) Expose wether a module has TLA or not as `.extra.async` ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
- `babel-compat-data`, `babel-plugin-bugfix-safari-class-field-initializer-scope`, `babel-preset-env`
- [#16569](https://redirect.github.com/babel/babel/pull/16569) Introduce `bugfix-safari-class-field-initializer-scope` ([@davidtaylorhq](https://redirect.github.com/davidtaylorhq))
- `babel-plugin-transform-block-scoping`, `babel-traverse`, `babel-types`
- [#16551](https://redirect.github.com/babel/babel/pull/16551) Add `NodePath#getAssignmentIdentifiers` ([@JLHwung](https://redirect.github.com/JLHwung))
- `babel-helper-import-to-platform-api`, `babel-plugin-proposal-json-modules`
- [#16579](https://redirect.github.com/babel/babel/pull/16579) Add `uncheckedRequire` option for JSON imports to CJS ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
- `babel-helper-transform-fixture-test-runner`, `babel-node`
- [#16642](https://redirect.github.com/babel/babel/pull/16642) Allow using custom config in `babel-node --eval` ([@slatereax](https://redirect.github.com/slatereax))
- `babel-compat-data`, `babel-helper-create-regexp-features-plugin`, `babel-plugin-proposal-duplicate-named-capturing-groups-regex`, `babel-plugin-transform-duplicate-named-capturing-groups-regex`, `babel-preset-env`, `babel-standalone`
- [#16445](https://redirect.github.com/babel/babel/pull/16445) Add `duplicate-named-capturing-groups-regex` to `preset-env` ([@JLHwung](https://redirect.github.com/JLHwung))
##### :bug: Bug Fix
- `babel-generator`
- [#16678](https://redirect.github.com/babel/babel/pull/16678) Print parens around as expressions on the LHS ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
- `babel-template`, `babel-types`
- [#15286](https://redirect.github.com/babel/babel/pull/15286) fix: Props are lost when the template replaces the node ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu))
##### :house: Internal
- Other
- [#16674](https://redirect.github.com/babel/babel/pull/16674) bump gulp to 5 ([@JLHwung](https://redirect.github.com/JLHwung))
- `babel-generator`
- [#16651](https://redirect.github.com/babel/babel/pull/16651) Simplify the printing logic for `(` before ambiguous tokens ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
- `babel-helper-function-name`, `babel-plugin-transform-arrow-functions`, `babel-plugin-transform-function-name`, `babel-preset-env`, `babel-traverse`
- [#16652](https://redirect.github.com/babel/babel/pull/16652) Simplify `helper-function-name` logic ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
##### :running_woman: Performance
- `babel-parser`, `babel-plugin-proposal-pipeline-operator`
- [#16461](https://redirect.github.com/babel/babel/pull/16461) Some minor parser performance improvements for ts ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu))
##### :microscope: Output optimization
- `babel-plugin-transform-classes`
- [#16670](https://redirect.github.com/babel/babel/pull/16670) Reduce redundant `assertThisInitialized` ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu))
- `babel-helper-create-class-features-plugin`, `babel-helper-replace-supers`, `babel-helpers`, `babel-plugin-proposal-decorators`, `babel-plugin-transform-class-properties`, `babel-plugin-transform-classes`, `babel-plugin-transform-exponentiation-operator`, `babel-plugin-transform-object-super`, `babel-plugin-transform-private-methods`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime`
- [#16374](https://redirect.github.com/babel/babel/pull/16374) Improve `super.x` output ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu))
- `babel-plugin-transform-class-properties`, `babel-plugin-transform-classes`
- [#16656](https://redirect.github.com/babel/babel/pull/16656) Simplify output for anonymous classes with no methods ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
### [`v7.24.8`](https://redirect.github.com/babel/babel/blob/HEAD/CHANGELOG.md#v7248-2024-07-11)
[Compare Source](https://redirect.github.com/babel/babel/compare/v7.24.7...v7.24.8)
##### :eyeglasses: Spec Compliance
- `babel-parser`
- [#16567](https://redirect.github.com/babel/babel/pull/16567) Do not use strict mode in TS `declare` ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu))
##### :bug: Bug Fix
- `babel-generator`
- [#16630](https://redirect.github.com/babel/babel/pull/16630) Correctly print parens around `in` in `for` heads ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
- [#16626](https://redirect.github.com/babel/babel/pull/16626) Fix printing of comments in `await using` ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
- [#16591](https://redirect.github.com/babel/babel/pull/16591) fix typescript code generation for yield expression inside type expre… ([@SreeXD](https://redirect.github.com/SreeXD))
- `babel-parser`
- [#16613](https://redirect.github.com/babel/babel/pull/16613) Disallow destructuring assignment in `using` declarations ([@H0onnn](https://redirect.github.com/H0onnn))
- [#16490](https://redirect.github.com/babel/babel/pull/16490) fix: do not add `.value: undefined` to regexp literals ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu))
- `babel-types`
- [#16615](https://redirect.github.com/babel/babel/pull/16615) Remove boolean props from `ObjectTypeInternalSlot` visitor keys ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
- `babel-plugin-transform-typescript`
- [#16566](https://redirect.github.com/babel/babel/pull/16566) fix: Correctly handle `export import x =` ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu))
##### :nail_care: Polish
- `babel-generator`
- [#16625](https://redirect.github.com/babel/babel/pull/16625) Avoid unnecessary parens around `async` in `for await` ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo))
- `babel-traverse`
- [#16619](https://redirect.github.com/babel/babel/pull/16619) Avoid checking `Scope.globals` multiple times ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu))
postcss/autoprefixer (autoprefixer)
### [`v10.4.20`](https://redirect.github.com/postcss/autoprefixer/blob/HEAD/CHANGELOG.md#10420)
[Compare Source](https://redirect.github.com/postcss/autoprefixer/compare/10.4.19...10.4.20)
- Fixed `fit-content` prefix for Firefox.
babel/babel-loader (babel-loader)
### [`v9.2.1`](https://redirect.github.com/babel/babel-loader/compare/v9.2.0...1a9240b228d7735101d469bdb99b1a1e9991760f)
[Compare Source](https://redirect.github.com/babel/babel-loader/compare/v9.2.0...v9.2.1)
### [`v9.2.0`](https://redirect.github.com/babel/babel-loader/compare/v9.1.3...d280ee32ef3587ec1494ac804b17a8219013f810)
[Compare Source](https://redirect.github.com/babel/babel-loader/compare/v9.1.3...v9.2.0)
BrowserSync/browser-sync (browser-sync)
### [`v3.0.3`](https://redirect.github.com/BrowserSync/browser-sync/releases/tag/v3.0.3)
[Compare Source](https://redirect.github.com/BrowserSync/browser-sync/compare/v3.0.2...v3.0.3)
#### What's Changed
- remove xip by [@shakyShane](https://redirect.github.com/shakyShane) in [https://github.com/BrowserSync/browser-sync/pull/2065](https://redirect.github.com/BrowserSync/browser-sync/pull/2065)
- deps: send + micromatch by [@shakyShane](https://redirect.github.com/shakyShane) in [https://github.com/BrowserSync/browser-sync/pull/2088](https://redirect.github.com/BrowserSync/browser-sync/pull/2088)
**Full Changelog**: https://github.com/BrowserSync/browser-sync/compare/v3.0.2...v3.0.3
postcss/postcss (postcss)
### [`v8.4.49`](https://redirect.github.com/postcss/postcss/blob/HEAD/CHANGELOG.md#8449)
[Compare Source](https://redirect.github.com/postcss/postcss/compare/8.4.48...8.4.49)
- Fixed custom syntax without `source.offset` (by [@romainmenke](https://redirect.github.com/romainmenke)).
### [`v8.4.48`](https://redirect.github.com/postcss/postcss/blob/HEAD/CHANGELOG.md#8448)
[Compare Source](https://redirect.github.com/postcss/postcss/compare/8.4.47...8.4.48)
- Fixed position calculation in error/warnings methods (by [@romainmenke](https://redirect.github.com/romainmenke)).
### [`v8.4.47`](https://redirect.github.com/postcss/postcss/blob/HEAD/CHANGELOG.md#8447)
[Compare Source](https://redirect.github.com/postcss/postcss/compare/8.4.46...8.4.47)
- Removed debug code.
### [`v8.4.46`](https://redirect.github.com/postcss/postcss/blob/HEAD/CHANGELOG.md#8446)
[Compare Source](https://redirect.github.com/postcss/postcss/compare/8.4.45...8.4.46)
- Fixed `Cannot read properties of undefined (reading 'before')`.
### [`v8.4.45`](https://redirect.github.com/postcss/postcss/blob/HEAD/CHANGELOG.md#8445)
[Compare Source](https://redirect.github.com/postcss/postcss/compare/8.4.44...8.4.45)
- Removed unnecessary fix which could lead to infinite loop.
### [`v8.4.44`](https://redirect.github.com/postcss/postcss/blob/HEAD/CHANGELOG.md#8444)
[Compare Source](https://redirect.github.com/postcss/postcss/compare/8.4.43...8.4.44)
- Another way to fix `markClean is not a function` error.
### [`v8.4.43`](https://redirect.github.com/postcss/postcss/blob/HEAD/CHANGELOG.md#8443)
[Compare Source](https://redirect.github.com/postcss/postcss/compare/8.4.42...8.4.43)
- Fixed `markClean is not a function` error.
### [`v8.4.42`](https://redirect.github.com/postcss/postcss/blob/HEAD/CHANGELOG.md#8442)
[Compare Source](https://redirect.github.com/postcss/postcss/compare/8.4.41...8.4.42)
- Fixed CSS syntax error on long minified files (by [@varpstar](https://redirect.github.com/varpstar)).
### [`v8.4.41`](https://redirect.github.com/postcss/postcss/blob/HEAD/CHANGELOG.md#8441)
[Compare Source](https://redirect.github.com/postcss/postcss/compare/8.4.40...8.4.41)
- Fixed types (by [@nex3](https://redirect.github.com/nex3) and [@querkmachine](https://redirect.github.com/querkmachine)).
- Cleaned up RegExps (by [@bluwy](https://redirect.github.com/bluwy)).
### [`v8.4.40`](https://redirect.github.com/postcss/postcss/blob/HEAD/CHANGELOG.md#8440)
[Compare Source](https://redirect.github.com/postcss/postcss/compare/8.4.39...8.4.40)
- Moved to getter/setter in nodes types to help Sass team (by [@nex3](https://redirect.github.com/nex3)).
### [`v8.4.39`](https://redirect.github.com/postcss/postcss/blob/HEAD/CHANGELOG.md#8439)
[Compare Source](https://redirect.github.com/postcss/postcss/compare/8.4.38...8.4.39)
- Fixed `CssSyntaxError` types (by [@romainmenke](https://redirect.github.com/romainmenke)).
sass/dart-sass (sass)
### [`v1.80.6`](https://redirect.github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1806)
[Compare Source](https://redirect.github.com/sass/dart-sass/compare/1.80.5...1.80.6)
##### Command-Line Interface
- Make `@parcel/watcher` an optional dependency so this can still be installed
on operating systems where it's unavailable.
### [`v1.80.5`](https://redirect.github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1805)
[Compare Source](https://redirect.github.com/sass/dart-sass/compare/1.80.4...1.80.5)
##### Embedded Host
- Don't produce phantom `@import` deprecations when using an importer with the
legacy API.
### [`v1.80.4`](https://redirect.github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1804)
[Compare Source](https://redirect.github.com/sass/dart-sass/compare/1.80.3...1.80.4)
- No user-visible changes.
### [`v1.80.3`](https://redirect.github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1803)
[Compare Source](https://redirect.github.com/sass/dart-sass/compare/1.80.2...1.80.3)
- Fix a bug where `@import url("...")` would crash in plain CSS files.
- Improve consistency of how warnings are emitted by different parts of the
compiler. This should result in minimal user-visible changes, but different
types of warnings should now respond more reliably to flags like `--quiet`,
`--verbose`, and `--silence-deprecation`.
### [`v1.80.2`](https://redirect.github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1802)
[Compare Source](https://redirect.github.com/sass/dart-sass/compare/1.80.1...1.80.2)
- Fix a bug where deprecation warnings were incorrectly emitted for the
plain-CSS `invert()` function.
### [`v1.80.1`](https://redirect.github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1801)
[Compare Source](https://redirect.github.com/sass/dart-sass/compare/1.80.0...1.80.1)
- Fix a bug where repeated deprecation warnings were not automatically limited.
### [`v1.80.0`](https://redirect.github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1800)
[Compare Source](https://redirect.github.com/sass/dart-sass/compare/1.79.6...1.80.0)
- `@import` is now officially deprecated, as are global built-in functions that
are available within built-in modules. See [the Sass blog post] for more
details on the deprecation process.
[the Sass blog post]: https://sass-lang.com/blog/import-is-deprecated/
##### Embedded Host
- Fix an error that would sometimes occur when deprecation warnings were
emitted when using a custom importer with the legacy API.
### [`v1.79.6`](https://redirect.github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1796)
[Compare Source](https://redirect.github.com/sass/dart-sass/compare/1.79.5...1.79.6)
- Fix a bug where Sass would add an extra `*/` after loud comments with
whitespace after an explicit `*/` in the indented syntax.
- **Potentially breaking bug fix:** Adding text after an explicit `*/` in the
indented syntax is now an error, rather than silently generating invalid CSS.
##### Embedded Host
- Properly export the `SassBoolean` type.
### [`v1.79.5`](https://redirect.github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1795)
[Compare Source](https://redirect.github.com/sass/dart-sass/compare/1.79.4...1.79.5)
- Changes to how `selector.unify()` and `@extend` combine selectors:
- The relative order of pseudo-classes (like `:hover`) and pseudo-elements
(like `::before`) within each original selector is now preserved when
they're combined.
- Pseudo selectors are now consistently placed at the end of the combined
selector, regardless of which selector they came from. Previously, this
reordering only applied to pseudo-selectors in the second selector.
- Tweak the color transformation matrices for OKLab and OKLCH to match the
newer, more accurate values in the CSS spec.
- Fix a slight inaccuracy case when converting to `srgb-linear` and
`display-p3`.
- **Potentially breaking bug fix:** `math.unit()` now wraps multiple denominator
units in parentheses. For example, `px/(em*em)` instead of `px/em*em`.
##### Command-Line Interface
- Use `@parcel/watcher` to watch the filesystem when running from JavaScript and
not using `--poll`. This should mitigate more frequent failures users have
been seeing since version 4.0.0 of Chokidar, our previous watching tool, was
released.
##### JS API
- Fix `SassColor.interpolate()` to allow an undefined `options` parameter, as
the types indicate.
##### Embedded Sass
- Properly pass missing color channel values to and from custom functions.
### [`v1.79.4`](https://redirect.github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1794)
[Compare Source](https://redirect.github.com/sass/dart-sass/compare/1.79.3...1.79.4)
##### JS API
- Fix a bug where passing `green` or `blue` to `color.change()` for legacy
colors would fail.
### [`v1.79.3`](https://redirect.github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1793)
[Compare Source](https://redirect.github.com/sass/dart-sass/compare/1.79.2...1.79.3)
- Update the `$channel` parameter in the suggested replacement for
`color.red()`, `color.green()`, `color.blue()`, `color.hue()`,
`color.saturation()`, `color.lightness()`, `color.whiteness()`, and
`color.blackness()` to use a quoted string.
### [`v1.79.2`](https://redirect.github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1792)
[Compare Source](https://redirect.github.com/sass/dart-sass/compare/1.79.1...1.79.2)
- Add a `$space` parameter to the suggested replacement for `color.red()`,
`color.green()`, `color.blue()`, `color.hue()`, `color.saturation()`,
`color.lightness()`, `color.whiteness()`, and `color.blackness()`.
- Update deprecation warnings for the legacy JS API to include a link to
[relevant documentation].
[relevant documentation]: https://sass-lang.com/d/legacy-js-api
### [`v1.79.1`](https://redirect.github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1791)
[Compare Source](https://redirect.github.com/sass/dart-sass/compare/1.79.0...1.79.1)
- No user-visible changes.
### [`v1.79.0`](https://redirect.github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1790)
[Compare Source](https://redirect.github.com/sass/dart-sass/compare/1.78.0...1.79.0)
- **Breaking change**: Passing a number with unit `%` to the `$alpha` parameter
of `color.change()`, `color.adjust()`, `change-color()`, and `adjust-color()`
is now interpreted as a percentage, instead of ignoring the unit. For example,
`color.change(red, $alpha: 50%)` now returns `rgb(255 0 0 / 0.5)`.
- **Potentially breaking compatibility fix**: Sass no longer rounds RGB channels
to the nearest integer. This means that, for example, `rgb(0 0 1) != rgb(0 0
0.6)`. This matches the latest version of the CSS spec and browser behavior.
- **Potentially breaking compatibility fix**: Passing large positive or negative
values to `color.adjust()` can now cause a color's channels to go outside that
color's gamut. In most cases this will currently be clipped by the browser and
end up showing the same color as before, but once browsers implement gamut
mapping it may produce a different result.
- Add support for CSS Color Level 4 [color spaces]. Each color value now tracks
its color space along with the values of each channel in that color space.
There are two general principles to keep in mind when dealing with new color
spaces:
1. With the exception of legacy color spaces (`rgb`, `hsl`, and `hwb`), colors
will always be emitted in the color space they were defined in unless
they're explicitly converted.
2. The `color.to-space()` function is the only way to convert a color to
another color space. Some built-in functions may do operations in a
different color space, but they'll always convert back to the original space
afterwards.
- `rgb` colors can now have non-integer channels and channels outside the normal
gamut of 0-255. These colors are always emitted using the `rgb()` syntax so
that modern browsers that are being displayed on wide-gamut devices can
display the most accurate color possible.
- Add support for all the new color syntax defined in Color Level 4, including:
- `oklab()`, `oklch()`, `lab()`, and `lch()` functions;
- a top-level `hwb()` function that matches the space-separated CSS syntax;
- and a `color()` function that supports the `srgb`, `srgb-linear`,
`display-p3`, `a98-rgb`, `prophoto-rgb`, `rec2020`, `xyz`, `xyz-d50`, and
`xyz-d65` color spaces.
- Add new functions for working with color spaces:
- `color.to-space($color, $space)` converts `$color` to the given `$space`. In
most cases this conversion is lossless—the color may end up out-of-gamut for
the destination color space, but browsers will generally display it as best
they can regardless. However, the `hsl` and `hwb` spaces can't represent
out-of-gamut colors and so will be clamped.
- `color.channel($color, $channel, $space: null)` returns the value of the
given `$channel` in `$color`, after converting it to `$space` if necessary.
It should be used instead of the old channel-specific functions such as
`color.red()` and `color.hue()`.
- `color.same($color1, $color2)` returns whether two colors represent the same
color even across color spaces. It differs from `$color1 == $color2` because
`==` never consider colors in different (non-legacy) spaces as equal.
- `color.is-in-gamut($color, $space: null)` returns whether `$color` is
in-gamut for its color space (or `$space` if it's passed).
- `color.to-gamut($color, $space: null)` returns `$color` constrained to its
space's gamut (or to `$space`'s gamut, if passed). This is generally not
recommended since even older browsers will display out-of-gamut colors as
best they can, but it may be necessary in some cases.
- `color.space($color)`: Returns the name of `$color`'s color space.
- `color.is-legacy($color)`: Returns whether `$color` is in a legacy color
space (`rgb`, `hsl`, or `hwb`).
- `color.is-powerless($color, $channel, $space: null)`: Returns whether the
given `$channel` of `$color` is powerless in `$space` (or its own color
space). A channel is "powerless" if its value doesn't affect the way the
color is displayed, such as hue for a color with 0 chroma.
- `color.is-missing($color, $channel)`: Returns whether `$channel`'s value is
missing in `$color`. Missing channels can be explicitly specified using the
special value `none` and can appear automatically when `color.to-space()`
returns a color with a powerless channel. Missing channels are usually
treated as 0, except when interpolating between two colors and in
`color.mix()` where they're treated as the same value as the other color.
- Update existing functions to support color spaces:
- `hsl()` and `color.hwb()` no longer forbid out-of-bounds values. Instead,
they follow the CSS spec by clamping them to within the allowed range.
- `color.change()`, `color.adjust()`, and `color.scale()` now support all
channels of all color spaces. However, if you want to modify a channel
that's not in `$color`'s own color space, you have to explicitly specify the
space with the `$space` parameter. (For backwards-compatibility, this
doesn't apply to legacy channels of legacy colors—for example, you can still
adjust an `rgb` color's saturation without passing `$space: hsl`).
- `color.mix()` and `color.invert()` now support the standard CSS algorithm
for interpolating between two colors (the same one that's used for gradients
and animations). To use this, pass the color space to use for interpolation
to the `$method` parameter. For polar color spaces like `hsl` and `oklch`,
this parameter also allows you to specify how hue interpolation is handled.
- `color.complement()` now supports a `$space` parameter that indicates which
color space should be used to take the complement.
- `color.grayscale()` now operates in the `oklch` space for non-legacy colors.
- `color.ie-hex-str()` now automatically converts its color to the `rgb` space
and gamut-maps it so that it can continue to take colors from any color
space.
[color spaces]: https://developer.mozilla.org/en-US/docs/Web/CSS/color_value
- The following functions are now deprecated, and uses should be replaced with
the new color-space-aware functions defined above:
- The `color.red()`, `color.green()`, `color.blue()`, `color.hue()`,
`color.saturation()`, `color.lightness()`, `color.whiteness()`, and
`color.blackness()` functions, as well as their global counterparts, should
be replaced with calls to `color.channel()`.
- The global `adjust-hue()`, `saturate()`, `desaturate()`, `lighten()`,
`darken()`, `transaprentize()`, `fade-out()`, `opacify()`, an
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
7.24.7
->7.26.0
7.24.7
->7.26.0
7.24.6
->7.25.9
10.4.19
->10.4.20
9.1.3
->9.2.1
3.0.2
->3.0.3
^8.4.38
->^8.4.49
^1.77.6
->^1.80.6
Release Notes
babel/babel (@babel/core)
### [`v7.26.0`](https://redirect.github.com/babel/babel/compare/v7.25.9...v7.26.0) [Compare Source](https://redirect.github.com/babel/babel/compare/v7.25.9...v7.26.0) ### [`v7.25.9`](https://redirect.github.com/babel/babel/blob/HEAD/CHANGELOG.md#v7259-2024-10-22) [Compare Source](https://redirect.github.com/babel/babel/compare/v7.25.8...v7.25.9) ##### :bug: Bug Fix - `babel-parser`, `babel-template`, `babel-types` - [#16905](https://redirect.github.com/babel/babel/pull/16905) fix: Keep type annotations in `syntacticPlaceholders` mode ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu)) - `babel-helper-compilation-targets`, `babel-preset-env` - [#16907](https://redirect.github.com/babel/babel/pull/16907) fix: support BROWSERSLIST{,\_CONFIG} env ([@JLHwung](https://redirect.github.com/JLHwung)) - Other - [#16884](https://redirect.github.com/babel/babel/pull/16884) Analyze `ClassAccessorProperty` to prevent the `no-undef` rule ([@victorenator](https://redirect.github.com/victorenator)) ##### :house: Internal - `babel-helper-transform-fixture-test-runner` - [#16914](https://redirect.github.com/babel/babel/pull/16914) remove test options flaky ([@JLHwung](https://redirect.github.com/JLHwung)) ##### :running_woman: Performance - `babel-parser`, `babel-types` - [#16918](https://redirect.github.com/babel/babel/pull/16918) perf: Make `VISITOR_KEYS` etc. faster to access ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu)) ### [`v7.25.8`](https://redirect.github.com/babel/babel/blob/HEAD/CHANGELOG.md#v7258-2024-10-10) [Compare Source](https://redirect.github.com/babel/babel/compare/v7.25.7...v7.25.8) ##### :bug: Bug Fix - `babel-core` - [#16888](https://redirect.github.com/babel/babel/pull/16888) Restore public API of `resolvePlugin`/`resolvePreset` ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) ##### :house: Internal - `babel-parser`, `babel-plugin-proposal-async-do-expressions`, `babel-plugin-proposal-destructuring-private`, `babel-plugin-proposal-do-expressions`, `babel-plugin-proposal-explicit-resource-management`, `babel-plugin-proposal-export-default-from`, `babel-plugin-proposal-function-bind`, `babel-plugin-proposal-function-sent`, `babel-plugin-proposal-import-defer`, `babel-plugin-proposal-partial-application`, `babel-plugin-proposal-throw-expressions`, `babel-plugin-transform-async-generator-functions`, `babel-plugin-transform-class-static-block`, `babel-plugin-transform-dynamic-import`, `babel-plugin-transform-export-namespace-from`, `babel-plugin-transform-json-strings`, `babel-plugin-transform-logical-assignment-operators`, `babel-plugin-transform-nullish-coalescing-operator`, `babel-plugin-transform-numeric-separator`, `babel-plugin-transform-object-rest-spread`, `babel-plugin-transform-optional-catch-binding`, `babel-plugin-transform-optional-chaining`, `babel-plugin-transform-private-property-in-object`, `babel-preset-env` - [#16824](https://redirect.github.com/babel/babel/pull/16824) Inline one-line syntax plugins ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) ### [`v7.25.7`](https://redirect.github.com/babel/babel/blob/HEAD/CHANGELOG.md#v7257-2024-10-02) [Compare Source](https://redirect.github.com/babel/babel/compare/v7.25.2...v7.25.7) ##### :bug: Bug Fix - `babel-helper-validator-identifier` - [#16825](https://redirect.github.com/babel/babel/pull/16825) fix: update identifier to unicode 16 ([@JLHwung](https://redirect.github.com/JLHwung)) - `babel-traverse` - [#16814](https://redirect.github.com/babel/babel/pull/16814) fix: issue with node path keys updated on unrelated paths ([@DylanPiercey](https://redirect.github.com/DylanPiercey)) - `babel-plugin-transform-classes` - [#16797](https://redirect.github.com/babel/babel/pull/16797) Use an inclusion rather than exclusion list for `super()` check ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) - `babel-generator` - [#16788](https://redirect.github.com/babel/babel/pull/16788) Fix printing of TS `infer` in compact mode ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) - [#16785](https://redirect.github.com/babel/babel/pull/16785) Print TS type annotations for destructuring in assignment pattern ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) - [#16778](https://redirect.github.com/babel/babel/pull/16778) Respect `[no LineTerminator here]` after nodes ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) ##### :nail_care: Polish - `babel-types` - [#16852](https://redirect.github.com/babel/babel/pull/16852) Add deprecated JSDOC for fields ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu)) ##### :house: Internal - `babel-core` - [#16820](https://redirect.github.com/babel/babel/pull/16820) Allow sync loading of ESM when `--experimental-require-module` ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) - `babel-helper-compilation-targets`, `babel-helper-plugin-utils`, `babel-preset-env` - [#16858](https://redirect.github.com/babel/babel/pull/16858) Add browserslist config to external dependency ([@JLHwung](https://redirect.github.com/JLHwung)) - `babel-plugin-proposal-destructuring-private`, `babel-plugin-syntax-decimal`, `babel-plugin-syntax-import-reflection`, `babel-standalone` - [#16809](https://redirect.github.com/babel/babel/pull/16809) Archive syntax-import-reflection and syntax-decimal ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) - `babel-generator` - [#16779](https://redirect.github.com/babel/babel/pull/16779) Simplify logic for `[no LineTerminator here]` before nodes ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) ##### :running_woman: Performance - `babel-plugin-transform-typescript` - [#16875](https://redirect.github.com/babel/babel/pull/16875) perf: Avoid extra cloning of namespaces ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu)) - `babel-types` - [#16842](https://redirect.github.com/babel/babel/pull/16842) perf: Improve [@babel/types](https://redirect.github.com/babel/types) builders ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu)) - [#16828](https://redirect.github.com/babel/babel/pull/16828) Only access `BABEL_TYPES_8_BREAKING` at startup ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) ### [`v7.25.2`](https://redirect.github.com/babel/babel/blob/HEAD/CHANGELOG.md#v7252-2024-07-30) [Compare Source](https://redirect.github.com/babel/babel/compare/v7.24.9...v7.25.2) ##### :bug: Bug Fix - `babel-core`, `babel-traverse` - [#16695](https://redirect.github.com/babel/babel/pull/16695) Ensure that `requeueComputedKeyAndDecorators` is available ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) ### [`v7.24.9`](https://redirect.github.com/babel/babel/blob/HEAD/CHANGELOG.md#v7249-2024-07-15) [Compare Source](https://redirect.github.com/babel/babel/compare/v7.24.8...v7.24.9) ##### :bug: Bug Fix - `babel-core`, `babel-standalone` - [#16639](https://redirect.github.com/babel/babel/pull/16639) Avoid `require()` call in `@babel/standalone` bundle ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) - `babel-types` - [#16638](https://redirect.github.com/babel/babel/pull/16638) fix: provide legacy typings for TS < 4.1 ([@JLHwung](https://redirect.github.com/JLHwung)) ##### :nail_care: Polish - `babel-generator`, `babel-plugin-transform-optional-chaining` - [#16617](https://redirect.github.com/babel/babel/pull/16617) Avoid extra parens in TS `as`/`satisfies` ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) ##### :house: Internal - `babel-helper-module-transforms` - [#16629](https://redirect.github.com/babel/babel/pull/16629) Lazy top-level initializations for module transforms ([@guybedford](https://redirect.github.com/guybedford)) ### [`v7.24.8`](https://redirect.github.com/babel/babel/blob/HEAD/CHANGELOG.md#v7248-2024-07-11) [Compare Source](https://redirect.github.com/babel/babel/compare/v7.24.7...v7.24.8) ##### :eyeglasses: Spec Compliance - `babel-parser` - [#16567](https://redirect.github.com/babel/babel/pull/16567) Do not use strict mode in TS `declare` ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu)) ##### :bug: Bug Fix - `babel-generator` - [#16630](https://redirect.github.com/babel/babel/pull/16630) Correctly print parens around `in` in `for` heads ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) - [#16626](https://redirect.github.com/babel/babel/pull/16626) Fix printing of comments in `await using` ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) - [#16591](https://redirect.github.com/babel/babel/pull/16591) fix typescript code generation for yield expression inside type expre… ([@SreeXD](https://redirect.github.com/SreeXD)) - `babel-parser` - [#16613](https://redirect.github.com/babel/babel/pull/16613) Disallow destructuring assignment in `using` declarations ([@H0onnn](https://redirect.github.com/H0onnn)) - [#16490](https://redirect.github.com/babel/babel/pull/16490) fix: do not add `.value: undefined` to regexp literals ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu)) - `babel-types` - [#16615](https://redirect.github.com/babel/babel/pull/16615) Remove boolean props from `ObjectTypeInternalSlot` visitor keys ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) - `babel-plugin-transform-typescript` - [#16566](https://redirect.github.com/babel/babel/pull/16566) fix: Correctly handle `export import x =` ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu)) ##### :nail_care: Polish - `babel-generator` - [#16625](https://redirect.github.com/babel/babel/pull/16625) Avoid unnecessary parens around `async` in `for await` ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) - `babel-traverse` - [#16619](https://redirect.github.com/babel/babel/pull/16619) Avoid checking `Scope.globals` multiple times ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu))babel/babel (@babel/preset-env)
### [`v7.26.0`](https://redirect.github.com/babel/babel/blob/HEAD/CHANGELOG.md#v7260-2024-10-25) [Compare Source](https://redirect.github.com/babel/babel/compare/v7.25.9...v7.26.0) ##### :rocket: New Feature - `babel-core`, `babel-generator`, `babel-parser`, `babel-plugin-syntax-import-assertions`, `babel-plugin-syntax-import-attributes`, `babel-preset-env`, `babel-standalone`, `babel-types` - [#16850](https://redirect.github.com/babel/babel/pull/16850) Enable import attributes parsing by default ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) - `babel-core` - [#16862](https://redirect.github.com/babel/babel/pull/16862) feat: support async plugin's pre/post ([@timofei-iatsenko](https://redirect.github.com/timofei-iatsenko)) - `babel-compat-data`, `babel-plugin-proposal-regexp-modifiers`, `babel-plugin-transform-regexp-modifiers`, `babel-preset-env`, `babel-standalone` - [#16692](https://redirect.github.com/babel/babel/pull/16692) Add `transform-regexp-modifiers` to `preset-env` ([@JLHwung](https://redirect.github.com/JLHwung)) - `babel-parser` - [#16849](https://redirect.github.com/babel/babel/pull/16849) feat: add `startIndex` parser option ([@DylanPiercey](https://redirect.github.com/DylanPiercey)) - `babel-generator`, `babel-parser`, `babel-plugin-syntax-flow` - [#16841](https://redirect.github.com/babel/babel/pull/16841) Always enable parsing of Flow enums ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) - `babel-helpers`, `babel-preset-typescript`, `babel-runtime-corejs3` - [#16794](https://redirect.github.com/babel/babel/pull/16794) Support `import()` in `rewriteImportExtensions` ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu)) - `babel-generator`, `babel-parser` - [#16708](https://redirect.github.com/babel/babel/pull/16708) Add experimental format-preserving mode to `@babel/generator` ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) ##### :bug: Bug Fix - `babel-core` - [#16928](https://redirect.github.com/babel/babel/pull/16928) Workaround Node.js bug for parallel loading of TLA modules ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) - [#16926](https://redirect.github.com/babel/babel/pull/16926) Fix loading of modules with TLA in Node.js 23 ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) ##### :nail_care: Polish - `babel-plugin-proposal-json-modules`, `babel-plugin-transform-json-modules`, `babel-standalone` - [#16924](https://redirect.github.com/babel/babel/pull/16924) Rename `proposal-json-modules` to `transform-json-modules` ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) ##### :house: Internal - `babel-code-frame`, `babel-highlight` - [#16896](https://redirect.github.com/babel/babel/pull/16896) Inline `@babel/highlight` in `@babel/code-frame` ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) - `babel-generator`, `babel-parser`, `babel-types` - [#16732](https://redirect.github.com/babel/babel/pull/16732) Add `kind` to `TSModuleDeclaration` ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu)) ##### :running_woman: Performance - `babel-helper-module-transforms`, `babel-plugin-transform-modules-commonjs` - [#16882](https://redirect.github.com/babel/babel/pull/16882) perf: Improve module transforms ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu)) ### [`v7.25.9`](https://redirect.github.com/babel/babel/blob/HEAD/CHANGELOG.md#v7259-2024-10-22) [Compare Source](https://redirect.github.com/babel/babel/compare/v7.25.8...v7.25.9) ##### :bug: Bug Fix - `babel-parser`, `babel-template`, `babel-types` - [#16905](https://redirect.github.com/babel/babel/pull/16905) fix: Keep type annotations in `syntacticPlaceholders` mode ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu)) - `babel-helper-compilation-targets`, `babel-preset-env` - [#16907](https://redirect.github.com/babel/babel/pull/16907) fix: support BROWSERSLIST{,\_CONFIG} env ([@JLHwung](https://redirect.github.com/JLHwung)) - Other - [#16884](https://redirect.github.com/babel/babel/pull/16884) Analyze `ClassAccessorProperty` to prevent the `no-undef` rule ([@victorenator](https://redirect.github.com/victorenator)) ##### :house: Internal - `babel-helper-transform-fixture-test-runner` - [#16914](https://redirect.github.com/babel/babel/pull/16914) remove test options flaky ([@JLHwung](https://redirect.github.com/JLHwung)) ##### :running_woman: Performance - `babel-parser`, `babel-types` - [#16918](https://redirect.github.com/babel/babel/pull/16918) perf: Make `VISITOR_KEYS` etc. faster to access ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu)) ### [`v7.25.8`](https://redirect.github.com/babel/babel/blob/HEAD/CHANGELOG.md#v7258-2024-10-10) [Compare Source](https://redirect.github.com/babel/babel/compare/v7.25.7...v7.25.8) ##### :bug: Bug Fix - `babel-core` - [#16888](https://redirect.github.com/babel/babel/pull/16888) Restore public API of `resolvePlugin`/`resolvePreset` ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) ##### :house: Internal - `babel-parser`, `babel-plugin-proposal-async-do-expressions`, `babel-plugin-proposal-destructuring-private`, `babel-plugin-proposal-do-expressions`, `babel-plugin-proposal-explicit-resource-management`, `babel-plugin-proposal-export-default-from`, `babel-plugin-proposal-function-bind`, `babel-plugin-proposal-function-sent`, `babel-plugin-proposal-import-defer`, `babel-plugin-proposal-partial-application`, `babel-plugin-proposal-throw-expressions`, `babel-plugin-transform-async-generator-functions`, `babel-plugin-transform-class-static-block`, `babel-plugin-transform-dynamic-import`, `babel-plugin-transform-export-namespace-from`, `babel-plugin-transform-json-strings`, `babel-plugin-transform-logical-assignment-operators`, `babel-plugin-transform-nullish-coalescing-operator`, `babel-plugin-transform-numeric-separator`, `babel-plugin-transform-object-rest-spread`, `babel-plugin-transform-optional-catch-binding`, `babel-plugin-transform-optional-chaining`, `babel-plugin-transform-private-property-in-object`, `babel-preset-env` - [#16824](https://redirect.github.com/babel/babel/pull/16824) Inline one-line syntax plugins ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) ### [`v7.25.7`](https://redirect.github.com/babel/babel/blob/HEAD/CHANGELOG.md#v7257-2024-10-02) [Compare Source](https://redirect.github.com/babel/babel/compare/v7.25.4...v7.25.7) ##### :bug: Bug Fix - `babel-helper-validator-identifier` - [#16825](https://redirect.github.com/babel/babel/pull/16825) fix: update identifier to unicode 16 ([@JLHwung](https://redirect.github.com/JLHwung)) - `babel-traverse` - [#16814](https://redirect.github.com/babel/babel/pull/16814) fix: issue with node path keys updated on unrelated paths ([@DylanPiercey](https://redirect.github.com/DylanPiercey)) - `babel-plugin-transform-classes` - [#16797](https://redirect.github.com/babel/babel/pull/16797) Use an inclusion rather than exclusion list for `super()` check ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) - `babel-generator` - [#16788](https://redirect.github.com/babel/babel/pull/16788) Fix printing of TS `infer` in compact mode ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) - [#16785](https://redirect.github.com/babel/babel/pull/16785) Print TS type annotations for destructuring in assignment pattern ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) - [#16778](https://redirect.github.com/babel/babel/pull/16778) Respect `[no LineTerminator here]` after nodes ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) ##### :nail_care: Polish - `babel-types` - [#16852](https://redirect.github.com/babel/babel/pull/16852) Add deprecated JSDOC for fields ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu)) ##### :house: Internal - `babel-core` - [#16820](https://redirect.github.com/babel/babel/pull/16820) Allow sync loading of ESM when `--experimental-require-module` ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) - `babel-helper-compilation-targets`, `babel-helper-plugin-utils`, `babel-preset-env` - [#16858](https://redirect.github.com/babel/babel/pull/16858) Add browserslist config to external dependency ([@JLHwung](https://redirect.github.com/JLHwung)) - `babel-plugin-proposal-destructuring-private`, `babel-plugin-syntax-decimal`, `babel-plugin-syntax-import-reflection`, `babel-standalone` - [#16809](https://redirect.github.com/babel/babel/pull/16809) Archive syntax-import-reflection and syntax-decimal ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) - `babel-generator` - [#16779](https://redirect.github.com/babel/babel/pull/16779) Simplify logic for `[no LineTerminator here]` before nodes ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) ##### :running_woman: Performance - `babel-plugin-transform-typescript` - [#16875](https://redirect.github.com/babel/babel/pull/16875) perf: Avoid extra cloning of namespaces ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu)) - `babel-types` - [#16842](https://redirect.github.com/babel/babel/pull/16842) perf: Improve [@babel/types](https://redirect.github.com/babel/types) builders ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu)) - [#16828](https://redirect.github.com/babel/babel/pull/16828) Only access `BABEL_TYPES_8_BREAKING` at startup ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) ### [`v7.25.4`](https://redirect.github.com/babel/babel/blob/HEAD/CHANGELOG.md#v7254-2024-08-22) [Compare Source](https://redirect.github.com/babel/babel/compare/v7.25.3...v7.25.4) ##### :bug: Bug Fix - `babel-traverse` - [#16756](https://redirect.github.com/babel/babel/pull/16756) fix: Skip computed key when renaming ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu)) - `babel-helper-create-class-features-plugin`, `babel-plugin-proposal-decorators` - [#16755](https://redirect.github.com/babel/babel/pull/16755) fix: Decorator 2018-09 may throw an exception ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu)) - `babel-types` - [#16710](https://redirect.github.com/babel/babel/pull/16710) Visit AST fields nodes according to their syntactical order ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) - `babel-generator` - [#16709](https://redirect.github.com/babel/babel/pull/16709) Print semicolon after TS `export namespace as A` ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) ##### :nail_care: Polish - `babel-generator`, `babel-plugin-proposal-decorators`, `babel-plugin-proposal-destructuring-private`, `babel-plugin-proposal-pipeline-operator`, `babel-plugin-transform-class-properties`, `babel-plugin-transform-destructuring`, `babel-plugin-transform-optional-chaining`, `babel-plugin-transform-private-methods`, `babel-plugin-transform-private-property-in-object`, `babel-plugin-transform-typescript`, `babel-runtime-corejs2`, `babel-runtime`, `babel-traverse` - [#16722](https://redirect.github.com/babel/babel/pull/16722) Avoid unnecessary parens around sequence expressions ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) - `babel-generator`, `babel-plugin-transform-class-properties` - [#16714](https://redirect.github.com/babel/babel/pull/16714) Avoid unnecessary parens around exported arrow functions ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) - `babel-generator`, `babel-plugin-proposal-decorators`, `babel-plugin-proposal-destructuring-private`, `babel-plugin-transform-object-rest-spread` - [#16712](https://redirect.github.com/babel/babel/pull/16712) Avoid printing unnecessary parens around object destructuring ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) ##### :microscope: Output optimization - `babel-generator` - [#16740](https://redirect.github.com/babel/babel/pull/16740) Avoid extra spaces between comments/regexps in compact mode ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) ### [`v7.25.3`](https://redirect.github.com/babel/babel/blob/HEAD/CHANGELOG.md#v7253-2024-07-31) [Compare Source](https://redirect.github.com/babel/babel/compare/v7.25.2...v7.25.3) ##### :bug: Bug Fix - `babel-plugin-bugfix-firefox-class-in-computed-class-key`, `babel-traverse` - [#16699](https://redirect.github.com/babel/babel/pull/16699) Avoid validating visitors produced by `traverse.visitors.merge` ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) ##### :house: Internal - `babel-parser` - [#16688](https://redirect.github.com/babel/babel/pull/16688) Add `@babel/types` as a dependency of `@babel/parser` ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) ### [`v7.25.2`](https://redirect.github.com/babel/babel/blob/HEAD/CHANGELOG.md#v7252-2024-07-30) [Compare Source](https://redirect.github.com/babel/babel/compare/v7.25.0...v7.25.2) ##### :bug: Bug Fix - `babel-core`, `babel-traverse` - [#16695](https://redirect.github.com/babel/babel/pull/16695) Ensure that `requeueComputedKeyAndDecorators` is available ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) ### [`v7.25.0`](https://redirect.github.com/babel/babel/blob/HEAD/CHANGELOG.md#v7250-2024-07-26) [Compare Source](https://redirect.github.com/babel/babel/compare/v7.24.8...v7.25.0) ##### :eyeglasses: Spec Compliance - `babel-helpers`, `babel-plugin-proposal-explicit-resource-management`, `babel-runtime-corejs3` - [#16537](https://redirect.github.com/babel/babel/pull/16537) `await using` normative updates ([@JLHwung](https://redirect.github.com/JLHwung)) - `babel-plugin-transform-typescript` - [#16602](https://redirect.github.com/babel/babel/pull/16602) Ensure enum members syntactically determinable to be strings do not get reverse mappings ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu)) ##### :rocket: New Feature - `babel-helper-create-class-features-plugin`, `babel-helper-function-name`, `babel-helper-plugin-utils`, `babel-helper-wrap-function`, `babel-plugin-bugfix-safari-class-field-initializer-scope`, `babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression`, `babel-plugin-transform-classes`, `babel-plugin-transform-function-name`, `babel-preset-env`, `babel-traverse`, `babel-types` - [#16658](https://redirect.github.com/babel/babel/pull/16658) Move `ensureFunctionName` to `NodePath.prototype` ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) - `babel-helper-hoist-variables`, `babel-helper-plugin-utils`, `babel-plugin-proposal-async-do-expressions`, `babel-plugin-transform-modules-systemjs`, `babel-traverse` - [#16644](https://redirect.github.com/babel/babel/pull/16644) Move `hoistVariables` to `Scope.prototype` ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) - `babel-helper-create-class-features-plugin`, `babel-helper-module-transforms`, `babel-helper-plugin-utils`, `babel-helper-split-export-declaration`, `babel-plugin-transform-classes`, `babel-traverse`, `babel-types` - [#16645](https://redirect.github.com/babel/babel/pull/16645) Move `splitExportDeclaration` to `NodePath.prototype` ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) - `babel-helper-create-class-features-plugin`, `babel-helper-environment-visitor`, `babel-helper-module-transforms`, `babel-helper-plugin-utils`, `babel-helper-remap-async-to-generator`, `babel-helper-replace-supers`, `babel-plugin-bugfix-firefox-class-in-computed-class-key`, `babel-plugin-bugfix-v8-static-class-fields-redefine-readonly`, `babel-plugin-transform-async-generator-functions`, `babel-plugin-transform-classes`, `babel-traverse` - [#16649](https://redirect.github.com/babel/babel/pull/16649) Move `environment-visitor` helper into `@babel/traverse` ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) - `babel-core`, `babel-parser` - [#16480](https://redirect.github.com/babel/babel/pull/16480) Expose wether a module has TLA or not as `.extra.async` ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) - `babel-compat-data`, `babel-plugin-bugfix-safari-class-field-initializer-scope`, `babel-preset-env` - [#16569](https://redirect.github.com/babel/babel/pull/16569) Introduce `bugfix-safari-class-field-initializer-scope` ([@davidtaylorhq](https://redirect.github.com/davidtaylorhq)) - `babel-plugin-transform-block-scoping`, `babel-traverse`, `babel-types` - [#16551](https://redirect.github.com/babel/babel/pull/16551) Add `NodePath#getAssignmentIdentifiers` ([@JLHwung](https://redirect.github.com/JLHwung)) - `babel-helper-import-to-platform-api`, `babel-plugin-proposal-json-modules` - [#16579](https://redirect.github.com/babel/babel/pull/16579) Add `uncheckedRequire` option for JSON imports to CJS ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) - `babel-helper-transform-fixture-test-runner`, `babel-node` - [#16642](https://redirect.github.com/babel/babel/pull/16642) Allow using custom config in `babel-node --eval` ([@slatereax](https://redirect.github.com/slatereax)) - `babel-compat-data`, `babel-helper-create-regexp-features-plugin`, `babel-plugin-proposal-duplicate-named-capturing-groups-regex`, `babel-plugin-transform-duplicate-named-capturing-groups-regex`, `babel-preset-env`, `babel-standalone` - [#16445](https://redirect.github.com/babel/babel/pull/16445) Add `duplicate-named-capturing-groups-regex` to `preset-env` ([@JLHwung](https://redirect.github.com/JLHwung)) ##### :bug: Bug Fix - `babel-generator` - [#16678](https://redirect.github.com/babel/babel/pull/16678) Print parens around as expressions on the LHS ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) - `babel-template`, `babel-types` - [#15286](https://redirect.github.com/babel/babel/pull/15286) fix: Props are lost when the template replaces the node ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu)) ##### :house: Internal - Other - [#16674](https://redirect.github.com/babel/babel/pull/16674) bump gulp to 5 ([@JLHwung](https://redirect.github.com/JLHwung)) - `babel-generator` - [#16651](https://redirect.github.com/babel/babel/pull/16651) Simplify the printing logic for `(` before ambiguous tokens ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) - `babel-helper-function-name`, `babel-plugin-transform-arrow-functions`, `babel-plugin-transform-function-name`, `babel-preset-env`, `babel-traverse` - [#16652](https://redirect.github.com/babel/babel/pull/16652) Simplify `helper-function-name` logic ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) ##### :running_woman: Performance - `babel-parser`, `babel-plugin-proposal-pipeline-operator` - [#16461](https://redirect.github.com/babel/babel/pull/16461) Some minor parser performance improvements for ts ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu)) ##### :microscope: Output optimization - `babel-plugin-transform-classes` - [#16670](https://redirect.github.com/babel/babel/pull/16670) Reduce redundant `assertThisInitialized` ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu)) - `babel-helper-create-class-features-plugin`, `babel-helper-replace-supers`, `babel-helpers`, `babel-plugin-proposal-decorators`, `babel-plugin-transform-class-properties`, `babel-plugin-transform-classes`, `babel-plugin-transform-exponentiation-operator`, `babel-plugin-transform-object-super`, `babel-plugin-transform-private-methods`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime` - [#16374](https://redirect.github.com/babel/babel/pull/16374) Improve `super.x` output ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu)) - `babel-plugin-transform-class-properties`, `babel-plugin-transform-classes` - [#16656](https://redirect.github.com/babel/babel/pull/16656) Simplify output for anonymous classes with no methods ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) ### [`v7.24.8`](https://redirect.github.com/babel/babel/blob/HEAD/CHANGELOG.md#v7248-2024-07-11) [Compare Source](https://redirect.github.com/babel/babel/compare/v7.24.7...v7.24.8) ##### :eyeglasses: Spec Compliance - `babel-parser` - [#16567](https://redirect.github.com/babel/babel/pull/16567) Do not use strict mode in TS `declare` ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu)) ##### :bug: Bug Fix - `babel-generator` - [#16630](https://redirect.github.com/babel/babel/pull/16630) Correctly print parens around `in` in `for` heads ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) - [#16626](https://redirect.github.com/babel/babel/pull/16626) Fix printing of comments in `await using` ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) - [#16591](https://redirect.github.com/babel/babel/pull/16591) fix typescript code generation for yield expression inside type expre… ([@SreeXD](https://redirect.github.com/SreeXD)) - `babel-parser` - [#16613](https://redirect.github.com/babel/babel/pull/16613) Disallow destructuring assignment in `using` declarations ([@H0onnn](https://redirect.github.com/H0onnn)) - [#16490](https://redirect.github.com/babel/babel/pull/16490) fix: do not add `.value: undefined` to regexp literals ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu)) - `babel-types` - [#16615](https://redirect.github.com/babel/babel/pull/16615) Remove boolean props from `ObjectTypeInternalSlot` visitor keys ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) - `babel-plugin-transform-typescript` - [#16566](https://redirect.github.com/babel/babel/pull/16566) fix: Correctly handle `export import x =` ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu)) ##### :nail_care: Polish - `babel-generator` - [#16625](https://redirect.github.com/babel/babel/pull/16625) Avoid unnecessary parens around `async` in `for await` ([@nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) - `babel-traverse` - [#16619](https://redirect.github.com/babel/babel/pull/16619) Avoid checking `Scope.globals` multiple times ([@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu))postcss/autoprefixer (autoprefixer)
### [`v10.4.20`](https://redirect.github.com/postcss/autoprefixer/blob/HEAD/CHANGELOG.md#10420) [Compare Source](https://redirect.github.com/postcss/autoprefixer/compare/10.4.19...10.4.20) - Fixed `fit-content` prefix for Firefox.babel/babel-loader (babel-loader)
### [`v9.2.1`](https://redirect.github.com/babel/babel-loader/compare/v9.2.0...1a9240b228d7735101d469bdb99b1a1e9991760f) [Compare Source](https://redirect.github.com/babel/babel-loader/compare/v9.2.0...v9.2.1) ### [`v9.2.0`](https://redirect.github.com/babel/babel-loader/compare/v9.1.3...d280ee32ef3587ec1494ac804b17a8219013f810) [Compare Source](https://redirect.github.com/babel/babel-loader/compare/v9.1.3...v9.2.0)BrowserSync/browser-sync (browser-sync)
### [`v3.0.3`](https://redirect.github.com/BrowserSync/browser-sync/releases/tag/v3.0.3) [Compare Source](https://redirect.github.com/BrowserSync/browser-sync/compare/v3.0.2...v3.0.3) #### What's Changed - remove xip by [@shakyShane](https://redirect.github.com/shakyShane) in [https://github.com/BrowserSync/browser-sync/pull/2065](https://redirect.github.com/BrowserSync/browser-sync/pull/2065) - deps: send + micromatch by [@shakyShane](https://redirect.github.com/shakyShane) in [https://github.com/BrowserSync/browser-sync/pull/2088](https://redirect.github.com/BrowserSync/browser-sync/pull/2088) **Full Changelog**: https://github.com/BrowserSync/browser-sync/compare/v3.0.2...v3.0.3postcss/postcss (postcss)
### [`v8.4.49`](https://redirect.github.com/postcss/postcss/blob/HEAD/CHANGELOG.md#8449) [Compare Source](https://redirect.github.com/postcss/postcss/compare/8.4.48...8.4.49) - Fixed custom syntax without `source.offset` (by [@romainmenke](https://redirect.github.com/romainmenke)). ### [`v8.4.48`](https://redirect.github.com/postcss/postcss/blob/HEAD/CHANGELOG.md#8448) [Compare Source](https://redirect.github.com/postcss/postcss/compare/8.4.47...8.4.48) - Fixed position calculation in error/warnings methods (by [@romainmenke](https://redirect.github.com/romainmenke)). ### [`v8.4.47`](https://redirect.github.com/postcss/postcss/blob/HEAD/CHANGELOG.md#8447) [Compare Source](https://redirect.github.com/postcss/postcss/compare/8.4.46...8.4.47) - Removed debug code. ### [`v8.4.46`](https://redirect.github.com/postcss/postcss/blob/HEAD/CHANGELOG.md#8446) [Compare Source](https://redirect.github.com/postcss/postcss/compare/8.4.45...8.4.46) - Fixed `Cannot read properties of undefined (reading 'before')`. ### [`v8.4.45`](https://redirect.github.com/postcss/postcss/blob/HEAD/CHANGELOG.md#8445) [Compare Source](https://redirect.github.com/postcss/postcss/compare/8.4.44...8.4.45) - Removed unnecessary fix which could lead to infinite loop. ### [`v8.4.44`](https://redirect.github.com/postcss/postcss/blob/HEAD/CHANGELOG.md#8444) [Compare Source](https://redirect.github.com/postcss/postcss/compare/8.4.43...8.4.44) - Another way to fix `markClean is not a function` error. ### [`v8.4.43`](https://redirect.github.com/postcss/postcss/blob/HEAD/CHANGELOG.md#8443) [Compare Source](https://redirect.github.com/postcss/postcss/compare/8.4.42...8.4.43) - Fixed `markClean is not a function` error. ### [`v8.4.42`](https://redirect.github.com/postcss/postcss/blob/HEAD/CHANGELOG.md#8442) [Compare Source](https://redirect.github.com/postcss/postcss/compare/8.4.41...8.4.42) - Fixed CSS syntax error on long minified files (by [@varpstar](https://redirect.github.com/varpstar)). ### [`v8.4.41`](https://redirect.github.com/postcss/postcss/blob/HEAD/CHANGELOG.md#8441) [Compare Source](https://redirect.github.com/postcss/postcss/compare/8.4.40...8.4.41) - Fixed types (by [@nex3](https://redirect.github.com/nex3) and [@querkmachine](https://redirect.github.com/querkmachine)). - Cleaned up RegExps (by [@bluwy](https://redirect.github.com/bluwy)). ### [`v8.4.40`](https://redirect.github.com/postcss/postcss/blob/HEAD/CHANGELOG.md#8440) [Compare Source](https://redirect.github.com/postcss/postcss/compare/8.4.39...8.4.40) - Moved to getter/setter in nodes types to help Sass team (by [@nex3](https://redirect.github.com/nex3)). ### [`v8.4.39`](https://redirect.github.com/postcss/postcss/blob/HEAD/CHANGELOG.md#8439) [Compare Source](https://redirect.github.com/postcss/postcss/compare/8.4.38...8.4.39) - Fixed `CssSyntaxError` types (by [@romainmenke](https://redirect.github.com/romainmenke)).sass/dart-sass (sass)
### [`v1.80.6`](https://redirect.github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1806) [Compare Source](https://redirect.github.com/sass/dart-sass/compare/1.80.5...1.80.6) ##### Command-Line Interface - Make `@parcel/watcher` an optional dependency so this can still be installed on operating systems where it's unavailable. ### [`v1.80.5`](https://redirect.github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1805) [Compare Source](https://redirect.github.com/sass/dart-sass/compare/1.80.4...1.80.5) ##### Embedded Host - Don't produce phantom `@import` deprecations when using an importer with the legacy API. ### [`v1.80.4`](https://redirect.github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1804) [Compare Source](https://redirect.github.com/sass/dart-sass/compare/1.80.3...1.80.4) - No user-visible changes. ### [`v1.80.3`](https://redirect.github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1803) [Compare Source](https://redirect.github.com/sass/dart-sass/compare/1.80.2...1.80.3) - Fix a bug where `@import url("...")` would crash in plain CSS files. - Improve consistency of how warnings are emitted by different parts of the compiler. This should result in minimal user-visible changes, but different types of warnings should now respond more reliably to flags like `--quiet`, `--verbose`, and `--silence-deprecation`. ### [`v1.80.2`](https://redirect.github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1802) [Compare Source](https://redirect.github.com/sass/dart-sass/compare/1.80.1...1.80.2) - Fix a bug where deprecation warnings were incorrectly emitted for the plain-CSS `invert()` function. ### [`v1.80.1`](https://redirect.github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1801) [Compare Source](https://redirect.github.com/sass/dart-sass/compare/1.80.0...1.80.1) - Fix a bug where repeated deprecation warnings were not automatically limited. ### [`v1.80.0`](https://redirect.github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1800) [Compare Source](https://redirect.github.com/sass/dart-sass/compare/1.79.6...1.80.0) - `@import` is now officially deprecated, as are global built-in functions that are available within built-in modules. See [the Sass blog post] for more details on the deprecation process. [the Sass blog post]: https://sass-lang.com/blog/import-is-deprecated/ ##### Embedded Host - Fix an error that would sometimes occur when deprecation warnings were emitted when using a custom importer with the legacy API. ### [`v1.79.6`](https://redirect.github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1796) [Compare Source](https://redirect.github.com/sass/dart-sass/compare/1.79.5...1.79.6) - Fix a bug where Sass would add an extra `*/` after loud comments with whitespace after an explicit `*/` in the indented syntax. - **Potentially breaking bug fix:** Adding text after an explicit `*/` in the indented syntax is now an error, rather than silently generating invalid CSS. ##### Embedded Host - Properly export the `SassBoolean` type. ### [`v1.79.5`](https://redirect.github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1795) [Compare Source](https://redirect.github.com/sass/dart-sass/compare/1.79.4...1.79.5) - Changes to how `selector.unify()` and `@extend` combine selectors: - The relative order of pseudo-classes (like `:hover`) and pseudo-elements (like `::before`) within each original selector is now preserved when they're combined. - Pseudo selectors are now consistently placed at the end of the combined selector, regardless of which selector they came from. Previously, this reordering only applied to pseudo-selectors in the second selector. - Tweak the color transformation matrices for OKLab and OKLCH to match the newer, more accurate values in the CSS spec. - Fix a slight inaccuracy case when converting to `srgb-linear` and `display-p3`. - **Potentially breaking bug fix:** `math.unit()` now wraps multiple denominator units in parentheses. For example, `px/(em*em)` instead of `px/em*em`. ##### Command-Line Interface - Use `@parcel/watcher` to watch the filesystem when running from JavaScript and not using `--poll`. This should mitigate more frequent failures users have been seeing since version 4.0.0 of Chokidar, our previous watching tool, was released. ##### JS API - Fix `SassColor.interpolate()` to allow an undefined `options` parameter, as the types indicate. ##### Embedded Sass - Properly pass missing color channel values to and from custom functions. ### [`v1.79.4`](https://redirect.github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1794) [Compare Source](https://redirect.github.com/sass/dart-sass/compare/1.79.3...1.79.4) ##### JS API - Fix a bug where passing `green` or `blue` to `color.change()` for legacy colors would fail. ### [`v1.79.3`](https://redirect.github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1793) [Compare Source](https://redirect.github.com/sass/dart-sass/compare/1.79.2...1.79.3) - Update the `$channel` parameter in the suggested replacement for `color.red()`, `color.green()`, `color.blue()`, `color.hue()`, `color.saturation()`, `color.lightness()`, `color.whiteness()`, and `color.blackness()` to use a quoted string. ### [`v1.79.2`](https://redirect.github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1792) [Compare Source](https://redirect.github.com/sass/dart-sass/compare/1.79.1...1.79.2) - Add a `$space` parameter to the suggested replacement for `color.red()`, `color.green()`, `color.blue()`, `color.hue()`, `color.saturation()`, `color.lightness()`, `color.whiteness()`, and `color.blackness()`. - Update deprecation warnings for the legacy JS API to include a link to [relevant documentation]. [relevant documentation]: https://sass-lang.com/d/legacy-js-api ### [`v1.79.1`](https://redirect.github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1791) [Compare Source](https://redirect.github.com/sass/dart-sass/compare/1.79.0...1.79.1) - No user-visible changes. ### [`v1.79.0`](https://redirect.github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1790) [Compare Source](https://redirect.github.com/sass/dart-sass/compare/1.78.0...1.79.0) - **Breaking change**: Passing a number with unit `%` to the `$alpha` parameter of `color.change()`, `color.adjust()`, `change-color()`, and `adjust-color()` is now interpreted as a percentage, instead of ignoring the unit. For example, `color.change(red, $alpha: 50%)` now returns `rgb(255 0 0 / 0.5)`. - **Potentially breaking compatibility fix**: Sass no longer rounds RGB channels to the nearest integer. This means that, for example, `rgb(0 0 1) != rgb(0 0 0.6)`. This matches the latest version of the CSS spec and browser behavior. - **Potentially breaking compatibility fix**: Passing large positive or negative values to `color.adjust()` can now cause a color's channels to go outside that color's gamut. In most cases this will currently be clipped by the browser and end up showing the same color as before, but once browsers implement gamut mapping it may produce a different result. - Add support for CSS Color Level 4 [color spaces]. Each color value now tracks its color space along with the values of each channel in that color space. There are two general principles to keep in mind when dealing with new color spaces: 1. With the exception of legacy color spaces (`rgb`, `hsl`, and `hwb`), colors will always be emitted in the color space they were defined in unless they're explicitly converted. 2. The `color.to-space()` function is the only way to convert a color to another color space. Some built-in functions may do operations in a different color space, but they'll always convert back to the original space afterwards. - `rgb` colors can now have non-integer channels and channels outside the normal gamut of 0-255. These colors are always emitted using the `rgb()` syntax so that modern browsers that are being displayed on wide-gamut devices can display the most accurate color possible. - Add support for all the new color syntax defined in Color Level 4, including: - `oklab()`, `oklch()`, `lab()`, and `lch()` functions; - a top-level `hwb()` function that matches the space-separated CSS syntax; - and a `color()` function that supports the `srgb`, `srgb-linear`, `display-p3`, `a98-rgb`, `prophoto-rgb`, `rec2020`, `xyz`, `xyz-d50`, and `xyz-d65` color spaces. - Add new functions for working with color spaces: - `color.to-space($color, $space)` converts `$color` to the given `$space`. In most cases this conversion is lossless—the color may end up out-of-gamut for the destination color space, but browsers will generally display it as best they can regardless. However, the `hsl` and `hwb` spaces can't represent out-of-gamut colors and so will be clamped. - `color.channel($color, $channel, $space: null)` returns the value of the given `$channel` in `$color`, after converting it to `$space` if necessary. It should be used instead of the old channel-specific functions such as `color.red()` and `color.hue()`. - `color.same($color1, $color2)` returns whether two colors represent the same color even across color spaces. It differs from `$color1 == $color2` because `==` never consider colors in different (non-legacy) spaces as equal. - `color.is-in-gamut($color, $space: null)` returns whether `$color` is in-gamut for its color space (or `$space` if it's passed). - `color.to-gamut($color, $space: null)` returns `$color` constrained to its space's gamut (or to `$space`'s gamut, if passed). This is generally not recommended since even older browsers will display out-of-gamut colors as best they can, but it may be necessary in some cases. - `color.space($color)`: Returns the name of `$color`'s color space. - `color.is-legacy($color)`: Returns whether `$color` is in a legacy color space (`rgb`, `hsl`, or `hwb`). - `color.is-powerless($color, $channel, $space: null)`: Returns whether the given `$channel` of `$color` is powerless in `$space` (or its own color space). A channel is "powerless" if its value doesn't affect the way the color is displayed, such as hue for a color with 0 chroma. - `color.is-missing($color, $channel)`: Returns whether `$channel`'s value is missing in `$color`. Missing channels can be explicitly specified using the special value `none` and can appear automatically when `color.to-space()` returns a color with a powerless channel. Missing channels are usually treated as 0, except when interpolating between two colors and in `color.mix()` where they're treated as the same value as the other color. - Update existing functions to support color spaces: - `hsl()` and `color.hwb()` no longer forbid out-of-bounds values. Instead, they follow the CSS spec by clamping them to within the allowed range. - `color.change()`, `color.adjust()`, and `color.scale()` now support all channels of all color spaces. However, if you want to modify a channel that's not in `$color`'s own color space, you have to explicitly specify the space with the `$space` parameter. (For backwards-compatibility, this doesn't apply to legacy channels of legacy colors—for example, you can still adjust an `rgb` color's saturation without passing `$space: hsl`). - `color.mix()` and `color.invert()` now support the standard CSS algorithm for interpolating between two colors (the same one that's used for gradients and animations). To use this, pass the color space to use for interpolation to the `$method` parameter. For polar color spaces like `hsl` and `oklch`, this parameter also allows you to specify how hue interpolation is handled. - `color.complement()` now supports a `$space` parameter that indicates which color space should be used to take the complement. - `color.grayscale()` now operates in the `oklch` space for non-legacy colors. - `color.ie-hex-str()` now automatically converts its color to the `rgb` space and gamut-maps it so that it can continue to take colors from any color space. [color spaces]: https://developer.mozilla.org/en-US/docs/Web/CSS/color_value - The following functions are now deprecated, and uses should be replaced with the new color-space-aware functions defined above: - The `color.red()`, `color.green()`, `color.blue()`, `color.hue()`, `color.saturation()`, `color.lightness()`, `color.whiteness()`, and `color.blackness()` functions, as well as their global counterparts, should be replaced with calls to `color.channel()`. - The global `adjust-hue()`, `saturate()`, `desaturate()`, `lighten()`, `darken()`, `transaprentize()`, `fade-out()`, `opacify()`, anConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.