From c680c31c944ceb32ce37a3e39d86fcc8fd3b92ae Mon Sep 17 00:00:00 2001 From: Gao Sun Date: Sun, 6 Nov 2022 00:16:40 +0800 Subject: [PATCH] chore(core): upgrade oidc-provider --- packages/core/package.json | 4 +- pnpm-lock.yaml | 92 +++++++++++++++++++++++++------------- 2 files changed, 64 insertions(+), 32 deletions(-) diff --git a/packages/core/package.json b/packages/core/package.json index 40a987b77..5d2209b99 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -55,7 +55,7 @@ "lodash.pick": "^4.4.0", "module-alias": "^2.2.2", "nanoid": "^3.1.23", - "oidc-provider": "^7.11.3", + "oidc-provider": "^7.13.0", "p-retry": "^4.6.1", "query-string": "^7.0.1", "roarr": "^7.11.0", @@ -84,7 +84,7 @@ "@types/koa-send": "^4.1.3", "@types/lodash.pick": "^4.4.6", "@types/node": "^16.0.0", - "@types/oidc-provider": "^7.11.1", + "@types/oidc-provider": "^7.12.0", "@types/supertest": "^2.0.11", "copyfiles": "^2.4.1", "eslint": "^8.21.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ba76cd4de..d3676d15b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -266,7 +266,7 @@ importers: '@types/koa-send': ^4.1.3 '@types/lodash.pick': ^4.4.6 '@types/node': ^16.0.0 - '@types/oidc-provider': ^7.11.1 + '@types/oidc-provider': ^7.12.0 '@types/supertest': ^2.0.11 chalk: ^4 clean-deep: ^3.4.0 @@ -303,7 +303,7 @@ importers: nanoid: ^3.1.23 nock: ^13.2.2 nodemon: ^2.0.19 - oidc-provider: ^7.11.3 + oidc-provider: ^7.13.0 openapi-types: ^12.0.0 p-retry: ^4.6.1 prettier: ^2.7.1 @@ -354,7 +354,7 @@ importers: lodash.pick: 4.4.0 module-alias: 2.2.2 nanoid: 3.1.30 - oidc-provider: 7.11.3 + oidc-provider: 7.13.0 p-retry: 4.6.1 query-string: 7.0.1 roarr: 7.11.0 @@ -382,7 +382,7 @@ importers: '@types/koa-send': 4.1.3 '@types/lodash.pick': 4.4.6 '@types/node': 16.11.12 - '@types/oidc-provider': 7.11.1 + '@types/oidc-provider': 7.12.0 '@types/supertest': 2.0.11 copyfiles: 2.4.1 eslint: 8.21.0 @@ -2199,8 +2199,8 @@ packages: '@jridgewell/sourcemap-codec': 1.4.14 dev: true - /@koa/cors/3.1.0: - resolution: {integrity: sha512-7ulRC1da/rBa6kj6P4g2aJfnET3z8Uf3SWu60cjbtxTA5g8lxRdX/Bd2P92EagGwwAhANeNw8T8if99rJliR6Q==} + /@koa/cors/3.4.3: + resolution: {integrity: sha512-WPXQUaAeAMVaLTEFpoq3T2O1C+FstkjJnDQqy95Ck1UdILajsRhu6mhJ8H2f4NFPRBoCNN+qywTJfq/gGki5mw==} engines: {node: '>= 8.0.0'} dependencies: vary: 1.1.2 @@ -3467,7 +3467,7 @@ packages: '@jest/types': 29.1.2 deepmerge: 4.2.2 identity-obj-proxy: 3.0.0 - jest: 29.1.2_k5ytkvaprncdyzidqqws5bqksq + jest: 29.1.2_@types+node@16.11.12 jest-matcher-specific-error: 1.0.0 jest-transform-stub: 2.0.0 ts-jest: 29.0.3_37jxomqt5oevoqzq6g3r6n3ili @@ -4076,8 +4076,8 @@ packages: resolution: {integrity: sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==} dev: true - /@types/oidc-provider/7.11.1: - resolution: {integrity: sha512-qimKqQ5HmQE2HKzhTvkLC0CQcOrQZv9+VAWEBb4EL+zqIZjE4X0PiCL0177eo6kitWrIjTQhhiLc2R3luA1AlQ==} + /@types/oidc-provider/7.12.0: + resolution: {integrity: sha512-PQtsWdbjzq/AARiNu2WjPnnbiCF78BCYgDOdKW0VYsjrbDa9HN8dALt7bSIJ0O67ti1l0pYDk8UCpmUu8rPAUQ==} dependencies: '@types/koa': 2.13.4 dev: true @@ -4641,8 +4641,8 @@ packages: hasBin: true dev: true - /async/0.9.2: - resolution: {integrity: sha512-l6ToIJIotphWahxxHyzK9bnLR6kM4jJIIgLShZeqLY7iboHoGkdgFl7W2/Ivi4SkMJYGKqW8vSuk0uKUj6qsSw==} + /async/3.2.4: + resolution: {integrity: sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==} dev: false /asynckit/0.4.0: @@ -5981,12 +5981,12 @@ packages: /ee-first/1.1.1: resolution: {integrity: sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=} - /ejs/3.1.6: - resolution: {integrity: sha512-9lt9Zse4hPucPkoP7FHDF0LQAlGyF9JVpnClFLFH3aSSbxmyoqINRpp/9wePWJTUl4KOQwRL72Iw3InHPDkoGw==} + /ejs/3.1.8: + resolution: {integrity: sha512-/sXZeMlhS0ArkfX2Aw780gJzXSMPnKjtspYZv+f3NiKLlubezAHDU5+9xz6gd3/NhG3txQCo6xlglmTS+oTGEQ==} engines: {node: '>=0.10.0'} hasBin: true dependencies: - jake: 10.8.2 + jake: 10.8.5 dev: false /electron-to-chromium/1.4.141: @@ -7284,6 +7284,23 @@ packages: p-cancelable: 2.1.1 responselike: 2.0.0 + /got/11.8.5: + resolution: {integrity: sha512-o0Je4NvQObAuZPHLFoRSkdG2lTgtcynqymzg2Vupdx6PorhaT5MCbIyXG6d4D94kk8ZG57QeosgdiqfJWhEhlQ==} + engines: {node: '>=10.19.0'} + dependencies: + '@sindresorhus/is': 4.2.0 + '@szmarczak/http-timer': 4.0.6 + '@types/cacheable-request': 6.0.2 + '@types/responselike': 1.0.0 + cacheable-lookup: 5.0.4 + cacheable-request: 7.0.2 + decompress-response: 6.0.0 + http2-wrapper: 1.0.3 + lowercase-keys: 2.0.0 + p-cancelable: 2.1.1 + responselike: 2.0.0 + dev: false + /graceful-fs/4.2.10: resolution: {integrity: sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==} @@ -8225,12 +8242,13 @@ packages: istanbul-lib-report: 3.0.0 dev: true - /jake/10.8.2: - resolution: {integrity: sha512-eLpKyrfG3mzvGE2Du8VoPbeSkRry093+tyNjdYaBbJS9v17knImYGNXQCUV0gLxQtF82m3E8iRb/wdSQZLoq7A==} + /jake/10.8.5: + resolution: {integrity: sha512-sVpxYeuAhWt0OTWITwT98oyV0GsXyMlXCF+3L1SuafBVUIr/uILGRB+NqwkzhgXKvoJpDIpQvqkUALgdmQsQxw==} + engines: {node: '>=10'} hasBin: true dependencies: - async: 0.9.2 - chalk: 2.4.2 + async: 3.2.4 + chalk: 4.1.2 filelist: 1.0.2 minimatch: 3.1.2 dev: false @@ -9051,6 +9069,10 @@ packages: '@sideway/pinpoint': 2.0.0 dev: true + /jose/4.10.4: + resolution: {integrity: sha512-eBH77Xs9Yc/oTDvukhAEDVMijhekPuNktXJL4tUlB22jqKP1k48v5nmsUmc8feoJPsxB3HsfEt2LbVSoz+1mng==} + dev: false + /jose/4.6.0: resolution: {integrity: sha512-0hNAkhMBNi4soKSAX4zYOFV+aqJlEz/4j4fregvasJzEVtjDChvWqRjPvHwLqr5hx28Ayr6bsOs1Kuj87V0O8w==} @@ -10549,8 +10571,8 @@ packages: engines: {node: '>=0.10.0'} dev: true - /object-hash/2.2.0: - resolution: {integrity: sha512-gScRMn0bS5fH+IuwyIFgnh9zBdo4DV+6GhygmWM9HyNJSgS0hScp1f5vjtm7oIIOiT9trXrShAkLFSc2IqKNgw==} + /object-hash/3.0.0: + resolution: {integrity: sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==} engines: {node: '>= 6'} dev: false @@ -10608,25 +10630,25 @@ packages: /obuf/1.1.2: resolution: {integrity: sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg==} - /oidc-provider/7.11.3: - resolution: {integrity: sha512-lk90N1+tXi4JX2/kdukMlSxummBTY78AFCX8meHev8pcxbCBjQqJwW2oKaujnTGxYIuDeUYjNI9zh0ur+oFu8g==} - engines: {node: ^12.19.0 || ^14.15.0 || ^16.13.0} + /oidc-provider/7.13.0: + resolution: {integrity: sha512-S8Ar9XrU3Gwe4XQMAw3bdfmE8bse9DIcJ2UNgHXcS77XeQuGsuotwbMQ/3fBNes5MnWc+nEgJMjzx5TQgqIheA==} + engines: {node: 12 || 14 || 16 || 18} dependencies: - '@koa/cors': 3.1.0 + '@koa/cors': 3.4.3 cacheable-lookup: 6.0.4 debug: 4.3.4 - ejs: 3.1.6 - got: 11.8.3 - jose: 4.6.0 + ejs: 3.1.8 + got: 11.8.5 + jose: 4.10.4 jsesc: 3.0.2 koa: 2.13.4 koa-compose: 4.1.0 nanoid: 3.3.4 - object-hash: 2.2.0 + object-hash: 3.0.0 oidc-token-hash: 5.0.1 paseto: 2.1.3 quick-lru: 5.1.1 - raw-body: 2.4.3 + raw-body: 2.5.1 optionalDependencies: paseto3: /paseto/3.1.1 transitivePeerDependencies: @@ -11635,6 +11657,16 @@ packages: unpipe: 1.0.0 dev: false + /raw-body/2.5.1: + resolution: {integrity: sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==} + engines: {node: '>= 0.8'} + dependencies: + bytes: 3.1.2 + http-errors: 2.0.0 + iconv-lite: 0.4.24 + unpipe: 1.0.0 + dev: false + /react-animate-height/3.0.4_biqbaboplfbrettd7655fr4n2y: resolution: {integrity: sha512-k+mBS8yCzpFp+7BdrHsL5bXd6CO/2bYO2SvRGKfxK+Ss3nzplAJLlgnd6Zhcxe/avdpy/CgcziicFj7pIHgG5g==} engines: {node: '>= 12.0.0'} @@ -13451,7 +13483,7 @@ packages: '@jest/types': 29.1.2 bs-logger: 0.2.6 fast-json-stable-stringify: 2.1.0 - jest: 29.1.2_k5ytkvaprncdyzidqqws5bqksq + jest: 29.1.2_@types+node@16.11.12 jest-util: 29.2.1 json5: 2.2.1 lodash.memoize: 4.1.2