From 3fd4a98a23f3f415a01d115e54a75faf4a87ca42 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 13 May 2024 23:15:19 +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-BRACES-6838727 - https://snyk.io/vuln/SNYK-JS-MICROMATCH-6838728 --- package-lock.json | 115 +++++++++++----------------------------------- package.json | 2 +- 2 files changed, 29 insertions(+), 88 deletions(-) diff --git a/package-lock.json b/package-lock.json index ad8f605141f15..c0f534e1fff8a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -101,7 +101,7 @@ "@nextcloud/stylelint-config": "^2.1.2", "@nextcloud/webpack-vue-config": "^5.5.1", "@pinia/testing": "^0.0.16", - "@testing-library/jest-dom": "^5.16.5", + "@testing-library/jest-dom": "^6.0.0", "@testing-library/user-event": "^14.4.3", "@testing-library/vue": "^5.8.3", "@types/dockerode": "^3.3.17", @@ -4289,13 +4289,13 @@ } }, "node_modules/@testing-library/jest-dom": { - "version": "5.16.5", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@testing-library/jest-dom/-/jest-dom-6.0.0.tgz", + "integrity": "sha512-Ye2R3+/oM27jir8CzYPmuWdavTaKwNZcu0d22L9pO/vnOYE0wmrtpw79TQJa8H6gV8/i7yd+pLaqeLlA0rTMfg==", "dev": true, - "license": "MIT", "dependencies": { "@adobe/css-tools": "^4.0.1", "@babel/runtime": "^7.9.2", - "@types/testing-library__jest-dom": "^5.9.1", "aria-query": "^5.0.0", "chalk": "^3.0.0", "css.escape": "^1.5.1", @@ -4304,9 +4304,29 @@ "redent": "^3.0.0" }, "engines": { - "node": ">=8", + "node": ">=14", "npm": ">=6", "yarn": ">=1" + }, + "peerDependencies": { + "@jest/globals": ">= 28", + "@types/jest": ">= 28", + "jest": ">= 28", + "vitest": ">= 0.32" + }, + "peerDependenciesMeta": { + "@jest/globals": { + "optional": true + }, + "@types/jest": { + "optional": true + }, + "jest": { + "optional": true + }, + "vitest": { + "optional": true + } } }, "node_modules/@testing-library/jest-dom/node_modules/ansi-styles": { @@ -4637,44 +4657,6 @@ "@types/istanbul-lib-report": "*" } }, - "node_modules/@types/jest": { - "version": "29.5.1", - "dev": true, - "license": "MIT", - "dependencies": { - "expect": "^29.0.0", - "pretty-format": "^29.0.0" - } - }, - "node_modules/@types/jest/node_modules/ansi-styles": { - "version": "5.2.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/@types/jest/node_modules/pretty-format": { - "version": "29.5.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@jest/schemas": "^29.4.3", - "ansi-styles": "^5.0.0", - "react-is": "^18.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@types/jest/node_modules/react-is": { - "version": "18.2.0", - "dev": true, - "license": "MIT" - }, "node_modules/@types/jquery": { "version": "2.0.60", "license": "MIT" @@ -4886,14 +4868,6 @@ "dev": true, "license": "MIT" }, - "node_modules/@types/testing-library__jest-dom": { - "version": "5.14.5", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/jest": "*" - } - }, "node_modules/@types/tough-cookie": { "version": "4.0.2", "dev": true, @@ -27184,12 +27158,13 @@ } }, "@testing-library/jest-dom": { - "version": "5.16.5", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@testing-library/jest-dom/-/jest-dom-6.0.0.tgz", + "integrity": "sha512-Ye2R3+/oM27jir8CzYPmuWdavTaKwNZcu0d22L9pO/vnOYE0wmrtpw79TQJa8H6gV8/i7yd+pLaqeLlA0rTMfg==", "dev": true, "requires": { "@adobe/css-tools": "^4.0.1", "@babel/runtime": "^7.9.2", - "@types/testing-library__jest-dom": "^5.9.1", "aria-query": "^5.0.0", "chalk": "^3.0.0", "css.escape": "^1.5.1", @@ -27455,33 +27430,6 @@ "@types/istanbul-lib-report": "*" } }, - "@types/jest": { - "version": "29.5.1", - "dev": true, - "requires": { - "expect": "^29.0.0", - "pretty-format": "^29.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "5.2.0", - "dev": true - }, - "pretty-format": { - "version": "29.5.0", - "dev": true, - "requires": { - "@jest/schemas": "^29.4.3", - "ansi-styles": "^5.0.0", - "react-is": "^18.0.0" - } - }, - "react-is": { - "version": "18.2.0", - "dev": true - } - } - }, "@types/jquery": { "version": "2.0.60" }, @@ -27659,13 +27607,6 @@ "version": "0.0.30", "dev": true }, - "@types/testing-library__jest-dom": { - "version": "5.14.5", - "dev": true, - "requires": { - "@types/jest": "*" - } - }, "@types/tough-cookie": { "version": "4.0.2", "dev": true diff --git a/package.json b/package.json index 6f771a0f097b0..68cf3e2983cad 100644 --- a/package.json +++ b/package.json @@ -126,7 +126,7 @@ "@nextcloud/stylelint-config": "^2.1.2", "@nextcloud/webpack-vue-config": "^5.5.1", "@pinia/testing": "^0.0.16", - "@testing-library/jest-dom": "^5.16.5", + "@testing-library/jest-dom": "^6.0.0", "@testing-library/user-event": "^14.4.3", "@testing-library/vue": "^5.8.3", "@types/dockerode": "^3.3.17",