Skip to content
This repository was archived by the owner on Oct 26, 2026. It is now read-only.

Bump js-yaml to 3.15.2 and 4.3.2 - #25

Closed
MelvinBot wants to merge 1 commit into
Expensify:mainfrom
MelvinBot:claude-bumpJsYaml
Closed

MelvinBot wants to merge 1 commit into
Expensify:mainfrom
MelvinBot:claude-bumpJsYaml

Conversation

@MelvinBot

Copy link
Copy Markdown
Contributor

Details

Bumps transitive js-yaml to fix Dependabot DoS/prototype-pollution advisories (GHSA-2883-xcg3-v3hh, GHSA-5p4m-2wfm-xmqj, GHSA-52cp-r559-cp3m, GHSA-h67p-54hq-rp68, GHSA-mh29-5h37-fv8m):

  • 3.14.1 → 3.15.2
  • 4.1.0 → 4.3.2

Lockfile-only; parent ranges (^3.13.1, ^4.1.0) already allow these versions.

Usage: Not imported by our code or shipped in dist. Dev tooling only: ESLint (eslint, @eslint/eslintrc) uses 4.x to read YAML config; RN CLI/Metro (cosmiconfig via @react-native-community/cli-config, metro-config, peer deps) uses 3.x.

Change Log

4.3.2

  • Security: count empty mappings in merge sequences toward maxTotalMergeKeys.
  • Hard-limit merge sequence size to 100.

4.3.1

  • Security: remove quadratic complexity from !!omap duplicate key detection.

4.3.0

  • Add maxTotalMergeKeys (10000) loader option; replaces maxMergeSeqLength.
  • Restore UMD builds to ES5.

4.2.0

  • Security: fix quadratic DoS in merge (dedupe repeated elements).
  • Add maxDepth (100) and maxMergeSeqLength (20) loader options.
  • Stop resolving numbers with underscores as numeric scalars.
  • Parsing fixes (flow scalar whitespace, implicit key properties, number round-trip, named tag handles).

4.1.1

  • Security: fix prototype pollution in merge (<<).

3.15.2

  • Security: count empty mappings in merge sequences toward maxTotalMergeKeys.
  • Hard-limit merge sequence size to 100.

3.15.1

  • Security: remove quadratic complexity from !!omap duplicate key detection.

3.15.0

  • Security: fix quadratic DoS in merge; add maxTotalMergeKeys (10000) loader option.

3.14.2

  • Security: fix prototype pollution in merge (<<).

Related Issues

$ https://github.com/Expensify/Expensify/issues/695870

Manual Tests

  1. npm ci succeeds.
  2. npm run lint passes (ESLint loads config via js-yaml).
  3. npm run ts and npm run build pass.

Not run locally; versions, URLs, and integrity hashes come from the npm registry.

Linked PRs

@github-actions

Copy link
Copy Markdown
Contributor


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@chiragsalian

Copy link
Copy Markdown

Archiving this repository so closing out this PR

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants