feat: update core dependencies (#4073)

* feat: update core dependencies

* Update auth.ts
This commit is contained in:
Juan Picado 2023-10-14 23:26:58 +02:00 committed by GitHub
parent c4283fa449
commit 257d46a76f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
74 changed files with 1214 additions and 1296 deletions

1699
.pnp.cjs generated

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -19,18 +19,18 @@
"url": "https://opencollective.com/verdaccio"
},
"dependencies": {
"@verdaccio/config": "7.0.0-next.2",
"@verdaccio/core": "7.0.0-next.2",
"@verdaccio/config": "7.0.0-next.3",
"@verdaccio/core": "7.0.0-next.3",
"@verdaccio/local-storage": "10.3.3",
"@verdaccio/logger-7": "7.0.0-next.2",
"@verdaccio/middleware": "7.0.0-next.2",
"@verdaccio/search": "7.0.0-next.1",
"@verdaccio/signature": "7.0.0-next.0",
"@verdaccio/logger-7": "7.0.0-next.3",
"@verdaccio/middleware": "7.0.0-next.3",
"@verdaccio/search": "7.0.0-next.2",
"@verdaccio/signature": "7.0.0-next.1",
"@verdaccio/streams": "10.2.1",
"@verdaccio/tarball": "12.0.0-next.2",
"@verdaccio/ui-theme": "7.0.0-next.2",
"@verdaccio/url": "12.0.0-next.2",
"@verdaccio/utils": "7.0.0-next.2",
"@verdaccio/tarball": "12.0.0-next.3",
"@verdaccio/ui-theme": "7.0.0-next.3",
"@verdaccio/url": "12.0.0-next.3",
"@verdaccio/utils": "7.0.0-next.3",
"JSONStream": "1.3.5",
"async": "3.2.4",
"clipanion": "3.2.1",
@ -55,16 +55,16 @@
"request": "2.88.2",
"semver": "7.5.4",
"validator": "13.11.0",
"verdaccio-audit": "12.0.0-next.2",
"verdaccio-htpasswd": "12.0.0-next.2"
"verdaccio-audit": "12.0.0-next.3",
"verdaccio-htpasswd": "12.0.0-next.3"
},
"devDependencies": {
"@babel/cli": "7.22.15",
"@babel/core": "7.22.20",
"@babel/cli": "7.23.0",
"@babel/core": "7.23.2",
"@babel/eslint-parser": "7.22.15",
"@babel/node": "7.22.19",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/plugin-proposal-decorators": "7.22.15",
"@babel/plugin-proposal-decorators": "7.23.2",
"@babel/plugin-proposal-export-namespace-from": "7.18.9",
"@babel/plugin-proposal-function-sent": "7.22.5",
"@babel/plugin-proposal-json-strings": "7.18.6",
@ -77,19 +77,19 @@
"@babel/plugin-syntax-import-meta": "7.10.4",
"@babel/plugin-transform-async-to-generator": "7.22.5",
"@babel/plugin-transform-classes": "7.22.15",
"@babel/plugin-transform-runtime": "7.22.15",
"@babel/plugin-transform-runtime": "7.23.2",
"@babel/polyfill": "^7.12.1",
"@babel/preset-env": "7.22.20",
"@babel/preset-typescript": "7.22.15",
"@babel/preset-env": "7.23.2",
"@babel/preset-typescript": "7.23.2",
"@babel/register": "7.22.15",
"@babel/runtime": "7.22.15",
"@babel/runtime": "7.23.2",
"@octokit/rest": "19.0.13",
"@trivago/prettier-plugin-sort-imports": "4.2.0",
"@types/async": "3.2.20",
"@types/async": "3.2.21",
"@types/express": "4.17.17",
"@types/express-serve-static-core": "4.17.35",
"@types/http-errors": "2.0.1",
"@types/jest": "26.0.24",
"@types/http-errors": "2.0.2",
"@types/jest": "29.5.5",
"@types/lodash": "4.14.195",
"@types/mime": "2.0.3",
"@types/minimatch": "3.0.5",
@ -100,7 +100,7 @@
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"@verdaccio-scope/verdaccio-auth-foo": "0.0.2",
"@verdaccio/types": "12.0.0-next.0",
"@verdaccio/types": "12.0.0-next.1",
"babel-jest": "29.7.0",
"babel-plugin-dynamic-import-node": "2.3.3",
"cross-env": "7.0.3",

View File

@ -517,7 +517,8 @@ class Auth {
groups: groupedGroups,
};
const token: string = await signPayload(payload, this.secret, signOptions);
// TODO: fix on update signature package
const token: string = await signPayload(payload, this.secret, signOptions as any);
return token;
}

762
yarn.lock

File diff suppressed because it is too large Load Diff