From ad4e3f66c28887081b6bb0292a3552c22b16a430 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 20 Mar 2022 18:00: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-NODEFORGE-2430337 - https://snyk.io/vuln/SNYK-JS-NODEFORGE-2430339 - https://snyk.io/vuln/SNYK-JS-NODEFORGE-2430341 --- package-lock.json | 22 +++++++++++----------- package.json | 2 +- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index f78af4f..a55aa66 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "MIT", "dependencies": { "debug": "^4.3.1", - "node-forge": "^0.10.0" + "node-forge": "^1.3.0" }, "devDependencies": { "@babel/cli": "^7.13.16", @@ -26,8 +26,8 @@ "babel-eslint": "^10.1.0", "babel-jest": "^26.6.3", "documentation": "^13.2.5", - "eslint": "7.25.0", - "eslint-config-prettier": "8.3.0", + "eslint": "^7.25.0", + "eslint-config-prettier": "^8.3.0", "eslint-plugin-import": "^2.22.1", "eslint-plugin-jest": "24.3.6", "eslint-plugin-prettier": "^3.4.0", @@ -35,7 +35,7 @@ "jest": "^26.6.3", "lint-staged": "^10.5.4", "open-cli": "^6.0.1", - "prettier": "2.2.1", + "prettier": "^2.2.1", "rimraf": "^3.0.2", "semantic-release": "^17.4.2", "typescript": "^4.2.4" @@ -13278,11 +13278,11 @@ } }, "node_modules/node-forge": { - "version": "0.10.0", - "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.10.0.tgz", - "integrity": "sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.3.0.tgz", + "integrity": "sha512-08ARB91bUi6zNKzVmaj3QO7cr397uiDT2nJ63cHjyNtCTWIgvS47j3eT0WfzUwS9+6Z5YshRaoasFkXCKrIYbA==", "engines": { - "node": ">= 6.0.0" + "node": ">= 6.13.0" } }, "node_modules/node-int64": { @@ -32299,9 +32299,9 @@ "dev": true }, "node-forge": { - "version": "0.10.0", - "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.10.0.tgz", - "integrity": "sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==" + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.3.0.tgz", + "integrity": "sha512-08ARB91bUi6zNKzVmaj3QO7cr397uiDT2nJ63cHjyNtCTWIgvS47j3eT0WfzUwS9+6Z5YshRaoasFkXCKrIYbA==" }, "node-int64": { "version": "0.4.0", diff --git a/package.json b/package.json index 8629466..145e59b 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ ], "dependencies": { "debug": "^4.3.1", - "node-forge": "^0.10.0" + "node-forge": "^1.3.0" }, "devDependencies": { "@babel/cli": "^7.13.16",