From 182a4da840f64d6559269af0f5d4244a4845d557 Mon Sep 17 00:00:00 2001 From: Stackwright Bot Date: Fri, 15 May 2026 13:46:10 -0400 Subject: [PATCH] fix(ci): resolve js-yaml override conflict breaking changeset pre exit --- .changeset/fix-js-yaml-override-conflict.md | 5 +++ package.json | 9 +++-- pnpm-lock.yaml | 40 +++++++++++++++------ 3 files changed, 39 insertions(+), 15 deletions(-) create mode 100644 .changeset/fix-js-yaml-override-conflict.md diff --git a/.changeset/fix-js-yaml-override-conflict.md b/.changeset/fix-js-yaml-override-conflict.md new file mode 100644 index 00000000..c5edcbf0 --- /dev/null +++ b/.changeset/fix-js-yaml-override-conflict.md @@ -0,0 +1,5 @@ +--- +"@stackwright/cli": patch +--- + +Fix js-yaml version override conflict in pnpm overrides that caused `yaml.safeLoad is removed` errors when running `changeset pre exit` in CI. The global `js-yaml: >=4.1.1` override was stomping the scoped `read-yaml-file>js-yaml: ^3` override, forcing js-yaml v4 into read-yaml-file which doesn't support it. diff --git a/package.json b/package.json index 3ebad323..bb948b75 100644 --- a/package.json +++ b/package.json @@ -93,11 +93,10 @@ "@hono/node-server": ">=1.19.13", "basic-ftp": ">=5.3.1", "express-rate-limit": ">=8.2.2", - "uuid": ">=14.0.0", - "fast-uri": ">=3.1.2", - "js-yaml": ">=4.1.1", - "read-yaml-file>js-yaml": "^3", - "postcss": ">=8.5.10" + "uuid": ">=14.0.0", + "fast-uri": ">=3.1.2", + "read-yaml-file>js-yaml": "^3", + "postcss": ">=8.5.10" }, "onlyBuiltDependencies": [ "@swc/core", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bc7ff55e..e42e55cb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -33,7 +33,6 @@ overrides: express-rate-limit: '>=8.2.2' uuid: '>=14.0.0' fast-uri: '>=3.1.2' - js-yaml: '>=4.1.1' read-yaml-file>js-yaml: ^3 postcss: '>=8.5.10' @@ -123,7 +122,7 @@ importers: specifier: ^7.1.0 version: 7.3.0 js-yaml: - specifier: '>=4.1.1' + specifier: ^4.1.1 version: 4.1.1 lucide-react: specifier: ^1.8.0 @@ -181,7 +180,7 @@ importers: specifier: workspace:* version: link:../types js-yaml: - specifier: '>=4.1.1' + specifier: ^4.1.0 version: 4.1.1 zod: specifier: ^4.3.6 @@ -215,7 +214,7 @@ importers: specifier: ^11.3 version: 11.3.4 js-yaml: - specifier: '>=4.1.1' + specifier: ^4.1.0 version: 4.1.1 playwright: specifier: ^1.52.0 @@ -283,7 +282,7 @@ importers: specifier: ^7.1.0 version: 7.3.0 js-yaml: - specifier: '>=4.1.1' + specifier: ^4.1.0 version: 4.1.1 prismjs: specifier: ^1.30.0 @@ -520,7 +519,7 @@ importers: specifier: workspace:* version: link:../types js-yaml: - specifier: '>=4.1.1' + specifier: ^4.1.0 version: 4.1.1 devDependencies: '@swc/core': @@ -565,7 +564,7 @@ importers: packages/sbom-generator: dependencies: js-yaml: - specifier: '>=4.1.1' + specifier: ^4.1.0 version: 4.1.1 zod: specifier: ^4.3.6 @@ -603,7 +602,7 @@ importers: packages/themes: dependencies: js-yaml: - specifier: '>=4.1.1' + specifier: ^4 version: 4.1.1 zod: specifier: ^4.3.6 @@ -646,7 +645,7 @@ importers: specifier: workspace:* version: link:../themes js-yaml: - specifier: '>=4.1.1' + specifier: ^4.1.0 version: 4.1.1 zod: specifier: ^4.3.6 @@ -3227,6 +3226,9 @@ packages: any-promise@1.3.0: resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==} + argparse@1.0.10: + resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==} + argparse@2.0.1: resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} @@ -4571,6 +4573,10 @@ packages: js-tokens@4.0.0: resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} + js-yaml@3.14.2: + resolution: {integrity: sha512-PMSmkqxr106Xa156c2M265Z+FTrPl+oxd/rgOQy2tijQeK5TxQ43psO1ZCwhVOSdnn+RzkzlRz/eY4BgJBYVpg==} + hasBin: true + js-yaml@4.1.1: resolution: {integrity: sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==} hasBin: true @@ -5572,6 +5578,9 @@ packages: resolution: {integrity: sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==} engines: {node: '>=0.10.0'} + sprintf-js@1.0.3: + resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==} + stable-hash@0.0.5: resolution: {integrity: sha512-+L3ccpzibovGXFK+Ap/f8LOS0ahMrHTf3xu7mMLSpEGU0EO9ucaysSylKo9eRDFNhWve/y275iPmIZ4z39a9iA==} @@ -8629,6 +8638,10 @@ snapshots: any-promise@1.3.0: {} + argparse@1.0.10: + dependencies: + sprintf-js: 1.0.3 + argparse@2.0.1: {} aria-query@5.3.0: @@ -10144,6 +10157,11 @@ snapshots: js-tokens@4.0.0: {} + js-yaml@3.14.2: + dependencies: + argparse: 1.0.10 + esprima: 4.0.1 + js-yaml@4.1.1: dependencies: argparse: 2.0.1 @@ -10898,7 +10916,7 @@ snapshots: read-yaml-file@1.1.0: dependencies: graceful-fs: 4.2.11 - js-yaml: 4.1.1 + js-yaml: 3.14.2 pify: 4.0.1 strip-bom: 3.0.0 @@ -11287,6 +11305,8 @@ snapshots: dependencies: extend-shallow: 3.0.2 + sprintf-js@1.0.3: {} + stable-hash@0.0.5: {} stackback@0.0.2: {}