diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..27593e8 --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.14.1 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-567746: + - sequelize > lodash: + patched: '2020-05-01T02:54:30.139Z' diff --git a/package.json b/package.json index f38e832..227e95a 100644 --- a/package.json +++ b/package.json @@ -1,35 +1,39 @@ -{ - "name": "@akala/storage", - "version": "1.1.4", - "description": "", - "main": "dist/server/index.js", - "scripts": { - "test": "echo \"Error: no test specified\"", - "build:js": "tsc -p src", - "build:js:routes": "browserify -x @akala/client -x @akala/core dist/client/routes.js -o dist/routes.js", - "build:js:tile": "browserify -x @akala/client -x @akala/core -i @domojs/theme-default/dist/tile dist/client/tile.js -o dist/tile.js", - "build": "npm run build:js" - }, - "prepublishOnly": "npm run build", - "keywords": [], - "author": "", - "license": "MIT", - "types": "dist/server/index.d.ts", - "dependencies": { - "@akala/core": "^2.0.100", - "@akala/server": "^3.0.27", - "mongodb": "^3.3.2", - "reflect-metadata": "^0.1.13", - "sequelize": "^5.19.0", - "uuid": "^3.3.3" - }, - "devDependencies": { - "@types/debug": "^4.1.5", - "@types/mocha": "^5.2.6", - "@types/mongodb": "^3.3.3", - "@types/sequelize": "^4.28.4", - "@types/uuid": "^3.4.5", - "mocha": "^6.2.0", - "mock-require": "^3.0.3" - } +{ + "name": "@akala/storage", + "version": "1.1.4", + "description": "", + "main": "dist/server/index.js", + "scripts": { + "test": "echo \"Error: no test specified\"", + "build:js": "tsc -p src", + "build:js:routes": "browserify -x @akala/client -x @akala/core dist/client/routes.js -o dist/routes.js", + "build:js:tile": "browserify -x @akala/client -x @akala/core -i @domojs/theme-default/dist/tile dist/client/tile.js -o dist/tile.js", + "build": "npm run build:js", + "snyk-protect": "snyk protect", + "prepare": "yarn run snyk-protect" + }, + "prepublishOnly": "npm run build", + "keywords": [], + "author": "", + "license": "MIT", + "types": "dist/server/index.d.ts", + "dependencies": { + "@akala/core": "^2.0.100", + "@akala/server": "^3.0.27", + "mongodb": "^3.3.2", + "reflect-metadata": "^0.1.13", + "sequelize": "^5.19.0", + "uuid": "^3.3.3", + "snyk": "^1.316.1" + }, + "devDependencies": { + "@types/debug": "^4.1.5", + "@types/mocha": "^5.2.6", + "@types/mongodb": "^3.3.3", + "@types/sequelize": "^4.28.4", + "@types/uuid": "^3.4.5", + "mocha": "^6.2.0", + "mock-require": "^3.0.3" + }, + "snyk": true }