Skip to content

chore(deps): update dependency csp_evaluator to v1.1.8 - #431

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/csp_evaluator-1.x-lockfile
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/csp_evaluator-1.x-lockfile

Conversation

@renovate

@renovate renovate Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
csp_evaluator (source) 1.1.5 → 1.1.8 age confidence

Release Notes

google/csp-evaluator (csp_evaluator)

v1.1.8

Compare Source

v1.1.7

Compare Source

v1.1.6

Compare Source


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • On day 1 of the month (* * 1 * *)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested a review from a team as a code owner October 1, 2026 20:48
@netlify

netlify Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for cn-devtools-app canceled.

Name Link
🔨 Latest commit 5fe09ef
🔍 Latest deploy log https://app.netlify.com/projects/cn-devtools-app/deploys/6ac576021b32fc000886f7fa

@renovate
renovate Bot force-pushed the renovate/csp_evaluator-1.x-lockfile branch from 53f132a to 5fe09ef Compare October 6, 2026 22:28

@james-crabnebula james-crabnebula left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lockfile moves csp_evaluator 1.1.5 -> 1.1.8 and nothing else (it has no dependencies). Apache-2.0. Our only use is clients/web/src/lib/security.ts (CspParser + CspEvaluator.evaluate()); that surface, the deep-import paths and the .d.ts files are byte-identical between the versions. 1.1.6 and 1.1.7 were published without a types field; 1.1.8 restores it, so this is the right target.

One behaviour change, from the shipped dist/csp.js: policyHasScriptNonces / policyHasScriptHashes now validate strictly (isNonce(val, true) / isHash(val, true)) and the hash pattern accepts base64url (_, -). Policies with malformed nonce or hash values are now treated as having none, which can change the strict-dynamic / allowlist findings, and valid base64url hashes are no longer flagged. No test imports security.ts, so the test job does not cover it; a quick manual look at the Security tab with a nonce- or hash-based CSP would close that gap. The audit failure is pre-existing on main and unrelated to this package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant