Skip to content

Commit f459e1e

Browse files
snyk-botpateash
authored andcommitted
fix: package.json, package-lock.json & .snyk to reduce vulnerabilities
The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746
1 parent c42427d commit f459e1e

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
"ora": "^4.0.3",
3333
"signale": "^1.4.0",
3434
"test": "^0.6.0",
35-
"tslib": "^1.11.1"
35+
"tslib": "^1.11.1",
36+
"snyk": "^1.316.1"
3637
},
3738
"devDependencies": {
3839
"@oclif/dev-cli": "^1.22.2",
@@ -93,11 +94,14 @@
9394
"posttest": "tslint -p test -t stylish",
9495
"prepack": "rm -rf lib && tsc -b && oclif-dev manifest && oclif-dev readme",
9596
"test": "nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"",
96-
"version": "oclif-dev readme && git add README.md"
97+
"version": "oclif-dev readme && git add README.md",
98+
"snyk-protect": "snyk protect",
99+
"prepare": "npm run snyk-protect"
97100
},
98101
"types": "lib/index.d.ts",
99102
"directories": {
100103
"lib": "lib",
101104
"test": "test"
102-
}
105+
},
106+
"snyk": true
103107
}

0 commit comments

Comments
 (0)