From 9584fcb2906a1794f4bb8340ec6dca6e11610e25 Mon Sep 17 00:00:00 2001 From: Raul de Melo Date: Mon, 11 Dec 2023 09:42:51 +0000 Subject: [PATCH 1/3] update bob-the-bundler to latest version --- package.json | 2 +- yarn.lock | 651 ++++++++------------------------------------------- 2 files changed, 100 insertions(+), 553 deletions(-) diff --git a/package.json b/package.json index eabb0f7a0a..dc82a5a848 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "babel-plugin-parameter-decorator": "1.0.16", "babel-plugin-transform-typescript-metadata": "0.3.2", "babel-jest": "29.7.0", - "bob-the-bundler": "1.7.3", + "bob-the-bundler": "7.0.1", "chalk": "4.1.2", "dataloader": "2.2.2", "eslint": "8.55.0", diff --git a/yarn.lock b/yarn.lock index 6453ab3e7d..0f1b1dc6cb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1575,11 +1575,6 @@ lru-cache "^6.0.0" tslib "^2.5.0" -"@esbuild/linux-loong64@0.14.54": - version "0.14.54" - resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.14.54.tgz#de2a4be678bd4d0d1ffbb86e6de779cde5999028" - integrity sha512-bZBrLAIX1kpWelV0XemxBZllyRmM6vgFQQG2GdNb+r3Fkp0FOh1NJSvekXDs7jq70k4euu1cryLMfU+mTXlEpw== - "@eslint-community/eslint-utils@^4.2.0", "@eslint-community/eslint-utils@^4.4.0": version "4.4.0" resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz#a23514e8fb9af1269d5f7788aa556798d61c6b59" @@ -2545,33 +2540,6 @@ resolved "https://registry.yarnpkg.com/@repeaterjs/repeater/-/repeater-3.0.4.tgz#a04d63f4d1bf5540a41b01a921c9a7fddc3bd1ca" integrity sha512-AW8PKd6iX3vAZ0vA43nOUOnbq/X5ihgU+mSXXqunMkeQADGiqw/PY0JNeYtD5sr0PAy51YPgAPbDoeapv9r8WA== -"@rollup/plugin-json@4.1.0": - version "4.1.0" - resolved "https://registry.yarnpkg.com/@rollup/plugin-json/-/plugin-json-4.1.0.tgz#54e09867ae6963c593844d8bd7a9c718294496f3" - integrity sha512-yfLbTdNS6amI/2OpmbiBoW12vngr5NW2jCJVZSBEz+H5KfUJZ2M7sDjk0U6GOOdCWFVScShte29o9NezJ53TPw== - dependencies: - "@rollup/pluginutils" "^3.0.8" - -"@rollup/plugin-node-resolve@7.1.1": - version "7.1.1" - resolved "https://registry.yarnpkg.com/@rollup/plugin-node-resolve/-/plugin-node-resolve-7.1.1.tgz#8c6e59c4b28baf9d223028d0e450e06a485bb2b7" - integrity sha512-14ddhD7TnemeHE97a4rLOhobfYvUVcaYuqTnL8Ti7Jxi9V9Jr5LY7Gko4HZ5k4h4vqQM0gBQt6tsp9xXW94WPA== - dependencies: - "@rollup/pluginutils" "^3.0.6" - "@types/resolve" "0.0.8" - builtin-modules "^3.1.0" - is-module "^1.0.0" - resolve "^1.14.2" - -"@rollup/pluginutils@^3.0.6", "@rollup/pluginutils@^3.0.8": - version "3.1.0" - resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-3.1.0.tgz#706b4524ee6dc8b103b3c995533e5ad680c02b9b" - integrity sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg== - dependencies: - "@types/estree" "0.0.39" - estree-walker "^1.0.1" - picomatch "^2.2.2" - "@sinclair/typebox@^0.27.8": version "0.27.8" resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.27.8.tgz#6667fac16c436b5434a387a34dedb013198f6e6e" @@ -2822,11 +2790,6 @@ resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.2.tgz#ff02bc3dc8317cd668dfec247b750ba1f1d62453" integrity sha512-VeiPZ9MMwXjO32/Xu7+OwflfmeoRwkE/qzndw42gGtgJwZopBnzy2gD//NN1+go1mADzkDcqf/KnFRSjTJ8xJA== -"@types/estree@0.0.39": - version "0.0.39" - resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caaa7422644389509f" - integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw== - "@types/express-serve-static-core@4.17.31": version "4.17.31" resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-4.17.31.tgz#a1139efeab4e7323834bb0226e62ac019f474b2f" @@ -3002,11 +2965,6 @@ resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.2.tgz#9b0e3e8533fe5024ad32d6637eb9589988b6fdca" integrity sha512-lqa4UEhhv/2sjjIQgjX8B+RBjj47eo0mzGasklVJ78UKGQY1r0VpB9XHDaZZO9qzEFDdy4MrXLuEaSmPrPSe/A== -"@types/parse-json@^4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" - integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== - "@types/prop-types@*": version "15.7.8" resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.8.tgz#805eae6e8f41bd19e88917d2ea200dc992f405d3" @@ -3038,13 +2996,6 @@ "@types/scheduler" "*" csstype "^3.0.2" -"@types/resolve@0.0.8": - version "0.0.8" - resolved "https://registry.yarnpkg.com/@types/resolve/-/resolve-0.0.8.tgz#f26074d238e02659e323ce1a13d041eee280e194" - integrity sha512-auApPaJf3NPfe18hSoJkp8EbZzer2ISk7o8mCC3M9he/a04+gbMF97NkpD2S8riMGvm4BMRI59/SZQSaLTKpsQ== - dependencies: - "@types/node" "*" - "@types/responselike@^1.0.0": version "1.0.1" resolved "https://registry.yarnpkg.com/@types/responselike/-/responselike-1.0.1.tgz#1dd57e54509b3b95c7958e52709567077019d65d" @@ -3201,11 +3152,6 @@ resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.2.0.tgz#756641adb587851b5ccb3e095daf27ae581c8406" integrity sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ== -"@vercel/ncc@0.31.1": - version "0.31.1" - resolved "https://registry.yarnpkg.com/@vercel/ncc/-/ncc-0.31.1.tgz#9346c7e59326f5eeac75c0286e47df94c2d6d8f7" - integrity sha512-g0FAxwdViI6UzsiVz5HssIHqjcPa1EHL6h+2dcJD893SoCJaGdqqgUF09xnMW6goWnnhbLvgiKlgJWrJa+7qYA== - "@whatwg-node/events@0.0.2": version "0.0.2" resolved "https://registry.yarnpkg.com/@whatwg-node/events/-/events-0.0.2.tgz#7b7107268d2982fc7b7aff5ee6803c64018f84dd" @@ -3907,32 +3853,22 @@ blob@0.0.5: resolved "https://registry.yarnpkg.com/blob/-/blob-0.0.5.tgz#d680eeef25f8cd91ad533f5b01eed48e64caf683" integrity sha512-gaqbzQPqOoamawKg0LGVd7SzLgXS+JH61oWprSLH+P+abTczqJbhTR8CmJ2u9/bUYNmHTGJx/UEmn6doAvvuig== -bob-the-bundler@1.7.3: - version "1.7.3" - resolved "https://registry.yarnpkg.com/bob-the-bundler/-/bob-the-bundler-1.7.3.tgz#d89a341b82747a726c88a9c6afd6e0ebf8cd9fc3" - integrity sha512-cuuizaM1KpJGC5L+3omt51ZYSTtEdjZF+/fO0ATn3FPDWU8j8xecqQCz/NlyIl5ef457eNYwadt+IQkYzmos0g== - dependencies: - "@rollup/plugin-json" "4.1.0" - "@rollup/plugin-node-resolve" "7.1.1" - "@vercel/ncc" "0.31.1" - builtins "4.0.0" - consola "2.11.3" - cosmiconfig "6.0.0" - cross-spawn "7.0.1" - dependency-graph "0.11.0" - fs-extra "9.0.0" - globby "11.0.0" - lodash.get "4.4.2" - minimatch "3.0.4" - mkdirp "1.0.4" - p-limit "2.2.2" - param-case "3.0.4" - rollup "2.3.2" - rollup-plugin-generate-package-json "3.2.0" - rollup-plugin-typescript2 "0.27.0" - tslib "^1.11.1" - tsup "^5.11.6" - yargs "15.3.1" +bob-the-bundler@7.0.1: + version "7.0.1" + resolved "https://registry.yarnpkg.com/bob-the-bundler/-/bob-the-bundler-7.0.1.tgz#ef86131674de60f2616801d55a507594b4cbd88f" + integrity sha512-TFpj2AcCzTNVyMZ5ixHqJndJ9KyIUGrgTMMciz88X0HCRDujoUQL+D+61shAY+K20bM4q5Yn/NunbdiPC9drjA== + dependencies: + consola "^3.0.0" + execa "7.1.1" + fs-extra "^11.1.0" + globby "^13.1.3" + js-yaml "^4.1.0" + lodash.get "^4.4.2" + p-limit "^4.0.0" + resolve.exports "^2.0.0" + tslib "^2.0.0" + yargs "^17.6.2" + zod "^3.20.2" body-parser@1.20.1, body-parser@^1.19.0: version "1.20.1" @@ -4021,25 +3957,6 @@ buffer-from@^1.0.0: resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== -builtin-modules@^3.1.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-3.3.0.tgz#cae62812b89801e9656336e46223e030386be7b6" - integrity sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw== - -builtins@4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/builtins/-/builtins-4.0.0.tgz#a8345420de82068fdc4d6559d0456403a8fb1905" - integrity sha512-qC0E2Dxgou1IHhvJSLwGDSTvokbRovU5zZFuDY6oY8Y2lF3nGt5Ad8YZK7GMtqzY84Wu7pXTPeHQeHcXSXsRhw== - dependencies: - semver "^7.0.0" - -bundle-require@^3.0.2: - version "3.1.2" - resolved "https://registry.yarnpkg.com/bundle-require/-/bundle-require-3.1.2.tgz#1374a7bdcb8b330a7ccc862ccbf7c137cc43ad27" - integrity sha512-Of6l6JBAxiyQ5axFxUM6dYeP/W7X2Sozeo/4EYB9sJhL+dqL7TKjg+shwxp6jlu/6ZSERfsYtIpSJ1/x3XkAEA== - dependencies: - load-tsconfig "^0.2.0" - busboy@1.6.0, busboy@^1.6.0: version "1.6.0" resolved "https://registry.yarnpkg.com/busboy/-/busboy-1.6.0.tgz#966ea36a9502e43cdb9146962523b92f531f6893" @@ -4052,11 +3969,6 @@ bytes@3.1.2: resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.2.tgz#8b0beeb98605adf1b128fa4386403c009e0221a5" integrity sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg== -cac@^6.7.12: - version "6.7.14" - resolved "https://registry.yarnpkg.com/cac/-/cac-6.7.14.tgz#804e1e6f506ee363cb0e3ccbb09cad5dd9870959" - integrity sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ== - cacheable-lookup@^5.0.3: version "5.0.4" resolved "https://registry.yarnpkg.com/cacheable-lookup/-/cacheable-lookup-5.0.4.tgz#5a6b865b2c44357be3d5ebc2a467b032719a7005" @@ -4244,7 +4156,7 @@ cheerio@^1.0.0-rc.2: parse5 "^7.0.0" parse5-htmlparser2-tree-adapter "^7.0.0" -chokidar@^3.5.1, chokidar@^3.5.3: +chokidar@^3.5.3: version "3.5.3" resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd" integrity sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw== @@ -4452,11 +4364,6 @@ commander@^8.3.0: resolved "https://registry.yarnpkg.com/commander/-/commander-8.3.0.tgz#4837ea1b2da67b9c616a67afbb0fafee567bca66" integrity sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww== -commondir@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b" - integrity sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg== - component-bind@1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/component-bind/-/component-bind-1.0.0.tgz#00c608ab7dcd93897c0009651b1d3a8e1e73bbd1" @@ -4499,10 +4406,10 @@ configstore@^3.0.0: write-file-atomic "^2.0.0" xdg-basedir "^3.0.0" -consola@2.11.3: - version "2.11.3" - resolved "https://registry.yarnpkg.com/consola/-/consola-2.11.3.tgz#f7315836224c143ac5094b47fd4c816c2cd1560e" - integrity sha512-aoW0YIIAmeftGR8GSpw6CGQluNdkWMWh3yEFjH/hmynTYnMtibXszii3lxCXmk8YxJtI3FAK5aTiquA5VH68Gw== +consola@^3.0.0: + version "3.2.3" + resolved "https://registry.yarnpkg.com/consola/-/consola-3.2.3.tgz#0741857aa88cfa0d6fd53f1cff0375136e98502f" + integrity sha512-I5qxpzLv+sJhTVEoLYNcTW+bThDCPsit0vLNKShZx6rLtpilNpmmeTPaeqJb9ZE9dV3DGaeby6Vuhrw38WjeyQ== content-disposition@0.5.4: version "0.5.4" @@ -4560,17 +4467,6 @@ cose-base@^2.2.0: dependencies: layout-base "^2.0.0" -cosmiconfig@6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-6.0.0.tgz#da4fee853c52f6b1e6935f41c1a2fc50bd4a9982" - integrity sha512-xb3ZL6+L8b9JLLCx3ZdoZy4+2ECphCMo2PwqgP1tlfVq6M6YReyzBJtvWWtbDSpNr9hn96pkCiZqUcFEc+54Qg== - dependencies: - "@types/parse-json" "^4.0.0" - import-fresh "^3.1.0" - parse-json "^5.0.0" - path-type "^4.0.0" - yaml "^1.7.2" - create-error-class@^3.0.0: version "3.0.2" resolved "https://registry.yarnpkg.com/create-error-class/-/create-error-class-3.0.2.tgz#06be7abef947a3f14a30fd610671d401bca8b7b6" @@ -4610,15 +4506,6 @@ cross-inspect@1.0.0: dependencies: tslib "^2.4.0" -cross-spawn@7.0.1: - version "7.0.1" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.1.tgz#0ab56286e0f7c24e153d04cc2aa027e43a9a5d14" - integrity sha512-u7v4o84SwFpD32Z8IIcPZ6z1/ie24O6RU3RbtL5Y316l3KuHVPx9ItBgWQ6VlfAFnRnTtMUrsQ9MUUTuEZjogg== - dependencies: - path-key "^3.1.0" - shebang-command "^2.0.0" - which "^2.0.1" - cross-spawn@^5.0.1, cross-spawn@^5.1.0: version "5.1.0" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449" @@ -5094,7 +4981,7 @@ debug@2.6.9, debug@^2.2.0: dependencies: ms "2.0.0" -debug@4.3.4, debug@^4.0.0, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@^4.3.4: +debug@4.3.4, debug@^4.0.0, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1, debug@^4.3.2, debug@^4.3.4: version "4.3.4" resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== @@ -5226,11 +5113,6 @@ depd@~1.1.2: resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" integrity sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ== -dependency-graph@0.11.0: - version "0.11.0" - resolved "https://registry.yarnpkg.com/dependency-graph/-/dependency-graph-0.11.0.tgz#ac0ce7ed68a54da22165a85e97a01d53f5eb2e27" - integrity sha512-JeMq7fEshyepOWDfcfHK06N3MhyPhz++vtqWhMT5O9A3K42rdsEDpfdVqjaqaAhsw6a+ZqeDvQVtD0hFHQWrzg== - dequal@^2.0.0: version "2.0.3" resolved "https://registry.yarnpkg.com/dequal/-/dequal-2.0.3.tgz#2644214f1997d39ed0ee0ece72335490a7ac67be" @@ -5241,11 +5123,6 @@ destroy@1.2.0: resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.2.0.tgz#4803735509ad8be552934c67df614f94e66fa015" integrity sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg== -detect-indent@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-5.0.0.tgz#3871cc0a6a002e8c3e5b3cf7f336264675f06b9d" - integrity sha512-rlpvsxUtM0PQvy9iZe640/IWwWYyBsTApREbA1pHOpmOUIl9MkP/U4z7vTtg4Oaojvqhxt7sdufnT0EzGaR31g== - detect-indent@^6.0.0: version "6.1.0" resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-6.1.0.tgz#592485ebbbf6b3b1ab2be175c8393d04ca0d57e6" @@ -5337,14 +5214,6 @@ domutils@^3.0.1: domelementtype "^2.3.0" domhandler "^5.0.3" -dot-case@^3.0.4: - version "3.0.4" - resolved "https://registry.yarnpkg.com/dot-case/-/dot-case-3.0.4.tgz#9b2b670d00a431667a8a75ba29cd1b98809ce751" - integrity sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w== - dependencies: - no-case "^3.0.4" - tslib "^2.0.3" - dot-prop@^4.2.1: version "4.2.1" resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-4.2.1.tgz#45884194a71fc2cda71cbb4bceb3a4dd2f433ba4" @@ -5544,133 +5413,6 @@ es-to-primitive@^1.2.1: is-date-object "^1.0.1" is-symbol "^1.0.2" -esbuild-android-64@0.14.54: - version "0.14.54" - resolved "https://registry.yarnpkg.com/esbuild-android-64/-/esbuild-android-64-0.14.54.tgz#505f41832884313bbaffb27704b8bcaa2d8616be" - integrity sha512-Tz2++Aqqz0rJ7kYBfz+iqyE3QMycD4vk7LBRyWaAVFgFtQ/O8EJOnVmTOiDWYZ/uYzB4kvP+bqejYdVKzE5lAQ== - -esbuild-android-arm64@0.14.54: - version "0.14.54" - resolved "https://registry.yarnpkg.com/esbuild-android-arm64/-/esbuild-android-arm64-0.14.54.tgz#8ce69d7caba49646e009968fe5754a21a9871771" - integrity sha512-F9E+/QDi9sSkLaClO8SOV6etqPd+5DgJje1F9lOWoNncDdOBL2YF59IhsWATSt0TLZbYCf3pNlTHvVV5VfHdvg== - -esbuild-darwin-64@0.14.54: - version "0.14.54" - resolved "https://registry.yarnpkg.com/esbuild-darwin-64/-/esbuild-darwin-64-0.14.54.tgz#24ba67b9a8cb890a3c08d9018f887cc221cdda25" - integrity sha512-jtdKWV3nBviOd5v4hOpkVmpxsBy90CGzebpbO9beiqUYVMBtSc0AL9zGftFuBon7PNDcdvNCEuQqw2x0wP9yug== - -esbuild-darwin-arm64@0.14.54: - version "0.14.54" - resolved "https://registry.yarnpkg.com/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.14.54.tgz#3f7cdb78888ee05e488d250a2bdaab1fa671bf73" - integrity sha512-OPafJHD2oUPyvJMrsCvDGkRrVCar5aVyHfWGQzY1dWnzErjrDuSETxwA2HSsyg2jORLY8yBfzc1MIpUkXlctmw== - -esbuild-freebsd-64@0.14.54: - version "0.14.54" - resolved "https://registry.yarnpkg.com/esbuild-freebsd-64/-/esbuild-freebsd-64-0.14.54.tgz#09250f997a56ed4650f3e1979c905ffc40bbe94d" - integrity sha512-OKwd4gmwHqOTp4mOGZKe/XUlbDJ4Q9TjX0hMPIDBUWWu/kwhBAudJdBoxnjNf9ocIB6GN6CPowYpR/hRCbSYAg== - -esbuild-freebsd-arm64@0.14.54: - version "0.14.54" - resolved "https://registry.yarnpkg.com/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.14.54.tgz#bafb46ed04fc5f97cbdb016d86947a79579f8e48" - integrity sha512-sFwueGr7OvIFiQT6WeG0jRLjkjdqWWSrfbVwZp8iMP+8UHEHRBvlaxL6IuKNDwAozNUmbb8nIMXa7oAOARGs1Q== - -esbuild-linux-32@0.14.54: - version "0.14.54" - resolved "https://registry.yarnpkg.com/esbuild-linux-32/-/esbuild-linux-32-0.14.54.tgz#e2a8c4a8efdc355405325033fcebeb941f781fe5" - integrity sha512-1ZuY+JDI//WmklKlBgJnglpUL1owm2OX+8E1syCD6UAxcMM/XoWd76OHSjl/0MR0LisSAXDqgjT3uJqT67O3qw== - -esbuild-linux-64@0.14.54: - version "0.14.54" - resolved "https://registry.yarnpkg.com/esbuild-linux-64/-/esbuild-linux-64-0.14.54.tgz#de5fdba1c95666cf72369f52b40b03be71226652" - integrity sha512-EgjAgH5HwTbtNsTqQOXWApBaPVdDn7XcK+/PtJwZLT1UmpLoznPd8c5CxqsH2dQK3j05YsB3L17T8vE7cp4cCg== - -esbuild-linux-arm64@0.14.54: - version "0.14.54" - resolved "https://registry.yarnpkg.com/esbuild-linux-arm64/-/esbuild-linux-arm64-0.14.54.tgz#dae4cd42ae9787468b6a5c158da4c84e83b0ce8b" - integrity sha512-WL71L+0Rwv+Gv/HTmxTEmpv0UgmxYa5ftZILVi2QmZBgX3q7+tDeOQNqGtdXSdsL8TQi1vIaVFHUPDe0O0kdig== - -esbuild-linux-arm@0.14.54: - version "0.14.54" - resolved "https://registry.yarnpkg.com/esbuild-linux-arm/-/esbuild-linux-arm-0.14.54.tgz#a2c1dff6d0f21dbe8fc6998a122675533ddfcd59" - integrity sha512-qqz/SjemQhVMTnvcLGoLOdFpCYbz4v4fUo+TfsWG+1aOu70/80RV6bgNpR2JCrppV2moUQkww+6bWxXRL9YMGw== - -esbuild-linux-mips64le@0.14.54: - version "0.14.54" - resolved "https://registry.yarnpkg.com/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.14.54.tgz#d9918e9e4cb972f8d6dae8e8655bf9ee131eda34" - integrity sha512-qTHGQB8D1etd0u1+sB6p0ikLKRVuCWhYQhAHRPkO+OF3I/iSlTKNNS0Lh2Oc0g0UFGguaFZZiPJdJey3AGpAlw== - -esbuild-linux-ppc64le@0.14.54: - version "0.14.54" - resolved "https://registry.yarnpkg.com/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.14.54.tgz#3f9a0f6d41073fb1a640680845c7de52995f137e" - integrity sha512-j3OMlzHiqwZBDPRCDFKcx595XVfOfOnv68Ax3U4UKZ3MTYQB5Yz3X1mn5GnodEVYzhtZgxEBidLWeIs8FDSfrQ== - -esbuild-linux-riscv64@0.14.54: - version "0.14.54" - resolved "https://registry.yarnpkg.com/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.14.54.tgz#618853c028178a61837bc799d2013d4695e451c8" - integrity sha512-y7Vt7Wl9dkOGZjxQZnDAqqn+XOqFD7IMWiewY5SPlNlzMX39ocPQlOaoxvT4FllA5viyV26/QzHtvTjVNOxHZg== - -esbuild-linux-s390x@0.14.54: - version "0.14.54" - resolved "https://registry.yarnpkg.com/esbuild-linux-s390x/-/esbuild-linux-s390x-0.14.54.tgz#d1885c4c5a76bbb5a0fe182e2c8c60eb9e29f2a6" - integrity sha512-zaHpW9dziAsi7lRcyV4r8dhfG1qBidQWUXweUjnw+lliChJqQr+6XD71K41oEIC3Mx1KStovEmlzm+MkGZHnHA== - -esbuild-netbsd-64@0.14.54: - version "0.14.54" - resolved "https://registry.yarnpkg.com/esbuild-netbsd-64/-/esbuild-netbsd-64-0.14.54.tgz#69ae917a2ff241b7df1dbf22baf04bd330349e81" - integrity sha512-PR01lmIMnfJTgeU9VJTDY9ZerDWVFIUzAtJuDHwwceppW7cQWjBBqP48NdeRtoP04/AtO9a7w3viI+PIDr6d+w== - -esbuild-openbsd-64@0.14.54: - version "0.14.54" - resolved "https://registry.yarnpkg.com/esbuild-openbsd-64/-/esbuild-openbsd-64-0.14.54.tgz#db4c8495287a350a6790de22edea247a57c5d47b" - integrity sha512-Qyk7ikT2o7Wu76UsvvDS5q0amJvmRzDyVlL0qf5VLsLchjCa1+IAvd8kTBgUxD7VBUUVgItLkk609ZHUc1oCaw== - -esbuild-sunos-64@0.14.54: - version "0.14.54" - resolved "https://registry.yarnpkg.com/esbuild-sunos-64/-/esbuild-sunos-64-0.14.54.tgz#54287ee3da73d3844b721c21bc80c1dc7e1bf7da" - integrity sha512-28GZ24KmMSeKi5ueWzMcco6EBHStL3B6ubM7M51RmPwXQGLe0teBGJocmWhgwccA1GeFXqxzILIxXpHbl9Q/Kw== - -esbuild-windows-32@0.14.54: - version "0.14.54" - resolved "https://registry.yarnpkg.com/esbuild-windows-32/-/esbuild-windows-32-0.14.54.tgz#f8aaf9a5667630b40f0fb3aa37bf01bbd340ce31" - integrity sha512-T+rdZW19ql9MjS7pixmZYVObd9G7kcaZo+sETqNH4RCkuuYSuv9AGHUVnPoP9hhuE1WM1ZimHz1CIBHBboLU7w== - -esbuild-windows-64@0.14.54: - version "0.14.54" - resolved "https://registry.yarnpkg.com/esbuild-windows-64/-/esbuild-windows-64-0.14.54.tgz#bf54b51bd3e9b0f1886ffdb224a4176031ea0af4" - integrity sha512-AoHTRBUuYwXtZhjXZbA1pGfTo8cJo3vZIcWGLiUcTNgHpJJMC1rVA44ZereBHMJtotyN71S8Qw0npiCIkW96cQ== - -esbuild-windows-arm64@0.14.54: - version "0.14.54" - resolved "https://registry.yarnpkg.com/esbuild-windows-arm64/-/esbuild-windows-arm64-0.14.54.tgz#937d15675a15e4b0e4fafdbaa3a01a776a2be982" - integrity sha512-M0kuUvXhot1zOISQGXwWn6YtS+Y/1RT9WrVIOywZnJHo3jCDyewAc79aKNQWFCQm+xNHVTq9h8dZKvygoXQQRg== - -esbuild@^0.14.25: - version "0.14.54" - resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.14.54.tgz#8b44dcf2b0f1a66fc22459943dccf477535e9aa2" - integrity sha512-Cy9llcy8DvET5uznocPyqL3BFRrFXSVqbgpMJ9Wz8oVjZlh/zUSNbPRbov0VX7VxN2JH1Oa0uNxZ7eLRb62pJA== - optionalDependencies: - "@esbuild/linux-loong64" "0.14.54" - esbuild-android-64 "0.14.54" - esbuild-android-arm64 "0.14.54" - esbuild-darwin-64 "0.14.54" - esbuild-darwin-arm64 "0.14.54" - esbuild-freebsd-64 "0.14.54" - esbuild-freebsd-arm64 "0.14.54" - esbuild-linux-32 "0.14.54" - esbuild-linux-64 "0.14.54" - esbuild-linux-arm "0.14.54" - esbuild-linux-arm64 "0.14.54" - esbuild-linux-mips64le "0.14.54" - esbuild-linux-ppc64le "0.14.54" - esbuild-linux-riscv64 "0.14.54" - esbuild-linux-s390x "0.14.54" - esbuild-netbsd-64 "0.14.54" - esbuild-openbsd-64 "0.14.54" - esbuild-sunos-64 "0.14.54" - esbuild-windows-32 "0.14.54" - esbuild-windows-64 "0.14.54" - esbuild-windows-arm64 "0.14.54" - escalade@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" @@ -5892,11 +5634,6 @@ estree-util-visit@^1.0.0: "@types/estree-jsx" "^1.0.0" "@types/unist" "^2.0.0" -estree-walker@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-1.0.1.tgz#31bc5d612c96b704106b477e6dd5d8aa138cb700" - integrity sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg== - estree-walker@^3.0.0: version "3.0.3" resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-3.0.3.tgz#67c3e549ec402a487b4fc193d1953a524752340d" @@ -5919,6 +5656,21 @@ eventemitter3@^5.0.1: resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-5.0.1.tgz#53f5ffd0a492ac800721bb42c66b841de96423c4" integrity sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA== +execa@7.1.1: + version "7.1.1" + resolved "https://registry.yarnpkg.com/execa/-/execa-7.1.1.tgz#3eb3c83d239488e7b409d48e8813b76bb55c9c43" + integrity sha512-wH0eMf/UXckdUYnO21+HDztteVv05rq2GXksxT4fCGeHkBhw1DROXh40wcjMcRqDOWE7iPJ4n3M7e2+YFP+76Q== + dependencies: + cross-spawn "^7.0.3" + get-stream "^6.0.1" + human-signals "^4.3.0" + is-stream "^3.0.0" + merge-stream "^2.0.0" + npm-run-path "^5.1.0" + onetime "^6.0.0" + signal-exit "^3.0.7" + strip-final-newline "^3.0.0" + execa@8.0.1: version "8.0.1" resolved "https://registry.yarnpkg.com/execa/-/execa-8.0.1.tgz#51f6a5943b580f963c3ca9c6321796db8cc39b8c" @@ -6074,7 +5826,7 @@ fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== -fast-glob@^3.1.1, fast-glob@^3.2.12, fast-glob@^3.2.9, fast-glob@^3.3.2: +fast-glob@^3.2.12, fast-glob@^3.2.9, fast-glob@^3.3.0, fast-glob@^3.3.2: version "3.3.2" resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.3.2.tgz#a904501e57cfdd2ffcded45e99a54fef55e46129" integrity sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow== @@ -6188,15 +5940,6 @@ finalhandler@1.2.0: statuses "2.0.1" unpipe "~1.0.0" -find-cache-dir@^3.3.1: - version "3.3.2" - resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-3.3.2.tgz#b30c5b6eff0730731aea9bbd9dbecbd80256d64b" - integrity sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig== - dependencies: - commondir "^1.0.1" - make-dir "^3.0.2" - pkg-dir "^4.1.0" - find-up@^4.0.0, find-up@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19" @@ -6293,7 +6036,25 @@ fresh@0.5.2: resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7" integrity sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q== -fs-extra@8.1.0, fs-extra@^8.1.0: +fs-extra@^11.1.0: + version "11.2.0" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-11.2.0.tgz#e70e17dfad64232287d01929399e0ea7c86b0e5b" + integrity sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw== + dependencies: + graceful-fs "^4.2.0" + jsonfile "^6.0.1" + universalify "^2.0.0" + +fs-extra@^7.0.1: + version "7.0.1" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-7.0.1.tgz#4f189c44aa123b895f722804f55ea23eadc348e9" + integrity sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw== + dependencies: + graceful-fs "^4.1.2" + jsonfile "^4.0.0" + universalify "^0.1.0" + +fs-extra@^8.1.0: version "8.1.0" resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-8.1.0.tgz#49d43c45a88cd9677668cb7be1b46efdb8d2e1c0" integrity sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g== @@ -6302,7 +6063,7 @@ fs-extra@8.1.0, fs-extra@^8.1.0: jsonfile "^4.0.0" universalify "^0.1.0" -fs-extra@9.0.0, fs-extra@^9.0.0: +fs-extra@^9.0.0: version "9.0.0" resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.0.0.tgz#b6afc31036e247b2466dc99c29ae797d5d4580a3" integrity sha512-pmEYSk3vYsG/bF651KPUXZ+hvjpgWYw/Gc7W9NFUe3ZVLczKKWIij3IKpOrQcdw4TILtibFslZ0UmR8Vvzig4g== @@ -6312,15 +6073,6 @@ fs-extra@9.0.0, fs-extra@^9.0.0: jsonfile "^6.0.1" universalify "^1.0.0" -fs-extra@^7.0.1: - version "7.0.1" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-7.0.1.tgz#4f189c44aa123b895f722804f55ea23eadc348e9" - integrity sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw== - dependencies: - graceful-fs "^4.1.2" - jsonfile "^4.0.0" - universalify "^0.1.0" - fs.realpath@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" @@ -6331,11 +6083,6 @@ fsevents@^2.3.2, fsevents@~2.3.2: resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6" integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw== -fsevents@~2.1.2: - version "2.1.3" - resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.1.3.tgz#fb738703ae8d2f9fe900c33836ddebee8b97f23e" - integrity sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ== - function-bind@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" @@ -6410,7 +6157,7 @@ get-stream@^5.1.0: dependencies: pump "^3.0.0" -get-stream@^6.0.0: +get-stream@^6.0.0, get-stream@^6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7" integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg== @@ -6497,18 +6244,6 @@ globalthis@^1.0.3: dependencies: define-properties "^1.1.3" -globby@11.0.0: - version "11.0.0" - resolved "https://registry.yarnpkg.com/globby/-/globby-11.0.0.tgz#56fd0e9f0d4f8fb0c456f1ab0dee96e1380bc154" - integrity sha512-iuehFnR3xu5wBBtm4xi0dMe92Ob87ufyu/dHwpDYfbcpYpIbrO5OnS8M1vWvrBhSGEJ3/Ecj7gnX76P8YxpPEg== - dependencies: - array-union "^2.1.0" - dir-glob "^3.0.1" - fast-glob "^3.1.1" - ignore "^5.1.4" - merge2 "^1.3.0" - slash "^3.0.0" - globby@14.0.0: version "14.0.0" resolved "https://registry.yarnpkg.com/globby/-/globby-14.0.0.tgz#ea9c062a3614e33f516804e778590fcf055256b9" @@ -6521,7 +6256,7 @@ globby@14.0.0: slash "^5.1.0" unicorn-magic "^0.1.0" -globby@^11.0.0, globby@^11.0.3, globby@^11.1.0: +globby@^11.0.0, globby@^11.1.0: version "11.1.0" resolved "https://registry.yarnpkg.com/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b" integrity sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g== @@ -6533,6 +6268,17 @@ globby@^11.0.0, globby@^11.0.3, globby@^11.1.0: merge2 "^1.4.1" slash "^3.0.0" +globby@^13.1.3: + version "13.2.2" + resolved "https://registry.yarnpkg.com/globby/-/globby-13.2.2.tgz#63b90b1bf68619c2135475cbd4e71e66aa090592" + integrity sha512-Y1zNGV+pzQdh7H39l9zgB4PJqjRNqydvdYCDG4HFXM4XuvSaQQlEc91IU1yALL8gUTDomgBAfz3XJdmUS+oo0w== + dependencies: + dir-glob "^3.0.1" + fast-glob "^3.3.0" + ignore "^5.2.4" + merge2 "^1.4.1" + slash "^4.0.0" + gopd@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.0.1.tgz#29ff76de69dac7489b7c0918a5788e56477c332c" @@ -6574,7 +6320,7 @@ got@^6.7.1: unzip-response "^2.0.1" url-parse-lax "^1.0.0" -graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.5, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.11, graceful-fs@^4.2.9: +graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.5, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.11, graceful-fs@^4.2.9: version "4.2.11" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== @@ -7022,6 +6768,11 @@ human-signals@^2.1.0: resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== +human-signals@^4.3.0: + version "4.3.1" + resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-4.3.1.tgz#ab7f811e851fca97ffbd2c1fe9a958964de321b2" + integrity sha512-nZXjEF2nbo7lIw3mgYjItAfgQXog3OjJogSbKa2CQIIvSGWcKgeJnQlNXip6NglNzYH45nSRiEVimMvYL8DDqQ== + human-signals@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-5.0.0.tgz#42665a284f9ae0dade3ba41ebc37eb4b852f3a28" @@ -7053,12 +6804,12 @@ iconv-lite@0.6: dependencies: safer-buffer ">= 2.1.2 < 3.0.0" -ignore@^5.1.4, ignore@^5.2.0, ignore@^5.2.4: +ignore@^5.2.0, ignore@^5.2.4: version "5.2.4" resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.4.tgz#a291c0c6178ff1b960befe47fcdec301674a6324" integrity sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ== -import-fresh@^3.1.0, import-fresh@^3.2.1: +import-fresh@^3.2.1: version "3.3.0" resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b" integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw== @@ -7301,11 +7052,6 @@ is-installed-globally@^0.1.0: global-dirs "^0.1.0" is-path-inside "^1.0.0" -is-module@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-module/-/is-module-1.0.0.tgz#3258fb69f78c14d5b815d664336b4cffb6441591" - integrity sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g== - is-negative-zero@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/is-negative-zero/-/is-negative-zero-2.0.2.tgz#7bf6f03a28003b8b3965de3ac26f664d765f3150" @@ -7350,7 +7096,7 @@ is-path-inside@^3.0.3: resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-3.0.3.tgz#d231362e53a07ff2b0e0ea7fed049161ffd16283" integrity sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ== -is-plain-obj@^1.0.0, is-plain-obj@^1.1.0: +is-plain-obj@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e" integrity sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg== @@ -7920,11 +7666,6 @@ join-component@^1.1.0: resolved "https://registry.yarnpkg.com/join-component/-/join-component-1.1.0.tgz#b8417b750661a392bee2c2537c68b2a9d4977cd5" integrity sha512-bF7vcQxbODoGK1imE2P9GS9aw4zD0Sd+Hni68IMZLj7zRnquH7dXUmMw9hDI5S/Jzt7q+IyTXN0rSg2GI0IKhQ== -joycon@^3.0.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/joycon/-/joycon-3.1.1.tgz#bce8596d6ae808f8b68168f5fc69280996894f03" - integrity sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw== - "js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" @@ -8193,11 +7934,6 @@ load-script@^1.0.0: resolved "https://registry.yarnpkg.com/load-script/-/load-script-1.0.0.tgz#0491939e0bee5643ee494a7e3da3d2bac70c6ca4" integrity sha512-kPEjMFtZvwL9TaZo0uZ2ml+Ye9HUMmPwbYRJ324qF9tqMejwykJ5ggTyvzmrbBeapCAbk98BSbTeovHEEP1uCA== -load-tsconfig@^0.2.0: - version "0.2.5" - resolved "https://registry.yarnpkg.com/load-tsconfig/-/load-tsconfig-0.2.5.tgz#453b8cd8961bfb912dea77eb6c168fe8cca3d3a1" - integrity sha512-IXO6OCs9yg8tMKzfPZ1YmheJbZCiEsnBdcB03l0OcfK9prKnJb96siuHCr5Fl37/yo9DnKU+TLpxzTUspw9shg== - load-yaml-file@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/load-yaml-file/-/load-yaml-file-0.2.0.tgz#af854edaf2bea89346c07549122753c07372f64d" @@ -8241,7 +7977,7 @@ lodash.debounce@^4.0.8: resolved "https://registry.yarnpkg.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af" integrity sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow== -lodash.get@4.4.2: +lodash.get@^4.4.2: version "4.4.2" resolved "https://registry.yarnpkg.com/lodash.get/-/lodash.get-4.4.2.tgz#2d177f652fa31e939b4438d5341499dfa3825e99" integrity sha512-z+Uw/vLuy6gQe8cfaFWD7p0wVv8fJl3mbzXh33RS+0oW2wvUqiRXiQ69gLWSLpgB5/6sU+r6BlQR0MBILadqTQ== @@ -8331,13 +8067,6 @@ loose-envify@^1.1.0, loose-envify@^1.4.0: dependencies: js-tokens "^3.0.0 || ^4.0.0" -lower-case@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/lower-case/-/lower-case-2.0.2.tgz#6fa237c63dbdc4a82ca0fd882e4722dc5e634e28" - integrity sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg== - dependencies: - tslib "^2.0.3" - lowercase-keys@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-1.0.1.tgz#6f9e30b47084d971a7c820ff15a6c5167b74c26f" @@ -8395,21 +8124,6 @@ make-dir@^1.0.0: dependencies: pify "^3.0.0" -make-dir@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-2.1.0.tgz#5f0310e18b8be898cc07009295a30ae41e91e6f5" - integrity sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA== - dependencies: - pify "^4.0.1" - semver "^5.6.0" - -make-dir@^3.0.2: - version "3.1.0" - resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-3.1.0.tgz#415e967046b3a7f1d185277d84aa58203726a13f" - integrity sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw== - dependencies: - semver "^6.0.0" - make-dir@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-4.0.0.tgz#c3c2307a771277cd9638305f915c29ae741b614e" @@ -9510,13 +9224,6 @@ min-indent@^1.0.0: resolved "https://registry.yarnpkg.com/min-indent/-/min-indent-1.0.1.tgz#a63f681673b30571fbe8bc25686ae746eefa9869" integrity sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg== -minimatch@3.0.4: - version "3.0.4" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" - integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA== - dependencies: - brace-expansion "^1.1.7" - minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.2: version "3.1.2" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" @@ -9548,11 +9255,6 @@ mj-context-menu@^0.6.1: resolved "https://registry.yarnpkg.com/mj-context-menu/-/mj-context-menu-0.6.1.tgz#a043c5282bf7e1cf3821de07b13525ca6f85aa69" integrity sha512-7NO5s6n10TIV96d4g2uDpG7ZDpIhMh0QNfGdJw/W47JswFcosz457wqz/b5sAKvl12sxINGFCn80NZHKwxQEXA== -mkdirp@1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" - integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== - moment@^2.22.1: version "2.29.4" resolved "https://registry.yarnpkg.com/moment/-/moment-2.29.4.tgz#3dbe052889fe7c1b2ed966fcb3a77328964ef108" @@ -9715,14 +9417,6 @@ nextra@3.0.0-alpha.10: zod "^3.22.3" zod-validation-error "^1.5.0" -no-case@^3.0.4: - version "3.0.4" - resolved "https://registry.yarnpkg.com/no-case/-/no-case-3.0.4.tgz#d361fd5c9800f558551a8369fc0dcd4662b6124d" - integrity sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg== - dependencies: - lower-case "^2.0.2" - tslib "^2.0.3" - node-abort-controller@^3.0.1: version "3.1.1" resolved "https://registry.yarnpkg.com/node-abort-controller/-/node-abort-controller-3.1.1.tgz#a94377e964a9a37ac3976d848cb5c765833b8548" @@ -9962,7 +9656,7 @@ p-finally@^1.0.0: resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" integrity sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow== -p-limit@2.2.2, p-limit@^2.2.0: +p-limit@^2.2.0: version "2.2.2" resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.2.2.tgz#61279b67721f5287aa1c13a9a7fbbc48c9291b1e" integrity sha512-WGR+xHecKTr7EbUEhyLSh5Dube9JtdiG78ufaeLxTgpudf/20KqyMioIUZJAezlTIi6evxuoUs9YXc11cU+yzQ== @@ -10017,14 +9711,6 @@ package-json@^4.0.0: registry-url "^3.0.3" semver "^5.1.0" -param-case@3.0.4: - version "3.0.4" - resolved "https://registry.yarnpkg.com/param-case/-/param-case-3.0.4.tgz#7d17fe4aa12bde34d4a77d91acfb6219caad01c5" - integrity sha512-RXlj7zCYokReqWpOPH9oYivUzLYZ5vAPIfEmCTNViosC78F8F0H9y7T7gG2M39ymgutxF5gcFEsyZQSph9Bp3A== - dependencies: - dot-case "^3.0.4" - tslib "^2.0.3" - parent-module@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" @@ -10142,7 +9828,7 @@ path-key@^4.0.0: resolved "https://registry.yarnpkg.com/path-key/-/path-key-4.0.0.tgz#295588dc3aee64154f877adb9d780b81c554bf18" integrity sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ== -path-parse@^1.0.6, path-parse@^1.0.7: +path-parse@^1.0.7: version "1.0.7" resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== @@ -10176,7 +9862,7 @@ picocolors@^1.0.0: resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c" integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== -picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.2, picomatch@^2.2.3, picomatch@^2.3.1: +picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.3, picomatch@^2.3.1: version "2.3.1" resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== @@ -10206,7 +9892,7 @@ pirates@^4.0.1, pirates@^4.0.4: resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.6.tgz#3018ae32ecfcff6c29ba2267cbf21166ac1f36b9" integrity sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg== -pkg-dir@^4.1.0, pkg-dir@^4.2.0: +pkg-dir@^4.2.0: version "4.2.0" resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-4.2.0.tgz#f099133df7ede422e81d1d8448270eeb3e4261f3" integrity sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ== @@ -10280,14 +9966,6 @@ postcss-js@^4.0.1: dependencies: camelcase-css "^2.0.1" -postcss-load-config@^3.0.1: - version "3.1.4" - resolved "https://registry.yarnpkg.com/postcss-load-config/-/postcss-load-config-3.1.4.tgz#1ab2571faf84bb078877e1d07905eabe9ebda855" - integrity sha512-6DiM4E7v4coTE4uzA8U//WhtPwyhiim3eyjEMFCnUpzbrkK9wJHgKDT2mR+HbtSrd/NubVaYTOpSpjUl8NQeRg== - dependencies: - lilconfig "^2.0.5" - yaml "^1.10.2" - postcss-load-config@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/postcss-load-config/-/postcss-load-config-4.0.1.tgz#152383f481c2758274404e4962743191d73875bd" @@ -11005,13 +10683,6 @@ resolve.exports@^2.0.0: resolved "https://registry.yarnpkg.com/resolve.exports/-/resolve.exports-2.0.2.tgz#f8c934b8e6a13f539e38b7098e2e36134f01e800" integrity sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg== -resolve@1.15.1: - version "1.15.1" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.15.1.tgz#27bdcdeffeaf2d6244b95bb0f9f4b4653451f3e8" - integrity sha512-84oo6ZTtoTUpjgNEr5SJyzQhzL72gaRodsSfyxC/AXRvwu0Yse9H8eF9IpGo7b8YetZhlI6v7ZQ6bKBFV/6S7w== - dependencies: - path-parse "^1.0.6" - resolve@^1.1.7, resolve@^1.10.0, resolve@^1.14.2, resolve@^1.20.0, resolve@^1.22.2: version "1.22.6" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.6.tgz#dd209739eca3aef739c626fea1b4f3c506195362" @@ -11078,39 +10749,6 @@ robust-predicates@^3.0.0: resolved "https://registry.yarnpkg.com/robust-predicates/-/robust-predicates-3.0.2.tgz#d5b28528c4824d20fc48df1928d41d9efa1ad771" integrity sha512-IXgzBWvWQwE6PrDI05OvmXUIruQTcoMDzRsOd5CDvHCVLcLHMTSYvOK5Cm46kWqlV3yAbuSpBZdJ5oP5OUoStg== -rollup-plugin-generate-package-json@3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/rollup-plugin-generate-package-json/-/rollup-plugin-generate-package-json-3.2.0.tgz#e9c1d358f2be6c58b49853af58205292d45a33ff" - integrity sha512-+Kq1kFVr+maxW/mZB+E+XuaieCXVZqjl2tNU9k3TtAMs3NOaeREa5sRHy67qKDmcnFtZZukIQ3dFCcnV+r0xyw== - dependencies: - read-pkg "^5.2.0" - write-pkg "^4.0.0" - -rollup-plugin-typescript2@0.27.0: - version "0.27.0" - resolved "https://registry.yarnpkg.com/rollup-plugin-typescript2/-/rollup-plugin-typescript2-0.27.0.tgz#95ff96f9e07d5000a9d2df4d76b548f9a1f83511" - integrity sha512-SRKG/Canve3cxBsqhY1apIBznqnX9X/WU3Lrq3XSwmTmFqccj3+//logLXFEmp+PYFNllSVng+f4zjqRTPKNkA== - dependencies: - "@rollup/pluginutils" "^3.0.8" - find-cache-dir "^3.3.1" - fs-extra "8.1.0" - resolve "1.15.1" - tslib "1.11.1" - -rollup@2.3.2: - version "2.3.2" - resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.3.2.tgz#afa68e4f3325bcef4e150d082056bef450bcac60" - integrity sha512-p66+fbfaUUOGE84sHXAOgfeaYQMslgAazoQMp//nlR519R61213EPFgrMZa48j31jNacJwexSAR1Q8V/BwGKBA== - optionalDependencies: - fsevents "~2.1.2" - -rollup@^2.74.1: - version "2.79.1" - resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.79.1.tgz#bedee8faef7c9f93a2647ac0108748f497f081c7" - integrity sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw== - optionalDependencies: - fsevents "~2.3.2" - run-parallel@^1.1.9: version "1.2.0" resolved "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.2.0.tgz#66d1368da7bdf921eb9d95bd1a9229e7f21a43ee" @@ -11202,17 +10840,17 @@ semver-diff@^2.0.0: dependencies: semver "^5.0.3" -"semver@2 || 3 || 4 || 5", semver@^5.0.3, semver@^5.1.0, semver@^5.6.0: +"semver@2 || 3 || 4 || 5", semver@^5.0.3, semver@^5.1.0: version "5.7.2" resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.2.tgz#48d55db737c3287cd4835e17fa13feace1c41ef8" integrity sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g== -semver@^6.0.0, semver@^6.3.0, semver@^6.3.1: +semver@^6.3.0, semver@^6.3.1: version "6.3.1" resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4" integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== -semver@^7.0.0, semver@^7.3.8, semver@^7.5.3, semver@^7.5.4: +semver@^7.3.8, semver@^7.5.3, semver@^7.5.4: version "7.5.4" resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e" integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA== @@ -11349,6 +10987,11 @@ slash@^3.0.0: resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== +slash@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/slash/-/slash-4.0.0.tgz#2422372176c4c6c5addb5e2ada885af984b396a7" + integrity sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew== + slash@^5.1.0: version "5.1.0" resolved "https://registry.yarnpkg.com/slash/-/slash-5.1.0.tgz#be3adddcdf09ac38eebe8dcdc7b1a57a75b095ce" @@ -11413,13 +11056,6 @@ socketio-wildcard@^2.0.0: resolved "https://registry.yarnpkg.com/socketio-wildcard/-/socketio-wildcard-2.0.0.tgz#2466e832276b19163563bee772388747f912475b" integrity sha512-Bf3ioZq15Z2yhFLDasRvbYitg82rwm+5AuER5kQvEQHhNFf4R4K5o/h57nEpN7A59T9FyRtTj34HZfMWAruw/A== -sort-keys@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/sort-keys/-/sort-keys-2.0.0.tgz#658535584861ec97d730d6cf41822e1f56684128" - integrity sha512-/dPCrG1s3ePpWm6yBbxZq5Be1dXGLyLn9Z791chDC3NFrpkVbWGzkBwPN1knaciexFXgRJ7hzdnwZ4stHSDmjg== - dependencies: - is-plain-obj "^1.0.0" - sort-keys@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/sort-keys/-/sort-keys-5.0.0.tgz#5d775f8ae93ecc29bc7312bbf3acac4e36e3c446" @@ -11440,13 +11076,6 @@ source-map-support@0.5.13: buffer-from "^1.0.0" source-map "^0.6.0" -source-map@0.8.0-beta.0: - version "0.8.0-beta.0" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.8.0-beta.0.tgz#d4c1bb42c3f7ee925f005927ba10709e0d1d1f11" - integrity sha512-2ymg6oRBpebeZi9UUNsgQ89bhx01TcTkmNTGnNO88imTmbSgy4nfujrgVEFKWpMTEGA11EDkTt7mqObTPdigIA== - dependencies: - whatwg-url "^7.0.0" - source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.1: version "0.6.1" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" @@ -11734,7 +11363,7 @@ stylis@^4.1.3: resolved "https://registry.yarnpkg.com/stylis/-/stylis-4.3.0.tgz#abe305a669fc3d8777e10eefcfc73ad861c5588c" integrity sha512-E87pIogpwUsUwXw7dNyU4QDjdgVMy52m+XEOPEKUn161cCzWjjhPSQhByfd1CcNvrOLnXQ6OnnZDwnJrz/Z4YQ== -sucrase@^3.20.3, sucrase@^3.32.0: +sucrase@^3.32.0: version "3.34.0" resolved "https://registry.yarnpkg.com/sucrase/-/sucrase-3.34.0.tgz#1e0e2d8fcf07f8b9c3569067d92fbd8690fb576f" integrity sha512-70/LQEZ07TEcxiU2dz51FKaE6hCTWC6vr7FOk3Gr0U60C3shtAN+H+BFr9XlYe5xqf3RA8nrc+VIwzCfnxuXJw== @@ -11944,23 +11573,11 @@ tough-cookie@^2.5.0: psl "^1.1.28" punycode "^2.1.1" -tr46@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/tr46/-/tr46-1.0.1.tgz#a8b13fd6bfd2489519674ccde55ba3693b706d09" - integrity sha512-dTpowEjclQ7Kgx5SdBkqRzVhERQXov8/l9Ft9dVM9fmg0W0KQSVaXX9T4i6twCPNtYiZM53lpSSUAwJbFPOHxA== - dependencies: - punycode "^2.1.0" - tr46@~0.0.3: version "0.0.3" resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw== -tree-kill@^1.2.2: - version "1.2.2" - resolved "https://registry.yarnpkg.com/tree-kill/-/tree-kill-1.2.2.tgz#4ca09a9092c88b73a7cdc5e8a01b507b0790a0cc" - integrity sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A== - trim-lines@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/trim-lines/-/trim-lines-3.0.1.tgz#d802e332a07df861c48802c04321017b1bd87338" @@ -12034,36 +11651,11 @@ ts-toolbelt@^9.6.0: resolved "https://registry.yarnpkg.com/ts-toolbelt/-/ts-toolbelt-9.6.0.tgz#50a25426cfed500d4a09bd1b3afb6f28879edfd5" integrity sha512-nsZd8ZeNUzukXPlJmTBwUAuABDe/9qtVDelJeT/qW0ow3ZS3BsQJtNkan1802aM9Uf68/Y8ljw86Hu0h5IUW3w== -tslib@1.11.1, tslib@^1.11.1: - version "1.11.1" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.11.1.tgz#eb15d128827fbee2841549e171f45ed338ac7e35" - integrity sha512-aZW88SY8kQbU7gpV19lN24LtXh/yD4ZZg6qieAJDDg+YBsJcSmLGK9QpnUjAKVG/xefmvJGd1WUmfpT/g6AJGA== - -tslib@^2.0.0, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.3.1, tslib@^2.4.0, tslib@^2.5.0, tslib@^2.6.1: +tslib@^2.0.0, tslib@^2.1.0, tslib@^2.3.1, tslib@^2.4.0, tslib@^2.5.0, tslib@^2.6.1: version "2.6.2" resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae" integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q== -tsup@^5.11.6: - version "5.12.9" - resolved "https://registry.yarnpkg.com/tsup/-/tsup-5.12.9.tgz#8cdd9b4bc6493317cb92edf5f3476920dddcdb18" - integrity sha512-dUpuouWZYe40lLufo64qEhDpIDsWhRbr2expv5dHEMjwqeKJS2aXA/FPqs1dxO4T6mBojo7rvo3jP9NNzaKyDg== - dependencies: - bundle-require "^3.0.2" - cac "^6.7.12" - chokidar "^3.5.1" - debug "^4.3.1" - esbuild "^0.14.25" - execa "^5.0.0" - globby "^11.0.3" - joycon "^3.0.1" - postcss-load-config "^3.0.1" - resolve-from "^5.0.0" - rollup "^2.74.1" - source-map "0.8.0-beta.0" - sucrase "^3.20.3" - tree-kill "^1.2.2" - tty-table@^4.1.5: version "4.2.2" resolved "https://registry.yarnpkg.com/tty-table/-/tty-table-4.2.2.tgz#2a548db0278be5023ed40280001e1908bb823463" @@ -12111,11 +11703,6 @@ type-fest@^0.21.3: resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.21.3.tgz#d260a24b0198436e133fa26a524a6d65fa3b2e37" integrity sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w== -type-fest@^0.4.1: - version "0.4.1" - resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.4.1.tgz#8bdf77743385d8a4f13ba95f610f5ccd68c728f8" - integrity sha512-IwzA/LSfD2vC1/YDYMv/zHP4rDF1usCwllsDpbolT3D4fUepIO7f9K70jjmUewU/LmGUKJcwcVtDCpnKk4BPMw== - type-fest@^0.6.0: version "0.6.0" resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.6.0.tgz#8d2a2370d3df886eb5c90ada1c5bf6188acf838b" @@ -12650,11 +12237,6 @@ webidl-conversions@^3.0.0: resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" integrity sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ== -webidl-conversions@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-4.0.2.tgz#a855980b1f0b6b359ba1d5d9fb39ae941faa63ad" - integrity sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg== - webpack-bundle-analyzer@4.7.0: version "4.7.0" resolved "https://registry.yarnpkg.com/webpack-bundle-analyzer/-/webpack-bundle-analyzer-4.7.0.tgz#33c1c485a7fcae8627c547b5c3328b46de733c66" @@ -12683,15 +12265,6 @@ whatwg-url@^5.0.0: tr46 "~0.0.3" webidl-conversions "^3.0.0" -whatwg-url@^7.0.0: - version "7.1.0" - resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-7.1.0.tgz#c2c492f1eca612988efd3d2266be1b9fc6170d06" - integrity sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg== - dependencies: - lodash.sortby "^4.7.0" - tr46 "^1.0.1" - webidl-conversions "^4.0.2" - which-boxed-primitive@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz#13757bc89b209b049fe5d86430e21cf40a89a8e6" @@ -12790,7 +12363,7 @@ wrappy@1: resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== -write-file-atomic@^2.0.0, write-file-atomic@^2.4.2: +write-file-atomic@^2.0.0: version "2.4.3" resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-2.4.3.tgz#1fd2e9ae1df3e75b8d8c367443c692d4ca81f481" integrity sha512-GaETH5wwsX+GcnzhPgKcKjJ6M2Cq3/iZp1WyY/X1CSqrW+jVNM9Y7D8EC2sM4ZG/V8wZlSniJnCKWPmBYAucRQ== @@ -12807,27 +12380,6 @@ write-file-atomic@^4.0.2: imurmurhash "^0.1.4" signal-exit "^3.0.7" -write-json-file@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/write-json-file/-/write-json-file-3.2.0.tgz#65bbdc9ecd8a1458e15952770ccbadfcff5fe62a" - integrity sha512-3xZqT7Byc2uORAatYiP3DHUUAVEkNOswEWNs9H5KXiicRTvzYzYqKjYc4G7p+8pltvAw641lVByKVtMpf+4sYQ== - dependencies: - detect-indent "^5.0.0" - graceful-fs "^4.1.15" - make-dir "^2.1.0" - pify "^4.0.1" - sort-keys "^2.0.0" - write-file-atomic "^2.4.2" - -write-pkg@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/write-pkg/-/write-pkg-4.0.0.tgz#675cc04ef6c11faacbbc7771b24c0abbf2a20039" - integrity sha512-v2UQ+50TNf2rNHJ8NyWttfm/EJUBWMJcx6ZTYZr6Qp52uuegWw/lBkCtCbnYZEmPRNL61m+u67dAmGxo+HTULA== - dependencies: - sort-keys "^2.0.0" - type-fest "^0.4.1" - write-json-file "^3.2.0" - ws@8.14.2: version "8.14.2" resolved "https://registry.yarnpkg.com/ws/-/ws-8.14.2.tgz#6c249a806eb2db7a20d26d51e7709eab7b2e6c7f" @@ -12898,11 +12450,6 @@ yaml@2.3.4, yaml@^2.1.1, yaml@^2.2.2, yaml@^2.3.2: resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.3.4.tgz#53fc1d514be80aabf386dc6001eb29bf3b7523b2" integrity sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA== -yaml@^1.10.2, yaml@^1.7.2: - version "1.10.2" - resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" - integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== - yargs-parser@^18.1.1, yargs-parser@^18.1.3: version "18.1.3" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-18.1.3.tgz#be68c4975c6b2abf469236b0c870362fab09a7b0" @@ -12916,7 +12463,7 @@ yargs-parser@^21.0.1, yargs-parser@^21.1.1: resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35" integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw== -yargs@15.3.1, yargs@^15.1.0: +yargs@^15.1.0: version "15.3.1" resolved "https://registry.yarnpkg.com/yargs/-/yargs-15.3.1.tgz#9505b472763963e54afe60148ad27a330818e98b" integrity sha512-92O1HWEjw27sBfgmXiixJWT5hRBp2eobqXicLtPBIDBhYB+1HpwZlXmbW2luivBJHBzki+7VyCLRtAkScbTBQA== @@ -12933,7 +12480,7 @@ yargs@15.3.1, yargs@^15.1.0: y18n "^4.0.0" yargs-parser "^18.1.1" -yargs@^17.3.1, yargs@^17.7.1: +yargs@^17.3.1, yargs@^17.6.2, yargs@^17.7.1: version "17.7.2" resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.7.2.tgz#991df39aca675a192b816e1e0363f9d75d2aa269" integrity sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w== @@ -12971,7 +12518,7 @@ zod-validation-error@^1.5.0: resolved "https://registry.yarnpkg.com/zod-validation-error/-/zod-validation-error-1.5.0.tgz#2b355007a1c3b7fb04fa476bfad4e7b3fd5491e3" integrity sha512-/7eFkAI4qV0tcxMBB/3+d2c1P6jzzZYdYSlBuAklzMuCrJu5bzJfHS0yVAS87dRHVlhftd6RFJDIvv03JgkSbw== -zod@^3.22.3: +zod@^3.20.2, zod@^3.22.3: version "3.22.4" resolved "https://registry.yarnpkg.com/zod/-/zod-3.22.4.tgz#f31c3a9386f61b1f228af56faa9255e845cf3fff" integrity sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg== From 7b11cb38b6cc3d9b54da5a9737bad443c50b738e Mon Sep 17 00:00:00 2001 From: Raul de Melo Date: Mon, 11 Dec 2023 09:43:30 +0000 Subject: [PATCH 2/3] fix package.json and imports --- packages/graphql-modules/package.json | 36 +++++++++++-------- .../graphql-modules/src/application/apollo.ts | 8 ++--- .../src/application/application.ts | 32 ++++++++--------- .../src/application/context.ts | 14 ++++---- .../graphql-modules/src/application/di.ts | 8 ++--- .../src/application/execution.ts | 8 ++--- .../src/application/operation-controller.ts | 4 +-- .../src/application/subscription.ts | 8 ++--- .../graphql-modules/src/application/tokens.ts | 2 +- .../graphql-modules/src/application/types.ts | 12 +++---- packages/graphql-modules/src/di/decorators.ts | 6 ++-- packages/graphql-modules/src/di/errors.ts | 10 +++--- .../graphql-modules/src/di/forward-ref.ts | 4 +-- packages/graphql-modules/src/di/index.ts | 15 +++++--- packages/graphql-modules/src/di/injector.ts | 10 +++--- packages/graphql-modules/src/di/metadata.ts | 4 +-- packages/graphql-modules/src/di/providers.ts | 2 +- packages/graphql-modules/src/di/registry.ts | 6 ++-- packages/graphql-modules/src/di/resolution.ts | 12 +++---- packages/graphql-modules/src/index.ts | 24 ++++++------- .../graphql-modules/src/module/factory.ts | 18 +++++----- .../graphql-modules/src/module/metadata.ts | 4 +-- packages/graphql-modules/src/module/module.ts | 4 +-- .../graphql-modules/src/module/resolvers.ts | 14 ++++---- packages/graphql-modules/src/module/tokens.ts | 4 +-- .../graphql-modules/src/module/type-defs.ts | 4 +-- packages/graphql-modules/src/module/types.ts | 12 +++---- packages/graphql-modules/src/shared/errors.ts | 2 +- .../graphql-modules/src/shared/middleware.ts | 6 ++-- packages/graphql-modules/src/shared/types.ts | 2 +- packages/graphql-modules/src/testing/di.ts | 2 +- .../graphql-modules/src/testing/graphql.ts | 4 +-- packages/graphql-modules/src/testing/index.ts | 10 +++--- .../src/testing/test-application.ts | 8 ++--- .../src/testing/test-injector.ts | 8 ++--- .../src/testing/test-module.ts | 10 +++--- .../graphql-modules/tests/bootstrap.spec.ts | 4 +-- .../graphql-modules/tests/context.spec.ts | 2 +- .../graphql-modules/tests/di-errors.spec.ts | 12 +++++-- .../graphql-modules/tests/di-hooks.spec.ts | 2 +- .../tests/di-providers.spec.ts | 4 +-- .../tests/execution-context.spec.ts | 2 +- .../graphql-modules/tests/federation.spec.ts | 2 +- .../tests/middleware-generic.spec.ts | 2 +- .../tests/middleware-resolvers.spec.ts | 4 +-- .../tests/operation-controller.spec.ts | 2 +- .../tests/subscription.spec.ts | 2 +- .../graphql-modules/tests/testing.spec.ts | 18 +++++----- .../tests/third-parties.spec.ts | 2 +- 49 files changed, 205 insertions(+), 190 deletions(-) diff --git a/packages/graphql-modules/package.json b/packages/graphql-modules/package.json index ec90c38c91..5cf9d7173b 100644 --- a/packages/graphql-modules/package.json +++ b/packages/graphql-modules/package.json @@ -12,23 +12,28 @@ "author": "Kamil Kisiela", "license": "MIT", "sideEffects": false, - "main": "dist/index.js", - "module": "dist/index.mjs", + "main": "dist/cjs/index.js", + "module": "dist/esm/index.js", "exports": { ".": { - "require": "./dist/index.js", - "import": "./dist/index.mjs", - "types": "./index.d.ts" + "require": { + "types": "./dist/typings/index.d.cts", + "default": "./dist/cjs/index.js" + }, + "import": { + "types": "./dist/typings/index.d.ts", + "default": "./dist/esm/index.js" + }, + "default": { + "types": "./dist/typings/index.d.ts", + "default": "./dist/esm/index.js" + } }, - "./*": { - "require": "./dist/*.js", - "import": "./dist/*.mjs", - "types": "./*.d.ts" - } + "./package.json": "./package.json" }, - "typings": "dist/index.d.ts", + "typings": "dist/typings/index.d.ts", "typescript": { - "definition": "dist/index.d.ts" + "definition": "dist/typings/index.d.ts" }, "scripts": { "prepack": "bob prepack" @@ -43,13 +48,14 @@ "ramda": "^0.29.0" }, "publishConfig": { - "access": "public", - "directory": "dist" + "directory": "dist", + "access": "public" }, "buildOptions": { "copy": [ "LICENSE.md", "README.md" ] - } + }, + "type": "module" } diff --git a/packages/graphql-modules/src/application/apollo.ts b/packages/graphql-modules/src/application/apollo.ts index 6f51654dfa..090983d724 100644 --- a/packages/graphql-modules/src/application/apollo.ts +++ b/packages/graphql-modules/src/application/apollo.ts @@ -1,9 +1,9 @@ import { wrapSchema } from '@graphql-tools/wrap'; import { DocumentNode, execute, GraphQLSchema } from 'graphql'; -import { uniqueId } from '../shared/utils'; -import { InternalAppContext } from './application'; -import { ExecutionContextBuilder } from './context'; -import { Application } from './types'; +import { uniqueId } from '../shared/utils.js'; +import { InternalAppContext } from './application.js'; +import { ExecutionContextBuilder } from './context.js'; +import { Application } from './types.js'; const CONTEXT_ID = Symbol.for('context-id'); diff --git a/packages/graphql-modules/src/application/application.ts b/packages/graphql-modules/src/application/application.ts index f5d7fb25be..d982b005ba 100644 --- a/packages/graphql-modules/src/application/application.ts +++ b/packages/graphql-modules/src/application/application.ts @@ -4,26 +4,26 @@ import { onlySingletonProviders, onlyOperationProviders, Scope, -} from '../di'; -import { ResolvedModule } from '../module/factory'; -import { ID } from '../shared/types'; +} from '../di/index.js'; +import { ResolvedModule } from '../module/factory.js'; +import { ID } from '../shared/types.js'; import { ModuleDuplicatedError, ModuleNonUniqueIdError, -} from '../shared/errors'; -import { flatten, isDefined } from '../shared/utils'; -import { ApplicationConfig, Application } from './types'; +} from '../shared/errors.js'; +import { flatten, isDefined } from '../shared/utils.js'; +import { ApplicationConfig, Application } from './types.js'; import { createGlobalProvidersMap, attachGlobalProvidersMap, instantiateSingletonProviders, -} from './di'; -import { createContextBuilder } from './context'; -import { executionCreator } from './execution'; -import { subscriptionCreator } from './subscription'; -import { apolloSchemaCreator, apolloExecutorCreator } from './apollo'; -import { operationControllerCreator } from './operation-controller'; -import { Module } from '../module/types'; +} from './di.js'; +import { createContextBuilder } from './context.js'; +import { executionCreator } from './execution.js'; +import { subscriptionCreator } from './subscription.js'; +import { apolloSchemaCreator, apolloExecutorCreator } from './apollo.js'; +import { operationControllerCreator } from './operation-controller.js'; +import { Module } from '../module/types.js'; export type ModulesMap = Map; @@ -45,9 +45,9 @@ export interface InternalAppContext { * * ```typescript * import { createApplication } from 'graphql-modules'; - * import { usersModule } from './users'; - * import { postsModule } from './posts'; - * import { commentsModule } from './comments'; + * import { usersModule } from './users.js'; + * import { postsModule } from './posts.js'; + * import { commentsModule } from './comments.js'; * * const app = createApplication({ * modules: [ diff --git a/packages/graphql-modules/src/application/context.ts b/packages/graphql-modules/src/application/context.ts index 69ab7c258b..1325a0d991 100644 --- a/packages/graphql-modules/src/application/context.ts +++ b/packages/graphql-modules/src/application/context.ts @@ -1,10 +1,10 @@ -import { Injector, ReflectiveInjector } from '../di'; -import { ResolvedProvider } from '../di/resolution'; -import { ID } from '../shared/types'; -import { once, merge } from '../shared/utils'; -import type { InternalAppContext, ModulesMap } from './application'; -import { attachGlobalProvidersMap } from './di'; -import { CONTEXT } from './tokens'; +import { Injector, ReflectiveInjector } from '../di/index.js'; +import { ResolvedProvider } from '../di/resolution.js'; +import { ID } from '../shared/types.js'; +import { once, merge } from '../shared/utils.js'; +import type { InternalAppContext, ModulesMap } from './application.js'; +import { attachGlobalProvidersMap } from './di.js'; +import { CONTEXT } from './tokens.js'; export type ExecutionContextBuilder< TContext extends { diff --git a/packages/graphql-modules/src/application/di.ts b/packages/graphql-modules/src/application/di.ts index 7306536507..59a4c0bc96 100644 --- a/packages/graphql-modules/src/application/di.ts +++ b/packages/graphql-modules/src/application/di.ts @@ -1,7 +1,7 @@ -import { ModulesMap } from './application'; -import { ResolvedModule } from '../module/factory'; -import { ReflectiveInjector, Scope } from '../di'; -import { ResolvedProvider } from '../di/resolution'; +import { ModulesMap } from './application.js'; +import { ResolvedModule } from '../module/factory.js'; +import { ReflectiveInjector, Scope } from '../di/index.js'; +import { ResolvedProvider } from '../di/resolution.js'; export function instantiateSingletonProviders({ appInjector, diff --git a/packages/graphql-modules/src/application/execution.ts b/packages/graphql-modules/src/application/execution.ts index 261a3358a2..8f5ff22e02 100644 --- a/packages/graphql-modules/src/application/execution.ts +++ b/packages/graphql-modules/src/application/execution.ts @@ -6,10 +6,10 @@ import { GraphQLSchema, GraphQLTypeResolver, } from 'graphql'; -import { Application } from './types'; -import { ExecutionContextBuilder } from './context'; -import { Maybe } from '../shared/types'; -import { isNotSchema } from '../shared/utils'; +import { Application } from './types.js'; +import { ExecutionContextBuilder } from './context.js'; +import { Maybe } from '../shared/types.js'; +import { isNotSchema } from '../shared/utils.js'; export function executionCreator({ contextBuilder, diff --git a/packages/graphql-modules/src/application/operation-controller.ts b/packages/graphql-modules/src/application/operation-controller.ts index b0c76f8907..68bdc58a8e 100644 --- a/packages/graphql-modules/src/application/operation-controller.ts +++ b/packages/graphql-modules/src/application/operation-controller.ts @@ -1,5 +1,5 @@ -import type { Application } from './types'; -import type { ExecutionContextBuilder } from './context'; +import type { Application } from './types.js'; +import type { ExecutionContextBuilder } from './context.js'; export function operationControllerCreator(options: { contextBuilder: ExecutionContextBuilder; diff --git a/packages/graphql-modules/src/application/subscription.ts b/packages/graphql-modules/src/application/subscription.ts index 530ef44e3f..884b11be2e 100644 --- a/packages/graphql-modules/src/application/subscription.ts +++ b/packages/graphql-modules/src/application/subscription.ts @@ -5,14 +5,14 @@ import { subscribe, SubscriptionArgs, } from 'graphql'; -import { Maybe } from '../shared/types'; +import { Maybe } from '../shared/types.js'; import { tapAsyncIterator, isAsyncIterable, isNotSchema, -} from '../shared/utils'; -import { ExecutionContextBuilder } from './context'; -import { Application } from './types'; +} from '../shared/utils.js'; +import { ExecutionContextBuilder } from './context.js'; +import { Application } from './types.js'; export function subscriptionCreator({ contextBuilder, diff --git a/packages/graphql-modules/src/application/tokens.ts b/packages/graphql-modules/src/application/tokens.ts index e5fff683c4..9c9559a7ae 100644 --- a/packages/graphql-modules/src/application/tokens.ts +++ b/packages/graphql-modules/src/application/tokens.ts @@ -1,4 +1,4 @@ -import { InjectionToken } from '../di'; +import { InjectionToken } from '../di/index.js'; /** * @api diff --git a/packages/graphql-modules/src/application/types.ts b/packages/graphql-modules/src/application/types.ts index 18191b42d5..0c8ec09132 100644 --- a/packages/graphql-modules/src/application/types.ts +++ b/packages/graphql-modules/src/application/types.ts @@ -5,12 +5,12 @@ import { GraphQLSchema, ExecutionResult, } from 'graphql'; -import type { Provider, Injector } from '../di'; -import type { Resolvers, Module, MockedModule } from '../module/types'; -import type { MiddlewareMap } from '../shared/middleware'; -import type { ApolloRequestContext } from './apollo'; -import type { Single } from '../shared/types'; -import type { InternalAppContext } from './application'; +import type { Provider, Injector } from '../di/index.js'; +import type { Resolvers, Module, MockedModule } from '../module/types.js'; +import type { MiddlewareMap } from '../shared/middleware.js'; +import type { ApolloRequestContext } from './apollo.js'; +import type { Single } from '../shared/types.js'; +import type { InternalAppContext } from './application.js'; type Execution = typeof execute; type Subscription = typeof subscribe; diff --git a/packages/graphql-modules/src/di/decorators.ts b/packages/graphql-modules/src/di/decorators.ts index 5d251dc5a8..a285b28594 100644 --- a/packages/graphql-modules/src/di/decorators.ts +++ b/packages/graphql-modules/src/di/decorators.ts @@ -1,11 +1,11 @@ -import { Type, ProviderOptions, isType, InjectionToken } from './providers'; +import { Type, ProviderOptions, isType, InjectionToken } from './providers.js'; import { INJECTABLE, InjectableMetadata, readInjectableMetadata, ensureInjectableMetadata, -} from './metadata'; -import { Injector } from './injector'; +} from './metadata.js'; +import { Injector } from './injector.js'; function ensureReflect() { if (!(Reflect && Reflect.getOwnMetadata)) { diff --git a/packages/graphql-modules/src/di/errors.ts b/packages/graphql-modules/src/di/errors.ts index 131c1f6f46..baaf2fd0ce 100644 --- a/packages/graphql-modules/src/di/errors.ts +++ b/packages/graphql-modules/src/di/errors.ts @@ -1,13 +1,13 @@ -import { InjectableParamMetadata } from './metadata'; -import { Type, InjectionToken } from './providers'; +import { InjectableParamMetadata } from './metadata.js'; +import { Type, InjectionToken } from './providers.js'; import { stringify, wrappedError, ERROR_ORIGINAL_ERROR, getOriginalError, -} from './utils'; -import { ReflectiveInjector } from './injector'; -import { Key } from './registry'; +} from './utils.js'; +import { ReflectiveInjector } from './injector.js'; +import { Key } from './registry.js'; export function invalidProviderError(provider: any) { return Error( diff --git a/packages/graphql-modules/src/di/forward-ref.ts b/packages/graphql-modules/src/di/forward-ref.ts index 954002973b..0518827e94 100644 --- a/packages/graphql-modules/src/di/forward-ref.ts +++ b/packages/graphql-modules/src/di/forward-ref.ts @@ -1,5 +1,5 @@ -import { stringify } from './utils'; -import { Type } from './providers'; +import { stringify } from './utils.js'; +import { Type } from './providers.js'; export type ForwardRefFn = () => T; diff --git a/packages/graphql-modules/src/di/index.ts b/packages/graphql-modules/src/di/index.ts index 18ff2ddd01..f212e3ad1b 100644 --- a/packages/graphql-modules/src/di/index.ts +++ b/packages/graphql-modules/src/di/index.ts @@ -1,5 +1,10 @@ -export { Injectable, Optional, Inject, ExecutionContext } from './decorators'; -export { forwardRef } from './forward-ref'; +export { + Injectable, + Optional, + Inject, + ExecutionContext, +} from './decorators.js'; +export { forwardRef } from './forward-ref.js'; export { InjectionToken, Type, @@ -14,6 +19,6 @@ export { Scope, onlySingletonProviders, onlyOperationProviders, -} from './providers'; -export { Injector, ReflectiveInjector } from './injector'; -export { InjectionError } from './errors'; +} from './providers.js'; +export { Injector, ReflectiveInjector } from './injector.js'; +export { InjectionError } from './errors.js'; diff --git a/packages/graphql-modules/src/di/injector.ts b/packages/graphql-modules/src/di/injector.ts index 5d964cc5e8..b2eaba4acf 100644 --- a/packages/graphql-modules/src/di/injector.ts +++ b/packages/graphql-modules/src/di/injector.ts @@ -1,17 +1,17 @@ -import { Type, InjectionToken, Provider } from './providers'; +import { Type, InjectionToken, Provider } from './providers.js'; import { ResolvedProvider, resolveProviders, Dependency, GlobalProviderMap, -} from './resolution'; -import { Key } from './registry'; +} from './resolution.js'; +import { Key } from './registry.js'; import { noProviderError, cyclicDependencyError, instantiationError, -} from './errors'; -import { ExecutionContext } from './decorators'; +} from './errors.js'; +import { ExecutionContext } from './decorators.js'; const _THROW_IF_NOT_FOUND = new Object(); const UNDEFINED = new Object(); diff --git a/packages/graphql-modules/src/di/metadata.ts b/packages/graphql-modules/src/di/metadata.ts index f3155ecac1..249b8ba63d 100644 --- a/packages/graphql-modules/src/di/metadata.ts +++ b/packages/graphql-modules/src/di/metadata.ts @@ -1,5 +1,5 @@ -import { noInjectableError } from './errors'; -import { Type, ProviderOptions, InjectionToken } from './providers'; +import { noInjectableError } from './errors.js'; +import { Type, ProviderOptions, InjectionToken } from './providers.js'; export const INJECTABLE = Symbol('di:injectable'); diff --git a/packages/graphql-modules/src/di/providers.ts b/packages/graphql-modules/src/di/providers.ts index 7ef34ab0d7..e8f558063c 100644 --- a/packages/graphql-modules/src/di/providers.ts +++ b/packages/graphql-modules/src/di/providers.ts @@ -1,4 +1,4 @@ -import { readInjectableMetadata } from './metadata'; +import { readInjectableMetadata } from './metadata.js'; export const Type = Function; diff --git a/packages/graphql-modules/src/di/registry.ts b/packages/graphql-modules/src/di/registry.ts index 09b9efc1fd..1132c1f598 100644 --- a/packages/graphql-modules/src/di/registry.ts +++ b/packages/graphql-modules/src/di/registry.ts @@ -1,6 +1,6 @@ -import { stringify } from './utils'; -import { resolveForwardRef } from './forward-ref'; -import { Type } from './providers'; +import { stringify } from './utils.js'; +import { resolveForwardRef } from './forward-ref.js'; +import { Type } from './providers.js'; export class Key { constructor( diff --git a/packages/graphql-modules/src/di/resolution.ts b/packages/graphql-modules/src/di/resolution.ts index 45e6fb82ce..5935725b2b 100644 --- a/packages/graphql-modules/src/di/resolution.ts +++ b/packages/graphql-modules/src/di/resolution.ts @@ -6,12 +6,12 @@ import { Type, isClassProvider, isFactoryProvider, -} from './providers'; -import { invalidProviderError, noAnnotationError } from './errors'; -import { Key } from './registry'; -import { resolveForwardRef } from './forward-ref'; -import { readInjectableMetadata, InjectableParamMetadata } from './metadata'; -import { ReflectiveInjector } from './injector'; +} from './providers.js'; +import { invalidProviderError, noAnnotationError } from './errors.js'; +import { Key } from './registry.js'; +import { resolveForwardRef } from './forward-ref.js'; +import { readInjectableMetadata, InjectableParamMetadata } from './metadata.js'; +import { ReflectiveInjector } from './injector.js'; export type NormalizedProvider = | ValueProvider diff --git a/packages/graphql-modules/src/index.ts b/packages/graphql-modules/src/index.ts index 2ecd92fd5e..3fd740b47f 100644 --- a/packages/graphql-modules/src/index.ts +++ b/packages/graphql-modules/src/index.ts @@ -1,13 +1,13 @@ // application -export { createApplication } from './application/application'; -export * from './application/tokens'; -export * from './application/types'; +export { createApplication } from './application/application.js'; +export * from './application/tokens.js'; +export * from './application/types.js'; // modules -export { createModule } from './module/module'; -export * from './module/types'; -export * from './module/metadata'; -export * from './module/tokens'; +export { createModule } from './module/module.js'; +export * from './module/types.js'; +export * from './module/metadata.js'; +export * from './module/tokens.js'; // di export { @@ -25,13 +25,13 @@ export { forwardRef, InjectionToken, Scope, -} from './di'; +} from './di/index.js'; // shared -export { Middleware, MiddlewareContext } from './shared/middleware'; +export { Middleware, MiddlewareContext } from './shared/middleware.js'; import './shared/types'; -export { gql } from './shared/gql'; -export * from './shared/di'; +export { gql } from './shared/gql.js'; +export * from './shared/di.js'; // testing -export * from './testing'; +export * from './testing/index.js'; diff --git a/packages/graphql-modules/src/module/factory.ts b/packages/graphql-modules/src/module/factory.ts index 294ca10105..aee356e6b4 100644 --- a/packages/graphql-modules/src/module/factory.ts +++ b/packages/graphql-modules/src/module/factory.ts @@ -1,16 +1,16 @@ -import { Module, ModuleConfig, Resolvers } from './types'; -import { metadataFactory } from './metadata'; -import { createResolvers } from './resolvers'; -import { createTypeDefs } from './type-defs'; -import { MODULE_ID } from './tokens'; +import { Module, ModuleConfig, Resolvers } from './types.js'; +import { metadataFactory } from './metadata.js'; +import { createResolvers } from './resolvers.js'; +import { createTypeDefs } from './type-defs.js'; +import { MODULE_ID } from './tokens.js'; import { ReflectiveInjector, onlySingletonProviders, onlyOperationProviders, -} from '../di'; -import { ResolvedProvider, resolveProviders } from './../di/resolution'; -import { MiddlewareMap } from '../shared/middleware'; -import { Single } from '../shared/types'; +} from '../di/index.js'; +import { ResolvedProvider, resolveProviders } from './../di/resolution.js'; +import { MiddlewareMap } from '../shared/middleware.js'; +import { Single } from '../shared/types.js'; export type ResolvedModule = { injector: ReflectiveInjector; diff --git a/packages/graphql-modules/src/module/metadata.ts b/packages/graphql-modules/src/module/metadata.ts index f48b461734..66c03a7854 100644 --- a/packages/graphql-modules/src/module/metadata.ts +++ b/packages/graphql-modules/src/module/metadata.ts @@ -11,8 +11,8 @@ import { InputValueDefinitionNode, Kind, } from 'graphql'; -import { ModuleConfig } from './types'; -import { ID } from '../shared/types'; +import { ModuleConfig } from './types.js'; +import { ID } from '../shared/types.js'; export type Registry = Record; diff --git a/packages/graphql-modules/src/module/module.ts b/packages/graphql-modules/src/module/module.ts index 1c73eac47a..7efc797d72 100644 --- a/packages/graphql-modules/src/module/module.ts +++ b/packages/graphql-modules/src/module/module.ts @@ -1,5 +1,5 @@ -import { moduleFactory } from './factory'; -import { ModuleConfig } from './types'; +import { moduleFactory } from './factory.js'; +import { ModuleConfig } from './types.js'; /** * @api diff --git a/packages/graphql-modules/src/module/resolvers.ts b/packages/graphql-modules/src/module/resolvers.ts index f74bebcc99..fe84bf2429 100644 --- a/packages/graphql-modules/src/module/resolvers.ts +++ b/packages/graphql-modules/src/module/resolvers.ts @@ -6,23 +6,23 @@ import { FieldNode, GraphQLResolveInfo, } from 'graphql'; -import { Resolvers, ModuleConfig } from './types'; -import { ModuleMetadata } from './metadata'; -import { InternalAppContext } from '../application/application'; -import { Single, ResolveFn, ID, ResolveTypeFn } from './../shared/types'; +import { Resolvers, ModuleConfig } from './types.js'; +import { ModuleMetadata } from './metadata.js'; +import { InternalAppContext } from '../application/application.js'; +import { Single, ResolveFn, ID, ResolveTypeFn } from './../shared/types.js'; import { useLocation, ExtraResolverError, ResolverDuplicatedError, ResolverInvalidError, -} from './../shared/errors'; -import { isNil, isDefined, isPrimitive } from '../shared/utils'; +} from './../shared/errors.js'; +import { isNil, isDefined, isPrimitive } from '../shared/utils.js'; import { createMiddleware, mergeMiddlewareMaps, MiddlewareMap, validateMiddlewareMap, -} from '../shared/middleware'; +} from '../shared/middleware.js'; const resolverMetadataProp = Symbol('metadata'); diff --git a/packages/graphql-modules/src/module/tokens.ts b/packages/graphql-modules/src/module/tokens.ts index be1e549352..e88c7b4e1e 100644 --- a/packages/graphql-modules/src/module/tokens.ts +++ b/packages/graphql-modules/src/module/tokens.ts @@ -1,5 +1,5 @@ -import { InjectionToken } from '../di'; -import { ID } from '../shared/types'; +import { InjectionToken } from '../di/index.js'; +import { ID } from '../shared/types.js'; /** * @api diff --git a/packages/graphql-modules/src/module/type-defs.ts b/packages/graphql-modules/src/module/type-defs.ts index fb41916dd4..21b3d6a1d2 100644 --- a/packages/graphql-modules/src/module/type-defs.ts +++ b/packages/graphql-modules/src/module/type-defs.ts @@ -1,6 +1,6 @@ import { DocumentNode, Kind } from 'graphql'; -import { ModuleConfig } from './types'; -import { NonDocumentNodeError, useLocation } from '../shared/errors'; +import { ModuleConfig } from './types.js'; +import { NonDocumentNodeError, useLocation } from '../shared/errors.js'; /** * Create a list of DocumentNode objects based on Module's config. diff --git a/packages/graphql-modules/src/module/types.ts b/packages/graphql-modules/src/module/types.ts index fe60b442cb..d5ec2c1716 100644 --- a/packages/graphql-modules/src/module/types.ts +++ b/packages/graphql-modules/src/module/types.ts @@ -1,10 +1,10 @@ import { DocumentNode } from 'graphql'; -import { ModuleFactory } from './factory'; -import { ID, Plural } from '../shared/types'; -import { ModuleMetadata } from './metadata'; -import { Provider } from '../di'; -import { MiddlewareMap } from '../shared/middleware'; -import { ResolvedProvider } from '../di/resolution'; +import { ModuleFactory } from './factory.js'; +import { ID, Plural } from '../shared/types.js'; +import { ModuleMetadata } from './metadata.js'; +import { Provider } from '../di/index.js'; +import { MiddlewareMap } from '../shared/middleware.js'; +import { ResolvedProvider } from '../di/resolution.js'; export type TypeDefs = Plural; export type Resolvers = Plural>; diff --git a/packages/graphql-modules/src/shared/errors.ts b/packages/graphql-modules/src/shared/errors.ts index d2e1a897be..33214afb2c 100644 --- a/packages/graphql-modules/src/shared/errors.ts +++ b/packages/graphql-modules/src/shared/errors.ts @@ -1,4 +1,4 @@ -import { ID } from './types'; +import { ID } from './types.js'; export class ModuleNonUniqueIdError extends ExtendableBuiltin(Error) { constructor(message: string, ...rest: string[]) { diff --git a/packages/graphql-modules/src/shared/middleware.ts b/packages/graphql-modules/src/shared/middleware.ts index 2c29a78212..6abc7e232e 100644 --- a/packages/graphql-modules/src/shared/middleware.ts +++ b/packages/graphql-modules/src/shared/middleware.ts @@ -1,8 +1,8 @@ import { GraphQLResolveInfo } from 'graphql'; import { mergeDeepWith } from 'ramda'; -import { ModuleMetadata } from './../module/metadata'; -import { isDefined } from './utils'; -import { ExtraMiddlewareError, useLocation } from './errors'; +import { ModuleMetadata } from './../module/metadata.js'; +import { isDefined } from './utils.js'; +import { ExtraMiddlewareError, useLocation } from './errors.js'; export type Next = () => Promise; diff --git a/packages/graphql-modules/src/shared/types.ts b/packages/graphql-modules/src/shared/types.ts index 28c4a26092..6a37248abd 100644 --- a/packages/graphql-modules/src/shared/types.ts +++ b/packages/graphql-modules/src/shared/types.ts @@ -1,5 +1,5 @@ import { GraphQLFieldResolver, GraphQLTypeResolver } from 'graphql'; -import { Injector } from '../di'; +import { Injector } from '../di/index.js'; export type ID = string; export type Nil = undefined | null; diff --git a/packages/graphql-modules/src/testing/di.ts b/packages/graphql-modules/src/testing/di.ts index c0eba0d410..26c6ec074c 100644 --- a/packages/graphql-modules/src/testing/di.ts +++ b/packages/graphql-modules/src/testing/di.ts @@ -1,4 +1,4 @@ -import { ValueProvider } from './../di/providers'; +import { ValueProvider } from './../di/providers.js'; export function provideEmpty( token: ValueProvider['provide'] diff --git a/packages/graphql-modules/src/testing/graphql.ts b/packages/graphql-modules/src/testing/graphql.ts index fb6e49b045..27d98ab49d 100644 --- a/packages/graphql-modules/src/testing/graphql.ts +++ b/packages/graphql-modules/src/testing/graphql.ts @@ -1,7 +1,7 @@ import type { DocumentNode, ExecutionArgs, ExecutionResult } from 'graphql'; import type { TypedDocumentNode } from '@graphql-typed-document-node/core'; -import type { Application, OperationController } from '../application/types'; -import type { ValueOrPromise } from '../shared/types'; +import type { Application, OperationController } from '../application/types.js'; +import type { ValueOrPromise } from '../shared/types.js'; export function execute< TResult = { [key: string]: any }, diff --git a/packages/graphql-modules/src/testing/index.ts b/packages/graphql-modules/src/testing/index.ts index 79be1a3e2f..c10ddb8e40 100644 --- a/packages/graphql-modules/src/testing/index.ts +++ b/packages/graphql-modules/src/testing/index.ts @@ -1,8 +1,8 @@ -import { mockApplication } from './test-application'; -import { testModule, mockModule } from './test-module'; -import { testInjector, readProviderOptions } from './test-injector'; -import { execute } from './graphql'; -import { provideEmpty } from './di'; +import { mockApplication } from './test-application.js'; +import { testModule, mockModule } from './test-module.js'; +import { testInjector, readProviderOptions } from './test-injector.js'; +import { execute } from './graphql.js'; +import { provideEmpty } from './di.js'; export const testkit = { mockApplication, diff --git a/packages/graphql-modules/src/testing/test-application.ts b/packages/graphql-modules/src/testing/test-application.ts index 2face6b984..167fe56215 100644 --- a/packages/graphql-modules/src/testing/test-application.ts +++ b/packages/graphql-modules/src/testing/test-application.ts @@ -2,10 +2,10 @@ import { Application, ApplicationConfig, MockedApplication, -} from '../application/types'; -import { Provider } from '../di'; -import { MockedModule } from '../module/types'; -import { share } from '../shared/utils'; +} from '../application/types.js'; +import { Provider } from '../di/index.js'; +import { MockedModule } from '../module/types.js'; +import { share } from '../shared/utils.js'; export function mockApplication(app: Application): MockedApplication { function mockedFactory(newConfig?: ApplicationConfig): MockedApplication { diff --git a/packages/graphql-modules/src/testing/test-injector.ts b/packages/graphql-modules/src/testing/test-injector.ts index 0eab2e3f5a..000670fefc 100644 --- a/packages/graphql-modules/src/testing/test-injector.ts +++ b/packages/graphql-modules/src/testing/test-injector.ts @@ -1,7 +1,7 @@ -import { Injector, ReflectiveInjector } from '../di/injector'; -import { Provider, TypeProvider } from '../di/providers'; -import { CONTEXT } from '../application/tokens'; -import { readInjectableMetadata } from '../di/metadata'; +import { Injector, ReflectiveInjector } from '../di/injector.js'; +import { Provider, TypeProvider } from '../di/providers.js'; +import { CONTEXT } from '../application/tokens.js'; +import { readInjectableMetadata } from '../di/metadata.js'; export function testInjector(providers: Provider[]): Injector { const resolvedProviders = ReflectiveInjector.resolve([ diff --git a/packages/graphql-modules/src/testing/test-module.ts b/packages/graphql-modules/src/testing/test-module.ts index b80d97e511..7c039fcdb3 100644 --- a/packages/graphql-modules/src/testing/test-module.ts +++ b/packages/graphql-modules/src/testing/test-module.ts @@ -20,11 +20,11 @@ import { ScalarTypeExtensionNode, NamedTypeNode, } from 'graphql'; -import { moduleFactory } from '../module/factory'; -import { createApplication } from '../application/application'; -import { ApplicationConfig } from '../application/types'; -import { MockedModule, Module, ModuleConfig } from '../module/types'; -import { createModule } from '../module/module'; +import { moduleFactory } from '../module/factory.js'; +import { createApplication } from '../application/application.js'; +import { ApplicationConfig } from '../application/types.js'; +import { MockedModule, Module, ModuleConfig } from '../module/types.js'; +import { createModule } from '../module/module.js'; type TestModuleConfig = { replaceExtensions?: boolean; diff --git a/packages/graphql-modules/tests/bootstrap.spec.ts b/packages/graphql-modules/tests/bootstrap.spec.ts index 0673766edb..17e729b995 100644 --- a/packages/graphql-modules/tests/bootstrap.spec.ts +++ b/packages/graphql-modules/tests/bootstrap.spec.ts @@ -1,7 +1,7 @@ import 'reflect-metadata'; import { makeExecutableSchema } from '@graphql-tools/schema'; -import { createApplication, createModule, testkit, gql } from '../src'; -import { NonDocumentNodeError } from '../src/shared/errors'; +import { createApplication, createModule, testkit, gql } from '../src/index.js'; +import { NonDocumentNodeError } from '../src/shared/errors.js'; test('fail when modules have non-unique ids', async () => { const modFoo = createModule({ diff --git a/packages/graphql-modules/tests/context.spec.ts b/packages/graphql-modules/tests/context.spec.ts index 6fd7f75b6b..c2a78351dc 100644 --- a/packages/graphql-modules/tests/context.spec.ts +++ b/packages/graphql-modules/tests/context.spec.ts @@ -8,7 +8,7 @@ import { Scope, gql, testkit, -} from '../src'; +} from '../src/index.js'; test('Global context and module context should be reachable', async () => { const constructorSpy = jest.fn(); diff --git a/packages/graphql-modules/tests/di-errors.spec.ts b/packages/graphql-modules/tests/di-errors.spec.ts index c7e71ce0cf..0be557c577 100644 --- a/packages/graphql-modules/tests/di-errors.spec.ts +++ b/packages/graphql-modules/tests/di-errors.spec.ts @@ -5,9 +5,15 @@ import { Injectable, Inject, forwardRef, -} from '../src/di'; -import { createApplication, createModule, Scope, gql, testkit } from '../src'; -import { stringify } from '../src/di/utils'; +} from '../src/di/index.js'; +import { + createApplication, + createModule, + Scope, + gql, + testkit, +} from '../src/index.js'; +import { stringify } from '../src/di/utils.js'; test('No Injectable error', () => { class NoAnnotations { diff --git a/packages/graphql-modules/tests/di-hooks.spec.ts b/packages/graphql-modules/tests/di-hooks.spec.ts index 969c4cdd51..9b96d49cf0 100644 --- a/packages/graphql-modules/tests/di-hooks.spec.ts +++ b/packages/graphql-modules/tests/di-hooks.spec.ts @@ -7,7 +7,7 @@ import { ExecutionContext, gql, testkit, -} from '../src'; +} from '../src/index.js'; const posts = ['Foo', 'Bar']; diff --git a/packages/graphql-modules/tests/di-providers.spec.ts b/packages/graphql-modules/tests/di-providers.spec.ts index a9942ab3b6..6ff03bc36b 100644 --- a/packages/graphql-modules/tests/di-providers.spec.ts +++ b/packages/graphql-modules/tests/di-providers.spec.ts @@ -10,9 +10,9 @@ import { Scope, gql, testkit, -} from '../src'; +} from '../src/index.js'; import { execute } from 'graphql'; -import { ExecutionContext } from '../src/di'; +import { ExecutionContext } from '../src/di/index.js'; const Test = new InjectionToken('test'); diff --git a/packages/graphql-modules/tests/execution-context.spec.ts b/packages/graphql-modules/tests/execution-context.spec.ts index a41ac30bb8..edac54d2de 100644 --- a/packages/graphql-modules/tests/execution-context.spec.ts +++ b/packages/graphql-modules/tests/execution-context.spec.ts @@ -10,7 +10,7 @@ import { testkit, CONTEXT, Inject, -} from '../src'; +} from '../src/index.js'; import { compileQuery, isCompiledQuery } from 'graphql-jit'; const posts = ['Foo', 'Bar']; diff --git a/packages/graphql-modules/tests/federation.spec.ts b/packages/graphql-modules/tests/federation.spec.ts index f3b937ca2b..b9caccbdde 100644 --- a/packages/graphql-modules/tests/federation.spec.ts +++ b/packages/graphql-modules/tests/federation.spec.ts @@ -1,6 +1,6 @@ import 'reflect-metadata'; import { mergeResolvers } from '@graphql-tools/merge'; -import { createApplication, createModule, gql } from '../src'; +import { createApplication, createModule, gql } from '../src/index.js'; import { versionInfo } from 'graphql'; describe('federation', () => { diff --git a/packages/graphql-modules/tests/middleware-generic.spec.ts b/packages/graphql-modules/tests/middleware-generic.spec.ts index ad29eaff73..db5b893aa4 100644 --- a/packages/graphql-modules/tests/middleware-generic.spec.ts +++ b/packages/graphql-modules/tests/middleware-generic.spec.ts @@ -1,4 +1,4 @@ -import { compose, Middleware } from '../src/shared/middleware'; +import { compose, Middleware } from '../src/shared/middleware.js'; function wait(ms: number) { return new Promise((resolve) => setTimeout(resolve, ms || 1)); diff --git a/packages/graphql-modules/tests/middleware-resolvers.spec.ts b/packages/graphql-modules/tests/middleware-resolvers.spec.ts index 5fb91e3ca4..055261bef4 100644 --- a/packages/graphql-modules/tests/middleware-resolvers.spec.ts +++ b/packages/graphql-modules/tests/middleware-resolvers.spec.ts @@ -2,8 +2,8 @@ import { mergeMiddlewareMaps, createMiddleware, Middleware, -} from '../src/shared/middleware'; -import { createApplication, createModule, gql, testkit } from '../src'; +} from '../src/shared/middleware.js'; +import { createApplication, createModule, gql, testkit } from '../src/index.js'; test('should pick * middlewares before field and before type', async () => { const order: string[] = []; diff --git a/packages/graphql-modules/tests/operation-controller.spec.ts b/packages/graphql-modules/tests/operation-controller.spec.ts index 5a727882f2..36c2294d86 100644 --- a/packages/graphql-modules/tests/operation-controller.spec.ts +++ b/packages/graphql-modules/tests/operation-controller.spec.ts @@ -7,7 +7,7 @@ import { Injectable, Scope, OnDestroy, -} from '../src'; +} from '../src/index.js'; test('should share context and injection', async () => { @Injectable({ scope: Scope.Operation }) diff --git a/packages/graphql-modules/tests/subscription.spec.ts b/packages/graphql-modules/tests/subscription.spec.ts index cca1b7a28f..1e3acff1e3 100644 --- a/packages/graphql-modules/tests/subscription.spec.ts +++ b/packages/graphql-modules/tests/subscription.spec.ts @@ -5,7 +5,7 @@ import { Injectable, Scope, gql, -} from '../src'; +} from '../src/index.js'; import { PubSub } from 'graphql-subscriptions'; import { ExecutionResult } from 'graphql'; diff --git a/packages/graphql-modules/tests/testing.spec.ts b/packages/graphql-modules/tests/testing.spec.ts index 9405e4c4e9..a671f9876b 100644 --- a/packages/graphql-modules/tests/testing.spec.ts +++ b/packages/graphql-modules/tests/testing.spec.ts @@ -12,7 +12,7 @@ import { InjectionToken, CONTEXT, Scope, -} from '../src'; +} from '../src/index.js'; describe('testModule', () => { test('should replace extensions with definitions on demand', () => { @@ -424,16 +424,14 @@ describe('execute', () => { }); const app = createApplication({ modules: [mod] }); - const query: TypedDocumentNode< - { foo: { id: string } }, - { id: string } - > = gql` - query getFoo($id: String!) { - foo(id: $id) { - id + const query: TypedDocumentNode<{ foo: { id: string } }, { id: string }> = + gql` + query getFoo($id: String!) { + foo(id: $id) { + id + } } - } - `; + `; const result = await testkit.execute(app, { document: query, diff --git a/packages/graphql-modules/tests/third-parties.spec.ts b/packages/graphql-modules/tests/third-parties.spec.ts index a292141327..fcd4708b8f 100644 --- a/packages/graphql-modules/tests/third-parties.spec.ts +++ b/packages/graphql-modules/tests/third-parties.spec.ts @@ -5,7 +5,7 @@ import { gql, Injectable, Scope, -} from '../src'; +} from '../src/index.js'; import { ApolloServer } from 'apollo-server-express'; describe('Apollo Server', () => { From 001019f1145ec13c3ec99f68b6174431e002188b Mon Sep 17 00:00:00 2001 From: Raul de Melo Date: Mon, 11 Dec 2023 06:53:28 -0300 Subject: [PATCH 3/3] add changeset --- .changeset/chilly-fans-dress.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .changeset/chilly-fans-dress.md diff --git a/.changeset/chilly-fans-dress.md b/.changeset/chilly-fans-dress.md new file mode 100644 index 0000000000..1e230b1d95 --- /dev/null +++ b/.changeset/chilly-fans-dress.md @@ -0,0 +1,7 @@ +--- +'graphql-modules': major +--- + +upgrade bundler to latest version + +The latest version of `bob-the-bundler` has a better support to ESM, fix type declaration for `exports` statement, and more.