Skip to content

deps(npm): bump js-yaml from 4.1.1 to 4.3.0#141

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/js-yaml-4.3.0
Open

deps(npm): bump js-yaml from 4.1.1 to 4.3.0#141
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/js-yaml-4.3.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 28, 2026

Copy link
Copy Markdown
Contributor

Bumps js-yaml from 4.1.1 to 4.3.0.

Changelog

Sourced from js-yaml's changelog.

4.3.0 - 2026-06-27

Added

  • [backport] Added maxTotalMergeKeys (10000) loader option to limit the total number of keys processed by YAML merge (<<) across one load() / loadAll() call.

Fixed

  • Restore umd builds back to es5.

Removed

  • [backport] maxMergeSeqLength replaced with maxTotalMergeKeys for limiting YAML merge processing.

[4.2.0] - 2026-06-01

Added

  • Added docs/safety.md with notes about processing untrusted YAML.
  • Added maxDepth (100) loader option. Not a problem, but gives a better exception instead of RangeError on stack overflow.
  • Added maxMergeSeqLength (20) loader option. Not a problem after merge fix, but an additional restriction for safety.
  • Added sourcemaps to dist/ builds.

Changed

  • Stop resolving numbers with underscores as numeric scalars, #627.
  • Switched dev toolchains to Vite / neostandard.
  • Updated demo.
  • Reorganized tests.
  • dist/ files are no longer kept in the repository.

Fixed

  • Fix parsing of properties on the first implicit block mapping key, #62.
  • Fix trailing whitespace handling when folding flow scalar lines, #307.
  • Reject top-level block scalars without content indentation, #280.
  • Ensure numbers survive round-trip, #737.
  • Fix test coverage for issue #221.
  • Fix flow scalar trailing whitespace folding, #307.
  • Fix digits in YAML named tag handles.

Security

  • Fix potential DoS via quadratic complexity in merge - deduplicate repeated elements (makes sense for malformed files > 10K).

[3.14.2] - 2025-11-15

Security

  • Backported v4.1.1 fix to v3
Commits
  • 33d05b5 4.3.0 released
  • 663bfab Drop demo publish, to not override new v5 one.
  • 1cb8c7b Add v4-legacy tag for publish
  • 02f27af Restore umd builds back to es5
  • 8be84ed Fix es5 compatibility
  • 59423c6 Replace maxMergeSeqLength option with maxTotalMergeKeys (more robust). Ba...
  • 6842ef6 doc polish
  • 590dbab 4.2.0 released
  • f944dc5 Add package.json funding field
  • f692719 Changelog update
  • Additional commits viewable in compare view

