Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Fix for 1 vulnerabilities #217

Open
wants to merge 2 commits into
base: canary
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions examples/with-jest-typescript/.snyk
Original file line number Diff line number Diff line change
@@ -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-05-01T08:28:30.606Z'
- next > babel-plugin-transform-define > lodash:
patched: '2020-05-01T08:28:30.606Z'
- next > @babel/preset-env > @babel/plugin-transform-block-scoping > lodash:
patched: '2020-05-01T08:28:30.606Z'
- next > styled-jsx > @babel/types > lodash:
patched: '2020-05-01T08:28:30.606Z'
- next > @babel/preset-env > @babel/plugin-transform-classes > @babel/helper-define-map > lodash:
patched: '2020-05-01T08:28:30.606Z'
- next > @babel/preset-env > @babel/plugin-transform-unicode-regex > @babel/helper-create-regexp-features-plugin > @babel/helper-regex > lodash:
patched: '2020-05-01T08:28:30.606Z'
- 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-05-01T08:28:30.606Z'
- 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-05-01T08:28:30.606Z'
- 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-05-01T08:28:30.606Z'
- 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-05-01T08:28:30.606Z'
10 changes: 7 additions & 3 deletions examples/with-jest-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,15 @@
"test": "jest",
"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.8.4",
"react-dom": "^16.8.4"
"react-dom": "^16.8.4",
"snyk": "^1.316.1"
},
"devDependencies": {
"@types/jest": "^24.0.11",
Expand All @@ -24,5 +27,6 @@
"react-addons-test-utils": "^15.6.2",
"react-test-renderer": "^16.8.4",
"typescript": "^3.3.3333"
}
},
"snyk": true
}