From 06a2647cd0f873fa0610fed1c81b087489399bcd Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 7 Oct 2024 05:41:04 +0000 Subject: [PATCH] fix: package.json & package-lock.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-INFLIGHT-6095116 --- package-lock.json | 67 +++++++++++++++++++++++++++++++++-------------- package.json | 2 +- 2 files changed, 48 insertions(+), 21 deletions(-) diff --git a/package-lock.json b/package-lock.json index d3c9af1a..a0cdb5a8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,10 +8,8 @@ "license": "MIT", "dependencies": { "@11ty/eleventy": "^2.0.0", - "@testing-library/dom": "^8.19.0", - "@testing-library/jest-dom": "^5.16.5", "clipboard": "^2.0.8", - "del": "^7.0.0", + "del": "^8.0.0", "esbuild": "^0.23.0", "govuk-frontend": "^5.4.1", "gulp": "^4.0.2", @@ -20,7 +18,6 @@ "gulp-esbuild": "^0.12.1", "gulp-imagemin": "^9.1.0", "gulp-umd": "^2.0.0", - "jest": "^29.2.2", "moment": "^2.29.4", "nunjucks": "^3.2.3", "require-dir": "^1.2.0", @@ -9158,40 +9155,61 @@ } }, "node_modules/del": { - "version": "7.1.0", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/del/-/del-8.0.0.tgz", + "integrity": "sha512-R6ep6JJ+eOBZsBr9esiNN1gxFbZE4Q2cULkUSFumGYecAiS6qodDvcPx/sFuWHMNul7DWmrtoEOpYSm7o6tbSA==", "license": "MIT", "dependencies": { - "globby": "^13.1.2", - "graceful-fs": "^4.2.10", + "globby": "^14.0.2", "is-glob": "^4.0.3", "is-path-cwd": "^3.0.0", "is-path-inside": "^4.0.0", - "p-map": "^5.5.0", - "rimraf": "^3.0.2", - "slash": "^4.0.0" + "p-map": "^7.0.2", + "slash": "^5.1.0" }, "engines": { - "node": ">=14.16" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/del/node_modules/rimraf": { - "version": "3.0.2", - "license": "ISC", + "node_modules/del/node_modules/globby": { + "version": "14.0.2", + "resolved": "https://registry.npmjs.org/globby/-/globby-14.0.2.tgz", + "integrity": "sha512-s3Fq41ZVh7vbbe2PN3nrW7yC7U7MFVc5c98/iTl9c2GawNMKx/J648KQRW6WKkuU8GIbbh2IXfIRQjOZnXcTnw==", + "license": "MIT", "dependencies": { - "glob": "^7.1.3" + "@sindresorhus/merge-streams": "^2.1.0", + "fast-glob": "^3.3.2", + "ignore": "^5.2.4", + "path-type": "^5.0.0", + "slash": "^5.1.0", + "unicorn-magic": "^0.1.0" }, - "bin": { - "rimraf": "bin.js" + "engines": { + "node": ">=18" }, "funding": { - "url": "https://github.com/sponsors/isaacs" + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/del/node_modules/slash": { - "version": "4.0.0", + "node_modules/del/node_modules/p-map": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-7.0.2.tgz", + "integrity": "sha512-z4cYYMMdKHzw4O5UkWJImbZynVIo0lSGTXc7bzB1e/rrDqkgGUNysK/o4bTr+0+xKvvLoTyGqYC4Fgljy9qe1Q==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/del/node_modules/path-type": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-5.0.0.tgz", + "integrity": "sha512-5HviZNaZcfqP95rwpv+1HDgUamezbqdSYTyzjTvwtJSnIH+3vnbmWsItli8OFEndS984VT55M3jduxZbX351gg==", "license": "MIT", "engines": { "node": ">=12" @@ -9269,6 +9287,7 @@ }, "node_modules/dir-glob": { "version": "3.0.1", + "dev": true, "license": "MIT", "dependencies": { "path-type": "^4.0.0" @@ -9279,6 +9298,7 @@ }, "node_modules/dir-glob/node_modules/path-type": { "version": "4.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -11859,6 +11879,7 @@ }, "node_modules/globby": { "version": "13.1.4", + "dev": true, "license": "MIT", "dependencies": { "dir-glob": "^3.0.1", @@ -11876,6 +11897,7 @@ }, "node_modules/globby/node_modules/slash": { "version": "4.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">=12" @@ -22162,6 +22184,7 @@ }, "node_modules/p-map": { "version": "5.5.0", + "dev": true, "license": "MIT", "dependencies": { "aggregate-error": "^4.0.0" @@ -22186,6 +22209,7 @@ }, "node_modules/p-map/node_modules/aggregate-error": { "version": "4.0.1", + "dev": true, "license": "MIT", "dependencies": { "clean-stack": "^4.0.0", @@ -22200,6 +22224,7 @@ }, "node_modules/p-map/node_modules/clean-stack": { "version": "4.2.0", + "dev": true, "license": "MIT", "dependencies": { "escape-string-regexp": "5.0.0" @@ -22213,6 +22238,7 @@ }, "node_modules/p-map/node_modules/escape-string-regexp": { "version": "5.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">=12" @@ -22223,6 +22249,7 @@ }, "node_modules/p-map/node_modules/indent-string": { "version": "5.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">=12" diff --git a/package.json b/package.json index 3d3689a8..66fc8e26 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "dependencies": { "@11ty/eleventy": "^2.0.0", "clipboard": "^2.0.8", - "del": "^7.0.0", + "del": "^8.0.0", "esbuild": "^0.23.0", "govuk-frontend": "^5.4.1", "gulp": "^4.0.2",