Skip to content

chore(deps): bump serialize-javascript and copy-webpack-plugin#1

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/multi-f89ca03f7f
Open

chore(deps): bump serialize-javascript and copy-webpack-plugin#1
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/multi-f89ca03f7f

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 12, 2026

Copy link
Copy Markdown

Bumps serialize-javascript to 7.0.5 and updates ancestor dependency copy-webpack-plugin. These dependencies need to be updated together.

Updates serialize-javascript from 6.0.2 to 7.0.5

Release notes

Sourced from serialize-javascript's releases.

v7.0.5

Fixes

  • Improve robustness and validation for array-like object serialization.
  • Fix an issue where certain object structures could lead to excessive CPU usage.

For more details, please see GHSA-qj8w-gfj5-8c6v.

v7.0.4

What's Changed

Full Changelog: yahoo/serialize-javascript@v7.0.3...v7.0.4

v7.0.3

  • fix(CVE-2020-7660): fix for RegExp.flags and Date.prototype.toISOString (#207) 2e609d0
  • build(deps-dev): bump lodash from 4.17.21 to 4.17.23 (#206) 42b7cdb

yahoo/serialize-javascript@v7.0.2...v7.0.3

v7.0.2

What's Changed

Full Changelog: yahoo/serialize-javascript@v7.0.1...v7.0.2

v7.0.1

What's Changed

New Contributors

Full Changelog: yahoo/serialize-javascript@v7.0.0...v7.0.1

v7.0.0

Breaking Changes

  • requires Node.js v20+

What's Changed

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for serialize-javascript since your current version.


Updates copy-webpack-plugin from 12.0.2 to 14.0.0

Release notes

Sourced from copy-webpack-plugin's releases.

v14.0.0

14.0.0 (2026-03-02)

⚠ BREAKING CHANGES

  • minimum supported Node.js version is 20.9.0 (#819) (2881203)

Bug Fixes

  • update serialize-javascript to fix security problems

v13.0.1

13.0.1 (2025-08-12)

Bug Fixes

v13.0.0

13.0.0 (2025-02-27)

⚠ BREAKING CHANGES

  • switch from globby and fast-glob to tinyglobby (#795) (19fd937)

For more information please visit tinyglobby.

The breaking change only affects the developer who used these options - gitignore and ignoreFiles in the globOptions option.

Please migrate to the ignore option.

Bug Fixes

  • concurrency option is limited to files now (#796) (d42469c)
  • the order of patterns provided by the developer is respected
Changelog

Sourced from copy-webpack-plugin's changelog.

14.0.0 (2026-03-02)

⚠ BREAKING CHANGES

  • minimum supported Node.js version is 20.9.0 (#819) (2881203)

Bug Fixes

  • update serialize-javascript to fix security problems

13.0.1 (2025-08-12)

Bug Fixes

13.0.0 (2025-02-27)

⚠ BREAKING CHANGES

  • switch from globby and fast-glob to tinyglobby (#795) (19fd937)

For more information please visit tinyglobby.

The breaking change only affects the developer who used these options - gitignore and ignoreFiles in the globOptions option.

Please migrate to the ignore option.

Bug Fixes

  • concurrency option is limited to files now (#796) (d42469c)
  • the order of patterns provided by the developer is respected
Commits
  • 18eb9d9 chore(release): 14.0.0
  • 2881203 refactor!: minimum supported Node.js version is 20.9.0 (#819)
  • 9dc3d31 chore(deps-dev): bump ajv from 6.12.6 to 6.14.0 (#815)
  • 5cf5a1d chore(deps): update (#814)
  • 3dd5b6e chore(deps): bump js-yaml (#813)
  • 9ac38bb chore(deps-dev): bump lodash from 4.17.21 to 4.17.23 (#812)
  • 6a16bac Update link to contributing guidelines in README
  • a1625f9 chore: migrate from contrib (#810)
  • 9f6f204 chore: update github actions/checkout from v4 to v5 (#809)
  • 73a30bc chore(release): 13.0.1
  • Additional commits viewable in compare view
Install script changes

This version modifies prepare script that runs during installation. Review the package contents before updating.


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 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.

Bumps [serialize-javascript](https://github.com/yahoo/serialize-javascript) to 7.0.5 and updates ancestor dependency [copy-webpack-plugin](https://github.com/webpack/copy-webpack-plugin). These dependencies need to be updated together.


Updates `serialize-javascript` from 6.0.2 to 7.0.5
- [Release notes](https://github.com/yahoo/serialize-javascript/releases)
- [Commits](yahoo/serialize-javascript@v6.0.2...v7.0.5)

Updates `copy-webpack-plugin` from 12.0.2 to 14.0.0
- [Release notes](https://github.com/webpack/copy-webpack-plugin/releases)
- [Changelog](https://github.com/webpack/copy-webpack-plugin/blob/main/CHANGELOG.md)
- [Commits](webpack/copy-webpack-plugin@v12.0.2...v14.0.0)

---
updated-dependencies:
- dependency-name: serialize-javascript
  dependency-version: 7.0.5
  dependency-type: indirect
- dependency-name: copy-webpack-plugin
  dependency-version: 14.0.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Apr 12, 2026
jeswr added a commit that referenced this pull request Jun 21, 2026
…l-open + grant-before-login

High #1 (requesting-origin.ts): a PRESENT-but-opaque sender.origin (Chrome stamps
the literal string "null" for sandboxed/opaque frames) used to fall back to
sender.url, laundering an opaque sender with a normal https url + matching stamp
into a TRUSTED origin (opaque-boundary fail-OPEN). Now classifySenderOrigin
distinguishes ABSENT (undefined/null/empty → may derive from sender.url) from
PRESENT-but-OPAQUE ("null"/unparseable/non-http(s) → DENY immediately, no url
fallback). Legit cases preserved: real https sender.origin, absent-origin url
fallback, blob:-resolves-to-creator-origin.

High #2 (service-worker.ts handleLogin): grantOrigin was called BEFORE
initiateLogin, so any page could send SOLID_LOGIN, get its origin persisted as
granted even if the auth flow cancelled/failed, then ride an existing session via
SOLID_FETCH_REQUEST (privilege escalation). The verified requesting origin is now
resolved BEFORE login (to bind the flow) but grantOrigin is moved to the success
path — a cancelled/failed login leaves the grant store unchanged.

Adversarial tests added (205 total, all green): present-opaque sender.origin
denies with no url fallback (pure + wired, no egress); absent-origin url fallback
still resolves; failed/cancelled login persists no grant and a subsequent fetch is
denied even when a session exists; successful login grants + fetch succeeds;
forged login origin not granted even on success.

Gate: lint + typecheck + 205 tests + build all green.

Model: claude-opus-4-8
Provenance: Opus 4.8 (Fable unavailable) — re-review/upgrade candidate
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
jeswr added a commit that referenced this pull request Jun 21, 2026
…-inject, cache best-effort, byte purge, HEAD body

roborev (codex) found 5 real issues unit tests missed on feat/phase-1-shared-replica.
All fixed, with adversarial tests.

High #1 — global-fetch over-divert broke non-pod web traffic. The inject diverted
EVERY cross-origin http(s) fetch into the gated path, so an app's calls to third-party
APIs/CDNs were DENIED (403) as unauthenticated. Decision (option b — keep the inject
DUMB, the SW the boundary): the inject routes everything but marks the request
`autoDivert: true`; the SW NATIVE-PASSES-THROUGH (plain unauthenticated fetch, no token,
no replica) for any non-ALLOW gate decision instead of a 403, so normal web traffic is
never broken and access can never widen (a native fetch carries no credential). The
credential/replica path is taken ONLY on an explicit gate ALLOW (known pod origin from a
granted requesting origin). An explicit window.solid.fetch (autoDivert false) keeps the
403. Applied at every SW exit: gate deny, forbidden/opaque origin, and no-session.

Medium #2 — double injection. inject.js was BOTH manifest-declared and dynamically
registered → could run twice and throw on the configurable:false defineProperty. Removed
the manifest MAIN-world declaration (dynamic registerContentScripts is now the single
path) AND added a `window.__solidInjected`/`'solid' in window` idempotency guard so a
double-run is an inert no-op regardless.

Medium #3 — a non-cacheable 2xx (206 / Vary:*) broke the request when cache.put
rejected. Caching is now best-effort: cache.put + metadata write are wrapped in try/catch,
the live response is cloned up-front and returned regardless of persist failure.

Medium #4 (privacy) — the null-WebID logout purge cleared metadata but left CacheStorage
bytes. Added cache-key enumeration (ReplicaByteCache.keys(), defaulting to cache.keys());
the null purge now deletes all replica byte entries, so bytes + metadata + nonces are all
gone on an unknown-prior logout/reset.

Low #5 — HEAD returned a body (the cached GET body on a 304, or a pod's stray HEAD body).
A HEAD response is now body-stripped on every served path (304 cache hit, live egress) in
the replica and in the SW relay.

Tests: +23 cases across replica/SW + a new test/inject.test.ts (8 cases, fresh-JSDOM-per-
test, no new dep — local test/jsdom.d.ts ambient). Gate green: lint + typecheck + 262
tests + build.

Model: claude-opus-4-8
Provenance: Opus 4.8 (Fable unavailable) — re-review/upgrade candidate
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants