CSS nesting syntax has been changed again, and esbuild has been updated to match. Type selectors may now be used with CSS nesting:
.foo {
div {
color: red;
}
}
Previously this was disallowed in the CSS specification because it's ambiguous whether an identifier is a declaration or a nested rule starting with a type selector without requiring unbounded lookahead in the parser. It has now been allowed because the CSS working group has decided that requiring unbounded lookahead is acceptable after all.
Note that this change means esbuild no longer considers any existing browser to support CSS nesting since none of the existing browsers support this new syntax. CSS nesting will now always be transformed when targeting a browser. This situation will change in the future as browsers add support for this new syntax.
Fix a scope-related bug with --drop-labels= (#3311)
The recently-released --drop-labels= feature previously had a bug where esbuild's internal scope stack wasn't being restored properly when a statement with a label was dropped. This could manifest as a tree-shaking issue, although it's possible that this could have also been causing other subtle problems too. The bug has been fixed in this release.
Make renamed CSS names unique across entry points (#3295)
Previously esbuild's generated names for local names in CSS were only unique within a given entry point (or across all entry points when code splitting was enabled). That meant that building multiple entry points with esbuild could result in local names being renamed to the same identifier even when those entry points were built simultaneously within a single esbuild API call. This problem was especially likely to happen with minification enabled. With this release, esbuild will now avoid renaming local names from two separate entry points to the same name if those entry points were built with a single esbuild API call, even when code splitting is disabled.
Fix CSS ordering bug with @layer before @import
CSS lets you put @layer rules before @import rules to define the order of layers in a stylesheet. Previously esbuild's CSS bundler incorrectly ordered these after the imported files because before the introduction of cascade layers to CSS, imported files could be bundled by removing the @import rules and then joining files together in the right order. But with @layer, CSS files may now need to be split apart into multiple pieces in the bundle. For example:
CSS nesting syntax has been changed again, and esbuild has been updated to match. Type selectors may now be used with CSS nesting:
.foo {
div {
color: red;
}
}
Previously this was disallowed in the CSS specification because it's ambiguous whether an identifier is a declaration or a nested rule starting with a type selector without requiring unbounded lookahead in the parser. It has now been allowed because the CSS working group has decided that requiring unbounded lookahead is acceptable after all.
Note that this change means esbuild no longer considers any existing browser to support CSS nesting since none of the existing browsers support this new syntax. CSS nesting will now always be transformed when targeting a browser. This situation will change in the future as browsers add support for this new syntax.
Fix a scope-related bug with --drop-labels= (#3311)
The recently-released --drop-labels= feature previously had a bug where esbuild's internal scope stack wasn't being restored properly when a statement with a label was dropped. This could manifest as a tree-shaking issue, although it's possible that this could have also been causing other subtle problems too. The bug has been fixed in this release.
Make renamed CSS names unique across entry points (#3295)
Previously esbuild's generated names for local names in CSS were only unique within a given entry point (or across all entry points when code splitting was enabled). That meant that building multiple entry points with esbuild could result in local names being renamed to the same identifier even when those entry points were built simultaneously within a single esbuild API call. This problem was especially likely to happen with minification enabled. With this release, esbuild will now avoid renaming local names from two separate entry points to the same name if those entry points were built with a single esbuild API call, even when code splitting is disabled.
Fix CSS ordering bug with @layer before @import
CSS lets you put @layer rules before @import rules to define the order of layers in a stylesheet. Previously esbuild's CSS bundler incorrectly ordered these after the imported files because before the introduction of cascade layers to CSS, imported files could be bundled by removing the @import rules and then joining files together in the right order. But with @layer, CSS files may now need to be split apart into multiple pieces in the bundle. For example:
Most Recent Ignore Conditions Applied to This Pull Request
| Dependency Name | Ignore Conditions |
| --- | --- |
| @types/node | [>= 18.a, < 19] |
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update...
_Description has been truncated_
Bumps the extension-dependencies group with 9 updates:
20.4.4
20.5.1
1.80.0
1.81.0
6.1.0
6.4.0
6.1.0
6.4.0
2.19.0
2.20.1
0.18.16
0.19.2
8.45.0
8.47.0
7.0.2
8.0.0
3.0.0
3.0.2
Updates
@types/node
from 20.4.4 to 20.5.1Commits
Updates
@types/vscode
from 1.80.0 to 1.81.0Commits
Updates
@typescript-eslint/eslint-plugin
from 6.1.0 to 6.4.0Release notes
Sourced from
@typescript-eslint/eslint-plugin
's releases.... (truncated)
Changelog
Sourced from
@typescript-eslint/eslint-plugin
's changelog.... (truncated)
Commits
14bea42
chore: publish v6.4.09181252
docs: add note on common misconceptions about type narrowing (#7391)ad8401a
fix(eslint-plugin): [strict-boolean-expressions] replace dangerous fixer with...bad37a2
fix(eslint-plugin): [non-nullable-type-assertion-style] consider operator pre...2f535c3
chore(eslint-plugin): remove unusednatural-compare-lite
from dependencies ...0a1de14
chore: publish v6.3.07891a06
Revert "chore(deps): update dependency marked to v6" (#7429)6a1437d
chore(deps): update dependency marked to v6 (#7422)38e5e4e
fix(eslint-plugin): [no-extra-parens] keep parens around call expression argu...56919e4
docs: explain return-await's name and existence in its docs (#7392)Updates
@typescript-eslint/parser
from 6.1.0 to 6.4.0Release notes
Sourced from
@typescript-eslint/parser
's releases.... (truncated)
Changelog
Sourced from
@typescript-eslint/parser
's changelog.Commits
14bea42
chore: publish v6.4.00a1de14
chore: publish v6.3.0948b061
chore: publish v6.2.1c869aa1
chore: publish v6.2.0Updates
@vscode/vsce
from 2.19.0 to 2.20.1Commits
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)9af9022
npm audit fix (#881)8ef9b97
fixes --skipDuplicate ignoring target platforms(#868) (#873)701a450
Add support for misspelled license name (#879)11dd270
build(deps): bump semver from 5.6.0 to 7.5.2 (#874)Updates
esbuild
from 0.18.16 to 0.19.2Release notes
Sourced from esbuild's releases.
... (truncated)
Changelog
Sourced from esbuild's changelog.
... (truncated)
Commits
09a1001
publish 0.19.2 to npm4d9b764
fix #3311: pop scope after--drop-labels=
runsf2d23b2
fix some typose76780c
css: further changes to css nesting syntax71f4a5a
update compat-table (note: css nesting changed)eb667c3
css: try to merge adjacent@layer
rules togetherf759693
css: fix ordering with@layer
before@import
c73f0f8
css: extract wrapping logic to a helper functiona05a2f9
css: make source index on compile results optionalbb16fb7
css: parser separates layers pre/post@import
Updates
eslint
from 8.45.0 to 8.47.0Release notes
Sourced from eslint's releases.
... (truncated)
Changelog
Sourced from eslint's changelog.
... (truncated)
Commits
98b155f
8.47.0928cecc
Build: changelog update for 8.47.0bf69aa6
chore: Update dependencies (#17456)0e45760
chore: package.json update for@eslint/js
release631648e
fix: do not report on shadowed constructors inno-new-wrappers
(#17447)757bfe1
chore: Remove add-to-triage (#17450)b066640
chore: standardize npm script names (#17431)a766a48
docs: document lack of config file names (#17442)a1635d6
docs: Update README6b2410f
chore: Update add-to-triage.yml (#17444)Updates
patch-package
from 7.0.2 to 8.0.0Release notes
Sourced from patch-package's releases.
Changelog
Sourced from patch-package's changelog.
Commits
Updates
prettier
from 3.0.0 to 3.0.2Release notes
Sourced from prettier's releases.
Changelog
Sourced from prettier's changelog.
... (truncated)
Commits
157e42a
Release 3.0.21b0c756
Printdeclare
andexport
keywords for nested namespace (#15249)b4082cb
chore(deps): update babel to v7.22.10 (#15236)91e850b
chore(deps): update dependency camelcase to v8 (#15245)f24132e
Make chalk/assert shim a Proxy (#15234)e22a551
chore(deps): update dependency@babel/parser
to v7.22.10 (#15237)fbe46aa
chore(deps): update dependency@angular/compiler
to v16.2.0 (#15240)7ecdbf7
chore(deps): update typescript-eslint to v6.3.0 (#15244)fb55780
chore(deps): update dependency eslint to v8.47.0 (#15242)fde937d
chore(deps): update dependency hermes-parser to v0.15.1 (#15239)Most Recent Ignore Conditions Applied to This Pull Request
| Dependency Name | Ignore Conditions | | --- | --- | | @types/node | [>= 18.a, < 19] |Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show