Skip to content

chore(deps): bump the security-updates group across 1 directory with 4 updates - #113

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/security-updates-f8e0a4c72b
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/security-updates-f8e0a4c72b

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Bumps the security-updates group with 4 updates in the / directory: @hono/node-server, @vitest/mocker, source-map-js and vite.

Updates @hono/node-server from 1.19.19 to 2.1.6

Release notes

Sourced from @​hono/node-server's releases.

v2.1.6

Security fixes

This release includes fixes for the following security issues:

Backslash in the request path is parsed as a path separator, bypassing path-based access control at a reverse proxy

Affects: all requests. The raw request-target was passed to the WHATWG URL parser, which treats a backslash in the path as / and resolves .. segments, so /admin\secret reached the application as /admin/secret. A reverse proxy that forwards the backslash unchanged applied its path-based rules to the original path. GHSA-jpvv-r467-5p4w

A request whose path contains a raw backslash is now rejected with 400 Bad Request, for HTTP/1.1, HTTP/2 and WebSocket upgrades. A percent-encoded backslash (%5C) and a backslash in the query string are still accepted.

WebSocket upgrade request-target starting with // replaces the host in c.req.url, bypassing Origin checks

Affects: upgradeWebSocket. The URL of an upgrade request was built by resolving the request-target against the Host header, so a request-target such as //attacker.example/ws set the host of c.req.url to a client-chosen value while routing still saw /ws. An application that compared Origin with the origin of c.req.url could be bypassed by a page on another site. GHSA-7v5p-43qr-wch5

The host of upgrade requests now comes from the Host header, as for ordinary requests.

Unhandled ECONNRESET on the socket during an asynchronous WebSocket upgrade crashes the process

Affects: upgradeWebSocket. While the application handled an upgrade request, the socket had no error listener. A client that reset the connection during asynchronous middleware caused an unhandled 'error' event and terminated the process. GHSA-qv5m-9pm6-hqp3

Error and close events on the socket are now handled while the application runs, and a pending upgrade is released when the socket closes.


The backslash fix also ships in @hono/node-server v1.19.18. Users of upgradeWebSocket are encouraged to upgrade to this version.

v2.1.5

What's Changed

New Contributors

Full Changelog: honojs/node-server@v2.1.4...v2.1.5

v2.1.4

What's Changed

Full Changelog: honojs/node-server@v2.1.3...v2.1.4

v2.1.3

Security fixes

serveStatic decodes the request path a second time, leading to bypass of middleware on static paths

Affects: @hono/node-server/serve-static. Fixes serveStatic decoding an already-decoded path, where a crafted request could be routed as one path and served as another, skipping middleware mounted on a static prefix. GHSA-rmxm-3fg6-px4f

... (truncated)

