build(deps): bump esbuild, vite, @vitest/coverage-v8, vite-plugin-stylelint and vitest
Type: Pull Request
State: Closed
![dependabot[bot]](https://github.com/dependabot.png)
Association: Contributor
Comments: 1
(4 months ago)
(3 months ago)
(3 months ago)
dependencies javascript
jeffredodd
Bumps esbuild to 0.25.4 and updates ancestor dependencies esbuild, vite, @vitest/coverage-v8, vite-plugin-stylelint and vitest. These dependencies need to be updated together.
Updates esbuild
from 0.21.5 to 0.25.4
Release notes
Sourced from esbuild's releases.
v0.25.4
Add simple support for CORS to esbuild's development server (#4125)
Starting with version 0.25.0, esbuild's development server is no longer configured to serve cross-origin requests. This was a deliberate change to prevent any website you visit from accessing your running esbuild development server. However, this change prevented (by design) certain use cases such as "debugging in production" by having your production website load code from
localhost
where the esbuild development server is running.To enable this use case, esbuild is adding a feature to allow Cross-Origin Resource Sharing (a.k.a. CORS) for simple requests. Specifically, passing your origin to the new
cors
option will now set theAccess-Control-Allow-Origin
response header when the request has a matchingOrigin
header. Note that this currently only works for requests that don't send a preflightOPTIONS
request, as esbuild's development server doesn't currently supportOPTIONS
requests.Some examples:
CLI:
esbuild --servedir=. --cors-origin=https://example.com
JS:
const ctx = await esbuild.context({}) await ctx.serve({ servedir: '.', cors: { origin: 'https://example.com', }, })
Go:
ctx, _ := api.Context(api.BuildOptions{}) ctx.Serve(api.ServeOptions{ Servedir: ".", CORS: api.CORSOptions{ Origin: []string{"https://example.com"}, }, })
The special origin
*
can be used to allow any origin to access esbuild's development server. Note that this means any website you visit will be able to read everything served by esbuild.Pass through invalid URLs in source maps unmodified (#4169)
This fixes a regression in version 0.25.0 where
sources
in source maps that form invalid URLs were not being passed through to the output. Version 0.25.0 changed the interpretation ofsources
from file paths to URLs, which means that URL parsing can now fail. Previously URLs that couldn't be parsed were replaced with the empty string. With this release, invalid URLs insources
should now be passed through unmodified.Handle exports named
__proto__
in ES modules (#4162, #4163)In JavaScript, the special property name
__proto__
sets the prototype when used inside an object literal. Previously esbuild's ESM-to-CommonJS conversion didn't special-case the property name of exports named__proto__
so the exported getter accidentally became the prototype of the object literal. It's unclear what this affects, if anything, but it's better practice to avoid this by using a computed property name in this case.This fix was contributed by
@magic-akari
.
... (truncated)
Changelog
Sourced from esbuild's changelog.
Changelog: 2024
This changelog documents all esbuild versions published in the year 2024 (versions 0.19.12 through 0.24.2).
0.24.2
Fix regression with
--define
andimport.meta
(#4010, #4012, #4013)The previous change in version 0.24.1 to use a more expression-like parser for
define
values to allow quoted property names introduced a regression that removed the ability to use--define:import.meta=...
. Even thoughimport
is normally a keyword that can't be used as an identifier, ES modules special-case theimport.meta
expression to behave like an identifier anyway. This change fixes the regression.This fix was contributed by
@sapphi-red
.0.24.1
Allow
es2024
as a target intsconfig.json
(#4004)TypeScript recently added
es2024
as a compilation target, so esbuild now supports this in thetarget
field oftsconfig.json
files, such as in the following configuration file:{ "compilerOptions": { "target": "ES2024" } }
As a reminder, the only thing that esbuild uses this field for is determining whether or not to use legacy TypeScript behavior for class fields. You can read more in the documentation.
This fix was contributed by
@billyjanitsch
.Allow automatic semicolon insertion after
get
/set
This change fixes a grammar bug in the parser that incorrectly treated the following code as a syntax error:
class Foo { get *x() {} set *y() {} }
The above code will be considered valid starting with this release. This change to esbuild follows a similar change to TypeScript which will allow this syntax starting with TypeScript 5.7.
Allow quoted property names in
--define
and--pure
(#4008)The
define
andpure
API options now accept identifier expressions containing quoted property names. Previously all identifiers in the identifier expression had to be bare identifiers. This change now makes--define
and--pure
consistent with--global-name
, which already supported quoted property names. For example, the following is now possible:
... (truncated)
Commits
218d29e
publish 0.25.4 to npme66cd0b
dev server: simple support for CORS requests (#4171)8bf3368
js api: validate some options as arrays of strings1e7375a
js api: simplify comma-separated array validation5f5964d
release notes for #4163adb5284
fix: handle__proto__
as a computed property in exports and add tests for s...0aa9f7b
fix #4169: keep invalid source map URLs unmodified5959289
add additional guards for #4114 when using:is()
677910b
publish 0.25.3 to npma41040e
fix #4110: support custom non-IPhost
values- Additional commits viewable in compare view
Updates vite
from 5.4.18 to 6.3.5
Release notes
Sourced from vite's releases.
v6.3.5
Please refer to CHANGELOG.md for details.
v6.3.4
Please refer to CHANGELOG.md for details.
v6.3.3
Please refer to CHANGELOG.md for details.
v6.3.2
Please refer to CHANGELOG.md for details.
create-vite@6.3.1
Please refer to CHANGELOG.md for details.
v6.3.1
Please refer to CHANGELOG.md for details.
create-vite@6.3.0
Please refer to CHANGELOG.md for details.
v6.3.0
Please refer to CHANGELOG.md for details.
v6.3.0-beta.2
Please refer to CHANGELOG.md for details.
v6.3.0-beta.1
Please refer to CHANGELOG.md for details.
v6.3.0-beta.0
Please refer to CHANGELOG.md for details.
v6.2.7
Please refer to CHANGELOG.md for details.
v6.2.6
Please refer to CHANGELOG.md for details.
v6.2.5
Please refer to CHANGELOG.md for details.
v6.2.4
Please refer to CHANGELOG.md for details.
v6.2.3
Please refer to CHANGELOG.md for details.
v6.2.2
Please refer to CHANGELOG.md for details.
... (truncated)
Changelog
Sourced from vite's changelog.
6.3.5 (2025-05-05)
6.3.4 (2025-04-30)
- fix: check static serve file inside sirv (#19965) (c22c43d), closes #19965
- fix(optimizer): return plain object when using
require
to import externals in optimized dependenci (efc5eab), closes #19940- refactor: remove duplicate plugin context type (#19935) (d6d01c2), closes #19935
6.3.3 (2025-04-24)
- fix: ignore malformed uris in tranform middleware (#19853) (e4d5201), closes #19853
- fix(assets): ensure ?no-inline is not included in the asset url in the production environment (#1949 (16a73c0), closes #19496
- fix(css): resolve relative imports in sass properly on Windows (#19920) (ffab442), closes #19920
- fix(deps): update all non-major dependencies (#19899) (a4b500e), closes #19899
- fix(ssr): fix execution order of re-export (#19841) (ed29dee), closes #19841
- fix(ssr): fix live binding of default export declaration and hoist exports getter (#19842) (80a91ff), closes #19842
- perf: skip sourcemap generation for renderChunk hook of import-analysis-build plugin (#19921) (55cfd04), closes #19921
- test(ssr): test
ssrTransform
re-export deps and test stacktrace with first line (#19629) (9399cda), closes #196296.3.2 (2025-04-18)
- fix: match default asserts case insensitive (#19852) (cbdab1d), closes #19852
- fix: open first url if host does not match any urls (#19886) (6abbdce), closes #19886
- fix(css): respect
css.lightningcss
option in css minification process (#19879) (b5055e0), closes #19879- fix(deps): update all non-major dependencies (#19698) (bab4cb9), closes #19698
- feat(css): improve lightningcss messages (#19880) (c713f79), closes #19880
6.3.1 (2025-04-17)
- fix: avoid using
Promise.allSettled
in preload function (#19805) (35c7f35), closes #19805- fix: backward compat for internal plugin
transform
calls (#19878) (a152b7c), closes #198786.3.0 (2025-04-16)
... (truncated)
Commits
84e4647
release: v6.3.5fd38d07
fix(ssr): handle uninitialized export access as undefined (#19959)b040d54
release: v6.3.4c22c43d
fix: check static serve file inside sirv (#19965)efc5eab
fix(optimizer): return plain object when usingrequire
to import externals ...d6d01c2
refactor: remove duplicate plugin context type (#19935)db9eb97
release: v6.3.3e4d5201
fix: ignore malformed uris in tranform middleware (#19853)55cfd04
perf: skip sourcemap generation for renderChunk hook of import-analysis-build...ffab442
fix(css): resolve relative imports in sass properly on Windows (#19920)- Additional commits viewable in compare view
Updates @vitest/coverage-v8
from 2.1.9 to 3.1.4
Release notes
Sourced from @vitest/coverage-v8
's releases.
v3.1.4
🐞 Bug Fixes
- Apply browser CLI options only if the project has the browser set in the config already - by
@sheremet-va
in vitest-dev/vitest#8002 (64f2b)View changes on GitHub
v3.1.3
🐞 Bug Fixes
- Correctly resolve vitest import if
inline: true
is set - by@sheremet-va
in vitest-dev/vitest#7856 (a83f3)- Fix fixture parsing with lowered async with esbuild 0.25.3 - by
@hi-ogawa
in vitest-dev/vitest#7921 (c5c85)- Remove event-catcher code - by
@sheremet-va
in vitest-dev/vitest#7898 (deb1b)- Reset mocks on test retry/repeat - by
@sheremet-va
in vitest-dev/vitest#7897 (2fa76)- Ignore failures on writeToCache - by
@orgads
in vitest-dev/vitest#7893 (8c7f7)- browser: Correctly inherit CLI options - by
@sheremet-va
in vitest-dev/vitest#7858 (03660)- deps: Update all non-major dependencies - in vitest-dev/vitest#7867 (67ef7)
- reporters:
--merge-reports
to show each total run times - by@AriPerkkio
in vitest-dev/vitest#7877 (d613b)View changes on GitHub
v3.1.2
🐞 Bug Fixes
- Add global
chai
variable invitest/globals
(fix: #7474) - by@Jay-Karia
in vitest-dev/vitest#7771 and vitest-dev/vitest#7474 (d9297)- Prevent modifying
test.exclude
when same object passed incoverage.exclude
- by@AriPerkkio
in vitest-dev/vitest#7774 (c3751)- Fix already hoisted mock - by
@hi-ogawa
in vitest-dev/vitest#7815 (773b1)- Fix test.scoped inheritance - by
@hi-ogawa
in vitest-dev/vitest#7814 (db6c3)- Remove pointer-events-none after resizing the left panel - by
@alexprudhomme
in vitest-dev/vitest#7811 (a7e77)- Default to run mode when stdin is not a TTY - by
@kentonv
,@hi-ogawa
and@sheremet-va
in vitest-dev/vitest#7673 (6358f)- Use happy-dom/jsdom types for
envionmentOptions
- by@hi-ogawa
in vitest-dev/vitest#7795 (67430)- browser:
- Fix transform error before browser server initialization - by
@hi-ogawa
in vitest-dev/vitest#7783 (5f762)- Fix mocking from outside of root - by
@hi-ogawa
in vitest-dev/vitest#7789 (03f55)- Scale iframe for non ui case - by
@hi-ogawa
in vitest-dev/vitest#6512 (c3374)- coverage:
await
profiler calls - by@AriPerkkio
in vitest-dev/vitest#7763 (795a6)- Expose profiling timers - by
@AriPerkkio
in vitest-dev/vitest#7820 (5652b)- deps:
- Update all non-major dependencies - in vitest-dev/vitest#7765 (7c3df)
- Update all non-major dependencies - in vitest-dev/vitest#7831 (15701)
- runner:
- Correctly call test hooks and teardown functions - by
@sheremet-va
in vitest-dev/vitest#7775 (3c00c)- Show stacktrace on test timeout error - by
@hi-ogawa
in vitest-dev/vitest#7799 (df33b)- ui:
- Load panel sizes from storage on initial load - by
@userquin
in vitest-dev/vitest#7265 (6555d)- vite-node:
- Named export should overwrite export all - by
@hi-ogawa
in vitest-dev/vitest#7846 (5ba0d)- Add ERR_MODULE_NOT_FOUND code error if module cannot be loaded - by
@sheremet-va
in vitest-dev/vitest#7776 (f9eac)
... (truncated)
Commits
ac88181
chore: release v3.1.46e8d937
chore: release v3.1.35a0afd1
chore: release v3.1.25652bf9
fix(coverage): expose profiling timers (#7820)795a643
fix(coverage):await
profiler calls (#7763)a9d36c7
chore: release v3.1.1b8eda4b
chore: release v3.1.0f32c537
chore: release v3.1.0-beta.29695d73
chore: replacerollup-plugin-esbuild
withunplugin-oxc
(#7680)2f7f364
chore: release v3.1.0-beta.1- Additional commits viewable in compare view
Updates vite-plugin-stylelint
from 5.3.1 to 6.0.0
Release notes
Sourced from vite-plugin-stylelint's releases.
v6.0.0
🚨 Breaking Changes
🐞 Bug Fixes
- StylelintInstance may not be initialized when calling lintFiles in the worker - by
@ModyQyW
(2caf0)- Remove extra parsing - by
@ModyQyW
(68906)- Terminate worker if possible - by
@ModyQyW
(acd43)- Fix wrong colorize - by
@ModyQyW
(55eb4)- Correct id & filePath params - by
@ModyQyW
(9c789)View changes on GitHub
v6.0.0-beta.2
🐞 Bug Fixes
View changes on GitHub
v6.0.0-beta.1
No significant changes
View changes on GitHub
v6.0.0-beta.0
🚨 Breaking Changes
🐞 Bug Fixes
- StylelintInstance may not be initialized when calling lintFiles in the worker - by
@ModyQyW
(2caf0)- Remove extra parsing - by
@ModyQyW
(68906)- Terminate worker if possible - by
@ModyQyW
(acd43)- Fix wrong colorize - by
@ModyQyW
(55eb4)View changes on GitHub
Changelog
Sourced from vite-plugin-stylelint's changelog.
6.0.0 (2024-11-26)
Note: Version bump only for package vite-plugin-stylelint
6.0.0-beta.2 (2024-11-08)
Bug Fixes
- correct id & filePath params (9c78976) - by @
6.0.0-beta.1 (2024-10-19)
Note: Version bump only for package vite-plugin-stylelint
6.0.0-beta.0 (2024-10-14)
⚠ BREAKING CHANGES
- remove chokidar, introduce another way to handle imported style files
Features
Bug Fixes
Commits
a10c6ff
chore: release v6.0.0065224f
docs: update1dbb3d8
chore: update deps6c6dd54
chore: release v6.0.0-beta.29c78976
fix: correct id & filePath params4b82c9d
chore: update depsf12b2e5
chore: release v6.0.0-beta.1e863306
chore: biome fix54605e5
chore: update deps77da09c
chore: fix repository link, close https://github.com/ModyQyW/vite-plugin-styl...- Additional commits viewable in compare view
Updates vitest
from 2.1.9 to 3.1.4
Release notes
Sourced from vitest's releases.
v3.1.4
🐞 Bug Fixes
- Apply browser CLI options only if the project has the browser set in the config already - by
@sheremet-va
in vitest-dev/vitest#8002 (64f2b)View changes on GitHub
v3.1.3
🐞 Bug Fixes
- Correctly resolve vitest import if
inline: true
is set - by@sheremet-va
in vitest-dev/vitest#7856 (a83f3)- Fix fixture parsing with lowered async with esbuild 0.25.3 - by
@hi-ogawa
in vitest-dev/vitest#7921 (c5c85)- Remove event-catcher code - by
@sheremet-va
in vitest-dev/vitest#7898 (deb1b)- Reset mocks on test retry/repeat - by
@sheremet-va
in vitest-dev/vitest#7897 (2fa76)- Ignore failures on writeToCache - by
@orgads
in vitest-dev/vitest#7893 (8c7f7)- browser: Correctly inherit CLI options - by
@sheremet-va
in vitest-dev/vitest#7858 (03660)- deps: Update all non-major dependencies - in vitest-dev/vitest#7867 (67ef7)
- reporters:
--merge-reports
to show each total run times - by@AriPerkkio
in vitest-dev/vitest#7877 (d613b)View changes on GitHub
v3.1.2
🐞 Bug Fixes
- Add global
chai
variable invitest/globals
(fix: #7474) - by@Jay-Karia
in vitest-dev/vitest#7771 and vitest-dev/vitest#7474 (d9297)- Prevent modifying
test.exclude
when same object passed incoverage.exclude
- by@AriPerkkio
in vitest-dev/vitest#7774 (c3751)- Fix already hoisted mock - by
@hi-ogawa
in vitest-dev/vitest#7815 (773b1)- Fix test.scoped inheritance - by
@hi-ogawa
in vitest-dev/vitest#7814 (db6c3)- Remove pointer-events-none after resizing the left panel - by
@alexprudhomme
in vitest-dev/vitest#7811 (a7e77)- Default to run mode when stdin is not a TTY - by
@kentonv
,@hi-ogawa
and@sheremet-va
in vitest-dev/vitest#7673 (6358f)- Use happy-dom/jsdom types for
envionmentOptions
- by@hi-ogawa
in vitest-dev/vitest#7795 (67430)- browser:
- Fix transform error before browser server initialization - by
@hi-ogawa
in vitest-dev/vitest#7783 (5f762)- Fix mocking from outside of root - by
@hi-ogawa
in vitest-dev/vitest#7789 (03f55)- Scale iframe for non ui case - by
@hi-ogawa
in vitest-dev/vitest#6512 (c3374)- coverage:
await
profiler calls - by@AriPerkkio
in vitest-dev/vitest#7763 (795a6)- Expose profiling timers - by
@AriPerkkio
in vitest-dev/vitest#7820 (5652b)- deps:
- Update all non-major dependencies - in vitest-dev/vitest#7765 (7c3df)
- Update all non-major dependencies - in vitest-dev/vitest#7831 (15701)
- runner:
- Correctly call test hooks and teardown functions - by
@sheremet-va
in vitest-dev/vitest#7775 (3c00c)- Show stacktrace on test timeout error - by
@hi-ogawa
in vitest-dev/vitest#7799 (df33b)- ui:
- Load panel sizes from storage on initial load - by
@userquin
in vitest-dev/vitest#7265 (6555d)- vite-node:
- Named export should overwrite export all - by
@hi-ogawa
in vitest-dev/vitest#7846 (5ba0d)- Add ERR_MODULE_NOT_FOUND code error if module cannot be loaded - by
@sheremet-va
in vitest-dev/vitest#7776 (f9eac)
... (truncated)
Commits
ac88181
chore: release v3.1.464f2b43
fix: apply browser CLI options only if the project has the browser set in the...6e8d937
chore: release v3.1.38c7f75a
fix: ignore failures on writeToCache (#7893)d613b81
fix(reporters):--merge-reports
to show each total run times (#7877)2fa763a
fix: reset mocks on test retry/repeat (#7897)573cb16
ci: fix flaky browser tests (#7887)03660f9
fix(browser): correctly inherit CLI options (#7858)a83f3bf
fix: correctly resolve vitest import ifinline: true
is set (#7856)5a0afd1
chore: release v3.1.2- Additional commits viewable in compare view
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 <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the Security Alerts page.
Pull Request Statistics
1
2
+10350
-11386
Package Dependencies
Technical Details
ID: | 609748 |
UUID: | 2540560910 |
Node ID: | PR_kwDONB5IW86XbeIO |
Host: | GitHub |
Repository: | Gusto/embedded-react-sdk |
Mergeable: | Yes |
Merge State: | Clean |
Rebaseable: | Yes |