From 4b75f21fd3e2bf4075bfe7af0330770a9eb5832f Mon Sep 17 00:00:00 2001 From: Artem Makhaydinov Date: Tue, 19 Sep 2023 14:25:44 +0300 Subject: [PATCH] feat: upgrade deprecated @oryd/keto-client to @ory/keto-client --- .pnp.cjs | 471 +----------------- packages/keto/package.json | 2 +- .../src/guards/keto-access-control.guard.ts | 6 +- packages/keto/src/keto.module.ts | 2 +- yarn.lock | 458 +---------------- 5 files changed, 32 insertions(+), 907 deletions(-) diff --git a/.pnp.cjs b/.pnp.cjs index e2f7f2ee..17b7de40 100755 --- a/.pnp.cjs +++ b/.pnp.cjs @@ -1168,7 +1168,7 @@ const RAW_RUNTIME_STATE = ["@nestjs/common", "virtual:03b6af22cb80149b513f081c991b2ee015111d59bbeac45ddf1903895b7fd87d34f48a2f3c80a4ef3aface38a0df360e482b938a22fb0c3db73366f989167c03#npm:10.2.5"],\ ["@nestjs/core", "virtual:3da99a4dd1a45fbb12f3936831275fe6ef127b2869363613ce7e5fc10bfba69fce118823d76d677d80a9d976776b1a4cb7b1bb4ee5c5a306e3ceed973bf055a2#npm:10.2.5"],\ ["@nestjs/graphql", "virtual:dbeec2a67cd5b7df21dbb482402706a67666b54395be929020ff14095c088b24e526a00156d6ec5c34cd13efb5308fdaa1b65b7daa3ae278555df7c6cc176b12#npm:12.0.9"],\ - ["@oryd/keto-client", "npm:0.0.0-alpha.46"],\ + ["@ory/keto-client", "npm:0.0.0-alpha.58"],\ ["@types/node", "npm:20.6.2"],\ ["apollo-server-core", "virtual:dbeec2a67cd5b7df21dbb482402706a67666b54395be929020ff14095c088b24e526a00156d6ec5c34cd13efb5308fdaa1b65b7daa3ae278555df7c6cc176b12#npm:3.12.1"],\ ["graphql", "npm:16.8.0"],\ @@ -6936,26 +6936,22 @@ const RAW_RUNTIME_STATE = "linkType": "HARD"\ }]\ ]],\ - ["@ory/kratos-client", [\ - ["npm:0.5.5-alpha.4", {\ - "packageLocation": "../../../.yarn/berry/cache/@ory-kratos-client-npm-0.5.5-alpha.4-6171ca63af-9.zip/node_modules/@ory/kratos-client/",\ + ["@ory/keto-client", [\ + ["npm:0.0.0-alpha.58", {\ + "packageLocation": "../../../.yarn/berry/cache/@ory-keto-client-npm-0.0.0-alpha.58-147b18f542-9.zip/node_modules/@ory/keto-client/",\ "packageDependencies": [\ - ["@ory/kratos-client", "npm:0.5.5-alpha.4"],\ + ["@ory/keto-client", "npm:0.0.0-alpha.58"],\ ["axios", "npm:0.19.2"]\ ],\ "linkType": "HARD"\ }]\ ]],\ - ["@oryd/keto-client", [\ - ["npm:0.0.0-alpha.46", {\ - "packageLocation": "../../../.yarn/berry/cache/@oryd-keto-client-npm-0.0.0-alpha.46-9621c8c13e-9.zip/node_modules/@oryd/keto-client/",\ + ["@ory/kratos-client", [\ + ["npm:0.5.5-alpha.4", {\ + "packageLocation": "../../../.yarn/berry/cache/@ory-kratos-client-npm-0.5.5-alpha.4-6171ca63af-9.zip/node_modules/@ory/kratos-client/",\ "packageDependencies": [\ - ["@oryd/keto-client", "npm:0.0.0-alpha.46"],\ - ["@types/bluebird", "npm:3.5.36"],\ - ["@types/request", "npm:2.48.7"],\ - ["bluebird", "npm:3.7.2"],\ - ["request", "npm:2.88.2"],\ - ["rewire", "npm:3.0.2"]\ + ["@ory/kratos-client", "npm:0.5.5-alpha.4"],\ + ["axios", "npm:0.19.2"]\ ],\ "linkType": "HARD"\ }]\ @@ -7197,15 +7193,6 @@ const RAW_RUNTIME_STATE = "linkType": "HARD"\ }]\ ]],\ - ["@types/bluebird", [\ - ["npm:3.5.36", {\ - "packageLocation": "../../../.yarn/berry/cache/@types-bluebird-npm-3.5.36-c27785104b-9.zip/node_modules/@types/bluebird/",\ - "packageDependencies": [\ - ["@types/bluebird", "npm:3.5.36"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ ["@types/body-parser", [\ ["npm:1.19.0", {\ "packageLocation": "../../../.yarn/berry/cache/@types-body-parser-npm-1.19.0-3ca4d08a60-9.zip/node_modules/@types/body-parser/",\ @@ -7217,15 +7204,6 @@ const RAW_RUNTIME_STATE = "linkType": "HARD"\ }]\ ]],\ - ["@types/caseless", [\ - ["npm:0.12.2", {\ - "packageLocation": "../../../.yarn/berry/cache/@types-caseless-npm-0.12.2-fc711e5d73-9.zip/node_modules/@types/caseless/",\ - "packageDependencies": [\ - ["@types/caseless", "npm:0.12.2"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ ["@types/connect", [\ ["npm:3.4.33", {\ "packageLocation": "../../../.yarn/berry/cache/@types-connect-npm-3.4.33-959638d9c6-9.zip/node_modules/@types/connect/",\ @@ -7661,19 +7639,6 @@ const RAW_RUNTIME_STATE = "linkType": "HARD"\ }]\ ]],\ - ["@types/request", [\ - ["npm:2.48.7", {\ - "packageLocation": "../../../.yarn/berry/cache/@types-request-npm-2.48.7-1da8346db1-9.zip/node_modules/@types/request/",\ - "packageDependencies": [\ - ["@types/request", "npm:2.48.7"],\ - ["@types/caseless", "npm:0.12.2"],\ - ["@types/node", "npm:17.0.18"],\ - ["@types/tough-cookie", "npm:4.0.1"],\ - ["form-data", "npm:2.5.1"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ ["@types/send", [\ ["npm:0.17.1", {\ "packageLocation": "../../../.yarn/berry/cache/@types-send-npm-0.17.1-5f715ca966-9.zip/node_modules/@types/send/",\ @@ -7737,15 +7702,6 @@ const RAW_RUNTIME_STATE = "linkType": "HARD"\ }]\ ]],\ - ["@types/tough-cookie", [\ - ["npm:4.0.1", {\ - "packageLocation": "../../../.yarn/berry/cache/@types-tough-cookie-npm-4.0.1-3e523463ac-9.zip/node_modules/@types/tough-cookie/",\ - "packageDependencies": [\ - ["@types/tough-cookie", "npm:4.0.1"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ ["@types/uuid", [\ ["npm:9.0.2", {\ "packageLocation": "../../../.yarn/berry/cache/@types-uuid-npm-9.0.2-f2a5f65979-9.zip/node_modules/@types/uuid/",\ @@ -8071,13 +8027,6 @@ const RAW_RUNTIME_STATE = }]\ ]],\ ["ansi-styles", [\ - ["npm:2.2.1", {\ - "packageLocation": "../../../.yarn/berry/cache/ansi-styles-npm-2.2.1-f3297e782c-9.zip/node_modules/ansi-styles/",\ - "packageDependencies": [\ - ["ansi-styles", "npm:2.2.1"]\ - ],\ - "linkType": "HARD"\ - }],\ ["npm:3.2.1", {\ "packageLocation": "../../../.yarn/berry/cache/ansi-styles-npm-3.2.1-8cb8107983-9.zip/node_modules/ansi-styles/",\ "packageDependencies": [\ @@ -8884,74 +8833,6 @@ const RAW_RUNTIME_STATE = "linkType": "HARD"\ }]\ ]],\ - ["babel-code-frame", [\ - ["npm:6.26.0", {\ - "packageLocation": "../../../.yarn/berry/cache/babel-code-frame-npm-6.26.0-9f86717636-9.zip/node_modules/babel-code-frame/",\ - "packageDependencies": [\ - ["babel-code-frame", "npm:6.26.0"],\ - ["chalk", "npm:1.1.3"],\ - ["esutils", "npm:2.0.3"],\ - ["js-tokens", "npm:3.0.2"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ - ["babel-core", [\ - ["npm:6.26.3", {\ - "packageLocation": "../../../.yarn/berry/cache/babel-core-npm-6.26.3-92fb66c8ab-9.zip/node_modules/babel-core/",\ - "packageDependencies": [\ - ["babel-core", "npm:6.26.3"],\ - ["babel-code-frame", "npm:6.26.0"],\ - ["babel-generator", "npm:6.26.1"],\ - ["babel-helpers", "npm:6.24.1"],\ - ["babel-messages", "npm:6.23.0"],\ - ["babel-register", "npm:6.26.0"],\ - ["babel-runtime", "npm:6.26.0"],\ - ["babel-template", "npm:6.26.0"],\ - ["babel-traverse", "npm:6.26.0"],\ - ["babel-types", "npm:6.26.0"],\ - ["babylon", "npm:6.18.0"],\ - ["convert-source-map", "npm:1.8.0"],\ - ["debug", "virtual:759fd14db92b54abdb7afb3d21dbf8d50f1a5c59c96cd3f963ce3e3ed063bdb801142fae5f01cc81fb79f7ddc13b7c31a9deb9d5a9cfa48ec107f83de8f7f40e#npm:2.6.9"],\ - ["json5", "npm:0.5.1"],\ - ["lodash", "npm:4.17.21"],\ - ["minimatch", "npm:3.0.4"],\ - ["path-is-absolute", "npm:1.0.1"],\ - ["private", "npm:0.1.8"],\ - ["slash", "npm:1.0.0"],\ - ["source-map", "npm:0.5.7"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ - ["babel-generator", [\ - ["npm:6.26.1", {\ - "packageLocation": "../../../.yarn/berry/cache/babel-generator-npm-6.26.1-c8765c0918-9.zip/node_modules/babel-generator/",\ - "packageDependencies": [\ - ["babel-generator", "npm:6.26.1"],\ - ["babel-messages", "npm:6.23.0"],\ - ["babel-runtime", "npm:6.26.0"],\ - ["babel-types", "npm:6.26.0"],\ - ["detect-indent", "npm:4.0.0"],\ - ["jsesc", "npm:1.3.0"],\ - ["lodash", "npm:4.17.21"],\ - ["source-map", "npm:0.5.7"],\ - ["trim-right", "npm:1.0.1"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ - ["babel-helpers", [\ - ["npm:6.24.1", {\ - "packageLocation": "../../../.yarn/berry/cache/babel-helpers-npm-6.24.1-743259a0a1-9.zip/node_modules/babel-helpers/",\ - "packageDependencies": [\ - ["babel-helpers", "npm:6.24.1"],\ - ["babel-runtime", "npm:6.26.0"],\ - ["babel-template", "npm:6.26.0"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ ["babel-jest", [\ ["npm:27.5.1", {\ "packageLocation": "../../../.yarn/berry/cache/babel-jest-npm-27.5.1-f9f56b9874-9.zip/node_modules/babel-jest/",\ @@ -8980,16 +8861,6 @@ const RAW_RUNTIME_STATE = "linkType": "HARD"\ }]\ ]],\ - ["babel-messages", [\ - ["npm:6.23.0", {\ - "packageLocation": "../../../.yarn/berry/cache/babel-messages-npm-6.23.0-49e1fcee43-9.zip/node_modules/babel-messages/",\ - "packageDependencies": [\ - ["babel-messages", "npm:6.23.0"],\ - ["babel-runtime", "npm:6.26.0"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ ["babel-plugin-istanbul", [\ ["npm:6.1.1", {\ "packageLocation": "../../../.yarn/berry/cache/babel-plugin-istanbul-npm-6.1.1-df824055e4-9.zip/node_modules/babel-plugin-istanbul/",\ @@ -9017,20 +8888,6 @@ const RAW_RUNTIME_STATE = "linkType": "HARD"\ }]\ ]],\ - ["babel-plugin-transform-es2015-block-scoping", [\ - ["npm:6.26.0", {\ - "packageLocation": "../../../.yarn/berry/cache/babel-plugin-transform-es2015-block-scoping-npm-6.26.0-e105a6ceb3-9.zip/node_modules/babel-plugin-transform-es2015-block-scoping/",\ - "packageDependencies": [\ - ["babel-plugin-transform-es2015-block-scoping", "npm:6.26.0"],\ - ["babel-runtime", "npm:6.26.0"],\ - ["babel-template", "npm:6.26.0"],\ - ["babel-traverse", "npm:6.26.0"],\ - ["babel-types", "npm:6.26.0"],\ - ["lodash", "npm:4.17.21"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ ["babel-preset-current-node-syntax", [\ ["npm:1.0.0", {\ "packageLocation": "../../../.yarn/berry/cache/babel-preset-current-node-syntax-npm-1.0.0-1b2199003e-9.zip/node_modules/babel-preset-current-node-syntax/",\ @@ -9114,87 +8971,6 @@ const RAW_RUNTIME_STATE = "linkType": "HARD"\ }]\ ]],\ - ["babel-register", [\ - ["npm:6.26.0", {\ - "packageLocation": "../../../.yarn/berry/cache/babel-register-npm-6.26.0-e6a751af56-9.zip/node_modules/babel-register/",\ - "packageDependencies": [\ - ["babel-register", "npm:6.26.0"],\ - ["babel-core", "npm:6.26.3"],\ - ["babel-runtime", "npm:6.26.0"],\ - ["core-js", "npm:2.6.12"],\ - ["home-or-tmp", "npm:2.0.0"],\ - ["lodash", "npm:4.17.21"],\ - ["mkdirp", "npm:0.5.5"],\ - ["source-map-support", "npm:0.4.18"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ - ["babel-runtime", [\ - ["npm:6.26.0", {\ - "packageLocation": "../../../.yarn/berry/cache/babel-runtime-npm-6.26.0-d38e7946b4-9.zip/node_modules/babel-runtime/",\ - "packageDependencies": [\ - ["babel-runtime", "npm:6.26.0"],\ - ["core-js", "npm:2.6.12"],\ - ["regenerator-runtime", "npm:0.11.1"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ - ["babel-template", [\ - ["npm:6.26.0", {\ - "packageLocation": "../../../.yarn/berry/cache/babel-template-npm-6.26.0-2cb5f80999-9.zip/node_modules/babel-template/",\ - "packageDependencies": [\ - ["babel-template", "npm:6.26.0"],\ - ["babel-runtime", "npm:6.26.0"],\ - ["babel-traverse", "npm:6.26.0"],\ - ["babel-types", "npm:6.26.0"],\ - ["babylon", "npm:6.18.0"],\ - ["lodash", "npm:4.17.21"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ - ["babel-traverse", [\ - ["npm:6.26.0", {\ - "packageLocation": "../../../.yarn/berry/cache/babel-traverse-npm-6.26.0-ebcb2264b6-9.zip/node_modules/babel-traverse/",\ - "packageDependencies": [\ - ["babel-traverse", "npm:6.26.0"],\ - ["babel-code-frame", "npm:6.26.0"],\ - ["babel-messages", "npm:6.23.0"],\ - ["babel-runtime", "npm:6.26.0"],\ - ["babel-types", "npm:6.26.0"],\ - ["babylon", "npm:6.18.0"],\ - ["debug", "virtual:759fd14db92b54abdb7afb3d21dbf8d50f1a5c59c96cd3f963ce3e3ed063bdb801142fae5f01cc81fb79f7ddc13b7c31a9deb9d5a9cfa48ec107f83de8f7f40e#npm:2.6.9"],\ - ["globals", "npm:9.18.0"],\ - ["invariant", "npm:2.2.4"],\ - ["lodash", "npm:4.17.21"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ - ["babel-types", [\ - ["npm:6.26.0", {\ - "packageLocation": "../../../.yarn/berry/cache/babel-types-npm-6.26.0-165163b54c-9.zip/node_modules/babel-types/",\ - "packageDependencies": [\ - ["babel-types", "npm:6.26.0"],\ - ["babel-runtime", "npm:6.26.0"],\ - ["esutils", "npm:2.0.3"],\ - ["lodash", "npm:4.17.21"],\ - ["to-fast-properties", "npm:1.0.3"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ - ["babylon", [\ - ["npm:6.18.0", {\ - "packageLocation": "../../../.yarn/berry/cache/babylon-npm-6.18.0-2c6a1b9c30-9.zip/node_modules/babylon/",\ - "packageDependencies": [\ - ["babylon", "npm:6.18.0"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ ["backo2", [\ ["npm:1.0.2", {\ "packageLocation": "../../../.yarn/berry/cache/backo2-npm-1.0.2-e933aab18a-9.zip/node_modules/backo2/",\ @@ -9272,15 +9048,6 @@ const RAW_RUNTIME_STATE = "linkType": "HARD"\ }]\ ]],\ - ["bluebird", [\ - ["npm:3.7.2", {\ - "packageLocation": "../../../.yarn/berry/cache/bluebird-npm-3.7.2-6a54136ee3-9.zip/node_modules/bluebird/",\ - "packageDependencies": [\ - ["bluebird", "npm:3.7.2"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ ["body-parser", [\ ["npm:1.19.0", {\ "packageLocation": "../../../.yarn/berry/cache/body-parser-npm-1.19.0-6e177cabfa-9.zip/node_modules/body-parser/",\ @@ -9650,18 +9417,6 @@ const RAW_RUNTIME_STATE = }]\ ]],\ ["chalk", [\ - ["npm:1.1.3", {\ - "packageLocation": "../../../.yarn/berry/cache/chalk-npm-1.1.3-59144c3a87-9.zip/node_modules/chalk/",\ - "packageDependencies": [\ - ["chalk", "npm:1.1.3"],\ - ["ansi-styles", "npm:2.2.1"],\ - ["escape-string-regexp", "npm:1.0.5"],\ - ["has-ansi", "npm:2.0.0"],\ - ["strip-ansi", "npm:3.0.1"],\ - ["supports-color", "npm:2.0.0"]\ - ],\ - "linkType": "HARD"\ - }],\ ["npm:2.4.2", {\ "packageLocation": "../../../.yarn/berry/cache/chalk-npm-2.4.2-3ea16dd91e-9.zip/node_modules/chalk/",\ "packageDependencies": [\ @@ -10099,14 +9854,6 @@ const RAW_RUNTIME_STATE = ["safe-buffer", "npm:5.1.2"]\ ],\ "linkType": "HARD"\ - }],\ - ["npm:1.8.0", {\ - "packageLocation": "../../../.yarn/berry/cache/convert-source-map-npm-1.8.0-037f671dde-9.zip/node_modules/convert-source-map/",\ - "packageDependencies": [\ - ["convert-source-map", "npm:1.8.0"],\ - ["safe-buffer", "npm:5.1.2"]\ - ],\ - "linkType": "HARD"\ }]\ ]],\ ["cookie", [\ @@ -10158,13 +9905,6 @@ const RAW_RUNTIME_STATE = }]\ ]],\ ["core-js", [\ - ["npm:2.6.12", {\ - "packageLocation": "./.yarn/unplugged/core-js-npm-2.6.12-0b93d77d31/node_modules/core-js/",\ - "packageDependencies": [\ - ["core-js", "npm:2.6.12"]\ - ],\ - "linkType": "HARD"\ - }],\ ["npm:3.13.0", {\ "packageLocation": "./.yarn/unplugged/core-js-npm-3.13.0-628ebe56e7/node_modules/core-js/",\ "packageDependencies": [\ @@ -10628,16 +10368,6 @@ const RAW_RUNTIME_STATE = "linkType": "HARD"\ }]\ ]],\ - ["detect-indent", [\ - ["npm:4.0.0", {\ - "packageLocation": "../../../.yarn/berry/cache/detect-indent-npm-4.0.0-c684022efe-9.zip/node_modules/detect-indent/",\ - "packageDependencies": [\ - ["detect-indent", "npm:4.0.0"],\ - ["repeating", "npm:2.0.1"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ ["detect-libc", [\ ["npm:1.0.3", {\ "packageLocation": "../../../.yarn/berry/cache/detect-libc-npm-1.0.3-c30ac344d4-9.zip/node_modules/detect-libc/",\ @@ -11788,16 +11518,6 @@ const RAW_RUNTIME_STATE = ],\ "linkType": "HARD"\ }],\ - ["npm:2.5.1", {\ - "packageLocation": "../../../.yarn/berry/cache/form-data-npm-2.5.1-47256351b5-9.zip/node_modules/form-data/",\ - "packageDependencies": [\ - ["form-data", "npm:2.5.1"],\ - ["asynckit", "npm:0.4.0"],\ - ["combined-stream", "npm:1.0.8"],\ - ["mime-types", "npm:2.1.27"]\ - ],\ - "linkType": "HARD"\ - }],\ ["npm:3.0.0", {\ "packageLocation": "../../../.yarn/berry/cache/form-data-npm-3.0.0-b01f488350-9.zip/node_modules/form-data/",\ "packageDependencies": [\ @@ -12191,13 +11911,6 @@ const RAW_RUNTIME_STATE = ["type-fest", "npm:0.20.2"]\ ],\ "linkType": "HARD"\ - }],\ - ["npm:9.18.0", {\ - "packageLocation": "../../../.yarn/berry/cache/globals-npm-9.18.0-129a7197fd-9.zip/node_modules/globals/",\ - "packageDependencies": [\ - ["globals", "npm:9.18.0"]\ - ],\ - "linkType": "HARD"\ }]\ ]],\ ["globby", [\ @@ -12615,16 +12328,6 @@ const RAW_RUNTIME_STATE = "linkType": "HARD"\ }]\ ]],\ - ["has-ansi", [\ - ["npm:2.0.0", {\ - "packageLocation": "../../../.yarn/berry/cache/has-ansi-npm-2.0.0-9bf0cff2af-9.zip/node_modules/has-ansi/",\ - "packageDependencies": [\ - ["has-ansi", "npm:2.0.0"],\ - ["ansi-regex", "npm:2.1.1"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ ["has-bigints", [\ ["npm:1.0.1", {\ "packageLocation": "../../../.yarn/berry/cache/has-bigints-npm-1.0.1-1b93717a74-9.zip/node_modules/has-bigints/",\ @@ -12706,17 +12409,6 @@ const RAW_RUNTIME_STATE = "linkType": "HARD"\ }]\ ]],\ - ["home-or-tmp", [\ - ["npm:2.0.0", {\ - "packageLocation": "../../../.yarn/berry/cache/home-or-tmp-npm-2.0.0-8c183736e3-9.zip/node_modules/home-or-tmp/",\ - "packageDependencies": [\ - ["home-or-tmp", "npm:2.0.0"],\ - ["os-homedir", "npm:1.0.2"],\ - ["os-tmpdir", "npm:1.0.2"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ ["html-encoding-sniffer", [\ ["npm:2.0.1", {\ "packageLocation": "../../../.yarn/berry/cache/html-encoding-sniffer-npm-2.0.1-381bf15a76-9.zip/node_modules/html-encoding-sniffer/",\ @@ -12978,16 +12670,6 @@ const RAW_RUNTIME_STATE = "linkType": "HARD"\ }]\ ]],\ - ["invariant", [\ - ["npm:2.2.4", {\ - "packageLocation": "../../../.yarn/berry/cache/invariant-npm-2.2.4-717fbdb119-9.zip/node_modules/invariant/",\ - "packageDependencies": [\ - ["invariant", "npm:2.2.4"],\ - ["loose-envify", "npm:1.4.0"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ ["ip", [\ ["npm:2.0.0", {\ "packageLocation": "../../../.yarn/berry/cache/ip-npm-2.0.0-204facb3cc-9.zip/node_modules/ip/",\ @@ -13081,15 +12763,6 @@ const RAW_RUNTIME_STATE = "linkType": "HARD"\ }]\ ]],\ - ["is-finite", [\ - ["npm:1.1.0", {\ - "packageLocation": "../../../.yarn/berry/cache/is-finite-npm-1.1.0-c6324c0f8f-9.zip/node_modules/is-finite/",\ - "packageDependencies": [\ - ["is-finite", "npm:1.1.0"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ ["is-fullwidth-code-point", [\ ["npm:1.0.0", {\ "packageLocation": "../../../.yarn/berry/cache/is-fullwidth-code-point-npm-1.0.0-0e436ba1ef-9.zip/node_modules/is-fullwidth-code-point/",\ @@ -13927,13 +13600,6 @@ const RAW_RUNTIME_STATE = }]\ ]],\ ["js-tokens", [\ - ["npm:3.0.2", {\ - "packageLocation": "../../../.yarn/berry/cache/js-tokens-npm-3.0.2-fe6fb334bd-9.zip/node_modules/js-tokens/",\ - "packageDependencies": [\ - ["js-tokens", "npm:3.0.2"]\ - ],\ - "linkType": "HARD"\ - }],\ ["npm:4.0.0", {\ "packageLocation": "../../../.yarn/berry/cache/js-tokens-npm-4.0.0-0ac852e9e2-9.zip/node_modules/js-tokens/",\ "packageDependencies": [\ @@ -14020,13 +13686,6 @@ const RAW_RUNTIME_STATE = }]\ ]],\ ["jsesc", [\ - ["npm:1.3.0", {\ - "packageLocation": "../../../.yarn/berry/cache/jsesc-npm-1.3.0-c6247dcb35-9.zip/node_modules/jsesc/",\ - "packageDependencies": [\ - ["jsesc", "npm:1.3.0"]\ - ],\ - "linkType": "HARD"\ - }],\ ["npm:2.5.2", {\ "packageLocation": "../../../.yarn/berry/cache/jsesc-npm-2.5.2-c5acb78804-9.zip/node_modules/jsesc/",\ "packageDependencies": [\ @@ -14114,13 +13773,6 @@ const RAW_RUNTIME_STATE = }]\ ]],\ ["json5", [\ - ["npm:0.5.1", {\ - "packageLocation": "../../../.yarn/berry/cache/json5-npm-0.5.1-dad9a6cdb1-9.zip/node_modules/json5/",\ - "packageDependencies": [\ - ["json5", "npm:0.5.1"]\ - ],\ - "linkType": "HARD"\ - }],\ ["npm:2.1.3", {\ "packageLocation": "../../../.yarn/berry/cache/json5-npm-2.1.3-b71ec6bcca-9.zip/node_modules/json5/",\ "packageDependencies": [\ @@ -14458,16 +14110,6 @@ const RAW_RUNTIME_STATE = "linkType": "HARD"\ }]\ ]],\ - ["loose-envify", [\ - ["npm:1.4.0", {\ - "packageLocation": "../../../.yarn/berry/cache/loose-envify-npm-1.4.0-6307b72ccf-9.zip/node_modules/loose-envify/",\ - "packageDependencies": [\ - ["loose-envify", "npm:1.4.0"],\ - ["js-tokens", "npm:4.0.0"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ ["lower-case", [\ ["npm:2.0.2", {\ "packageLocation": "../../../.yarn/berry/cache/lower-case-npm-2.0.2-151055f1c2-9.zip/node_modules/lower-case/",\ @@ -15470,24 +15112,6 @@ const RAW_RUNTIME_STATE = "linkType": "HARD"\ }]\ ]],\ - ["os-homedir", [\ - ["npm:1.0.2", {\ - "packageLocation": "../../../.yarn/berry/cache/os-homedir-npm-1.0.2-01f82faa88-9.zip/node_modules/os-homedir/",\ - "packageDependencies": [\ - ["os-homedir", "npm:1.0.2"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ - ["os-tmpdir", [\ - ["npm:1.0.2", {\ - "packageLocation": "../../../.yarn/berry/cache/os-tmpdir-npm-1.0.2-e305b0689b-9.zip/node_modules/os-tmpdir/",\ - "packageDependencies": [\ - ["os-tmpdir", "npm:1.0.2"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ ["p-limit", [\ ["npm:2.3.0", {\ "packageLocation": "../../../.yarn/berry/cache/p-limit-npm-2.3.0-94a0310039-9.zip/node_modules/p-limit/",\ @@ -15851,15 +15475,6 @@ const RAW_RUNTIME_STATE = "linkType": "HARD"\ }]\ ]],\ - ["private", [\ - ["npm:0.1.8", {\ - "packageLocation": "../../../.yarn/berry/cache/private-npm-0.1.8-1df19be5d6-9.zip/node_modules/private/",\ - "packageDependencies": [\ - ["private", "npm:0.1.8"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ ["process", [\ ["npm:0.11.10", {\ "packageLocation": "../../../.yarn/berry/cache/process-npm-0.11.10-aeb3b641ae-9.zip/node_modules/process/",\ @@ -16285,13 +15900,6 @@ const RAW_RUNTIME_STATE = }]\ ]],\ ["regenerator-runtime", [\ - ["npm:0.11.1", {\ - "packageLocation": "../../../.yarn/berry/cache/regenerator-runtime-npm-0.11.1-a31e4f8dcd-9.zip/node_modules/regenerator-runtime/",\ - "packageDependencies": [\ - ["regenerator-runtime", "npm:0.11.1"]\ - ],\ - "linkType": "HARD"\ - }],\ ["npm:0.13.7", {\ "packageLocation": "../../../.yarn/berry/cache/regenerator-runtime-npm-0.13.7-41bcbe64ea-9.zip/node_modules/regenerator-runtime/",\ "packageDependencies": [\ @@ -16325,16 +15933,6 @@ const RAW_RUNTIME_STATE = "linkType": "HARD"\ }]\ ]],\ - ["repeating", [\ - ["npm:2.0.1", {\ - "packageLocation": "../../../.yarn/berry/cache/repeating-npm-2.0.1-b05693cc77-9.zip/node_modules/repeating/",\ - "packageDependencies": [\ - ["repeating", "npm:2.0.1"],\ - ["is-finite", "npm:1.1.0"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ ["request", [\ ["npm:2.88.2", {\ "packageLocation": "../../../.yarn/berry/cache/request-npm-2.88.2-f4a57c72c4-9.zip/node_modules/request/",\ @@ -16458,17 +16056,6 @@ const RAW_RUNTIME_STATE = "linkType": "HARD"\ }]\ ]],\ - ["rewire", [\ - ["npm:3.0.2", {\ - "packageLocation": "../../../.yarn/berry/cache/rewire-npm-3.0.2-bc54aa9155-9.zip/node_modules/rewire/",\ - "packageDependencies": [\ - ["rewire", "npm:3.0.2"],\ - ["babel-core", "npm:6.26.3"],\ - ["babel-plugin-transform-es2015-block-scoping", "npm:6.26.0"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ ["rimraf", [\ ["npm:3.0.2", {\ "packageLocation": "../../../.yarn/berry/cache/rimraf-npm-3.0.2-2cb7dac69a-9.zip/node_modules/rimraf/",\ @@ -16808,13 +16395,6 @@ const RAW_RUNTIME_STATE = }]\ ]],\ ["slash", [\ - ["npm:1.0.0", {\ - "packageLocation": "../../../.yarn/berry/cache/slash-npm-1.0.0-a244873c30-9.zip/node_modules/slash/",\ - "packageDependencies": [\ - ["slash", "npm:1.0.0"]\ - ],\ - "linkType": "HARD"\ - }],\ ["npm:3.0.0", {\ "packageLocation": "../../../.yarn/berry/cache/slash-npm-3.0.0-b87de2279a-9.zip/node_modules/slash/",\ "packageDependencies": [\ @@ -16918,14 +16498,6 @@ const RAW_RUNTIME_STATE = }]\ ]],\ ["source-map-support", [\ - ["npm:0.4.18", {\ - "packageLocation": "../../../.yarn/berry/cache/source-map-support-npm-0.4.18-cf66202fc8-9.zip/node_modules/source-map-support/",\ - "packageDependencies": [\ - ["source-map-support", "npm:0.4.18"],\ - ["source-map", "npm:0.5.7"]\ - ],\ - "linkType": "HARD"\ - }],\ ["npm:0.5.19", {\ "packageLocation": "../../../.yarn/berry/cache/source-map-support-npm-0.5.19-65b33ae61e-9.zip/node_modules/source-map-support/",\ "packageDependencies": [\ @@ -17466,13 +17038,6 @@ const RAW_RUNTIME_STATE = }]\ ]],\ ["supports-color", [\ - ["npm:2.0.0", {\ - "packageLocation": "../../../.yarn/berry/cache/supports-color-npm-2.0.0-22c0f0adbc-9.zip/node_modules/supports-color/",\ - "packageDependencies": [\ - ["supports-color", "npm:2.0.0"]\ - ],\ - "linkType": "HARD"\ - }],\ ["npm:5.5.0", {\ "packageLocation": "../../../.yarn/berry/cache/supports-color-npm-5.5.0-183ac537bc-9.zip/node_modules/supports-color/",\ "packageDependencies": [\ @@ -17739,13 +17304,6 @@ const RAW_RUNTIME_STATE = }]\ ]],\ ["to-fast-properties", [\ - ["npm:1.0.3", {\ - "packageLocation": "../../../.yarn/berry/cache/to-fast-properties-npm-1.0.3-63b1c80b67-9.zip/node_modules/to-fast-properties/",\ - "packageDependencies": [\ - ["to-fast-properties", "npm:1.0.3"]\ - ],\ - "linkType": "HARD"\ - }],\ ["npm:2.0.0", {\ "packageLocation": "../../../.yarn/berry/cache/to-fast-properties-npm-2.0.0-0dc60cc481-9.zip/node_modules/to-fast-properties/",\ "packageDependencies": [\ @@ -17818,15 +17376,6 @@ const RAW_RUNTIME_STATE = "linkType": "HARD"\ }]\ ]],\ - ["trim-right", [\ - ["npm:1.0.1", {\ - "packageLocation": "../../../.yarn/berry/cache/trim-right-npm-1.0.1-8ccc457eb4-9.zip/node_modules/trim-right/",\ - "packageDependencies": [\ - ["trim-right", "npm:1.0.1"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ ["ts-invariant", [\ ["npm:0.4.4", {\ "packageLocation": "../../../.yarn/berry/cache/ts-invariant-npm-0.4.4-9f97371ec3-9.zip/node_modules/ts-invariant/",\ diff --git a/packages/keto/package.json b/packages/keto/package.json index 8f173df7..9e03e96a 100644 --- a/packages/keto/package.json +++ b/packages/keto/package.json @@ -12,7 +12,7 @@ "postpack": "rm -rf dist" }, "dependencies": { - "@oryd/keto-client": "0.0.0-alpha.46" + "@ory/keto-client": "0.0.0-alpha.58" }, "devDependencies": { "@nestjs/common": "10.2.5", diff --git a/packages/keto/src/guards/keto-access-control.guard.ts b/packages/keto/src/guards/keto-access-control.guard.ts index 6be5c77a..cc360ab1 100644 --- a/packages/keto/src/guards/keto-access-control.guard.ts +++ b/packages/keto/src/guards/keto-access-control.guard.ts @@ -3,7 +3,7 @@ import { ExecutionContext } from '@nestjs/common' import { Injectable } from '@nestjs/common' import { Reflector } from '@nestjs/core' import { GqlExecutionContext } from '@nestjs/graphql' -import { EnginesApi } from '@oryd/keto-client' +import { EnginesApi } from '@ory/keto-client' import { ACCESS_POLICY_METADATA } from '../constants' import { ResourceService } from '../services' @@ -40,14 +40,14 @@ export class KetoAccessControlGuard implements CanActivate { } try { - const { body } = await this.keto.doOryAccessControlPoliciesAllow(policy.flavor, { + const { data } = await this.keto.doOryAccessControlPoliciesAllow(policy.flavor, { subject, resource: this.resourceService.withScope(policy.resource), action: policy.action, context: {}, }) - return body.allowed + return data.allowed } catch (error) { return false } diff --git a/packages/keto/src/keto.module.ts b/packages/keto/src/keto.module.ts index 4b492474..a69ab42c 100644 --- a/packages/keto/src/keto.module.ts +++ b/packages/keto/src/keto.module.ts @@ -1,6 +1,6 @@ import { DynamicModule } from '@nestjs/common' import { Module } from '@nestjs/common' -import { EnginesApi } from '@oryd/keto-client' +import { EnginesApi } from '@ory/keto-client' import { RESOURCES_SCOPE } from './constants' import { ResourceService } from './services' diff --git a/yarn.lock b/yarn.lock index e25ac14d..d64ea70f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -615,7 +615,7 @@ __metadata: "@nestjs/common": "npm:10.2.5" "@nestjs/core": "npm:10.2.5" "@nestjs/graphql": "npm:12.0.9" - "@oryd/keto-client": "npm:0.0.0-alpha.46" + "@ory/keto-client": "npm:0.0.0-alpha.58" "@types/node": "npm:20.6.2" apollo-server-core: "npm:3.12.1" graphql: "npm:16.8.0" @@ -3449,25 +3449,21 @@ __metadata: languageName: node linkType: hard -"@ory/kratos-client@npm:0.5.5-alpha.4": - version: 0.5.5-alpha.4 - resolution: "@ory/kratos-client@npm:0.5.5-alpha.4" +"@ory/keto-client@npm:0.0.0-alpha.58": + version: 0.0.0-alpha.58 + resolution: "@ory/keto-client@npm:0.0.0-alpha.58" dependencies: axios: "npm:^0.19.2" - checksum: 04b066bdff4afa171ba069f24ea8a02c1220b68eed59ea462d5954c35629d1d356409a688b380d7f438488fe3a23b862851e216c8ee4029ce462c74fc76ed1b8 + checksum: fc39879f304b1e3a8fca8dfc86ce05774766b51fb8a5354baaeee40eaad408bece0f0ab694617ba0655bac82b20f42d8c13c36740eb8d00bad70e41154000792 languageName: node linkType: hard -"@oryd/keto-client@npm:0.0.0-alpha.46": - version: 0.0.0-alpha.46 - resolution: "@oryd/keto-client@npm:0.0.0-alpha.46" +"@ory/kratos-client@npm:0.5.5-alpha.4": + version: 0.5.5-alpha.4 + resolution: "@ory/kratos-client@npm:0.5.5-alpha.4" dependencies: - "@types/bluebird": "npm:*" - "@types/request": "npm:*" - bluebird: "npm:^3.5.0" - request: "npm:^2.81.0" - rewire: "npm:^3.0.2" - checksum: 50d84d8fd9a7ae98b17c7a7789c6f4a7293c11bd0895d0195bd341f0824f6c3825c0be18226581518ad6d620116a0ea28cd7dff3352c7356c7927c29ef80eaf7 + axios: "npm:^0.19.2" + checksum: 04b066bdff4afa171ba069f24ea8a02c1220b68eed59ea462d5954c35629d1d356409a688b380d7f438488fe3a23b862851e216c8ee4029ce462c74fc76ed1b8 languageName: node linkType: hard @@ -3672,13 +3668,6 @@ __metadata: languageName: node linkType: hard -"@types/bluebird@npm:*": - version: 3.5.36 - resolution: "@types/bluebird@npm:3.5.36" - checksum: ccc71c4609d00092b4133e9d2350d6865e02c73ab95053d7b9ff75d06a1a910b6e69b977cd64faa8cfda3c94ff0e1b351b745947341486b93730dc13d4958944 - languageName: node - linkType: hard - "@types/body-parser@npm:*, @types/body-parser@npm:1.19.0": version: 1.19.0 resolution: "@types/body-parser@npm:1.19.0" @@ -3689,13 +3678,6 @@ __metadata: languageName: node linkType: hard -"@types/caseless@npm:*": - version: 0.12.2 - resolution: "@types/caseless@npm:0.12.2" - checksum: 43754789ae0b5cfbb35e12140b0ff15a8977e70ef754adc9be5d38128268a12d5620173d96a924ef18be2ed85b82ac9eac9fe7a07a0d853a069f5ddd7649d3d7 - languageName: node - linkType: hard - "@types/connect@npm:*": version: 3.4.33 resolution: "@types/connect@npm:3.4.33" @@ -4080,18 +4062,6 @@ __metadata: languageName: node linkType: hard -"@types/request@npm:*": - version: 2.48.7 - resolution: "@types/request@npm:2.48.7" - dependencies: - "@types/caseless": "npm:*" - "@types/node": "npm:*" - "@types/tough-cookie": "npm:*" - form-data: "npm:^2.5.0" - checksum: 24cf245a0acbca0fb2d17a73b5ff986cda5d6d3c6fc69c8295f43f8c0f590e9d7f2eb0e478ea9be5eb8c582eb8dced2e35205ebc5f7b8663abfe9a6cfcc8a9d1 - languageName: node - linkType: hard - "@types/send@npm:*": version: 0.17.1 resolution: "@types/send@npm:0.17.1" @@ -4148,13 +4118,6 @@ __metadata: languageName: node linkType: hard -"@types/tough-cookie@npm:*": - version: 4.0.1 - resolution: "@types/tough-cookie@npm:4.0.1" - checksum: 82906e88f7e6847df084a6b8ecb339ae6ef2b2ea2b06ee749df6612628314bf5f0c1b12406d3d369d46020310f3489cece4814d7e92e16caca7ac341cd434b2a - languageName: node - linkType: hard - "@types/uuid@npm:9.0.2": version: 9.0.2 resolution: "@types/uuid@npm:9.0.2" @@ -4451,13 +4414,6 @@ __metadata: languageName: node linkType: hard -"ansi-styles@npm:^2.2.1": - version: 2.2.1 - resolution: "ansi-styles@npm:2.2.1" - checksum: 0b71ee0091063f434731dff97ddb561ad99d2a4343ebdf9e24d05bb9b9d43cdeab00ff254e1308c046e17adb3ad2cea0a5a10445cb497b7b65bfa7058ab0b8d4 - languageName: node - linkType: hard - "ansi-styles@npm:^3.2.1": version: 3.2.1 resolution: "ansi-styles@npm:3.2.1" @@ -5067,70 +5023,6 @@ __metadata: languageName: node linkType: hard -"babel-code-frame@npm:^6.26.0": - version: 6.26.0 - resolution: "babel-code-frame@npm:6.26.0" - dependencies: - chalk: "npm:^1.1.3" - esutils: "npm:^2.0.2" - js-tokens: "npm:^3.0.2" - checksum: 9487af948c25dfd8995b1078ef9fd14a97b70bb3b7c17507a621b7201412e10301cbe86695d6954b8ba675dbc5485beefc5bf52067d60f7ac582ec040b2a41e7 - languageName: node - linkType: hard - -"babel-core@npm:^6.26.0": - version: 6.26.3 - resolution: "babel-core@npm:6.26.3" - dependencies: - babel-code-frame: "npm:^6.26.0" - babel-generator: "npm:^6.26.0" - babel-helpers: "npm:^6.24.1" - babel-messages: "npm:^6.23.0" - babel-register: "npm:^6.26.0" - babel-runtime: "npm:^6.26.0" - babel-template: "npm:^6.26.0" - babel-traverse: "npm:^6.26.0" - babel-types: "npm:^6.26.0" - babylon: "npm:^6.18.0" - convert-source-map: "npm:^1.5.1" - debug: "npm:^2.6.9" - json5: "npm:^0.5.1" - lodash: "npm:^4.17.4" - minimatch: "npm:^3.0.4" - path-is-absolute: "npm:^1.0.1" - private: "npm:^0.1.8" - slash: "npm:^1.0.0" - source-map: "npm:^0.5.7" - checksum: 28a3186c4f5f440c1ad828d5741bb2a1f008e03a19287c86a5e6ab769dc5f56cc332f0d648bbb6188cf8cc7a4a92c6eca5fa6f3cf0b487472c888b6bb8a694a3 - languageName: node - linkType: hard - -"babel-generator@npm:^6.26.0": - version: 6.26.1 - resolution: "babel-generator@npm:6.26.1" - dependencies: - babel-messages: "npm:^6.23.0" - babel-runtime: "npm:^6.26.0" - babel-types: "npm:^6.26.0" - detect-indent: "npm:^4.0.0" - jsesc: "npm:^1.3.0" - lodash: "npm:^4.17.4" - source-map: "npm:^0.5.7" - trim-right: "npm:^1.0.1" - checksum: 425ac1641e5c3242a0f05bd15bae69bd823002a16afc73fc9d9151119196c0c36d39fdf0134ae459720ba0d7c2d3698b969cd0c8f9e45808c609e3fa87052cb9 - languageName: node - linkType: hard - -"babel-helpers@npm:^6.24.1": - version: 6.24.1 - resolution: "babel-helpers@npm:6.24.1" - dependencies: - babel-runtime: "npm:^6.22.0" - babel-template: "npm:^6.24.1" - checksum: 6cec9a19295bff738440c035af852266714d264cd05f58cf4d3a82b8dd5f4f021c7342703032d76b7d9b360ba5f6d2cad6f7cda16218549aa8b875df281e95da - languageName: node - linkType: hard - "babel-jest@npm:^27.5.1": version: 27.5.1 resolution: "babel-jest@npm:27.5.1" @@ -5149,15 +5041,6 @@ __metadata: languageName: node linkType: hard -"babel-messages@npm:^6.23.0": - version: 6.23.0 - resolution: "babel-messages@npm:6.23.0" - dependencies: - babel-runtime: "npm:^6.22.0" - checksum: 9509a410b4727e00662362d7c3e44552cbb3d2bc010ff90d6fc70f75bacb144a34afa156ab3eb2f0de0696eee88ddcd03d7794a5f1df8f0bc67cc140d845ac55 - languageName: node - linkType: hard - "babel-plugin-istanbul@npm:^6.1.1": version: 6.1.1 resolution: "babel-plugin-istanbul@npm:6.1.1" @@ -5183,19 +5066,6 @@ __metadata: languageName: node linkType: hard -"babel-plugin-transform-es2015-block-scoping@npm:^6.26.0": - version: 6.26.0 - resolution: "babel-plugin-transform-es2015-block-scoping@npm:6.26.0" - dependencies: - babel-runtime: "npm:^6.26.0" - babel-template: "npm:^6.26.0" - babel-traverse: "npm:^6.26.0" - babel-types: "npm:^6.26.0" - lodash: "npm:^4.17.4" - checksum: 406255c6ec1de3b2f28554e9969befe9e7a9adef26476ede0339fb1a5c972e7f37f756e807d777cbd6f8414a0dec126e9ec724d181d95f03a1dad373e660210f - languageName: node - linkType: hard - "babel-preset-current-node-syntax@npm:^1.0.0": version: 1.0.0 resolution: "babel-preset-current-node-syntax@npm:1.0.0" @@ -5230,82 +5100,6 @@ __metadata: languageName: node linkType: hard -"babel-register@npm:^6.26.0": - version: 6.26.0 - resolution: "babel-register@npm:6.26.0" - dependencies: - babel-core: "npm:^6.26.0" - babel-runtime: "npm:^6.26.0" - core-js: "npm:^2.5.0" - home-or-tmp: "npm:^2.0.0" - lodash: "npm:^4.17.4" - mkdirp: "npm:^0.5.1" - source-map-support: "npm:^0.4.15" - checksum: 0a06f7d168c39e65d6f21cc9340a440dfbfb839a8db173b123372a413465b9f24ff9dd7381b84846dc408b32483791682639eb2d287ba5d5f51e5befe5817200 - languageName: node - linkType: hard - -"babel-runtime@npm:^6.22.0, babel-runtime@npm:^6.26.0": - version: 6.26.0 - resolution: "babel-runtime@npm:6.26.0" - dependencies: - core-js: "npm:^2.4.0" - regenerator-runtime: "npm:^0.11.0" - checksum: 9ff2870582894fa49190a1943e6be5beb659096ea393adab793f9d1733c4f44fd54c19e08f5bcff7416b241ca1ff89ebcea43c3a00daa61255001479e57d7554 - languageName: node - linkType: hard - -"babel-template@npm:^6.24.1, babel-template@npm:^6.26.0": - version: 6.26.0 - resolution: "babel-template@npm:6.26.0" - dependencies: - babel-runtime: "npm:^6.26.0" - babel-traverse: "npm:^6.26.0" - babel-types: "npm:^6.26.0" - babylon: "npm:^6.18.0" - lodash: "npm:^4.17.4" - checksum: 9391ca7fb630cd529846a2c6337193442b09dbeaba01707372880954f28cf4b64a033710b64fe7e82ccccff1afc3ec58a18b8d4eba7d532d118bc19b4ff5e9bf - languageName: node - linkType: hard - -"babel-traverse@npm:^6.26.0": - version: 6.26.0 - resolution: "babel-traverse@npm:6.26.0" - dependencies: - babel-code-frame: "npm:^6.26.0" - babel-messages: "npm:^6.23.0" - babel-runtime: "npm:^6.26.0" - babel-types: "npm:^6.26.0" - babylon: "npm:^6.18.0" - debug: "npm:^2.6.8" - globals: "npm:^9.18.0" - invariant: "npm:^2.2.2" - lodash: "npm:^4.17.4" - checksum: aa3e5fff686de0c91e56b70e13d1dbfeac615655e742b01b766e832f6830c5028a9c4d024df95cb119d387a7aaa5d7ce1c2b4568648b3e1a72e054f5ab3a2b07 - languageName: node - linkType: hard - -"babel-types@npm:^6.26.0": - version: 6.26.0 - resolution: "babel-types@npm:6.26.0" - dependencies: - babel-runtime: "npm:^6.26.0" - esutils: "npm:^2.0.2" - lodash: "npm:^4.17.4" - to-fast-properties: "npm:^1.0.3" - checksum: c45910be4283661d3de64a9835ffe9d5130f836ebacb839b9a2ef3b009c6ac3dec04c89fc644af56c60f37571077a6b440bc054527ee33a250ae04bb44291c63 - languageName: node - linkType: hard - -"babylon@npm:^6.18.0": - version: 6.18.0 - resolution: "babylon@npm:6.18.0" - bin: - babylon: ./bin/babylon.js - checksum: c14bfa585d38e24f8d3db8f140b9b69c6da914bf202b64a9001e1b5a036f3047a4bf65ce2dc6f0fde66c955587ca42985ef479e47ede114e2aa84454745bcadd - languageName: node - linkType: hard - "backo2@npm:^1.0.2": version: 1.0.2 resolution: "backo2@npm:1.0.2" @@ -5372,13 +5166,6 @@ __metadata: languageName: node linkType: hard -"bluebird@npm:^3.5.0": - version: 3.7.2 - resolution: "bluebird@npm:3.7.2" - checksum: 42df9603102ffbb71c0bc66056a66dce510ba136ab746fb2f783daa71843f14b6f22c2897cb224b556cc5546b9a524c224f6b1505e074310273a5ee5b222e072 - languageName: node - linkType: hard - "body-parser@npm:1.19.0, body-parser@npm:^1.18.3": version: 1.19.0 resolution: "body-parser@npm:1.19.0" @@ -5729,19 +5516,6 @@ __metadata: languageName: node linkType: hard -"chalk@npm:^1.1.3": - version: 1.1.3 - resolution: "chalk@npm:1.1.3" - dependencies: - ansi-styles: "npm:^2.2.1" - escape-string-regexp: "npm:^1.0.2" - has-ansi: "npm:^2.0.0" - strip-ansi: "npm:^3.0.0" - supports-color: "npm:^2.0.0" - checksum: 577287c6224796bded023a8dba3907b52f66bfccce6802225c5a0d303d563da76fc2de8523cad5bbb3d006fc19644f88da0388f9884df30cba09e6eb3b0c4700 - languageName: node - linkType: hard - "chalk@npm:^2.0.0": version: 2.4.2 resolution: "chalk@npm:2.4.2" @@ -6125,15 +5899,6 @@ __metadata: languageName: node linkType: hard -"convert-source-map@npm:^1.5.1": - version: 1.8.0 - resolution: "convert-source-map@npm:1.8.0" - dependencies: - safe-buffer: "npm:~5.1.1" - checksum: 1548dbc3808672aec5942ada45bf57ceb2287ac2566e9935e35d95ffeab562f33ee1221922ec2ea7f3ff4b85828c8247599144069fae81a86e295cc932190dcf - languageName: node - linkType: hard - "cookie-signature@npm:1.0.6": version: 1.0.6 resolution: "cookie-signature@npm:1.0.6" @@ -6183,13 +5948,6 @@ __metadata: languageName: node linkType: hard -"core-js@npm:^2.4.0, core-js@npm:^2.5.0": - version: 2.6.12 - resolution: "core-js@npm:2.6.12" - checksum: 1cab48644f8b5d4c58c9ce82b045d1c683ba0b8025abd7df1b6a91a4dd24c64ea4194cc769849fedc71c0f56e1645cf6bc36808cbadd53b9a6dcb48c821df811 - languageName: node - linkType: hard - "core-js@npm:^3.0.1": version: 3.13.0 resolution: "core-js@npm:3.13.0" @@ -6379,7 +6137,7 @@ __metadata: languageName: node linkType: hard -"debug@npm:2.6.9, debug@npm:^2.6.8, debug@npm:^2.6.9": +"debug@npm:2.6.9": version: 2.6.9 resolution: "debug@npm:2.6.9" dependencies: @@ -6542,15 +6300,6 @@ __metadata: languageName: node linkType: hard -"detect-indent@npm:^4.0.0": - version: 4.0.0 - resolution: "detect-indent@npm:4.0.0" - dependencies: - repeating: "npm:^2.0.0" - checksum: d3873007e59c65cdac9d7bea018fdd5a1e10e59e0c014cedbef8994d37622d6c8814125a7f29b5a8c675189705d3476c23ff50b29a53995d93afbb49106eccfc - languageName: node - linkType: hard - "detect-libc@npm:^1.0.3": version: 1.0.3 resolution: "detect-libc@npm:1.0.3" @@ -6905,7 +6654,7 @@ __metadata: languageName: node linkType: hard -"escape-string-regexp@npm:^1.0.2, escape-string-regexp@npm:^1.0.5": +"escape-string-regexp@npm:^1.0.5": version: 1.0.5 resolution: "escape-string-regexp@npm:1.0.5" checksum: 14d2c74a990b4a0ae55f299409693533a620402a6efa02b201d7e2ea60c71a516c36ccfcaf2aa604262eec6c4628bf8b9647e211fb179277cb479bd870c906fa @@ -7565,17 +7314,6 @@ __metadata: languageName: node linkType: hard -"form-data@npm:^2.5.0": - version: 2.5.1 - resolution: "form-data@npm:2.5.1" - dependencies: - asynckit: "npm:^0.4.0" - combined-stream: "npm:^1.0.6" - mime-types: "npm:^2.1.12" - checksum: 9163db247434cb612f94d27563ec5c19417fc15638f51502667d6f1133bc5b18bce1348aeaed6235c450e9885d8f4a43ea39e948404df7ff485a49a7a0ec84c9 - languageName: node - linkType: hard - "form-data@npm:^3.0.0": version: 3.0.0 resolution: "form-data@npm:3.0.0" @@ -7965,13 +7703,6 @@ __metadata: languageName: node linkType: hard -"globals@npm:^9.18.0": - version: 9.18.0 - resolution: "globals@npm:9.18.0" - checksum: af5ab58c79c6297ced24cede6c65c3b7ffd207bd8477acbcd07973a811478d9212614e0e32d389bc0f617fcd06587e6699595f2381e76ef4fa05b40717136ee5 - languageName: node - linkType: hard - "globby@npm:11.0.4, globby@npm:^11.0.3": version: 11.0.4 resolution: "globby@npm:11.0.4" @@ -8219,15 +7950,6 @@ __metadata: languageName: node linkType: hard -"has-ansi@npm:^2.0.0": - version: 2.0.0 - resolution: "has-ansi@npm:2.0.0" - dependencies: - ansi-regex: "npm:^2.0.0" - checksum: ef71935b691d60bef2eb91eb2d3f33833da9bc8f49a6a7cf45a8da05c21ed77ec4ce948f168aecffebb83b14a5c46d6f8deb57c159df92bf17a561f23440301b - languageName: node - linkType: hard - "has-bigints@npm:^1.0.1": version: 1.0.1 resolution: "has-bigints@npm:1.0.1" @@ -8303,16 +8025,6 @@ __metadata: languageName: node linkType: hard -"home-or-tmp@npm:^2.0.0": - version: 2.0.0 - resolution: "home-or-tmp@npm:2.0.0" - dependencies: - os-homedir: "npm:^1.0.0" - os-tmpdir: "npm:^1.0.1" - checksum: 82f10ac67f63c9e13d8886e3fb4a0010ac0d4309c5a304e26505a647e4eb713af30dfc0d5e053aa31eb538f27241cecf3cd58f5b4df5fe03ac2800a4493c0156 - languageName: node - linkType: hard - "html-encoding-sniffer@npm:^2.0.1": version: 2.0.1 resolution: "html-encoding-sniffer@npm:2.0.1" @@ -8552,15 +8264,6 @@ __metadata: languageName: node linkType: hard -"invariant@npm:^2.2.2": - version: 2.2.4 - resolution: "invariant@npm:2.2.4" - dependencies: - loose-envify: "npm:^1.0.0" - checksum: 5d5f2b8c4ebf418a43764a94c46932620595bbd434897966394d6db2155ce1f3036c37830674d86fb0552334c49cf9831fa9bfb8fc1d151ba4de93f5ffb4d285 - languageName: node - linkType: hard - "ip@npm:^2.0.0": version: 2.0.0 resolution: "ip@npm:2.0.0" @@ -8637,13 +8340,6 @@ __metadata: languageName: node linkType: hard -"is-finite@npm:^1.0.0": - version: 1.1.0 - resolution: "is-finite@npm:1.1.0" - checksum: b029a10ab9d71094a11fd177d05d64401972ac0e44f9da3f084822f41f23146933b733807d6388da6baecad2b20c88e925739d5bcac05d1c166943c44065deda - languageName: node - linkType: hard - "is-fullwidth-code-point@npm:^1.0.0": version: 1.0.0 resolution: "is-fullwidth-code-point@npm:1.0.0" @@ -9390,20 +9086,13 @@ __metadata: languageName: node linkType: hard -"js-tokens@npm:^3.0.0 || ^4.0.0, js-tokens@npm:^4.0.0": +"js-tokens@npm:^4.0.0": version: 4.0.0 resolution: "js-tokens@npm:4.0.0" checksum: 47d1c18dc6b9eed4baf1db3d81b36feb95b463201c82ffce0d7a4d65ede596ba97d6ac2468974199705db9ef8a3433606af41fc7bbe7cb25c1dd601785413d9b languageName: node linkType: hard -"js-tokens@npm:^3.0.2": - version: 3.0.2 - resolution: "js-tokens@npm:3.0.2" - checksum: 59580696b1a9b154aa6be6d73d0991daa1a28c39d6f0a914ef7fdadd467936827b833d436ab35bbfea9d91a90fd97b0dc37fb94fe2d4634255a4e24a84acc654 - languageName: node - linkType: hard - "js-yaml@npm:4.1.0, js-yaml@npm:^4.0.0, js-yaml@npm:^4.1.0": version: 4.1.0 resolution: "js-yaml@npm:4.1.0" @@ -9474,15 +9163,6 @@ __metadata: languageName: node linkType: hard -"jsesc@npm:^1.3.0": - version: 1.3.0 - resolution: "jsesc@npm:1.3.0" - bin: - jsesc: bin/jsesc - checksum: a57ea5860d1a85a22e33b7c16a3f63d70b3f4049a5ac45fbdf2ace9be7d3c2b4f7a6986cac5386efc702d9f811922fd2e6db87bfc893ba46ca029e0cd68da678 - languageName: node - linkType: hard - "jsesc@npm:^2.5.1": version: 2.5.2 resolution: "jsesc@npm:2.5.2" @@ -9557,15 +9237,6 @@ __metadata: languageName: node linkType: hard -"json5@npm:^0.5.1": - version: 0.5.1 - resolution: "json5@npm:0.5.1" - bin: - json5: lib/cli.js - checksum: 72201befd014e40ee453ee05eed9df01e180fc2baca9be06316a0189ef6ae54d72f0504109d8270e5aedebd0570587b3c360c5aa9293a7ec777c4ecbd908adb8 - languageName: node - linkType: hard - "json5@npm:^2.1.2": version: 2.1.3 resolution: "json5@npm:2.1.3" @@ -9823,7 +9494,7 @@ __metadata: languageName: node linkType: hard -"lodash@npm:4.17.21, lodash@npm:^4.17.21, lodash@npm:^4.17.4, lodash@npm:^4.7.0": +"lodash@npm:4.17.21, lodash@npm:^4.17.21, lodash@npm:^4.7.0": version: 4.17.21 resolution: "lodash@npm:4.17.21" checksum: 3ac18e92108d68f88429fcddee609e42cf2b653583d9bac22308815a4cd6b185b89a0ad0d9b0c670c371d9d6b61571a98fee6b36e1db14e52766ca253ed9cba0 @@ -9861,17 +9532,6 @@ __metadata: languageName: node linkType: hard -"loose-envify@npm:^1.0.0": - version: 1.4.0 - resolution: "loose-envify@npm:1.4.0" - dependencies: - js-tokens: "npm:^3.0.0 || ^4.0.0" - bin: - loose-envify: cli.js - checksum: 39c5fc44c6a8f7f8a92cccf174554fbb307477ef493760407920fdd4ed5f6cc1aec5b6a5ab3c3767ef79547b3e1aea09d8ca08d773232c662d910cfe473a0590 - languageName: node - linkType: hard - "lower-case@npm:2.0.2, lower-case@npm:^2.0.2": version: 2.0.2 resolution: "lower-case@npm:2.0.2" @@ -10803,20 +10463,6 @@ __metadata: languageName: node linkType: hard -"os-homedir@npm:^1.0.0": - version: 1.0.2 - resolution: "os-homedir@npm:1.0.2" - checksum: a9952fc2f0428609088f9be0b399c7029ef090c9a9d065c5cfa1c41b25a7d441df98f19368d2cc7c19c7e932759b918fe9e6cb7ee61b1343341a42f2481ab6ca - languageName: node - linkType: hard - -"os-tmpdir@npm:^1.0.1": - version: 1.0.2 - resolution: "os-tmpdir@npm:1.0.2" - checksum: c69d1cc11e9da80f1e2b21a08566fec9a690e4b5bc47b3ac996cfe8d24f4e9e6857779a39a326bf322f2e8bc936ada1a92d48aa10c6dda99c13c551c23bdadfb - languageName: node - linkType: hard - "p-limit@npm:3.1.0, p-limit@npm:^3.0.1": version: 3.1.0 resolution: "p-limit@npm:3.1.0" @@ -10967,7 +10613,7 @@ __metadata: languageName: node linkType: hard -"path-is-absolute@npm:^1.0.0, path-is-absolute@npm:^1.0.1": +"path-is-absolute@npm:^1.0.0": version: 1.0.1 resolution: "path-is-absolute@npm:1.0.1" checksum: 6bb8fef4324c3f744e5d216980aa053095e1fc533d40fa47f9c1adc16be7fa52d3c4858370c7685406c32ab143a4dca0798f2e2c0f57d7937af66d8dd79267f6 @@ -11142,13 +10788,6 @@ __metadata: languageName: node linkType: hard -"private@npm:^0.1.8": - version: 0.1.8 - resolution: "private@npm:0.1.8" - checksum: 6f53c1775032c1b1c878766df01212bef9680161955ed5a555981d000a75d991383e0098df87ee855bd1bdc4175001131f3cbedc353aa51bc1042add98a3a23e - languageName: node - linkType: hard - "process-nextick-args@npm:~2.0.0": version: 2.0.1 resolution: "process-nextick-args@npm:2.0.1" @@ -11535,13 +11174,6 @@ __metadata: languageName: node linkType: hard -"regenerator-runtime@npm:^0.11.0": - version: 0.11.1 - resolution: "regenerator-runtime@npm:0.11.1" - checksum: 14664043fb2f0f41fa9349df06e962fc888657ea05ece28df05729fba0b9ea626e75547e317452454b80ef182bfe69b7c14d6717b0f7eb1c23d4d74aad9e186c - languageName: node - linkType: hard - "regenerator-runtime@npm:^0.13.4": version: 0.13.7 resolution: "regenerator-runtime@npm:0.13.7" @@ -11570,16 +11202,7 @@ __metadata: languageName: node linkType: hard -"repeating@npm:^2.0.0": - version: 2.0.1 - resolution: "repeating@npm:2.0.1" - dependencies: - is-finite: "npm:^1.0.0" - checksum: eb19209a3c9bd0762e71832f4f54df5e2f7a4f78d8b622fc46bcdc15772b7f880bf1762d1d3566adfaa8b37f243b5e0f83eaa279b2381af762b71c97b6cc186c - languageName: node - linkType: hard - -"request@npm:^2.81.0, request@npm:^2.88.2": +"request@npm:^2.88.2": version: 2.88.2 resolution: "request@npm:2.88.2" dependencies: @@ -11696,16 +11319,6 @@ __metadata: languageName: node linkType: hard -"rewire@npm:^3.0.2": - version: 3.0.2 - resolution: "rewire@npm:3.0.2" - dependencies: - babel-core: "npm:^6.26.0" - babel-plugin-transform-es2015-block-scoping: "npm:^6.26.0" - checksum: d72431611fdeee112b1768b4e6490439819332603b265210d18e19a478018e03c021346d06b6248bf7f8be6861b2fd8cb9470e774586a85341d04041fa9cc70c - languageName: node - linkType: hard - "rimraf@npm:5.0.1": version: 5.0.1 resolution: "rimraf@npm:5.0.1" @@ -12037,13 +11650,6 @@ __metadata: languageName: node linkType: hard -"slash@npm:^1.0.0": - version: 1.0.0 - resolution: "slash@npm:1.0.0" - checksum: e0e05887dc446179ac39db0676990170778ffde456354cd5798fba7765cfffcd27ac046f99063ef2382338dbee7686043eca21e479b682c3f909f93d2b964a7e - languageName: node - linkType: hard - "slash@npm:^3.0.0": version: 3.0.0 resolution: "slash@npm:3.0.0" @@ -12115,15 +11721,6 @@ __metadata: languageName: node linkType: hard -"source-map-support@npm:^0.4.15": - version: 0.4.18 - resolution: "source-map-support@npm:0.4.18" - dependencies: - source-map: "npm:^0.5.6" - checksum: a2d71e33f312cd056773b723a04b85fdb49df23b4e18a6b798999301e1af28b0bfab0b947a06cdb88bf1ffd8a6a6720b3ad1596a4cfae6e1c5911283d2e3285a - languageName: node - linkType: hard - "source-map-support@npm:^0.5.6": version: 0.5.19 resolution: "source-map-support@npm:0.5.19" @@ -12141,7 +11738,7 @@ __metadata: languageName: node linkType: hard -"source-map@npm:^0.5.0, source-map@npm:^0.5.6, source-map@npm:^0.5.7": +"source-map@npm:^0.5.0": version: 0.5.7 resolution: "source-map@npm:0.5.7" checksum: fd1c3c795c360e43fed3f7e80ff227c2156dbe3c69d20a9bf9c4b299a1cbe412cb6f9561fc6f636496f1bf44a28a06edcc0fb4a16de17db903481a063683f45a @@ -12635,13 +12232,6 @@ __metadata: languageName: node linkType: hard -"supports-color@npm:^2.0.0": - version: 2.0.0 - resolution: "supports-color@npm:2.0.0" - checksum: f8bfce9d3a1058fac863f974becb7e819c71cd6d27edc738fcc31c638aed2852fa6f334673b2154b3d63529ce01fd1ec066ef4981c3bbce28046324939e011e6 - languageName: node - linkType: hard - "supports-color@npm:^5.3.0": version: 5.5.0 resolution: "supports-color@npm:5.5.0" @@ -12888,13 +12478,6 @@ __metadata: languageName: node linkType: hard -"to-fast-properties@npm:^1.0.3": - version: 1.0.3 - resolution: "to-fast-properties@npm:1.0.3" - checksum: 99b3da7d55577fb8a6d176297dfa3e6e6a815cbc386cd0d5bb48ff42ea3829c920c0e502dc3d14183ea553befb7304784c83d6d1a20a889a68f5731cdd1e3d52 - languageName: node - linkType: hard - "to-fast-properties@npm:^2.0.0": version: 2.0.0 resolution: "to-fast-properties@npm:2.0.0" @@ -12962,13 +12545,6 @@ __metadata: languageName: node linkType: hard -"trim-right@npm:^1.0.1": - version: 1.0.1 - resolution: "trim-right@npm:1.0.1" - checksum: 478b7d2d54ecfc244898fb38555319100216f1615b7798d7c49ce83719d814c1c041281b5d24abce79e832eb4605c899844bf5146417eafa0014365c07b2cabd - languageName: node - linkType: hard - "ts-invariant@npm:^0.4.0": version: 0.4.4 resolution: "ts-invariant@npm:0.4.4"