Skip to content

chore(deps): bump ajv#40

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/multi-73726a8ab8
Closed

chore(deps): bump ajv#40
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/multi-73726a8ab8

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Feb 22, 2026

Bumps ajv to 8.18.0 and updates ancestor dependency . These dependencies need to be updated together.

Updates ajv from 8.17.1 to 8.18.0

Release notes

Sourced from ajv's releases.

v8.18.0

What's Changed

New Contributors

Full Changelog: ajv-validator/ajv@v8.17.1...v8.18.0

Commits
  • 142ce84 8.18.0
  • 720a23f fix(pattern): use configured RegExp engine with $data keyword to mitigate ReD...
  • 82735a1 fix: typos in schema-language.md (#2507)
  • b17ec32 fix: small grammatical error in managing-schemas.md (#2508)
  • 69568d0 fix: #2482 Infinity and NaN serialise to null (#2487)
  • f06766f feat: allow tree-shaking by adding ``"sideEffects": falsetopackage.json` ...
  • See full diff in compare view

Updates ajv from 6.12.6 to 6.14.0

Release notes

Sourced from ajv's releases.

v8.18.0

What's Changed

New Contributors

Full Changelog: ajv-validator/ajv@v8.17.1...v8.18.0

Commits
  • 142ce84 8.18.0
  • 720a23f fix(pattern): use configured RegExp engine with $data keyword to mitigate ReD...
  • 82735a1 fix: typos in schema-language.md (#2507)
  • b17ec32 fix: small grammatical error in managing-schemas.md (#2508)
  • 69568d0 fix: #2482 Infinity and NaN serialise to null (#2487)
  • f06766f feat: allow tree-shaking by adding ``"sideEffects": falsetopackage.json` ...
  • See full diff in compare view

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 [ajv](https://github.com/ajv-validator/ajv) to 8.18.0 and updates ancestor dependency . These dependencies need to be updated together.


Updates `ajv` from 8.17.1 to 8.18.0
- [Release notes](https://github.com/ajv-validator/ajv/releases)
- [Commits](ajv-validator/ajv@v8.17.1...v8.18.0)

Updates `ajv` from 6.12.6 to 6.14.0
- [Release notes](https://github.com/ajv-validator/ajv/releases)
- [Commits](ajv-validator/ajv@v8.17.1...v8.18.0)

---
updated-dependencies:
- dependency-name: ajv
  dependency-version: 8.18.0
  dependency-type: direct:production
- dependency-name: ajv
  dependency-version: 6.14.0
  dependency-type: indirect
...

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 Feb 22, 2026
@man8
Copy link
Copy Markdown
Owner

man8 commented Apr 15, 2026

Superseded by #50 (MAN8-7228) with explicit ticket-linked commit history.

@man8 man8 closed this Apr 15, 2026
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Apr 15, 2026

OK, I won't notify you again about this release, but will get in touch when a new version is available.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/multi-73726a8ab8 branch April 15, 2026 06:33
man8 added a commit that referenced this pull request Apr 15, 2026
## Summary

Upgrades `ajv` from 8.17.1 → **8\.18.0** (minor release) to resolve a high-severity **Regular Expression Denial of Service (ReDoS)** finding ([CVE-2025-69873](ajv-validator/ajv#2586)) in ajv's `pattern` keyword with `\$data`.

Linear: [MAN8-7228](https://linear.app/man8/issue/MAN8-7228/assetmill-upgrade-ajv-to-8180-snyk-redos)
Snyk project: https://app.snyk.io/org/man8/project/06db0e24-92a7-4385-93f2-4d01ae449811

## Caller impact

Two call sites:

- `src/config/json-schema.ts` — compiles the assetmill config schema via Ajv
- `src/config/loader.ts` — validates loaded YAML configs

ajv 8.18.0 is fully backward-compatible with 8.17.x; no code changes required.

## Test coverage

Existing tests cover both compile and validate paths:

- `src/__tests__/config.test.ts`
- `src/__tests__/config-error-handling.test.ts`

No new tests required for a minor-release patch.

## Verification

- `npm run ci` green locally — build + 73 tests pass + lint clean

Supersedes dependabot #40 (same upgrade, cleaner ticket-linked commit history).

## Test plan

- [x] `npm run ci` passes locally
- [x] GitHub Actions CI passes
- [x] Snyk re-scan shows the ajv ReDoS finding resolved

🤖 Generated with [Claude Code](https://claude.com/claude-code)
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.

1 participant