Skip to content
This repository was archived by the owner on Aug 22, 2023. It is now read-only.

Commit 6170699

Browse files
authored
Merge pull request #8 from mckenziearts/snyk-fix-d2vwks
[Snyk] Fix for 1 vulnerable dependencies
2 parents c00098a + 7eb91a5 commit 6170699

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

.snyk

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
2+
version: v1.13.3
3+
ignore: {}
4+
# patches apply the minimum changes required to fix a vulnerability
5+
patch:
6+
SNYK-JS-AXIOS-174505:
7+
- axios:
8+
patched: '2019-05-06T07:35:03.757Z'
9+
- laravel-file-manager > axios:
10+
patched: '2019-05-06T07:35:03.757Z'

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
"watch-poll": "npm run watch -- --watch-poll",
88
"hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
99
"prod": "npm run production",
10-
"production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
10+
"production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
11+
"snyk-protect": "snyk protect",
12+
"prepublish": "npm run snyk-protect"
1113
},
1214
"dependencies": {
1315
"autocomplete.js": "^0.35.0",
@@ -37,7 +39,8 @@
3739
"rodal": "^1.6.3",
3840
"select2": "^4.0",
3941
"select2-bootstrap-theme": "0.1.0-beta.10",
40-
"toastr": "^2.1.4"
42+
"toastr": "^2.1.4",
43+
"snyk": "^1.161.1"
4144
},
4245
"devDependencies": {
4346
"@babel/core": "^7.0.0-0",
@@ -49,5 +52,6 @@
4952
"sass": "^1.15.2",
5053
"sass-loader": "^7.1.0",
5154
"vue-template-compiler": "^2.6.7"
52-
}
55+
},
56+
"snyk": true
5357
}

0 commit comments

Comments
 (0)