diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..6ead602 --- /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: + - ink-docstrap > sanitize-html > lodash: + patched: '2020-05-30T04:35:39.183Z' diff --git a/package.json b/package.json index 7341128..e021bf3 100644 --- a/package.json +++ b/package.json @@ -1,123 +1,127 @@ { - "name": "not-node", - "version": "3.3.49", - "description": "node complimentary part for client side notFramework.", - "main": "index.js", - "scripts": { - "test": "./node_modules/.bin/mocha --reporter spec --timeout 12000", - "lint": "./node_modules/.bin/eslint ./src/**/**.js", - "pretest": "./node_modules/.bin/eslint ./src/**/**", - "docs": "./node_modules/.bin/jsdoc -c jsdoc.json", - "cover": "nyc npm test" - }, - "bin": { - "not-node": "./bin/not-node.js", - "not-builder": "./bin/not-builder.js" - }, - "engines": { - "node": ">9.0" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/interrupter/not-node.git" - }, - "keywords": [ - "notFramework", - "node" - ], - "author": "interrupter (http://github.com/interrupter)", - "license": "ISC", - "bugs": { - "url": "https://github.com/interrupter/not-node/issues" - }, - "dependencies": { - "@babel/core": "^7.9.6", - "babel-polyfill": "*", - "babel-preset-es2015-rollup": "*", - "babel-runtime": "*", - "cssnano": "*", - "deep-diff": "*", - "deepmerge": "^4.2.2", - "ejs": "^3.1.2", - "escape-string-regexp": "*", - "fs-extra": "^9.0.0", - "ink-docstrap": "^1.3.2", - "jsdoc": "^3.6.4", - "lower-case": "*", - "mongoose": "*", - "mongoose-validator": "*", - "nconf": "^0.10.0", - "node-sass": "^4.14.1", - "not-filter": "*", - "not-locale": "*", - "not-log": "0.0.14", - "npm": "^6.14.5", - "nyc": "^15.0.1", - "postcss-cssnext": "*", - "postcss-env-replace": "*", - "postcss-nested": "*", - "postcss-simple-vars": "*", - "rebuild-node-sass": "^1.1.0", - "rmdir": "^1.2.0", - "rollup": "^2.9.1", - "rollup-plugin-babel": "*", - "rollup-plugin-commonjs": "*", - "rollup-plugin-eslint": "*", - "rollup-plugin-filesize": "*", - "rollup-plugin-javascript-obfuscator": "*", - "rollup-plugin-node-resolve": "*", - "rollup-plugin-postcss": "*", - "rollup-plugin-replace": "*", - "rollup-plugin-sass": "*", - "rollup-plugin-uglify": "*", - "simple-git": "*", - "yargs": "*" - }, - "devDependencies": { - "chai": "*", - "chai-as-promised": "*", - "eslint": "*", - "istanbul": "*", - "mocha": "*", - "mongodb-memory-server": "^6.6.0", - "request": "*", - "retire": "^2.2.1" - }, - "homepage": "https://github.com/interrupter/not-node#readme", - "nyc": { - "include": [ - "index.js", - "src/**/**/**.js" - ], - "exclude": [ - "tests/**/**/**/**.js" - ], - "reporter": [ - "html" - ], - "check-coverage": false, - "per-file": true, - "lines": 95, - "statements": 95, - "functions": 95, - "branches": 95, - "watermarks": { - "lines": [ - 80, - 95 - ], - "functions": [ - 80, - 95 - ], - "branches": [ - 80, - 95 - ], - "statements": [ - 80, - 95 - ] - } - } + "name": "not-node", + "version": "3.3.49", + "description": "node complimentary part for client side notFramework.", + "main": "index.js", + "scripts": { + "test": "./node_modules/.bin/mocha --reporter spec --timeout 12000", + "lint": "./node_modules/.bin/eslint ./src/**/**.js", + "pretest": "./node_modules/.bin/eslint ./src/**/**", + "docs": "./node_modules/.bin/jsdoc -c jsdoc.json", + "cover": "nyc npm test", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "bin": { + "not-node": "./bin/not-node.js", + "not-builder": "./bin/not-builder.js" + }, + "engines": { + "node": ">9.0" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/interrupter/not-node.git" + }, + "keywords": [ + "notFramework", + "node" + ], + "author": "interrupter (http://github.com/interrupter)", + "license": "ISC", + "bugs": { + "url": "https://github.com/interrupter/not-node/issues" + }, + "dependencies": { + "@babel/core": "^7.9.6", + "babel-polyfill": "*", + "babel-preset-es2015-rollup": "*", + "babel-runtime": "*", + "cssnano": "*", + "deep-diff": "*", + "deepmerge": "^4.2.2", + "ejs": "^3.1.2", + "escape-string-regexp": "*", + "fs-extra": "^9.0.0", + "ink-docstrap": "^1.3.2", + "jsdoc": "^3.6.4", + "lower-case": "*", + "mongoose": "*", + "mongoose-validator": "*", + "nconf": "^0.10.0", + "node-sass": "^4.14.1", + "not-filter": "*", + "not-locale": "*", + "not-log": "0.0.14", + "npm": "^6.14.5", + "nyc": "^15.0.1", + "postcss-cssnext": "*", + "postcss-env-replace": "*", + "postcss-nested": "*", + "postcss-simple-vars": "*", + "rebuild-node-sass": "^1.1.0", + "rmdir": "^1.2.0", + "rollup": "^2.9.1", + "rollup-plugin-babel": "*", + "rollup-plugin-commonjs": "*", + "rollup-plugin-eslint": "*", + "rollup-plugin-filesize": "*", + "rollup-plugin-javascript-obfuscator": "*", + "rollup-plugin-node-resolve": "*", + "rollup-plugin-postcss": "*", + "rollup-plugin-replace": "*", + "rollup-plugin-sass": "*", + "rollup-plugin-uglify": "*", + "simple-git": "*", + "yargs": "*", + "snyk": "^1.332.1" + }, + "devDependencies": { + "chai": "*", + "chai-as-promised": "*", + "eslint": "*", + "istanbul": "*", + "mocha": "*", + "mongodb-memory-server": "^6.6.0", + "request": "*", + "retire": "^2.2.1" + }, + "homepage": "https://github.com/interrupter/not-node#readme", + "nyc": { + "include": [ + "index.js", + "src/**/**/**.js" + ], + "exclude": [ + "tests/**/**/**/**.js" + ], + "reporter": [ + "html" + ], + "check-coverage": false, + "per-file": true, + "lines": 95, + "statements": 95, + "functions": 95, + "branches": 95, + "watermarks": { + "lines": [ + 80, + 95 + ], + "functions": [ + 80, + 95 + ], + "branches": [ + 80, + 95 + ], + "statements": [ + 80, + 95 + ] + } + }, + "snyk": true }