diff --git a/.snyk b/.snyk new file mode 100644 index 000000000000..ea683c471195 --- /dev/null +++ b/.snyk @@ -0,0 +1,16 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.14.1 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-567746: + - karma > lodash: + patched: '2020-05-01T00:21:20.773Z' + - karma > combine-lists > lodash: + patched: '2020-05-01T00:21:20.773Z' + - karma > log4js > hipchat-notifier > lodash: + patched: '2020-05-01T00:21:20.773Z' + - karma > log4js > mailgun-js > async > lodash: + patched: '2020-05-01T00:21:20.773Z' + - karma > log4js > slack-node > requestretry > lodash: + patched: '2020-05-01T00:21:20.773Z' diff --git a/package.json b/package.json index 70c32ca94404..4a8951f5f725 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,9 @@ "test-ivy-aot": "bazel test --define=compile=aot --build_tag_filters=-no-ivy-aot,-fixme-ivy-aot --test_tag_filters=-no-ivy-aot,-fixme-ivy-aot", "test-fixme-ivy-aot": "bazel test --define=compile=aot --build_tag_filters=-no-ivy-aot --test_tag_filters=-no-ivy-aot", "list-fixme-ivy-targets": "bazel query --output=label 'attr(\"tags\", \"\\[.*fixme-ivy.*\\]\", //...) except kind(\"sh_binary\", //...) except kind(\"devmode_js_sources\", //...)' | sort", - "bazel": "bazel" + "bazel": "bazel", + "snyk-protect": "snyk protect", + "prepare": "yarn run snyk-protect" }, "// 1": "dependencies are used locally and by bazel", "dependencies": { @@ -82,7 +84,8 @@ "typescript": "~3.1.1", "xhr2": "0.1.4", "yargs": "9.0.1", - "zone.js": "^0.8.26" + "zone.js": "^0.8.26", + "snyk": "^1.316.1" }, "optionalDependencies": { "fsevents": "1.1.2" @@ -144,5 +147,6 @@ "vlq": "0.2.2", "vrsource-tslint-rules": "5.1.1", "webpack": "1.12.9" - } + }, + "snyk": true } \ No newline at end of file