diff --git a/.snyk b/.snyk new file mode 100644 index 00000000..a1852e94 --- /dev/null +++ b/.snyk @@ -0,0 +1,110 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.22.1 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-567746: + - '@vue/test-utils > lodash': + patched: '2022-03-26T20:13:55.898Z' + - eslint > lodash: + patched: '2022-03-26T20:13:55.898Z' + - eslint-import-resolver-webpack > lodash: + patched: '2022-03-26T20:13:55.898Z' + - stylelint-scss > lodash: + patched: '2022-03-26T20:13:55.898Z' + - '@nextcloud/axios > @babel/cli > lodash': + patched: '2022-03-26T20:13:55.898Z' + - babel-eslint > @babel/traverse > lodash: + patched: '2022-03-26T20:13:55.898Z' + - eslint > inquirer > lodash: + patched: '2022-03-26T20:13:55.898Z' + - eslint > table > lodash: + patched: '2022-03-26T20:13:55.898Z' + - eslint-plugin-vue > vue-eslint-parser > lodash: + patched: '2022-03-26T20:13:55.898Z' + - '@nextcloud/vue > v-tooltip > lodash': + patched: '2022-03-26T20:13:55.898Z' + - '@nextcloud/vue > @nextcloud/axios > @babel/cli > lodash': + patched: '2022-03-26T20:13:55.898Z' + - babel-jest > @types/babel__core > @babel/types > lodash: + patched: '2022-03-26T20:13:55.898Z' + - stylelint > @stylelint/postcss-css-in-js > @babel/core > lodash: + patched: '2022-03-26T20:13:55.898Z' + - babel-eslint > @babel/traverse > @babel/generator > lodash: + patched: '2022-03-26T20:13:55.898Z' + - '@nextcloud/axios > @babel/preset-env > @babel/preset-modules > @babel/types > lodash': + patched: '2022-03-26T20:13:55.898Z' + - babel-jest > @types/babel__core > @types/babel__traverse > @babel/types > lodash: + patched: '2022-03-26T20:13:55.898Z' + - stylelint > @stylelint/postcss-css-in-js > @babel/core > @babel/helper-module-transforms > lodash: + patched: '2022-03-26T20:13:55.898Z' + - babel-jest > babel-plugin-istanbul > istanbul-lib-instrument > @babel/core > lodash: + patched: '2022-03-26T20:13:55.898Z' + - babel-eslint > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash: + patched: '2022-03-26T20:13:55.898Z' + - babel-jest > babel-preset-jest > babel-plugin-jest-hoist > @babel/types > lodash: + patched: '2022-03-26T20:13:55.898Z' + - '@nextcloud/vue > @nextcloud/axios > @babel/preset-env > @babel/preset-modules > @babel/types > lodash': + patched: '2022-03-26T20:13:55.898Z' + - babel-jest > @jest/transform > @babel/core > @babel/helpers > @babel/traverse > lodash: + patched: '2022-03-26T20:13:55.898Z' + - stylelint > @stylelint/postcss-css-in-js > @babel/core > @babel/helpers > @babel/traverse > lodash: + patched: '2022-03-26T20:13:55.898Z' + - babel-jest > babel-plugin-istanbul > istanbul-lib-instrument > @babel/core > @babel/helper-module-transforms > lodash: + patched: '2022-03-26T20:13:55.898Z' + - babel-jest > @jest/transform > babel-plugin-istanbul > istanbul-lib-instrument > @babel/core > lodash: + patched: '2022-03-26T20:13:55.898Z' + - babel-eslint > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2022-03-26T20:13:55.898Z' + - babel-jest > babel-preset-jest > babel-plugin-jest-hoist > @types/babel__core > @babel/types > lodash: + patched: '2022-03-26T20:13:55.898Z' + - '@nextcloud/vue > @nextcloud/axios > @babel/preset-env > @babel/plugin-transform-unicode-regex > @babel/helper-create-regexp-features-plugin > @babel/helper-regex > lodash': + patched: '2022-03-26T20:13:55.898Z' + - babel-jest > @jest/transform > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > lodash: + patched: '2022-03-26T20:13:55.898Z' + - stylelint > @stylelint/postcss-css-in-js > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > lodash: + patched: '2022-03-26T20:13:55.898Z' + - babel-jest > babel-plugin-istanbul > istanbul-lib-instrument > @babel/core > @babel/helpers > @babel/traverse > lodash: + patched: '2022-03-26T20:13:55.898Z' + - babel-jest > @jest/transform > babel-plugin-istanbul > istanbul-lib-instrument > @babel/core > @babel/helper-module-transforms > lodash: + patched: '2022-03-26T20:13:55.898Z' + - babel-jest > babel-preset-jest > babel-plugin-jest-hoist > @types/babel__core > @types/babel__traverse > @babel/types > lodash: + patched: '2022-03-26T20:13:55.898Z' + - babel-jest > @jest/transform > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/types > lodash: + patched: '2022-03-26T20:13:55.898Z' + - stylelint > @stylelint/postcss-css-in-js > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/types > lodash: + patched: '2022-03-26T20:13:55.898Z' + - babel-jest > babel-plugin-istanbul > istanbul-lib-instrument > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > lodash: + patched: '2022-03-26T20:13:55.898Z' + - babel-jest > @jest/transform > babel-plugin-istanbul > istanbul-lib-instrument > @babel/core > @babel/helpers > @babel/traverse > lodash: + patched: '2022-03-26T20:13:55.898Z' + - '@nextcloud/vue > @nextcloud/axios > @babel/preset-env > @babel/preset-modules > @babel/plugin-transform-dotall-regex > @babel/helper-create-regexp-features-plugin > @babel/helper-regex > lodash': + patched: '2022-03-26T20:13:55.898Z' + - babel-jest > @jest/transform > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash: + patched: '2022-03-26T20:13:55.898Z' + - stylelint > @stylelint/postcss-css-in-js > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash: + patched: '2022-03-26T20:13:55.898Z' + - babel-jest > babel-plugin-istanbul > istanbul-lib-instrument > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/types > lodash: + patched: '2022-03-26T20:13:55.898Z' + - babel-jest > @jest/transform > babel-plugin-istanbul > istanbul-lib-instrument > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > lodash: + patched: '2022-03-26T20:13:55.898Z' + - '@nextcloud/vue > @nextcloud/axios > @babel/preset-env > @babel/plugin-transform-modules-umd > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/generator > lodash': + patched: '2022-03-26T20:13:55.898Z' + - babel-jest > babel-plugin-istanbul > istanbul-lib-instrument > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash: + patched: '2022-03-26T20:13:55.898Z' + - babel-jest > @jest/transform > babel-plugin-istanbul > istanbul-lib-instrument > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/types > lodash: + patched: '2022-03-26T20:13:55.898Z' + - babel-jest > @jest/transform > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2022-03-26T20:13:55.898Z' + - stylelint > @stylelint/postcss-css-in-js > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2022-03-26T20:13:55.898Z' + - '@nextcloud/vue > @nextcloud/axios > @babel/preset-env > @babel/plugin-transform-modules-umd > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash': + patched: '2022-03-26T20:13:55.898Z' + - babel-jest > @jest/transform > babel-plugin-istanbul > istanbul-lib-instrument > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash: + patched: '2022-03-26T20:13:55.898Z' + - babel-jest > babel-plugin-istanbul > istanbul-lib-instrument > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2022-03-26T20:13:55.898Z' + - '@nextcloud/vue > @nextcloud/axios > @babel/preset-env > @babel/plugin-transform-modules-umd > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash': + patched: '2022-03-26T20:13:55.898Z' + - babel-jest > @jest/transform > babel-plugin-istanbul > istanbul-lib-instrument > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: + patched: '2022-03-26T20:13:55.898Z' diff --git a/package.json b/package.json index b55b9941..f31e672a 100644 --- a/package.json +++ b/package.json @@ -1,78 +1,82 @@ { - "name": "privacy", - "version": "1.5.0", - "description": "Place this app in **nextcloud/apps/**", - "main": "js/privacy.js", - "directories": { - "lib": "lib", - "test": "tests" - }, - "private": true, - "scripts": { - "build": "NODE_ENV=production webpack --progress --hide-modules --config webpack.prod.js", - "dev": "NODE_ENV=development webpack --progress --config webpack.dev.js", - "watch": "NODE_ENV=development webpack --progress --watch --config webpack.dev.js", - "lint": "eslint --ext .js,.vue src", - "lint:fix": "eslint --ext .js,.vue src --fix", - "stylelint": "stylelint src", - "stylelint:fix": "stylelint src --fix", - "test": "jest", - "test:coverage": "jest --coverage" - }, - "homepage": "https://github.com/nextcloud/privacy", - "author": "Georg Ehrke", - "license": "AGPL-3.0-or-later", - "dependencies": { - "@babel/polyfill": "^7.11.5", - "@nextcloud/auth": "^1.3.0", - "@nextcloud/axios": "^1.6.0", - "@nextcloud/dialogs": "^3.1.1", - "@nextcloud/initial-state": "^1.2.0", - "@nextcloud/l10n": "^1.4.1", - "@nextcloud/router": "^1.2.0", - "@nextcloud/vue": "^2.6.5", - "core-js": "^3.4.4", - "vue": "^2.6.12", - "vue-click-outside": "^1.1.0", - "vuex": "^3.6.2" - }, - "browserslist": [ - "extends @nextcloud/browserslist-config" - ], - "engines": { - "node": ">=10.0.0" - }, - "devDependencies": { - "@babel/core": "^7.13.10", - "@babel/plugin-syntax-dynamic-import": "^7.8.3", - "@babel/preset-env": "^7.11.5", - "@nextcloud/browserslist-config": "^1.0.0", - "@nextcloud/eslint-config": "^2.1.0", - "@nextcloud/eslint-plugin": "^1.4.0", - "@vue/test-utils": "^1.0.5", - "babel-eslint": "^10.1.0", - "babel-jest": "^26.3.0", - "babel-loader": "^8.2.2", - "css-loader": "^4.2.2", - "eslint": "^6.8.0", - "eslint-config-standard": "^12.0.0", - "eslint-friendly-formatter": "^4.0.1", - "eslint-import-resolver-webpack": "^0.12.2", - "eslint-loader": "^3.0.4", - "eslint-plugin-import": "^2.22.1", - "eslint-plugin-nextcloud": "^0.3.0", - "eslint-plugin-node": "^11.1.0", - "eslint-plugin-promise": "^4.2.1", - "eslint-plugin-standard": "^4.1.0", - "eslint-plugin-vue": "^6.2.2", - "stylelint": "^13.7.1", - "stylelint-config-recommended-scss": "^4.2.0", - "stylelint-scss": "^3.18.0", - "stylelint-webpack-plugin": "^2.1.1", - "vue-loader": "^15.9.3", - "vue-template-compiler": "^2.6.12", - "webpack": "^4.44.2", - "webpack-cli": "^3.3.12", - "webpack-merge": "^5.1.4" - } + "name": "privacy", + "version": "1.5.0", + "description": "Place this app in **nextcloud/apps/**", + "main": "js/privacy.js", + "directories": { + "lib": "lib", + "test": "tests" + }, + "private": true, + "scripts": { + "build": "NODE_ENV=production webpack --progress --hide-modules --config webpack.prod.js", + "dev": "NODE_ENV=development webpack --progress --config webpack.dev.js", + "watch": "NODE_ENV=development webpack --progress --watch --config webpack.dev.js", + "lint": "eslint --ext .js,.vue src", + "lint:fix": "eslint --ext .js,.vue src --fix", + "stylelint": "stylelint src", + "stylelint:fix": "stylelint src --fix", + "test": "jest", + "test:coverage": "jest --coverage", + "prepublish": "npm run snyk-protect", + "snyk-protect": "snyk-protect" + }, + "homepage": "https://github.com/nextcloud/privacy", + "author": "Georg Ehrke", + "license": "AGPL-3.0-or-later", + "dependencies": { + "@babel/polyfill": "^7.11.5", + "@nextcloud/auth": "^1.3.0", + "@nextcloud/axios": "^1.6.0", + "@nextcloud/dialogs": "^3.1.1", + "@nextcloud/initial-state": "^1.2.0", + "@nextcloud/l10n": "^1.4.1", + "@nextcloud/router": "^1.2.0", + "@nextcloud/vue": "^2.6.5", + "core-js": "^3.4.4", + "vue": "^2.6.12", + "vue-click-outside": "^1.1.0", + "vuex": "^3.6.2", + "@snyk/protect": "latest" + }, + "browserslist": [ + "extends @nextcloud/browserslist-config" + ], + "engines": { + "node": ">=10.0.0" + }, + "devDependencies": { + "@babel/core": "^7.13.10", + "@babel/plugin-syntax-dynamic-import": "^7.8.3", + "@babel/preset-env": "^7.11.5", + "@nextcloud/browserslist-config": "^1.0.0", + "@nextcloud/eslint-config": "^2.1.0", + "@nextcloud/eslint-plugin": "^1.4.0", + "@vue/test-utils": "^1.0.5", + "babel-eslint": "^10.1.0", + "babel-jest": "^26.3.0", + "babel-loader": "^8.2.2", + "css-loader": "^4.2.2", + "eslint": "^6.8.0", + "eslint-config-standard": "^12.0.0", + "eslint-friendly-formatter": "^4.0.1", + "eslint-import-resolver-webpack": "^0.12.2", + "eslint-loader": "^3.0.4", + "eslint-plugin-import": "^2.22.1", + "eslint-plugin-nextcloud": "^0.3.0", + "eslint-plugin-node": "^11.1.0", + "eslint-plugin-promise": "^4.2.1", + "eslint-plugin-standard": "^4.1.0", + "eslint-plugin-vue": "^6.2.2", + "stylelint": "^13.7.1", + "stylelint-config-recommended-scss": "^4.2.0", + "stylelint-scss": "^3.18.0", + "stylelint-webpack-plugin": "^2.1.1", + "vue-loader": "^15.9.3", + "vue-template-compiler": "^2.6.12", + "webpack": "^4.44.2", + "webpack-cli": "^3.3.12", + "webpack-merge": "^5.1.4" + }, + "snyk": true }