Fix list-style-type with the local-css loader (#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:
/* 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)
This release fixes a bug where esbuild could incorrectly insert automatically-generated temporary variables before use strict directives:
// 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)
Fix list-style-type with the local-css loader (#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:
/* 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)
This release fixes a bug where esbuild could incorrectly insert automatically-generated temporary variables before use strict directives:
// 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)
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!
Bumps the dependencies group with 21 updates:
4.8.2
4.9.2
3.1.6
3.1.7
2.0.0
2.0.1
16.18.39
20.6.5
5.62.0
6.7.2
5.62.0
6.7.2
2.3.3
2.3.4
2.19.0
2.21.0
4.3.7
4.3.8
4.3.5
4.3.6
0.18.16
0.19.3
8.45.0
8.50.0
8.8.0
9.0.0
35.0.0
39.1.0
2.27.5
2.28.1
15.7.0
16.1.0
10.3.3
10.3.7
2.8.8
3.0.3
15.2.0
16.0.0
3.12.7
3.13.0
5.1.6
5.2.2
Updates
tslog
from 4.8.2 to 4.9.2Release notes
Sourced from tslog's releases.
... (truncated)
Commits
ad6556f
4.9.21e93acc
Add more tests for some types3044fce
Merge pull request #259 from vktrl/masterbe1e549
add null test for noded510305
fix undefined check, add null test for browser6ab687e
Merge pull request #257 from fullstack-build/developmentc24f7e1
Fix docs, fix #256a080998
4.9.14bb3465
Move runtime into BaseLogger, fix #256aeb3620
4.9.0Updates
@types/debounce-promise
from 3.1.6 to 3.1.7Commits
Updates
@types/json-parse-safe
from 2.0.0 to 2.0.1Commits
Updates
@types/node
from 16.18.39 to 20.6.5Commits
Updates
@typescript-eslint/eslint-plugin
from 5.62.0 to 6.7.2Release notes
Sourced from
@typescript-eslint/eslint-plugin
's releases.... (truncated)
Changelog
Sourced from
@typescript-eslint/eslint-plugin
's changelog.... (truncated)
Commits
ddb8589
chore: publish v6.7.2aefb268
chore: publish v6.7.19cf757a
chore(eslint-plugin): refactor getTypeFromNode to parserServices.getTypeAtLoc...e0cb751
docs(eslint-plugin): add warning about superfluous rules with typescript (#7372)ad46b12
chore(deps): update jest to v29.7.0 (#7651)7826910
docs(eslint-plugin): fix ignorePrimitives examples in prefer-nullish-coalesci...79ffff0
chore: publish v6.7.0b284370
feat(eslint-plugin): [await-thenable] added suggestion fixer (#7437)4908905
fix(eslint-plugin): [no-restricted-imports] disallow side effect imports when...a3a3932
chore: publish v6.6.0Updates
@typescript-eslint/parser
from 5.62.0 to 6.7.2Release notes
Sourced from
@typescript-eslint/parser
's releases.... (truncated)
Changelog
Sourced from
@typescript-eslint/parser
's changelog.... (truncated)
Commits
ddb8589
chore: publish v6.7.2aefb268
chore: publish v6.7.1ad46b12
chore(deps): update jest to v29.7.0 (#7651)79ffff0
chore: publish v6.7.0a3a3932
chore: publish v6.6.0337525b
chore(deps): update dependency jest to v29.6.4 (#7575)4f34d0b
chore: publish v6.5.0ef1367e
chore: publish v6.4.12e1cfd5
chore: upgrade to yarn 3 (#6162)14bea42
chore: publish v6.4.0Updates
@vscode/test-electron
from 2.3.3 to 2.3.4Changelog
Sourced from
@vscode/test-electron
's changelog.Commits
Updates
@vscode/vsce
from 2.19.0 to 2.21.0Commits
11223c3
support manual release version (#895)e0857ea
feat: add support for packaging and publishing without license file (#887)986df2b
feat: add user-friendly info to --help (#884)a4f0bf3
rephrase error message for mismatched pricing values in manifest (#890)eb0b8b9
Add CodeQL suppression comment (#894)446c1de
add a pack alias for package (#892)a6187b3
Merge pull request #886 from microsoft/roblou/fixPlatCheckaa2113d
Version bump0ef9ec2
Look for an exact match of version+platform when detecting duplicates8deb0f6
2.20.0 (#883)Updates
chai
from 4.3.7 to 4.3.8Release notes
Sourced from chai's releases.
Commits
d9ff2c6
4.3.88d3205b
buildb351dc0
Fix: update exports.version to current version (#1534)1a8247f
Update CONTRIBUTING.md (#1521)3a8c49a
docs: specify return type of objDisplay (#1490)b455124
test: fix typo in test.js (#1459)98f4233
build(deps): bump socket.io-parser from 4.0.4 to 4.0.5 (#1488)acd16e0
chore: 4.x.x: Fix link to commit logs on GitHub (#1487)3c947a7
buildMaintainer changes
This version was pushed to npm by keithamus, a new releaser for chai since your current version.
Updates
@types/chai
from 4.3.5 to 4.3.6Commits
Updates
esbuild
from 0.18.16 to 0.19.3Release notes
Sourced from esbuild's releases.
... (truncated)
Changelog
Sourced from esbuild's changelog.
... (truncated)
Commits
673ad10
publish 0.19.3 to npm6402f11
basic support for parsing import attributes7ece556
fix #3322: avoid temporaries before"use strict"
900a90d
transform: banner/footer with local-css/global-cssbbd82b2
runmake update-compat-table
f702f6b
remove an unused methoda111cc4
fix #3318: ignore invalid commands for old builds4c5db58
fix #3329: treat more enum values as strings5ecf535
fix #3377: improve resolution error due tonull
79ac17a
resolver: adjust some error messagesUpdates
eslint
from 8.45.0 to 8.50.0Release notes
Sourced from eslint's releases.
... (truncated)
Changelog
Sourced from eslint's changelog.
... (truncated)
Commits
299bfae
8.50.0212687c
Build: changelog update for 8.50.0f8a8a2d
chore: upgrade@eslint/js
@8
.50.0 (#17599)38ada6d
chore: package.json update for@eslint/js
release27d5a9e
feat: add suggestions to array-callback-return (#17590)f9082ff
feat: flat-rule-tester make sure default config always matches (#17585)83914ad
feat: Implement SourceCode#applyInlineConfig() (#17351)cc4d26b
fix: Ensure deprecated context.parserServices warns (#17593)1ea4cfb
fix: Ensure all RuleTester tests all deprecated context methods (#17587)1800537
docs: Fix and standardize JSX code examples (#17591)Updates
eslint-config-prettier
from 8.8.0 to 9.0.0Changelog
Sourced from eslint-config-prettier's changelog.
Commits
1982680
eslint-config-prettier v9.0.0f197969
Do not disable unicode-bom (#250)a8bc57e
Flat config: CLI, tests, docs (#261)baab944
eslint-config-prettier v8.10.0552483b
feat: max-statements-per-line (#263)aa1aa34
eslint-config-prettier v8.9.0Looks like these dependencies are updatable in another way, so this is no longer needed.