Previously, each override inherited the unset configuration of the base configuration.
This means that setting a configuration in an override can be concealed by a subsequent override that inherits of the value from the base configuration.
For example, in the next example, noDebugger was disabled for the index.js file.
Previously, each override inherited the unset configuration of the base configuration.
This means that setting a configuration in an override can be concealed by a subsequent override that inherits of the value from the base configuration.
For example, in the next example, noDebugger was disabled for the index.js file.
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:
Bumps the dev-dependencies group with 15 updates in the / directory:
1.7.0
1.8.2
13.7.3
13.12.0
0.20.2
0.21.5
7.6.0
7.6.2
16.3.1
16.6.1
4.7.2
4.15.6
5.4.5
5.5.2
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.2Release notes
Sourced from
@biomejs/biome
's releases.... (truncated)
Changelog
Sourced from
@biomejs/biome
's changelog.... (truncated)
Commits
54b4c9a
release: v1.8.2 (#3243)6f8cab7
feat(biome_css_analyzer): implement function-linear-gradient-no-nonstandard-d...0d9b60a
feat(lint/useValidAutocomplete): add rule (#3143)9d518d8
chore(deps): update@biomejs
packages (#3145)4a7baaa
feat(biome_js_analyzer):noSubstr
(#3125)535acc7
fix(ci): rule check error messages (#3158)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)Updates
cypress
from 13.7.3 to 13.12.0Release notes
Sourced from cypress's releases.
Commits
54a636e
chore: release 13.12.0 (#29701)949fcac
chore: Update v8 snapshot cache (#29677)d239847
chore: Update Chrome (stable) to 126.0.6478.61 (#29679)9c9bf5b
fix: "type" action with {upArrow} and {downArrow} arguments to simula… (#29636)7827656
chore: Update Chrome (beta) to 127.0.6533.4 (#29667)31d4a99
dependency: update dependency firefox-profile to v4.6.0 (#29662)6115680
chore: Update v8 snapshot cache (#29664)ee3ff88
chore: update vite to version 5 inside the monorepo (#29617)dfec1e7
chore: commit packages/graphql/schemas/schema.graphql from PR #29420 (#29657)526eedd
dependency: update dependency url-parse to v1.5.10 (#29650)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.6Release notes
Sourced from tsx's releases.
... (truncated)
Commits
cb27d4d
fix: minimum Node version in warning formodule.register()
(#592)97a23ee
docs: add logoc22fa7d
fix(cjs): make transformers overwritable6e117c2
chore: add tsx.is homepage to package.json4c53853
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 messageUpdates
typescript
from 5.4.5 to 5.5.2Release notes
Sourced from typescript's releases.
Commits
ce2e60e
Update LKGf3b21a2
🤖 Pick PR #58931 (Defer creation of barebonesLibSourc...) into release-5.5 (#...7b1620b
🤖 Pick PR #58811 (fix(58801): "Move to file" on globa...) into release-5.5 (#...5367ae1
Bump version to 5.5.2 and LKG02132e5
🤖 Pick PR #58895 (Fix global when typescript.js loade...) into release-5.5 (#...45b1e3c
🤖 Pick PR #58872 (Fix declaration emit crash) into release-5.5 (#58874)17933ee
🤖 Pick PR #58810 (Fixed declaration emit issue relate...) into release-5.5 (#...552b07e
🤖 Pick PR #58786 (Fixed declaration emit crash relate...) into release-5.5 (#...39c9eeb
Pick #58857 to release-5.5 (#58858)2b0009c
🤖 Pick PR #58846 (Ensure the updates with crashes rev...) into release-5.5 (#...Updates
@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.