build(deps): bump js-yaml from 4.2.0 to 5.2.1#2789
Merged
Conversation
dependabot
Bot
force-pushed
the
dependabot/npm_and_yarn/js-yaml-5.2.1
branch
from
July 6, 2026 06:11
9a87678 to
0477692
Compare
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 4.2.0 to 5.2.1. - [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md) - [Commits](nodeca/js-yaml@4.2.0...5.2.1) --- updated-dependencies: - dependency-name: js-yaml dependency-version: 5.2.1 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
js-yaml v5 is ESM-only and dropped its default export, exposing only flat named exports. The profile export route imported the default (`import yaml from 'js-yaml'`), so `yaml.dump()` threw and the export endpoint returned 500. Switch to named imports (`dump`/`load`) in the route and its test. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
madhavilosetty-intel
force-pushed
the
dependabot/npm_and_yarn/js-yaml-5.2.1
branch
from
July 8, 2026 23:38
c6d4cdb to
4ebaae0
Compare
There was a problem hiding this comment.
Pull request overview
This PR upgrades the js-yaml dependency from 4.2.0 to 5.2.1 and updates the only in-repo call sites to use the v5+ named exports API (dump / load) in the profile export route and its test.
Changes:
- Bump
js-yamlto^5.2.1(and update lockfile resolution). - Update
src/routes/admin/profiles/export.tsto useimport { dump } from 'js-yaml'. - Update
src/routes/admin/profiles/export.test.tsto useimport { load } from 'js-yaml'.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/routes/admin/profiles/export.ts | Switch YAML serialization call to the dump named export required by newer js-yaml APIs. |
| src/routes/admin/profiles/export.test.ts | Switch YAML parsing helper to the load named export to match the upgraded dependency. |
| package.json | Bump js-yaml dependency range from ^4.2.0 to ^5.2.1. |
| package-lock.json | Update resolved js-yaml package metadata to 5.2.1 (tarball, integrity, bin entry). |
Contributor
|
Tested, able to export profile. |
madhavilosetty-intel
approved these changes
Jul 9, 2026
|
🎉 This PR is included in version 2.39.2 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps js-yaml from 4.2.0 to 5.2.1.
Changelog
Sourced from js-yaml's changelog.
... (truncated)
Commits
ac16b425.2.1 released4a864e5Deps bump39f3211!!omap: addMapsupport and remove quadratic complexityff17f1eChangelog update8ed15f1deps bump1a562dcFix changelog linkc28ed5e5.2.0 released125cd5aAddmaxAliasesoption3105455ReplacemaxMergeSeqLengthoption withmaxTotalMergeKeys(more robust)39d00d6numbers: Drop boxed numbers support, simplify .identify() checks, clarify rou...