-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): update dependency @cloudflare/vitest-pool-workers to ^0.8.0 #4
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/cloudflare-vitest-pool-workers-0.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
503b1b9
to
633e285
Compare
633e285
to
01ba1d7
Compare
01ba1d7
to
6e74e61
Compare
|
6e74e61
to
2084d31
Compare
2084d31
to
02ca2da
Compare
02ca2da
to
10b2d1f
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.1.0
->^0.8.0
Release Notes
cloudflare/workers-sdk (@cloudflare/vitest-pool-workers)
v0.8.0
Compare Source
Minor Changes
#7334
869ec7b
Thanks @threepointone! - chore: update esbuildThis patch updates esbuild from 0.17.19 to 0.24.2. That's a big bump! Lots has gone into esbuild since May '23. All the details are available at https://github.com/evanw/esbuild/blob/main/CHANGELOG.md / https://github.com/evanw/esbuild/blob/main/CHANGELOG-2023.md.
We now support all modern JavasScript/TypeScript features suported by esbuild (as of December 2024). New additions include standard decorators, auto-accessors, and the
using
syntax.0.18 introduced wider support for configuration specified via
tsconfig.json
https://github.com/evanw/esbuild/issues/3019. After observing the (lack of) any actual broken code over the last year for this release, we feel comfortable releasing this without considering it a breaking change.0.19.3 introduced support for import attributes
While we don't currently expose the esbuild configuration for developers to add their own plugins to customise how modules with import attributes are bundled, we may introduce new "types" ourselves in the future.
0.19.0 introduced support for wildcard imports. Specifics here (https://github.com/evanw/esbuild/blob/main/CHANGELOG-2023.md#0190). tl;dr -
These 2 patterns will bundle all files that match the glob pattern into a single file.
This pattern will NOT bundle any matching patterns:
You can use
find_additional_modules
to bundle any additional modules that are not referenced in the code but are required by the project.Now, this MAY be a breaking change for some. Specifically, if you were previously using the pattern (that will now include all files matching the glob pattern in the bundle), BUT
find_additional_modules
was NOT configured to include some files, those files would now be included in the bundle. For example, consider this code:Imagine if in that folder, you had these 3 files:
And your
wrangler.toml
was:Before this update:
http://localhost:8787/
would error. For example, a request tohttp://localhost:8787/one.js
would error with No such module "one.js".wrangler.toml
to include all.js
files in thesrc
folder:Now, a request to
http://localhost:8787/one.js
would return the contents ofsrc/one.js
, but a request tohttp://localhost:8787/hidden/secret.js
would error with No such module "hidden/secret.js". To include this file, you could expand therules
array to be:Then, a request to
http://localhost:8787/hidden/secret.js
will return the contents ofsrc/hidden/secret.js
.After this update:
Now, a request to
http://localhost:8787/one.js
will return the contents ofsrc/one.js
, but a request tohttp://localhost:8787/hidden/secret.js
will ALSO return the contents ofsrc/hidden/secret.js
. THIS MAY NOT BE WHAT YOU WANT. You can "fix" this in 2 ways:Now, no extra modules are included in the bundle, and a request to
http://localhost:8787/hidden/secret.js
will throw an error. You can use thefind_additional_modules
feature to include it again.Further, there may be some files that aren't modules (js/ts/wasm/text/binary/etc) that are in the folder being included (For example, a
photo.jpg
file). This pattern will now attempt to include them in the bundle, and throw an error. It will look like this:[ERROR] No loader is configured for ".png" files: src/photo.jpg
To fix this, simply move the offending file to a different folder.
In general, we DO NOT recommend using the wildcard import pattern. If done wrong, it can leak files into your bundle that you don't want, or make your worker slightly slower to start. If you must use it (either with a wildcard import pattern or with
find_additional_modules
) you must be diligent to check that your worker is working as expected and that you are not leaking files into your bundle that you don't want. You can configure eslint to disallow dynamic imports like this:Patch Changes
869ec7b
,869ec7b
,869ec7b
,869ec7b
,869ec7b
,869ec7b
,869ec7b
,869ec7b
,869ec7b
,869ec7b
,869ec7b
,869ec7b
,869ec7b
,869ec7b
,869ec7b
,869ec7b
,869ec7b
]:v0.7.8
Compare Source
Patch Changes
8d6d722
,8242e07
,e3efd68
,a352798
,53e6323
,4d9d9e6
]:v0.7.7
Compare Source
Patch Changes
7b6b0c2
]:v0.7.6
Compare Source
Patch Changes
#8338
2d40989
Thanks @GregBrimble! - feat: Upload _headers and _redirects if present with Workers Assets as part ofwrangler deploy
andwrangler versions upload
.#8288
cf14e17
Thanks @CarmenPopoviciu! - feat: Add assets Proxy Worker skeleton in miniflareThis commit implements a very basic Proxy Worker skeleton, and wires it in the "pipeline" miniflare creates for assets. This Worker will be incrementally worked on, but for now, the current implementation will forward all incoming requests to the Router Worker, thus leaving the current assets behaviour in local dev, the same.
This is an experimental feature available under the
--x-assets-rpc
flag:wrangler dev --x-assets-rpc
.Updated dependencies [
2d40989
,da568e5
,cf14e17
,af9a57a
,fbba583
,bca1fb5
,79c7810
]:v0.7.5
Compare Source
Patch Changes
#8173
a9c0159
Thanks @edmundhung! - improve error message with isolated storage#8199
60d2bc6
Thanks @edmundhung! - Added step-through debugging support with Vitest.To start debugging, run Vitest with the following command and attach a debugger to port 9229:
For more details, check out our Vitest Debugging guide.
Updated dependencies [
fce642d
,2cad136
,f59d95b
,a4909cb
]:v0.7.4
Compare Source
Patch Changes
#8254
2b92a65
Thanks @edmundhung! - fix: responses fromfetchMock
should have immutable headersUpdated dependencies [
36ef9c6
,1cb2d34
,36ef9c6
]:v0.7.3
Compare Source
Patch Changes
#8182
085a37a
Thanks @edmundhung! - fix mock modules not re-evaluated in watch modeUpdated dependencies [
968c3d9
,a9a4c33
,6cae13a
,6dd1e23
]:v0.7.2
Compare Source
Patch Changes
eb46f98
]:v0.7.1
Compare Source
Patch Changes
#7084
82a8937
Thanks @penalosa! - Support scoped names (e.g.@scoped/durable-objects
) when usingrunInDurableObject()
#8179
b10483c
Thanks @edmundhung! - fix: support running in directories that contain spacesv0.7.0
Compare Source
Minor Changes
aaa9cca
Thanks @penalosa! - Support Vitest v3. While this drops testing for Vitest v2, we expect Vitest v2 will continue to work as well.Patch Changes
5e06177
,cc853cf
,efd7f97
]:v0.6.16
Compare Source
Patch Changes
28b1dc7
]:v0.6.15
Compare Source
Patch Changes
3fb801f
,fff677e
,3fb801f
,542c6ea
,3fb801f
,4db1fb5
,542c6ea
,1bc60d7
,1aa2a91
,35710e5
]:v0.6.14
Compare Source
Patch Changes
#7810
ac4f30b
Thanks @edmundhung! - Added Vite dependency pre-bundling support. If you encounter module resolution issues—such as:Error: Cannot use require() to import an ES Module
orError: No such module
—you can now bundle these dependencies using the deps.optimizer option:Fixed #6591, #6581, #6405.
Updated dependencies [
a025ad2
]:v0.6.13
Compare Source
Patch Changes
b1966df
,c80dbd8
,1f80d69
,88514c8
,9d08af8
,6abe69c
,0c0374c
,b2dca9a
,6abe69c
,c412a31
,60310cd
,71fd250
]:v0.6.12
Compare Source
Patch Changes
59c7c8e
]:v0.6.11
Compare Source
Patch Changes
444a630
]:v0.6.10
Compare Source
Patch Changes
ab49886
,e2b3306
]:v0.6.9
Compare Source
Patch Changes
#7773
aa3ee63
Thanks @emily-shen! - fix: respectrun_worker_first
when testing worker with assetsUpdated dependencies [
d758215
,34f9797
,f57bc4e
,cf4f47a
,38db4ed
,de6fa18
,bc4d6c8
]:v0.6.8
Compare Source
Patch Changes
50b13f6
,134d61d
,5c02e46
,2b6f149
,bd9228e
,13ab591
]:v0.6.7
Compare Source
Patch Changes
fd5a455
,40f89a9
,7d138d9
]:v0.6.6
Compare Source
Patch Changes
e5ebdb1
,bdc7958
,78a9a2d
]:v0.6.5
Compare Source
Patch Changes
cccfe51
,fcaa02c
,26fa9e8
,97d2a1b
,d7adb50
,f6cc029
,9077a67
]:v0.6.4
Compare Source
Patch Changes
16a9460
]:v0.6.3
Compare Source
Patch Changes
a1ff045
]:v0.6.2
Compare Source
Patch Changes
902e3af
,19228e5
,e8aaa39
,8faf2c0
,dceb196
,8faf2c0
]:v0.6.1
Compare Source
Patch Changes
28b1dc7
]:v0.6.0
Compare Source
Minor Changes
78c1649
Thanks @andyjessop! - chore: add nodejs_compat by default in Vitest Pool WorkersPatch Changes
ff4e77e
,2c76887
,6439347
,e771fe9
,7c8ae1c
,78bdec5
,45d1d1e
,e4716cc
,773bda8
,9d2740a
,f3c2f69
]:v0.5.41
Compare Source
Patch Changes
#7668
94f650e
Thanks @romeupalos! - fix: Add support interception of URLs with repeated key/name in its query params.e.g.,
https://example.com/foo/bar?a=1&a=2
Updated dependencies [
cac7fa6
,d8fb032
,b4e0af1
,6c2f173
,755a27c
,8abb43f
]:v0.5.40
Compare Source
Patch Changes
1488e11
,7216835
,48e7e10
,8757579
,086a6b8
,2bbcb93
]:v0.5.39
Compare Source
Patch Changes
fb819f9
,5124b5d
,42b9429
,72935f9
,8def8c9
]:v0.5.38
Compare Source
Patch Changes
ca9410a
,6403e41
,15aa936
,2780849
]:v0.5.37
Compare Source
Patch Changes
004af53
,f13c897
,8af3365
,0356d0a
,2e90efc
,11f95f7
,3bc0f28
]:v0.5.36
Compare Source
Patch Changes
e0b98fd
]:v0.5.35
Compare Source
Patch Changes
669d7ad
,d2447c6
,4c140bc
]:v0.5.34
Compare Source
Patch Changes
415e5b5
,8f25ebe
,21a9e24
,b40d0ab
,f2045be
,9ede45b
,f5b9cd5
,9435af0
,20a0f17
,f4ae6ee
,14a7bc6
,073293f
,5e69799
,8c873ed
]:v0.5.33
Compare Source
Patch Changes
#7032
a18ed4e
Thanks @Codex-! - Add support for AbortSignal to fetch-mockUpdated dependencies [
24c752e
,ac87395
,a3f56d1
,80a83bb
,6ecc74e
,4cd8b46
,22a4055
,11338d0
,98d2725
,5928e8c
,b3d2e7d
]:v0.5.32
Compare Source
Patch Changes
6fe9533
,219109a
,02a0e1e
,5a2c93d
,1b1d01a
,7da76de
]:v0.5.31
Compare Source
Patch Changes
31729ee
]:v0.5.30
Compare Source
Patch Changes
97acf07
,1b80dec
,563439b
,a30c805
,fa21312
]:v0.5.29
Compare Source
Patch Changes
#7278
6508ea2
Thanks @andyjessop! - fix: ensures Vitest Pool Workers doesn't error when using nodejs_compat_v2 flagUpdated dependencies [
b6cbfbd
,edec415
,941d411
,e2e6912
,09e6e90
,b4a0e74
]:v0.5.28
Compare Source
Patch Changes
c12c0fe
,4814455
,beed72e
,94f07ee
,837f2f5
,c46e02d
]:v0.5.27
Compare Source
Patch Changes
b499b74
]:v0.5.26
Compare Source
Patch Changes
1db7846
,9098a3b
,3dce388
,ad51d1d
,1d5bc6d
,ef7c0b3
]:v0.5.25
Compare Source
Patch Changes
3ee1353
,e1d2fd6
,6380d86
,49ef163
,1bd4885
,a5f1779
,89f6274
,2278616
]:v0.5.24
Compare Source
Patch Changes
d938bb3
,f8ebdd1
]:v0.5.23
Compare Source
Patch Changes
68a2a84
,0111edb
,a33a133
,15ef013
,924ec18
,8ca4b32
,656a444
,038fdd9
,bd66d51
,bd66d51
,bd66d51
]:v0.5.22
Compare Source
Patch Changes
760e43f
, [cef32c8
](hConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.