diff --git a/examples/with-reflux/.snyk b/examples/with-reflux/.snyk new file mode 100644 index 0000000000000..65deb4cb8cb13 --- /dev/null +++ b/examples/with-reflux/.snyk @@ -0,0 +1,26 @@ +# 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: + - next > @babel/core > lodash: + patched: '2020-04-30T22:01:55.871Z' + - next > babel-plugin-transform-define > lodash: + patched: '2020-04-30T22:01:55.871Z' + - next > @babel/preset-env > @babel/plugin-transform-block-scoping > lodash: + patched: '2020-04-30T22:01:55.871Z' + - next > styled-jsx > @babel/types > lodash: + patched: '2020-04-30T22:01:55.871Z' + - next > @babel/preset-env > @babel/plugin-transform-classes > @babel/helper-define-map > lodash: + patched: '2020-04-30T22:01:55.871Z' + - next > @babel/preset-env > @babel/plugin-transform-unicode-regex > @babel/helper-create-regexp-features-plugin > @babel/helper-regex > lodash: + patched: '2020-04-30T22:01:55.871Z' + - next > @babel/preset-env > @babel/plugin-transform-exponentiation-operator > @babel/helper-builder-binary-assignment-operator-visitor > @babel/helper-explode-assignable-expression > @babel/traverse > lodash: + patched: '2020-04-30T22:01:55.871Z' + - next > @babel/preset-env > @babel/plugin-transform-exponentiation-operator > @babel/helper-builder-binary-assignment-operator-visitor > @babel/helper-explode-assignable-expression > @babel/traverse > @babel/generator > lodash: + patched: '2020-04-30T22:01:55.871Z' + - next > @babel/preset-env > @babel/plugin-transform-exponentiation-operator > @babel/helper-builder-binary-assignment-operator-visitor > @babel/helper-explode-assignable-expression > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash: + patched: '2020-04-30T22:01:55.871Z' + - next > @babel/preset-env > @babel/plugin-transform-exponentiation-operator > @babel/helper-builder-binary-assignment-operator-visitor > @babel/helper-explode-assignable-expression > @babel/traverse > @babel/helper-function-name > @babel/helper-get-function-arity > @babel/types > lodash: + patched: '2020-04-30T22:01:55.871Z' diff --git a/examples/with-reflux/package.json b/examples/with-reflux/package.json index dc493d74e7df9..82d56523eba13 100644 --- a/examples/with-reflux/package.json +++ b/examples/with-reflux/package.json @@ -4,13 +4,17 @@ "scripts": { "dev": "next", "build": "next build", - "start": "next start" + "start": "next start", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "dependencies": { "next": "latest", "react": "^16.0.0", "react-dom": "^16.0.0", - "reflux": "^6.4.1" + "reflux": "^6.4.1", + "snyk": "^1.316.1" }, - "license": "ISC" + "license": "ISC", + "snyk": true }