feat: update core dependencies (#4073)
* feat: update core dependencies * Update auth.ts
This commit is contained in:
parent
c4283fa449
commit
257d46a76f
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/@babel-helper-define-polyfill-provider-npm-0.4.3-d83b051e74-5d21e3f47b.zip
vendored
Normal file
BIN
.yarn/cache/@babel-helper-define-polyfill-provider-npm-0.4.3-d83b051e74-5d21e3f47b.zip
vendored
Normal file
Binary file not shown.
BIN
.yarn/cache/@babel-helper-function-name-npm-7.23.0-ce38271242-e44542257b.zip
vendored
Normal file
BIN
.yarn/cache/@babel-helper-function-name-npm-7.23.0-ce38271242-e44542257b.zip
vendored
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/@babel-helper-module-transforms-npm-7.23.0-6d065838a4-6e2afffb05.zip
vendored
Normal file
BIN
.yarn/cache/@babel-helper-module-transforms-npm-7.23.0-6d065838a4-6e2afffb05.zip
vendored
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/@babel-plugin-proposal-decorators-npm-7.23.2-b21d57fbc4-a8f63451c4.zip
vendored
Normal file
BIN
.yarn/cache/@babel-plugin-proposal-decorators-npm-7.23.2-b21d57fbc4-a8f63451c4.zip
vendored
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/@babel-plugin-transform-destructuring-npm-7.23.0-bcda130007-cd6dd454cc.zip
vendored
Normal file
BIN
.yarn/cache/@babel-plugin-transform-destructuring-npm-7.23.0-bcda130007-cd6dd454cc.zip
vendored
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/@babel-plugin-transform-modules-amd-npm-7.23.0-47b595c453-5d92875170.zip
vendored
Normal file
BIN
.yarn/cache/@babel-plugin-transform-modules-amd-npm-7.23.0-47b595c453-5d92875170.zip
vendored
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/@babel-plugin-transform-modules-commonjs-npm-7.23.0-ad0390e87e-7fb2599719.zip
vendored
Normal file
BIN
.yarn/cache/@babel-plugin-transform-modules-commonjs-npm-7.23.0-ad0390e87e-7fb2599719.zip
vendored
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/@babel-plugin-transform-modules-systemjs-npm-7.23.0-1c07988049-2d481458b2.zip
vendored
Normal file
BIN
.yarn/cache/@babel-plugin-transform-modules-systemjs-npm-7.23.0-1c07988049-2d481458b2.zip
vendored
Normal file
Binary file not shown.
BIN
.yarn/cache/@babel-plugin-transform-optional-chaining-npm-7.23.0-4c861e57fe-f702634f2b.zip
vendored
Normal file
BIN
.yarn/cache/@babel-plugin-transform-optional-chaining-npm-7.23.0-4c861e57fe-f702634f2b.zip
vendored
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/babel-plugin-polyfill-corejs3-npm-0.8.5-01e3515b7f-54ff3956c4.zip
vendored
Normal file
BIN
.yarn/cache/babel-plugin-polyfill-corejs3-npm-0.8.5-01e3515b7f-54ff3956c4.zip
vendored
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
46
package.json
46
package.json
|
@ -19,18 +19,18 @@
|
||||||
"url": "https://opencollective.com/verdaccio"
|
"url": "https://opencollective.com/verdaccio"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@verdaccio/config": "7.0.0-next.2",
|
"@verdaccio/config": "7.0.0-next.3",
|
||||||
"@verdaccio/core": "7.0.0-next.2",
|
"@verdaccio/core": "7.0.0-next.3",
|
||||||
"@verdaccio/local-storage": "10.3.3",
|
"@verdaccio/local-storage": "10.3.3",
|
||||||
"@verdaccio/logger-7": "7.0.0-next.2",
|
"@verdaccio/logger-7": "7.0.0-next.3",
|
||||||
"@verdaccio/middleware": "7.0.0-next.2",
|
"@verdaccio/middleware": "7.0.0-next.3",
|
||||||
"@verdaccio/search": "7.0.0-next.1",
|
"@verdaccio/search": "7.0.0-next.2",
|
||||||
"@verdaccio/signature": "7.0.0-next.0",
|
"@verdaccio/signature": "7.0.0-next.1",
|
||||||
"@verdaccio/streams": "10.2.1",
|
"@verdaccio/streams": "10.2.1",
|
||||||
"@verdaccio/tarball": "12.0.0-next.2",
|
"@verdaccio/tarball": "12.0.0-next.3",
|
||||||
"@verdaccio/ui-theme": "7.0.0-next.2",
|
"@verdaccio/ui-theme": "7.0.0-next.3",
|
||||||
"@verdaccio/url": "12.0.0-next.2",
|
"@verdaccio/url": "12.0.0-next.3",
|
||||||
"@verdaccio/utils": "7.0.0-next.2",
|
"@verdaccio/utils": "7.0.0-next.3",
|
||||||
"JSONStream": "1.3.5",
|
"JSONStream": "1.3.5",
|
||||||
"async": "3.2.4",
|
"async": "3.2.4",
|
||||||
"clipanion": "3.2.1",
|
"clipanion": "3.2.1",
|
||||||
|
@ -55,16 +55,16 @@
|
||||||
"request": "2.88.2",
|
"request": "2.88.2",
|
||||||
"semver": "7.5.4",
|
"semver": "7.5.4",
|
||||||
"validator": "13.11.0",
|
"validator": "13.11.0",
|
||||||
"verdaccio-audit": "12.0.0-next.2",
|
"verdaccio-audit": "12.0.0-next.3",
|
||||||
"verdaccio-htpasswd": "12.0.0-next.2"
|
"verdaccio-htpasswd": "12.0.0-next.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/cli": "7.22.15",
|
"@babel/cli": "7.23.0",
|
||||||
"@babel/core": "7.22.20",
|
"@babel/core": "7.23.2",
|
||||||
"@babel/eslint-parser": "7.22.15",
|
"@babel/eslint-parser": "7.22.15",
|
||||||
"@babel/node": "7.22.19",
|
"@babel/node": "7.22.19",
|
||||||
"@babel/plugin-proposal-class-properties": "7.18.6",
|
"@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-export-namespace-from": "7.18.9",
|
||||||
"@babel/plugin-proposal-function-sent": "7.22.5",
|
"@babel/plugin-proposal-function-sent": "7.22.5",
|
||||||
"@babel/plugin-proposal-json-strings": "7.18.6",
|
"@babel/plugin-proposal-json-strings": "7.18.6",
|
||||||
|
@ -77,19 +77,19 @@
|
||||||
"@babel/plugin-syntax-import-meta": "7.10.4",
|
"@babel/plugin-syntax-import-meta": "7.10.4",
|
||||||
"@babel/plugin-transform-async-to-generator": "7.22.5",
|
"@babel/plugin-transform-async-to-generator": "7.22.5",
|
||||||
"@babel/plugin-transform-classes": "7.22.15",
|
"@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/polyfill": "^7.12.1",
|
||||||
"@babel/preset-env": "7.22.20",
|
"@babel/preset-env": "7.23.2",
|
||||||
"@babel/preset-typescript": "7.22.15",
|
"@babel/preset-typescript": "7.23.2",
|
||||||
"@babel/register": "7.22.15",
|
"@babel/register": "7.22.15",
|
||||||
"@babel/runtime": "7.22.15",
|
"@babel/runtime": "7.23.2",
|
||||||
"@octokit/rest": "19.0.13",
|
"@octokit/rest": "19.0.13",
|
||||||
"@trivago/prettier-plugin-sort-imports": "4.2.0",
|
"@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": "4.17.17",
|
||||||
"@types/express-serve-static-core": "4.17.35",
|
"@types/express-serve-static-core": "4.17.35",
|
||||||
"@types/http-errors": "2.0.1",
|
"@types/http-errors": "2.0.2",
|
||||||
"@types/jest": "26.0.24",
|
"@types/jest": "29.5.5",
|
||||||
"@types/lodash": "4.14.195",
|
"@types/lodash": "4.14.195",
|
||||||
"@types/mime": "2.0.3",
|
"@types/mime": "2.0.3",
|
||||||
"@types/minimatch": "3.0.5",
|
"@types/minimatch": "3.0.5",
|
||||||
|
@ -100,7 +100,7 @@
|
||||||
"@typescript-eslint/eslint-plugin": "5.62.0",
|
"@typescript-eslint/eslint-plugin": "5.62.0",
|
||||||
"@typescript-eslint/parser": "5.62.0",
|
"@typescript-eslint/parser": "5.62.0",
|
||||||
"@verdaccio-scope/verdaccio-auth-foo": "0.0.2",
|
"@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-jest": "29.7.0",
|
||||||
"babel-plugin-dynamic-import-node": "2.3.3",
|
"babel-plugin-dynamic-import-node": "2.3.3",
|
||||||
"cross-env": "7.0.3",
|
"cross-env": "7.0.3",
|
||||||
|
|
|
@ -517,7 +517,8 @@ class Auth {
|
||||||
groups: groupedGroups,
|
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;
|
return token;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue