Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pnp.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 35 additions & 0 deletions .yarn/versions/20f8e43c.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
releases:
"@yarnpkg/builder": patch
"@yarnpkg/cli": patch
"@yarnpkg/core": patch
"@yarnpkg/doctor": patch
"@yarnpkg/extensions": patch
"@yarnpkg/nm": patch
"@yarnpkg/parsers": minor
"@yarnpkg/plugin-compat": patch
"@yarnpkg/plugin-constraints": patch
"@yarnpkg/plugin-dlx": patch
"@yarnpkg/plugin-essentials": patch
"@yarnpkg/plugin-exec": patch
"@yarnpkg/plugin-file": patch
"@yarnpkg/plugin-git": patch
"@yarnpkg/plugin-github": patch
"@yarnpkg/plugin-http": patch
"@yarnpkg/plugin-init": patch
"@yarnpkg/plugin-interactive-tools": patch
"@yarnpkg/plugin-jsr": patch
"@yarnpkg/plugin-link": patch
"@yarnpkg/plugin-nm": patch
"@yarnpkg/plugin-npm": patch
"@yarnpkg/plugin-npm-cli": patch
"@yarnpkg/plugin-pack": patch
"@yarnpkg/plugin-patch": patch
"@yarnpkg/plugin-pnp": patch
"@yarnpkg/plugin-pnpm": patch
"@yarnpkg/plugin-stage": patch
"@yarnpkg/plugin-typescript": patch
"@yarnpkg/plugin-version": patch
"@yarnpkg/plugin-workspace-tools": patch
"@yarnpkg/pnpify": patch
"@yarnpkg/sdks": patch
"@yarnpkg/shell": patch
2 changes: 1 addition & 1 deletion packages/yarnpkg-parsers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"./package.json": "./package.json"
},
"dependencies": {
"js-yaml": "^3.10.0",
"js-yaml": "^4.1.0",
"tslib": "^2.4.0"
},
"devDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions packages/yarnpkg-parsers/sources/syml.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {safeLoad, FAILSAFE_SCHEMA} from 'js-yaml';
import {load, FAILSAFE_SCHEMA} from 'js-yaml';

import {parse} from './grammars/syml';
import {parse} from './grammars/syml';

const simpleStringPattern = /^(?![-?:,\][{}#&*!|>'"%@` \t\r\n]).([ \t]*(?![,\][{}:# \t\r\n]).)*$/;

Expand Down Expand Up @@ -139,7 +139,7 @@ function parseViaJsYaml(source: string) {
if (LEGACY_REGEXP.test(source))
return parseViaPeg(source);

const value = safeLoad(source, {
const value = load(source, {
schema: FAILSAFE_SCHEMA,
json: true,
});
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5923,7 +5923,7 @@ __metadata:
resolution: "@yarnpkg/parsers@workspace:packages/yarnpkg-parsers"
dependencies:
"@types/js-yaml": "npm:^3.11.1"
js-yaml: "npm:^3.10.0"
js-yaml: "npm:^4.1.0"
pegjs: "npm:^0.10.0"
tslib: "npm:^2.4.0"
languageName: unknown
Expand Down Expand Up @@ -13956,7 +13956,7 @@ __metadata:
languageName: node
linkType: hard

"js-yaml@npm:^3.10.0, js-yaml@npm:^3.13.1":
"js-yaml@npm:^3.13.1":
version: 3.14.1
resolution: "js-yaml@npm:3.14.1"
dependencies:
Expand Down
Loading