Skip to content

Commit

Permalink
fix: .snyk & package.json to reduce vulnerabilities
Browse files Browse the repository at this point in the history
The following vulnerabilities are fixed with a Snyk patch:
- https://snyk.io/vuln/SNYK-JS-AXIOS-174505
  • Loading branch information
snyk-bot authored and braposo committed Jul 5, 2019
1 parent 595c4f6 commit 326859b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .snyk
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.13.3
ignore: {}
# patches apply the minimum changes required to fix a vulnerability
patch:
SNYK-JS-AXIOS-174505:
- figma-js > axios:
patched: '2019-05-08T11:40:10.123Z'
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
"lint:check": "eslint --print-config . | eslint-config-prettier-check",
"commit": "yarn git-cz",
"semantic-release": "semantic-release",
"snyk-protect": "snyk protect",
"prepublish": "npm run snyk-protect",
"ts:check": "tsc -p tsconfig.json --allowJs false --noEmit"
},
"keywords": [
Expand Down Expand Up @@ -56,6 +58,7 @@
"isomorphic-fetch": "^2.2.1",
"lodash": "^4.17.11",
"nodemon": "^1.19.0",
"snyk": "^1.162.0",
"ts-node": "^8.2.0"
},
"devDependencies": {
Expand Down Expand Up @@ -125,5 +128,6 @@
"commitizen": {
"path": "cz-conventional-changelog"
}
}
},
"snyk": true
}

0 comments on commit 326859b

Please sign in to comment.