Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

fix(deps): update dependency js-yaml to v5 (#6117)

renovate[bot]2fb44ffd9eaf
diff --git a/package-lock.json b/package-lock.json
index d34a1c73..a9bac5d2 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -17,7 +17,7 @@
"glob": "^13.0.0",
"is-path-inside": "^3.0.3",
"is-unicode-supported": "^0.1.0",
- "js-yaml": "^4.1.0",
+ "js-yaml": "^5.0.0",
"minimatch": "^10.2.2",
"ms": "^2.1.3",
"picocolors": "^1.1.1",
@@ -5316,9 +5316,9 @@
"license": "MIT"
},
"node_modules/js-yaml": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.3.0.tgz",
- "integrity": "sha512-1td788aAnnZ5qs7V2QIRl1owjtYpbKt749Y3xauqQgwIIGF/xXWz1wMTEBx5O3LK3lXLVuqXPdPxj2BoFHaW9Q==",
+ "version": "5.2.1",
+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-5.2.1.tgz",
+ "integrity": "sha512-zfLtNfQqxVqq3uaTqSkh4x4hZw3KHobGUA0fJUj4wawW8bsQLTVqpHdXSIzidh7o+4lEW36tANuAGdaFx6Zgnw==",
"funding": [
{
"type": "github",
@@ -5334,7 +5334,7 @@
"argparse": "^2.0.1"
},
"bin": {
- "js-yaml": "bin/js-yaml.js"
+ "js-yaml": "bin/js-yaml.mjs"
}
},
"node_modules/jsesc": {
@@ -7775,6 +7775,29 @@
"node": ">=10.13"
}
},
+ "node_modules/read-yaml-file/node_modules/js-yaml": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.3.0.tgz",
+ "integrity": "sha512-1td788aAnnZ5qs7V2QIRl1owjtYpbKt749Y3xauqQgwIIGF/xXWz1wMTEBx5O3LK3lXLVuqXPdPxj2BoFHaW9Q==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/puzrin"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/nodeca"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "argparse": "^2.0.1"
+ },
+ "bin": {
+ "js-yaml": "bin/js-yaml.js"
+ }
+ },
"node_modules/readable-stream": {
"version": "2.3.8",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz",
diff --git a/package.json b/package.json
index 37918f69..679058b0 100644
--- a/package.json
+++ b/package.json
@@ -95,7 +95,7 @@
"glob": "^13.0.0",
"is-path-inside": "^3.0.3",
"is-unicode-supported": "^0.1.0",
- "js-yaml": "^4.1.0",
+ "js-yaml": "^5.0.0",
"minimatch": "^10.2.2",
"ms": "^2.1.3",
"picocolors": "^1.1.1",