From 1b28cd412de3706f9ba45d4159de00dc33571f1e Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 7 Dec 2024 07:05:38 +0000 Subject: [PATCH] feat: upgrade mocha from 10.7.0 to 11.0.0 Snyk has created this PR to upgrade mocha from 10.7.0 to 11.0.0. See this package in npm: mocha See this project in Snyk: https://app.snyk.io/org/nodeshift-agg/project/f6999c7c-f419-43d7-9c50-ea0d721da9f4?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 10 +++++----- package.json | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 12ae1a3..8775a60 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ "eslint-plugin-import": "^2.29.1", "eslint-plugin-n": "~16.0.2", "eslint-plugin-promise": "^6.5.0", - "mocha": "^10.7.0", + "mocha": "^11.0.0", "nyc": "^17.0.0", "standard-version": "^9.5.0" }, @@ -4184,9 +4184,9 @@ } }, "node_modules/mocha": { - "version": "10.7.0", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.7.0.tgz", - "integrity": "sha512-v8/rBWr2VO5YkspYINnvu81inSz2y3ODJrhO175/Exzor1RcEZZkizgE2A+w/CAXXoESS8Kys5E62dOHGHzULA==", + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-11.0.0.tgz", + "integrity": "sha512-9VQaK0N4YQ2F89Vy4wTIEyTm/Ggcv1PejfVeI82wOw0vBO6BjFyBGHCiNbl+wyHmgWDyFmHb2Yw1QlLaWzaEoA==", "dev": true, "license": "MIT", "dependencies": { @@ -4216,7 +4216,7 @@ "mocha": "bin/mocha.js" }, "engines": { - "node": ">= 14.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } }, "node_modules/mocha/node_modules/brace-expansion": { diff --git a/package.json b/package.json index ef7f4ce..b51029e 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "eslint-plugin-import": "^2.29.1", "eslint-plugin-n": "~16.0.2", "eslint-plugin-promise": "^6.5.0", - "mocha": "^10.7.0", + "mocha": "^11.0.0", "nyc": "^17.0.0", "standard-version": "^9.5.0" }