From 204c0e2c2f017fe52a89757754c50f09ce1f15ac Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Wed, 31 Aug 2022 19:56:58 +0200 Subject: [PATCH] Frontend: Update deps in package.json and package-lock.json Pins "eslint" package to v8.22.0 due to compatibility issues, see: - https://youtrack.jetbrains .com/issue/WEB-57089/ESLint823-TypeError-thislibOptionsparse-is-not-a-function - https://github.com/eslint/eslint/commit /3e5839ecae96aecfbc1ac9526e88e0105e671032#diff-358c9491edc00f0db6f2f3c317df9aa932135803481b86c9289bd56bf8af0622L66 Signed-off-by: Michael Mayer --- frontend/package-lock.json | 125 +++++++++++++++++-------------------- frontend/package.json | 56 ++++++++--------- 2 files changed, 87 insertions(+), 94 deletions(-) diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 3d669a661..a3c6bae5f 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -9,31 +9,31 @@ "version": "1.0.0", "license": "AGPL-3.0", "dependencies": { - "@babel/cli": "^7.17.10", - "@babel/core": "^7.18.5", - "@babel/eslint-parser": "^7.18.2", - "@babel/plugin-proposal-class-properties": "^7.17.12", - "@babel/plugin-proposal-object-rest-spread": "^7.18.0", - "@babel/plugin-transform-runtime": "^7.18.2", - "@babel/preset-env": "^7.18.2", - "@babel/register": "^7.17.7", - "@babel/runtime": "^7.18.3", + "@babel/cli": "^7.18.10", + "@babel/core": "^7.18.13", + "@babel/eslint-parser": "^7.18.9", + "@babel/plugin-proposal-class-properties": "^7.18.6", + "@babel/plugin-proposal-object-rest-spread": "^7.18.9", + "@babel/plugin-transform-runtime": "^7.18.10", + "@babel/preset-env": "^7.18.10", + "@babel/register": "^7.18.9", + "@babel/runtime": "^7.18.9", "@lcdp/offline-plugin": "^5.1.1", "@vvo/tzdb": "^6.51.0", "axios": "^0.27.2", - "axios-mock-adapter": "^1.21.1", + "axios-mock-adapter": "^1.21.2", "babel-loader": "^8.2.5", "babel-plugin-istanbul": "^6.1.1", - "browserslist": "^4.20.4", + "browserslist": "^4.21.3", "chai": "^4.3.6", "cheerio": "1.0.0-rc.10", "chrome-finder": "^1.0.7", - "core-js": "^3.23.1", + "core-js": "^3.25.0", "cross-env": "^7.0.3", "css-loader": "^6.7.1", - "cssnano": "^5.1.11", + "cssnano": "^5.1.13", "easygettext": "^2.17.0", - "eslint": "^8.17.0", + "eslint": "8.22.0", "eslint-config-prettier": "^8.5.0", "eslint-config-standard": "^17.0.0", "eslint-formatter-pretty": "^4.1.0", @@ -47,7 +47,7 @@ "eventsource-polyfill": "^0.9.6", "file-loader": "^6.2.0", "file-saver": "^2.0.5", - "hls.js": "^1.1.5", + "hls.js": "^1.2.1", "i": "^0.3.7", "karma": "^6.4.0", "karma-chrome-launcher": "^3.1.1", @@ -56,26 +56,26 @@ "karma-mocha": "^2.0.1", "karma-verbose-reporter": "^0.0.8", "karma-webpack": "^5.0.0", - "luxon": "^2.4.0", - "maplibre-gl": "^2.1.9", + "luxon": "^2.5.0", + "maplibre-gl": "^2.4.0", "memoize-one": "^6.0.0", "mini-css-extract-plugin": "^2.6.1", "minimist": ">=1.2.5", "mocha": "^10.0.0", "node-storage-shim": "^2.0.1", "photoswipe": "^4.1.3", - "postcss": "^8.4.14", - "postcss-import": "^14.1.0", - "postcss-loader": "^7.0.0", - "postcss-preset-env": "^7.7.1", + "postcss": "^8.4.16", + "postcss-import": "^15.0.0", + "postcss-loader": "^7.0.1", + "postcss-preset-env": "^7.8.0", "postcss-reporter": "^7.0.5", "postcss-url": "^10.1.3", - "prettier": "^2.7.0", + "prettier": "^2.7.1", "pubsub-js": "^1.9.4", "regenerator-runtime": "^0.13.9", "resolve-url-loader": "^5.0.0", - "sass": "^1.52.3", - "sass-loader": "^13.0.0", + "sass": "^1.54.7", + "sass-loader": "^13.0.2", "server": "^1.0.37", "sockette": "^2.0.6", "style-loader": "^3.3.1", @@ -95,16 +95,16 @@ "vue-template-compiler": "^2.6.14", "vue2-filters": "^0.14.0", "vuetify": "^1.5.24", - "webpack": "^5.73.0", - "webpack-bundle-analyzer": "^4.5.0", + "webpack": "^5.74.0", + "webpack-bundle-analyzer": "^4.6.1", "webpack-cli": "^4.10.0", - "webpack-hot-middleware": "^2.25.1", + "webpack-hot-middleware": "^2.25.2", "webpack-manifest-plugin": "^5.0.0", "webpack-md5-hash": "^0.0.6", "webpack-merge": "^5.8.0" }, "engines": { - "node": ">= 14.0.0", + "node": ">= 16.0.0", "npm": ">= 8.0.0", "yarn": "please use npm" } @@ -2053,18 +2053,6 @@ "url": "https://github.com/sponsors/nzakas" } }, - "node_modules/@humanwhocodes/module-importer": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", - "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", - "engines": { - "node": ">=12.22" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/nzakas" - } - }, "node_modules/@humanwhocodes/object-schema": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", @@ -4919,14 +4907,13 @@ } }, "node_modules/eslint": { - "version": "8.23.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.23.0.tgz", - "integrity": "sha512-pBG/XOn0MsJcKcTRLr27S5HpzQo4kLr+HjLQIyK4EiCsijDl/TB+h5uEuJU6bQ8Edvwz1XWOjpaP2qgnXGpTcA==", + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.22.0.tgz", + "integrity": "sha512-ci4t0sz6vSRKdmkOGmprBo6fmI4PrphDFMy5JEq/fNS0gQkJM3rLmrqcp8ipMcdobH3KtUP40KniAE9W19S4wA==", "dependencies": { - "@eslint/eslintrc": "^1.3.1", + "@eslint/eslintrc": "^1.3.0", "@humanwhocodes/config-array": "^0.10.4", "@humanwhocodes/gitignore-to-minimatch": "^1.0.2", - "@humanwhocodes/module-importer": "^1.0.1", "ajv": "^6.10.0", "chalk": "^4.0.0", "cross-spawn": "^7.0.2", @@ -4936,7 +4923,7 @@ "eslint-scope": "^7.1.1", "eslint-utils": "^3.0.0", "eslint-visitor-keys": "^3.3.0", - "espree": "^9.4.0", + "espree": "^9.3.3", "esquery": "^1.4.0", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", @@ -4961,7 +4948,8 @@ "regexpp": "^3.2.0", "strip-ansi": "^6.0.1", "strip-json-comments": "^3.1.0", - "text-table": "^0.2.0" + "text-table": "^0.2.0", + "v8-compile-cache": "^2.0.3" }, "bin": { "eslint": "bin/eslint.js" @@ -9668,16 +9656,16 @@ } }, "node_modules/postcss-import": { - "version": "14.1.0", - "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-14.1.0.tgz", - "integrity": "sha512-flwI+Vgm4SElObFVPpTIT7SU7R3qk2L7PyduMcokiaVKuWv9d/U+Gm/QAd8NDLuykTWTkcrjOeD2Pp1rMeBTGw==", + "version": "15.0.0", + "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-15.0.0.tgz", + "integrity": "sha512-Y20shPQ07RitgBGv2zvkEAu9bqvrD77C9axhj/aA1BQj4czape2MdClCExvB27EwYEJdGgKZBpKanb0t1rK2Kg==", "dependencies": { "postcss-value-parser": "^4.0.0", "read-cache": "^1.0.0", "resolve": "^1.1.7" }, "engines": { - "node": ">=10.0.0" + "node": ">=14.0.0" }, "peerDependencies": { "postcss": "^8.0.0" @@ -12467,6 +12455,11 @@ "node": ">= 0.4.0" } }, + "node_modules/v8-compile-cache": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz", + "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==" + }, "node_modules/vary": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", @@ -14673,11 +14666,6 @@ "resolved": "https://registry.npmjs.org/@humanwhocodes/gitignore-to-minimatch/-/gitignore-to-minimatch-1.0.2.tgz", "integrity": "sha512-rSqmMJDdLFUsyxR6FMtD00nfQKKLFb1kv+qBbOVKqErvloEIJLo5bDTJTQNTYgeyp78JsA7u/NPi5jT1GR/MuA==" }, - "@humanwhocodes/module-importer": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", - "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==" - }, "@humanwhocodes/object-schema": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", @@ -16852,14 +16840,13 @@ "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==" }, "eslint": { - "version": "8.23.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.23.0.tgz", - "integrity": "sha512-pBG/XOn0MsJcKcTRLr27S5HpzQo4kLr+HjLQIyK4EiCsijDl/TB+h5uEuJU6bQ8Edvwz1XWOjpaP2qgnXGpTcA==", + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.22.0.tgz", + "integrity": "sha512-ci4t0sz6vSRKdmkOGmprBo6fmI4PrphDFMy5JEq/fNS0gQkJM3rLmrqcp8ipMcdobH3KtUP40KniAE9W19S4wA==", "requires": { - "@eslint/eslintrc": "^1.3.1", + "@eslint/eslintrc": "^1.3.0", "@humanwhocodes/config-array": "^0.10.4", "@humanwhocodes/gitignore-to-minimatch": "^1.0.2", - "@humanwhocodes/module-importer": "^1.0.1", "ajv": "^6.10.0", "chalk": "^4.0.0", "cross-spawn": "^7.0.2", @@ -16869,7 +16856,7 @@ "eslint-scope": "^7.1.1", "eslint-utils": "^3.0.0", "eslint-visitor-keys": "^3.3.0", - "espree": "^9.4.0", + "espree": "^9.3.3", "esquery": "^1.4.0", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", @@ -16894,7 +16881,8 @@ "regexpp": "^3.2.0", "strip-ansi": "^6.0.1", "strip-json-comments": "^3.1.0", - "text-table": "^0.2.0" + "text-table": "^0.2.0", + "v8-compile-cache": "^2.0.3" }, "dependencies": { "ansi-styles": { @@ -20201,9 +20189,9 @@ } }, "postcss-import": { - "version": "14.1.0", - "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-14.1.0.tgz", - "integrity": "sha512-flwI+Vgm4SElObFVPpTIT7SU7R3qk2L7PyduMcokiaVKuWv9d/U+Gm/QAd8NDLuykTWTkcrjOeD2Pp1rMeBTGw==", + "version": "15.0.0", + "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-15.0.0.tgz", + "integrity": "sha512-Y20shPQ07RitgBGv2zvkEAu9bqvrD77C9axhj/aA1BQj4czape2MdClCExvB27EwYEJdGgKZBpKanb0t1rK2Kg==", "requires": { "postcss-value-parser": "^4.0.0", "read-cache": "^1.0.0", @@ -22156,6 +22144,11 @@ "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==" }, + "v8-compile-cache": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz", + "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==" + }, "vary": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", diff --git a/frontend/package.json b/frontend/package.json index 8b2435cf7..ee4908bcd 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -21,31 +21,31 @@ "gettext-compile": "gettext-compile --output src/locales/translations.json src/locales/*.po" }, "dependencies": { - "@babel/cli": "^7.17.10", - "@babel/core": "^7.18.5", - "@babel/eslint-parser": "^7.18.2", - "@babel/plugin-proposal-class-properties": "^7.17.12", - "@babel/plugin-proposal-object-rest-spread": "^7.18.0", - "@babel/plugin-transform-runtime": "^7.18.2", - "@babel/preset-env": "^7.18.2", - "@babel/register": "^7.17.7", - "@babel/runtime": "^7.18.3", + "@babel/cli": "^7.18.10", + "@babel/core": "^7.18.13", + "@babel/eslint-parser": "^7.18.9", + "@babel/plugin-proposal-class-properties": "^7.18.6", + "@babel/plugin-proposal-object-rest-spread": "^7.18.9", + "@babel/plugin-transform-runtime": "^7.18.10", + "@babel/preset-env": "^7.18.10", + "@babel/register": "^7.18.9", + "@babel/runtime": "^7.18.9", "@lcdp/offline-plugin": "^5.1.1", "@vvo/tzdb": "^6.51.0", "axios": "^0.27.2", - "axios-mock-adapter": "^1.21.1", + "axios-mock-adapter": "^1.21.2", "babel-loader": "^8.2.5", "babel-plugin-istanbul": "^6.1.1", - "browserslist": "^4.20.4", + "browserslist": "^4.21.3", "chai": "^4.3.6", "cheerio": "1.0.0-rc.10", "chrome-finder": "^1.0.7", - "core-js": "^3.23.1", + "core-js": "^3.25.0", "cross-env": "^7.0.3", "css-loader": "^6.7.1", - "cssnano": "^5.1.11", + "cssnano": "^5.1.13", "easygettext": "^2.17.0", - "eslint": "^8.17.0", + "eslint": "8.22.0", "eslint-config-prettier": "^8.5.0", "eslint-config-standard": "^17.0.0", "eslint-formatter-pretty": "^4.1.0", @@ -59,7 +59,7 @@ "eventsource-polyfill": "^0.9.6", "file-loader": "^6.2.0", "file-saver": "^2.0.5", - "hls.js": "^1.1.5", + "hls.js": "^1.2.1", "i": "^0.3.7", "karma": "^6.4.0", "karma-chrome-launcher": "^3.1.1", @@ -68,26 +68,26 @@ "karma-mocha": "^2.0.1", "karma-verbose-reporter": "^0.0.8", "karma-webpack": "^5.0.0", - "luxon": "^2.4.0", - "maplibre-gl": "^2.1.9", + "luxon": "^2.5.0", + "maplibre-gl": "^2.4.0", "memoize-one": "^6.0.0", "mini-css-extract-plugin": "^2.6.1", "minimist": ">=1.2.5", "mocha": "^10.0.0", "node-storage-shim": "^2.0.1", "photoswipe": "^4.1.3", - "postcss": "^8.4.14", - "postcss-import": "^14.1.0", - "postcss-loader": "^7.0.0", - "postcss-preset-env": "^7.7.1", + "postcss": "^8.4.16", + "postcss-import": "^15.0.0", + "postcss-loader": "^7.0.1", + "postcss-preset-env": "^7.8.0", "postcss-reporter": "^7.0.5", "postcss-url": "^10.1.3", - "prettier": "^2.7.0", + "prettier": "^2.7.1", "pubsub-js": "^1.9.4", "regenerator-runtime": "^0.13.9", "resolve-url-loader": "^5.0.0", - "sass": "^1.52.3", - "sass-loader": "^13.0.0", + "sass": "^1.54.7", + "sass-loader": "^13.0.2", "server": "^1.0.37", "sockette": "^2.0.6", "style-loader": "^3.3.1", @@ -107,16 +107,16 @@ "vue-template-compiler": "^2.6.14", "vue2-filters": "^0.14.0", "vuetify": "^1.5.24", - "webpack": "^5.73.0", - "webpack-bundle-analyzer": "^4.5.0", + "webpack": "^5.74.0", + "webpack-bundle-analyzer": "^4.6.1", "webpack-cli": "^4.10.0", - "webpack-hot-middleware": "^2.25.1", + "webpack-hot-middleware": "^2.25.2", "webpack-manifest-plugin": "^5.0.0", "webpack-md5-hash": "^0.0.6", "webpack-merge": "^5.8.0" }, "engines": { - "node": ">= 14.0.0", + "node": ">= 16.0.0", "npm": ">= 8.0.0", "yarn": "please use npm" },