diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 9884e44a0966..b0f945820583 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@8b122486cedac8393e77aa9734c3528886e4a1a8 # tag=v2 + - uses: docker/setup-buildx-action@dc7b9719a96d48369863986a06765841d7ea23f6 # tag=v2 with: driver-opts: network=host - - uses: docker/login-action@v1 + - uses: docker/login-action@49ed152c8eca782a232dede0303416e8f356c37b # tag=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@69f6fc9d46f2f8bf0d5491e4aabe0bb8c6a4678a # tag=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@c84f38281176d4c9cdb1626ffafcd6b3911b5d94 # tag=v3 with: context: . file: ./Dockerfile 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 3a6d0b10faa6..99b4f2f42bf2 100644 --- a/package.json +++ b/package.json @@ -38,25 +38,25 @@ "@babel/preset-typescript": "7.18.6", "@babel/register": "7.18.9", "@babel/runtime": "7.18.9", - "@dianmora/contributors": "2.0.2", + "@dianmora/contributors": "3.0.0", "@changesets/changelog-github": "0.4.6", "@changesets/cli": "2.15.0", "@changesets/get-dependents-graph": "1.3.3", "@crowdin/cli": "3.7.9", "@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.6", "@types/lodash": "4.14.182", - "@types/mime": "2.0.3", + "@types/mime": "3.0.1", "@types/minimatch": "3.0.5", "@types/node": "16.11.47", "@types/jsonwebtoken": "8.5.8", "@types/request": "2.48.8", "@types/semver": "7.3.10", - "@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.21.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 05e964746901..f82c6dfd5a7c 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 e435de617b92..35eb6a6d0b81 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -50,7 +50,7 @@ "@verdaccio/node-api": "workspace:6.0.0-6-next.32", "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 dcfccc770ff4..45b48b98a3ca 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 2ac0bd0a6c44..bbe524352a10 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 c616c233a7c0..ab8f55b2b1cc 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.12" diff --git a/packages/hooks/package.json b/packages/hooks/package.json index 7a66d4b9943b..536ae9233753 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.8.2" }, "devDependencies": { "@types/node": "16.11.47", diff --git a/packages/logger-prettify/package.json b/packages/logger-prettify/package.json index 5c838f45b89b..2c59f185a9ae 100644 --- a/packages/logger-prettify/package.json +++ b/packages/logger-prettify/package.json @@ -41,12 +41,12 @@ "dependencies": { "dayjs": "1.11.4", "fast-safe-stringify": "2.1.1", - "kleur": "3.0.3", + "kleur": "4.1.5", "lodash": "4.17.21", "prettier-bytes": "1.0.4" }, "devDependencies": { - "pino": "7.11.0" + "pino": "8.4.0" }, "funding": { "type": "opencollective", diff --git a/packages/logger/package.json b/packages/logger/package.json index dd4646a85ab0..8cd7a5042654 100644 --- a/packages/logger/package.json +++ b/packages/logger/package.json @@ -41,10 +41,10 @@ "dependencies": { "@verdaccio/core": "workspace:6.0.0-6-next.5", "@verdaccio/logger-prettify": "workspace:6.0.0-6-next.6", - "pino-pretty": "7.6.1", + "pino-pretty": "8.1.0", "debug": "4.3.4", "lodash": "4.17.21", - "pino": "7.11.0" + "pino": "8.4.0" }, "devDependencies": { "@verdaccio/types": "workspace:11.0.0-6-next.12" diff --git a/packages/node-api/package.json b/packages/node-api/package.json index 39cf4bf4ddfb..005908d674ab 100644 --- a/packages/node-api/package.json +++ b/packages/node-api/package.json @@ -52,8 +52,8 @@ "@types/node": "16.11.47", "@verdaccio/mock": "workspace:6.0.0-6-next.15", "@verdaccio/types": "workspace:11.0.0-6-next.12", - "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 74d42e17f659..6ce45f68ad6f 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 d1b24aa43334..31d7ffc79a02 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.4", "core-js": "3.24.1", "debug": "4.3.4", - "globby": "11.1.0", + "globby": "13.1.2", "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.13.2" }, "devDependencies": { "@types/minimatch": "3.0.5", @@ -55,7 +55,7 @@ "@verdaccio/logger": "workspace:6.0.0-6-next.11", "@verdaccio/utils": "workspace:6.0.0-6-next.11", "@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 de9ef82f473e..689b740fa099 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.16.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.32", "@verdaccio/types": "workspace:*", "babel-loader": "8.2.5", @@ -40,15 +40,15 @@ "css-loader": "6.7.1", "dayjs": "1.11.4", "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.0", "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.0", "react-hot-loader": "4.13.0", "react-i18next": "11.18.3", - "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.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.3", + "webpack-manifest-plugin": "5.0.0", "webpack-merge": "5.8.0", "whatwg-fetch": "3.6.2", "xss": "1.0.13" diff --git a/packages/proxy/package.json b/packages/proxy/package.json index 50167f7d42de..91827dc3ad82 100644 --- a/packages/proxy/package.json +++ b/packages/proxy/package.json @@ -47,9 +47,9 @@ "JSONStream": "1.3.5", "debug": "4.3.4", "lodash": "4.17.21", - "got": "11.8.5", + "got": "12.3.1", "hpagent": "1.0.0", - "undici": "4.16.0" + "undici": "5.8.2" }, "devDependencies": { "@types/node": "16.11.47", diff --git a/packages/server/express/package.json b/packages/server/express/package.json index 925c628ec7fe..4e9b2a4c8933 100644 --- a/packages/server/express/package.json +++ b/packages/server/express/package.json @@ -45,7 +45,7 @@ "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": { @@ -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.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 e0735f8656a1..afb8aba3de2d 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.1", - "undici": "4.16.0", + "undici": "5.8.2", "nock": "13.2.9", "node-mocks-http": "1.11.0", "mockdate": "3.0.5" diff --git a/packages/tools/benchmark/package.json b/packages/tools/benchmark/package.json index 84d082acbcd9..f524840f83f8 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.7" }, "devDependencies": { diff --git a/packages/utils/package.json b/packages/utils/package.json index 4e58857b8873..2e9183094f28 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.1.2", + "minimatch": "5.1.0", "semver": "7.3.7", "lodash": "4.17.21" }, diff --git a/packages/verdaccio/package.json b/packages/verdaccio/package.json index 04dcc3d50283..822b9c17f83f 100644 --- a/packages/verdaccio/package.json +++ b/packages/verdaccio/package.json @@ -55,10 +55,10 @@ "@verdaccio/test-helper": "workspace:1.1.0-6-next.1", "fastify": "4.3.0", "yaml": "2.1.1", - "got": "11.8.5", + "got": "12.3.1", "lodash": "4.17.21", "node-mocks-http": "1.11.0", - "get-port": "5.1.1", + "get-port": "6.1.2", "nock": "13.2.9" }, "keywords": [ diff --git a/packages/web/package.json b/packages/web/package.json index f2b1cc1319e3..c52cb56d2105 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.13.2" }, "devDependencies": { "@types/node": "16.11.47", "@verdaccio/types": "workspace:11.0.0-6-next.12", "@verdaccio/test-helper": "workspace:1.1.0-6-next.1", "@verdaccio/api": "workspace:6.0.0-6-next.25", - "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.8.2", "verdaccio-auth-memory": "workspace:11.0.0-6-next.8", "verdaccio-memory": "workspace:11.0.0-6-next.10" }, diff --git a/test/cli/cli-commons/package.json b/test/cli/cli-commons/package.json index 6e5622c83955..e0b687be4a0a 100644 --- a/test/cli/cli-commons/package.json +++ b/test/cli/cli-commons/package.json @@ -6,12 +6,12 @@ "types": "./build/index.d.ts", "dependencies": { "debug": "4.3.4", - "npm": "6.14.17", - "get-port": "5.1.1", + "npm": "8.16.0", + "get-port": "6.1.2", "wait-on": "^6.0.0", "fs-extra": "10.1.0", "semver": "7.3.7", - "got": "11.8.5", + "got": "12.3.1", "verdaccio": "workspace:6.0.0-6-next.41", "@verdaccio/core": "workspace:6.0.0-6-next.5", "@verdaccio/config": "workspace:6.0.0-6-next.14", diff --git a/test/cli/e2e-yarn2/package.json b/test/cli/e2e-yarn2/package.json index 8d8636a592a4..0f5e0674c285 100644 --- a/test/cli/e2e-yarn2/package.json +++ b/test/cli/e2e-yarn2/package.json @@ -4,7 +4,7 @@ "version": "1.0.0", "dependencies": { "@verdaccio/test-cli-commons": "workspace:1.0.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..17b5bdbd7a2d 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.1.0", "rimraf": "3.0.2" }, "scripts": { diff --git a/website/package.json b/website/package.json index 36dc657aac20..a5218bd0b03b 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.2.0", + "react-dom": "18.2.0", "react-twitter-widgets": "^1.10.0", "use-is-in-viewport": "^1.0.9" }, @@ -61,7 +61,7 @@ "esbuild-loader": "2.16.0", "prism-react-renderer": "^1.2.1", "sass": "1.54.3", - "sass-loader": "^12.1.0", + "sass-loader": "^13.0.0", "url-loader": "4.1.1" } }