Title: Bump js-yaml from 4.2.0 to 5.0.0 by dependabot[bot] · Pull Request #3968 · github/codeql-action · GitHub
Open Graph Title: Bump js-yaml from 4.2.0 to 5.0.0 by dependabot[bot] · Pull Request #3968 · github/codeql-action
X Title: Bump js-yaml from 4.2.0 to 5.0.0 by dependabot[bot] · Pull Request #3968 · github/codeql-action
Description: Bumps js-yaml from 4.2.0 to 5.0.0.
Changelog
Sourced from js-yaml's changelog.
[5.0.0] - 2026-06-20
Added
Added named exports for schemas, tags, parser events and AST utilities.
Reworked JSON_SCHEMA and CORE_SCHEMA with spec-compliant scalar resolution
rules, and added YAML11_SCHEMA.
Added realMapTag for lossless mappings with non-string and complex keys.
Object-based mappings now reject complex keys instead of stringifying them.
Added dump() transform option for changing the generated AST before
rendering.
Added dump() options seqInlineFirst, flowBracketPadding,
flowSkipCommaSpace, flowSkipColonSpace, quoteFlowKeys, quoteStyle and
tagBeforeAnchor.
Added formal data layers (events and AST) for modular data pipelines.
Added low-level parser (to events), presenter and visitor APIs.
Added the YAML Test Suite to the
test set.
Changed
See the migration guide for upgrade notes.
Rewritten in TypeScript and reorganized the public API around flat named
exports.
Reduced the set of exported schemas:
YAML 1.2 schemas: CORE_SCHEMA (loader default), JSON_SCHEMA,
FAILSAFE_SCHEMA.
YAML11_SCHEMA, a combination of all YAML 1.1 tags (YAML 1.1 does not
specify a schema, only "types").
load/dump default behaviour is now specified exactly via schemas:
load uses CORE_SCHEMA, without !!merge by default.
dump uses YAML11_SCHEMA + CORE_SCHEMA for the quoting check, to
guarantee backward compatibility by default.
!!set is now loaded as a JavaScript Set.
Replaced the Type API with a tags API. Similar, but more precise and
simpler. See examples for details. Tags can be defined via
defineScalarTag(), defineSequenceTag() and defineMappingTag(), or as a
spread + override of an existing tag.
Renamed Schema.extend() to Schema.withTags().
Expanded YAML 1.2 conformance and improved handling of directives, document
markers, block keys, multiline scalars, tag syntax and other things.
load() now throws on empty input instead of returning undefined.
Moved browser builds to the js-yaml/browser export.
Deprecated the loadAll signature with an iterator (still works, but is a
candidate for removal).
Removed
Removed deprecated safeLoad(), safeLoadAll() and safeDump() exports.
Removed DEFAULT_SCHEMA and the nested types export.
Removed loader options onWarning, legacy and listener.
Removed dumper options styles, replacer, noCompatMode, condenseFlow,
quotingType and forceQuotes. Renamed noArrayIndent to seqNoIndent.
Formatting and representation are now configured through presenter options,
... (truncated)
Commits
75148bc 5.0.0 released
704b25d Quote document markers followed by whitespace
42dea28 Support complex !!pairs keys with realMapTag
6cf374e Fix dumping strings that collide with YAML markers
65b8d94 Clarify !!omap/!!pairs support
33e3640 Move tagname helpers to common/ and remove unused exports
4dd582b Cleanup export types
39b3792 Add types export
0cd01e9 docs: update for v5
c5a61a4 Fix presenter coverage
Additional commits viewable 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
Open Graph Description: Bumps js-yaml from 4.2.0 to 5.0.0. Changelog Sourced from js-yaml's changelog. [5.0.0] - 2026-06-20 Added Added named exports for schemas, tags, parser events and AST utilities. Reworked JSO...
X Description: Bumps js-yaml from 4.2.0 to 5.0.0. Changelog Sourced from js-yaml's changelog. [5.0.0] - 2026-06-20 Added Added named exports for schemas, tags, parser events and AST utilities. Reworked...
Opengraph URL: https://github.com/github/codeql-action/pull/3968
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:420ddae3-1976-9e34-8fed-ecfac662450d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9C92:14749:1BD409B:2632A15:6A4C1087 |
| html-safe-nonce | 8a84114aa0eb9dd6909719add96d6da14c6e13c163b43fe3284eff2465e795d6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QzkyOjE0NzQ5OjFCRDQwOUI6MjYzMkExNTo2QTRDMTA4NyIsInZpc2l0b3JfaWQiOiIyNTM5MjQ3NDEyMzU1Nzk3MTI3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5767260b8f8cf938c011fa7d70da909b16324f9cea2f7a7c7a8c62480afac7b9 |
| hovercard-subject-tag | pull_request:3911875909 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/github/codeql-action/pull/3968/files |
| twitter:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| og:image:alt | Bumps js-yaml from 4.2.0 to 5.0.0. Changelog Sourced from js-yaml's changelog. [5.0.0] - 2026-06-20 Added Added named exports for schemas, tags, parser events and AST utilities. Reworked JSO... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0ccfc9e5281bfe12e38a4d632dc422843e4d5b6757917f7efda2f6567d72fea9 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/github/codeql-action git https://github.com/github/codeql-action.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 259445878 |
| octolytics-dimension-repository_nwo | github/codeql-action |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 259445878 |
| octolytics-dimension-repository_network_root_nwo | github/codeql-action |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 18812876666a23a0912556e224383baa4c84cf8e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width