Fix #3069, prevent overwriting paths when using --staged or --changed options. Contributed by @unvalley
Fix a case where the file link inside a diagnostic wasn't correctly displayed inside a terminal run by VSCode. Contributed by @uncenter
Configuration
Bug fixes
Fix #3067, by assigning the correct default value to indentWidth. Contributed by @ematipico
Formatter
Bug fixes
Fix the bug where whitespace after the & character in CSS nesting was incorrectly trimmed, ensuring proper targeting of child classes #3061. Contributed by @denbezrukov
Fix #3068 where the CSS formatter was inadvertently converting variable declarations and function calls to lowercase. Contributed by @denbezrukov
Fix the formatting of CSS grid layout properties. Contributed by @denbezrukov
Linter
Bug fixes
The noEmptyBlock css lint rule now treats empty blocks containing comments as valid ones. Contributed by @Sec-ant
Fix #3069, prevent overwriting paths when using --staged or --changed options. Contributed by @unvalley
Fix a case where the file link inside a diagnostic wasn't correctly displayed inside a terminal run by VSCode. Contributed by @uncenter
Configuration
Bug fixes
Fix #3067, by assigning the correct default value to indentWidth. Contributed by @ematipico
Editors
Formatter
Bug fixes
Fix the bug where whitespace after the & character in CSS nesting was incorrectly trimmed, ensuring proper targeting of child classes #3061. Contributed by @denbezrukov
Fix #3068 where the CSS formatter was inadvertently converting variable declarations and function calls to lowercase. Contributed by @denbezrukov
Fix the formatting of CSS grid layout properties. Contributed by @denbezrukov
JavaScript APIs
Linter
Bug fixes
The noEmptyBlock css lint rule now treats empty blocks containing comments as valid ones. Contributed by @Sec-ant
Fix Symbol.metadata on classes without a class decorator (#3781)
This release fixes a bug with esbuild's support for the decorator metadata proposal. Previously esbuild only added the Symbol.metadata property to decorated classes if there was a decorator on the class element itself. However, the proposal says that the Symbol.metadata property should be present on all classes that have any decorators at all, not just those with a decorator on the class element itself.
Allow unknown import attributes to be used with the copy loader (#3792)
Import attributes (the with keyword on import statements) are allowed to alter how that path is loaded. For example, esbuild cannot assume that it knows how to load ./bagel.js as type bagel:
// This is an error with "--bundle" without also using "--external:./bagel.js"
import tasty from "./bagel.js" with { type: "bagel" }
Because of that, bundling this code with esbuild is an error unless the file ./bagel.js is external to the bundle (such as with --bundle --external:./bagel.js).
However, there is an additional case where it's ok for esbuild to allow this: if the file is loaded using the copy loader. That's because the copy loader behaves similarly to --external in that the file is left external to the bundle. The difference is that the copy loader copies the file into the output folder and rewrites the import path while --external doesn't. That means the following will now work with the copy loader (such as with --bundle --loader:.bagel=copy):
// This is no longer an error with "--bundle" and "--loader:.bagel=copy"
import tasty from "./tasty.bagel" with { type: "bagel" }
Support import attributes with glob-style imports (#3797)
This release adds support for import attributes (the with option) to glob-style imports (dynamic imports with certain string literal patterns as paths). These imports previously didn't support import attributes due to an oversight. So code like this will now work correctly:
Previously this didn't work even though esbuild normally supports forcing the JSON loader using an import attribute. Attempting to do this used to result in the following error:
✘ [ERROR] No loader is configured for ".data" files: locales/en-US.data
In addition, this change means plugins can now access the contents of with for glob-style imports.
Support ${configDir} in tsconfig.json files (#3782)
This adds support for a new feature from the upcoming TypeScript 5.5 release. The character sequence ${configDir} is now respected at the start of baseUrl and paths values, which are used by esbuild during bundling to correctly map import paths to file system paths. This feature lets base tsconfig.json files specified via extends refer to the directory of the top-level tsconfig.json file. Here is an example:
Fix Symbol.metadata on classes without a class decorator (#3781)
This release fixes a bug with esbuild's support for the decorator metadata proposal. Previously esbuild only added the Symbol.metadata property to decorated classes if there was a decorator on the class element itself. However, the proposal says that the Symbol.metadata property should be present on all classes that have any decorators at all, not just those with a decorator on the class element itself.
Allow unknown import attributes to be used with the copy loader (#3792)
Import attributes (the with keyword on import statements) are allowed to alter how that path is loaded. For example, esbuild cannot assume that it knows how to load ./bagel.js as type bagel:
// This is an error with "--bundle" without also using "--external:./bagel.js"
import tasty from "./bagel.js" with { type: "bagel" }
Because of that, bundling this code with esbuild is an error unless the file ./bagel.js is external to the bundle (such as with --bundle --external:./bagel.js).
However, there is an additional case where it's ok for esbuild to allow this: if the file is loaded using the copy loader. That's because the copy loader behaves similarly to --external in that the file is left external to the bundle. The difference is that the copy loader copies the file into the output folder and rewrites the import path while --external doesn't. That means the following will now work with the copy loader (such as with --bundle --loader:.bagel=copy):
// This is no longer an error with "--bundle" and "--loader:.bagel=copy"
import tasty from "./tasty.bagel" with { type: "bagel" }
Support import attributes with glob-style imports (#3797)
This release adds support for import attributes (the with option) to glob-style imports (dynamic imports with certain string literal patterns as paths). These imports previously didn't support import attributes due to an oversight. So code like this will now work correctly:
Previously this didn't work even though esbuild normally supports forcing the JSON loader using an import attribute. Attempting to do this used to result in the following error:
✘ [ERROR] No loader is configured for ".data" files: locales/en-US.data
In addition, this change means plugins can now access the contents of with for glob-style imports.
Support ${configDir} in tsconfig.json files (#3782)
This adds support for a new feature from the upcoming TypeScript 5.5 release. The character sequence ${configDir} is now respected at the start of baseUrl and paths values, which are used by esbuild during bundling to correctly map import paths to file system paths. This feature lets base tsconfig.json files specified via extends refer to the directory of the top-level tsconfig.json file. Here is an example:
When using a custom runtimeModule, the plugin will not try to pre-optimize react/compiler-runtime dependency.
Reminder: Vite expect code outside of node_modules to be ESM, so you will need to update the gist with import React from 'react'.
v4.3.0
Fix support for React compiler
Don't set retainLines: true when the React compiler is used. This creates whitespace issues and the compiler is modifying the JSX too much to get correct line numbers after that. If you want to use the React compiler and get back correct line numbers for tools like vite-plugin-react-click-to-component to work, you should update your config to something like:
When using a custom runtimeModule, the plugin will not try to pre-optimize react/compiler-runtime dependency.
Reminder: Vite expect code outside of node_modules to be ESM, so you will need to update the gist with import React from 'react'.
4.3.0 (2024-05-22)
Fix support for React compiler
Don't set retainLines: true when the React compiler is used. This creates whitespace issues and the compiler is modifying the JSX too much to get correct line numbers after that. If you want to use the React compiler and get back correct line numbers for tools like vite-plugin-react-click-to-component to work, you should update your config to something like:
Bumps the dev-dependencies group with 14 updates in the / directory:
1.7.0
1.8.1
13.7.3
13.11.0
0.20.2
0.21.5
7.6.0
7.6.2
16.3.1
16.6.1
4.7.2
4.15.4
4.2.1
4.3.1
18.2.0
18.3.1
18.2.79
18.3.3
18.2.0
18.3.1
18.2.25
18.3.0
5.2.8
5.3.1
18.2.0
18.3.1
24.0.0
24.1.0
Updates
@biomejs/biome
from 1.7.0 to 1.8.1Release notes
Sourced from
@biomejs/biome
's releases.... (truncated)
Changelog
Sourced from
@biomejs/biome
's changelog.... (truncated)
Commits
39db99b
release: v1.8.1 (#3154)4cf4300
feat(biome_css_analyzer):useConsistentGridAreas
(#2940)746db0a
feat(biome_css_analyzer): noShorthandPropertyOverrides (#2958)da6f180
chore: formatpackage.json
like npm does (#3155)aa2b52f
feat(biome_css_analyzer): implement selector-pseudo-class-no-unknown (#3034)9590d57
chore: fix JSON schema for biome config file (#3109)7c83e79
fix(config): default value for indent_width (#3096)8cf3e91
docs(readme): fix replaceapply
bywrite
option (#3071)378c05e
release: v1.8.0 (#3033)44b5c29
refactor(noEvolvingAny): rename into noEvolvingTypes (#2959)Updates
cypress
from 13.7.3 to 13.11.0Release notes
Sourced from cypress's releases.
Commits
09c6876
chore: release 13.11.0 (#29615)e790891
feat: add option to ignore chrome preferences (#29447)4ccdd86
misc: Add generic types to net-stubbing for use in intercept and wait (#29508)687eb60
fix: Launchpad perpetual loading state, in certain circumstances (#29597)f2894c4
perf: optimize reduce in wrapConsoleProps (#29501)41faa7e
chore: Update Chrome (stable) to 125.0.6422.141 and Chrome (beta) to 126.0.64...ea83415
chore: move questions-remain into cypress repo (#29542)e6b422c
chore: release@cypress/webpack-dev-server-v3
.9.0cf6b29d
feat: support Next.JS version 14 (#29558)2cf5cf8
chore(deps): Security upgrade micromatch from 4.0.4 to 4.0.6 (#29559)Updates
esbuild
from 0.20.2 to 0.21.5Release notes
Sourced from esbuild's releases.
... (truncated)
Changelog
Sourced from esbuild's changelog.
... (truncated)
Commits
fc37c2f
publish 0.21.5 to npmcb11924
fixSymbol.metadata
errors in decorator testsb93a2a9
fix #3781: add metadata to all decorated classes953dae9
fix #3797: import attributes and glob-style import98cb2ed
fix #3782: support${configDir}
in tsconfig.json8e6603b
runmake update-compat-table
db1b8ca
fix #3792: import attributes and thecopy
loaderde572d0
fix non-deterministic import attribute plugin testae8d1b4
fix #3794:--supported:object-accessors=false
67cbf87
publish 0.21.4 to npmUpdates
semver
from 7.6.0 to 7.6.2Release notes
Sourced from semver's releases.
Changelog
Sourced from semver's changelog.
Commits
eb1380b
chore: release 7.6.2 (#714)6466ba9
fix(lru): use map.delete() directly (#713)d777418
chore: release 7.6.1 (#706)988a8de
deps: uninstalllru-cache
(#709)5feeb7f
chore: postinstall for dependabot template-oss PRdd09b60
chore: bump@npmcli/template-oss
to 4.22.0c570a34
fix(linting): no-unused-varsad8ff11
fix: use internal cache implementation3fabe4d
deps: remove lru-cacheec49cdc
chore: chore: chore: postinstall for dependabot template-oss PRUpdates
stylelint
from 16.3.1 to 16.6.1Release notes
Sourced from stylelint's releases.
Changelog
Sourced from stylelint's changelog.
Commits
d902c0b
16.6.142d08bd
Prepare 16.6.1 (#7721)b4f74e5
Ignoretmp/
from Prettier (#7726)62b58bc
Fixno-descending-specificity
false positives for nested selectors (#7724)72ec18a
Refactor to use shared constant fordisabledRanges
object (#7722)b85be3c
Fix typo in rules.md (#7717)9478c71
Bump file-entry-cache from 8.0.0 to 9.0.0 (#7720)211908b
Fixselector-type-no-unknown
false positive formodel
(#7718)fa85a70
Bump lint-staged from 15.2.4 to 15.2.5 (#7719)44de825
Bump lint-staged from 15.2.2 to 15.2.4 (#7713)Updates
tsx
from 4.7.2 to 4.15.4Release notes
Sourced from tsx's releases.
... (truncated)
Commits
4c53853
test(esm): confirm cjsInterop effectiveness5166122
fix(cjs): handle re-exports from relative paths531fafa
refactor(cjs): move implicitResolver outside of closure2a7deea
chore(issue): add monetary value6b03a38
fix(cjs): load json with namespace817d6b2
chore: improve issue close message7e1fe22
fix(esm): resolve implicit extension in package subpathfb247eb
fix: prevent ERR_DOMAIN_CANNOT_SET_UNCAUGHT_EXCEPTION_CAPTUREc67d746
feat: esbuild 0.21.4edbdfdf
feat: esbuild 0.21.3Updates
@vitejs/plugin-react
from 4.2.1 to 4.3.1Release notes
Sourced from
@vitejs/plugin-react
's releases.Changelog
Sourced from
@vitejs/plugin-react
's changelog.Commits
1609186
release: plugin-react@4.3.1ea647d1
fix: handle using compiler with React 18 (#330)7e7322a
release: plugin-react@4.3.04b4a95c
fix: don't use retainLines with react compiler (#319)2b7f2ae
fix: support HMR for class components (#320)302a323
docs: add minimum react version (#321)9ebfe68
chore: bump deps (#318)Updates
react
from 18.2.0 to 18.3.1Release notes
Sourced from react's releases.