Merge pull request #3 from hydro-dev/snyk-fix-5d0d867644550e6e77c32f6fc8876187

[Snyk] Fix for 1 vulnerabilities
This commit is contained in:
undefined authored and GitHub committed 2020-06-16 13:19:03 +08:00
commit 137c4fa40a
3 files changed
+1903 -97

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.15.0
ignore: {}
# patches apply the minimum changes required to fix a vulnerability
patch:
SNYK-JS-LODASH-567746:
- lodash:
patched: '2020-06-16T05:18:19.258Z'
+59 -55
View File
@@ -1,57 +1,61 @@
{ {
"name": "hydrooj", "name": "hydrooj",
"version": "2.2.1", "version": "2.2.1",
"main": "hydro/loader.js", "main": "hydro/loader.js",
"repository": "https://github.com/hydro-dev/Hydro.git", "repository": "https://github.com/hydro-dev/Hydro.git",
"author": "masnn", "author": "masnn",
"license": "GPL-3.0-only", "license": "GPL-3.0-only",
"dependencies": { "dependencies": {
"adm-zip": "^0.4.14", "adm-zip": "^0.4.14",
"axios": "^0.19.0", "axios": "^0.19.0",
"bson": "^4.0.2", "bson": "^4.0.2",
"js-yaml": "^3.13.1", "js-yaml": "^3.13.1",
"koa": "^2.11.0", "koa": "^2.11.0",
"koa-body": "^4.1.1", "koa-body": "^4.1.1",
"koa-morgan": "^1.0.1", "koa-morgan": "^1.0.1",
"koa-router": "^8.0.8", "koa-router": "^8.0.8",
"koa-static-cache": "^5.1.3", "koa-static-cache": "^5.1.3",
"lodash": "^4.17.15", "lodash": "^4.17.15",
"markdown-it": "^10.0.0", "markdown-it": "^10.0.0",
"markdown-it-container": "^3.0.0", "markdown-it-container": "^3.0.0",
"markdown-it-footnote": "^3.0.2", "markdown-it-footnote": "^3.0.2",
"markdown-it-imsize": "^2.0.1", "markdown-it-imsize": "^2.0.1",
"markdown-it-katex": "^2.0.3", "markdown-it-katex": "^2.0.3",
"markdown-it-mark": "^3.0.0", "markdown-it-mark": "^3.0.0",
"moment-timezone": "^0.5.31", "moment-timezone": "^0.5.31",
"mongodb": "^3.5.7", "mongodb": "^3.5.7",
"nodemailer": "^6.3.1", "nodemailer": "^6.3.1",
"nunjucks": "^3.2.1", "nunjucks": "^3.2.1",
"prismjs": "^1.20.0", "prismjs": "^1.20.0",
"sockjs": "^0.3.20", "sockjs": "^0.3.20",
"systeminformation": "^4.26.5" "systeminformation": "^4.26.5",
}, "snyk": "^1.341.1"
"devDependencies": { },
"eslint": "^6.8.0", "devDependencies": {
"eslint-config-airbnb-base": "^14.1.0", "eslint": "^6.8.0",
"eslint-plugin-import": "^2.20.2", "eslint-config-airbnb-base": "^14.1.0",
"friendly-errors-webpack-plugin": "^1.7.0", "eslint-plugin-import": "^2.20.2",
"webpack": "^4.42.1" "friendly-errors-webpack-plugin": "^1.7.0",
}, "webpack": "^4.42.1"
"scripts": { },
"build": "node build/development.js", "scripts": {
"build:development": "node build/development.js", "build": "node build/development.js",
"build:production": "node build/production.js", "build:development": "node build/development.js",
"build:all": "cd ui && yarn && yarn build:production && cd .. && yarn && yarn build:production", "build:production": "node build/production.js",
"start": "node hydro/loader.js", "build:all": "cd ui && yarn && yarn build:production && cd .. && yarn && yarn build:production",
"pack": "pkg .", "start": "node hydro/loader.js",
"lint": "eslint build hydro module tool --fix" "pack": "pkg .",
}, "lint": "eslint build hydro module tool --fix",
"pkg": { "snyk-protect": "snyk protect",
"scripts": [ "prepare": "yarn run snyk-protect"
".build/app.js" },
], "pkg": {
"assets": [ "scripts": [
".build/module/**" ".build/app.js"
] ],
} "assets": [
".build/module/**"
]
},
"snyk": true
} }
+1836 -42
View File
File diff suppressed because it is too large. Load diff