diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..ef7fa17 --- /dev/null +++ b/.snyk @@ -0,0 +1,12 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.22.1 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-567746: + - tc-core-library-js > lodash: + patched: '2022-03-26T02:37:26.676Z' + - tc-bus-api-wrapper > lodash: + patched: '2022-03-26T02:37:26.676Z' + - tc-bus-api-wrapper > tc-core-library-js > lodash: + patched: '2022-03-26T02:37:26.676Z' diff --git a/package-lock.json b/package-lock.json index f9caa49..88451a7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4,6 +4,11 @@ "lockfileVersion": 1, "requires": true, "dependencies": { + "@snyk/protect": { + "version": "1.883.0", + "resolved": "https://registry.npmjs.org/@snyk/protect/-/protect-1.883.0.tgz", + "integrity": "sha512-N/EqG6P/qNYWOfuZAfGS1d7yGwGY4zV7AvKtgTzdhazDt7G/mRLG6czLSWNWGEFYBiMsYRVPHdc5It3bjhmIGw==" + }, "@types/body-parser": { "version": "1.19.0", "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.0.tgz", @@ -1709,9 +1714,9 @@ } }, "lodash": { - "version": "4.17.19", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.19.tgz", - "integrity": "sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ==" + "version": "4.17.20", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", + "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==" }, "lodash.assign": { "version": "4.2.0", diff --git a/package.json b/package.json index 0cf15d5..91d0e0d 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,9 @@ "start": "node src/app.js", "insert-data": "node script/insert-data.js", "lint": "standard", - "lint:fix": "standard --fix" + "lint:fix": "standard --fix", + "prepare": "npm run snyk-protect", + "snyk-protect": "snyk-protect" }, "author": "TCSCODER", "license": "none", @@ -16,7 +18,7 @@ }, "dependencies": { "config": "^3.1.0", - "lodash": "^4.17.19", + "lodash": "^4.17.20", "redis": "^3.1.0", "pg": "^8.5.1", "pg-hstore": "^2.3.3", @@ -24,9 +26,11 @@ "sequelize": "^6.3.5", "tc-bus-api-wrapper": "github:topcoder-platform/tc-bus-api-wrapper", "tc-core-library-js": "appirio-tech/tc-core-library-js.git#v2.6", - "winston": "^3.2.1" + "winston": "^3.2.1", + "@snyk/protect": "latest" }, "engines": { "node": "12.x" - } + }, + "snyk": true }
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: