Skip to content

Commit f7b70bf

Browse files
authored
Merge pull request #1 from OOCAZ/snyk-fix-0378558bc99563cd54bfee57a4ca5c9b
[Snyk] Fix for 1 vulnerabilities
2 parents 43c4f5b + f8aeccc commit f7b70bf

File tree

3 files changed

+20
-3
lines changed

3 files changed

+20
-3
lines changed

.snyk

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
2+
version: v1.25.0
3+
ignore: {}
4+
# patches apply the minimum changes required to fix a vulnerability
5+
patch:
6+
SNYK-JS-LODASH-567746:
7+
- inquirer > lodash:
8+
patched: '2023-01-23T05:57:07.570Z'

package-lock.json

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
"create-react-library": "index.js"
1414
},
1515
"scripts": {
16-
"test": "ava -v && standard *.js lib/*.js"
16+
"test": "ava -v && standard *.js lib/*.js",
17+
"prepare": "npm run snyk-protect",
18+
"snyk-protect": "snyk-protect"
1719
},
1820
"keywords": [
1921
"react",
@@ -44,7 +46,8 @@
4446
"p-each-series": "^2.1.0",
4547
"parse-git-config": "^3.0.0",
4648
"validate-npm-package-name": "^3.0.0",
47-
"which": "^2.0.2"
49+
"which": "^2.0.2",
50+
"@snyk/protect": "latest"
4851
},
4952
"devDependencies": {
5053
"ava": "^3.5.2",
@@ -58,5 +61,6 @@
5861
"index.test.js",
5962
"lib/**/*.test.js"
6063
]
61-
}
64+
},
65+
"snyk": true
6266
}

0 commit comments

Comments
 (0)