Skip to content

Commit 14383f8

Browse files
snyk-botbirkir
authored andcommitted
fix: packages/prime-field-number/.snyk & packages/prime-field-number/package.json to reduce vulnerabilities (#254)
The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-450202
1 parent 7a6b090 commit 14383f8

2 files changed

Lines changed: 41 additions & 3 deletions

File tree

packages/prime-field-number/.snyk

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
2+
version: v1.13.5
3+
ignore: {}
4+
# patches apply the minimum changes required to fix a vulnerability
5+
patch:
6+
SNYK-JS-LODASH-450202:
7+
- antd > rc-tabs > lodash:
8+
patched: '2019-07-03T22:03:14.450Z'
9+
- lodash:
10+
patched: '2019-07-03T22:03:14.450Z'
11+
- antd > lodash:
12+
patched: '2019-07-03T22:03:14.450Z'
13+
- antd > rc-form > lodash:
14+
patched: '2019-07-03T22:03:14.450Z'
15+
- antd > rc-table > lodash:
16+
patched: '2019-07-03T22:03:14.450Z'
17+
- antd > rc-steps > lodash:
18+
patched: '2019-07-03T22:03:14.450Z'
19+
- '@primecms/field > antd > lodash':
20+
patched: '2019-07-03T22:03:14.450Z'
21+
- '@primecms/field > lodash':
22+
patched: '2019-07-03T22:03:14.450Z'
23+
- '@primecms/field > antd > rc-form > lodash':
24+
patched: '2019-07-03T22:03:14.450Z'
25+
- antd > rc-editor-mention > rc-editor-core > lodash:
26+
patched: '2019-07-03T22:03:14.450Z'
27+
- '@primecms/field > antd > rc-tabs > lodash':
28+
patched: '2019-07-03T22:03:14.450Z'
29+
- '@primecms/field > antd > rc-steps > lodash':
30+
patched: '2019-07-03T22:03:14.450Z'
31+
- '@primecms/field > antd > rc-table > lodash':
32+
patched: '2019-07-03T22:03:14.450Z'
33+
- '@primecms/field > antd > rc-editor-mention > rc-editor-core > lodash':
34+
patched: '2019-07-03T22:03:14.450Z'

packages/prime-field-number/package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@
2323
"prepublishOnly": "yarn compile",
2424
"testonly": "jest --runInBand",
2525
"test:watch": "jest --watch",
26-
"coverage": "yarn testonly --coverage"
26+
"coverage": "yarn testonly --coverage",
27+
"snyk-protect": "snyk protect",
28+
"prepublish": "npm run snyk-protect"
2729
},
2830
"jest": {
2931
"preset": "ts-jest"
@@ -39,12 +41,14 @@
3941
"graphql": "^14.1.1",
4042
"lodash": "^4.17.11",
4143
"react": "^16.8.0-alpha.1",
42-
"react-dom": "^16.8.0-alpha.1"
44+
"react-dom": "^16.8.0-alpha.1",
45+
"snyk": "^1.189.0"
4346
},
4447
"devDependencies": {
4548
"@types/graphql": "14.2.2",
4649
"ts-loader": "5.3.3",
4750
"webpack-cli": "3.2.3"
4851
},
49-
"gitHead": "f00baf08a686c40cd5cc34fa4facdacf605b7e0c"
52+
"gitHead": "f00baf08a686c40cd5cc34fa4facdacf605b7e0c",
53+
"snyk": true
5054
}

0 commit comments

Comments
 (0)