Commits
  • 123f782 2.1.6
  • cfaa79f Merge commit from fork
  • 61cc026 Merge commit from fork
  • a152a45 test: wait for the first chunk before sending the second in the readable-stre...
  • fb97395 Merge commit from fork
  • 4b47a0d 2.1.5
  • e77824a fix(serve-static): only serve GET and HEAD requests (#405)
  • 1b6e6bf fix(listener): abort the request signal when an HTTP/2 client resets the stre...
  • d57ed9b 2.1.4
  • 92b014c chore: allow hono v5 as a peer dependency (#406)
  • Additional commits viewable in compare view

Updates @vitest/mocker from 3.2.7 to 5.1.2

Release notes

Sourced from @​vitest/mocker's releases.

v5.1.2

   🐞 Bug Fixes

   🏎 Performance

    View changes on GitHub

v5.1.1

   🚀 Features

   🐞 Bug Fixes

... (truncated)

Commits

Updates source-map-js from 1.2.1 to 1.3.0

Release notes

Sourced from source-map-js's releases.

v1.3.0

Minor Changes

  • Add SourceMapConsumer#ignoreList, the indices of the sources that are third-party code, and keep it in SourceMapGenerator.fromSourceMap() (#125)

    The consumer reads the map's ignoreList, or the deprecated x_google_ignoreList when there's no ignoreList. For an indexed map, it covers the sources of every section. A generator created with SourceMapGenerator.fromSourceMap() writes the consumer's ignored sources to ignoreList.

Patch Changes

  • Fix SourceMapGenerator.fromSourceMap() throwing on the consumer of an index source map (#132)

    It threw Cannot read properties of undefined (reading 'replace') for an index map with sources, and "<source>" is not in the SourceMap. for one with a source without content.

  • Fix SourceMapConsumer#file on index source maps: it was always undefined, even when the map has a file (#130)

    SourceMapGenerator#applySourceMap() can now take the source file from an index map's file, as it does from a regular source map's. As ECMA-426 asks, a file that isn't a string is read as null. An index map without file still gives undefined.

  • Fix eachMapping() on index source maps dropping the name of every mapping that uses the first entry of a section's names (#128)

    SourceNode.fromStringWithSourceMap() lost those names too, since it reads the mappings with eachMapping(). originalPositionFor() wasn't affected. A name index outside a section's names now gives no name instead of throwing, as ECMA-426 allows.

  • Fix SourceMapGenerator#applySourceMap() and SourceNode.fromStringWithSourceMap() throwing "<source>" is not in the SourceMap. for an index source map with a source that has no content (#131)

  • Fix index source maps throwing Support for url field in sections not implemented on a section that has both map and url (#123)

    The section's map is now used and url is ignored, as ECMA-426 asks for properties it doesn't define. A section with a url and no map still throws.

  • Fix sourceContentFor() on index source maps throwing for a source that's in the map but has no content; it now returns null, as on regular source maps (#142)

    A source that isn't in the map still throws "<source>" is not in the SourceMap.

  • Fix eachMapping() on index source maps giving a mapping without an original position the source "." instead of null (#129)

    Also fix SourceNode.fromStringWithSourceMap() throwing Cannot read properties of null (reading 'match') when it's given a relative path and the source map has code without an original position.

  • Drop mappings with a negative generated column, as ECMA-426 asks, instead of keeping them at that column (#135)

    Only invalid source maps have them. SourceMapGenerator.fromSourceMap() threw Invalid mapping on such a mapping. The other fields of a dropped segment still count for the next segment, as before, so the next segments decode as they did.

  • Keep a mapping with a negative original line or column without its original position, as ECMA-426 asks, instead of returning line 0 or a negative column (#137)

    Only invalid source maps have them. originalPositionFor() returned line: 0 or a negative column for such a mapping, and SourceMapGenerator.fromSourceMap() threw Invalid mapping on it. As in the spec, the mapping keeps its name, and its original line and column still count for the next segment.

  • Read a sourcesContent entry that isn't a string as null, as ECMA-426 asks, instead of returning the value from sourceContentFor() (#143)

    hasContentsOfAllSources() counted such an entry as content, and SourceMapGenerator.fromSourceMap() copied it into its output.

  • Fix SourceMapGenerator.fromSourceMap() giving a source the wrong content, or none, when the map has a sourceRoot that its sources start with (#133)

... (truncated)

Changelog

Sourced from source-map-js's changelog.

1.3.0

Minor Changes

  • Add SourceMapConsumer#ignoreList, the indices of the sources that are third-party code, and keep it in SourceMapGenerator.fromSourceMap() (#125)

    The consumer reads the map's ignoreList, or the deprecated x_google_ignoreList when there's no ignoreList. For an indexed map, it covers the sources of every section. A generator created with SourceMapGenerator.fromSourceMap() writes the consumer's ignored sources to ignoreList.

Patch Changes

  • Fix SourceMapGenerator.fromSourceMap() throwing on the consumer of an index source map (#132)

    It threw Cannot read properties of undefined (reading 'replace') for an index map with sources, and "<source>" is not in the SourceMap. for one with a source without content.

  • Fix SourceMapConsumer#file on index source maps: it was always undefined, even when the map has a file (#130)

    SourceMapGenerator#applySourceMap() can now take the source file from an index map's file, as it does from a regular source map's. As ECMA-426 asks, a file that isn't a string is read as null. An index map without file still gives undefined.

  • Fix eachMapping() on index source maps dropping the name of every mapping that uses the first entry of a section's names (#128)

    SourceNode.fromStringWithSourceMap() lost those names too, since it reads the mappings with eachMapping(). originalPositionFor() wasn't affected. A name index outside a section's names now gives no name instead of throwing, as ECMA-426 allows.

  • Fix SourceMapGenerator#applySourceMap() and SourceNode.fromStringWithSourceMap() throwing "<source>" is not in the SourceMap. for an index source map with a source that has no content (#131)

  • Fix index source maps throwing Support for url field in sections not implemented on a section that has both map and url (#123)

    The section's map is now used and url is ignored, as ECMA-426 asks for properties it doesn't define. A section with a url and no map still throws.

  • Fix sourceContentFor() on index source maps throwing for a source that's in the map but has no content; it now returns null, as on regular source maps (#142)

    A source that isn't in the map still throws "<source>" is not in the SourceMap.

  • Fix eachMapping() on index source maps giving a mapping without an original position the source "." instead of null (#129)

    Also fix SourceNode.fromStringWithSourceMap() throwing Cannot read properties of null (reading 'match') when it's given a relative path and the source map has code without an original position.

  • Drop mappings with a negative generated column, as ECMA-426 asks, instead of keeping them at that column (#135)

    Only invalid source maps have them. SourceMapGenerator.fromSourceMap() threw Invalid mapping on such a mapping. The other fields of a dropped segment still count for the next segment, as before, so the next segments decode as they did.

  • Keep a mapping with a negative original line or column without its original position, as ECMA-426 asks, instead of returning line 0 or a negative column (#137)

    Only invalid source maps have them. originalPositionFor() returned line: 0 or a negative column for such a mapping, and SourceMapGenerator.fromSourceMap() threw Invalid mapping on it. As in the spec, the mapping keeps its name, and its original line and column still count for the next segment.

  • Read a sourcesContent entry that isn't a string as null, as ECMA-426 asks, instead of returning the value from sourceContentFor() (#143)

    hasContentsOfAllSources() counted such an entry as content, and SourceMapGenerator.fromSourceMap() copied it into its output.

  • Fix SourceMapGenerator.fromSourceMap() giving a source the wrong content, or none, when the map has a sourceRoot that its sources start with (#133)

... (truncated)

Commits
  • 5fef0c2 1.3.0
  • a141b7d Read a sourcesContent entry that isn't a string as null (#143)
  • d8a3be4 Return null for a source without content on index maps (#142)
  • 6a50e6a Link the major-release todos to their tracking issue (#141)
  • 6385fa3 Use strict assertions in every test file (#140)
  • 4aae7cc Drop the original position of a mapping with a negative original line or colu...
  • 523d228 Mark the conformance todos that need a major release (#136)
  • e35ba1a Drop mappings with a negative generated column (#135)
  • 3931a48 Keep each source's content in fromSourceMap() with a sourceRoot (#133)
  • 33e2186 Fix SourceMapGenerator.fromSourceMap() on index source maps (#132)
  • Additional commits viewable in compare view

Updates vite from 7.3.6 to 8.4.1

Release notes

Sourced from vite's releases.

v8.4.1

Features

Bug Fixes

  • deps: update @​polka/compression to 1.0.0-next.28 (#24267) (14c7399)
  • deps: update all non-major dependencies (#24252) (781d558)
  • deps: update rolldown-related dependencies (#24191) (bd60bef)
  • dev: set external: false by default for this.resolve (#24246) (a19c577)
  • fallback to non-wasm es-module-lexer if wasm simd is not available (#24234) (fe22a73)
  • merge environment level configs properly in mergeConfig (#24229) (10889fa)
  • treat bun as a runtime builtin, not a node builtin (#24228) (6761388)

Performance Improvements

  • build: avoid the descriptor round-trip when injecting the ssr flag (#24239) (181a3a7)

Miscellaneous Chores

  • follow up on es-module-lexer wasm SIMD fallback (#24271) (b0fee68)
  • remove stale notes about unsupported rolldown options (#24253) (1738d4f)

Code Refactoring

Tests

Build System

  • remove dead and redundant externals from build config (#24249) (3df5295)

v8.4.0

Features

... (truncated)

Changelog

Sourced from vite's changelog.

8.4.1 (2026-12-02)

Features

Bug Fixes

  • deps: update @​polka/compression to 1.0.0-next.28 (#24267) (14c7399)
  • deps: update all non-major dependencies (#24252) (781d558)
  • deps: update rolldown-related dependencies (#24191) (bd60bef)
  • dev: set external: false by default for this.resolve (#24246) (a19c577)
  • fallback to non-wasm es-module-lexer if wasm simd is not available (#24234) (fe22a73)
  • merge environment level configs properly in mergeConfig (#24229) (10889fa)
  • treat bun as a runtime builtin, not a node builtin (#24228) (6761388)

Performance Improvements

  • build: avoid the descriptor round-trip when injecting the ssr flag (#24239) (181a3a7)

Miscellaneous Chores

  • follow up on es-module-lexer wasm SIMD fallback (#24271) (b0fee68)
  • remove stale notes about unsupported rolldown options (#24253) (1738d4f)

Code Refactoring

Tests

Build System

  • remove dead and redundant externals from build config (#24249) (3df5295)

8.4.0 (2026-11-26)

Features

... (truncated)

Commits
  • eab6b3b release: v8.4.1 (#24286)
  • e0954f2 feat(types): expose ResolvedEnvironmentOptions (#24285)
  • b0fee68 chore: follow up on es-module-lexer wasm SIMD fallback (#24271)
  • 14c7399 fix(deps): update @​polka/compression to 1.0.0-next.28 (#24267)
  • 10889fa fix: merge environment level configs properly in mergeConfig (#24229)
  • fe22a73 fix: fallback to non-wasm es-module-lexer if wasm simd is not available (#24234)
  • 6761388 fix: treat bun as a runtime builtin, not a node builtin (#24228)
  • 3e902cf test: close environment properly after tests (#24260)
  • 181a3a7 perf(build): avoid the descriptor round-trip when injecting the ssr flag (#...
  • a19c577 fix(dev): set external: false by default for this.resolve (#24246)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 19, 2026
@vgp-dependabot-auto-merge vgp-dependabot-auto-merge Bot added the needs-human-review Requires human review before merge label Nov 19, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/security-updates-f8e0a4c72b branch 2 times, most recently from 32161f1 to 6da63ec Compare November 25, 2026 10:20
…4 updates

Bumps the security-updates group with 4 updates in the / directory: [@hono/node-server](https://github.com/honojs/node-server), [@vitest/mocker](https://github.com/vitest-dev/vitest/tree/HEAD/packages/mocker), [source-map-js](https://github.com/7rulnik/source-map-js) and [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite).


Updates `@hono/node-server` from 1.19.19 to 2.1.6
- [Release notes](https://github.com/honojs/node-server/releases)
- [Commits](honojs/node-server@v1.19.19...v2.1.6)

Updates `@vitest/mocker` from 3.2.7 to 5.1.2
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v5.1.2/packages/mocker)

Updates `source-map-js` from 1.2.1 to 1.3.0
- [Release notes](https://github.com/7rulnik/source-map-js/releases)
- [Changelog](https://github.com/7rulnik/source-map-js/blob/main/CHANGELOG.md)
- [Commits](7rulnik/source-map-js@v1.2.1...v1.3.0)

Updates `vite` from 7.3.6 to 8.4.1
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v8.4.1/packages/vite)

---
updated-dependencies:
- dependency-name: "@hono/node-server"
  dependency-version: 2.1.6
  dependency-type: direct:production
  dependency-group: security-updates
- dependency-name: "@vitest/mocker"
  dependency-version: 5.1.1
  dependency-type: indirect
  dependency-group: security-updates
- dependency-name: source-map-js
  dependency-version: 1.2.4
  dependency-type: indirect
  dependency-group: security-updates
- dependency-name: vite
  dependency-version: 8.3.8
  dependency-type: indirect
  dependency-group: security-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/security-updates-f8e0a4c72b branch from 6da63ec to 4671a67 Compare December 2, 2026 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code needs-human-review Requires human review before merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants