diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 9884e44a09668..01d641e9af75e 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -20,18 +20,18 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: docker/setup-qemu-action@v1 - - uses: docker/setup-buildx-action@v1 + - uses: docker/setup-qemu-action@v2 + - uses: docker/setup-buildx-action@v2 with: driver-opts: network=host - - uses: docker/login-action@v1 + - uses: docker/login-action@v2 name: Login Docker Hub with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - name: Prepare docker image tags id: docker_meta - uses: crazy-max/ghaction-docker-meta@v1 + uses: crazy-max/ghaction-docker-meta@v4 with: images: ${{ github.repository }} tag-custom: nightly-master @@ -41,7 +41,7 @@ jobs: {{major}} {{major}}.{{minor}} - name: Build & Push - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: context: . file: ./Dockerfile diff --git a/Dockerfile b/Dockerfile index f38fc89c60c36..644c0371a1593 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=${BUILDPLATFORM:-linux/amd64} node:16.15.0-alpine as builder +FROM --platform=${BUILDPLATFORM:-linux/amd64} node:18.1.0-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.3 && \ # FIXME: need to remove devDependencies from the build # RUN pnpm install --prod --ignore-scripts -FROM node:16.15.0-alpine +FROM node:18.1.0-alpine LABEL maintainer="https://github.com/verdaccio/verdaccio" ENV VERDACCIO_APPDIR=/opt/verdaccio \ diff --git a/package.json b/package.json index 54b98f6364e20..6ffd307f00d1a 100644 --- a/package.json +++ b/package.json @@ -38,14 +38,14 @@ "@babel/preset-typescript": "7.16.7", "@babel/register": "7.16.9", "@babel/runtime": "7.16.7", - "@dianmora/contributors": "2.0.2", + "@dianmora/contributors": "3.0.0", "@changesets/changelog-github": "0.4.2", "@changesets/cli": "2.15.0", "@changesets/get-dependents-graph": "1.2.4", "@crowdin/cli": "3.7.7", "@trivago/prettier-plugin-sort-imports": "3.2.0", "@types/async": "3.2.12", - "@types/autocannon": "4.1.1", + "@types/autocannon": "7.6.1", "@types/express": "4.17.13", "@types/http-errors": "1.8.2", "@types/jest": "27.4.0", @@ -70,35 +70,35 @@ "autocannon": "7.6.0", "babel-core": "7.0.0-bridge.0", "babel-eslint": "10.1.0", - "babel-jest": "27.4.6", + "babel-jest": "28.1.0", "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.1.0", "core-js": "3.20.3", "cross-env": "7.0.3", "debug": "4.3.3", "detect-secrets": "1.0.6", - "pretty-format": "27.5.1", - "jest-diff": "27.5.1", + "pretty-format": "28.1.0", + "jest-diff": "28.1.0", "eslint": "8.15.0", "fs-extra": "10.0.0", - "husky": "7.0.4", + "husky": "8.0.1", "in-publish": "2.0.1", - "jest": "27.4.7", - "jest-environment-jsdom": "27.4.6", + "jest": "28.1.0", + "jest-environment-jsdom": "28.1.0", "jest-environment-jsdom-global": "3.0.0", - "jest-environment-node": "27.4.6", - "jest-junit": "12.3.0", - "kleur": "3.0.3", - "lint-staged": "11.2.6", - "nock": "12.0.3", + "jest-environment-node": "28.1.0", + "jest-junit": "13.2.0", + "kleur": "4.1.4", + "lint-staged": "12.4.1", + "nock": "13.2.4", "node-fetch": "cjs", "nodemon": "2.0.15", "npm-run-all": "4.1.5", "prettier": "2.6.2", "rimraf": "3.0.2", - "selfsigned": "1.10.14", + "selfsigned": "2.0.1", "supertest": "6.2.2", "ts-node": "10.4.0", "typescript": "4.5.5", diff --git a/packages/api/package.json b/packages/api/package.json index c0b9acce516b8..7ac063ccbf8f9 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -53,7 +53,7 @@ "body-parser": "1.19.1", "express": "4.17.2", "lodash": "4.17.21", - "mime": "2.6.0", + "mime": "3.0.0", "semver": "7.3.5" }, "devDependencies": { diff --git a/packages/cli/package.json b/packages/cli/package.json index ada2804ca02ed..251fdad21d726 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -51,7 +51,7 @@ "@verdaccio/fastify-migration": "workspace:6.0.0-6-next.23", "clipanion": "3.1.0", "envinfo": "7.8.1", - "kleur": "3.0.3", + "kleur": "4.1.4", "semver": "7.3.5" }, "devDependencies": { diff --git a/packages/config/package.json b/packages/config/package.json index 60e057f4b4074..12574f51d539c 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -42,9 +42,9 @@ "@verdaccio/core": "workspace:6.0.0-6-next.5", "@verdaccio/utils": "workspace:6.0.0-6-next.11", "debug": "4.3.3", - "js-yaml": "3.14.1", + "js-yaml": "4.1.0", "lodash": "4.17.21", - "minimatch": "3.0.4", + "minimatch": "5.0.1", "yup": "0.32.11" }, "devDependencies": { diff --git a/packages/core/core/package.json b/packages/core/core/package.json index d0482ab7f9e43..0e3fa6342d516 100644 --- a/packages/core/core/package.json +++ b/packages/core/core/package.json @@ -34,7 +34,7 @@ "access": "public" }, "dependencies": { - "http-errors": "1.8.1", + "http-errors": "2.0.0", "http-status-codes": "2.2.0", "semver": "7.3.5", "process-warning": "1.0.0", diff --git a/packages/core/readme/package.json b/packages/core/readme/package.json index 5341eca0463c7..b8b4389f2b8d0 100644 --- a/packages/core/readme/package.json +++ b/packages/core/readme/package.json @@ -41,8 +41,8 @@ ], "dependencies": { "dompurify": "2.3.4", - "jsdom": "17.0.0", - "marked": "3.0.8" + "jsdom": "19.0.0", + "marked": "4.0.15" }, "devDependencies": { "@verdaccio/types": "workspace:11.0.0-6-next.12" diff --git a/packages/hooks/package.json b/packages/hooks/package.json index 1b38be9358a03..6f42383e250b8 100644 --- a/packages/hooks/package.json +++ b/packages/hooks/package.json @@ -35,7 +35,7 @@ "core-js": "3.20.3", "debug": "4.3.3", "handlebars": "4.7.7", - "undici": "4.15.0" + "undici": "5.2.0" }, "devDependencies": { "@types/node": "16.11.21", diff --git a/packages/logger-prettify/package.json b/packages/logger-prettify/package.json index efbfbe3ed97fc..7434e51426fee 100644 --- a/packages/logger-prettify/package.json +++ b/packages/logger-prettify/package.json @@ -41,7 +41,7 @@ "dependencies": { "dayjs": "1.10.7", "fast-safe-stringify": "2.1.1", - "kleur": "3.0.3", + "kleur": "4.1.4", "lodash": "4.17.21", "prettier-bytes": "1.0.4" }, diff --git a/packages/node-api/package.json b/packages/node-api/package.json index e6719aa331942..d0beee1a20102 100644 --- a/packages/node-api/package.json +++ b/packages/node-api/package.json @@ -52,7 +52,7 @@ "@verdaccio/mock": "workspace:6.0.0-6-next.15", "@verdaccio/types": "workspace:11.0.0-6-next.12", "jest-mock-process": "1.4.1", - "selfsigned": "1.10.14", + "selfsigned": "2.0.1", "supertest": "6.2.2" }, "publishConfig": { diff --git a/packages/plugins/audit/package.json b/packages/plugins/audit/package.json index 34c4e75a8b1d9..5ed6f94c92ede 100644 --- a/packages/plugins/audit/package.json +++ b/packages/plugins/audit/package.json @@ -38,7 +38,7 @@ }, "devDependencies": { "@verdaccio/types": "workspace:11.0.0-6-next.12", - "nock": "12.0.3", + "nock": "13.2.4", "supertest": "6.2.2" }, "scripts": { diff --git a/packages/plugins/htpasswd/package.json b/packages/plugins/htpasswd/package.json index a1d76f37e85f8..f4f444ed2bf4b 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.20.3", - "http-errors": "1.8.1", + "http-errors": "2.0.0", "unix-crypt-td-js": "1.1.4" }, "devDependencies": { diff --git a/packages/plugins/local-storage/package.json b/packages/plugins/local-storage/package.json index 892d25c685479..2b0cc16d940c2 100644 --- a/packages/plugins/local-storage/package.json +++ b/packages/plugins/local-storage/package.json @@ -43,19 +43,19 @@ "async": "3.2.3", "core-js": "3.20.3", "debug": "4.3.3", - "globby": "11.1.0", + "globby": "13.1.1", "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.10.0" }, "devDependencies": { "@types/minimatch": "3.0.5", "@verdaccio/types": "workspace:11.0.0-6-next.12", "@verdaccio/config": "workspace:6.0.0-6-next.14", "@verdaccio/utils": "workspace:6.0.0-6-next.11", - "minimatch": "3.0.4", + "minimatch": "5.0.1", "tmp-promise": "3.0.3" }, "scripts": { diff --git a/packages/plugins/ui-theme/package.json b/packages/plugins/ui-theme/package.json index 86c4daae803ba..62c9db937092b 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.38", + "@types/react": "18.0.9", "@types/react-autosuggest": "10.1.5", - "@types/react-dom": "17.0.11", + "@types/react-dom": "18.0.3", "@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.11.2", "@testing-library/jest-dom": "5.16.1", - "@testing-library/react": "12.1.2", + "@testing-library/react": "13.2.0", "@verdaccio/node-api": "workspace:6.0.0-6-next.31", "@verdaccio/types": "workspace:*", "babel-loader": "8.2.3", @@ -41,15 +41,15 @@ "css-loader": "6.5.1", "dayjs": "1.10.7", "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.8.1", "in-publish": "2.0.1", "country-flag-icons": "1.4.19", "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.5.2", @@ -60,16 +60,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.0", + "react": "18.1.0", + "react-dom": "18.1.0", "react-hook-form": "7.25.0", "react-hot-loader": "4.13.0", "react-i18next": "11.15.3", - "react-router": "5.2.1", - "react-router-dom": "5.3.0", + "react-router": "6.3.0", + "react-router-dom": "6.3.0", "react-virtualized": "9.22.3", - "react-redux": "7.2.6", + "react-redux": "8.0.1", "redux": "4.1.2", "rimraf": "3.0.2", "raw-loader": "4.0.2", @@ -88,8 +88,8 @@ "webpack-bundle-analyzer": "4.5.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.9.0", + "webpack-manifest-plugin": "5.0.0", "webpack-merge": "5.8.0", "whatwg-fetch": "3.6.2", "xss": "1.0.10" diff --git a/packages/proxy/package.json b/packages/proxy/package.json index cce78298691aa..539d20f8b99c1 100644 --- a/packages/proxy/package.json +++ b/packages/proxy/package.json @@ -51,7 +51,7 @@ "lodash": "4.17.21", "node-fetch": "2.6.7", "request": "2.88.0", - "undici": "4.15.0" + "undici": "5.2.0" }, "devDependencies": { "@types/node": "16.11.21", diff --git a/packages/server/package.json b/packages/server/package.json index 56dda27fa5e09..e44a7d48f0b73 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -45,7 +45,7 @@ "cors": "2.8.5", "debug": "4.3.3", "express": "4.17.2", - "express-rate-limit": "5.5.1", + "express-rate-limit": "6.4.0", "lodash": "4.17.21" }, "devDependencies": { @@ -53,7 +53,7 @@ "@verdaccio/mock": "workspace:6.0.0-6-next.15", "@verdaccio/proxy": "workspace:6.0.0-6-next.20", "@verdaccio/test-helper": "workspace:1.1.0-6-next.0", - "http-errors": "1.8.1", + "http-errors": "2.0.0", "request": "2.88.0" }, "scripts": { diff --git a/packages/store/package.json b/packages/store/package.json index f4fd791b80a5e..4e3b623b17299 100644 --- a/packages/store/package.json +++ b/packages/store/package.json @@ -60,7 +60,7 @@ "@verdaccio/mock": "workspace:6.0.0-6-next.15", "@verdaccio/types": "workspace:11.0.0-6-next.12", "@verdaccio/test-helper": "workspace:1.1.0-6-next.0", - "undici": "4.15.0", + "undici": "5.2.0", "nock": "13.2.2", "tmp-promise": "3.0.3", "node-mocks-http": "1.11.0" diff --git a/packages/tools/benchmark/package.json b/packages/tools/benchmark/package.json index ac706cb3c8bad..12265a39dc1b1 100644 --- a/packages/tools/benchmark/package.json +++ b/packages/tools/benchmark/package.json @@ -17,7 +17,7 @@ "dependencies": { "clipanion": "3.1.0", "temp-dir": "2.0.0", - "get-port": "5.1.1", + "get-port": "6.1.2", "semver": "7.3.5" }, "devDependencies": { diff --git a/packages/utils/package.json b/packages/utils/package.json index 5f360f19c3e0c..2210d15e55f81 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -31,7 +31,7 @@ }, "dependencies": { "@verdaccio/core": "workspace:6.0.0-6-next.5", - "minimatch": "3.0.4", + "minimatch": "5.0.1", "semver": "7.3.5", "lodash": "4.17.21" }, diff --git a/packages/web/package.json b/packages/web/package.json index 5df679eb08ee1..60ba9b95c2ce4 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -40,17 +40,17 @@ "debug": "4.3.3", "express": "4.17.2", "lodash": "4.17.21", - "lru-cache": "6.0.0" + "lru-cache": "7.10.0" }, "devDependencies": { "@types/node": "16.11.21", "@verdaccio/types": "workspace:11.0.0-6-next.12", "@verdaccio/test-helper": "workspace:1.1.0-6-next.0", "@verdaccio/api": "workspace:6.0.0-6-next.25", - "node-html-parser": "4.1.5", + "node-html-parser": "5.3.3", "supertest": "6.2.2", "nock": "13.2.2", - "undici": "4.15.0", + "undici": "5.2.0", "verdaccio-auth-memory": "workspace:11.0.0-6-next.8", "verdaccio-memory": "workspace:11.0.0-6-next.9" }, diff --git a/test/e2e-cli/package.json b/test/e2e-cli/package.json index d91e92f3bdf53..bb3c6cb5794d4 100644 --- a/test/e2e-cli/package.json +++ b/test/e2e-cli/package.json @@ -4,13 +4,13 @@ "version": "2.0.0-6-next.1", "dependencies": { "debug": "4.3.3", - "npm": "7.24.2", - "pnpm": "6.27.1", + "npm": "8.10.0", + "pnpm": "7.0.1", "request": "2.88.0", "yarn": "1.22.17" }, "devDependencies": { - "get-port": "5.1.1", + "get-port": "6.1.2", "wait-on": "^6.0.0", "fs-extra": "10.0.0", "semver": "7.3.5" diff --git a/test/e2e-ui/package.json b/test/e2e-ui/package.json index 900711c3fc07b..1fbc57e4468e7 100644 --- a/test/e2e-ui/package.json +++ b/test/e2e-ui/package.json @@ -6,9 +6,9 @@ "@verdaccio/core": "workspace:6.0.0-6-next.5", "@verdaccio/ui-theme": "workspace:6.0.0-6-next.24", "debug": "4.3.3", - "kleur": "3.0.3", + "kleur": "4.1.4", "lodash": "4.17.21", - "puppeteer": "10.4.0", + "puppeteer": "14.0.0", "request": "2.88.0", "rimraf": "3.0.2" }, diff --git a/website/package.json b/website/package.json index 82e90f63bed34..26979a146eca3 100644 --- a/website/package.json +++ b/website/package.json @@ -30,14 +30,14 @@ "@docusaurus/theme-common": "2.0.0-beta.20", "@material-ui/core": "^4.11.2", "@material-ui/icons": "^4.11.2", - "@mdx-js/react": "^1.6.22", + "@mdx-js/react": "^2.0.0", "clsx": "^1.1.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-dom": "17.0.2", + "react": "18.1.0", + "react-dom": "18.1.0", "react-twitter-widgets": "^1.10.0", "use-is-in-viewport": "^1.0.9" },