From dfe925c2596c62e9b920d66c189995cb22db7c68 Mon Sep 17 00:00:00 2001 From: Juan Picado Date: Sun, 15 Sep 2024 13:32:50 +0200 Subject: [PATCH] feat: update logger pino to latest (#4839) * feat: update logger pino to latest remove old logger package * update engines * Update package.json * Update beige-lions-type.md --- .babelrc | 2 +- .changeset/beige-lions-type.md | 2 +- .changeset/pre.json | 1 - packages/config/.babelrc | 2 +- packages/config/package.json | 2 +- packages/core/core/.babelrc | 2 +- packages/core/core/package.json | 2 +- packages/core/file-locking/package.json | 2 +- packages/core/tarball/.babelrc | 2 +- packages/core/tarball/package.json | 2 +- packages/core/url/.babelrc | 2 +- packages/core/url/package.json | 2 +- packages/logger/logger-7/.babelrc | 14 - packages/logger/logger-7/CHANGELOG.md | 322 ------------------ packages/logger/logger-7/README.md | 12 - packages/logger/logger-7/jest.config.js | 10 - packages/logger/logger-7/package.json | 51 --- packages/logger/logger-7/src/index.ts | 24 -- packages/logger/logger-7/tsconfig.build.json | 9 - packages/logger/logger-7/tsconfig.json | 16 - packages/logger/logger-commons/.babelrc | 2 +- packages/logger/logger-commons/package.json | 2 +- packages/logger/logger-prettify/package.json | 2 +- packages/logger/logger/package.json | 2 +- packages/middleware/.babelrc | 2 +- packages/middleware/package.json | 2 +- packages/plugins/audit/package.json | 2 +- packages/plugins/htpasswd/package.json | 2 +- packages/proxy/package.json | 2 +- packages/search-indexer/package.json | 2 +- packages/signature/package.json | 2 +- .../src/app/templates/auth/_package.json | 2 +- .../app/templates/middleware/_package.json | 2 +- .../src/app/templates/storage/_package.json | 2 +- pnpm-lock.yaml | 69 +++- 35 files changed, 79 insertions(+), 499 deletions(-) delete mode 100644 packages/logger/logger-7/.babelrc delete mode 100644 packages/logger/logger-7/CHANGELOG.md delete mode 100644 packages/logger/logger-7/README.md delete mode 100644 packages/logger/logger-7/jest.config.js delete mode 100644 packages/logger/logger-7/package.json delete mode 100644 packages/logger/logger-7/src/index.ts delete mode 100644 packages/logger/logger-7/tsconfig.build.json delete mode 100644 packages/logger/logger-7/tsconfig.json diff --git a/.babelrc b/.babelrc index 762f0d9dc..ff2551919 100644 --- a/.babelrc +++ b/.babelrc @@ -4,7 +4,7 @@ "@babel/env", { "targets": { - "node": 12 + "node": 18 } } ], diff --git a/.changeset/beige-lions-type.md b/.changeset/beige-lions-type.md index b7d7b02a2..859747fc7 100644 --- a/.changeset/beige-lions-type.md +++ b/.changeset/beige-lions-type.md @@ -7,7 +7,6 @@ '@verdaccio/file-locking': major 'verdaccio-htpasswd': major '@verdaccio/ui-theme': major -'@verdaccio/logger-7': major 'verdaccio-memory': major '@verdaccio/search-indexer': major '@verdaccio/server': major @@ -26,6 +25,7 @@ 'verdaccio': major '@verdaccio/url': major '@verdaccio/node-api': major +'@verdaccio/web': major '@verdaccio/loaders': major '@verdaccio/config': major '@verdaccio/search': major diff --git a/.changeset/pre.json b/.changeset/pre.json index 3ca1554ed..ce2f2f080 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -26,7 +26,6 @@ "@verdaccio/hooks": "7.0.0", "@verdaccio/loaders": "7.0.0", "@verdaccio/logger": "7.0.0", - "@verdaccio/logger-7": "7.0.0", "@verdaccio/logger-commons": "7.0.0", "@verdaccio/logger-prettify": "7.0.0", "@verdaccio/middleware": "7.0.0", diff --git a/packages/config/.babelrc b/packages/config/.babelrc index 73b7005da..1c766304c 100644 --- a/packages/config/.babelrc +++ b/packages/config/.babelrc @@ -5,7 +5,7 @@ "@babel/env", { "targets": { - "node": 12 + "node": 18 } } ], diff --git a/packages/config/package.json b/packages/config/package.json index 5bf9893f1..4b45e56a3 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -26,7 +26,7 @@ "verdaccio" ], "engines": { - "node": ">=14" + "node": ">=18" }, "scripts": { "clean": "rimraf ./build", diff --git a/packages/core/core/.babelrc b/packages/core/core/.babelrc index a86e1c1ff..3738648ed 100644 --- a/packages/core/core/.babelrc +++ b/packages/core/core/.babelrc @@ -5,7 +5,7 @@ "@babel/env", { "targets": { - "node": 12 + "node": 18 } } ], diff --git a/packages/core/core/package.json b/packages/core/core/package.json index 6a71ba2c6..8f07b38fa 100644 --- a/packages/core/core/package.json +++ b/packages/core/core/package.json @@ -19,7 +19,7 @@ "license": "MIT", "homepage": "https://verdaccio.org", "engines": { - "node": ">=14" + "node": ">=18" }, "repository": { "type": "https", diff --git a/packages/core/file-locking/package.json b/packages/core/file-locking/package.json index 488054e4a..46b47efe1 100644 --- a/packages/core/file-locking/package.json +++ b/packages/core/file-locking/package.json @@ -17,7 +17,7 @@ "license": "MIT", "homepage": "https://verdaccio.org", "engines": { - "node": ">=12" + "node": ">=18" }, "repository": { "type": "https", diff --git a/packages/core/tarball/.babelrc b/packages/core/tarball/.babelrc index a86e1c1ff..3738648ed 100644 --- a/packages/core/tarball/.babelrc +++ b/packages/core/tarball/.babelrc @@ -5,7 +5,7 @@ "@babel/env", { "targets": { - "node": 12 + "node": 18 } } ], diff --git a/packages/core/tarball/package.json b/packages/core/tarball/package.json index 969e7575a..c17cb36af 100644 --- a/packages/core/tarball/package.json +++ b/packages/core/tarball/package.json @@ -19,7 +19,7 @@ "license": "MIT", "homepage": "https://verdaccio.org", "engines": { - "node": ">=14" + "node": ">=18" }, "repository": { "type": "https", diff --git a/packages/core/url/.babelrc b/packages/core/url/.babelrc index a86e1c1ff..3738648ed 100644 --- a/packages/core/url/.babelrc +++ b/packages/core/url/.babelrc @@ -5,7 +5,7 @@ "@babel/env", { "targets": { - "node": 12 + "node": 18 } } ], diff --git a/packages/core/url/package.json b/packages/core/url/package.json index c29f7e2ae..f2d5f387a 100644 --- a/packages/core/url/package.json +++ b/packages/core/url/package.json @@ -19,7 +19,7 @@ "license": "MIT", "homepage": "https://verdaccio.org", "engines": { - "node": ">=12" + "node": ">=18" }, "repository": { "type": "https", diff --git a/packages/logger/logger-7/.babelrc b/packages/logger/logger-7/.babelrc deleted file mode 100644 index a86e1c1ff..000000000 --- a/packages/logger/logger-7/.babelrc +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "../../../.babelrc", - "presets": [ - [ - "@babel/env", - { - "targets": { - "node": 12 - } - } - ], - "@babel/typescript" - ] -} diff --git a/packages/logger/logger-7/CHANGELOG.md b/packages/logger/logger-7/CHANGELOG.md deleted file mode 100644 index 354412147..000000000 --- a/packages/logger/logger-7/CHANGELOG.md +++ /dev/null @@ -1,322 +0,0 @@ -# @verdaccio/logger-7 - -## 8.0.0-next-8.1 - -### Patch Changes - -- @verdaccio/logger-commons@8.0.0-next-8.1 - -## 8.0.0-next-8.0 - -### Major Changes - -- chore: move v7 next to v8 next - -### Patch Changes - -- Updated dependencies - - @verdaccio/logger-commons@8.0.0-next-8.0 - -## 7.0.0 - -### Major Changes - -- 47f61c6: feat!: bump to v7 - -### Minor Changes - -- daceb6d: restore legacy support - -### Patch Changes - -- Updated dependencies [47f61c6] -- Updated dependencies [cf1b46c] -- Updated dependencies [daceb6d] -- Updated dependencies [e7ebccb] - - @verdaccio/logger-commons@7.0.0 - -## 7.0.0-next-8.21 - -### Patch Changes - -- @verdaccio/logger-commons@7.0.0-next-8.21 - -## 7.0.0-next-7.20 - -### Patch Changes - -- @verdaccio/logger-commons@7.0.0-next-7.20 - -## 7.0.0-next-7.19 - -### Patch Changes - -- @verdaccio/logger-commons@7.0.0-next-7.19 - -## 7.0.0-next-7.18 - -### Patch Changes - -- @verdaccio/logger-commons@7.0.0-next-7.18 - -## 7.0.0-next-7.17 - -### Patch Changes - -- @verdaccio/logger-commons@7.0.0-next-7.17 - -## 7.0.0-next-7.16 - -### Patch Changes - -- Updated dependencies [cf1b46c] - - @verdaccio/logger-commons@7.0.0-next-7.16 - -## 7.0.0-next-7.15 - -### Patch Changes - -- @verdaccio/logger-commons@7.0.0-next-7.15 - -## 7.0.0-next-7.14 - -### Patch Changes - -- @verdaccio/logger-commons@7.0.0-next-7.14 - -## 7.0.0-next-7.13 - -### Patch Changes - -- @verdaccio/logger-commons@7.0.0-next-7.13 - -## 7.0.0-next-7.12 - -### Patch Changes - -- @verdaccio/logger-commons@7.0.0-next-7.12 - -## 7.0.0-next-7.11 - -### Patch Changes - -- @verdaccio/logger-commons@7.0.0-next-7.11 - -## 7.0.0-next-7.10 - -### Patch Changes - -- @verdaccio/logger-commons@7.0.0-next-7.10 - -## 7.0.0-next-7.9 - -### Patch Changes - -- @verdaccio/logger-commons@7.0.0-next-7.9 - -## 7.0.0-next-7.8 - -### Patch Changes - -- @verdaccio/logger-commons@7.0.0-next-7.8 - -## 7.0.0-next-7.7 - -### Patch Changes - -- @verdaccio/logger-commons@7.0.0-next-7.7 - -## 7.0.0-next.6 - -### Patch Changes - -- @verdaccio/logger-commons@7.0.0-next.6 - -## 7.0.0-next.5 - -### Patch Changes - -- @verdaccio/logger-commons@7.0.0-next.5 - -## 7.0.0-next.4 - -### Patch Changes - -- @verdaccio/logger-commons@7.0.0-next.4 - -## 7.0.0-next.3 - -### Minor Changes - -- daceb6d87: restore legacy support - -### Patch Changes - -- Updated dependencies [daceb6d87] -- Updated dependencies [e7ebccb61] - - @verdaccio/logger-commons@7.0.0-next.3 - -## 7.0.0-next.2 - -### Patch Changes - -- @verdaccio/logger-commons@7.0.0-next.2 - -## 7.0.0-next.1 - -### Patch Changes - -- @verdaccio/logger-commons@7.0.0-next.1 - -## 7.0.0-next.0 - -### Major Changes - -- feat!: bump to v7 - -### Patch Changes - -- Updated dependencies - - @verdaccio/logger-commons@7.0.0-next.0 - -## 6.0.0 - -### Minor Changes - -- 631abe1ac: feat: refactor logger - -### Patch Changes - -- dcb5b9291: bump up @verdaccio/logger-7 -- 65f88b826: bump logger packages -- 4a33e269b: fix: restore pino legacy version -- Updated dependencies [631abe1ac] -- Updated dependencies [84b2dffdb] -- Updated dependencies [65f88b826] -- Updated dependencies [4a33e269b] - - @verdaccio/logger-commons@6.0.0 - -## 6.0.0-6-next.21 - -### Patch Changes - -- @verdaccio/logger-commons@6.0.0-6-next.44 - -## 6.0.0-6-next.20 - -### Patch Changes - -- @verdaccio/logger-commons@6.0.0-6-next.43 - -## 6.0.0-6-next.19 - -### Patch Changes - -- @verdaccio/logger-commons@6.0.0-6-next.42 - -## 6.0.0-6-next.18 - -### Patch Changes - -- @verdaccio/logger-commons@6.0.0-6-next.41 - -## 6.0.0-6-next.17 - -### Patch Changes - -- @verdaccio/logger-commons@6.0.0-6-next.40 - -## 6.0.0-6-next.16 - -### Patch Changes - -- Updated dependencies [84b2dffdb] - - @verdaccio/logger-commons@6.0.0-6-next.39 - -## 6.0.0-6-next.15 - -### Patch Changes - -- 4a33e269: fix: restore pino legacy version -- Updated dependencies [4a33e269] - - @verdaccio/logger-commons@6.0.0-6-next.38 - -## 6.0.0-6-next.14 - -### Patch Changes - -- @verdaccio/logger-commons@6.0.0-6-next.37 - -## 6.0.0-6-next.13 - -### Patch Changes - -- @verdaccio/logger-commons@6.0.0-6-next.36 - -## 6.0.0-6-next.12 - -### Patch Changes - -- @verdaccio/logger-commons@6.0.0-6-next.35 - -## 6.0.0-6-next.11 - -### Patch Changes - -- @verdaccio/logger-commons@6.0.0-6-next.34 - -## 6.0.0-6-next.10 - -### Patch Changes - -- @verdaccio/logger-commons@6.0.0-6-next.33 - -## 6.0.0-6-next.9 - -### Patch Changes - -- @verdaccio/logger-commons@6.0.0-6-next.32 - -## 6.0.0-6-next.8 - -### Patch Changes - -- @verdaccio/logger-commons@6.0.0-6-next.31 - -## 6.0.0-6-next.7 - -### Patch Changes - -- @verdaccio/logger-commons@6.0.0-6-next.30 - -## 6.0.0-6-next.6 - -### Patch Changes - -- @verdaccio/logger-commons@6.0.0-6-next.29 - -## 6.0.0-6-next.5 - -### Patch Changes - -- @verdaccio/logger-commons@6.0.0-6-next.28 - -## 6.0.0-6-next.4 - -### Patch Changes - -- 65f88b82: bump logger packages -- Updated dependencies [65f88b82] - - @verdaccio/logger-commons@6.0.0-6-next.27 - -## 6.0.0-6-next.3 - -### Patch Changes - -- dcb5b929: bump up @verdaccio/logger-7 - -## 6.0.0-6-next.2 - -### Patch Changes - -- @verdaccio/logger-commons@6.0.0-6-next.26 diff --git a/packages/logger/logger-7/README.md b/packages/logger/logger-7/README.md deleted file mode 100644 index 84144726b..000000000 --- a/packages/logger/logger-7/README.md +++ /dev/null @@ -1,12 +0,0 @@ -# @verdaccio/logger-7 - -[![backers](https://opencollective.com/verdaccio/tiers/backer/badge.svg?label=Backer&color=brightgreen)](https://opencollective.com/verdaccio) -[![stackshare](https://img.shields.io/badge/Follow%20on-StackShare-blue.svg?logo=stackshare&style=flat)](https://stackshare.io/verdaccio) -[![MIT](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/verdaccio/verdaccio/blob/master/LICENSE) -[![Crowdin](https://d322cqt584bo4o.cloudfront.net/verdaccio/localized.svg)](https://crowdin.com/project/verdaccio) -[![TODOs](https://badgen.net/https/api.tickgit.com/badgen/github.com/verdaccio/verdaccio)](https://www.tickgit.com/browse?repo=github.com/verdaccio/verdaccio) - -[![Twitter followers](https://img.shields.io/twitter/follow/verdaccio_npm.svg?style=social&label=Follow)](https://twitter.com/verdaccio_npm) -[![Github](https://img.shields.io/github/stars/verdaccio/verdaccio.svg?style=social&label=Stars)](https://github.com/verdaccio/verdaccio/stargazers) - -Special version of `verdaccio` logger for verdaccio 5.x versions. diff --git a/packages/logger/logger-7/jest.config.js b/packages/logger/logger-7/jest.config.js deleted file mode 100644 index 059a06266..000000000 --- a/packages/logger/logger-7/jest.config.js +++ /dev/null @@ -1,10 +0,0 @@ -const config = require('../../../jest/config'); - -module.exports = Object.assign({}, config, { - coverageThreshold: { - global: { - // FIXME: increase to 90 - lines: 39, - }, - }, -}); diff --git a/packages/logger/logger-7/package.json b/packages/logger/logger-7/package.json deleted file mode 100644 index b60d0ab42..000000000 --- a/packages/logger/logger-7/package.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "name": "@verdaccio/logger-7", - "version": "8.0.0-next-8.1", - "description": "logger for verdaccio 5.x version", - "main": "./build/index.js", - "types": "./build/index.d.ts", - "author": { - "name": "Juan Picado", - "email": "juanpicado19@gmail.com" - }, - "repository": { - "type": "https", - "url": "https://github.com/verdaccio/verdaccio" - }, - "license": "MIT", - "homepage": "https://verdaccio.org", - "keywords": [ - "private", - "package", - "repository", - "registry", - "enterprise", - "modules", - "proxy", - "server", - "verdaccio" - ], - "engines": { - "node": ">=12" - }, - "scripts": { - "clean": "rimraf ./build", - "test": "echo 1", - "type-check": "tsc --noEmit -p tsconfig.build.json", - "build:types": "tsc --emitDeclarationOnly -p tsconfig.build.json", - "build:js": "babel src/ --out-dir build/ --copy-files --extensions \".ts,.tsx\" --source-maps", - "watch": "pnpm build:js -- --watch", - "build": "pnpm run build:js && pnpm run build:types" - }, - "dependencies": { - "@verdaccio/logger-commons": "workspace:8.0.0-next-8.1", - "pino": "7.11.0" - }, - "devDependencies": { - "@verdaccio/types": "workspace:13.0.0-next-8.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/verdaccio" - } -} diff --git a/packages/logger/logger-7/src/index.ts b/packages/logger/logger-7/src/index.ts deleted file mode 100644 index 5e3741be7..000000000 --- a/packages/logger/logger-7/src/index.ts +++ /dev/null @@ -1,24 +0,0 @@ -import pino from 'pino'; - -import { prepareSetup } from '@verdaccio/logger-commons'; -import { Logger, LoggerFormat, LoggerType } from '@verdaccio/types'; - -let logger: Logger; - -export type LoggerConfigItem = { - type?: LoggerType; - format?: LoggerFormat; - path?: string; - level?: string; - colors?: boolean; - async?: boolean; -}; - -export function setup(options: LoggerConfigItem) { - if (typeof logger !== 'undefined') { - return logger; - } - - logger = prepareSetup(options, pino); - return logger; -} diff --git a/packages/logger/logger-7/tsconfig.build.json b/packages/logger/logger-7/tsconfig.build.json deleted file mode 100644 index 6d445a271..000000000 --- a/packages/logger/logger-7/tsconfig.build.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "extends": "../../../tsconfig.base", - "compilerOptions": { - "rootDir": "./src", - "outDir": "./build" - }, - "include": ["src/**/*.ts"], - "exclude": ["src/**/*.test.ts"] -} diff --git a/packages/logger/logger-7/tsconfig.json b/packages/logger/logger-7/tsconfig.json deleted file mode 100644 index db144e544..000000000 --- a/packages/logger/logger-7/tsconfig.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "extends": "../../../tsconfig.reference.json", - "compilerOptions": { - "rootDir": "./src", - "outDir": "./build" - }, - "include": ["src/**/*.ts"], - "references": [ - { - "path": "../logger-prettify" - }, - { - "path": "../logger-commons" - } - ] -} diff --git a/packages/logger/logger-commons/.babelrc b/packages/logger/logger-commons/.babelrc index a86e1c1ff..3738648ed 100644 --- a/packages/logger/logger-commons/.babelrc +++ b/packages/logger/logger-commons/.babelrc @@ -5,7 +5,7 @@ "@babel/env", { "targets": { - "node": 12 + "node": 18 } } ], diff --git a/packages/logger/logger-commons/package.json b/packages/logger/logger-commons/package.json index 91dddd84b..cc4268de4 100644 --- a/packages/logger/logger-commons/package.json +++ b/packages/logger/logger-commons/package.json @@ -26,7 +26,7 @@ "verdaccio" ], "engines": { - "node": ">=12" + "node": ">=18" }, "scripts": { "clean": "rimraf ./build", diff --git a/packages/logger/logger-prettify/package.json b/packages/logger/logger-prettify/package.json index a4586722b..b69329c83 100644 --- a/packages/logger/logger-prettify/package.json +++ b/packages/logger/logger-prettify/package.json @@ -26,7 +26,7 @@ "verdaccio" ], "engines": { - "node": ">=12" + "node": ">=18" }, "scripts": { "clean": "rimraf ./build", diff --git a/packages/logger/logger/package.json b/packages/logger/logger/package.json index a4383f57c..0d76d2bc1 100644 --- a/packages/logger/logger/package.json +++ b/packages/logger/logger/package.json @@ -39,7 +39,7 @@ }, "dependencies": { "@verdaccio/logger-commons": "workspace:8.0.0-next-8.1", - "pino": "8.17.2" + "pino": "9.4.0" }, "devDependencies": { "@verdaccio/types": "workspace:13.0.0-next-8.0" diff --git a/packages/middleware/.babelrc b/packages/middleware/.babelrc index 73b7005da..1c766304c 100644 --- a/packages/middleware/.babelrc +++ b/packages/middleware/.babelrc @@ -5,7 +5,7 @@ "@babel/env", { "targets": { - "node": 12 + "node": 18 } } ], diff --git a/packages/middleware/package.json b/packages/middleware/package.json index 2a06e5a6f..b5f0c198f 100644 --- a/packages/middleware/package.json +++ b/packages/middleware/package.json @@ -26,7 +26,7 @@ "verdaccio" ], "engines": { - "node": ">=12" + "node": ">=18" }, "scripts": { "clean": "rimraf ./build", diff --git a/packages/plugins/audit/package.json b/packages/plugins/audit/package.json index 243d52e62..5c1a873a4 100644 --- a/packages/plugins/audit/package.json +++ b/packages/plugins/audit/package.json @@ -27,7 +27,7 @@ "main": "build/index.js", "types": "build/index.d.ts", "engines": { - "node": ">=12" + "node": ">=18" }, "dependencies": { "@verdaccio/config": "workspace:8.0.0-next-8.1", diff --git a/packages/plugins/htpasswd/package.json b/packages/plugins/htpasswd/package.json index 8a07626c6..d20a79c39 100644 --- a/packages/plugins/htpasswd/package.json +++ b/packages/plugins/htpasswd/package.json @@ -30,7 +30,7 @@ "build" ], "engines": { - "node": ">=12" + "node": ">=18" }, "dependencies": { "@verdaccio/core": "workspace:8.0.0-next-8.1", diff --git a/packages/proxy/package.json b/packages/proxy/package.json index bcb9417cd..b5131bec8 100644 --- a/packages/proxy/package.json +++ b/packages/proxy/package.json @@ -26,7 +26,7 @@ "verdaccio" ], "engines": { - "node": ">=14" + "node": ">=18" }, "scripts": { "clean": "rimraf ./build", diff --git a/packages/search-indexer/package.json b/packages/search-indexer/package.json index 9cf8ff3e6..0d8ca3401 100644 --- a/packages/search-indexer/package.json +++ b/packages/search-indexer/package.json @@ -26,7 +26,7 @@ "verdaccio" ], "engines": { - "node": ">=12" + "node": ">=18" }, "scripts": { "clean": "rimraf ./build", diff --git a/packages/signature/package.json b/packages/signature/package.json index 3564ea6fe..d32c964ee 100644 --- a/packages/signature/package.json +++ b/packages/signature/package.json @@ -26,7 +26,7 @@ "verdaccio" ], "engines": { - "node": ">=14" + "node": ">=18" }, "scripts": { "clean": "rimraf ./build", diff --git a/packages/tools/generator-verdaccio-plugin/src/app/templates/auth/_package.json b/packages/tools/generator-verdaccio-plugin/src/app/templates/auth/_package.json index ab4c0585c..6095cafd3 100644 --- a/packages/tools/generator-verdaccio-plugin/src/app/templates/auth/_package.json +++ b/packages/tools/generator-verdaccio-plugin/src/app/templates/auth/_package.json @@ -5,7 +5,7 @@ "main": "lib/src/index.js", "types": "lib/src/index.d.ts", "engines": { - "node": ">=12" + "node": ">=18" }, "dependencies": { "@verdaccio/commons-api": "10.2.0" diff --git a/packages/tools/generator-verdaccio-plugin/src/app/templates/middleware/_package.json b/packages/tools/generator-verdaccio-plugin/src/app/templates/middleware/_package.json index 6cd7ab33b..bc0d455f6 100644 --- a/packages/tools/generator-verdaccio-plugin/src/app/templates/middleware/_package.json +++ b/packages/tools/generator-verdaccio-plugin/src/app/templates/middleware/_package.json @@ -5,7 +5,7 @@ "main": "lib/src/index.js", "types": "lib/src/index.d.ts", "engines": { - "node": ">=12" + "node": ">=18" }, "dependencies": { "@verdaccio/commons-api": "10.2.0", diff --git a/packages/tools/generator-verdaccio-plugin/src/app/templates/storage/_package.json b/packages/tools/generator-verdaccio-plugin/src/app/templates/storage/_package.json index b94dce3b4..817b77169 100644 --- a/packages/tools/generator-verdaccio-plugin/src/app/templates/storage/_package.json +++ b/packages/tools/generator-verdaccio-plugin/src/app/templates/storage/_package.json @@ -5,7 +5,7 @@ "main": "lib/src/index.js", "types": "lib/src/index.d.ts", "engines": { - "node": ">=12" + "node": ">=18" }, "dependencies": { "@verdaccio/commons-api": "10.2.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 15122abd7..1f23033c7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -844,21 +844,8 @@ importers: specifier: workspace:8.0.0-next-8.1 version: link:../logger-commons pino: - specifier: 8.17.2 - version: 8.17.2 - devDependencies: - '@verdaccio/types': - specifier: workspace:13.0.0-next-8.0 - version: link:../../core/types - - packages/logger/logger-7: - dependencies: - '@verdaccio/logger-commons': - specifier: workspace:8.0.0-next-8.1 - version: link:../logger-commons - pino: - specifier: 7.11.0 - version: 7.11.0 + specifier: 9.4.0 + version: 9.4.0 devDependencies: '@verdaccio/types': specifier: workspace:13.0.0-next-8.0 @@ -16304,6 +16291,7 @@ packages: inherits: 2.0.4 readable-stream: 3.6.2 stream-shift: 1.0.1 + dev: true /eastasianwidth@0.2.0: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} @@ -23752,6 +23740,7 @@ packages: /on-exit-leak-free@0.2.0: resolution: {integrity: sha512-dqaz3u44QbRXQooZLTUKU41ZrzYrcvLISVgbrzbyCMxpmSLJvZ3ZamIJIZ29P6OhZIkNIQKosdeM6t1LYbA9hg==} + dev: true /on-exit-leak-free@2.1.0: resolution: {integrity: sha512-VuCaZZAjReZ3vUwgOB8LxAosIurDiAW0s13rI1YwmaP++jvcxP77AWoQvenZebpCA2m8WC1/EosPYPMjnRAp/w==} @@ -24404,6 +24393,7 @@ packages: dependencies: duplexify: 4.1.2 split2: 4.2.0 + dev: true /pino-abstract-transport@1.1.0: resolution: {integrity: sha512-lsleG3/2a/JIWUtf9Q5gUNErBqwIu1tUKTT3dUzaf5DySw9ra1wcqKjJjLX1VTY64Wk1eEOYsVGSaGfCK85ekA==} @@ -24411,12 +24401,24 @@ packages: readable-stream: 4.3.0 split2: 4.2.0 + /pino-abstract-transport@1.2.0: + resolution: {integrity: sha512-Guhh8EZfPCfH+PMXAb6rKOjGQEoy0xlAIn+irODG5kgfYV+BQ0rGYYWTIel3P5mmyXqkYkPmdIkywsn6QKUR1Q==} + dependencies: + readable-stream: 4.3.0 + split2: 4.2.0 + dev: false + /pino-std-serializers@4.0.0: resolution: {integrity: sha512-cK0pekc1Kjy5w9V2/n+8MkZwusa6EyyxfeQCB799CQRhRt/CqYKiWs5adeu8Shve2ZNffvfC/7J64A2PJo1W/Q==} + dev: true /pino-std-serializers@6.2.0: resolution: {integrity: sha512-IWgSzUL8X1w4BIWTwErRgtV8PyOGOOi60uqv0oKuS/fOA8Nco/OeI6lBuc4dyP8MMfdFwyHqTMcBIA7nDiqEqA==} + /pino-std-serializers@7.0.0: + resolution: {integrity: sha512-e906FRY0+tV27iq4juKzSYPbUj2do2X2JX4EzSca1631EB2QJQUqGbDuERal7LCtOpxl6x3+nvo9NPZcmjkiFA==} + dev: false + /pino@7.11.0: resolution: {integrity: sha512-dMACeu63HtRLmCG8VKdy4cShCPKaYDR4youZqoSWLxl5Gu99HUw8bw75thbPv9Nip+H+QYX8o3ZJbTdVZZ2TVg==} hasBin: true @@ -24432,6 +24434,7 @@ packages: safe-stable-stringify: 2.4.3 sonic-boom: 2.8.0 thread-stream: 0.15.2 + dev: true /pino@8.17.2: resolution: {integrity: sha512-LA6qKgeDMLr2ux2y/YiUt47EfgQ+S9LznBWOJdN3q1dx2sv0ziDLUBeVpyVv17TEcGCBuWf0zNtg3M5m1NhhWQ==} @@ -24449,6 +24452,23 @@ packages: sonic-boom: 3.7.0 thread-stream: 2.3.0 + /pino@9.4.0: + resolution: {integrity: sha512-nbkQb5+9YPhQRz/BeQmrWpEknAaqjpAqRK8NwJpmrX/JHu7JuZC5G1CeAwJDJfGes4h+YihC6in3Q2nGb+Y09w==} + hasBin: true + dependencies: + atomic-sleep: 1.0.0 + fast-redact: 3.1.2 + on-exit-leak-free: 2.1.0 + pino-abstract-transport: 1.2.0 + pino-std-serializers: 7.0.0 + process-warning: 4.0.0 + quick-format-unescaped: 4.0.4 + real-require: 0.2.0 + safe-stable-stringify: 2.4.3 + sonic-boom: 4.1.0 + thread-stream: 3.1.0 + dev: false + /pirates@4.0.6: resolution: {integrity: sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==} engines: {node: '>= 6'} @@ -25707,6 +25727,10 @@ packages: /process-warning@3.0.0: resolution: {integrity: sha512-mqn0kFRl0EoqhnL0GQ0veqFHyIN1yig9RHh/InzORTUiZHFRAur+aMtRkELNwGs9aNwKS6tg/An4NYBPGwvtzQ==} + /process-warning@4.0.0: + resolution: {integrity: sha512-/MyYDxttz7DfGMMHiysAsFE4qF+pQYAA8ziO/3NcRVrQ5fSk+Mns4QZA/oRPFzvcqNoVJXQNWNAsdwBXLUkQKw==} + dev: false + /process@0.11.10: resolution: {integrity: sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==} engines: {node: '>= 0.6.0'} @@ -26753,6 +26777,7 @@ packages: /real-require@0.1.0: resolution: {integrity: sha512-r/H9MzAWtrv8aSVjPCMFpDMl5q66GqtmmRkRjpHTsp4zBAa+snZyiQNlMONiUmEJcsnaw0wCauJ2GWODr/aFkg==} engines: {node: '>= 12.13.0'} + dev: true /real-require@0.2.0: resolution: {integrity: sha512-57frrGM/OCTLqLOAh0mhVA9VBMHd+9U7Zb2THMGdBUoZVOtGbJzjxsYGDJ3A9AYYCP4hn6y1TVbaOfzWtm5GFg==} @@ -27969,6 +27994,7 @@ packages: resolution: {integrity: sha512-kuonw1YOYYNOve5iHdSahXPOK49GqwA+LZhI6Wz/l0rP57iKyXXIHaRagOBHAPmGwJC6od2Z9zgvZ5loSgMlVg==} dependencies: atomic-sleep: 1.0.0 + dev: true /sonic-boom@3.7.0: resolution: {integrity: sha512-IudtNvSqA/ObjN97tfgNmOKyDOs4dNcg4cUUsHDebqsgb8wGBBwb31LIgShNO8fye0dFI52X1+tFoKKI6Rq1Gg==} @@ -27981,6 +28007,12 @@ packages: atomic-sleep: 1.0.0 dev: false + /sonic-boom@4.1.0: + resolution: {integrity: sha512-NGipjjRicyJJ03rPiZCJYjwlsuP2d1/5QUviozRXC7S3WdVWNK5e3Ojieb9CCyfhq2UC+3+SRd9nG3I2lPRvUw==} + dependencies: + atomic-sleep: 1.0.0 + dev: false + /sort-css-media-queries@2.0.4: resolution: {integrity: sha512-PAIsEK/XupCQwitjv7XxoMvYhT7EAfyzI3hsy/MyDgTvc+Ft55ctdkctJLOy6cQejaIC+zjpUL4djFVm2ivOOw==} engines: {node: '>= 6.3.0'} @@ -29206,12 +29238,19 @@ packages: resolution: {integrity: sha512-UkEhKIg2pD+fjkHQKyJO3yoIvAP3N6RlNFt2dUhcS1FGvCD1cQa1M/PGknCLFIyZdtJOWQjejp7bdNqmN7zwdA==} dependencies: real-require: 0.1.0 + dev: true /thread-stream@2.3.0: resolution: {integrity: sha512-kaDqm1DET9pp3NXwR8382WHbnpXnRkN9xGN9dQt3B2+dmXiW8X1SOwmFOxAErEQ47ObhZ96J6yhZNXuyCOL7KA==} dependencies: real-require: 0.2.0 + /thread-stream@3.1.0: + resolution: {integrity: sha512-OqyPZ9u96VohAyMfJykzmivOrY2wfMSf3C5TtFJVgN+Hm6aj+voFhlK+kZEIv2FBh1X6Xp3DlnCOfEQ3B2J86A==} + dependencies: + real-require: 0.2.0 + dev: false + /throttleit@1.0.0: resolution: {integrity: sha512-rkTVqu6IjfQ/6+uNuuc3sZek4CEYxTJom3IktzgdSxcZqdARuebbA/f4QmAxMQIxqq9ZLEUkSYqvuk1I6VKq4g==} dev: true