Repository navigation
Update npm packages - #144
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
1.6.0→1.8.14.13.16→4.13.18Release Notes
cloudflare/workers-sdk (@cloudflare/vitest-plugin)
v1.8.1Compare Source
Patch Changes
#16833
5f539b5Thanks @jamesopstad! - Namecfcommands and settings in remote bindings errorsWhen remote bindings could not authenticate, the error told you to run
wrangler whoami,wrangler logoutandwrangler login. It now namescf auth whoami,cf auth logoutandcf auth login. When a Flagship binding without anidneeded to run remotely, the error named Wrangler'sapp_idsetting and suggestedwrangler flagship apps create. It now namesidand suggestscf flagship apps create.For the Vitest plugin, this applies to projects that load
cloudflare.config.ts. Projects that use a Wrangler configuration file still see the Wrangler commands.#16834
8e57331Thanks @edmundhung! - Fix test files never finishing when a socket read rejects after a Worker handler has answeredPreviously, if a handler finished while a socket was still being read, for example a database client's connection, the read's rejection could leave
vitest runwaiting forever after the tests passed. Vitest now reports the unhandled error and the run ends.Updated dependencies [
8b2a363,5f539b5,dc47e6d,575d136,3626ee8]:v1.8.0Compare Source
Minor Changes
#16682
5966749Thanks @ghostwriternr! - Run the Containers thatcloudflare.config.tsattaches to Durable ObjectsPreviously, projects that load
cloudflare.config.tsthrough theconfigoption ran those Durable Objects without their Containers. The plugin now prepares the Containers' images and runs them, as it does for Wrangler configuration files. Dockerfile and build context paths are relative to the directory that containscloudflare.config.ts.cloudflare.config.tshas no setting that disables local Containers, so, as with the Vite plugin, projects with Container-backed Durable Objects need Docker to run their tests.Patch Changes
#16824
877b249Thanks @jamesopstad! - Move streaming tail consumers toexperimental.streamingTailConsumersincloudflare.config.tsStreaming Tail Workers are now declared in a separate, experimental list instead of with
streaming: trueon atailConsumersentry.tailConsumersnow only lists Tail Workers with atail()handler. This is a breaking change to the experimental config API: move each entry that setstreaming: truetoexperimental.streamingTailConsumers, without thestreamingfield.Fields under
experimentalmay change or be removed without a major version bump. Thewrangler-to-cfcodemod now convertsstreaming_tail_consumerstoexperimental.streamingTailConsumers.#16734
c47cca7Thanks @matingathani! - Fix CommonJS dependencies being loaded as ES modules under Vitest 5 inline projectsA dependency with its own
"type": "commonjs"package.jsonwas treated as an ES module when an earlier.jsfile elsewhere in the project had been classified by the project's"type": "module"package.json. The dependency then failed at import with errors such asCannot set properties of undefinedorexports is not defined. The nearestpackage.jsonnow always decides how a.jsfile is loaded.Updated dependencies [
877b249,69e650c]:v1.7.0Compare Source
Minor Changes
#15695
d437be3Thanks @ghostwriternr! - Run the Containers that the Wrangler configuration attaches to Durable ObjectsPreviously, the plugin disabled Containers, so those Durable Objects ran without
ctx.container. The plugin now builds or pulls the Containers' images before each project's tests run and gives the Durable Objects a realctx.container, so these projects now need Docker. To keep running their tests without Docker, setdev.enable_containerstofalsein the Wrangler configuration, which disables the Containers. Cloudflare-managed registry images are not supported yet.Patch Changes
#16810
cdc970bThanks @dependabot! - UpdateDEFAULT_COMPAT_DATEto 2026-11-10Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.
Updated dependencies [
cb9534f,6af492e,cdc970b,cdc970b,4e7e9f1,267dadb,022ee9d,44b39b0,325dc69]:v1.6.1Compare Source
Patch Changes
#16793
fea323aThanks @vicb! - Bumpcapnp-esto 0.0.17This release fixes 3 issues. See the release notes for details.
#16683
6f29f97Thanks @jamesopstad! - Stop persisting account selections made bycfand the Cloudflare Vite and Vitest pluginsProfiles continue to select credentials rather than accounts. If the active credentials can access one account, it is selected automatically. If they can access multiple accounts,
cfand the Vite and Vitest plugins reuse the selection while running but ask again the next time they start. ConfigureaccountIdincloudflare.config.tsor set theCLOUDFLARE_ACCOUNT_IDenvironment variable to avoid repeated prompts.Wrangler's existing persistent account selection remains unchanged.
#16648
56459a5Thanks @dario-piotrowicz! - Update bundled third-party dependencies with known security fixesLocal development and Workers Vitest tests now include security fixes for their bundled dependencies. Local browser rendering also includes security fixes for browser downloads, archive extraction, and proxy support.
Miniflare and Wrangler now require Node.js 22.12.0 or later, matching the supported runtime range of the new browser installer.
#16746
abf924eThanks @dependabot! - UpdateDEFAULT_COMPAT_DATEto 2026-11-06Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.
#16792
de10016Thanks @dependabot! - UpdateDEFAULT_COMPAT_DATEto 2026-11-09Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.
#15693
307a69aThanks @ghostwriternr! - Dispose Miniflare when a Vitest runtime fails to startPreviously, a Miniflare instance whose startup failed was never disposed, so anything it had already started kept running. If disposal also fails, the original startup error is still reported.
#16699
cd24b27Thanks @matingathani! - Fixvi.mock()factories failing under Vitest 5.1Mock factories in
vi.mock()now work when running tests with Vitest 5.1 and later. Previously, any test file that used a mock factory failed during import withasyncLocalStorage.disable() is not implemented.Updated dependencies [
fea323a,a589d23,56459a5,fe69809,abf924e,de10016,abf924e,de10016,2fb01e7,dee7a1d,dc4e093,cff83d0,3ef2afd,4112820,66bc0d6,cff83d0,9b6582c,c64fdfb,4112820]:honojs/hono (hono)
v4.13.18Compare Source
Security fixes
This release includes fixes for the following security issues:
validator()skips validation for requests whoseContent-Typeparameters are formatted differentlyAffects:
validator('json')andvalidator('form')inhono/validator. AContent-Typewith whitespace before;, a trailing;, or an unusual parameter name was not recognized, so the validator saw an empty object while the handler could read all fields. This completes the fix for GHSA-4h7h-rv7c-7m2v. The validator now decides by the media type alone, asc.req.parseBody()does. GHSA-92p4-j3wq-jmqxbodyLimit()keeps every transfer chunk of a request body in memoryAffects:
bodyLimit()inhono/body-limit. A body sent in very small transfer chunks was retained as one object per chunk, so a request within the configured limit could exhaust memory. The body is now buffered in one array bounded bymaxSize. GHSA-39q9-qp46-w8xgmount()andapp.mount()forward a wrong path when a customgetPathadds a prefixAffects:
mount()inhono/mountandapp.mount()on 4.13.16 and 4.13.17. With agetPaththat prepends a prefix such as the host name, one segment too many was removed from the forwarded path, so middleware scoped inside the mount prefix could be skipped. The prefix is removed from the routed path again. Paths that would change meaning when forwarded now get 400, and an optional regular expression parameter in a mount path throws. GHSA-h25j-2p75-qj33serveStatic()serves a path that was decoded twice whenallowPercentInPathis enabledAffects:
serveStatic()inhono/serve-staticand the runtime adapters, only withallowPercentInPath: true. A malformed percent escape in the request path was decoded a second time, so a path that middleware registered on the encoded form did not see could still reach a static file. The file path must now be the same as the routed path, and otherwise the response is 404. GHSA-74fm-fwc7-3fwpUsers who rely on
validator(),bodyLimit(),mount()with a customgetPath, orserveStatic()withallowPercentInPathare strongly encouraged to upgrade to this version.Full Changelog: honojs/hono@v4.13.17...v4.13.18
v4.13.17Compare Source
What's Changed
__Secure-and__Host-prefixes case-insensitively in #5608setMetricin #5363__Secure-and__Host-prefixes case-insensitively inCookieConstraintin #5611ErrorBoundaryin #5430toSSGruns in #5381Full Changelog: honojs/hono@v4.13.16...v4.13.17
Configuration
📅 Schedule: (in timezone Asia/Shanghai)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.