mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
fix: package.json, yarn.lock & .snyk to reduce vulnerabilities
The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746
This commit is contained in:
1 parent
b5e3b81c17
commit
76f048fb53
3 files changed
+1964
-105
No files matched your search
@@ -0,0 +1,12 @@
|
|||||||
|
# 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:
|
||||||
|
- eslint > lodash:
|
||||||
|
patched: '2020-06-20T05:33:18.901Z'
|
||||||
|
- eslint > inquirer > lodash:
|
||||||
|
patched: '2020-06-20T05:33:18.901Z'
|
||||||
|
- eslint > table > lodash:
|
||||||
|
patched: '2020-06-20T05:33:18.901Z'
|
||||||
+64
-60
@@ -1,62 +1,66 @@
|
|||||||
{
|
{
|
||||||
"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",
|
||||||
"ansi_up": "^4.0.4",
|
"ansi_up": "^4.0.4",
|
||||||
"axios": "^0.19.0",
|
"axios": "^0.19.0",
|
||||||
"bson": "^4.0.2",
|
"bson": "^4.0.2",
|
||||||
"detect-browser": "^5.1.1",
|
"detect-browser": "^5.1.1",
|
||||||
"eslint": "7.2.0",
|
"eslint": "7.2.0",
|
||||||
"js-yaml": "^3.13.1",
|
"js-yaml": "^3.13.1",
|
||||||
"koa": "^2.12.1",
|
"koa": "^2.12.1",
|
||||||
"koa-body": "^4.2.0",
|
"koa-body": "^4.2.0",
|
||||||
"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": "^11.0.0",
|
"markdown-it": "^11.0.0",
|
||||||
"markdown-it-anchor": "^5.3.0",
|
"markdown-it-anchor": "^5.3.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",
|
||||||
"markdown-it-table-of-contents": "^0.4.4",
|
"markdown-it-table-of-contents": "^0.4.4",
|
||||||
"moment-timezone": "^0.5.31",
|
"moment-timezone": "^0.5.31",
|
||||||
"mongodb": "^3.5.9",
|
"mongodb": "^3.5.9",
|
||||||
"nodemailer": "^6.4.10",
|
"nodemailer": "^6.4.10",
|
||||||
"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",
|
||||||
"yargs": "^15.3.1"
|
"yargs": "^15.3.1",
|
||||||
},
|
"snyk": "^1.346.0"
|
||||||
"devDependencies": {
|
},
|
||||||
"eslint-config-airbnb-base": "^14.2.0",
|
"devDependencies": {
|
||||||
"eslint-plugin-import": "^2.20.2",
|
"eslint-config-airbnb-base": "^14.2.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
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user