From a2a59bf255d219c17ae817819a9caf91ed5bbbb2 Mon Sep 17 00:00:00 2001 From: harsh mahajan Date: Wed, 9 Sep 2026 17:16:31 +0530 Subject: [PATCH] fix(deps): pin js-yaml above the new advisory bun audit started failing on every branch after an advisory against js-yaml >=4.0.0 <4.3.2, reached through eslint. The existing override allowed 4.3.1, which is vulnerable. Pinned to ^4.3.2 rather than >=4.3.2, which resolved to 5.x and crossed a major boundary. GHSA-2883-xcg3-v3hh --- bun.lock | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bun.lock b/bun.lock index 4336747ab..dce7aa464 100644 --- a/bun.lock +++ b/bun.lock @@ -95,7 +95,7 @@ "devalue": "^5.8.1", "flatted": "^3.4.2", "immutable": "^5.1.8", - "js-yaml": "^4.3.1", + "js-yaml": "^4.3.2", "minimatch": "10.2.3", "nanoid": "^3.3.18", "picomatch": "^4.0.4", @@ -1025,7 +1025,7 @@ "js-tokens": ["js-tokens@4.0.0", "", {}, "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="], - "js-yaml": ["js-yaml@4.3.1", "", { "dependencies": { "argparse": "^2.0.1" }, "bin": { "js-yaml": "bin/js-yaml.js" } }, "sha512-CY6crGq313MX8GkwvB7tzgp99vjQxY1++5y10/BKN/GUfHqWaOGQMNZkBvqSzsZKWk/ijwHlWzzkLulsGHhjWQ=="], + "js-yaml": ["js-yaml@4.3.2", "", { "dependencies": { "argparse": "^2.0.1" }, "bin": { "js-yaml": "bin/js-yaml.js" } }, "sha512-SFNOvSJ+Dgf/9An904Yx+CgSlIPCkIpao4qo51lpee25TIRejdH3rhR4EZMGoNx3/TP3O+wzWuiTFl4sqbltzA=="], "jsdom": ["jsdom@26.1.0", "", { "dependencies": { "cssstyle": "^4.2.1", "data-urls": "^5.0.0", "decimal.js": "^10.5.0", "html-encoding-sniffer": "^4.0.0", "http-proxy-agent": "^7.0.2", "https-proxy-agent": "^7.0.6", "is-potential-custom-element-name": "^1.0.1", "nwsapi": "^2.2.16", "parse5": "^7.2.1", "rrweb-cssom": "^0.8.0", "saxes": "^6.0.0", "symbol-tree": "^3.2.4", "tough-cookie": "^5.1.1", "w3c-xmlserializer": "^5.0.0", "webidl-conversions": "^7.0.0", "whatwg-encoding": "^3.1.1", "whatwg-mimetype": "^4.0.0", "whatwg-url": "^14.1.1", "ws": "^8.18.0", "xml-name-validator": "^5.0.0" }, "peerDependencies": { "canvas": "^3.0.0" }, "optionalPeers": ["canvas"] }, "sha512-Cvc9WUhxSMEo4McES3P7oK3QaXldCfNWp7pl2NNeiIFlCoLr3kfq9kb1fxftiwk1FLV7CvpvDfonxtzUDeSOPg=="], diff --git a/package.json b/package.json index 74da8a60d..98f6da5fb 100644 --- a/package.json +++ b/package.json @@ -104,7 +104,7 @@ "vite": "npm:rolldown-vite@latest", "minimatch": "10.2.3", "brace-expansion": ">=5.0.9", - "js-yaml": "^4.3.1", + "js-yaml": "^4.3.2", "immutable": "^5.1.8", "flatted": "^3.4.2", "devalue": "^5.8.1",