From e128781cd5798d32dd5a97dc76a473445bc6a896 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 21 Aug 2022 12:39:38 +0000 Subject: [PATCH] fix(deps): update all core dependencies --- .github/workflows/docker-publish.yml | 2 +- Dockerfile | 4 +-- package.json | 38 ++++++++++----------- packages/api/package.json | 2 +- packages/cli/package.json | 2 +- packages/config/package.json | 2 +- packages/core/core/package.json | 4 +-- packages/core/readme/package.json | 4 +-- packages/hooks/package.json | 2 +- packages/node-api/package.json | 4 +-- packages/plugins/htpasswd/package.json | 2 +- packages/plugins/local-storage/package.json | 6 ++-- packages/plugins/ui-theme/package.json | 30 ++++++++-------- packages/proxy/package.json | 2 +- packages/server/express/package.json | 4 +-- packages/store/package.json | 2 +- packages/utils/package.json | 2 +- packages/web/package.json | 6 ++-- test/cli/cli-commons/package.json | 2 +- test/cli/e2e-yarn2/package.json | 2 +- test/e2e-ui/package.json | 4 +-- website/package.json | 8 ++--- 22 files changed, 67 insertions(+), 67 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 9884e44a0966..84e2c753a81b 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: docker/setup-qemu-action@v1 + - uses: docker/setup-qemu-action@8b122486cedac8393e77aa9734c3528886e4a1a8 # tag=v2 - uses: docker/setup-buildx-action@v1 with: driver-opts: network=host diff --git a/Dockerfile b/Dockerfile index 709475348f9b..d6cbaeefb5a7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=${BUILDPLATFORM:-linux/amd64} node:16-alpine as builder +FROM --platform=${BUILDPLATFORM:-linux/amd64} node:18-alpine as builder ENV NODE_ENV=development \ VERDACCIO_BUILD_REGISTRY=https://registry.verdaccio.org @@ -20,7 +20,7 @@ RUN npm -g i pnpm@6.32.15 && \ # FIXME: need to remove devDependencies from the build # RUN pnpm install --prod --ignore-scripts -FROM node:16-alpine +FROM node:18-alpine LABEL maintainer="https://github.com/verdaccio/verdaccio" ENV VERDACCIO_APPDIR=/opt/verdaccio \ diff --git a/package.json b/package.json index 00362788b245..7a88504a4d32 100644 --- a/package.json +++ b/package.json @@ -45,18 +45,18 @@ "@crowdin/cli": "3.7.10", "@trivago/prettier-plugin-sort-imports": "3.3.0", "@types/async": "3.2.15", - "@types/autocannon": "4.1.1", + "@types/autocannon": "7.6.1", "@types/express": "4.17.13", "@types/http-errors": "1.8.2", - "@types/jest": "27.5.2", + "@types/jest": "28.1.7", "@types/lodash": "4.14.184", - "@types/mime": "2.0.3", + "@types/mime": "3.0.1", "@types/minimatch": "3.0.5", "@types/node": "16.11.51", "@types/jsonwebtoken": "8.5.8", "@types/request": "2.48.8", "@types/semver": "7.3.12", - "@types/node-fetch": "2.6.2", + "@types/node-fetch": "3.0.2", "@types/supertest": "2.0.12", "@types/testing-library__jest-dom": "5.14.5", "@types/validator": "13.7.5", @@ -71,35 +71,35 @@ "autocannon": "7.9.0", "babel-core": "7.0.0-bridge.0", "babel-eslint": "10.1.0", - "babel-jest": "27.5.1", + "babel-jest": "28.1.3", "babel-plugin-dynamic-import-node": "2.3.3", - "babel-plugin-emotion": "10.2.2", + "babel-plugin-emotion": "11.0.0", "codecov": "3.8.3", - "concurrently": "6.5.1", + "concurrently": "7.3.0", "core-js": "3.24.1", "cross-env": "7.0.3", "debug": "4.3.4", "detect-secrets": "1.0.6", - "pretty-format": "27.5.1", - "jest-diff": "27.5.1", + "pretty-format": "28.1.3", + "jest-diff": "28.1.3", "eslint": "8.22.0", "fs-extra": "10.1.0", - "husky": "7.0.4", + "husky": "8.0.1", "in-publish": "2.0.1", - "jest": "27.5.1", - "jest-environment-jsdom": "27.5.1", + "jest": "28.1.3", + "jest-environment-jsdom": "28.1.3", "jest-environment-jsdom-global": "3.1.2", - "jest-environment-node": "27.5.1", - "jest-junit": "12.3.0", - "kleur": "3.0.3", - "lint-staged": "11.2.6", - "nock": "12.0.3", + "jest-environment-node": "28.1.3", + "jest-junit": "14.0.0", + "kleur": "4.1.5", + "lint-staged": "13.0.3", + "nock": "13.2.9", "node-fetch": "cjs", "nodemon": "2.0.19", "npm-run-all": "4.1.5", "prettier": "2.7.1", "rimraf": "3.0.2", - "selfsigned": "1.10.14", + "selfsigned": "2.0.1", "supertest": "6.2.4", "ts-node": "10.9.1", "typescript": "4.7.4", @@ -150,7 +150,7 @@ }, "engines": { "node": ">=16.5", - "pnpm": ">=6.32.3 <7.0.0" + "pnpm": "<8.0.0" }, "license": "MIT", "lint-staged": { diff --git a/packages/api/package.json b/packages/api/package.json index a888a6a6faa4..ea970a40b28b 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -52,7 +52,7 @@ "body-parser": "1.20.0", "express": "4.18.1", "lodash": "4.17.21", - "mime": "2.6.0", + "mime": "3.0.0", "semver": "7.3.7" }, "devDependencies": { diff --git a/packages/cli/package.json b/packages/cli/package.json index 458cef937bc3..2c44cc5b34a1 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -50,7 +50,7 @@ "@verdaccio/node-api": "workspace:6.0.0-6-next.33", "clipanion": "3.1.0", "envinfo": "7.8.1", - "kleur": "3.0.3", + "kleur": "4.1.5", "semver": "7.3.7" }, "devDependencies": { diff --git a/packages/config/package.json b/packages/config/package.json index 1ebbdcc78adb..08d730c179d9 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -44,7 +44,7 @@ "debug": "4.3.4", "yaml": "2.1.1", "lodash": "4.17.21", - "minimatch": "3.1.2", + "minimatch": "5.1.0", "yup": "0.32.11" }, "devDependencies": { diff --git a/packages/core/core/package.json b/packages/core/core/package.json index 3bdc91f0bb63..ea9bedd06182 100644 --- a/packages/core/core/package.json +++ b/packages/core/core/package.json @@ -34,11 +34,11 @@ "access": "public" }, "dependencies": { - "http-errors": "1.8.1", + "http-errors": "2.0.0", "http-status-codes": "2.2.0", "semver": "7.3.7", "ajv": "8.11.0", - "process-warning": "1.0.0", + "process-warning": "2.0.0", "core-js": "3.24.1" }, "devDependencies": { diff --git a/packages/core/readme/package.json b/packages/core/readme/package.json index 9c5ec49b0056..1802e5b6c7c7 100644 --- a/packages/core/readme/package.json +++ b/packages/core/readme/package.json @@ -41,8 +41,8 @@ ], "dependencies": { "dompurify": "2.3.10", - "jsdom": "17.0.0", - "marked": "3.0.8" + "jsdom": "20.0.0", + "marked": "4.0.18" }, "devDependencies": { "@verdaccio/types": "workspace:11.0.0-6-next.13" diff --git a/packages/hooks/package.json b/packages/hooks/package.json index ddd5b4896a8c..066c99ec6816 100644 --- a/packages/hooks/package.json +++ b/packages/hooks/package.json @@ -35,7 +35,7 @@ "core-js": "3.24.1", "debug": "4.3.4", "handlebars": "4.7.7", - "undici": "4.16.0" + "undici": "5.9.1" }, "devDependencies": { "@types/node": "16.11.51", diff --git a/packages/node-api/package.json b/packages/node-api/package.json index c18b90140d51..2a033329cac2 100644 --- a/packages/node-api/package.json +++ b/packages/node-api/package.json @@ -51,8 +51,8 @@ "devDependencies": { "@types/node": "16.11.51", "@verdaccio/types": "workspace:11.0.0-6-next.13", - "jest-mock-process": "1.5.1", - "selfsigned": "1.10.14", + "jest-mock-process": "2.0.0", + "selfsigned": "2.0.1", "supertest": "6.2.4" }, "publishConfig": { diff --git a/packages/plugins/htpasswd/package.json b/packages/plugins/htpasswd/package.json index 7be973b0124d..98f5815a9a73 100644 --- a/packages/plugins/htpasswd/package.json +++ b/packages/plugins/htpasswd/package.json @@ -39,7 +39,7 @@ "apache-md5": "1.1.7", "bcryptjs": "2.4.3", "core-js": "3.24.1", - "http-errors": "1.8.1", + "http-errors": "2.0.0", "debug": "4.3.4", "unix-crypt-td-js": "1.1.4" }, diff --git a/packages/plugins/local-storage/package.json b/packages/plugins/local-storage/package.json index 8df72eff93a1..d0aa0ff3afd8 100644 --- a/packages/plugins/local-storage/package.json +++ b/packages/plugins/local-storage/package.json @@ -41,12 +41,12 @@ "@verdaccio/file-locking": "workspace:11.0.0-6-next.5", "core-js": "3.24.1", "debug": "4.3.4", - "globby": "11.1.0", + "globby": "12.2.0", "lockfile": "1.0.4", "sanitize-filename": "1.6.3", "lodash": "4.17.21", "lowdb": "1.0.0", - "lru-cache": "6.0.0" + "lru-cache": "7.14.0" }, "devDependencies": { "@types/minimatch": "3.0.5", @@ -55,7 +55,7 @@ "@verdaccio/logger": "workspace:6.0.0-6-next.12", "@verdaccio/utils": "workspace:6.0.0-6-next.12", "@verdaccio/test-helper": "workspace:1.1.0-6-next.1", - "minimatch": "3.1.2" + "minimatch": "5.1.0" }, "scripts": { "clean": "rimraf ./build", diff --git a/packages/plugins/ui-theme/package.json b/packages/plugins/ui-theme/package.json index 8ac85781b216..0e74066a25f1 100644 --- a/packages/plugins/ui-theme/package.json +++ b/packages/plugins/ui-theme/package.json @@ -13,9 +13,9 @@ "homepage": "https://verdaccio.org", "main": "index.js", "devDependencies": { - "@types/react": "17.0.48", + "@types/react": "18.0.17", "@types/react-autosuggest": "10.1.5", - "@types/react-dom": "17.0.17", + "@types/react-dom": "18.0.6", "@types/react-helmet": "6.1.5", "@types/redux": "3.6.0", "@types/react-router-dom": "5.3.3", @@ -32,7 +32,7 @@ "@rematch/loading": "2.1.2", "@testing-library/dom": "8.17.1", "@testing-library/jest-dom": "5.16.5", - "@testing-library/react": "12.1.5", + "@testing-library/react": "13.3.0", "@verdaccio/node-api": "workspace:6.0.0-6-next.33", "@verdaccio/types": "workspace:*", "babel-loader": "8.2.5", @@ -40,15 +40,15 @@ "css-loader": "6.7.1", "dayjs": "1.11.5", "friendly-errors-webpack-plugin": "1.7.0", - "github-markdown-css": "4.0.0", + "github-markdown-css": "5.1.0", "harmony-reflect": "1.6.2", - "history": "4.10.1", + "history": "5.3.0", "html-webpack-plugin": "5.5.0", - "i18next": "20.6.1", + "i18next": "21.9.1", "in-publish": "2.0.1", "country-flag-icons": "1.5.5", "js-base64": "3.7.2", - "js-yaml": "3.14.1", + "js-yaml": "4.1.0", "localstorage-memory": "1.0.3", "lodash": "4.17.21", "mini-css-extract-plugin": "2.6.1", @@ -59,16 +59,16 @@ "react-json-view": "1.21.3", "remark-gfm": "3.0.1", "optimize-css-assets-webpack-plugin": "6.0.1", - "ora": "5.4.1", - "react": "17.0.2", - "react-dom": "17.0.2", + "ora": "6.1.2", + "react": "18.2.0", + "react-dom": "18.2.0", "react-hook-form": "7.34.2", "react-hot-loader": "4.13.0", "react-i18next": "11.18.4", - "react-router": "5.3.3", - "react-router-dom": "5.3.3", + "react-router": "6.3.0", + "react-router-dom": "6.3.0", "react-virtualized": "9.22.3", - "react-redux": "7.2.8", + "react-redux": "8.0.2", "redux": "4.2.0", "rimraf": "3.0.2", "raw-loader": "4.0.2", @@ -87,8 +87,8 @@ "webpack-bundle-analyzer": "4.6.0", "webpack-bundle-size-analyzer": "3.1.0", "webpack-cli": "^4.7.2", - "webpack-dev-server": "3.11.3", - "webpack-manifest-plugin": "4.1.1", + "webpack-dev-server": "4.10.0", + "webpack-manifest-plugin": "5.0.0", "webpack-merge": "5.8.0", "whatwg-fetch": "3.6.2", "xss": "1.0.14" diff --git a/packages/proxy/package.json b/packages/proxy/package.json index 9f47685118c0..6f417f3e0963 100644 --- a/packages/proxy/package.json +++ b/packages/proxy/package.json @@ -49,7 +49,7 @@ "lodash": "4.17.21", "got": "11.8.5", "hpagent": "1.0.0", - "undici": "4.16.0" + "undici": "5.9.1" }, "devDependencies": { "@types/node": "16.11.51", diff --git a/packages/server/express/package.json b/packages/server/express/package.json index db36b3227a61..43a688d52d93 100644 --- a/packages/server/express/package.json +++ b/packages/server/express/package.json @@ -45,14 +45,14 @@ "cors": "2.8.5", "debug": "4.3.4", "express": "4.18.1", - "express-rate-limit": "5.5.1", + "express-rate-limit": "6.5.1", "lodash": "4.17.21" }, "devDependencies": { "@types/node": "16.11.51", "@verdaccio/proxy": "workspace:6.0.0-6-next.21", "@verdaccio/test-helper": "workspace:1.1.0-6-next.1", - "http-errors": "1.8.1" + "http-errors": "2.0.0" }, "scripts": { "clean": "rimraf ./build", diff --git a/packages/store/package.json b/packages/store/package.json index e632e564c3d4..b26821e66c95 100644 --- a/packages/store/package.json +++ b/packages/store/package.json @@ -59,7 +59,7 @@ "@types/node": "16.11.51", "@verdaccio/types": "workspace:11.0.0-6-next.13", "@verdaccio/test-helper": "workspace:1.1.0-6-next.1", - "undici": "4.16.0", + "undici": "5.9.1", "nock": "13.2.9", "node-mocks-http": "1.11.0", "mockdate": "3.0.5" diff --git a/packages/utils/package.json b/packages/utils/package.json index 6342be4cd35b..c7bb3a103a0d 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -31,7 +31,7 @@ }, "dependencies": { "@verdaccio/core": "workspace:6.0.0-6-next.6", - "minimatch": "3.1.2", + "minimatch": "5.1.0", "semver": "7.3.7", "lodash": "4.17.21" }, diff --git a/packages/web/package.json b/packages/web/package.json index e9a588959999..a0057436baa7 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -40,18 +40,18 @@ "debug": "4.3.4", "express": "4.18.1", "lodash": "4.17.21", - "lru-cache": "6.0.0" + "lru-cache": "7.14.0" }, "devDependencies": { "@types/node": "16.11.51", "@verdaccio/types": "workspace:11.0.0-6-next.13", "@verdaccio/test-helper": "workspace:1.1.0-6-next.1", "@verdaccio/api": "workspace:6.0.0-6-next.26", - "node-html-parser": "4.1.5", + "node-html-parser": "5.4.1", "supertest": "6.2.4", "nock": "13.2.9", "jsdom": "20.0.0", - "undici": "4.16.0", + "undici": "5.9.1", "verdaccio-auth-memory": "workspace:11.0.0-6-next.9", "verdaccio-memory": "workspace:11.0.0-6-next.11" }, diff --git a/test/cli/cli-commons/package.json b/test/cli/cli-commons/package.json index 393ee838ea2c..73188e86aa2d 100644 --- a/test/cli/cli-commons/package.json +++ b/test/cli/cli-commons/package.json @@ -6,7 +6,7 @@ "types": "./build/index.d.ts", "dependencies": { "debug": "4.3.4", - "npm": "6.14.17", + "npm": "8.18.0", "get-port": "5.1.1", "wait-on": "^6.0.0", "fs-extra": "10.1.0", diff --git a/test/cli/e2e-yarn2/package.json b/test/cli/e2e-yarn2/package.json index f7cbb89cb045..e6822952a2b1 100644 --- a/test/cli/e2e-yarn2/package.json +++ b/test/cli/e2e-yarn2/package.json @@ -4,7 +4,7 @@ "version": "1.0.1-6-next.0", "dependencies": { "@verdaccio/test-cli-commons": "workspace:1.0.1-6-next.0", - "@yarnpkg/cli-dist": "2.4.2" + "@yarnpkg/cli-dist": "3.2.2" }, "scripts": { "test": "jest" diff --git a/test/e2e-ui/package.json b/test/e2e-ui/package.json index a33248acb208..ec36b368f4de 100644 --- a/test/e2e-ui/package.json +++ b/test/e2e-ui/package.json @@ -8,9 +8,9 @@ "@verdaccio/config": "workspace:6.0.0-6-next.14", "@verdaccio/test-helper": "workspace:1.1.0-6-next.1", "debug": "4.3.4", - "kleur": "^3.0.3", + "kleur": "^4.0.0", "lodash": "^4.17.21", - "puppeteer": "10.4.0", + "puppeteer": "16.2.0", "rimraf": "3.0.2" }, "scripts": { diff --git a/website/package.json b/website/package.json index c324f091f5f6..644433c2bd6a 100644 --- a/website/package.json +++ b/website/package.json @@ -31,15 +31,15 @@ "@mui/material": "5.10.1", "@mui/icons-material": "5.8.4", "@mui/styles": "5.9.3", - "@mdx-js/react": "^1.6.22", + "@mdx-js/react": "^2.0.0", "clsx": "1.2.1", "classnames": "2.3.1", "copy-text-to-clipboard": "3.0.1", "docusaurus-plugin-contributors": "workspace:1.0.0", "docusaurus-plugin-sentry": "1.0.0", - "react": "17.0.2", + "react": "18.2.0", "react-player": "2.10.1", - "react-dom": "17.0.2", + "react-dom": "18.2.0", "usehooks-ts": "2.6.0", "react-twitter-widgets": "^1.10.0", "use-is-in-viewport": "^1.0.9" @@ -64,7 +64,7 @@ "esbuild-loader": "2.16.0", "prism-react-renderer": "^1.2.1", "sass": "1.54.5", - "sass-loader": "^12.1.0", + "sass-loader": "^13.0.0", "url-loader": "4.1.1" } }