Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Fix for 1 vulnerabilities #112

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/smc-webapp/.snyk
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.25.1
ignore: {}
# patches apply the minimum changes required to fix a vulnerability
patch:
'npm:minimatch:20160620':
- coffeelint-cjsx > glob > minimatch:
patched: '2024-04-03T21:04:50.426Z'
id: 'npm:minimatch:20160620'
path: coffeelint-cjsx > glob > minimatch
10 changes: 7 additions & 3 deletions src/smc-webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@
"reselect": "^2.5.4",
"three": "^0.78.0",
"timeago": "^1.5.3",
"underscore": "^1.8.3"
"underscore": "^1.8.3",
"@snyk/protect": "latest"
},
"devDependencies": {
"coffee-coverage": "^0.6.3",
Expand All @@ -82,7 +83,9 @@
"scripts": {
"test": "echo 'TEST WEBAPP'; SMC_TEST=true node_modules/.bin/mocha --reporter progress test && echo 'TEST JUPYTER CLIENT'; cd jupyter && ../node_modules/.bin/mocha --reporter progress test",
"lint": "node_modules/.bin/coffeelint -f ../smc-util/coffeelint.json -c *.coffee *.cjsx",
"coverage": "rm -rf ./coverage/; SMC_TEST=true node_modules/.bin/mocha --require ./coffee-coverage-loader.js && node_modules/.bin/istanbul report text html"
"coverage": "rm -rf ./coverage/; SMC_TEST=true node_modules/.bin/mocha --require ./coffee-coverage-loader.js && node_modules/.bin/istanbul report text html",
"prepublish": "npm run snyk-protect",
"snyk-protect": "snyk-protect"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -111,5 +114,6 @@
"bugs": {
"url": "https://github.com/sagemathinc/cocalc/issues"
},
"homepage": "https://github.com/sagemathinc/cocalc"
"homepage": "https://github.com/sagemathinc/cocalc",
"snyk": true
}