Skip to content
This repository was archived by the owner on Sep 29, 2020. It is now read-only.

Commit f15abf2

Browse files
snyk-botPetterRuud
authored andcommittedMay 15, 2019
fix: .snyk & package.json to reduce vulnerabilities (#562)
The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-AXIOS-174505
1 parent e1fb552 commit f15abf2

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed
 

‎.snyk

+5-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,8 @@ ignore:
66
- copy-webpack-plugin > cacache > chownr:
77
reason: None given
88
expires: '2019-02-01T08:43:28.106Z'
9-
patch: {}
9+
# patches apply the minimum changes required to fix a vulnerability
10+
patch:
11+
SNYK-JS-AXIOS-174505:
12+
- axios:
13+
patched: '2019-05-15T12:55:50.680Z'

‎package.json

+7-3
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@
2727
"docker:stop": "docker stop fpfront; docker rm fpfront",
2828
"redis:start": "docker stop redis; docker rm redis; docker run --name redis -p 6379:6379 -d redis",
2929
"up": "docker-compose up -d --remove-orphans --build",
30-
"down": "docker-compose down"
30+
"down": "docker-compose down",
31+
"snyk-protect": "snyk protect",
32+
"prepublish": "npm run snyk-protect"
3133
},
3234
"workspaces": [
3335
"packages/*"
@@ -43,7 +45,8 @@
4345
"history": "^4.9.0",
4446
"react": "^16.8.6",
4547
"react-dom": "^16.8.6",
46-
"stylelint-order": "^2.1.0"
48+
"stylelint-order": "^2.1.0",
49+
"snyk": "^1.164.0"
4750
},
4851
"devDependencies": {
4952
"@babel/core": "^7.4.4",
@@ -139,5 +142,6 @@
139142
"**/*.spec.tsx",
140143
"**/*.spec.ts"
141144
]
142-
}
145+
},
146+
"snyk": true
143147
}

0 commit comments

Comments
 (0)