Dependabot compatibility score

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 [js-yaml](https://github.com/nodeca/js-yaml) from 4.1.1 to 4.3.0.
- [Changelog](https://github.com/nodeca/js-yaml/blob/4.3.0/CHANGELOG.md)
- [Commits](nodeca/js-yaml@4.1.1...4.3.0)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 4.3.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot @github

dependabot Bot commented on behalf of github Jun 28, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: javascript. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot dependabot Bot added auto-merge Auto-merge enabled dependencies labels Jun 28, 2026
@dependabot dependabot Bot requested a review from adcondev as a code owner June 28, 2026 21:57
@dependabot dependabot Bot added dependencies auto-merge Auto-merge enabled labels Jun 28, 2026
@github-actions

Copy link
Copy Markdown
Contributor

👋 Thanks for opening this PR, @dependabot[bot]!

Here's what will happen next:

  • 🤖 Automated checks will run
  • 🏷️ Labels will be added automatically
  • 👀 A maintainer will review your changes

Please make sure:

  • ✅ All tests pass
  • 📝 The PR title follows conventional commits
  • 📋 The PR template is filled out completely

@github-actions

Copy link
Copy Markdown
Contributor

⚡ Benchmark Results

📈 Performance Comparison

📊 Click to expand detailed results

Current Branch Results

BenchmarkNewDocument-4    	1000000000	         0.2729 ns/op	       0 B/op	       0 allocs/op
BenchmarkBuildSimple-4    	 5202144	       233.0 ns/op	     240 B/op	       4 allocs/op
BenchmarkBuildComplex-4   	  551224	      1915 ns/op	    1809 B/op	      25 allocs/op
BenchmarkToJSON-4         	  733460	      1458 ns/op	     592 B/op	       3 allocs/op
BenchmarkParseDocument_Minimal-4    	  739490	      1585 ns/op	     568 B/op	      14 allocs/op
BenchmarkParseDocument_Receipt-4    	  137251	      8591 ns/op	    2392 B/op	      34 allocs/op
BenchmarkCommandUnmarshal_Text-4    	  606193	      1799 ns/op	     568 B/op	      19 allocs/op
BenchmarkCommandUnmarshal_Table-4   	  408099	      2789 ns/op	     944 B/op	      21 allocs/op
BenchmarkTextCommandParsing-4       	  752253	      1408 ns/op	     544 B/op	      16 allocs/op
BenchmarkTableCommandParsing-4      	  364653	      3193 ns/op	    1000 B/op	      29 allocs/op
BenchmarkParseHexString-4           	 9380314	       126.3 ns/op	      48 B/op	       2 allocs/op
BenchmarkCleanHexString-4           	 7780706	       153.2 ns/op	      64 B/op	       2 allocs/op
BenchmarkContainsSequence-4         	337832418	         3.553 ns/op	       0 B/op	       0 allocs/op
BenchmarkCheckCriticalCommands-4    	39690909	        30.25 ns/op	       0 B/op	       0 allocs/op
BenchmarkDocument_Validate-4       	19168548	        63.10 ns/op	       0 B/op	       0 allocs/op
BenchmarkParseDocument_Simple-4    	  706724	      1681 ns/op	     568 B/op	      14 allocs/op
BenchmarkParseDocument_Complex-4   	  196770	      5978 ns/op	    1352 B/op	      26 allocs/op
BenchmarkPrintImage_Small-4             	     777	   1496544 ns/op	 3469936 B/op	      24 allocs/op
BenchmarkPrintImage_Medium-4            	     391	   3004105 ns/op	 5481084 B/op	      24 allocs/op
BenchmarkPrintImage_ThermalPreview-4    	     171	   7028132 ns/op	 5231179 B/op	  230423 allocs/op

Base Branch Results

BenchmarkNewDocument-4    	1000000000	         0.2737 ns/op	       0 B/op	       0 allocs/op
BenchmarkBuildSimple-4    	 5226890	       232.1 ns/op	     240 B/op	       4 allocs/op
BenchmarkBuildComplex-4   	  596804	      1931 ns/op	    1809 B/op	      25 allocs/op
BenchmarkToJSON-4         	  824061	      1483 ns/op	     592 B/op	       3 allocs/op
BenchmarkParseDocument_Minimal-4    	  761586	      1559 ns/op	     568 B/op	      14 allocs/op
BenchmarkParseDocument_Receipt-4    	  137288	      8542 ns/op	    2392 B/op	      34 allocs/op
BenchmarkCommandUnmarshal_Text-4    	  596632	      1805 ns/op	     568 B/op	      19 allocs/op
BenchmarkCommandUnmarshal_Table-4   	  404250	      2790 ns/op	     944 B/op	      21 allocs/op
BenchmarkTextCommandParsing-4       	  755677	      1410 ns/op	     544 B/op	      16 allocs/op
BenchmarkTableCommandParsing-4      	  356103	      3185 ns/op	    1000 B/op	      29 allocs/op
BenchmarkParseHexString-4           	 9626924	       126.2 ns/op	      48 B/op	       2 allocs/op
BenchmarkCleanHexString-4           	 7792630	       158.8 ns/op	      64 B/op	       2 allocs/op
BenchmarkContainsSequence-4         	336356184	         3.553 ns/op	       0 B/op	       0 allocs/op
BenchmarkCheckCriticalCommands-4    	37681923	        30.13 ns/op	       0 B/op	       0 allocs/op
BenchmarkDocument_Validate-4       	19640156	        63.09 ns/op	       0 B/op	       0 allocs/op
BenchmarkParseDocument_Simple-4    	  717597	      1676 ns/op	     568 B/op	      14 allocs/op
BenchmarkParseDocument_Complex-4   	  197162	      5980 ns/op	    1352 B/op	      26 allocs/op
BenchmarkPrintImage_Small-4             	     781	   1477731 ns/op	 3469937 B/op	      24 allocs/op
BenchmarkPrintImage_Medium-4            	     408	   2953502 ns/op	 5481089 B/op	      24 allocs/op
BenchmarkPrintImage_ThermalPreview-4    	     166	   6953933 ns/op	 5231178 B/op	  230423 allocs/op

💡 Note: Use benchstat for statistical comparison

🎯 Summary

  • Total Benchmarks: 32
  • Average Speed: 2091038 ns/op
  • Average Memory: 2396754 B/op
  • Average Allocations: 41077 allocs/op

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants