Skip to content

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 a Snyk patch:
- https://snyk.io/vuln/npm:minimatch:20160620
  • Loading branch information
snyk-bot committed Jul 31, 2020
1 parent 92ec400 commit 17d2e91
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
12 changes: 12 additions & 0 deletions .snyk
@@ -0,0 +1,12 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.19.0
ignore: {}
# patches apply the minimum changes required to fix a vulnerability
patch:
'npm:minimatch:20160620':
- jasmine-tagged > jasmine-focused > jasmine-node > gaze > fileset > glob > minimatch:
patched: '2020-07-31T21:13:18.957Z'
- jasmine-tagged > jasmine-focused > jasmine-node > gaze > fileset > minimatch:
patched: '2020-07-31T21:13:18.957Z'
- jasmine-tagged > jasmine-focused > jasmine-node > gaze > minimatch:
patched: '2020-07-31T21:13:18.957Z'
10 changes: 7 additions & 3 deletions package.json
Expand Up @@ -55,7 +55,8 @@
"text-buffer": "8.1.2",
"typescript-simple": "1.0.0",
"underscore-plus": "^1.6.6",
"yargs": "^3.23.0"
"yargs": "^3.23.0",
"snyk": "^1.369.2"
},
"packageDependencies": {
"atom-dark-syntax": "0.27.0",
Expand Down Expand Up @@ -152,6 +153,9 @@
"private": true,
"scripts": {
"preinstall": "node -e 'process.exit(0)'",
"test": "node script/test"
}
"test": "node script/test",
"snyk-protect": "snyk protect",
"prepublish": "npm run snyk-protect"
},
"snyk": true
}

0 comments on commit 17d2e91

Please sign in to comment.