Closed renovate[bot] closed 11 months ago
Updated and removed dependencies detected. Learn more about Socket for GitHub ↗︎
Packages | Version | New capabilities | Transitives | Size | Publisher |
---|---|---|---|---|---|
esbuild | 0.19.2...0.19.4 | None | +22/-22 |
209 MB | evanw |
@sanity/semantic-release-preset | 4.1.3...4.1.4 | None | +7/-7 |
435 kB | sanity-io |
@babel/preset-env | 7.22.10...7.22.20 | None | +23/-41 |
7.66 MB | nicolo-ribaudo |
@babel/cli | 7.22.10...7.23.0 | None | +12/-17 |
7.18 MB | nicolo-ribaudo |
prettier-plugin-packagejson | 2.4.5...2.4.6 | None | +2/-3 |
36.8 kB | matzkoh |
@babel/core | 7.22.10...7.23.0 | None | +11/-16 |
7.07 MB | nicolo-ribaudo |
eslint | 8.47.0...8.50.0 | None | +2/-3 |
3.03 MB | eslintbot |
eslint-plugin-jest | 27.2.3...27.4.0 | None | +28/-33 |
10.9 MB | simenb |
🚮 Removed packages: @babel/eslint-parser@7.22.10, @babel/register@7.22.5, jest@29.6.3, prettier@3.0.2, url@0.11.1
This PR contains the following updates:
^7.22.10
->^7.23.0
^7.22.10
->^7.23.0
^7.22.10
->^7.22.15
^7.22.10
->^7.22.20
^7.22.5
->^7.22.15
^4.1.3
->^4.1.4
^0.19.2
->^0.19.4
^8.47.0
->^8.50.0
^27.2.3
->^27.4.0
^29.6.3
->^29.7.0
^29.6.3
->^29.7.0
^29.6.3
->^29.7.0
^3.0.2
->^3.0.3
^2.4.5
->^2.4.6
^0.11.1
->^0.11.3
Release Notes
babel/babel (@babel/cli)
### [`v7.23.0`](https://togithub.com/babel/babel/compare/v7.22.15...v7.23.0) [Compare Source](https://togithub.com/babel/babel/compare/v7.22.15...v7.23.0) ### [`v7.22.15`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v72215-2023-09-04) [Compare Source](https://togithub.com/babel/babel/compare/v7.22.10...v7.22.15) ##### :bug: Bug Fix - `babel-core` - [#15923](https://togithub.com/babel/babel/pull/15923) Only perform config loading re-entrancy check for cjs ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :house: Internal - `babel-cli`, `babel-core`, `babel-generator`, `babel-helper-builder-binary-assignment-operator-visitor`, `babel-helper-compilation-targets`, `babel-helper-create-class-features-plugin`, `babel-helper-create-regexp-features-plugin`, `babel-helper-member-expression-to-functions`, `babel-helper-module-imports`, `babel-helper-module-transforms`, `babel-helper-transform-fixture-test-runner`, `babel-helper-validator-identifier`, `babel-helper-validator-option`, `babel-helpers`, `babel-node`, `babel-parser`, `babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression`, `babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining`, `babel-plugin-proposal-decorators`, `babel-plugin-proposal-destructuring-private`, `babel-plugin-proposal-pipeline-operator`, `babel-plugin-transform-async-generator-functions`, `babel-plugin-transform-block-scoping`, `babel-plugin-transform-classes`, `babel-plugin-transform-destructuring`, `babel-plugin-transform-for-of`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-object-rest-spread`, `babel-plugin-transform-optional-chaining`, `babel-plugin-transform-parameters`, `babel-plugin-transform-property-mutators`, `babel-plugin-transform-react-jsx`, `babel-plugin-transform-runtime`, `babel-plugin-transform-typescript`, `babel-preset-env`, `babel-preset-flow`, `babel-preset-react`, `babel-preset-typescript`, `babel-register`, `babel-standalone`, `babel-template`, `babel-traverse`, `babel-types` - [#15892](https://togithub.com/babel/babel/pull/15892) Add explicit `.ts`/`.js` extension to all imports in `src` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))babel/babel (@babel/core)
### [`v7.23.0`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7230-2023-09-25) [Compare Source](https://togithub.com/babel/babel/compare/v7.22.20...v7.23.0) ##### :rocket: New Feature - `babel-plugin-proposal-import-wasm-source`, `babel-plugin-syntax-import-source`, `babel-plugin-transform-dynamic-import` - [#15870](https://togithub.com/babel/babel/pull/15870) Support transforming `import source` for wasm ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-module-transforms`, `babel-helpers`, `babel-plugin-proposal-import-defer`, `babel-plugin-syntax-import-defer`, `babel-plugin-transform-modules-commonjs`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime`, `babel-standalone` - [#15878](https://togithub.com/babel/babel/pull/15878) Implement `import defer` proposal transform support ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-generator`, `babel-parser`, `babel-types` - [#15845](https://togithub.com/babel/babel/pull/15845) Implement `import defer` parsing support ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - [#15829](https://togithub.com/babel/babel/pull/15829) Add parsing support for the "source phase imports" proposal ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-generator`, `babel-helper-module-transforms`, `babel-parser`, `babel-plugin-transform-dynamic-import`, `babel-plugin-transform-modules-amd`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-modules-systemjs`, `babel-traverse`, `babel-types` - [#15682](https://togithub.com/babel/babel/pull/15682) Add `createImportExpressions` parser option ([@JLHwung](https://togithub.com/JLHwung)) - `babel-standalone` - [#15671](https://togithub.com/babel/babel/pull/15671) Pass through nonce to the transformed script element ([@JLHwung](https://togithub.com/JLHwung)) - `babel-helper-function-name`, `babel-helper-member-expression-to-functions`, `babel-helpers`, `babel-parser`, `babel-plugin-proposal-destructuring-private`, `babel-plugin-proposal-optional-chaining-assign`, `babel-plugin-syntax-optional-chaining-assign`, `babel-plugin-transform-destructuring`, `babel-plugin-transform-optional-chaining`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime`, `babel-standalone`, `babel-types` - [#15751](https://togithub.com/babel/babel/pull/15751) Add support for optional chain in assignments ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helpers`, `babel-plugin-proposal-decorators` - [#15895](https://togithub.com/babel/babel/pull/15895) Implement the "decorator metadata" proposal ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-traverse`, `babel-types` - [#15893](https://togithub.com/babel/babel/pull/15893) Add `t.buildUndefinedNode` ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-preset-typescript` - [#15913](https://togithub.com/babel/babel/pull/15913) Add `rewriteImportExtensions` option to TS preset ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-parser` - [#15896](https://togithub.com/babel/babel/pull/15896) Allow TS tuples to have both labeled and unlabeled elements ([@yukukotani](https://togithub.com/yukukotani)) ##### :bug: Bug Fix - `babel-plugin-transform-block-scoping` - [#15962](https://togithub.com/babel/babel/pull/15962) fix: `transform-block-scoping` captures the variables of the method in the loop ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ##### :nail_care: Polish - `babel-traverse` - [#15797](https://togithub.com/babel/babel/pull/15797) Expand evaluation of global built-ins in `@babel/traverse` ([@lorenzoferre](https://togithub.com/lorenzoferre)) - `babel-plugin-proposal-explicit-resource-management` - [#15985](https://togithub.com/babel/babel/pull/15985) Improve source maps for blocks with `using` declarations ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :microscope: Output optimization - `babel-core`, `babel-helper-module-transforms`, `babel-plugin-transform-async-to-generator`, `babel-plugin-transform-classes`, `babel-plugin-transform-dynamic-import`, `babel-plugin-transform-function-name`, `babel-plugin-transform-modules-amd`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-modules-umd`, `babel-plugin-transform-parameters`, `babel-plugin-transform-react-constant-elements`, `babel-plugin-transform-react-inline-elements`, `babel-plugin-transform-runtime`, `babel-plugin-transform-typescript`, `babel-preset-env` - [#15984](https://togithub.com/babel/babel/pull/15984) Inline `exports.XXX =` update in simple variable declarations ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ### [`v7.22.20`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v72220-2023-09-16) [Compare Source](https://togithub.com/babel/babel/compare/v7.22.19...v7.22.20) ##### :house: Internal - `babel-helper-validator-identifier` - [#15973](https://togithub.com/babel/babel/pull/15973) Remove special-casing of U+200C and U+200D ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-plugin-transform-dotall-regex` - [#15974](https://togithub.com/babel/babel/pull/15974) Update Unicode test fixtures ([@JLHwung](https://togithub.com/JLHwung)) ##### :leftwards_arrow_with_hook: Revert - `babel-helper-remap-async-to-generator`, `babel-helper-wrap-function`, `babel-plugin-proposal-explicit-resource-management`, `babel-plugin-proposal-function-sent`, `babel-plugin-transform-async-generator-functions`, `babel-plugin-transform-async-to-generator`, `babel-plugin-transform-block-scoping`, `babel-plugin-transform-class-properties`, `babel-plugin-transform-classes`, `babel-plugin-transform-parameters`, `babel-plugin-transform-runtime`, `babel-preset-env` - [#15979](https://togithub.com/babel/babel/pull/15979) Revert "Improve output when wrapping functions" ([@jjonescz](https://togithub.com/jjonescz)) ### [`v7.22.19`](https://togithub.com/babel/babel/releases/tag/v7.22.19) [Compare Source](https://togithub.com/babel/babel/compare/v7.22.18...v7.22.19) #### v7.22.19 (2023-09-14) Re-published 7.22.18, due to a releasing error. ### [`v7.22.18`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v72218-2023-09-14) [Compare Source](https://togithub.com/babel/babel/compare/v7.22.17...v7.22.18) ##### :bug: Bug Fix - `babel-helper-validator-identifier` - [#15957](https://togithub.com/babel/babel/pull/15957) Update identifier name definitions to Unicode 15.1 ([@JLHwung](https://togithub.com/JLHwung)) - `babel-helper-module-transforms`, `babel-plugin-transform-modules-amd`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-modules-umd` - [#15898](https://togithub.com/babel/babel/pull/15898) Fix transform of named import with shadowed namespace import ([@dhlolo](https://togithub.com/dhlolo)) ##### :leftwards_arrow_with_hook: Revert - [#15965](https://togithub.com/babel/babel/pull/15965) Revert Node.js 20.6.0 bug workaround ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ### [`v7.22.17`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v72217-2023-09-08) [Compare Source](https://togithub.com/babel/babel/compare/v7.22.15...v7.22.17) ##### :bug: Bug Fix - `babel-core` - [#15947](https://togithub.com/babel/babel/pull/15947) Fix compatibility with Node.js 20.6 ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-module-transforms`, `babel-plugin-transform-modules-commonjs` - [#15941](https://togithub.com/babel/babel/pull/15941) Fix compiling duplicate ns imports to lazy CommonJS ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-types` - [#15920](https://togithub.com/babel/babel/pull/15920) Make `ClassDeclaration["id"]` optional in babel-types ([@jordanbtucker](https://togithub.com/jordanbtucker)) ##### :microscope: Output optimization - `babel-helper-remap-async-to-generator`, `babel-helper-wrap-function`, `babel-plugin-proposal-explicit-resource-management`, `babel-plugin-proposal-function-sent`, `babel-plugin-transform-async-generator-functions`, `babel-plugin-transform-async-to-generator`, `babel-plugin-transform-block-scoping`, `babel-plugin-transform-class-properties`, `babel-plugin-transform-classes`, `babel-plugin-transform-parameters`, `babel-plugin-transform-runtime`, `babel-preset-env` - [#15922](https://togithub.com/babel/babel/pull/15922) Improve output when wrapping functions (e.g. `async` functions) ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ### [`v7.22.15`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v72215-2023-09-04) [Compare Source](https://togithub.com/babel/babel/compare/v7.22.11...v7.22.15) ##### :bug: Bug Fix - `babel-core` - [#15923](https://togithub.com/babel/babel/pull/15923) Only perform config loading re-entrancy check for cjs ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :house: Internal - `babel-cli`, `babel-core`, `babel-generator`, `babel-helper-builder-binary-assignment-operator-visitor`, `babel-helper-compilation-targets`, `babel-helper-create-class-features-plugin`, `babel-helper-create-regexp-features-plugin`, `babel-helper-member-expression-to-functions`, `babel-helper-module-imports`, `babel-helper-module-transforms`, `babel-helper-transform-fixture-test-runner`, `babel-helper-validator-identifier`, `babel-helper-validator-option`, `babel-helpers`, `babel-node`, `babel-parser`, `babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression`, `babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining`, `babel-plugin-proposal-decorators`, `babel-plugin-proposal-destructuring-private`, `babel-plugin-proposal-pipeline-operator`, `babel-plugin-transform-async-generator-functions`, `babel-plugin-transform-block-scoping`, `babel-plugin-transform-classes`, `babel-plugin-transform-destructuring`, `babel-plugin-transform-for-of`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-object-rest-spread`, `babel-plugin-transform-optional-chaining`, `babel-plugin-transform-parameters`, `babel-plugin-transform-property-mutators`, `babel-plugin-transform-react-jsx`, `babel-plugin-transform-runtime`, `babel-plugin-transform-typescript`, `babel-preset-env`, `babel-preset-flow`, `babel-preset-react`, `babel-preset-typescript`, `babel-register`, `babel-standalone`, `babel-template`, `babel-traverse`, `babel-types` - [#15892](https://togithub.com/babel/babel/pull/15892) Add explicit `.ts`/`.js` extension to all imports in `src` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ### [`v7.22.11`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v72211-2023-08-24) [Compare Source](https://togithub.com/babel/babel/compare/v7.22.10...v7.22.11) ##### :bug: Bug Fix - `babel-plugin-transform-typescript` - [#15882](https://togithub.com/babel/babel/pull/15882) Fix: fully remove TS nested type-only exported namespaces ([@yangguansen](https://togithub.com/yangguansen)) - `babel-types` - [#15867](https://togithub.com/babel/babel/pull/15867) fix: definition of TS function type params ([@danez](https://togithub.com/danez)) - `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` - [#15858](https://togithub.com/babel/babel/pull/15858) fix(standalone): strip archived syntax plugins ([@JLHwung](https://togithub.com/JLHwung)) - `babel-core` - [#15850](https://togithub.com/babel/babel/pull/15850) Support configuring cache in ESM configs ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :house: Internal - `babel-parser` - [#10940](https://togithub.com/babel/babel/pull/10940) Do not record trailing comma pos when `maybeAsyncArrow: false` ([@JLHwung](https://togithub.com/JLHwung)) - `babel-core`, `babel-helper-compilation-targets`, `babel-parser`, `babel-plugin-proposal-destructuring-private`, `babel-plugin-syntax-decorators`, `babel-preset-env`, `babel-preset-react`, `babel-register`, `babel-traverse`, `babel-types` - [#15872](https://togithub.com/babel/babel/pull/15872) enable jest/no-standalone-expect ([@JLHwung](https://togithub.com/JLHwung)) - `babel-core`, `babel-helpers`, `babel-plugin-transform-async-generator-functions`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-regenerator`, `babel-preset-env`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime` - [#15833](https://togithub.com/babel/babel/pull/15833) bump json5, terser and webpack, further minimize babel helpers ([@JLHwung](https://togithub.com/JLHwung)) - Other - [#15846](https://togithub.com/babel/babel/pull/15846) Use Babel 8.0 alpha to build babel ([@JLHwung](https://togithub.com/JLHwung)) - [#15856](https://togithub.com/babel/babel/pull/15856) Exclude redundant files from publish process ([@JLHwung](https://togithub.com/JLHwung)) ##### :microscope: Output optimization - `babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining`, `babel-plugin-transform-class-properties`, `babel-plugin-transform-classes`, `babel-plugin-transform-optional-chaining`, `babel-preset-env` - [#15871](https://togithub.com/babel/babel/pull/15871) Simplify `?.` output when chain result is ignored ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))sanity-io/semantic-release-preset (@sanity/semantic-release-preset)
### [`v4.1.4`](https://togithub.com/sanity-io/semantic-release-preset/blob/HEAD/CHANGELOG.md#414-2023-08-24) [Compare Source](https://togithub.com/sanity-io/semantic-release-preset/compare/@sanity/semantic-release-preset@4.1.3...83631d1fb9cf28fa2bc6aacd2b53e2735a009a56) ##### Bug Fixes - add provenance ([cf35960](https://togithub.com/sanity-io/semantic-release-preset/commit/cf359604710e1feed999218780e4ec48c83cee3a)) - turn off success comments for now ([ebf2846](https://togithub.com/sanity-io/semantic-release-preset/commit/ebf2846f652cf82d050839f15e0d636b106a9302)) - use tagFormat for monorepos ([81edfff](https://togithub.com/sanity-io/semantic-release-preset/commit/81edfff2597094ec808e6761a45a8f0ebfbb8c88))evanw/esbuild (esbuild)
### [`v0.19.4`](https://togithub.com/evanw/esbuild/blob/HEAD/CHANGELOG.md#0194) [Compare Source](https://togithub.com/evanw/esbuild/compare/v0.19.3...v0.19.4) - Fix printing of JavaScript decorators in tricky cases ([#3396](https://togithub.com/evanw/esbuild/issues/3396)) This release fixes some bugs where esbuild's pretty-printing of JavaScript decorators could incorrectly produced code with a syntax error. The problem happened because esbuild sometimes substitutes identifiers for other expressions in the pretty-printer itself, but the decision about whether to wrap the expression or not didn't account for this. Here are some examples: ```js // Original code import { constant } from './constants.js' import { imported } from 'external' import { undef } from './empty.js' class Foo { @constant() @imported() @undef() foo } // Old output (with --bundle --format=cjs --packages=external --minify-syntax) var import_external = require("external"); var Foo = class { @123() @(0, import_external.imported)() @(void 0)() foo; }; // New output (with --bundle --format=cjs --packages=external --minify-syntax) var import_external = require("external"); var Foo = class { @(123()) @((0, import_external.imported)()) @((void 0)()) foo; }; ``` - Allow pre-release versions to be passed to `target` ([#3388](https://togithub.com/evanw/esbuild/issues/3388)) People want to be able to pass version numbers for unreleased versions of node (which have extra stuff after the version numbers) to esbuild's `target` setting and have esbuild do something reasonable with them. These version strings are of course not present in esbuild's internal feature compatibility table because an unreleased version has not been released yet (by definition). With this release, esbuild will now attempt to accept these version strings passed to `target` and do something reasonable with them. ### [`v0.19.3`](https://togithub.com/evanw/esbuild/blob/HEAD/CHANGELOG.md#0193) [Compare Source](https://togithub.com/evanw/esbuild/compare/v0.19.2...v0.19.3) - Fix `list-style-type` with the `local-css` loader ([#3325](https://togithub.com/evanw/esbuild/issues/3325)) The `local-css` loader incorrectly treated all identifiers provided to `list-style-type` as a custom local identifier. That included identifiers such as `none` which have special meaning in CSS, and which should not be treated as custom local identifiers. This release fixes this bug: ```css /* Original code */ ul { list-style-type: none } /* Old output (with --loader=local-css) */ ul { list-style-type: stdin_none; } /* New output (with --loader=local-css) */ ul { list-style-type: none; } ``` Note that this bug only affected code using the `local-css` loader. It did not affect code using the `css` loader. - Avoid inserting temporary variables before `use strict` ([#3322](https://togithub.com/evanw/esbuild/issues/3322)) This release fixes a bug where esbuild could incorrectly insert automatically-generated temporary variables before `use strict` directives: ```js // Original code function foo() { 'use strict' a.b?.c() } // Old output (with --target=es6) function foo() { var _a; "use strict"; (_a = a.b) == null ? void 0 : _a.c(); } // New output (with --target=es6) function foo() { "use strict"; var _a; (_a = a.b) == null ? void 0 : _a.c(); } ``` - Adjust TypeScript `enum` output to better approximate `tsc` ([#3329](https://togithub.com/evanw/esbuild/issues/3329)) TypeScript enum values can be either number literals or string literals. Numbers create a bidirectional mapping between the name and the value but strings only create a unidirectional mapping from the name to the value. When the enum value is neither a number literal nor a string literal, TypeScript and esbuild both default to treating it as a number: ```ts // Original TypeScript code declare const foo: any enum Foo { NUMBER = 1, STRING = 'a', OTHER = foo, } // Compiled JavaScript code (from "tsc") var Foo; (function (Foo) { Foo[Foo["NUMBER"] = 1] = "NUMBER"; Foo["STRING"] = "a"; Foo[Foo["OTHER"] = foo] = "OTHER"; })(Foo || (Foo = {})); ``` However, TypeScript does constant folding slightly differently than esbuild. For example, it may consider template literals to be string literals in some cases: ```ts // Original TypeScript code declare const foo = 'foo' enum Foo { PRESENT = `${foo}`, MISSING = `${bar}`, } // Compiled JavaScript code (from "tsc") var Foo; (function (Foo) { Foo["PRESENT"] = "foo"; Foo[Foo["MISSING"] = `${bar}`] = "MISSING"; })(Foo || (Foo = {})); ``` The template literal initializer for `PRESENT` is treated as a string while the template literal initializer for `MISSING` is treated as a number. Previously esbuild treated both of these cases as a number but starting with this release, esbuild will now treat both of these cases as a string. This doesn't exactly match the behavior of `tsc` but in the case where the behavior diverges `tsc` reports a compile error, so this seems like acceptible behavior for esbuild. Note that handling these cases completely correctly would require esbuild to parse type declarations (see the `declare` keyword), which esbuild deliberately doesn't do. - Ignore case in CSS in more places ([#3316](https://togithub.com/evanw/esbuild/issues/3316)) This release makes esbuild's CSS support more case-agnostic, which better matches how browsers work. For example: ```css /* Original code */ @KeyFrames Foo { From { OpaCity: 0 } To { OpaCity: 1 } } body { CoLoR: YeLLoW } /* Old output (with --minify) */ @KeyFrames Foo{From {OpaCity: 0} To {OpaCity: 1}}body{CoLoR:YeLLoW} /* New output (with --minify) */ @KeyFrames Foo{0%{OpaCity:0}To{OpaCity:1}}body{CoLoR:#ff0} ``` Please never actually write code like this. - Improve the error message for `null` entries in `exports` ([#3377](https://togithub.com/evanw/esbuild/issues/3377)) Package authors can disable package export paths with the `exports` map in `package.json`. With this release, esbuild now has a clearer error message that points to the `null` token in `package.json` itself instead of to the surrounding context. Here is an example of the new error message: ✘ [ERROR] Could not resolve "msw/browser" lib/msw-config.ts:2:28: 2 │ import { setupWorker } from 'msw/browser'; ╵ ~~~~~~~~~~~~~ The path "./browser" cannot be imported from package "msw" because it was explicitly disabled by the package author here: node_modules/msw/package.json:17:14: 17 │ "node": null, ╵ ~~~~ You can mark the path "msw/browser" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle. - Parse and print the `with` keyword in `import` statements JavaScript was going to have a feature called "import assertions" that adds an `assert` keyword to `import` statements. It looked like this: ```js import stuff from './stuff.json' assert { type: 'json' } ``` The feature provided a way to assert that the imported file is of a certain type (but was not allowed to affect how the import is interpreted, even though that's how everyone expected it to behave). The feature was fully specified and then actually implemented and shipped in Chrome before the people behind the feature realized that they should allow it to affect how the import is interpreted after all. So import assertions are no longer going to be added to the language. Instead, the [current proposal](https://togithub.com/tc39/proposal-import-attributes) is to add a feature called "import attributes" instead that adds a `with` keyword to import statements. It looks like this: ```js import stuff from './stuff.json' with { type: 'json' } ``` This feature provides a way to affect how the import is interpreted. With this release, esbuild now has preliminary support for parsing and printing this new `with` keyword. The `with` keyword is not yet interpreted by esbuild, however, so bundling code with it will generate a build error. All this release does is allow you to use esbuild to process code containing it (such as removing types from TypeScript code). Note that this syntax is not yet a part of JavaScript and may be removed or altered in the future if the specification changes (which it already has once, as described above). If that happens, esbuild reserves the right to remove or alter its support for this syntax too.eslint/eslint (eslint)
### [`v8.50.0`](https://togithub.com/eslint/eslint/releases/tag/v8.50.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.49.0...v8.50.0) #### Features - [`27d5a9e`](https://togithub.com/eslint/eslint/commit/27d5a9e57ad347982a68fcd0e75eafee42d344f0) feat: add suggestions to array-callback-return ([#17590](https://togithub.com/eslint/eslint/issues/17590)) (Tanuj Kanti) - [`f9082ff`](https://togithub.com/eslint/eslint/commit/f9082ff3f3956a0a5a7d7659de63640a21c4de0f) feat: flat-rule-tester make sure default config always matches ([#17585](https://togithub.com/eslint/eslint/issues/17585)) (fnx) - [`83914ad`](https://togithub.com/eslint/eslint/commit/83914adbfd5fce7d11b33d095ba6d6a39be0dbbc) feat: Implement SourceCode#applyInlineConfig() ([#17351](https://togithub.com/eslint/eslint/issues/17351)) (Nicholas C. Zakas) - [`22a5582`](https://togithub.com/eslint/eslint/commit/22a558228ff98f478fa308c9ecde361acc4caf20) feat: add rule `no-object-constructor`, deprecate `no-new-object` ([#17576](https://togithub.com/eslint/eslint/issues/17576)) (Francesco Trotta) - [`85a3d9e`](https://togithub.com/eslint/eslint/commit/85a3d9e967b19cb4a0189746499d81ef2f93e14e) feat: allowVoid option in array-callback-return ([#17564](https://togithub.com/eslint/eslint/issues/17564)) (Tanuj Kanti) #### Bug Fixes - [`cc4d26b`](https://togithub.com/eslint/eslint/commit/cc4d26b5a59d510f2c878e973fd245e8eff27c2a) fix: Ensure deprecated context.parserServices warns ([#17593](https://togithub.com/eslint/eslint/issues/17593)) (Nicholas C. Zakas) - [`1ea4cfb`](https://togithub.com/eslint/eslint/commit/1ea4cfb585dcb52ac3cb1522a32f25cfe507121b) fix: Ensure all RuleTester tests all deprecated context methods ([#17587](https://togithub.com/eslint/eslint/issues/17587)) (Nicholas C. Zakas) - [`aa1b657`](https://togithub.com/eslint/eslint/commit/aa1b657a9febcd03e9298c03ae2888762795e322) fix: wrong suggestion and message in `no-misleading-character-class` ([#17571](https://togithub.com/eslint/eslint/issues/17571)) (Yosuke Ota) #### Documentation - [`1800537`](https://togithub.com/eslint/eslint/commit/180053759c6cf05a326c710353b4717fbf289ee0) docs: Fix and standardize JSX code examples ([#17591](https://togithub.com/eslint/eslint/issues/17591)) (Francesco Trotta) - [`48a44a7`](https://togithub.com/eslint/eslint/commit/48a44a73ac456739bdee348bbaf1840d2b1e4830) docs: Add correct/incorrect tags to `prefer-arrow-callback` ([#17589](https://togithub.com/eslint/eslint/issues/17589)) (Francesco Trotta) - [`20893d4`](https://togithub.com/eslint/eslint/commit/20893d48b9012f2b61bbbfeac8bee70d68d90e5e) docs: fix incorrect tag's place ([#17575](https://togithub.com/eslint/eslint/issues/17575)) (Tanuj Kanti) - [`bd7a71f`](https://togithub.com/eslint/eslint/commit/bd7a71fd6b7efb0445393304e2d48c5c06d46a45) docs: Update README (GitHub Actions Bot) #### Chores - [`f8a8a2d`](https://togithub.com/eslint/eslint/commit/f8a8a2d6b45c82f94a574623759b6e3d2af193f3) chore: upgrade [@eslint/js](https://togithub.com/eslint/js)[@8](https://togithub.com/8).50.0 ([#17599](https://togithub.com/eslint/eslint/issues/17599)) (Milos Djermanovic) - [`38ada6d`](https://togithub.com/eslint/eslint/commit/38ada6df8f4a0313b7d0739b28f0af6b4897b8ce) chore: package.json update for [@eslint/js](https://togithub.com/eslint/js) release (ESLint Jenkins) ### [`v8.49.0`](https://togithub.com/eslint/eslint/releases/tag/v8.49.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.48.0...v8.49.0) #### Features - [`da09f4e`](https://togithub.com/eslint/eslint/commit/da09f4e641141f585ef611c6e9d63d4331054706) feat: Implement onUnreachableCodePathStart/End ([#17511](https://togithub.com/eslint/eslint/issues/17511)) (Nicholas C. Zakas) - [`32b2327`](https://togithub.com/eslint/eslint/commit/32b2327aafdd3b911fabab69ed75c9ff97658c60) feat: Emit deprecation warnings in RuleTester ([#17527](https://togithub.com/eslint/eslint/issues/17527)) (Nicholas C. Zakas) - [`acb7df3`](https://togithub.com/eslint/eslint/commit/acb7df35b9a7485f26bc6b3e1f9083d1c585dce9) feat: add new `enforce` option to `lines-between-class-members` ([#17462](https://togithub.com/eslint/eslint/issues/17462)) (Nitin Kumar) #### Documentation - [`ecfb54f`](https://togithub.com/eslint/eslint/commit/ecfb54ff4cdd18f28b4f9b78f0a78fb4cf80f1b8) docs: Update README (GitHub Actions Bot) - [`de86b3b`](https://togithub.com/eslint/eslint/commit/de86b3b2e58edd5826200c23255d8325abe375e1) docs: update `no-promise-executor-return` examples ([#17529](https://togithub.com/eslint/eslint/issues/17529)) (Nitin Kumar) - [`032c4b1`](https://togithub.com/eslint/eslint/commit/032c4b1476a7b8cfd917a66772d2221950ea87eb) docs: add typescript template ([#17500](https://togithub.com/eslint/eslint/issues/17500)) (James) - [`cd7da5c`](https://togithub.com/eslint/eslint/commit/cd7da5cc3154f86f7ca45fb58929d27a7af359ed) docs: Update README (GitHub Actions Bot) #### Chores - [`b7621c3`](https://togithub.com/eslint/eslint/commit/b7621c3b16cf7d5539f05336a827e1b32d95e6ac) chore: remove browser test from `npm test` ([#17550](https://togithub.com/eslint/eslint/issues/17550)) (Milos Djermanovic) - [`cac45d0`](https://togithub.com/eslint/eslint/commit/cac45d04b890b0700dd8908927300608adad05fe) chore: upgrade [@eslint/js](https://togithub.com/eslint/js)[@8](https://togithub.com/8).49.0 ([#17549](https://togithub.com/eslint/eslint/issues/17549)) (Milos Djermanovic) - [`cd39508`](https://togithub.com/eslint/eslint/commit/cd395082bffcb4b68efa09226d7c682cef56179e) chore: package.json update for [@eslint/js](https://togithub.com/eslint/js) release (ESLint Jenkins) - [`203a971`](https://togithub.com/eslint/eslint/commit/203a971c0abc3a95ae02ff74104a01e569707060) ci: bump actions/checkout from 3 to 4 ([#17530](https://togithub.com/eslint/eslint/issues/17530)) (dependabot\[bot]) - [`a40fa50`](https://togithub.com/eslint/eslint/commit/a40fa509922b36bb986eb1be9394591f84f62d9e) chore: use eslint-plugin-jsdoc's flat config ([#17516](https://togithub.com/eslint/eslint/issues/17516)) (Milos Djermanovic) - [`926a286`](https://togithub.com/eslint/eslint/commit/926a28684282aeec37680bbc52a66973b8055f54) test: replace Karma with Webdriver.IO ([#17126](https://togithub.com/eslint/eslint/issues/17126)) (Christian Bromann) - [`f591d2c`](https://togithub.com/eslint/eslint/commit/f591d2c88bf15af72e3a207b34fa872b4b90464b) chore: Upgrade config-array ([#17512](https://togithub.com/eslint/eslint/issues/17512)) (Nicholas C. Zakas) ### [`v8.48.0`](https://togithub.com/eslint/eslint/releases/tag/v8.48.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.47.0...v8.48.0) ##### Features - [`1fbb3b0`](https://togithub.com/eslint/eslint/commit/1fbb3b0b477c814c0d179564fe495f4c50a451e9) feat: correct update direction in `for-direction` ([#17483](https://togithub.com/eslint/eslint/issues/17483)) (Francesco Trotta) - [`d73fbf2`](https://togithub.com/eslint/eslint/commit/d73fbf2228631d6c468cd24710e2579fe6cb70fd) feat: rule tester do not create empty valid or invalid test suites ([#17475](https://togithub.com/eslint/eslint/issues/17475)) (fnx) - [`ee2f718`](https://togithub.com/eslint/eslint/commit/ee2f718188d32e9888b1932fe6b9bd2a62c529a4) feat: Allow `void` in rule `no-promise-executor-return` ([#17282](https://togithub.com/eslint/eslint/issues/17282)) (nopeless) ##### Bug Fixes - [`7234f6a`](https://togithub.com/eslint/eslint/commit/7234f6a706a209aa2d79259110328752e9ae3928) fix: update RuleTester JSDoc and deprecations ([#17496](https://togithub.com/eslint/eslint/issues/17496)) (Jonas Berlin) ##### Documentation - [`7a51d77`](https://togithub.com/eslint/eslint/commit/7a51d77c0a066e461ff288568fdfee0e9539a2b5) docs: no-param-reassign mention strict mode ([#17494](https://togithub.com/eslint/eslint/issues/17494)) (Stephen Hardy) - [`9cd7ac2`](https://togithub.com/eslint/eslint/commit/9cd7ac2fdb6b1d71a9fb1b8297a478cafacbdafd) docs: add `fetch` script to package.json conventions ([#17459](https://togithub.com/eslint/eslint/issues/17459)) (Nitin Kumar) - [`cab21e6`](https://togithub.com/eslint/eslint/commit/cab21e64a8f79779c641178f825945958667c6e4) docs: advice for inline disabling of rules ([#17458](https://togithub.com/eslint/eslint/issues/17458)) (Ashish Yadav) - [`056499d`](https://togithub.com/eslint/eslint/commit/056499de31a139dbc965d18652b0b520e11b408d) docs: fix example of flat config from plugin ([#17482](https://togithub.com/eslint/eslint/issues/17482)) (Francesco Trotta) - [`9e9edf9`](https://togithub.com/eslint/eslint/commit/9e9edf93ecfa0658e8b79e71bc98530ade150081) docs: update documentation URL in error message ([#17465](https://togithub.com/eslint/eslint/issues/17465)) (Nitin Kumar) ##### Chores - [`8dd3cec`](https://togithub.com/eslint/eslint/commit/8dd3cec90c97ed97d243a83b87ad4ea9e6b4781a) chore: upgrade [@eslint/js](https://togithub.com/eslint/js)[@8](https://togithub.com/8).48.0 ([#17501](https://togithub.com/eslint/eslint/issues/17501)) (Milos Djermanovic) - [`6d0496e`](https://togithub.com/eslint/eslint/commit/6d0496e9476fb2210fba0a3d541df8c052ecf73a) chore: package.json update for [@eslint/js](https://togithub.com/eslint/js) release (ESLint Jenkins) - [`9d4216d`](https://togithub.com/eslint/eslint/commit/9d4216d638d39844decffac33ee3d5a47413c80a) chore: Refactor and document CodePathSegment ([#17474](https://togithub.com/eslint/eslint/issues/17474)) (Nicholas C. Zakas)jest-community/eslint-plugin-jest (eslint-plugin-jest)
### [`v27.4.0`](https://togithub.com/jest-community/eslint-plugin-jest/blob/HEAD/CHANGELOG.md#2740-2023-09-15) [Compare Source](https://togithub.com/jest-community/eslint-plugin-jest/compare/v27.3.0...v27.4.0) ##### Features - **valid-title:** support ignoring leading and trailing whitespace ([#1433](https://togithub.com/jest-community/eslint-plugin-jest/issues/1433)) ([bc96473](https://togithub.com/jest-community/eslint-plugin-jest/commit/bc96473488e004885d8926dc716ef96f889c3d1b)) ### [`v27.3.0`](https://togithub.com/jest-community/eslint-plugin-jest/blob/HEAD/CHANGELOG.md#2730-2023-09-15) [Compare Source](https://togithub.com/jest-community/eslint-plugin-jest/compare/v27.2.3...v27.3.0) ##### Features - add `no-confusing-set-time` rule ([#1425](https://togithub.com/jest-community/eslint-plugin-jest/issues/1425)) ([ff8e482](https://togithub.com/jest-community/eslint-plugin-jest/commit/ff8e482380b36bf8423dac7f9fb6340aca8ae313)) #### [27.2.3](https://togithub.com/jest-community/eslint-plugin-jest/compare/v27.2.2...v27.2.3) (2023-07-13) ##### Bug Fixes - allow `@typescript-eslint/eslint-plugin` v6 as peer dep ([#1400](https://togithub.com/jest-community/eslint-plugin-jest/issues/1400)) ([04b2bf2](https://togithub.com/jest-community/eslint-plugin-jest/commit/04b2bf29bf086f8ce8173a9c3bc15ce31915dbe2)), closes [#1398](https://togithub.com/jest-community/eslint-plugin-jest/issues/1398) #### [27.2.2](https://togithub.com/jest-community/eslint-plugin-jest/compare/v27.2.1...v27.2.2) (2023-06-19) ##### Bug Fixes - add missing (optional) peer dependency on Jest ([#1384](https://togithub.com/jest-community/eslint-plugin-jest/issues/1384)) ([34c3d32](https://togithub.com/jest-community/eslint-plugin-jest/commit/34c3d32cab726c88dc385a9e7a8998c727f4720c)) #### [27.2.1](https://togithub.com/jest-community/eslint-plugin-jest/compare/v27.2.0...v27.2.1) (2023-01-06) ##### Bug Fixes - **valid-expect-in-promise:** handle sparse arrays ([#1325](https://togithub.com/jest-community/eslint-plugin-jest/issues/1325)) ([21e72c9](https://togithub.com/jest-community/eslint-plugin-jest/commit/21e72c9d94ed66c1006212e5da78bac8b62fa8c7))jestjs/jest (jest)
### [`v29.7.0`](https://togithub.com/jestjs/jest/blob/HEAD/CHANGELOG.md#2970) [Compare Source](https://togithub.com/jestjs/jest/compare/v29.6.4...v29.7.0) ##### Features - `[create-jest]` Add `npm init` / `yarn create` initialiser for Jest projects ([#14465](https://togithub.com/jestjs/jest/pull/14453)) - `[jest-validate]` Allow deprecation warnings for unknown options ([#14499](https://togithub.com/jestjs/jest/pull/14499)) ##### Fixes - `[jest-resolver]` Replace unmatched capture groups in `moduleNameMapper` with empty string instead of `undefined` ([#14507](https://togithub.com/jestjs/jest/pull/14507)) - `[jest-snapshot]` Allow for strings as well as template literals in inline snapshots ([#14465](https://togithub.com/jestjs/jest/pull/14465)) - `[@jest/test-sequencer]` Calculate test runtime if `perStats.duration` is missing ([#14473](https://togithub.com/jestjs/jest/pull/14473)) ##### Performance - `[@jest/create-cache-key-function]` Cache access of `NODE_ENV` and `BABEL_ENV` ([#14455](https://togithub.com/jestjs/jest/pull/14455)) ##### Chore & Maintenance - `[jest-cli]` Move internal config initialisation logic to the `create-jest` package ([#14465](https://togithub.com/jestjs/jest/pull/14453)) ### [`v29.6.4`](https://togithub.com/jestjs/jest/blob/HEAD/CHANGELOG.md#2964) [Compare Source](https://togithub.com/jestjs/jest/compare/v29.6.3...v29.6.4) ##### Fixes - `[jest-core]` Fix typo in `scheduleAndRun` performance marker ([#14434](https://togithub.com/jestjs/jest/pull/14434)) - `[jest-environment-node]` Make sure `atob` and `btoa` are writeable in Node 20 ([#14446](https://togithub.com/jestjs/jest/pull/14446)) - `[jest-worker]` Additional error wrapper for `parentPort.postMessage` to fix unhandled `DataCloneError`. ([#14437](https://togithub.com/jestjs/jest/pull/14437))prettier/prettier (prettier)
### [`v3.0.3`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#303) [Compare Source](https://togithub.com/prettier/prettier/compare/3.0.2...3.0.3) [diff](https://togithub.com/prettier/prettier/compare/3.0.2...3.0.3) ##### Add `preferUnplugged: true` to `package.json` ([#15169](https://togithub.com/prettier/prettier/pull/15169) by [@fisker](https://togithub.com/fisker) and [@so1ve](https://togithub.com/so1ve)) Prettier v3 uses dynamic imports, user [will need to unplug Prettier](https://togithub.com/yarnpkg/berry/pull/5411#issuecomment-1523502224) when Yarn's PnP mode is enabled, add [`preferUnplugged: true`](https://yarnpkg.com/configuration/manifest#preferUnplugged) to `package.json`, so Yarn will install Prettier as unplug by default. ##### Support shared config that forbids `require()` ([#15233](https://togithub.com/prettier/prettier/pull/15233) by [@fisker](https://togithub.com/fisker)) If an external shared config package is used, and the package `exports` don't have `require` or `default` export. In Prettier 3.0.2 Prettier fails when attempt to `require()` the package, and throws an error. ```text Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined inmatzkoh/prettier-plugin-packagejson (prettier-plugin-packagejson)
### [`v2.4.6`](https://togithub.com/matzkoh/prettier-plugin-packagejson/releases/tag/v2.4.6) [Compare Source](https://togithub.com/matzkoh/prettier-plugin-packagejson/compare/v2.4.5...v2.4.6) ##### Bug Fixes - **deps:** update dependency sort-package-json to v2.6.0 ([8a45e1e](https://togithub.com/matzkoh/prettier-plugin-packagejson/commit/8a45e1e3b3820ae0961dbbe8a32bf92dd7ce323d))defunctzombie/node-url (url)
### [`v0.11.3`](https://togithub.com/defunctzombie/node-url/compare/v0.11.2...v0.11.3) [Compare Source](https://togithub.com/defunctzombie/node-url/compare/v0.11.2...v0.11.3) ### [`v0.11.2`](https://togithub.com/defunctzombie/node-url/compare/v0.11.1...v0.11.2) [Compare Source](https://togithub.com/defunctzombie/node-url/compare/v0.11.1...v0.11.2)Configuration
📅 Schedule: Branch creation - "before 3am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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 has been generated by Mend Renovate using a curated preset maintained by![Sanity](https://www.sanity.io/static/images/logo_red.svg?v=2)
. View repository job log here