mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
Merge pull request #9 from hydro-dev/snyk-fix-373b2ed53f229efbf84aab4dea521ede
[Snyk] Fix for 1 vulnerabilities
This commit is contained in:
3 files changed
+2290
-77
No files matched your search
@@ -0,0 +1,8 @@
|
|||||||
|
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
|
||||||
|
version: v1.16.0
|
||||||
|
ignore: {}
|
||||||
|
# patches apply the minimum changes required to fix a vulnerability
|
||||||
|
patch:
|
||||||
|
SNYK-JS-LODASH-567746:
|
||||||
|
- react-resize-detector > lodash:
|
||||||
|
patched: '2020-07-17T09:00:07.281Z'
|
||||||
+7
-3
@@ -106,12 +106,15 @@
|
|||||||
"timeago-react": "^3.0.0",
|
"timeago-react": "^3.0.0",
|
||||||
"timeago.js": "^4.0.2",
|
"timeago.js": "^4.0.2",
|
||||||
"uuid": "^8.2.0",
|
"uuid": "^8.2.0",
|
||||||
"vj-simplemde": "0.0.8"
|
"vj-simplemde": "0.0.8",
|
||||||
|
"snyk": "^1.362.1"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "node build",
|
"build": "node build",
|
||||||
"build:production": "node build --production",
|
"build:production": "node build --production",
|
||||||
"lint": "eslint components constant pages utils --fix"
|
"lint": "eslint components constant pages utils --fix",
|
||||||
|
"snyk-protect": "snyk protect",
|
||||||
|
"prepare": "yarn run snyk-protect"
|
||||||
},
|
},
|
||||||
"babel": {
|
"babel": {
|
||||||
"plugins": [
|
"plugins": [
|
||||||
@@ -206,5 +209,6 @@
|
|||||||
],
|
],
|
||||||
"@babel/preset-react"
|
"@babel/preset-react"
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
|
"snyk": true
|
||||||
}
|
}
|
||||||
+2275
-74
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user