Skip to content

Commit d127eed

Browse files
committed
fix: package.json, yarn.lock & .snyk to reduce vulnerabilities
1 parent d57f968 commit d127eed

File tree

3 files changed

+1378
-64
lines changed

3 files changed

+1378
-64
lines changed

.snyk

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
2+
version: v1.14.1
3+
# ignores vulnerabilities until expiry date; change duration by modifying expiry date
4+
ignore:
5+
SNYK-JS-NODESASS-535498:
6+
- node-sass:
7+
reason: None given
8+
expires: '2020-12-01T06:01:46.480Z'
9+
SNYK-JS-NODESASS-535502:
10+
- node-sass:
11+
reason: None given
12+
expires: '2020-12-01T06:01:46.480Z'
13+
SNYK-JS-NODESASS-540956:
14+
- node-sass:
15+
reason: None given
16+
expires: '2020-12-01T06:01:46.480Z'
17+
SNYK-JS-NODESASS-540958:
18+
- node-sass:
19+
reason: None given
20+
expires: '2020-12-01T06:01:46.480Z'
21+
SNYK-JS-NODESASS-540964:
22+
- node-sass:
23+
reason: None given
24+
expires: '2020-12-01T06:01:46.480Z'
25+
SNYK-JS-NODESASS-540974:
26+
- node-sass:
27+
reason: None given
28+
expires: '2020-12-01T06:01:46.480Z'
29+
SNYK-JS-NODESASS-540978:
30+
- node-sass:
31+
reason: None given
32+
expires: '2020-12-01T06:01:46.480Z'
33+
SNYK-JS-NODESASS-540980:
34+
- node-sass:
35+
reason: None given
36+
expires: '2020-12-01T06:01:46.480Z'
37+
SNYK-JS-NODESASS-540990:
38+
- node-sass:
39+
reason: None given
40+
expires: '2020-12-01T06:01:46.480Z'
41+
SNYK-JS-NODESASS-540992:
42+
- node-sass:
43+
reason: None given
44+
expires: '2020-12-01T06:01:46.480Z'
45+
SNYK-JS-NODESASS-540994:
46+
- node-sass:
47+
reason: None given
48+
expires: '2020-12-01T06:01:46.480Z'
49+
SNYK-JS-NODESASS-540996:
50+
- node-sass:
51+
reason: None given
52+
expires: '2020-12-01T06:01:46.480Z'
53+
SNYK-JS-NODESASS-540998:
54+
- node-sass:
55+
reason: None given
56+
expires: '2020-12-01T06:01:46.481Z'
57+
SNYK-JS-NODESASS-541000:
58+
- node-sass:
59+
reason: None given
60+
expires: '2020-12-01T06:01:46.481Z'
61+
SNYK-JS-NODESASS-541002:
62+
- node-sass:
63+
reason: None given
64+
expires: '2020-12-01T06:01:46.481Z'
65+
patch: {}

package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@
8181
"smoothscroll-polyfill": "^0.4.4",
8282
"store2": "^2.12.0",
8383
"swr": "^0.3.6",
84+
"snyk": "^1.421.1",
8485
"tailwindcss": "^1.9.6",
8586
"ts-jest": "^26.4.2",
8687
"twin.macro": "^1.11.1",
@@ -96,7 +97,9 @@
9697
"test:coverage": "craco test --coverage --runInBand --watchAll=false",
9798
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
9899
"pub": "np --no-publish",
99-
"version": "npm run changelog && git add ."
100+
"version": "npm run changelog && git add .",
101+
"snyk-protect": "snyk protect",
102+
"prepare": "npm run snyk-protect"
100103
},
101104
"browserslist": {
102105
"production": [
@@ -120,5 +123,6 @@
120123
},
121124
"engines": {
122125
"node": ">=12.0.0"
123-
}
126+
},
127+
"snyk": true
124128
}

0 commit comments

Comments
 (0)