This release fixes a bug with the CSS nesting transform for older browsers where the generated CSS could be incorrect if a selector list contained a pseudo element followed by another selector. The bug was caused by incorrectly mutating the parent rule's selector list when filtering out pseudo elements for the child rules:
Constant folding for JavaScript inequality operators (#3645)
This release introduces constant folding for the < > <= >= operators. The minifier will now replace these operators with true or false when both sides are compile-time numeric or string constants:
// Original code
console.log(1 < 2, '🍕' > '🧀')
// Old output (with --minify)
console.log(1<2,"🍕">"🧀");
JavaScript object literal syntax contains a special case where a non-computed property with a key of __proto__ sets the prototype of the object. This does not apply to computed properties or to properties that use the shorthand property syntax introduced in ES6. Previously esbuild didn't correctly preserve the "sets the prototype" status of properties inside an object literal, meaning a property that sets the prototype could accidentally be transformed into one that doesn't and vice versa. This has now been fixed:
// Original code
function foo(__proto__) {
return { __proto__: __proto__ } // Note: sets the prototype
This release fixes a bug with the CSS nesting transform for older browsers where the generated CSS could be incorrect if a selector list contained a pseudo element followed by another selector. The bug was caused by incorrectly mutating the parent rule's selector list when filtering out pseudo elements for the child rules:
Constant folding for JavaScript inequality operators (#3645)
This release introduces constant folding for the < > <= >= operators. The minifier will now replace these operators with true or false when both sides are compile-time numeric or string constants:
// Original code
console.log(1 < 2, '🍕' > '🧀')
// Old output (with --minify)
console.log(1<2,"🍕">"🧀");
JavaScript object literal syntax contains a special case where a non-computed property with a key of __proto__ sets the prototype of the object. This does not apply to computed properties or to properties that use the shorthand property syntax introduced in ES6. Previously esbuild didn't correctly preserve the "sets the prototype" status of properties inside an object literal, meaning a property that sets the prototype could accidentally be transformed into one that doesn't and vice versa. This has now been fixed:
Added: [unicorn/template-indent], (as a [special rule][unicorn/template-indent-special]). Thanks to Gürgün Dayıoğlu (@gurgunday)!
Changed: All the [formatting rules that were deprecated in ESLint 8.53.0][deprecated-8.53.0] are now excluded if you set the ESLINT_CONFIG_PRETTIER_NO_DEPRECATED environment variable.
Version 9.0.0 (2023-08-05)
Added: The CLI helper tool now works with eslint.config.js (flat config). Just like ESLint itself, the CLI tool automatically first tries eslint.config.js and then eslintrc, and you can force which one to use by setting the [ESLINT_USE_FLAT_CONFIG] environment variable. Note that the config of eslint-config-prettier has always been compatible with eslint.config.js (flat config) – it was just the CLI tool that needed updating. On top of that, the docs have been updated to mention how to use both eslint.config.js (flat config) and eslintrc, and the tests now test both config systems.
Changed: [unicode-bom] is no longer turned off. Prettier preserves the BOM if you have one, and does not add one if missing. It was wrong of eslint-config-prettier to disable that rule. If you get ESLint errors after upgrading, either add "unicode-bom": "off" to your config to disable it again, or run ESLint with --fix to fix all files according to the rule (add or remove BOM). Thanks to Nicolas Stepien (@nstepien)!
Version 8.10.0 (2023-08-03)
Added: [max-statements-per-line]. Thanks to @Zamiell!
Version 8.9.0 (2023-07-27)
Added: [vue/array-element-newline]. Thanks to @xcatliu!
Version 8.8.0 (2023-03-20)
Added: [@typescript-eslint/lines-around-comment]. Thanks to @ttionya!
Version 8.7.0 (2023-03-06)
Added: [@typescript-eslint/block-spacing]. Thanks to @ttionya!
Added: [@typescript-eslint/key-spacing]. Thanks to @ttionya!
Version 8.6.0 (2023-01-02)
Added: [vue/multiline-ternary]. Thanks to @xcatliu!
Version 8.5.0 (2022-03-02)
Added: [@typescript-eslint/space-before-blocks]. Thanks to Masafumi Koba (@ybiquitous)!
Add --default -p flag to provide a default pattern
10.2.0
Add glob cli
10.1.0
Return '.' instead of the empty string '' when the current
working directory is returned as a match.
Add posix: true option to return / delimited paths, even on
Windows.
10.0.0
No default exports, only named exports
9.3.3
Upgraded minimatch to v8, adding support for any degree of
nested extglob patterns.
9.3
Add aliases for methods. glob.sync, glob.stream,
glob.stream.sync, etc.
9.2
Support using a custom fs object, which is passed to PathScurry
add maxDepth option
add stat option
add custom Ignore support
9.1
Bring back the root option, albeit with slightly different
semantics than in v8 and before.
Support { absolute:false } option to explicitly always return
relative paths. An unset absolute setting will still return
absolute or relative paths based on whether the pattern is
absolute.
Add magicalBraces option to treat brace expansion as "magic"
in the hasMagic function.
Bumps the all-dependencies group with 92 updates:
3.0.5
3.1.0
3.0.2
3.0.5
1.0.0
1.0.2
18.19.17
20.11.22
1.71.0
1.87.0
6.21.0
7.1.0
6.21.0
7.1.0
0.19.12
0.20.1
8.3.0
8.57.0
8.3.0
9.1.0
7.2.3
10.3.10
2.5.1
3.2.5
2.19.0
2.24.0
0.19.12
0.20.1
0.19.12
0.20.1
0.19.12
0.20.1
0.19.12
0.20.1
0.19.12
0.20.1
0.19.12
0.20.1
0.19.12
0.20.1
0.19.12
0.20.1
0.19.12
0.20.1
0.19.12
0.20.1
0.19.12
0.20.1
0.19.12
0.20.1
0.19.12
0.20.1
0.19.12
0.20.1
0.19.12
0.20.1
0.19.12
0.20.1
0.19.12
0.20.1
0.19.12
0.20.1
0.19.12
0.20.1
0.19.12
0.20.1
0.19.12
0.20.1
0.19.12
0.20.1
0.19.12
0.20.1
1.0.4
2.1.4
4.0.6
5.3.1
0.6.0
0.11.14
1.2.1
2.0.2
3.0.5
5.1.2
7.5.7
7.5.8
6.21.0
7.1.0
6.21.0
7.1.0
6.21.0
7.1.0
6.21.0
7.1.0
6.21.0
7.1.0
6.21.0
7.1.0
8.6.0
8.11.3
3.1.2
3.1.3
11.1.0
11.2.0
1.0.2
1.0.7
6.2.1
6.3.0
1.0.0-rc.10
1.0.0-rc.12
1.5.0
2.1.0
4.1.3
5.1.0
5.1.0
6.1.0
2.0.1
2.0.2
1.3.2
2.0.0
2.2.0
2.3.0
4.2.2
5.0.3
2.8.0
3.1.0
3.1.1
3.1.2
7.1.0
7.2.2
2.1.0
3.4.3
9.1.0
9.6.1
1.4.0
1.5.0
3.0.4
3.2.0
3.2.4
3.3.1
2.3.2
2.3.3
1.1.1
1.1.2
1.1.1
1.2.4
13.12.0
13.24.0
1.0.2
1.0.3
4.0.2
4.1.0
6.1.0
8.0.2
5.0.0
5.0.1
3.2.0
3.2.1
1.2.6
1.2.8
3.45.0
3.56.0
2.0.1
2.1.1
1.11.0
1.13.1
6.0.1
7.1.2
6.0.1
7.0.0
9.0.7
11.0.1
2.1.1
2.3.1
6.11.0
6.11.2
1.2.4
1.3.0
1.0.4
1.0.5
0.2.1
0.2.2
1.8.6
1.8.11
1.13.1
1.13.6
Updates
plist
from 3.0.5 to 3.1.0Changelog
Sourced from plist's changelog.
Commits
Updates
@types/plist
from 3.0.2 to 3.0.5Commits
Updates
@types/lcov-parse
from 1.0.0 to 1.0.2Commits
Updates
@types/node
from 18.19.17 to 20.11.22Commits
Updates
@types/vscode
from 1.71.0 to 1.87.0Commits
Updates
@typescript-eslint/eslint-plugin
from 6.21.0 to 7.1.0Release notes
Sourced from
@typescript-eslint/eslint-plugin
's releases.... (truncated)
Changelog
Sourced from
@typescript-eslint/eslint-plugin
's changelog.... (truncated)
Commits
4bc6944
chore(release): publish 7.1.01807d55
docs: add tabs in no-unsafe-unary-minus.md (#8542)f2f57de
test(eslint-plugin): [no-misused-promises] add test cases for spread args (#8...fa67955
chore: drop T from internal types (#8521)60c1cd3
fix(eslint-plugin): [no-use-before-define] fix false positive type reference ...1458920
fix(eslint-plugin): [no-misused-promises] improve check union types (#8534)c1441c8
fix(eslint-plugin): [prefer-optional-chan] allow typeof for avoiding referenc...e7ec6f0
docs: from option instead of source in prefer-readonly-parameter-types (#8461)46cef96
feat(eslint-plugin): [consistent-return] add new rule (#8289)f7198db
feat(eslint-plugin): [naming-convention] support the auto-accessor syntax (#8...Updates
@typescript-eslint/parser
from 6.21.0 to 7.1.0Release notes
Sourced from
@typescript-eslint/parser
's releases.... (truncated)
Changelog
Sourced from
@typescript-eslint/parser
's changelog.Commits
4bc6944
chore(release): publish 7.1.0677e7cc
chore(release): publish 7.0.24f3215f
chore(release): publish 7.0.1b27de99
chore(release): publish 7.0.01aa393c
chore(deps): update dependency prettier to v3.2.5 (#8401)8ef5f4b
feat: add support for flat configs (#7935)1200b4c
chore(deps): update nx to v17.3.0 (#8317)584db29
feat: bump ESLint, NodeJS, and TS minimum version requirements (#8377)Updates
esbuild
from 0.19.12 to 0.20.1Release notes
Sourced from esbuild's releases.
... (truncated)
Changelog
Sourced from esbuild's changelog.
... (truncated)
Commits
9f9e4f8
publish 0.20.1 to npmac36537
fix #3651: handle__proto__
edge cases better555db48
fix #3645: constant folding for\< > \<= >=
5650831
fix #3650: add a wrapper for float64 mathd086889
fix some lintsad3d8c6
fix #3648: copy selectors before checking childrena08f30d
fix #3634: crash if resolving with bad source dir2af5ccf
publish 0.20.0 to npm0bccf08
fix esbuild/deno-esbuild#5931f87d
work around api deprecations in deno 1.40.x (#3609) (#3611)Updates
eslint
from 8.3.0 to 8.57.0Release notes
Sourced from eslint's releases.
... (truncated)
Changelog
Sourced from eslint's changelog.
... (truncated)
Commits
abea3b6
8.57.01cd3f8c
Build: changelog update for 8.57.01813aec
chore: upgrade@eslint/js
@8
.57.0 (#18143)5c356bb
chore: package.json update for@eslint/js
release84922d0
docs: Show prerelease version in dropdown (#18139)1120b9b
feat: Add loadESLint() API method for v8 (#18098)5b8c363
docs: Switch to Ethical Ads (#18117)2196d97
fix: handle absolute file paths inFlatRuleTester
(#18064)f4a1fe2
test: add more tests for ignoring files and directories (#18068)69dd1d1
fix: Ensure config keys are printed for config errors (#18067)Updates
eslint-config-prettier
from 8.3.0 to 9.1.0Changelog
Sourced from eslint-config-prettier's changelog.
Commits
40c7f3d
eslint-config-prettier v9.1.04110dff
Merge pull request #271 from prettier/deprecated6d0bd92
Update tests to handle newly deprecated rules4c876b9
Move rules deprecated in ESLint 8.53.0 to the deprecated section24445c0
Use specialRule constant7827196
Group deprecated and removed rules by version48f804c
Roll back to ESLint 8.52.0 for now16f03b8
Update Prettierb06d618
Update npm packages25fc427
turn offunicorn/template-indent
(#269)Updates
glob
from 7.2.3 to 10.3.10Changelog
Sourced from glob's changelog.
... (truncated)
Commits
4f18d23
10.3.1058a3b25
Restore top level main, typese57c2e1
tshy@1.2.2b35083a
10.3.900b5ca2
Revert "bring back main/types for ancient outdated node versions"a637273
10.3.87d7b115
bring back main/types for ancient outdated node versions13a4ef0
update jackspeak dep5f571bf
ci: fix arguments to npm test, add node 20Looks like these dependencies are updatable in another way, so this is no longer needed.