From b3a1499223486de839f9b381110e4af2a058aa1c Mon Sep 17 00:00:00 2001 From: Marc Bernard <59966492+mbtools@users.noreply.github.com> Date: Wed, 15 Jan 2025 18:57:57 +0100 Subject: [PATCH] chore: bump user agent (#5050) --- .changeset/eleven-rocks-dream.md | 5 +++++ packages/verdaccio/package.json | 2 +- packages/verdaccio/src/server/request.ts | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/eleven-rocks-dream.md diff --git a/.changeset/eleven-rocks-dream.md b/.changeset/eleven-rocks-dream.md new file mode 100644 index 000000000..71b01c4f8 --- /dev/null +++ b/.changeset/eleven-rocks-dream.md @@ -0,0 +1,5 @@ +--- +'verdaccio': patch +--- + +chore: bump user agent diff --git a/packages/verdaccio/package.json b/packages/verdaccio/package.json index 6d0e2632e..f9d792be4 100644 --- a/packages/verdaccio/package.json +++ b/packages/verdaccio/package.json @@ -18,7 +18,7 @@ "scripts": { "clean": "rimraf ./build", "lint": "eslint . --ext .js,.ts", - "test": "vitest run --testTimeout 50000", + "test": "vitest run --testTimeout 50000 --hookTimeout 20000", "ge:docs": "typedoc src/index.ts --tsconfig tsconfig.build.json --plugin typedoc-plugin-markdown", "type-check": "tsc --noEmit -p tsconfig.build.json", "build:types": "tsc --emitDeclarationOnly -p tsconfig.build.json", diff --git a/packages/verdaccio/src/server/request.ts b/packages/verdaccio/src/server/request.ts index 647ecf2c1..dea3753ce 100644 --- a/packages/verdaccio/src/server/request.ts +++ b/packages/verdaccio/src/server/request.ts @@ -139,7 +139,7 @@ export class ServerQuery { public constructor(url) { this.url = url.replace(/\/$/, ''); debug('server url %s', this.url); - this.userAgent = 'node/v14.1.2 linux x64'; + this.userAgent = 'node/v22.13.0 linux x64'; } private request(options: any): Promise {