Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Commit

Permalink
fix: package.json & .snyk to reduce vulnerabilities
Browse files Browse the repository at this point in the history
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/npm:minimatch:20160620


The following vulnerabilities are fixed with a Snyk patch:
- https://snyk.io/vuln/npm:minimatch:20160620

Latest report for labshare/lsc:package.json:
https://snyk.io/test/github/labshare/lsc?targetFile=package.json
  • Loading branch information
snyk-bot committed May 9, 2018
1 parent ba5c715 commit 4f48d3d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
12 changes: 12 additions & 0 deletions .snyk
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.12.0
ignore: {}
# patches apply the minimum changes required to fix a vulnerability
patch:
'npm:minimatch:20160620':
- gulp > vinyl-fs > glob-stream > minimatch:
patched: '2018-05-09T22:39:53.161Z'
- gulp > vinyl-fs > glob-watcher > gaze > globule > minimatch:
patched: '2018-05-09T22:39:53.161Z'
- gulp > vinyl-fs > glob-watcher > gaze > globule > glob > minimatch:
patched: '2018-05-09T22:39:53.161Z'
12 changes: 8 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
"test": "jasmine-node --captureExceptions --color ./test/lib/unit",
"coverage": "istanbul cover jasmine-node ./test/lib/unit",
"build": "tsc",
"watch:build": "tsc --watch"
"watch:build": "tsc --watch",
"snyk-protect": "snyk protect",
"prepublish": "npm run snyk-protect"
},
"bin": {
"lsc": "./lib/bin/lsc.js"
Expand All @@ -41,7 +43,7 @@
"flatiron-cli-config": "^0.1.5",
"fluent-logger": "^2.0.1",
"glob": "^7.1.1",
"gulp": "^3.9.1",
"gulp": "^4.0.0",
"gulp-conflict": "^0.4.0",
"gulp-rename": "^1.2.2",
"gulp-template": "^4.0.0",
Expand All @@ -55,7 +57,8 @@
"underscore.string": "^3.3.4",
"untildify": "^3.0.2",
"winston": "2.3.1",
"yargs": "^8.0.2"
"yargs": "^8.0.2",
"snyk": "^1.80.0"
},
"devDependencies": {
"@types/jasmine": "^2.6.0",
Expand All @@ -64,5 +67,6 @@
"jasmine-node": "^1.14.5",
"mock-fs": "^4.4.1",
"typescript": "^2.5.3"
}
},
"snyk": true
}

0 comments on commit 4f48d3d

Please sign in to comment.