diff --git a/packages/connector-alipay/package.json b/packages/connector-alipay/package.json index 7a2577cef..1faeaabc2 100644 --- a/packages/connector-alipay/package.json +++ b/packages/connector-alipay/package.json @@ -35,7 +35,7 @@ }, "devDependencies": { "@jest/types": "^27.5.1", - "@shopify/jest-koa-mocks": "^3.0.8", + "@shopify/jest-koa-mocks": "^4.0.0", "@silverhand/eslint-config": "^0.14.0", "@silverhand/ts-config": "^0.14.0", "@types/jest": "^27.4.1", diff --git a/packages/connector-types/package.json b/packages/connector-types/package.json index 90a2cad23..1c02df61c 100644 --- a/packages/connector-types/package.json +++ b/packages/connector-types/package.json @@ -24,7 +24,7 @@ }, "devDependencies": { "@jest/types": "^27.5.1", - "@shopify/jest-koa-mocks": "^3.0.8", + "@shopify/jest-koa-mocks": "^4.0.0", "@silverhand/eslint-config": "^0.14.0", "@silverhand/essentials": "^1.1.6", "@silverhand/ts-config": "^0.14.0", diff --git a/packages/core/package.json b/packages/core/package.json index d1a27b6d0..9c21b5bf8 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -68,7 +68,7 @@ }, "devDependencies": { "@silverhand/jest-config": "^0.14.0", - "@shopify/jest-koa-mocks": "^3.0.8", + "@shopify/jest-koa-mocks": "^4.0.0", "@silverhand/eslint-config": "^0.14.0", "@silverhand/ts-config": "^0.14.0", "@types/inquirer": "^8.2.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9e37df2c4..3f521e348 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -23,7 +23,7 @@ importers: '@jest/types': ^27.5.1 '@logto/connector-types': ^0.1.0 '@logto/shared': ^0.1.0 - '@shopify/jest-koa-mocks': ^3.0.8 + '@shopify/jest-koa-mocks': ^4.0.0 '@silverhand/eslint-config': ^0.14.0 '@silverhand/essentials': ^1.1.0 '@silverhand/jest-config': ^0.14.0 @@ -59,7 +59,7 @@ importers: zod: 3.14.3 devDependencies: '@jest/types': 27.5.1 - '@shopify/jest-koa-mocks': 3.0.8 + '@shopify/jest-koa-mocks': 4.0.0 '@silverhand/eslint-config': 0.14.0_xpq2m6kgodzytx4bqbpsfgmxbe '@silverhand/ts-config': 0.14.0_typescript@4.6.3 '@types/jest': 27.4.1 @@ -396,7 +396,7 @@ importers: specifiers: '@jest/types': ^27.5.1 '@logto/phrases': ^0.1.0 - '@shopify/jest-koa-mocks': ^3.0.8 + '@shopify/jest-koa-mocks': ^4.0.0 '@silverhand/eslint-config': ^0.14.0 '@silverhand/essentials': ^1.1.6 '@silverhand/ts-config': ^0.14.0 @@ -412,7 +412,7 @@ importers: '@logto/phrases': link:../phrases devDependencies: '@jest/types': 27.5.1 - '@shopify/jest-koa-mocks': 3.0.8 + '@shopify/jest-koa-mocks': 4.0.0 '@silverhand/eslint-config': 0.14.0_xpq2m6kgodzytx4bqbpsfgmxbe '@silverhand/essentials': 1.1.7 '@silverhand/ts-config': 0.14.0_typescript@4.6.3 @@ -649,7 +649,7 @@ importers: '@logto/phrases': ^0.1.0 '@logto/schemas': ^0.1.0 '@logto/shared': ^0.1.0 - '@shopify/jest-koa-mocks': ^3.0.8 + '@shopify/jest-koa-mocks': ^4.0.0 '@silverhand/eslint-config': ^0.14.0 '@silverhand/essentials': ^1.1.6 '@silverhand/jest-config': ^0.14.0 @@ -754,7 +754,7 @@ importers: snakecase-keys: 5.1.2 zod: 3.14.3 devDependencies: - '@shopify/jest-koa-mocks': 3.0.8 + '@shopify/jest-koa-mocks': 4.0.0 '@silverhand/eslint-config': 0.14.0_hjjt7jwmhwqm7bjf55k5ihcdqq '@silverhand/jest-config': 0.14.0_makj2rl6gt73u7koqro542qsmm '@silverhand/ts-config': 0.14.0_typescript@4.6.2 @@ -3765,6 +3765,7 @@ packages: pacote: 11.3.5 semver: 7.3.7 transitivePeerDependencies: + - bluebird - supports-color dev: true @@ -3933,6 +3934,7 @@ packages: whatwg-url: 8.7.0 yargs-parser: 20.2.4 transitivePeerDependencies: + - bluebird - supports-color dev: true @@ -4130,6 +4132,7 @@ packages: npm-registry-fetch: 9.0.0 npmlog: 4.1.2 transitivePeerDependencies: + - bluebird - supports-color dev: true @@ -4159,6 +4162,7 @@ packages: pify: 5.0.0 read-package-json: 3.0.1 transitivePeerDependencies: + - bluebird - supports-color dev: true @@ -4293,6 +4297,7 @@ packages: pacote: 11.3.5 semver: 7.3.7 transitivePeerDependencies: + - bluebird - encoding - supports-color dev: true @@ -4591,6 +4596,8 @@ packages: promise-retry: 2.0.1 semver: 7.3.7 which: 2.0.2 + transitivePeerDependencies: + - bluebird dev: true /@npmcli/installed-package-contents/1.0.7: @@ -5568,9 +5575,9 @@ packages: resolution: {integrity: sha512-Yykovind6xzqAqd0t5umrdAGPlGLTE80cy80UkEnbt8Zv5zEYTFzJSNPQ81TY8BSpRreubu1oE54iHBv2UVnTQ==} dev: true - /@shopify/jest-koa-mocks/3.0.8: - resolution: {integrity: sha512-VYb4txR56asRlrKs4QUxYp/7mjD4u4KePfHnuAGKE/ICCYe0PJduIxsX0Fj0MZnL1Vy+IpUbp3Eh7JP6SaeSxQ==} - engines: {node: '>=12.14.0'} + /@shopify/jest-koa-mocks/4.0.0: + resolution: {integrity: sha512-vzj95s/xPcASmhdXGW9MMzNlcx0Wdn6WTmcuCUgJbB1fm8rGepf+QYOZF6dtLMYC2asLROX/jygsE57q90DAsA==} + engines: {node: ^14.17.0 || >=16.0.0} dependencies: koa: 2.13.4 node-mocks-http: 1.11.0 @@ -5605,6 +5612,7 @@ packages: stylelint-config-xo-scss: 0.15.0_zhymizk4kfitko2u2d4p3qwyee transitivePeerDependencies: - eslint + - eslint-import-resolver-webpack - postcss - prettier - supports-color @@ -5628,7 +5636,7 @@ packages: eslint-import-resolver-typescript: 2.5.0_rnagsyfcubvpoxo2ynj23pim7u eslint-plugin-consistent-default-export-name: 0.0.7 eslint-plugin-eslint-comments: 3.2.0_eslint@8.10.0 - eslint-plugin-import: 2.25.4_eslint@8.10.0 + eslint-plugin-import: 2.25.4_sidoke6kqbkbdht6nlmwbfnany eslint-plugin-no-use-extend-native: 0.5.0 eslint-plugin-node: 11.1.0_eslint@8.10.0 eslint-plugin-prettier: 3.4.1_6pitu4b2tqihty6rv5qeiyb35m @@ -5638,6 +5646,7 @@ packages: pkg-dir: 4.2.0 prettier: 2.5.1 transitivePeerDependencies: + - eslint-import-resolver-webpack - supports-color - typescript dev: true @@ -5659,7 +5668,7 @@ packages: eslint-import-resolver-typescript: 2.5.0_rnagsyfcubvpoxo2ynj23pim7u eslint-plugin-consistent-default-export-name: 0.0.7 eslint-plugin-eslint-comments: 3.2.0_eslint@8.10.0 - eslint-plugin-import: 2.25.4_eslint@8.10.0 + eslint-plugin-import: 2.25.4_sidoke6kqbkbdht6nlmwbfnany eslint-plugin-no-use-extend-native: 0.5.0 eslint-plugin-node: 11.1.0_eslint@8.10.0 eslint-plugin-prettier: 3.4.1_6pitu4b2tqihty6rv5qeiyb35m @@ -5669,6 +5678,7 @@ packages: pkg-dir: 4.2.0 prettier: 2.5.1 transitivePeerDependencies: + - eslint-import-resolver-webpack - supports-color - typescript dev: true @@ -5690,7 +5700,7 @@ packages: eslint-import-resolver-typescript: 2.5.0_rnagsyfcubvpoxo2ynj23pim7u eslint-plugin-consistent-default-export-name: 0.0.7 eslint-plugin-eslint-comments: 3.2.0_eslint@8.10.0 - eslint-plugin-import: 2.25.4_eslint@8.10.0 + eslint-plugin-import: 2.25.4_sidoke6kqbkbdht6nlmwbfnany eslint-plugin-no-use-extend-native: 0.5.0 eslint-plugin-node: 11.1.0_eslint@8.10.0 eslint-plugin-prettier: 3.4.1_6pitu4b2tqihty6rv5qeiyb35m @@ -5700,6 +5710,7 @@ packages: pkg-dir: 4.2.0 prettier: 2.5.1 transitivePeerDependencies: + - eslint-import-resolver-webpack - supports-color - typescript dev: true @@ -7751,6 +7762,8 @@ packages: qs: 6.9.7 raw-body: 2.4.3 type-is: 1.6.18 + transitivePeerDependencies: + - supports-color dev: true /bonjour-service/1.0.11: @@ -7926,6 +7939,8 @@ packages: ssri: 8.0.1 tar: 6.1.11 unique-filename: 1.1.1 + transitivePeerDependencies: + - bluebird dev: true /cache-content-type/1.0.1: @@ -8441,6 +8456,8 @@ packages: on-headers: 1.0.2 safe-buffer: 5.1.2 vary: 1.1.2 + transitivePeerDependencies: + - supports-color dev: true /concat-map/0.0.1: @@ -9016,12 +9033,22 @@ packages: /debug/2.6.9: resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true dependencies: ms: 2.0.0 dev: true /debug/3.2.7: resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true dependencies: ms: 2.1.3 @@ -9250,6 +9277,8 @@ packages: dependencies: address: 1.1.2 debug: 2.6.9 + transitivePeerDependencies: + - supports-color dev: true /detect-port/1.3.0: @@ -9259,6 +9288,8 @@ packages: dependencies: address: 1.1.2 debug: 2.6.9 + transitivePeerDependencies: + - supports-color dev: true /dezalgo/1.0.3: @@ -9737,6 +9768,8 @@ packages: dependencies: debug: 3.2.7 resolve: 1.22.0 + transitivePeerDependencies: + - supports-color dev: true /eslint-import-resolver-typescript/2.5.0_rnagsyfcubvpoxo2ynj23pim7u: @@ -9748,7 +9781,7 @@ packages: dependencies: debug: 4.3.3 eslint: 8.10.0 - eslint-plugin-import: 2.25.4_eslint@8.10.0 + eslint-plugin-import: 2.25.4_sidoke6kqbkbdht6nlmwbfnany glob: 7.2.0 is-glob: 4.0.3 resolve: 1.22.0 @@ -9757,12 +9790,31 @@ packages: - supports-color dev: true - /eslint-module-utils/2.7.3: + /eslint-module-utils/2.7.3_l62aq42yiamaj3cnpuf6avthf4: resolution: {integrity: sha512-088JEC7O3lDZM9xGe0RerkOMd0EjFl+Yvd1jPWIkMT5u3H9+HC34mWWPnqPrN13gieT9pBOO+Qt07Nb/6TresQ==} engines: {node: '>=4'} + peerDependencies: + '@typescript-eslint/parser': '*' + eslint-import-resolver-node: '*' + eslint-import-resolver-typescript: '*' + eslint-import-resolver-webpack: '*' + peerDependenciesMeta: + '@typescript-eslint/parser': + optional: true + eslint-import-resolver-node: + optional: true + eslint-import-resolver-typescript: + optional: true + eslint-import-resolver-webpack: + optional: true dependencies: + '@typescript-eslint/parser': 5.14.0_fo4uz55zgcu432252zy2gvpvcu debug: 3.2.7 + eslint-import-resolver-node: 0.3.6 + eslint-import-resolver-typescript: 2.5.0_rnagsyfcubvpoxo2ynj23pim7u find-up: 2.1.0 + transitivePeerDependencies: + - supports-color dev: true /eslint-plugin-consistent-default-export-name/0.0.7: @@ -9797,19 +9849,24 @@ packages: ignore: 5.2.0 dev: true - /eslint-plugin-import/2.25.4_eslint@8.10.0: + /eslint-plugin-import/2.25.4_sidoke6kqbkbdht6nlmwbfnany: resolution: {integrity: sha512-/KJBASVFxpu0xg1kIBn9AUa8hQVnszpwgE7Ld0lKAlx7Ie87yzEzCgSkekt+le/YVhiaosO4Y14GDAOc41nfxA==} engines: {node: '>=4'} peerDependencies: + '@typescript-eslint/parser': '*' eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 + peerDependenciesMeta: + '@typescript-eslint/parser': + optional: true dependencies: + '@typescript-eslint/parser': 5.14.0_fo4uz55zgcu432252zy2gvpvcu array-includes: 3.1.4 array.prototype.flat: 1.2.5 debug: 2.6.9 doctrine: 2.1.0 eslint: 8.10.0 eslint-import-resolver-node: 0.3.6 - eslint-module-utils: 2.7.3 + eslint-module-utils: 2.7.3_l62aq42yiamaj3cnpuf6avthf4 has: 1.0.3 is-core-module: 2.8.1 is-glob: 4.0.3 @@ -9817,6 +9874,10 @@ packages: object.values: 1.1.5 resolve: 1.22.0 tsconfig-paths: 3.13.0 + transitivePeerDependencies: + - eslint-import-resolver-typescript + - eslint-import-resolver-webpack + - supports-color dev: true /eslint-plugin-no-use-extend-native/0.5.0: @@ -10208,6 +10269,8 @@ packages: type-is: 1.6.18 utils-merge: 1.0.1 vary: 1.1.2 + transitivePeerDependencies: + - supports-color dev: true /extend-shallow/2.0.1: @@ -10404,6 +10467,8 @@ packages: parseurl: 1.3.3 statuses: 1.5.0 unpipe: 1.0.0 + transitivePeerDependencies: + - supports-color dev: true /find-cache-dir/3.3.2: @@ -13114,6 +13179,7 @@ packages: import-local: 3.1.0 npmlog: 4.1.2 transitivePeerDependencies: + - bluebird - encoding - supports-color dev: true @@ -13148,6 +13214,7 @@ packages: npm-package-arg: 8.1.5 npm-registry-fetch: 11.0.0 transitivePeerDependencies: + - bluebird - supports-color dev: true @@ -13161,6 +13228,7 @@ packages: semver: 7.3.7 ssri: 8.0.1 transitivePeerDependencies: + - bluebird - supports-color dev: true @@ -13529,6 +13597,7 @@ packages: socks-proxy-agent: 5.0.1 ssri: 8.0.1 transitivePeerDependencies: + - bluebird - supports-color dev: true @@ -13553,6 +13622,7 @@ packages: socks-proxy-agent: 6.1.1 ssri: 8.0.1 transitivePeerDependencies: + - bluebird - supports-color dev: true @@ -14475,7 +14545,7 @@ packages: resolution: {integrity: sha512-jS/WzSOcKbOeGrcgKbenZeNhxUNnP36Yw11+hL4TTxQXErGfqYZ+MaYNNvhaTiGIJlzNSqgQkk9j8dSu1YWSuw==} engines: {node: '>=0.6'} dependencies: - accepts: 1.3.7 + accepts: 1.3.8 content-disposition: 0.5.4 depd: 1.1.2 fresh: 0.5.2 @@ -14625,6 +14695,7 @@ packages: minizlib: 2.1.2 npm-package-arg: 8.1.5 transitivePeerDependencies: + - bluebird - supports-color dev: true @@ -14641,6 +14712,7 @@ packages: minizlib: 2.1.2 npm-package-arg: 8.1.5 transitivePeerDependencies: + - bluebird - supports-color dev: true @@ -15079,6 +15151,7 @@ packages: ssri: 8.0.1 tar: 6.1.11 transitivePeerDependencies: + - bluebird - supports-color dev: true @@ -15471,6 +15544,8 @@ packages: async: 2.6.3 debug: 3.2.7 mkdirp: 0.5.5 + transitivePeerDependencies: + - supports-color dev: true /postcss-calc/8.2.4_postcss@8.4.12: @@ -16157,6 +16232,11 @@ packages: /promise-inflight/1.0.1: resolution: {integrity: sha1-mEcocL8igTL8vdhoEputEsPAKeM=} + peerDependencies: + bluebird: '*' + peerDependenciesMeta: + bluebird: + optional: true dev: true /promise-retry/2.0.1: @@ -16434,6 +16514,7 @@ packages: text-table: 0.2.0 transitivePeerDependencies: - eslint + - supports-color - typescript - vue-template-compiler - webpack @@ -17538,6 +17619,8 @@ packages: on-finished: 2.3.0 range-parser: 1.2.1 statuses: 1.5.0 + transitivePeerDependencies: + - supports-color dev: true /serialize-error/7.0.1: @@ -17584,6 +17667,8 @@ packages: http-errors: 1.6.3 mime-types: 2.1.35 parseurl: 1.3.3 + transitivePeerDependencies: + - supports-color dev: true /serve-static/1.14.2: @@ -17594,6 +17679,8 @@ packages: escape-html: 1.0.3 parseurl: 1.3.3 send: 0.17.2 + transitivePeerDependencies: + - supports-color dev: true /set-blocking/2.0.0: