From 9d35071b7563fe75ca7b48ea82538500373b8077 Mon Sep 17 00:00:00 2001 From: muxiangqiu Date: Mon, 7 Oct 2024 20:57:12 +0800 Subject: [PATCH] =?UTF-8?q?-=20chore:=20=E5=8D=87=E7=BA=A7=20typescript=20?= =?UTF-8?q?=E7=AD=89=E5=9F=BA=E7=A1=80=E6=9E=84=E5=BB=BA=E5=B7=A5=E5=85=B7?= =?UTF-8?q?=E4=BE=9D=E8=B5=96=20-=20feat(ai-ollama):=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E6=96=B0=E7=BB=84=E4=BB=B6=20`@celljs/ai-ollama`=EF=BC=8C?= =?UTF-8?q?=E6=94=AF=E6=8C=81=20Ollama=20=E9=80=9A=E7=94=A8=E8=83=BD?= =?UTF-8?q?=E5=8A=9B=20-=20chore:=20=E5=8D=87=E7=BA=A7=E5=B9=B6=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=20TypeDoc=20=E6=96=87=E6=A1=A3=20-=20feat(core):=20?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20Assert=20=E5=B7=A5=E5=85=B7=E7=B1=BB?= =?UTF-8?q?=E5=92=8C=20MimeType=20=E7=9B=B8=E5=85=B3=E7=9A=84=E5=B7=A5?= =?UTF-8?q?=E5=85=B7=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 74 +- CHANGELOG.md | 11 + ai-packages/ai-core/.eslintrc.js | 2 +- .../src/common/chat/model/chat-protocol.ts | 3 + .../common/embedding/embedding-protocol.ts | 153 ++ .../ai-core/src/common/embedding/index.ts | 1 + ai-packages/ai-core/src/common/index.ts | 1 + ai-packages/ai-core/src/common/model/index.ts | 1 + .../src/common/model/model-protocol.ts | 3 + ai-packages/ai-core/tsconfig.json | 19 + ai-packages/ai-core/typedoc.json | 8 + ai-packages/ai-ollama/.eslintrc.js | 10 + ai-packages/ai-ollama/README.md | 1 + ai-packages/ai-ollama/package.json | 45 + .../ai-ollama/src/common/api/api-protocol.ts | 499 +++++ ai-packages/ai-ollama/src/common/api/index.ts | 2 + .../ai-ollama/src/common/api/ollama-api.ts | 30 + ai-packages/ai-ollama/src/common/index.ts | 1 + ai-packages/ai-ollama/src/common/module.ts | 4 + .../ai-ollama/src/common/utils/index.ts | 0 ai-packages/ai-ollama/src/package.spec.ts | 4 + .../ai-ollama/tsconfig.json | 7 +- ai-packages/ai-ollama/typedoc.json | 8 + cloud-packages/cloud/.eslintrc.js | 2 +- .../cloud/tsconfig.json | 2 +- cloud-packages/cloud/typedoc.json | 9 + cloud-packages/cos/.eslintrc.js | 2 +- cloud-packages/cos/tsconfig.json | 19 + cloud-packages/cos/typedoc.json | 8 + cloud-packages/faas-adapter/.eslintrc.js | 2 +- .../faas-adapter/compile.tsconfig.json | 31 - .../faas-adapter/tsconfig.json | 13 +- cloud-packages/faas-adapter/typedoc.json | 8 + cloud-packages/fc-adapter/.eslintrc.js | 2 +- .../fc-adapter/compile.tsconfig.json | 25 - .../fc-adapter/tsconfig.json | 9 +- cloud-packages/fc-adapter/typedoc.json | 8 + cloud-packages/lambda-adapter/.eslintrc.js | 2 +- .../lambda-adapter/compile.tsconfig.json | 26 - .../lambda-adapter/tsconfig.json | 10 +- cloud-packages/lambda-adapter/typedoc.json | 8 + cloud-packages/oss/.eslintrc.js | 2 +- cloud-packages/oss/tsconfig.json | 19 + cloud-packages/oss/typedoc.json | 8 + cloud-packages/s3/.eslintrc.js | 2 +- cloud-packages/s3/tsconfig.json | 19 + cloud-packages/s3/typedoc.json | 8 + cloud-packages/scf-adapter/.eslintrc.js | 2 +- .../scf-adapter/compile.tsconfig.json | 26 - .../scf-adapter/tsconfig.json | 10 +- cloud-packages/scf-adapter/typedoc.json | 8 + cloud-packages/vercel-adapter/.eslintrc.js | 2 +- .../vercel-adapter/compile.tsconfig.json | 25 - cloud-packages/vercel-adapter/tsconfig.json | 25 + cloud-packages/vercel-adapter/typedoc.json | 8 + configs/root-compilation.tsconfig.json | 188 -- configs/typedoc.base.jsonc | 9 + configs/typedoc.json | 38 +- dev-packages/cli-common/.eslintrc.js | 2 +- dev-packages/cli-common/package.json | 2 +- .../cli-common/tsconfig.json | 2 +- dev-packages/cli-common/typedoc.json | 8 + dev-packages/cli-runtime/.eslintrc.js | 2 +- dev-packages/cli-runtime/tsconfig.json | 19 + dev-packages/cli-runtime/typedoc.json | 8 + dev-packages/cli-service/.eslintrc.js | 2 +- dev-packages/cli-service/package.json | 2 +- dev-packages/cli-service/src/index.ts | 1 + .../cli-service/tsconfig.json | 2 +- dev-packages/cli-service/typedoc.json | 8 + dev-packages/cli/.eslintrc.js | 2 +- .../cli/templates/accounts/package.json | 2 +- .../cli/templates/admin-app/package.json | 2 +- .../cli/templates/database-app/package.json | 2 +- .../monorepo/packages/core/.eslintrc.js | 2 +- .../{compile.tsconfig.json => tsconfig.json} | 0 dev-packages/cli/templates/mycli/package.json | 2 +- .../cli/templates/standalone-app/package.json | 2 +- .../tsconfig.json} | 7 +- dev-packages/cli/typedoc.json | 8 + .../component/configs/base.tsconfig.json | 12 +- .../component/configs/errors.eslintrc.json | 14 +- dev-packages/component/package.json | 16 +- dev-packages/compression/.eslintrc.js | 2 +- .../compression/compile.tsconfig.json | 19 - dev-packages/compression/tsconfig.json | 19 + dev-packages/eslint/.eslintrc.js | 2 +- dev-packages/eslint/compile.tsconfig.json | 19 - dev-packages/eslint/tsconfig.json | 19 + dev-packages/frameworks/.eslintrc.js | 2 +- .../{compile.tsconfig.json => tsconfig.json} | 0 dev-packages/frameworks/typedoc.json | 8 + dev-packages/pwa/.eslintrc.js | 2 +- dev-packages/pwa/compile.tsconfig.json | 19 - dev-packages/pwa/tsconfig.json | 19 + dev-packages/testing/.eslintrc.js | 2 +- .../testing/tsconfig.json | 2 +- dev-packages/testing/typedoc.json | 8 + examples/accounts/package.json | 2 +- examples/accounts/tsconfig.json | 41 +- examples/admin-app/package.json | 2 +- examples/admin-app/tsconfig.json | 29 +- examples/adonis-app/package.json | 2 +- examples/adonis-app/tsconfig.json | 5 +- examples/backend-app/tsconfig.json | 17 +- examples/docker-app/tsconfig.json | 20 +- examples/jwt-app/src/error-handler.ts | 2 +- examples/jwt-app/src/jwt-middleware.ts | 2 +- examples/jwt-app/tsconfig.json | 23 +- examples/mycli/package.json | 2 +- examples/mycli/tsconfig.json | 11 +- examples/prisma-app/package.json | 2 +- examples/prisma-app/tsconfig.json | 20 +- examples/sample-app/tsconfig.json | 23 +- examples/schedule/tsconfig.json | 17 +- examples/security-app/tsconfig.json | 17 +- examples/standalone-app/package.json | 2 +- examples/standalone-app/tsconfig.json | 8 +- package.json | 8 +- packages/cache/.eslintrc.js | 2 +- packages/cache/compile.tsconfig.json | 16 - packages/cache/tsconfig.json | 16 + packages/cache/typedoc.json | 8 + packages/config/.eslintrc.js | 2 +- packages/config/compile.tsconfig.json | 16 - packages/config/tsconfig.json | 16 + packages/config/typedoc.json | 8 + packages/core/.eslintrc.js | 2 +- .../error/{cutom-error.ts => custom-error.ts} | 0 .../core/src/common/error/error-protocol.ts | 2 +- .../common/error/illegal-argument-error.ts | 2 +- .../src/common/error/illegal-state-error.ts | 5 + packages/core/src/common/error/index.ts | 4 +- .../common/error/invalid-mime-type-error.ts | 7 + packages/core/src/common/utils/assert.ts | 300 +++ packages/core/src/common/utils/index.ts | 3 + .../core/src/common/utils/mime-type-util.ts | 180 ++ packages/core/src/common/utils/mime-type.ts | 276 +++ packages/core/src/common/utils/os.ts | 4 +- .../{compile.tsconfig.json => tsconfig.json} | 0 packages/core/typedoc.json | 10 + packages/elasticsearch/.eslintrc.js | 2 +- packages/elasticsearch/tsconfig.json | 16 + packages/elasticsearch/typedoc.json | 8 + packages/express-adapter/.eslintrc.js | 2 +- .../express-adapter/tsconfig.json | 5 +- packages/express-adapter/typedoc.json | 8 + packages/http/.eslintrc.js | 2 +- packages/http/src/common/http/http-headers.ts | 120 +- packages/http/tsconfig.json | 16 + packages/http/typedoc.json | 8 + packages/jwt/.eslintrc.js | 2 +- packages/jwt/tsconfig.json | 16 + packages/jwt/typedoc.json | 8 + packages/logger/.eslintrc.js | 2 +- .../logger/tsconfig.json | 5 +- packages/logger/typedoc.json | 8 + packages/mvc/.eslintrc.js | 2 +- .../tsconfig.json} | 7 +- packages/mvc/typedoc.json | 9 + packages/oauth2-client/.eslintrc.js | 2 +- packages/oauth2-client/compile.tsconfig.json | 31 - .../tsconfig.json} | 14 +- packages/oauth2-client/typedoc.json | 8 + packages/oauth2-core/.eslintrc.js | 2 +- .../src/node/endpoint/endpoint-protocol.ts | 6 +- .../src/node/error/error-protocol.ts | 24 +- .../src/node/oidc/oidc-protocol.ts | 56 +- .../src/node/token/token-protocol.ts | 24 +- .../tsconfig.json} | 7 +- packages/oauth2-core/typedoc.json | 8 + packages/oauth2-jose/.eslintrc.js | 2 +- .../tsconfig.json} | 7 +- packages/oauth2-jose/typedoc.json | 8 + packages/oidc-provider/.eslintrc.js | 2 +- .../oidc-provider/tsconfig.json | 5 +- packages/oidc-provider/typedoc.json | 8 + packages/puppeteer/.eslintrc.js | 2 +- packages/puppeteer/compile.tsconfig.json | 22 - .../puppeteer/tsconfig.json | 7 +- packages/puppeteer/typedoc.json | 8 + packages/retry/.eslintrc.js | 2 +- packages/retry/compile.tsconfig.json | 16 - packages/retry/tsconfig.json | 16 + packages/retry/typedoc.json | 8 + packages/rpc-core/.eslintrc.js | 2 +- packages/rpc-core/compile.tsconfig.json | 16 - packages/rpc-core/tsconfig.json | 16 + packages/rpc-core/typedoc.json | 8 + packages/rpc/.eslintrc.js | 2 +- packages/rpc/tsconfig.json | 22 + packages/rpc/typedoc.json | 9 + packages/schedule/.eslintrc.js | 2 +- packages/schedule/compile.tsconfig.json | 16 - packages/schedule/tsconfig.json | 16 + packages/schedule/typedoc.json | 8 + packages/security/.eslintrc.js | 2 +- packages/security/tsconfig.json | 22 + packages/security/typedoc.json | 10 + packages/serve-static/.eslintrc.js | 2 +- .../serve-static/src/node/serve-static.ts | 2 +- .../tsconfig.json} | 9 +- packages/serve-static/typedoc.json | 8 + packages/typeorm/.eslintrc.js | 2 +- packages/typeorm/compile.tsconfig.json | 19 - packages/typeorm/tsconfig.json | 19 + packages/typeorm/typedoc.json | 10 + packages/web/.eslintrc.js | 2 +- packages/web/compile.tsconfig.json | 22 - .../web/tsconfig.json | 7 +- packages/web/typedoc.json | 10 + plugins/adonis-plugin/.eslintrc.js | 2 +- plugins/adonis-plugin/compile.tsconfig.json | 19 - plugins/adonis-plugin/tsconfig.json | 19 + plugins/cloud-plugin/.eslintrc.js | 2 +- plugins/cloud-plugin/compile.tsconfig.json | 19 - plugins/cloud-plugin/tsconfig.json | 19 + plugins/code-loader-plugin/.eslintrc.js | 2 +- .../code-loader-plugin/compile.tsconfig.json | 16 - plugins/code-loader-plugin/tsconfig.json | 16 + plugins/code-loader-plugin/typedoc.json | 8 + plugins/fc-plugin/.eslintrc.js | 2 +- plugins/fc-plugin/compile.tsconfig.json | 22 - .../fc-plugin/tsconfig.json | 7 +- plugins/fc3-plugin/.eslintrc.js | 2 +- plugins/fc3-plugin/compile.tsconfig.json | 22 - plugins/fc3-plugin/tsconfig.json | 22 + plugins/lambda-plugin/.eslintrc.js | 2 +- plugins/lambda-plugin/compile.tsconfig.json | 22 - plugins/lambda-plugin/tsconfig.json | 22 + plugins/next-plugin/.eslintrc.js | 2 +- plugins/next-plugin/compile.tsconfig.json | 19 - plugins/next-plugin/tsconfig.json | 19 + plugins/node-plugin/.eslintrc.js | 2 +- plugins/node-plugin/compile.tsconfig.json | 19 - plugins/node-plugin/tsconfig.json | 19 + plugins/python-plugin/.eslintrc.js | 2 +- plugins/python-plugin/compile.tsconfig.json | 16 - plugins/python-plugin/tsconfig.json | 16 + plugins/scf-plugin/.eslintrc.js | 2 +- plugins/scf-plugin/compile.tsconfig.json | 22 - plugins/scf-plugin/tsconfig.json | 22 + plugins/static-plugin/.eslintrc.js | 2 +- plugins/static-plugin/compile.tsconfig.json | 19 - plugins/static-plugin/tsconfig.json | 19 + scripts/compile-references.js | 270 +-- tsconfig.json | 516 ++--- ui-packages/antd/.eslintrc.js | 2 +- ui-packages/antd/compile.tsconfig.json | 19 - ui-packages/antd/tsconfig.json | 19 + ui-packages/antd/typedoc.json | 8 + ui-packages/grommet/.eslintrc.js | 2 +- ui-packages/grommet/compile.tsconfig.json | 22 - ui-packages/grommet/tsconfig.json | 22 + ui-packages/grommet/typedoc.json | 8 + ui-packages/material-ui/.eslintrc.js | 2 +- ui-packages/material-ui/compile.tsconfig.json | 19 - ui-packages/material-ui/tsconfig.json | 19 + ui-packages/material-ui/typedoc.json | 8 + ui-packages/react/.eslintrc.js | 2 +- ui-packages/react/compile.tsconfig.json | 25 - .../react/tsconfig.json | 9 +- ui-packages/react/typedoc.json | 8 + ui-packages/shell/.eslintrc.js | 2 +- ui-packages/shell/tsconfig.json | 28 + ui-packages/shell/typedoc.json | 10 + ui-packages/vue/.eslintrc.js | 2 +- ui-packages/vue/compile.tsconfig.json | 22 - .../vue/tsconfig.json | 6 +- ui-packages/vue/typedoc.json | 8 + ui-packages/widget/.eslintrc.js | 2 +- ui-packages/widget/compile.tsconfig.json | 16 - ui-packages/widget/tsconfig.json | 16 + ui-packages/widget/typedoc.json | 8 + yarn.lock | 1890 +++++++++++++---- 275 files changed, 4935 insertions(+), 2181 deletions(-) create mode 100644 ai-packages/ai-core/src/common/embedding/embedding-protocol.ts create mode 100644 ai-packages/ai-core/src/common/embedding/index.ts create mode 100644 ai-packages/ai-core/tsconfig.json create mode 100644 ai-packages/ai-core/typedoc.json create mode 100644 ai-packages/ai-ollama/.eslintrc.js create mode 100644 ai-packages/ai-ollama/README.md create mode 100644 ai-packages/ai-ollama/package.json create mode 100644 ai-packages/ai-ollama/src/common/api/api-protocol.ts create mode 100644 ai-packages/ai-ollama/src/common/api/index.ts create mode 100644 ai-packages/ai-ollama/src/common/api/ollama-api.ts create mode 100644 ai-packages/ai-ollama/src/common/index.ts create mode 100644 ai-packages/ai-ollama/src/common/module.ts create mode 100644 ai-packages/ai-ollama/src/common/utils/index.ts create mode 100644 ai-packages/ai-ollama/src/package.spec.ts rename cloud-packages/cos/compile.tsconfig.json => ai-packages/ai-ollama/tsconfig.json (67%) create mode 100644 ai-packages/ai-ollama/typedoc.json rename dev-packages/testing/compile.tsconfig.json => cloud-packages/cloud/tsconfig.json (83%) create mode 100644 cloud-packages/cloud/typedoc.json create mode 100644 cloud-packages/cos/tsconfig.json create mode 100644 cloud-packages/cos/typedoc.json delete mode 100644 cloud-packages/faas-adapter/compile.tsconfig.json rename ui-packages/shell/compile.tsconfig.json => cloud-packages/faas-adapter/tsconfig.json (50%) create mode 100644 cloud-packages/faas-adapter/typedoc.json delete mode 100644 cloud-packages/fc-adapter/compile.tsconfig.json rename packages/rpc/compile.tsconfig.json => cloud-packages/fc-adapter/tsconfig.json (63%) create mode 100644 cloud-packages/fc-adapter/typedoc.json delete mode 100644 cloud-packages/lambda-adapter/compile.tsconfig.json rename dev-packages/cli/compile.tsconfig.json => cloud-packages/lambda-adapter/tsconfig.json (60%) create mode 100644 cloud-packages/lambda-adapter/typedoc.json create mode 100644 cloud-packages/oss/tsconfig.json create mode 100644 cloud-packages/oss/typedoc.json create mode 100644 cloud-packages/s3/tsconfig.json create mode 100644 cloud-packages/s3/typedoc.json delete mode 100644 cloud-packages/scf-adapter/compile.tsconfig.json rename packages/oauth2-core/compile.tsconfig.json => cloud-packages/scf-adapter/tsconfig.json (60%) create mode 100644 cloud-packages/scf-adapter/typedoc.json delete mode 100644 cloud-packages/vercel-adapter/compile.tsconfig.json create mode 100644 cloud-packages/vercel-adapter/tsconfig.json create mode 100644 cloud-packages/vercel-adapter/typedoc.json delete mode 100644 configs/root-compilation.tsconfig.json create mode 100644 configs/typedoc.base.jsonc rename packages/http/compile.tsconfig.json => dev-packages/cli-common/tsconfig.json (82%) create mode 100644 dev-packages/cli-common/typedoc.json create mode 100644 dev-packages/cli-runtime/tsconfig.json create mode 100644 dev-packages/cli-runtime/typedoc.json rename packages/elasticsearch/compile.tsconfig.json => dev-packages/cli-service/tsconfig.json (82%) create mode 100644 dev-packages/cli-service/typedoc.json rename dev-packages/cli/templates/monorepo/packages/core/{compile.tsconfig.json => tsconfig.json} (100%) rename dev-packages/{cli-runtime/compile.tsconfig.json => cli/tsconfig.json} (69%) create mode 100644 dev-packages/cli/typedoc.json delete mode 100644 dev-packages/compression/compile.tsconfig.json create mode 100644 dev-packages/compression/tsconfig.json delete mode 100644 dev-packages/eslint/compile.tsconfig.json create mode 100644 dev-packages/eslint/tsconfig.json rename dev-packages/frameworks/{compile.tsconfig.json => tsconfig.json} (100%) create mode 100644 dev-packages/frameworks/typedoc.json delete mode 100644 dev-packages/pwa/compile.tsconfig.json create mode 100644 dev-packages/pwa/tsconfig.json rename packages/jwt/compile.tsconfig.json => dev-packages/testing/tsconfig.json (82%) create mode 100644 dev-packages/testing/typedoc.json delete mode 100644 packages/cache/compile.tsconfig.json create mode 100644 packages/cache/tsconfig.json create mode 100644 packages/cache/typedoc.json delete mode 100644 packages/config/compile.tsconfig.json create mode 100644 packages/config/tsconfig.json create mode 100644 packages/config/typedoc.json rename packages/core/src/common/error/{cutom-error.ts => custom-error.ts} (100%) create mode 100644 packages/core/src/common/error/illegal-state-error.ts create mode 100644 packages/core/src/common/error/invalid-mime-type-error.ts create mode 100644 packages/core/src/common/utils/assert.ts create mode 100644 packages/core/src/common/utils/mime-type-util.ts create mode 100644 packages/core/src/common/utils/mime-type.ts rename packages/core/{compile.tsconfig.json => tsconfig.json} (100%) create mode 100644 packages/core/typedoc.json create mode 100644 packages/elasticsearch/tsconfig.json create mode 100644 packages/elasticsearch/typedoc.json rename dev-packages/cli-common/compile.tsconfig.json => packages/express-adapter/tsconfig.json (78%) create mode 100644 packages/express-adapter/typedoc.json create mode 100644 packages/http/tsconfig.json create mode 100644 packages/http/typedoc.json create mode 100644 packages/jwt/tsconfig.json create mode 100644 packages/jwt/typedoc.json rename cloud-packages/cloud/compile.tsconfig.json => packages/logger/tsconfig.json (78%) create mode 100644 packages/logger/typedoc.json rename packages/{express-adapter/compile.tsconfig.json => mvc/tsconfig.json} (72%) create mode 100644 packages/mvc/typedoc.json delete mode 100644 packages/oauth2-client/compile.tsconfig.json rename packages/{serve-static/compile.tsconfig.json => oauth2-client/tsconfig.json} (55%) create mode 100644 packages/oauth2-client/typedoc.json rename packages/{logger/compile.tsconfig.json => oauth2-core/tsconfig.json} (72%) create mode 100644 packages/oauth2-core/typedoc.json rename packages/{oidc-provider/compile.tsconfig.json => oauth2-jose/tsconfig.json} (72%) create mode 100644 packages/oauth2-jose/typedoc.json rename dev-packages/cli-service/compile.tsconfig.json => packages/oidc-provider/tsconfig.json (78%) create mode 100644 packages/oidc-provider/typedoc.json delete mode 100644 packages/puppeteer/compile.tsconfig.json rename ai-packages/ai-core/compile.tsconfig.json => packages/puppeteer/tsconfig.json (65%) create mode 100644 packages/puppeteer/typedoc.json delete mode 100644 packages/retry/compile.tsconfig.json create mode 100644 packages/retry/tsconfig.json create mode 100644 packages/retry/typedoc.json delete mode 100644 packages/rpc-core/compile.tsconfig.json create mode 100644 packages/rpc-core/tsconfig.json create mode 100644 packages/rpc-core/typedoc.json create mode 100644 packages/rpc/tsconfig.json create mode 100644 packages/rpc/typedoc.json delete mode 100644 packages/schedule/compile.tsconfig.json create mode 100644 packages/schedule/tsconfig.json create mode 100644 packages/schedule/typedoc.json create mode 100644 packages/security/tsconfig.json create mode 100644 packages/security/typedoc.json rename packages/{mvc/compile.tsconfig.json => serve-static/tsconfig.json} (64%) create mode 100644 packages/serve-static/typedoc.json delete mode 100644 packages/typeorm/compile.tsconfig.json create mode 100644 packages/typeorm/tsconfig.json create mode 100644 packages/typeorm/typedoc.json delete mode 100644 packages/web/compile.tsconfig.json rename cloud-packages/s3/compile.tsconfig.json => packages/web/tsconfig.json (68%) create mode 100644 packages/web/typedoc.json delete mode 100644 plugins/adonis-plugin/compile.tsconfig.json create mode 100644 plugins/adonis-plugin/tsconfig.json delete mode 100644 plugins/cloud-plugin/compile.tsconfig.json create mode 100644 plugins/cloud-plugin/tsconfig.json delete mode 100644 plugins/code-loader-plugin/compile.tsconfig.json create mode 100644 plugins/code-loader-plugin/tsconfig.json create mode 100644 plugins/code-loader-plugin/typedoc.json delete mode 100644 plugins/fc-plugin/compile.tsconfig.json rename cloud-packages/oss/compile.tsconfig.json => plugins/fc-plugin/tsconfig.json (64%) delete mode 100644 plugins/fc3-plugin/compile.tsconfig.json create mode 100644 plugins/fc3-plugin/tsconfig.json delete mode 100644 plugins/lambda-plugin/compile.tsconfig.json create mode 100644 plugins/lambda-plugin/tsconfig.json delete mode 100644 plugins/next-plugin/compile.tsconfig.json create mode 100644 plugins/next-plugin/tsconfig.json delete mode 100644 plugins/node-plugin/compile.tsconfig.json create mode 100644 plugins/node-plugin/tsconfig.json delete mode 100644 plugins/python-plugin/compile.tsconfig.json create mode 100644 plugins/python-plugin/tsconfig.json delete mode 100644 plugins/scf-plugin/compile.tsconfig.json create mode 100644 plugins/scf-plugin/tsconfig.json delete mode 100644 plugins/static-plugin/compile.tsconfig.json create mode 100644 plugins/static-plugin/tsconfig.json delete mode 100644 ui-packages/antd/compile.tsconfig.json create mode 100644 ui-packages/antd/tsconfig.json create mode 100644 ui-packages/antd/typedoc.json delete mode 100644 ui-packages/grommet/compile.tsconfig.json create mode 100644 ui-packages/grommet/tsconfig.json create mode 100644 ui-packages/grommet/typedoc.json delete mode 100644 ui-packages/material-ui/compile.tsconfig.json create mode 100644 ui-packages/material-ui/tsconfig.json create mode 100644 ui-packages/material-ui/typedoc.json delete mode 100644 ui-packages/react/compile.tsconfig.json rename packages/oauth2-jose/compile.tsconfig.json => ui-packages/react/tsconfig.json (59%) create mode 100644 ui-packages/react/typedoc.json create mode 100644 ui-packages/shell/tsconfig.json create mode 100644 ui-packages/shell/typedoc.json delete mode 100644 ui-packages/vue/compile.tsconfig.json rename packages/security/compile.tsconfig.json => ui-packages/vue/tsconfig.json (64%) create mode 100644 ui-packages/vue/typedoc.json delete mode 100644 ui-packages/widget/compile.tsconfig.json create mode 100644 ui-packages/widget/tsconfig.json create mode 100644 ui-packages/widget/typedoc.json diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 04e8d4df42..8cf7c4e022 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,7 +20,7 @@ jobs: fail-fast: false matrix: os: [windows-2019, ubuntu-18.04, macos-10.15] - node: ['16.x'] + node: ['20.x'] runs-on: ${{ matrix.os }} timeout-minutes: 60 @@ -56,47 +56,47 @@ jobs: run: | yarn test - # publish: - # needs: build - # if: github.ref == 'refs/heads/main' && github.event_name != 'schedule' # We still publish the manually dispatched workflows: 'workflow_dispatch'. - # runs-on: ubuntu-18.04 + publish: + needs: build + if: github.ref == 'refs/heads/main' && github.event_name != 'schedule' # We still publish the manually dispatched workflows: 'workflow_dispatch'. + runs-on: ubuntu-18.04 - # The current approach is silly. We should be smarter and use `actions/upload-artifact` and `actions/download-artifact` instead of rebuilding - # everything from scratch again. (git checkout, Node.js install, yarn, etc.) It was not possible to share artifacts on Travis CI without an - # external storage (such as S3), so we did rebuild everything before the npm publish. We should overcome this limitation with GH Actions. + The current approach is silly. We should be smarter and use `actions/upload-artifact` and `actions/download-artifact` instead of rebuilding + everything from scratch again. (git checkout, Node.js install, yarn, etc.) It was not possible to share artifacts on Travis CI without an + external storage (such as S3), so we did rebuild everything before the npm publish. We should overcome this limitation with GH Actions. - # steps: - # - name: Checkout - # uses: actions/checkout@v2 - # with: - # fetch-depth: 0 # To fetch all history for all branches and tags. (Will be required for caching with lerna: https://github.com/markuplint/markuplint/pull/111) + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + fetch-depth: 0 # To fetch all history for all branches and tags. (Will be required for caching with lerna: https://github.com/markuplint/markuplint/pull/111) - # - name: Use Node.js 14.x - # uses: actions/setup-node@v1 - # with: - # node-version: '14.x' - # registry-url: 'https://registry.npmjs.org' + - name: Use Node.js 20.x + uses: actions/setup-node@v1 + with: + node-version: '20.x' + registry-url: 'https://registry.npmjs.org' - # - name: Use Python 3.x - # uses: actions/setup-python@v2 - # with: - # python-version: '3.x' + - name: Use Python 3.x + uses: actions/setup-python@v2 + with: + python-version: '3.x' - # - name: Pre-Publish + - name: Pre-Publish + run: | + yarn --skip-integrity-check --network-timeout 100000 + yarn docs + env: + NODE_OPTIONS: --max_old_space_size=4096 + + # - name: Publish NPM # run: | - # yarn --skip-integrity-check --network-timeout 100000 - # yarn docs + # yarn run publish # env: - # NODE_OPTIONS: --max_old_space_size=4096 + # NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} # The variable name comes from here: https://github.com/actions/setup-node/blob/70b9252472eee7495c93bb1588261539c3c2b98d/src/authutil.ts#L48 -# - name: Publish NPM -# run: | -# yarn run publish -# env: -# NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} # The variable name comes from here: https://github.com/actions/setup-node/blob/70b9252472eee7495c93bb1588261539c3c2b98d/src/authutil.ts#L48 - - # - name: Publish GH Pages - # uses: peaceiris/actions-gh-pages@v3 - # with: - # github_token: ${{ secrets.GITHUB_TOKEN }} - # publish_dir: ./gh-pages + - name: Publish GH Pages + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./gh-pages diff --git a/CHANGELOG.md b/CHANGELOG.md index 88e51e3921..0549c635d4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # Change +## 3.1.0 (待发布) + +- chore: 升级 typescript 等基础构建工具依赖 +- feat(ai-ollama): 添加新组件 `@celljs/ai-ollama`,支持 Ollama 通用能力 +- chore: 升级并修复 TypeDoc 文档 +- feat(core): 添加 Assert 工具类和 MimeType 相关的工具类 + +## 3.0.0 + +- chore: Malagu 改名为 CellJS + ## 2.60.3 - fix(cli-common): 修复组件判别逻辑错误 diff --git a/ai-packages/ai-core/.eslintrc.js b/ai-packages/ai-core/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/ai-packages/ai-core/.eslintrc.js +++ b/ai-packages/ai-core/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/ai-packages/ai-core/src/common/chat/model/chat-protocol.ts b/ai-packages/ai-core/src/common/chat/model/chat-protocol.ts index 51b6d71936..a7de38cd5e 100644 --- a/ai-packages/ai-core/src/common/chat/model/chat-protocol.ts +++ b/ai-packages/ai-core/src/common/chat/model/chat-protocol.ts @@ -2,6 +2,9 @@ import { Model, ModelResponse, ModelResult, StreamingModel } from '../../model/m import { AssistantMessage } from '../message'; import { Prompt } from '../prompt/prompt-protocol'; +export const StreamingChatModel = Symbol('StreamingChatModel'); +export const ChatModel = Symbol('ChatModel'); + /** * Represents a response returned by the AI. */ diff --git a/ai-packages/ai-core/src/common/embedding/embedding-protocol.ts b/ai-packages/ai-core/src/common/embedding/embedding-protocol.ts new file mode 100644 index 0000000000..a8f67e4a53 --- /dev/null +++ b/ai-packages/ai-core/src/common/embedding/embedding-protocol.ts @@ -0,0 +1,153 @@ +import { MimeType, MimeTypeUtils } from '@celljs/core'; +import { Usage } from '../chat/metadata/metadata-protocol'; +import { Model, ModelOptions, ModelRequest, ModelResponse, ModelResult, ResponseMetadata, ResultMetadata } from '../model/model-protocol'; + +export const EmbeddingModel = Symbol('EmbeddingModel'); + +/** + * Represents the metadata for an embedding result. + */ +export interface EmbeddingResultMetadata extends ResultMetadata { + /** + * The modality type of the source data used to generate the embedding. + */ + modalityType: ModalityType; + + /** + * The document ID associated with the embedding. + */ + documentId: string; + + /** + * The MIME type of the source data used to generate the embedding. + */ + mimeType: MimeType; + + /** + * The document data associated with the embedding. + */ + documentData: any; +} + +/** + * Enum representing the modality type of the source data. + */ +export enum ModalityType { + TEXT = 'TEXT', + IMAGE = 'IMAGE', + AUDIO = 'AUDIO', + VIDEO = 'VIDEO' +} + +/** + * Utility class for modality-related operations. + */ +export class ModalityUtils { + private static TEXT_MIME_TYPE = MimeTypeUtils.parseMimeType('text/*'); + private static IMAGE_MIME_TYPE = MimeTypeUtils.parseMimeType('image/*'); + private static VIDEO_MIME_TYPE = MimeTypeUtils.parseMimeType('video/*'); + private static AUDIO_MIME_TYPE = MimeTypeUtils.parseMimeType('audio/*'); + + /** + * Infers the {@link ModalityType} of the source data used to generate the + * embedding using the source data {@link MimeType}. + * @param mimeType the {@link MimeType} of the source data. + * @return Returns the {@link ModalityType} of the source data used to generate + * the embedding. + */ + public static getModalityType(mimeType: MimeType): ModalityType { + if (!mimeType) { + return ModalityType.TEXT; + } + + if (mimeType.isCompatibleWith(ModalityUtils.IMAGE_MIME_TYPE)) { + return ModalityType.IMAGE; + } else if (mimeType.isCompatibleWith(ModalityUtils.AUDIO_MIME_TYPE)) { + return ModalityType.AUDIO; + } else if (mimeType.isCompatibleWith(ModalityUtils.VIDEO_MIME_TYPE)) { + return ModalityType.VIDEO; + } else if (mimeType.isCompatibleWith(ModalityUtils.TEXT_MIME_TYPE)) { + return ModalityType.TEXT; + } + + throw new Error('Unsupported MimeType: ' + mimeType); + } +} + +/** + * Metadata for the embedding response. + */ +export interface EmbeddingResponseMetadata extends ResponseMetadata { + /** + * The model that handled the request. + */ + model: string; + + /** + * The AI provider specific metadata on API usage. + * @see Usage + */ + usage: Usage; +} + +/** + * Represents a single embedding vector. + */ +export interface Embedding extends ModelResult { + /** + * The embedding vector values. + */ + embedding: number[]; + + /** + * The embedding index in a list of embeddings. + */ + index: number; + + /** + * The metadata associated with the embedding. + */ + metadata: EmbeddingResultMetadata; +} + +export interface EmbeddingOptions extends ModelOptions { + + /** + * The name of the embedding model to use. + */ + model?: string; + + /** + * The dimensionality of the embedding vectors. + */ + dimensions?: number; +} + +export interface EmbeddingRequest extends ModelRequest { + /** + * The list of input strings for the embedding request. + */ + inputs: string[]; + + /** + * The options for the embedding request. + */ + options: EmbeddingOptions; +} + +/** + * Embedding response object. + */ +export interface EmbeddingResponse extends ModelResponse { + /** + * Embedding data. + */ + embeddings: Embedding[]; + + /** + * Embedding metadata. + */ + metadata: EmbeddingResponseMetadata; +} + +export interface EmbeddingModel extends Model {} diff --git a/ai-packages/ai-core/src/common/embedding/index.ts b/ai-packages/ai-core/src/common/embedding/index.ts new file mode 100644 index 0000000000..32a49bc2bb --- /dev/null +++ b/ai-packages/ai-core/src/common/embedding/index.ts @@ -0,0 +1 @@ +export * from './embedding-protocol'; diff --git a/ai-packages/ai-core/src/common/index.ts b/ai-packages/ai-core/src/common/index.ts index ff0bdccd0f..8263f2bb4f 100644 --- a/ai-packages/ai-core/src/common/index.ts +++ b/ai-packages/ai-core/src/common/index.ts @@ -1,3 +1,4 @@ export * from './chat'; export * from './model'; +export * from './embedding'; export * from './utils'; diff --git a/ai-packages/ai-core/src/common/model/index.ts b/ai-packages/ai-core/src/common/model/index.ts index ec236c1578..9c0e77fe33 100644 --- a/ai-packages/ai-core/src/common/model/index.ts +++ b/ai-packages/ai-core/src/common/model/index.ts @@ -1,2 +1,3 @@ export * from './model-protocol'; +export * from './function'; diff --git a/ai-packages/ai-core/src/common/model/model-protocol.ts b/ai-packages/ai-core/src/common/model/model-protocol.ts index c3044d2901..e64c7071e5 100644 --- a/ai-packages/ai-core/src/common/model/model-protocol.ts +++ b/ai-packages/ai-core/src/common/model/model-protocol.ts @@ -11,6 +11,9 @@ import { Media } from '../chat'; import { Observable } from 'rxjs'; +export const Model = Symbol('Model'); +export const StreamingModel = Symbol('StreamingModel'); + /** * Interface representing the customizable options for AI model interactions. This marker * interface allows for the specification of various settings and parameters that can diff --git a/ai-packages/ai-core/tsconfig.json b/ai-packages/ai-core/tsconfig.json new file mode 100644 index 0000000000..a4cd6b8204 --- /dev/null +++ b/ai-packages/ai-core/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "@celljs/component/configs/base.tsconfig.json", + "compilerOptions": { + "composite": true, + "rootDir": "src", + "outDir": "lib" + }, + "include": [ + "src" + ], + "references": [ + { + "path": "../../packages/core" + }, + { + "path": "../../packages/http" + } + ] +} diff --git a/ai-packages/ai-core/typedoc.json b/ai-packages/ai-core/typedoc.json new file mode 100644 index 0000000000..7c070f7c2b --- /dev/null +++ b/ai-packages/ai-core/typedoc.json @@ -0,0 +1,8 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/common/index.ts" + ], +} \ No newline at end of file diff --git a/ai-packages/ai-ollama/.eslintrc.js b/ai-packages/ai-ollama/.eslintrc.js new file mode 100644 index 0000000000..5c01e5e50f --- /dev/null +++ b/ai-packages/ai-ollama/.eslintrc.js @@ -0,0 +1,10 @@ +/** @type {import('eslint').Linter.Config} */ +module.exports = { + extends: [ + require.resolve('@celljs/component/configs/build.eslintrc.json') + ], + parserOptions: { + tsconfigRootDir: __dirname, + project: 'tsconfig.json' + } +}; \ No newline at end of file diff --git a/ai-packages/ai-ollama/README.md b/ai-packages/ai-ollama/README.md new file mode 100644 index 0000000000..94e3013a27 --- /dev/null +++ b/ai-packages/ai-ollama/README.md @@ -0,0 +1 @@ +# Cell - AI Ollama Component diff --git a/ai-packages/ai-ollama/package.json b/ai-packages/ai-ollama/package.json new file mode 100644 index 0000000000..bb60b92271 --- /dev/null +++ b/ai-packages/ai-ollama/package.json @@ -0,0 +1,45 @@ +{ + "name": "@celljs/ai-ollama", + "version": "3.0.0", + "description": "Ollama models support", + "main": "lib/common/index.js", + "typings": "lib/common/index.d.ts", + "dependencies": { + "@celljs/core": "3.0.0", + "@celljs/http": "3.0.0", + "@celljs/ai-core": "3.0.0", + "class-transformer": "^0.5.1", + "rxjs": "^6.6.0" + }, + "publishConfig": { + "access": "public" + }, + "keywords": [ + "cell-component" + ], + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/cellbang/cell.git" + }, + "bugs": { + "url": "https://github.com/cellbang/cell/issues" + }, + "homepage": "https://github.com/cellbang/cell", + "files": [ + "lib", + "src", + "cell.yml" + ], + "scripts": { + "lint": "cell-component lint", + "build": "cell-component build", + "watch": "cell-component watch", + "clean": "cell-component clean", + "test": "cell-component test:js" + }, + "devDependencies": { + "@celljs/component": "3.0.0" + }, + "gitHead": "bbf636b21ea1a347affcc05a5f6f58b35bedef6d" +} diff --git a/ai-packages/ai-ollama/src/common/api/api-protocol.ts b/ai-packages/ai-ollama/src/common/api/api-protocol.ts new file mode 100644 index 0000000000..3ee7ec736d --- /dev/null +++ b/ai-packages/ai-ollama/src/common/api/api-protocol.ts @@ -0,0 +1,499 @@ +import { ChatOptions, EmbeddingOptions, FunctionCallback, FunctionCallingOptions } from '@celljs/ai-core'; +import { Observable } from 'rxjs'; +import { Expose } from 'class-transformer'; + +export const OllamaAPI = Symbol('OllamaAPI'); + +/** + * Helper class for creating strongly-typed Ollama options. + */ +export class OllamaOptions implements FunctionCallingOptions, ChatOptions, EmbeddingOptions { + + /** + * Whether to use NUMA. (Default: false) + */ + @Expose({ name: 'numa' }) + useNUMA?: boolean; + + /** + * Sets the size of the context window used to generate the next token. (Default: 2048) + */ + numCtx?: number; + + /** + * Prompt processing maximum batch size. (Default: 512) + */ + numBatch?: number; + + /** + * The number of layers to send to the GPU(s). On macOS, it defaults to 1 + * to enable metal support, 0 to disable. + * (Default: -1, which indicates that numGPU should be set dynamically) + */ + numGPU?: number; + + /** + * When using multiple GPUs this option controls which GPU is used + * for small tensors for which the overhead of splitting the computation + * across all GPUs is not worthwhile. The GPU in question will use slightly + * more VRAM to store a scratch buffer for temporary results. + * By default, GPU 0 is used. + */ + mainGPU?: number; + + /** + * (Default: false) + */ + lowVRAM?: boolean; + + /** + * (Default: true) + */ + f16KV?: boolean; + + /** + * Return logits for all the tokens, not just the last one. + * To enable completions to return logprobs, this must be true. + */ + logitsAll?: boolean; + + /** + * Load only the vocabulary, not the weights. + */ + vocabOnly?: boolean; + + /** + * By default, models are mapped into memory, which allows the system to load only the necessary parts + * of the model as needed. However, if the model is larger than your total amount of RAM or if your system is low + * on available memory, using mmap might increase the risk of pageouts, negatively impacting performance. + * Disabling mmap results in slower load times but may reduce pageouts if you're not using mlock. + * Note that if the model is larger than the total amount of RAM, turning off mmap would prevent + * the model from loading at all. + * (Default: null) + */ + useMMap?: boolean; + + /** + * Lock the model in memory, preventing it from being swapped out when memory-mapped. + * This can improve performance but trades away some of the advantages of memory-mapping + * by requiring more RAM to run and potentially slowing down load times as the model loads into RAM. + * (Default: false) + */ + useMLock?: boolean; + + /** + * Set the number of threads to use during generation. For optimal performance, it is recommended to set this value + * to the number of physical CPU cores your system has (as opposed to the logical number of cores). + * Using the correct number of threads can greatly improve performance. + * By default, Ollama will detect this value for optimal performance. + */ + numThread?: number; + + // Following fields are predict options used at runtime. + + /** + * (Default: 4) + */ + numKeep?: number; + + /** + * Sets the random number seed to use for generation. Setting this to a + * specific number will make the model generate the same text for the same prompt. + * (Default: -1) + */ + seed?: number; + + /** + * Maximum number of tokens to predict when generating text. + * (Default: 128, -1 = infinite generation, -2 = fill context) + */ + numPredict?: number; + + /** + * Reduces the probability of generating nonsense. A higher value (e.g. + * 100) will give more diverse answers, while a lower value (e.g. 10) will be more + * conservative. (Default: 40) + */ + topK?: number; + + /** + * Works together with top-k. A higher value (e.g., 0.95) will lead to + * more diverse text, while a lower value (e.g., 0.5) will generate more focused and + * conservative text. (Default: 0.9) + */ + topP?: number; + + /** + * Tail free sampling is used to reduce the impact of less probable tokens + * from the output. A higher value (e.g., 2.0) will reduce the impact more, while a + * value of 1.0 disables this setting. (default: 1) + */ + tfsZ?: number; + + /** + * (Default: 1.0) + */ + typicalP?: number; + + /** + * Sets how far back for the model to look back to prevent + * repetition. (Default: 64, 0 = disabled, -1 = num_ctx) + */ + repeatLastN?: number; + + /** + * The temperature of the model. Increasing the temperature will + * make the model answer more creatively. (Default: 0.8) + */ + temperature?: number; + + /** + * Sets how strongly to penalize repetitions. A higher value + * (e.g., 1.5) will penalize repetitions more strongly, while a lower value (e.g., + * 0.9) will be more lenient. (Default: 1.1) + */ + repeatPenalty?: number; + + /** + * (Default: 0.0) + */ + presencePenalty?: number; + + /** + * (Default: 0.0) + */ + frequencyPenalty?: number; + + /** + * Enable Mirostat sampling for controlling perplexity. (default: 0, 0 + * = disabled, 1 = Mirostat, 2 = Mirostat 2.0) + */ + mirostat?: number; + + /** + * Controls the balance between coherence and diversity of the output. + * A lower value will result in more focused and coherent text. (Default: 5.0) + */ + mirostatTau?: number; + + /** + * Influences how quickly the algorithm responds to feedback from the generated text. + * A lower learning rate will result in slower adjustments, while a higher learning rate + * will make the algorithm more responsive. (Default: 0.1) + */ + mirostatEta?: number; + + /** + * (Default: true) + */ + penalizeNewline?: boolean; + + /** + * Sets the stop sequences to use. When this pattern is encountered the + * LLM will stop generating text and return. Multiple stop patterns may be set by + * specifying multiple separate stop parameters in a modelfile. + */ + stop?: string[]; + + // Following fields are not part of the Ollama Options API but part of the Request. + + /** + * NOTE: Synthetic field not part of the official Ollama API. + * Used to allow overriding the model name with prompt options. + * Part of Chat completion parameters. + */ + model?: string; + + /** + * Sets the desired format of output from the LLM. The only valid values are null or "json". + * Part of Chat completion advanced parameters. + */ + format?: string; + + /** + * Sets the length of time for Ollama to keep the model loaded. Valid values for this + * setting are parsed by ParseDuration in Go. + * Part of Chat completion advanced parameters. + */ + keepAlive?: string; + + /** + * Truncates the end of each input to fit within context length. Returns error if false and context length is exceeded. + * Defaults to true. + */ + truncate?: boolean; + + functionCallbacks: FunctionCallback[]; + functions: Set; +} + +/** + * Chat message object. + * + * @param role The role of the message of type {@link Role}. + * @param content The content of the message. + * @param images The list of base64-encoded images to send with the message. + * Requires multimodal models such as llava or bakllava. + */ +export interface Message { + role: Role; + content: string; + images?: string[]; + toolCalls?: ToolCall[]; +} + +/** + * The role of the message in the conversation. + */ +export enum Role { + /** + * System message type used as instructions to the model. + */ + SYSTEM = 'system', + /** + * User message type. + */ + USER = 'user', + /** + * Assistant message type. Usually the response from the model. + */ + ASSISTANT = 'assistant', + /** + * Tool message. + */ + TOOL = 'tool' +} + +/** + * The relevant tool call. + * + * @param function The function definition. + */ +export interface ToolCall { + function?: ToolCallFunction; +} + +/** + * The function definition. + * + * @param name The name of the function. + * @param arguments The arguments that the model expects you to pass to the function. + */ +export interface ToolCallFunction { + name: string; + arguments: { [key: string]: any }; +} + +/** + * Chat request object. + * + * @param model The model to use for completion. It should be a name familiar to Ollama from the Library. + * @param messages The list of messages in the chat. This can be used to keep a chat memory. + * @param stream Whether to stream the response. If false, the response will be returned as a single response object rather than a stream of objects. + * @param format The format to return the response in. Currently, the only accepted value is "json". + * @param keepAlive Controls how long the model will stay loaded into memory following this request (default: 5m). + * @param tools List of tools the model has access to. + * @param options Model-specific options. For example, "temperature" can be set through this field, if the model supports it. + * You can use the {@link OllamaOptions} builder to create the options then {@link OllamaOptions#toMap()} to convert the options into a map. + */ +export interface ChatRequest { + model: string; + messages: Message[]; + stream?: boolean; + format: string; + keepAlive?: string; + tools?: Tool[]; + options?: { [key: string]: any }; +} + +/** + * Represents a tool the model may call. Currently, only functions are supported as a tool. + * + * @param type The type of the tool. Currently, only 'function' is supported. + * @param function The function definition. + */ +export interface Tool { + type: ToolType; + function: FunctionDefinition; +} + +/** + * Tool type enumeration. + */ +enum ToolType { + FUNCTION = 'function' +} + +/** + * Function definition. + * + * @param name The name of the function to be called. Must be a-z, A-Z, 0-9, or contain underscores and dashes. + * @param description A description of what the function does, used by the model to choose when and how to call the function. + * @param parameters The parameters the functions accepts, described as a JSON Schema object. To describe a function that accepts no parameters, + * provide the value {"type": "object", "properties": {}}. + */ +interface FunctionDefinition { + name: string; + description: string; + parameters: { [key: string]: any }; +} + +/** + * Create tool function definition. + * + * @param description tool function description. + * @param name tool function name. + * @param jsonSchema tool function schema as json. + */ +class FunctionDefinition { + constructor(description: string, name: string, jsonSchema: string) { + this.description = description; + this.name = name; + this.parameters = JSON.parse(jsonSchema); + } +} + +/** + * Ollama chat response object. + * + * @param model The model used for generating the response. + * @param createdAt The timestamp of the response generation. + * @param message The response {@link Message} with {@link Message.Role#ASSISTANT}. + * @param doneReason The reason the model stopped generating text. + * @param done Whether this is the final response. For streaming response only the + * last message is marked as done. If true, this response may be followed by another + * response with the following, additional fields: context, prompt_eval_count, + * prompt_eval_duration, eval_count, eval_duration. + * @param totalDuration Time spent generating the response. + * @param loadDuration Time spent loading the model. + * @param promptEvalCount Number of tokens in the prompt. + * @param promptEvalDuration Time spent evaluating the prompt. + * @param evalCount Number of tokens in the response. + * @param evalDuration Time spent generating the response. + */ +export interface ChatResponse { + model: string; + createdAt: Date; + message: Message; + doneReason: string; + done: boolean; + totalDuration: number; + loadDuration: number; + promptEvalCount: number; + promptEvalDuration: number; + evalCount: number; + evalDuration: number; +} + +/** + * Generate embeddings from a model. + * + * @param model The name of model to generate embeddings from. + * @param input The text or list of text to generate embeddings for. + * @param keepAlive Controls how long the model will stay loaded into memory following the request (default: 5m). + * @param options Additional model parameters listed in the documentation for the + * @param truncate Truncates the end of each input to fit within context length. + * Returns error if false and context length is exceeded. Defaults to true. + */ +export interface EmbeddingsRequest { + /** + * The name of model to generate embeddings from. + */ + model: string; + + /** + * The text or list of text to generate embeddings for. + */ + input: string[]; + + /** + * Controls how long the model will stay loaded into memory following the request (default: 5m). + */ + keepAlive?: string; + + /** + * Additional model parameters listed in the documentation for the + */ + options?: Record; + + /** + * Truncates the end of each input to fit within context length. + * Returns error if false and context length is exceeded. Defaults to true. + */ + truncate?: boolean; +} + +/** + * Generate embeddings from a model. + * + * @param model The name of model to generate embeddings from. + * @param prompt The text generate embeddings for + * @param keepAlive Controls how long the model will stay loaded into memory following the request (default: 5m). + * @param options Additional model parameters listed in the documentation for the + * @deprecated Use {@link EmbeddingsRequest} instead. + */ +export interface EmbeddingRequest { + /** + * The name of model to generate embeddings from. + */ + model: string; + + /** + * The text to generate embeddings for. + */ + prompt: string; + + /** + * Controls how long the model will stay loaded into memory following the request (default: 5m). + */ + keepAlive?: string; + + /** + * Additional model parameters listed in the documentation for the + */ + options?: Record; +} + +/** + * The response object returned from the /embedding endpoint. + * @param model The model used for generating the embeddings. + * @param embeddings The list of embeddings generated from the model. + * Each embedding (list of doubles) corresponds to a single input text. + */ +export interface EmbeddingsResponse { + /** + * The model used for generating the embeddings. + */ + model: string; + + /** + * The list of embeddings generated from the model. + * Each embedding (list of doubles) corresponds to a single input text. + */ + embeddings: number[][]; +} + +export interface OllamaAPI { + /** + * Generate the next message in a chat with a provided model. + * This is a streaming endpoint (controlled by the 'stream' request property), so + * there will be a series of responses. The final response object will include + * statistics and additional data from the request. + * @param chatRequest Chat request. + * @return Chat response. + */ + chat(chatRequest: ChatRequest): Promise; + /** + * Streaming response for the chat completion request. + * @param chatRequest Chat request. The request must set the stream property to true. + * @return Chat response as a {@link Flux} stream. + */ + streamingChat(chatRequest: ChatRequest): Observable; + /** + * Generate embeddings from a model. + * @param embeddingsRequest Embedding request. + * @return Embeddings response. + */ + embed(embeddingsRequest: EmbeddingsRequest): Promise; + +} diff --git a/ai-packages/ai-ollama/src/common/api/index.ts b/ai-packages/ai-ollama/src/common/api/index.ts new file mode 100644 index 0000000000..6caf11f781 --- /dev/null +++ b/ai-packages/ai-ollama/src/common/api/index.ts @@ -0,0 +1,2 @@ + +export * from './api-protocol'; diff --git a/ai-packages/ai-ollama/src/common/api/ollama-api.ts b/ai-packages/ai-ollama/src/common/api/ollama-api.ts new file mode 100644 index 0000000000..9ae99187ed --- /dev/null +++ b/ai-packages/ai-ollama/src/common/api/ollama-api.ts @@ -0,0 +1,30 @@ +import { Assert, Autowired, Component } from '@celljs/core'; +import { ChatRequest, ChatResponse, EmbeddingsRequest, EmbeddingsResponse, OllamaAPI } from './api-protocol'; +import { Observable } from 'rxjs'; +import { RestOperations } from '@celljs/http'; + +@Component(OllamaAPI) +export class OllamaAPIImpl implements OllamaAPI { + + @Autowired(RestOperations) + protected readonly restOperations!: RestOperations; + + chat(chatRequest: ChatRequest): Promise { + Assert.isTrue(!chatRequest.stream, 'Stream mode must be disabled.'); + + // return this.restClient.post() + // .uri("/api/chat") + // .body(chatRequest) + // .retrieve() + // .onStatus(this.responseErrorHandler) + // .body(ChatResponse.class); + return this.restOperations.post('/api/chat', chatRequest); + } + streamingChat(chatRequest: ChatRequest): Observable { + throw new Error('Method not implemented.'); + } + embed(embeddingsRequest: EmbeddingsRequest): Promise { + throw new Error('Method not implemented.'); + } + +} diff --git a/ai-packages/ai-ollama/src/common/index.ts b/ai-packages/ai-ollama/src/common/index.ts new file mode 100644 index 0000000000..b1c13e7340 --- /dev/null +++ b/ai-packages/ai-ollama/src/common/index.ts @@ -0,0 +1 @@ +export * from './api'; diff --git a/ai-packages/ai-ollama/src/common/module.ts b/ai-packages/ai-ollama/src/common/module.ts new file mode 100644 index 0000000000..f9e6e06cf9 --- /dev/null +++ b/ai-packages/ai-ollama/src/common/module.ts @@ -0,0 +1,4 @@ +import { autoBind } from '@celljs/core'; +import './index'; + +export default autoBind(); diff --git a/ai-packages/ai-ollama/src/common/utils/index.ts b/ai-packages/ai-ollama/src/common/utils/index.ts new file mode 100644 index 0000000000..e69de29bb2 diff --git a/ai-packages/ai-ollama/src/package.spec.ts b/ai-packages/ai-ollama/src/package.spec.ts new file mode 100644 index 0000000000..acc5f29987 --- /dev/null +++ b/ai-packages/ai-ollama/src/package.spec.ts @@ -0,0 +1,4 @@ +describe('ai-ollama package', () => { + + it('support ai-ollama coverage statistics', () => {}); +}); diff --git a/cloud-packages/cos/compile.tsconfig.json b/ai-packages/ai-ollama/tsconfig.json similarity index 67% rename from cloud-packages/cos/compile.tsconfig.json rename to ai-packages/ai-ollama/tsconfig.json index 2c172b4f29..dd53f24cd3 100644 --- a/cloud-packages/cos/compile.tsconfig.json +++ b/ai-packages/ai-ollama/tsconfig.json @@ -10,10 +10,13 @@ ], "references": [ { - "path": "../cloud/compile.tsconfig.json" + "path": "../../packages/core" }, { - "path": "../../packages/core/compile.tsconfig.json" + "path": "../../packages/http" + }, + { + "path": "../ai-core" } ] } diff --git a/ai-packages/ai-ollama/typedoc.json b/ai-packages/ai-ollama/typedoc.json new file mode 100644 index 0000000000..7c070f7c2b --- /dev/null +++ b/ai-packages/ai-ollama/typedoc.json @@ -0,0 +1,8 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/common/index.ts" + ], +} \ No newline at end of file diff --git a/cloud-packages/cloud/.eslintrc.js b/cloud-packages/cloud/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/cloud-packages/cloud/.eslintrc.js +++ b/cloud-packages/cloud/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/dev-packages/testing/compile.tsconfig.json b/cloud-packages/cloud/tsconfig.json similarity index 83% rename from dev-packages/testing/compile.tsconfig.json rename to cloud-packages/cloud/tsconfig.json index 3013a33de2..e5616f9ae0 100644 --- a/dev-packages/testing/compile.tsconfig.json +++ b/cloud-packages/cloud/tsconfig.json @@ -10,7 +10,7 @@ ], "references": [ { - "path": "../cli/compile.tsconfig.json" + "path": "../../packages/core" } ] } diff --git a/cloud-packages/cloud/typedoc.json b/cloud-packages/cloud/typedoc.json new file mode 100644 index 0000000000..dc226fed95 --- /dev/null +++ b/cloud-packages/cloud/typedoc.json @@ -0,0 +1,9 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/common/index.ts", + "src/node/index.ts" + ], +} \ No newline at end of file diff --git a/cloud-packages/cos/.eslintrc.js b/cloud-packages/cos/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/cloud-packages/cos/.eslintrc.js +++ b/cloud-packages/cos/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/cloud-packages/cos/tsconfig.json b/cloud-packages/cos/tsconfig.json new file mode 100644 index 0000000000..63a65c8c98 --- /dev/null +++ b/cloud-packages/cos/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "@celljs/component/configs/base.tsconfig.json", + "compilerOptions": { + "composite": true, + "rootDir": "src", + "outDir": "lib" + }, + "include": [ + "src" + ], + "references": [ + { + "path": "../../packages/core" + }, + { + "path": "../cloud" + } + ] +} diff --git a/cloud-packages/cos/typedoc.json b/cloud-packages/cos/typedoc.json new file mode 100644 index 0000000000..3e63873b2d --- /dev/null +++ b/cloud-packages/cos/typedoc.json @@ -0,0 +1,8 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/node/index.ts" + ], +} \ No newline at end of file diff --git a/cloud-packages/faas-adapter/.eslintrc.js b/cloud-packages/faas-adapter/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/cloud-packages/faas-adapter/.eslintrc.js +++ b/cloud-packages/faas-adapter/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/cloud-packages/faas-adapter/compile.tsconfig.json b/cloud-packages/faas-adapter/compile.tsconfig.json deleted file mode 100644 index 1d26b3ab84..0000000000 --- a/cloud-packages/faas-adapter/compile.tsconfig.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "extends": "@celljs/component/configs/base.tsconfig.json", - "compilerOptions": { - "composite": true, - "rootDir": "src", - "outDir": "lib" - }, - "include": [ - "src" - ], - "references": [ - { - "path": "../cloud/compile.tsconfig.json" - }, - { - "path": "../../dev-packages/cli-service/compile.tsconfig.json" - }, - { - "path": "../../dev-packages/cli-common/compile.tsconfig.json" - }, - { - "path": "../../packages/core/compile.tsconfig.json" - }, - { - "path": "../../packages/schedule/compile.tsconfig.json" - }, - { - "path": "../../packages/web/compile.tsconfig.json" - } - ] -} diff --git a/ui-packages/shell/compile.tsconfig.json b/cloud-packages/faas-adapter/tsconfig.json similarity index 50% rename from ui-packages/shell/compile.tsconfig.json rename to cloud-packages/faas-adapter/tsconfig.json index 8a49ca6d72..0eb5d83a33 100644 --- a/ui-packages/shell/compile.tsconfig.json +++ b/cloud-packages/faas-adapter/tsconfig.json @@ -10,19 +10,22 @@ ], "references": [ { - "path": "../grommet/compile.tsconfig.json" + "path": "../../dev-packages/cli-common" }, { - "path": "../widget/compile.tsconfig.json" + "path": "../../dev-packages/cli-service" }, { - "path": "../react/compile.tsconfig.json" + "path": "../../packages/core" }, { - "path": "../../packages/core/compile.tsconfig.json" + "path": "../../packages/schedule" }, { - "path": "../../packages/security/compile.tsconfig.json" + "path": "../../packages/web" + }, + { + "path": "../cloud" } ] } diff --git a/cloud-packages/faas-adapter/typedoc.json b/cloud-packages/faas-adapter/typedoc.json new file mode 100644 index 0000000000..3e63873b2d --- /dev/null +++ b/cloud-packages/faas-adapter/typedoc.json @@ -0,0 +1,8 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/node/index.ts" + ], +} \ No newline at end of file diff --git a/cloud-packages/fc-adapter/.eslintrc.js b/cloud-packages/fc-adapter/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/cloud-packages/fc-adapter/.eslintrc.js +++ b/cloud-packages/fc-adapter/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/cloud-packages/fc-adapter/compile.tsconfig.json b/cloud-packages/fc-adapter/compile.tsconfig.json deleted file mode 100644 index b6c50d0314..0000000000 --- a/cloud-packages/fc-adapter/compile.tsconfig.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "extends": "@celljs/component/configs/base.tsconfig.json", - "compilerOptions": { - "composite": true, - "rootDir": "src", - "outDir": "lib" - }, - "include": [ - "src" - ], - "references": [ - { - "path": "../faas-adapter/compile.tsconfig.json" - }, - { - "path": "../cloud/compile.tsconfig.json" - }, - { - "path": "../../packages/core/compile.tsconfig.json" - }, - { - "path": "../../packages/web/compile.tsconfig.json" - } - ] -} diff --git a/packages/rpc/compile.tsconfig.json b/cloud-packages/fc-adapter/tsconfig.json similarity index 63% rename from packages/rpc/compile.tsconfig.json rename to cloud-packages/fc-adapter/tsconfig.json index d4d0c4e857..ed22bacbf7 100644 --- a/packages/rpc/compile.tsconfig.json +++ b/cloud-packages/fc-adapter/tsconfig.json @@ -10,13 +10,16 @@ ], "references": [ { - "path": "../web/compile.tsconfig.json" + "path": "../../packages/core" }, { - "path": "../core/compile.tsconfig.json" + "path": "../../packages/web" }, { - "path": "../http/compile.tsconfig.json" + "path": "../cloud" + }, + { + "path": "../faas-adapter" } ] } diff --git a/cloud-packages/fc-adapter/typedoc.json b/cloud-packages/fc-adapter/typedoc.json new file mode 100644 index 0000000000..3e63873b2d --- /dev/null +++ b/cloud-packages/fc-adapter/typedoc.json @@ -0,0 +1,8 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/node/index.ts" + ], +} \ No newline at end of file diff --git a/cloud-packages/lambda-adapter/.eslintrc.js b/cloud-packages/lambda-adapter/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/cloud-packages/lambda-adapter/.eslintrc.js +++ b/cloud-packages/lambda-adapter/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/cloud-packages/lambda-adapter/compile.tsconfig.json b/cloud-packages/lambda-adapter/compile.tsconfig.json deleted file mode 100644 index ba4f3ab3a1..0000000000 --- a/cloud-packages/lambda-adapter/compile.tsconfig.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "extends": "@celljs/component/configs/base.tsconfig.json", - "compilerOptions": { - "target": "es6", - "composite": true, - "rootDir": "src", - "outDir": "lib" - }, - "include": [ - "src" - ], - "references": [ - { - "path": "../faas-adapter/compile.tsconfig.json" - }, - { - "path": "../cloud/compile.tsconfig.json" - }, - { - "path": "../../packages/core/compile.tsconfig.json" - }, - { - "path": "../../packages/web/compile.tsconfig.json" - } - ] -} diff --git a/dev-packages/cli/compile.tsconfig.json b/cloud-packages/lambda-adapter/tsconfig.json similarity index 60% rename from dev-packages/cli/compile.tsconfig.json rename to cloud-packages/lambda-adapter/tsconfig.json index 03e3400169..4d8d0eaf9d 100644 --- a/dev-packages/cli/compile.tsconfig.json +++ b/cloud-packages/lambda-adapter/tsconfig.json @@ -1,6 +1,7 @@ { "extends": "@celljs/component/configs/base.tsconfig.json", "compilerOptions": { + "target": "es6", "composite": true, "rootDir": "src", "outDir": "lib" @@ -10,13 +11,16 @@ ], "references": [ { - "path": "../cli-common/compile.tsconfig.json" + "path": "../../packages/core" }, { - "path": "../cli-runtime/compile.tsconfig.json" + "path": "../../packages/web" }, { - "path": "../frameworks/compile.tsconfig.json" + "path": "../cloud" + }, + { + "path": "../faas-adapter" } ] } diff --git a/cloud-packages/lambda-adapter/typedoc.json b/cloud-packages/lambda-adapter/typedoc.json new file mode 100644 index 0000000000..3e63873b2d --- /dev/null +++ b/cloud-packages/lambda-adapter/typedoc.json @@ -0,0 +1,8 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/node/index.ts" + ], +} \ No newline at end of file diff --git a/cloud-packages/oss/.eslintrc.js b/cloud-packages/oss/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/cloud-packages/oss/.eslintrc.js +++ b/cloud-packages/oss/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/cloud-packages/oss/tsconfig.json b/cloud-packages/oss/tsconfig.json new file mode 100644 index 0000000000..63a65c8c98 --- /dev/null +++ b/cloud-packages/oss/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "@celljs/component/configs/base.tsconfig.json", + "compilerOptions": { + "composite": true, + "rootDir": "src", + "outDir": "lib" + }, + "include": [ + "src" + ], + "references": [ + { + "path": "../../packages/core" + }, + { + "path": "../cloud" + } + ] +} diff --git a/cloud-packages/oss/typedoc.json b/cloud-packages/oss/typedoc.json new file mode 100644 index 0000000000..3e63873b2d --- /dev/null +++ b/cloud-packages/oss/typedoc.json @@ -0,0 +1,8 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/node/index.ts" + ], +} \ No newline at end of file diff --git a/cloud-packages/s3/.eslintrc.js b/cloud-packages/s3/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/cloud-packages/s3/.eslintrc.js +++ b/cloud-packages/s3/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/cloud-packages/s3/tsconfig.json b/cloud-packages/s3/tsconfig.json new file mode 100644 index 0000000000..63a65c8c98 --- /dev/null +++ b/cloud-packages/s3/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "@celljs/component/configs/base.tsconfig.json", + "compilerOptions": { + "composite": true, + "rootDir": "src", + "outDir": "lib" + }, + "include": [ + "src" + ], + "references": [ + { + "path": "../../packages/core" + }, + { + "path": "../cloud" + } + ] +} diff --git a/cloud-packages/s3/typedoc.json b/cloud-packages/s3/typedoc.json new file mode 100644 index 0000000000..3e63873b2d --- /dev/null +++ b/cloud-packages/s3/typedoc.json @@ -0,0 +1,8 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/node/index.ts" + ], +} \ No newline at end of file diff --git a/cloud-packages/scf-adapter/.eslintrc.js b/cloud-packages/scf-adapter/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/cloud-packages/scf-adapter/.eslintrc.js +++ b/cloud-packages/scf-adapter/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/cloud-packages/scf-adapter/compile.tsconfig.json b/cloud-packages/scf-adapter/compile.tsconfig.json deleted file mode 100644 index ba4f3ab3a1..0000000000 --- a/cloud-packages/scf-adapter/compile.tsconfig.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "extends": "@celljs/component/configs/base.tsconfig.json", - "compilerOptions": { - "target": "es6", - "composite": true, - "rootDir": "src", - "outDir": "lib" - }, - "include": [ - "src" - ], - "references": [ - { - "path": "../faas-adapter/compile.tsconfig.json" - }, - { - "path": "../cloud/compile.tsconfig.json" - }, - { - "path": "../../packages/core/compile.tsconfig.json" - }, - { - "path": "../../packages/web/compile.tsconfig.json" - } - ] -} diff --git a/packages/oauth2-core/compile.tsconfig.json b/cloud-packages/scf-adapter/tsconfig.json similarity index 60% rename from packages/oauth2-core/compile.tsconfig.json rename to cloud-packages/scf-adapter/tsconfig.json index 2ca8bb4dcc..4d8d0eaf9d 100644 --- a/packages/oauth2-core/compile.tsconfig.json +++ b/cloud-packages/scf-adapter/tsconfig.json @@ -1,6 +1,7 @@ { "extends": "@celljs/component/configs/base.tsconfig.json", "compilerOptions": { + "target": "es6", "composite": true, "rootDir": "src", "outDir": "lib" @@ -10,13 +11,16 @@ ], "references": [ { - "path": "../security/compile.tsconfig.json" + "path": "../../packages/core" }, { - "path": "../core/compile.tsconfig.json" + "path": "../../packages/web" }, { - "path": "../web/compile.tsconfig.json" + "path": "../cloud" + }, + { + "path": "../faas-adapter" } ] } diff --git a/cloud-packages/scf-adapter/typedoc.json b/cloud-packages/scf-adapter/typedoc.json new file mode 100644 index 0000000000..3e63873b2d --- /dev/null +++ b/cloud-packages/scf-adapter/typedoc.json @@ -0,0 +1,8 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/node/index.ts" + ], +} \ No newline at end of file diff --git a/cloud-packages/vercel-adapter/.eslintrc.js b/cloud-packages/vercel-adapter/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/cloud-packages/vercel-adapter/.eslintrc.js +++ b/cloud-packages/vercel-adapter/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/cloud-packages/vercel-adapter/compile.tsconfig.json b/cloud-packages/vercel-adapter/compile.tsconfig.json deleted file mode 100644 index 5a991a55f8..0000000000 --- a/cloud-packages/vercel-adapter/compile.tsconfig.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "extends": "@celljs/component/configs/base.tsconfig.json", - "compilerOptions": { - "composite": true, - "rootDir": "src", - "outDir": "lib" - }, - "include": [ - "src" - ], - "references": [ - { - "path": "../../dev-packages/cli-service/compile.tsconfig.json" - }, - { - "path": "../../dev-packages/cli-common/compile.tsconfig.json" - }, - { - "path": "../../packages/core/compile.tsconfig.json" - }, - { - "path": "../../packages/web/compile.tsconfig.json" - } - ] -} diff --git a/cloud-packages/vercel-adapter/tsconfig.json b/cloud-packages/vercel-adapter/tsconfig.json new file mode 100644 index 0000000000..5b76de8b2c --- /dev/null +++ b/cloud-packages/vercel-adapter/tsconfig.json @@ -0,0 +1,25 @@ +{ + "extends": "@celljs/component/configs/base.tsconfig.json", + "compilerOptions": { + "composite": true, + "rootDir": "src", + "outDir": "lib" + }, + "include": [ + "src" + ], + "references": [ + { + "path": "../../dev-packages/cli-common" + }, + { + "path": "../../dev-packages/cli-service" + }, + { + "path": "../../packages/core" + }, + { + "path": "../../packages/web" + } + ] +} diff --git a/cloud-packages/vercel-adapter/typedoc.json b/cloud-packages/vercel-adapter/typedoc.json new file mode 100644 index 0000000000..3e63873b2d --- /dev/null +++ b/cloud-packages/vercel-adapter/typedoc.json @@ -0,0 +1,8 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/node/index.ts" + ], +} \ No newline at end of file diff --git a/configs/root-compilation.tsconfig.json b/configs/root-compilation.tsconfig.json deleted file mode 100644 index 5d47f03f90..0000000000 --- a/configs/root-compilation.tsconfig.json +++ /dev/null @@ -1,188 +0,0 @@ -{ - "extends": "@celljs/component/configs/base.tsconfig.json", - "include": [], - "compilerOptions": { - "composite": true, - "rootDir": "src", - "outDir": "lib" - }, - "references": [ - { - "path": "../dev-packages/cli-common/compile.tsconfig.json" - }, - { - "path": "../dev-packages/cli/compile.tsconfig.json" - }, - { - "path": "../dev-packages/cli-service/compile.tsconfig.json" - }, - { - "path": "../dev-packages/compression/compile.tsconfig.json" - }, - { - "path": "../dev-packages/eslint/compile.tsconfig.json" - }, - { - "path": "../dev-packages/pwa/compile.tsconfig.json" - }, - { - "path": "../packages/cache/compile.tsconfig.json" - }, - { - "path": "../packages/core/compile.tsconfig.json" - }, - { - "path": "../packages/express-adapter/compile.tsconfig.json" - }, - { - "path": "../packages/logger/compile.tsconfig.json" - }, - { - "path": "../packages/mvc/compile.tsconfig.json" - }, - { - "path": "../packages/oauth2-client/compile.tsconfig.json" - }, - { - "path": "../packages/oauth2-core/compile.tsconfig.json" - }, - { - "path": "../packages/oauth2-jose/compile.tsconfig.json" - }, - { - "path": "../packages/oidc-provider/compile.tsconfig.json" - }, - { - "path": "../packages/puppeteer/compile.tsconfig.json" - }, - { - "path": "../packages/rpc/compile.tsconfig.json" - }, - { - "path": "../packages/security/compile.tsconfig.json" - }, - { - "path": "../packages/serve-static/compile.tsconfig.json" - }, - { - "path": "../packages/typeorm/compile.tsconfig.json" - }, - { - "path": "../packages/web/compile.tsconfig.json" - }, - { - "path": "../packages/schedule/compile.tsconfig.json" - }, - { - "path": "../dev-packages/cli-runtime/compile.tsconfig.json" - }, - { - "path": "../plugins/cloud-plugin/compile.tsconfig.json" - }, - { - "path": "../plugins/code-loader-plugin/compile.tsconfig.json" - }, - { - "path": "../plugins/fc-plugin/compile.tsconfig.json" - }, - { - "path": "../plugins/lambda-plugin/compile.tsconfig.json" - }, - { - "path": "../plugins/scf-plugin/compile.tsconfig.json" - }, - { - "path": "../plugins/static-plugin/compile.tsconfig.json" - }, - { - "path": "../dev-packages/frameworks/compile.tsconfig.json" - }, - { - "path": "../plugins/node-plugin/compile.tsconfig.json" - }, - { - "path": "../plugins/next-plugin/compile.tsconfig.json" - }, - { - "path": "../plugins/adonis-plugin/compile.tsconfig.json" - }, - { - "path": "../packages/config/compile.tsconfig.json" - }, - { - "path": "../packages/elasticsearch/compile.tsconfig.json" - }, - { - "path": "../dev-packages/testing/compile.tsconfig.json" - }, - { - "path": "../packages/jwt/compile.tsconfig.json" - }, - { - "path": "../plugins/python-plugin/compile.tsconfig.json" - }, - { - "path": "../packages/rpc-core/compile.tsconfig.json" - }, - { - "path": "../plugins/fc3-plugin/compile.tsconfig.json" - }, - { - "path": "../packages/http/compile.tsconfig.json" - }, - { - "path": "../cloud-packages/cloud/compile.tsconfig.json" - }, - { - "path": "../cloud-packages/cos/compile.tsconfig.json" - }, - { - "path": "../cloud-packages/faas-adapter/compile.tsconfig.json" - }, - { - "path": "../cloud-packages/fc-adapter/compile.tsconfig.json" - }, - { - "path": "../cloud-packages/lambda-adapter/compile.tsconfig.json" - }, - { - "path": "../cloud-packages/oss/compile.tsconfig.json" - }, - { - "path": "../cloud-packages/s3/compile.tsconfig.json" - }, - { - "path": "../cloud-packages/scf-adapter/compile.tsconfig.json" - }, - { - "path": "../cloud-packages/vercel-adapter/compile.tsconfig.json" - }, - { - "path": "../ai-packages/ai-core/compile.tsconfig.json" - }, - { - "path": "../packages/retry/compile.tsconfig.json" - }, - { - "path": "../ui-packages/antd/compile.tsconfig.json" - }, - { - "path": "../ui-packages/grommet/compile.tsconfig.json" - }, - { - "path": "../ui-packages/material-ui/compile.tsconfig.json" - }, - { - "path": "../ui-packages/react/compile.tsconfig.json" - }, - { - "path": "../ui-packages/shell/compile.tsconfig.json" - }, - { - "path": "../ui-packages/vue/compile.tsconfig.json" - }, - { - "path": "../ui-packages/widget/compile.tsconfig.json" - } - ] -} diff --git a/configs/typedoc.base.jsonc b/configs/typedoc.base.jsonc new file mode 100644 index 0000000000..117624e3a0 --- /dev/null +++ b/configs/typedoc.base.jsonc @@ -0,0 +1,9 @@ +{ + // Note: In TypeDoc 0.26 you can instead specify `packageOptions` if running + // only with packages mode. The separate base config file is retained in this + // example so that individual packages can be built for demonstration of the + // advanced method in the readme. + + "$schema": "https://typedoc.org/schema.json", + "includeVersion": true +} \ No newline at end of file diff --git a/configs/typedoc.json b/configs/typedoc.json index ed2a21dacf..65bd56d97f 100644 --- a/configs/typedoc.json +++ b/configs/typedoc.json @@ -1,25 +1,23 @@ { - "emit": "none", - "compilerOptions": { - "ignoreCompilerErrors": true, - "skipLibCheck": true, - "noEmitOnError": true, - "allowJs": true - }, + "$schema": "https://typedoc.org/schema.json", + "entryPoints": [ + "packages/*", + "dev-packages/*", + "ai-packages/*", + "cloud-packages/*", + "ui-packages/*", + "plugins/*" + ], "exclude": [ - "../+(dev-packages|examples|typings|scripts)/**", - "../packages/*/lib/**", - "plugins/*/lib", - "dev-packages/*/lib", "**/node_modules/**", - "**/*.tsx", - "**/*spec.ts" + "**/*.test.ts", + "**/examples/**", + "**/deprecated/**" ], - "excludeExternals": true, - "external-modulemap": ".*\/(packages|plugins)\/([\\w\\-_]+)\/", + "name": "CellJS TypeDoc", + "entryPointStrategy": "packages", + "includeVersion": false, "hideGenerator": true, - "name": "Cell TypeDoc", - "out": "../gh-pages/docs/next", - "readme": "../README.md", - "entryPointStrategy": "expand" -} + "excludeNotDocumented": false, + "out": "../gh-pages/docs/next" +} \ No newline at end of file diff --git a/dev-packages/cli-common/.eslintrc.js b/dev-packages/cli-common/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/dev-packages/cli-common/.eslintrc.js +++ b/dev-packages/cli-common/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/dev-packages/cli-common/package.json b/dev-packages/cli-common/package.json index 4c7924b6d2..d07cc735cf 100644 --- a/dev-packages/cli-common/package.json +++ b/dev-packages/cli-common/package.json @@ -46,7 +46,7 @@ "temp": "^0.9.3", "traverse": "^0.6.7", "ts-node": "^10.9.1", - "typescript": "~4.5.5" + "typescript": "~5.4.5" }, "devDependencies": { "@celljs/component": "3.0.0", diff --git a/packages/http/compile.tsconfig.json b/dev-packages/cli-common/tsconfig.json similarity index 82% rename from packages/http/compile.tsconfig.json rename to dev-packages/cli-common/tsconfig.json index 9230d656b0..c1347737ab 100644 --- a/packages/http/compile.tsconfig.json +++ b/dev-packages/cli-common/tsconfig.json @@ -10,7 +10,7 @@ ], "references": [ { - "path": "../core/compile.tsconfig.json" + "path": "../frameworks" } ] } diff --git a/dev-packages/cli-common/typedoc.json b/dev-packages/cli-common/typedoc.json new file mode 100644 index 0000000000..d36847fc85 --- /dev/null +++ b/dev-packages/cli-common/typedoc.json @@ -0,0 +1,8 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/index.ts" + ], +} \ No newline at end of file diff --git a/dev-packages/cli-runtime/.eslintrc.js b/dev-packages/cli-runtime/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/dev-packages/cli-runtime/.eslintrc.js +++ b/dev-packages/cli-runtime/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/dev-packages/cli-runtime/tsconfig.json b/dev-packages/cli-runtime/tsconfig.json new file mode 100644 index 0000000000..8d5f83657e --- /dev/null +++ b/dev-packages/cli-runtime/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "@celljs/component/configs/base.tsconfig.json", + "compilerOptions": { + "composite": true, + "rootDir": "src", + "outDir": "lib" + }, + "include": [ + "src" + ], + "references": [ + { + "path": "../cli-common" + }, + { + "path": "../frameworks" + } + ] +} diff --git a/dev-packages/cli-runtime/typedoc.json b/dev-packages/cli-runtime/typedoc.json new file mode 100644 index 0000000000..d36847fc85 --- /dev/null +++ b/dev-packages/cli-runtime/typedoc.json @@ -0,0 +1,8 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/index.ts" + ], +} \ No newline at end of file diff --git a/dev-packages/cli-service/.eslintrc.js b/dev-packages/cli-service/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/dev-packages/cli-service/.eslintrc.js +++ b/dev-packages/cli-service/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/dev-packages/cli-service/package.json b/dev-packages/cli-service/package.json index fe729d3d43..736e12b70d 100644 --- a/dev-packages/cli-service/package.json +++ b/dev-packages/cli-service/package.json @@ -57,7 +57,7 @@ "style-loader": "^3.3.3", "terser-webpack-plugin": "^5.3.9", "ts-loader": "^9.4.4", - "typescript": "~4.5.5", + "typescript": "~5.4.5", "webpack": "^5.76.0", "webpack-dev-server": "^4.15.1", "webpack-node-externals": "^3.0.0" diff --git a/dev-packages/cli-service/src/index.ts b/dev-packages/cli-service/src/index.ts index 56935e6339..dc21d1580a 100644 --- a/dev-packages/cli-service/src/index.ts +++ b/dev-packages/cli-service/src/index.ts @@ -1,2 +1,3 @@ export * from './webpack'; export * from './context'; +export * from './external'; diff --git a/packages/elasticsearch/compile.tsconfig.json b/dev-packages/cli-service/tsconfig.json similarity index 82% rename from packages/elasticsearch/compile.tsconfig.json rename to dev-packages/cli-service/tsconfig.json index 9230d656b0..658baeb18d 100644 --- a/packages/elasticsearch/compile.tsconfig.json +++ b/dev-packages/cli-service/tsconfig.json @@ -10,7 +10,7 @@ ], "references": [ { - "path": "../core/compile.tsconfig.json" + "path": "../cli-common" } ] } diff --git a/dev-packages/cli-service/typedoc.json b/dev-packages/cli-service/typedoc.json new file mode 100644 index 0000000000..d36847fc85 --- /dev/null +++ b/dev-packages/cli-service/typedoc.json @@ -0,0 +1,8 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/index.ts" + ], +} \ No newline at end of file diff --git a/dev-packages/cli/.eslintrc.js b/dev-packages/cli/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/dev-packages/cli/.eslintrc.js +++ b/dev-packages/cli/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/dev-packages/cli/templates/accounts/package.json b/dev-packages/cli/templates/accounts/package.json index 0e1a45d0c7..a0673a4c29 100644 --- a/dev-packages/cli/templates/accounts/package.json +++ b/dev-packages/cli/templates/accounts/package.json @@ -21,7 +21,7 @@ "@celljs/security": "{{ version }}", "@celljs/serve-static": "{{ version }}", "@celljs/typeorm": "{{ version }}", - "better-sqlite3": "^7.6.2", + "better-sqlite3": "^11.3.0", "querystring": "^0.2.1", "request-ip": "^3.3.0", "grommet-icons": "^4.7.0", diff --git a/dev-packages/cli/templates/admin-app/package.json b/dev-packages/cli/templates/admin-app/package.json index 584dab1438..f9d5a15ffe 100644 --- a/dev-packages/cli/templates/admin-app/package.json +++ b/dev-packages/cli/templates/admin-app/package.json @@ -17,7 +17,7 @@ "@celljs/serve-static": "{{ version }}", "@celljs/shell": "{{ version }}", "@celljs/typeorm": "{{ version }}", - "better-sqlite3": "^7.6.2", + "better-sqlite3": "^11.3.0", "react": "^18.2.0", "grommet": "^2.25.1", "typeorm": "^0.3.7" diff --git a/dev-packages/cli/templates/database-app/package.json b/dev-packages/cli/templates/database-app/package.json index 4d94dba80f..c18725b7f3 100644 --- a/dev-packages/cli/templates/database-app/package.json +++ b/dev-packages/cli/templates/database-app/package.json @@ -13,7 +13,7 @@ "@celljs/core": "{{ version }}", "@celljs/mvc": "{{ version }}", "@celljs/typeorm": "{{ version }}", - "better-sqlite3": "^7.6.2", + "better-sqlite3": "^11.3.0", "typeorm": "^0.3.7" }, "devDependencies": { diff --git a/dev-packages/cli/templates/monorepo/packages/core/.eslintrc.js b/dev-packages/cli/templates/monorepo/packages/core/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/dev-packages/cli/templates/monorepo/packages/core/.eslintrc.js +++ b/dev-packages/cli/templates/monorepo/packages/core/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/dev-packages/cli/templates/monorepo/packages/core/compile.tsconfig.json b/dev-packages/cli/templates/monorepo/packages/core/tsconfig.json similarity index 100% rename from dev-packages/cli/templates/monorepo/packages/core/compile.tsconfig.json rename to dev-packages/cli/templates/monorepo/packages/core/tsconfig.json diff --git a/dev-packages/cli/templates/mycli/package.json b/dev-packages/cli/templates/mycli/package.json index 63d2afb38b..f60bac35ed 100644 --- a/dev-packages/cli/templates/mycli/package.json +++ b/dev-packages/cli/templates/mycli/package.json @@ -22,7 +22,7 @@ "@celljs/cli": "{{ version }}", "@types/fs-extra": "^11.0.1", "rimraf": "^5.0.2", - "typescript": "~4.5.5" + "typescript": "~5.4.5" }, "scripts": { "prepare": "yarn run clean & yarn run build", diff --git a/dev-packages/cli/templates/standalone-app/package.json b/dev-packages/cli/templates/standalone-app/package.json index 401b11b8ac..f22f1f6685 100644 --- a/dev-packages/cli/templates/standalone-app/package.json +++ b/dev-packages/cli/templates/standalone-app/package.json @@ -12,6 +12,6 @@ }, "devDependencies": { "ts-node": "^10.7.0", - "typescript": "~4.5.5" + "typescript": "~5.4.5" } } diff --git a/dev-packages/cli-runtime/compile.tsconfig.json b/dev-packages/cli/tsconfig.json similarity index 69% rename from dev-packages/cli-runtime/compile.tsconfig.json rename to dev-packages/cli/tsconfig.json index 2b124ab22b..fff7e13a66 100644 --- a/dev-packages/cli-runtime/compile.tsconfig.json +++ b/dev-packages/cli/tsconfig.json @@ -10,10 +10,13 @@ ], "references": [ { - "path": "../cli-common/compile.tsconfig.json" + "path": "../cli-common" }, { - "path": "../frameworks/compile.tsconfig.json" + "path": "../cli-runtime" + }, + { + "path": "../frameworks" } ] } diff --git a/dev-packages/cli/typedoc.json b/dev-packages/cli/typedoc.json new file mode 100644 index 0000000000..d36847fc85 --- /dev/null +++ b/dev-packages/cli/typedoc.json @@ -0,0 +1,8 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/index.ts" + ], +} \ No newline at end of file diff --git a/dev-packages/component/configs/base.tsconfig.json b/dev-packages/component/configs/base.tsconfig.json index dba6878061..731dcdfd71 100644 --- a/dev-packages/component/configs/base.tsconfig.json +++ b/dev-packages/component/configs/base.tsconfig.json @@ -1,4 +1,3 @@ - { "$schema": "https://json.schemastore.org/tsconfig", "compilerOptions": { @@ -13,16 +12,17 @@ "strictNullChecks": true, "experimentalDecorators": true, "emitDecoratorMetadata": true, + "importHelpers": true, "downlevelIteration": true, "resolveJsonModule": true, - "module": "commonjs", - "moduleResolution": "node", - "target": "ES2017", + "module": "CommonJS", + "moduleResolution": "Node", + "target": "ES2019", "jsx": "react", "lib": [ - "ES2017", + "ES2019", "ES2020.Promise", - "dom" + "DOM" ], "sourceMap": true } diff --git a/dev-packages/component/configs/errors.eslintrc.json b/dev-packages/component/configs/errors.eslintrc.json index ebba7b9af4..93c59dbe38 100644 --- a/dev-packages/component/configs/errors.eslintrc.json +++ b/dev-packages/component/configs/errors.eslintrc.json @@ -4,18 +4,8 @@ "@typescript-eslint/consistent-type-definitions": "error", "@typescript-eslint/indent": "off", // "@typescript-eslint/no-explicit-any": "error", - "@typescript-eslint/quotes": [ - "error", - "single", - { - "avoidEscape": true - } - ], - "@typescript-eslint/semi": [ - "error", - "always" - ], - "@typescript-eslint/type-annotation-spacing": "error", + "quotes": [ "error", "single" ], + "semi": [ "error", "always" ], "arrow-body-style": [ "error", "as-needed" diff --git a/dev-packages/component/package.json b/dev-packages/component/package.json index 06fee2871f..69f578aede 100644 --- a/dev-packages/component/package.json +++ b/dev-packages/component/package.json @@ -20,16 +20,16 @@ "@types/mocha": "^10.0.1", "@types/node": "16", "@types/sinon": "^10.0.15", - "@typescript-eslint/eslint-plugin": "^5.0.0", - "@typescript-eslint/eslint-plugin-tslint": "^5.0.0", - "@typescript-eslint/parser": "^5.0.0", + "@typescript-eslint/eslint-plugin": "^8.8.0", + "@typescript-eslint/eslint-plugin-tslint": "^7.0.2", + "@typescript-eslint/parser": "^8.8.0", "concurrently": "^8.2.0", - "eslint": "8.44.0", - "eslint-plugin-deprecation": "~1.4.1", - "eslint-plugin-import": "^2.27.5", + "eslint": "^9.12.0", + "eslint-plugin-deprecation": "^3.0.0", + "eslint-plugin-import": "^2.31.0", "eslint-plugin-no-null": "latest", "eslint-plugin-no-unsanitized": "latest", - "eslint-plugin-react": "^7.32.2", + "eslint-plugin-react": "^7.37.1", "if-env": "^1.0.4", "ignore-styles": "^5.0.1", "mocha": "^10.2.0", @@ -39,7 +39,7 @@ "temp": "^0.9.4", "ts-node": "^10.9.1", "tslint": "^6.1.3", - "typescript": "~4.5.5" + "typescript": "~5.4.5" }, "scripts": { "ext:clean": "cell-component compile:clean && cell-component lint:clean && cell-component test:clean", diff --git a/dev-packages/compression/.eslintrc.js b/dev-packages/compression/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/dev-packages/compression/.eslintrc.js +++ b/dev-packages/compression/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/dev-packages/compression/compile.tsconfig.json b/dev-packages/compression/compile.tsconfig.json deleted file mode 100644 index 50cddfc751..0000000000 --- a/dev-packages/compression/compile.tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "@celljs/component/configs/base.tsconfig.json", - "compilerOptions": { - "composite": true, - "rootDir": "src", - "outDir": "lib" - }, - "include": [ - "src" - ], - "references": [ - { - "path": "../cli-service/compile.tsconfig.json" - }, - { - "path": "../cli-common/compile.tsconfig.json" - } - ] -} diff --git a/dev-packages/compression/tsconfig.json b/dev-packages/compression/tsconfig.json new file mode 100644 index 0000000000..56a48a02fd --- /dev/null +++ b/dev-packages/compression/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "@celljs/component/configs/base.tsconfig.json", + "compilerOptions": { + "composite": true, + "rootDir": "src", + "outDir": "lib" + }, + "include": [ + "src" + ], + "references": [ + { + "path": "../cli-common" + }, + { + "path": "../cli-service" + } + ] +} diff --git a/dev-packages/eslint/.eslintrc.js b/dev-packages/eslint/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/dev-packages/eslint/.eslintrc.js +++ b/dev-packages/eslint/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/dev-packages/eslint/compile.tsconfig.json b/dev-packages/eslint/compile.tsconfig.json deleted file mode 100644 index 50cddfc751..0000000000 --- a/dev-packages/eslint/compile.tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "@celljs/component/configs/base.tsconfig.json", - "compilerOptions": { - "composite": true, - "rootDir": "src", - "outDir": "lib" - }, - "include": [ - "src" - ], - "references": [ - { - "path": "../cli-service/compile.tsconfig.json" - }, - { - "path": "../cli-common/compile.tsconfig.json" - } - ] -} diff --git a/dev-packages/eslint/tsconfig.json b/dev-packages/eslint/tsconfig.json new file mode 100644 index 0000000000..56a48a02fd --- /dev/null +++ b/dev-packages/eslint/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "@celljs/component/configs/base.tsconfig.json", + "compilerOptions": { + "composite": true, + "rootDir": "src", + "outDir": "lib" + }, + "include": [ + "src" + ], + "references": [ + { + "path": "../cli-common" + }, + { + "path": "../cli-service" + } + ] +} diff --git a/dev-packages/frameworks/.eslintrc.js b/dev-packages/frameworks/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/dev-packages/frameworks/.eslintrc.js +++ b/dev-packages/frameworks/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/dev-packages/frameworks/compile.tsconfig.json b/dev-packages/frameworks/tsconfig.json similarity index 100% rename from dev-packages/frameworks/compile.tsconfig.json rename to dev-packages/frameworks/tsconfig.json diff --git a/dev-packages/frameworks/typedoc.json b/dev-packages/frameworks/typedoc.json new file mode 100644 index 0000000000..d36847fc85 --- /dev/null +++ b/dev-packages/frameworks/typedoc.json @@ -0,0 +1,8 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/index.ts" + ], +} \ No newline at end of file diff --git a/dev-packages/pwa/.eslintrc.js b/dev-packages/pwa/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/dev-packages/pwa/.eslintrc.js +++ b/dev-packages/pwa/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/dev-packages/pwa/compile.tsconfig.json b/dev-packages/pwa/compile.tsconfig.json deleted file mode 100644 index 50cddfc751..0000000000 --- a/dev-packages/pwa/compile.tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "@celljs/component/configs/base.tsconfig.json", - "compilerOptions": { - "composite": true, - "rootDir": "src", - "outDir": "lib" - }, - "include": [ - "src" - ], - "references": [ - { - "path": "../cli-service/compile.tsconfig.json" - }, - { - "path": "../cli-common/compile.tsconfig.json" - } - ] -} diff --git a/dev-packages/pwa/tsconfig.json b/dev-packages/pwa/tsconfig.json new file mode 100644 index 0000000000..56a48a02fd --- /dev/null +++ b/dev-packages/pwa/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "@celljs/component/configs/base.tsconfig.json", + "compilerOptions": { + "composite": true, + "rootDir": "src", + "outDir": "lib" + }, + "include": [ + "src" + ], + "references": [ + { + "path": "../cli-common" + }, + { + "path": "../cli-service" + } + ] +} diff --git a/dev-packages/testing/.eslintrc.js b/dev-packages/testing/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/dev-packages/testing/.eslintrc.js +++ b/dev-packages/testing/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/packages/jwt/compile.tsconfig.json b/dev-packages/testing/tsconfig.json similarity index 82% rename from packages/jwt/compile.tsconfig.json rename to dev-packages/testing/tsconfig.json index 9230d656b0..da3c567204 100644 --- a/packages/jwt/compile.tsconfig.json +++ b/dev-packages/testing/tsconfig.json @@ -10,7 +10,7 @@ ], "references": [ { - "path": "../core/compile.tsconfig.json" + "path": "../cli" } ] } diff --git a/dev-packages/testing/typedoc.json b/dev-packages/testing/typedoc.json new file mode 100644 index 0000000000..d36847fc85 --- /dev/null +++ b/dev-packages/testing/typedoc.json @@ -0,0 +1,8 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/index.ts" + ], +} \ No newline at end of file diff --git a/examples/accounts/package.json b/examples/accounts/package.json index e634bf517f..38fb045ae6 100644 --- a/examples/accounts/package.json +++ b/examples/accounts/package.json @@ -23,7 +23,7 @@ "@celljs/serve-static": "3.0.0", "@celljs/typeorm": "3.0.0", "@celljs/web": "3.0.0", - "better-sqlite3": "^7.6.2", + "better-sqlite3": "^11.3.0", "class-transformer": "^0.5.1", "grommet": "^2.25.1", "grommet-icons": "^4.7.0", diff --git a/examples/accounts/tsconfig.json b/examples/accounts/tsconfig.json index 93eff5c639..8052b2381f 100644 --- a/examples/accounts/tsconfig.json +++ b/examples/accounts/tsconfig.json @@ -1,5 +1,6 @@ { "compilerOptions": { + "composite": true, "skipLibCheck": true, "declaration": true, "declarationMap": true, @@ -25,5 +26,43 @@ }, "include": [ "src" + ], + "references": [ + { + "path": "../../cloud-packages/scf-adapter" + }, + { + "path": "../../dev-packages/cli" + }, + { + "path": "../../packages/core" + }, + { + "path": "../../packages/oauth2-client" + }, + { + "path": "../../packages/oauth2-core" + }, + { + "path": "../../packages/rpc" + }, + { + "path": "../../packages/security" + }, + { + "path": "../../packages/serve-static" + }, + { + "path": "../../packages/typeorm" + }, + { + "path": "../../packages/web" + }, + { + "path": "../../ui-packages/grommet" + }, + { + "path": "../../ui-packages/react" + } ] -} \ No newline at end of file +} diff --git a/examples/admin-app/package.json b/examples/admin-app/package.json index 4007c9e40b..5ca8de8d5e 100644 --- a/examples/admin-app/package.json +++ b/examples/admin-app/package.json @@ -18,7 +18,7 @@ "@celljs/serve-static": "3.0.0", "@celljs/shell": "3.0.0", "@celljs/typeorm": "3.0.0", - "better-sqlite3": "^7.6.2", + "better-sqlite3": "^11.3.0", "grommet": "^2.25.1", "react": "^18.2.0", "typeorm": "^0.3.7" diff --git a/examples/admin-app/tsconfig.json b/examples/admin-app/tsconfig.json index 93eff5c639..3f239a4385 100644 --- a/examples/admin-app/tsconfig.json +++ b/examples/admin-app/tsconfig.json @@ -1,5 +1,6 @@ { "compilerOptions": { + "composite": true, "skipLibCheck": true, "declaration": true, "declarationMap": true, @@ -25,5 +26,31 @@ }, "include": [ "src" + ], + "references": [ + { + "path": "../../dev-packages/cli" + }, + { + "path": "../../packages/core" + }, + { + "path": "../../packages/rpc" + }, + { + "path": "../../packages/security" + }, + { + "path": "../../packages/serve-static" + }, + { + "path": "../../packages/typeorm" + }, + { + "path": "../../ui-packages/react" + }, + { + "path": "../../ui-packages/shell" + } ] -} \ No newline at end of file +} diff --git a/examples/adonis-app/package.json b/examples/adonis-app/package.json index dbb265313e..e10261233e 100644 --- a/examples/adonis-app/package.json +++ b/examples/adonis-app/package.json @@ -14,7 +14,7 @@ "@japa/runner": "^2.2.1", "adonis-preset-ts": "^2.1.0", "pino-pretty": "^9.1.0", - "typescript": "~4.5.5", + "typescript": "~5.4.5", "youch": "^3.2.2", "youch-terminal": "^2.1.5" }, diff --git a/examples/adonis-app/tsconfig.json b/examples/adonis-app/tsconfig.json index 3596740a90..348c5e2905 100644 --- a/examples/adonis-app/tsconfig.json +++ b/examples/adonis-app/tsconfig.json @@ -8,6 +8,8 @@ "build" ], "compilerOptions": { + "composite": true, + "declaration": true, "outDir": "build", "rootDir": "./", "sourceMap": true, @@ -30,5 +32,6 @@ "@adonisjs/repl", "@japa/preset-adonis/build/adonis-typings" ] - } + }, + "references": [] } diff --git a/examples/backend-app/tsconfig.json b/examples/backend-app/tsconfig.json index 93eff5c639..bd973f9cad 100644 --- a/examples/backend-app/tsconfig.json +++ b/examples/backend-app/tsconfig.json @@ -1,5 +1,6 @@ { "compilerOptions": { + "composite": true, "skipLibCheck": true, "declaration": true, "declarationMap": true, @@ -25,5 +26,19 @@ }, "include": [ "src" + ], + "references": [ + { + "path": "../../dev-packages/cli" + }, + { + "path": "../../dev-packages/testing" + }, + { + "path": "../../packages/core" + }, + { + "path": "../../packages/mvc" + } ] -} \ No newline at end of file +} diff --git a/examples/docker-app/tsconfig.json b/examples/docker-app/tsconfig.json index 0bcdd87172..53ac1b73d6 100644 --- a/examples/docker-app/tsconfig.json +++ b/examples/docker-app/tsconfig.json @@ -1,5 +1,6 @@ { "compilerOptions": { + "composite": true, "skipLibCheck": true, "esModuleInterop": true, "declaration": true, @@ -26,5 +27,22 @@ }, "include": [ "src" + ], + "references": [ + { + "path": "../../dev-packages/cli" + }, + { + "path": "../../packages/core" + }, + { + "path": "../../packages/rpc" + }, + { + "path": "../../packages/serve-static" + }, + { + "path": "../../ui-packages/react" + } ] -} \ No newline at end of file +} diff --git a/examples/jwt-app/src/error-handler.ts b/examples/jwt-app/src/error-handler.ts index b48afce0ea..b8e0f1ab45 100644 --- a/examples/jwt-app/src/error-handler.ts +++ b/examples/jwt-app/src/error-handler.ts @@ -1,7 +1,7 @@ import { AuthenticationError } from './error'; import { ErrorHandler, Context, RedirectStrategy, DEFALUT_ERROR_HANDLER_PRIORITY } from '@celljs/web/lib/node'; import { Component, Autowired } from '@celljs/core'; -import { HttpStatus, HttpHeaders, XML_HTTP_REQUEST } from '@celljs/web'; +import { HttpStatus, HttpHeaders, XML_HTTP_REQUEST } from '@celljs/http'; @Component(ErrorHandler) export class AuthenticationErrorHandler implements ErrorHandler { diff --git a/examples/jwt-app/src/jwt-middleware.ts b/examples/jwt-app/src/jwt-middleware.ts index 19d9319858..dfa44eb573 100644 --- a/examples/jwt-app/src/jwt-middleware.ts +++ b/examples/jwt-app/src/jwt-middleware.ts @@ -1,5 +1,5 @@ import { Autowired, Component } from '@celljs/core'; -import { HttpHeaders } from '@celljs/web'; +import { HttpHeaders } from '@celljs/http'; import { Context, Middleware, HTTP_MIDDLEWARE_PRIORITY } from '@celljs/web/lib/node'; import { AuthenticationError } from './error'; import { JwtService } from '@celljs/jwt' diff --git a/examples/jwt-app/tsconfig.json b/examples/jwt-app/tsconfig.json index 93eff5c639..578ce3f257 100644 --- a/examples/jwt-app/tsconfig.json +++ b/examples/jwt-app/tsconfig.json @@ -1,5 +1,6 @@ { "compilerOptions": { + "composite": true, "skipLibCheck": true, "declaration": true, "declarationMap": true, @@ -25,5 +26,25 @@ }, "include": [ "src" + ], + "references": [ + { + "path": "../../dev-packages/cli" + }, + { + "path": "../../dev-packages/testing" + }, + { + "path": "../../packages/core" + }, + { + "path": "../../packages/jwt" + }, + { + "path": "../../packages/mvc" + }, + { + "path": "../../packages/web" + } ] -} \ No newline at end of file +} diff --git a/examples/mycli/package.json b/examples/mycli/package.json index dd50ed8842..2ecc9f7388 100644 --- a/examples/mycli/package.json +++ b/examples/mycli/package.json @@ -23,7 +23,7 @@ "@celljs/cli": "3.0.0", "@types/fs-extra": "^11.0.1", "rimraf": "^5.0.1", - "typescript": "~4.5.5" + "typescript": "~5.4.5" }, "scripts": { "prepare": "yarn run clean & yarn run build", diff --git a/examples/mycli/tsconfig.json b/examples/mycli/tsconfig.json index 93eff5c639..75533034b8 100644 --- a/examples/mycli/tsconfig.json +++ b/examples/mycli/tsconfig.json @@ -1,5 +1,6 @@ { "compilerOptions": { + "composite": true, "skipLibCheck": true, "declaration": true, "declarationMap": true, @@ -25,5 +26,13 @@ }, "include": [ "src" + ], + "references": [ + { + "path": "../../dev-packages/cli" + }, + { + "path": "../../packages/core" + } ] -} \ No newline at end of file +} diff --git a/examples/prisma-app/package.json b/examples/prisma-app/package.json index 80e2320bdd..9ab9b7f3ee 100644 --- a/examples/prisma-app/package.json +++ b/examples/prisma-app/package.json @@ -19,7 +19,7 @@ }, "devDependencies": { "@celljs/cli": "3.0.0", - "@celljs/cli-service": "2.60.3", + "@celljs/cli-service": "3.0.0", "@celljs/component": "3.0.0", "@celljs/testing": "3.0.0", "@types/supertest": "^2.0.12", diff --git a/examples/prisma-app/tsconfig.json b/examples/prisma-app/tsconfig.json index 93eff5c639..f7c1b1c28b 100644 --- a/examples/prisma-app/tsconfig.json +++ b/examples/prisma-app/tsconfig.json @@ -1,5 +1,6 @@ { "compilerOptions": { + "composite": true, "skipLibCheck": true, "declaration": true, "declarationMap": true, @@ -25,5 +26,22 @@ }, "include": [ "src" + ], + "references": [ + { + "path": "../../dev-packages/cli" + }, + { + "path": "../../dev-packages/cli-service" + }, + { + "path": "../../dev-packages/testing" + }, + { + "path": "../../packages/core" + }, + { + "path": "../../packages/mvc" + } ] -} \ No newline at end of file +} diff --git a/examples/sample-app/tsconfig.json b/examples/sample-app/tsconfig.json index 0bcdd87172..596afe9415 100644 --- a/examples/sample-app/tsconfig.json +++ b/examples/sample-app/tsconfig.json @@ -1,5 +1,6 @@ { "compilerOptions": { + "composite": true, "skipLibCheck": true, "esModuleInterop": true, "declaration": true, @@ -26,5 +27,25 @@ }, "include": [ "src" + ], + "references": [ + { + "path": "../../dev-packages/cli" + }, + { + "path": "../../dev-packages/cli-service" + }, + { + "path": "../../packages/core" + }, + { + "path": "../../packages/rpc" + }, + { + "path": "../../packages/serve-static" + }, + { + "path": "../../ui-packages/react" + } ] -} \ No newline at end of file +} diff --git a/examples/schedule/tsconfig.json b/examples/schedule/tsconfig.json index 93eff5c639..748f9db96e 100644 --- a/examples/schedule/tsconfig.json +++ b/examples/schedule/tsconfig.json @@ -1,5 +1,6 @@ { "compilerOptions": { + "composite": true, "skipLibCheck": true, "declaration": true, "declarationMap": true, @@ -25,5 +26,19 @@ }, "include": [ "src" + ], + "references": [ + { + "path": "../../dev-packages/cli" + }, + { + "path": "../../packages/core" + }, + { + "path": "../../packages/schedule" + }, + { + "path": "../../packages/web" + } ] -} \ No newline at end of file +} diff --git a/examples/security-app/tsconfig.json b/examples/security-app/tsconfig.json index 93eff5c639..9c38272034 100644 --- a/examples/security-app/tsconfig.json +++ b/examples/security-app/tsconfig.json @@ -1,5 +1,6 @@ { "compilerOptions": { + "composite": true, "skipLibCheck": true, "declaration": true, "declarationMap": true, @@ -25,5 +26,19 @@ }, "include": [ "src" + ], + "references": [ + { + "path": "../../dev-packages/cli" + }, + { + "path": "../../packages/core" + }, + { + "path": "../../packages/mvc" + }, + { + "path": "../../packages/security" + } ] -} \ No newline at end of file +} diff --git a/examples/standalone-app/package.json b/examples/standalone-app/package.json index 9c6cbcca7d..731d756916 100644 --- a/examples/standalone-app/package.json +++ b/examples/standalone-app/package.json @@ -12,6 +12,6 @@ }, "devDependencies": { "ts-node": "^10.9.0", - "typescript": "~4.5.5" + "typescript": "~5.4.5" } } diff --git a/examples/standalone-app/tsconfig.json b/examples/standalone-app/tsconfig.json index 6731d397f9..d158717b9f 100644 --- a/examples/standalone-app/tsconfig.json +++ b/examples/standalone-app/tsconfig.json @@ -1,5 +1,6 @@ { "compilerOptions": { + "composite": true, "skipLibCheck": true, "declaration": true, "declarationMap": true, @@ -23,5 +24,10 @@ }, "include": [ "src" + ], + "references": [ + { + "path": "../../packages/core" + } ] -} \ No newline at end of file +} diff --git a/package.json b/package.json index d2e89974de..d89b571e6f 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "version": "0.0.0", "engines": { "yarn": ">=1.7.0 <2", - "node": ">=16" + "node": ">=18" }, "resolutions": { "**/@types/node": "18" @@ -18,7 +18,7 @@ "chai-string": "^1.4.0", "lerna": "^5.6.2", "nx": "^14.4.3", - "typedoc": "^0.24.8", + "typedoc": "^0.26.8", "typedoc-plugin-external-module-map": "~1.3.2", "typedoc-plugin-remove-references": "^0.0.6" }, @@ -27,8 +27,8 @@ "prepare": "yarn run prepare:references && yarn run prepare:build", "prepare:references": "node scripts/compile-references.js", "prepare:build": "yarn build && yarn run lint", - "build": "tsc -b configs/root-compilation.tsconfig.json", - "watch": "tsc -b configs/root-compilation.tsconfig.json -w", + "build": "tsc -b", + "watch": "tsc -b -w --preserveWatchOutput", "clean": "yarn lint:clean && lerna run clean", "build:clean": "lerna run prepare", "lint": "lerna run lint", diff --git a/packages/cache/.eslintrc.js b/packages/cache/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/packages/cache/.eslintrc.js +++ b/packages/cache/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/packages/cache/compile.tsconfig.json b/packages/cache/compile.tsconfig.json deleted file mode 100644 index 2f494575e6..0000000000 --- a/packages/cache/compile.tsconfig.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "extends":"@celljs/component/configs/base.tsconfig.json", - "compilerOptions": { - "composite": true, - "rootDir": "src", - "outDir": "lib" - }, - "include": [ - "src" - ], - "references": [ - { - "path": "../core/compile.tsconfig.json" - } - ] -} diff --git a/packages/cache/tsconfig.json b/packages/cache/tsconfig.json new file mode 100644 index 0000000000..fe50d390ed --- /dev/null +++ b/packages/cache/tsconfig.json @@ -0,0 +1,16 @@ +{ + "extends": "@celljs/component/configs/base.tsconfig.json", + "compilerOptions": { + "composite": true, + "rootDir": "src", + "outDir": "lib" + }, + "include": [ + "src" + ], + "references": [ + { + "path": "../core" + } + ] +} diff --git a/packages/cache/typedoc.json b/packages/cache/typedoc.json new file mode 100644 index 0000000000..3e63873b2d --- /dev/null +++ b/packages/cache/typedoc.json @@ -0,0 +1,8 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/node/index.ts" + ], +} \ No newline at end of file diff --git a/packages/config/.eslintrc.js b/packages/config/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/packages/config/.eslintrc.js +++ b/packages/config/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/packages/config/compile.tsconfig.json b/packages/config/compile.tsconfig.json deleted file mode 100644 index 2f494575e6..0000000000 --- a/packages/config/compile.tsconfig.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "extends":"@celljs/component/configs/base.tsconfig.json", - "compilerOptions": { - "composite": true, - "rootDir": "src", - "outDir": "lib" - }, - "include": [ - "src" - ], - "references": [ - { - "path": "../core/compile.tsconfig.json" - } - ] -} diff --git a/packages/config/tsconfig.json b/packages/config/tsconfig.json new file mode 100644 index 0000000000..fe50d390ed --- /dev/null +++ b/packages/config/tsconfig.json @@ -0,0 +1,16 @@ +{ + "extends": "@celljs/component/configs/base.tsconfig.json", + "compilerOptions": { + "composite": true, + "rootDir": "src", + "outDir": "lib" + }, + "include": [ + "src" + ], + "references": [ + { + "path": "../core" + } + ] +} diff --git a/packages/config/typedoc.json b/packages/config/typedoc.json new file mode 100644 index 0000000000..3e63873b2d --- /dev/null +++ b/packages/config/typedoc.json @@ -0,0 +1,8 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/node/index.ts" + ], +} \ No newline at end of file diff --git a/packages/core/.eslintrc.js b/packages/core/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/packages/core/.eslintrc.js +++ b/packages/core/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/packages/core/src/common/error/cutom-error.ts b/packages/core/src/common/error/custom-error.ts similarity index 100% rename from packages/core/src/common/error/cutom-error.ts rename to packages/core/src/common/error/custom-error.ts diff --git a/packages/core/src/common/error/error-protocol.ts b/packages/core/src/common/error/error-protocol.ts index 0594f21cd4..8fc55b4742 100644 --- a/packages/core/src/common/error/error-protocol.ts +++ b/packages/core/src/common/error/error-protocol.ts @@ -1,4 +1,4 @@ -import { CustomError } from './cutom-error'; +import { CustomError } from './custom-error'; import { Newable, Abstract } from '../utils'; export type ErrorType = Newable | Abstract; diff --git a/packages/core/src/common/error/illegal-argument-error.ts b/packages/core/src/common/error/illegal-argument-error.ts index b0ef226f9e..865ca53e11 100644 --- a/packages/core/src/common/error/illegal-argument-error.ts +++ b/packages/core/src/common/error/illegal-argument-error.ts @@ -1,4 +1,4 @@ -import { CustomError } from './cutom-error'; +import { CustomError } from './custom-error'; export class IllegalArgumentError extends CustomError { diff --git a/packages/core/src/common/error/illegal-state-error.ts b/packages/core/src/common/error/illegal-state-error.ts new file mode 100644 index 0000000000..3a8c63e42b --- /dev/null +++ b/packages/core/src/common/error/illegal-state-error.ts @@ -0,0 +1,5 @@ +import { CustomError } from './custom-error'; + +export class IllegalStateError extends CustomError { + +} diff --git a/packages/core/src/common/error/index.ts b/packages/core/src/common/error/index.ts index fca08c8bcb..cae9e4599c 100644 --- a/packages/core/src/common/error/index.ts +++ b/packages/core/src/common/error/index.ts @@ -1,3 +1,5 @@ export * from './error-protocol'; -export * from './cutom-error'; +export * from './custom-error'; export * from './illegal-argument-error'; +export * from './illegal-state-error'; +export * from './invalid-mime-type-error'; diff --git a/packages/core/src/common/error/invalid-mime-type-error.ts b/packages/core/src/common/error/invalid-mime-type-error.ts new file mode 100644 index 0000000000..3a682a095d --- /dev/null +++ b/packages/core/src/common/error/invalid-mime-type-error.ts @@ -0,0 +1,7 @@ +import { CustomError } from './custom-error'; + +export class InvalidMimeTypeError extends CustomError { + constructor(public readonly mimeType: string, message: string) { + super(`Invalid mime type "${mimeType}": ${message}`); + } +} diff --git a/packages/core/src/common/utils/assert.ts b/packages/core/src/common/utils/assert.ts new file mode 100644 index 0000000000..192fb0ca31 --- /dev/null +++ b/packages/core/src/common/utils/assert.ts @@ -0,0 +1,300 @@ +import { IllegalStateError } from '../error/illegal-state-error'; +import { getSuperClasses } from './class-util'; + +/* eslint-disable @typescript-eslint/no-explicit-any */ +/* eslint-disable no-null/no-null */ + +export abstract class Assert { + /** + * Assert a boolean expression, throwing an `IllegalStateError` + * if the expression evaluates to `false`. + * @param expression a boolean expression + * @param message the exception message to use if the assertion fails + * @throws IllegalStateError if `expression` is `false` + * @example + * Assert.state(id === undefined, "The id property must not already be initialized"); + * Assert.state(entity.getId() === undefined, + * () => "ID for entity " + entity.getName() + " must not already be initialized"); + */ + static state(expression: boolean, message: string | (() => string)): void { + if (!expression) { + throw new IllegalStateError(this.resolveMessage(message)); + } + } + + /** + * Assert a boolean expression, throwing an `IllegalStateError` + * if the expression evaluates to `false`. + * @param expression a boolean expression + * @param message the exception message to use if the assertion fails + * @throws IllegalStateError if `expression` is `false` + * @example + * Assert.isTrue(i > 0, "The value must be greater than zero"); + * Assert.isTrue(i > 0, () => "The value '" + i + "' must be greater than zero"); + */ + static isTrue(expression: boolean, message: string | (() => string)): void { + if (!expression) { + throw new IllegalStateError(this.resolveMessage(message)); + } + } + + /** + * Assert that an object is `undefined`. + * @param object the object to check + * @param message the exception message to use if the assertion fails + * @throws IllegalStateError if the object is not `undefined` + * @example + * Assert.isNull(value, "The value must be null"); + * Assert.isNull(value, () => "The value '" + value + "' must be null"); + */ + static isNull(object: any, message: string | (() => string)): void { + if (object !== undefined || object !== null) { + throw new IllegalStateError(this.resolveMessage(message)); + } + } + + /** + * Assert that an object is not `undefined`. + * @param object the object to check + * @param message the exception message to use if the assertion fails + * @throws IllegalStateError if the object is `undefined` + * @example + * Assert.notNull(clazz, "The class must not be null"); + * Assert.notNull(entity.getId(), + * () => "ID for entity " + entity.getName() + " must not be null"); + */ + static notNull(object: unknown, message: string | (() => string)): void { + if (object === undefined || object === null) { + throw new IllegalStateError(this.resolveMessage(message)); + } + } + + /** + * Assert that the given String is not empty; that is, + * it must not be `undefined` and not the empty String. + * @param text the String to check + * @param message the exception message to use if the assertion fails + * @throws IllegalStateError if the text is empty + * @example + * Assert.hasLength(name, "Name must not be empty"); + * Assert.hasLength(name, () => "Name for account '" + account.getId() + "' must not be empty"); + */ + static hasLength(text: string | undefined, message: string | (() => string)): void { + if (!text || text.length === 0) { + throw new IllegalStateError(this.resolveMessage(message)); + } + } + + /** + * Assert that the given String contains valid text content; that is, it must not + * be `undefined` and must contain at least one non-whitespace character. + * @param text the String to check + * @param message the exception message to use if the assertion fails + * @throws IllegalStateError if the text does not contain valid text content + * @example + * Assert.hasText(account.getName(), "Name must not be empty"); + * Assert.hasText(account.getName(), + * () => "Name for account '" + account.getId() + "' must not be empty"); + */ + static hasText(text: string | undefined, message: string | (() => string)): void { + if (!text || text.trim().length === 0) { + throw new IllegalStateError(this.resolveMessage(message)); + } + } + + /** + * Assert that the given text does not contain the given substring. + * @param textToSearch the text to search + * @param substring the substring to find within the text + * @param message the exception message to use if the assertion fails + * @throws IllegalStateError if the text contains the substring + * @example + * Assert.doesNotContain(name, forbidden, "Name must not contain '" + forbidden + "'"); + * Assert.doesNotContain(name, forbidden, + * () => "Name must not contain '" + forbidden + "'"); + */ + static doesNotContain(textToSearch: string | undefined, substring: string, message: string | (() => string)): void { + if (textToSearch && substring && textToSearch.includes(substring)) { + throw new IllegalStateError(this.resolveMessage(message)); + } + } + + /** + * Assert that an array contains elements; that is, it must not be + * `undefined` and must contain at least one element. + * @param array the array to check + * @param message the exception message to use if the assertion fails + * @throws IllegalStateError if the object array is `undefined` or contains no elements + * @example + * Assert.notEmpty(array, "The array must contain elements"); + * Assert.notEmpty(array, () => "The " + arrayType + " array must contain elements"); + */ + static notEmpty(array: unknown[] | undefined, message: string | (() => string)): void { + if (!array || array.length === 0) { + throw new IllegalStateError(this.resolveMessage(message)); + } + } + + /** + * Assert that an array contains no `undefined` elements. + *

Note: Does not complain if the array is empty! + * @param array the array to check + * @param message the exception message to use if the assertion fails + * @throws IllegalStateError if the object array contains a `undefined` element + * @example + * Assert.noNullElements(array, "The array must contain non-null elements"); + * Assert.noNullElements(array, () => "The " + arrayType + " array must contain non-null elements"); + */ + static noNullElements(array: unknown[] | undefined, message: string | (() => string)): void { + if (array) { + for (const element of array) { + if (element === undefined || element === null) { + throw new IllegalStateError(this.resolveMessage(message)); + } + } + } + } + + /** + * Assert that a collection contains elements; that is, it must not be + * `undefined` and must contain at least one element. + * @param collection the collection to check + * @param message the exception message to use if the assertion fails + * @throws IllegalStateError if the collection is `undefined` or + * contains no elements + * @example + * Assert.notEmpty(collection, "Collection must contain elements"); + * Assert.notEmpty(collection, () => "The " + collectionType + " collection must contain elements"); + */ + static notEmptyCollection(collection: unknown[] | undefined, message: string | (() => string)): void { + if (!collection || collection.length === 0) { + throw new IllegalStateError(this.resolveMessage(message)); + } + } + + /** + * Assert that a collection contains no `undefined` elements. + *

Note: Does not complain if the collection is empty! + * @param collection the collection to check + * @param message the exception message to use if the assertion fails + * @throws IllegalStateError if the collection contains a `undefined` + * @example + * Assert.noNullElements(collection, "Collection must contain non-null elements"); + * Assert.noNullElements(collection, () => "The " + collectionName + " must contain non-null elements"); + */ + static noNullElementsCollection(collection: unknown[] | undefined, message: string | (() => string)): void { + if (collection) { + for (const element of collection) { + if (element === undefined || element === null) { + throw new IllegalStateError(this.resolveMessage(message)); + } + } + } + } + + /** + * Assert that a Map contains entries; that is, it must not be `undefined` + * and must contain at least one entry. + * @param map the map to check + * @param message the exception message to use if the assertion fails + * @throws IllegalStateError if the map is `undefined` or contains no entries + * @example + * Assert.notEmpty(map, "The map must contain entries"); + * Assert.notEmpty(map, () => "The " + mapType + " map must contain entries"); + */ + static notEmptyMap(map: Map | undefined, message: string | (() => string)): void { + if (!map || map.size === 0) { + throw new IllegalStateError(this.resolveMessage(message)); + } + } + + /** + * Assert that the provided object is an instance of the provided class. + * @param type the type to check against + * @param obj the object to check + * @param message a message which will be prepended to provide further context. + * If it is empty or ends in ":" or ";" or "," or ".", a full exception message + * will be appended. If it ends in a space, the name of the offending object's + * type will be appended. In any other case, a ":" with a space and the name + * of the offending object's type will be appended. + * @throws IllegalStateError if the object is not an instance of type + * @example + * Assert.instanceOf(Foo, foo, "Foo expected"); + * Assert.instanceOf(Foo, foo, () => "Processing " + Foo.name + ":"); + * Assert.instanceOf(Foo, foo); + */ + static isInstanceOf(type: any, obj: unknown, message?: string | (() => string)): void { + this.notNull(type, 'Type to check against must not be null'); + if (!(obj instanceof type)) { + this.instanceCheckFailed(type, obj, this.resolveMessage(message)); + } + } + + /** + * Assert that `superType.isAssignableFrom(subType)` is `true`. + * @param superType the supertype to check against + * @param subType the subtype to check + * @param message a message which will be prepended to provide further context. + * If it is empty or ends in ":" or ";" or "," or ".", a full exception message + * will be appended. If it ends in a space, the name of the offending subtype + * will be appended. In any other case, a ":" with a space and the name of the + * offending subtype will be appended. + * @throws IllegalStateError if the classes are not assignable + * @example + * Assert.isAssignable(Number, myClass, "Number expected"); + * Assert.isAssignable(Number, myClass, () => "Processing " + myAttributeName + ":"); + */ + static isAssignable(superType: unknown, subType: any | undefined, message?: string | (() => string)): void { + this.notNull(superType, 'Supertype to check against must not be null'); + if (subType === undefined || !getSuperClasses(subType).includes(superType)) { + this.assignableCheckFailed(superType, subType, this.resolveMessage(message)); + } + } + + private static instanceCheckFailed(type: unknown, obj: any | undefined, msg: string | undefined): void { + const className = (obj !== undefined ? obj.constructor.name : 'undefined'); + let result = ''; + let defaultMessage = true; + if (msg && msg.length > 0) { + if (this.endsWithSeparator(msg)) { + result = msg + ' '; + } else { + result = this.messageWithTypeName(msg, className); + defaultMessage = false; + } + } + if (defaultMessage) { + result = result + (`Object of class [${className}] must be an instance of ${type}`); + } + throw new IllegalStateError(result); + } + + private static assignableCheckFailed(superType: unknown, subType: unknown | undefined, msg: string | undefined): void { + let result = ''; + let defaultMessage = true; + if (msg && msg.length > 0) { + if (this.endsWithSeparator(msg)) { + result = msg + ' '; + } else { + result = this.messageWithTypeName(msg, subType); + defaultMessage = false; + } + } + if (defaultMessage) { + result = result + (`${subType} is not assignable to ${superType}`); + } + throw new IllegalStateError(result); + } + + private static endsWithSeparator(msg: string): boolean { + return (msg.endsWith(':') || msg.endsWith(';') || msg.endsWith(',') || msg.endsWith('.')); + } + + private static messageWithTypeName(msg: string, typeName: any): string { + return msg + (msg.endsWith(' ') ? '' : ': ') + ('name' in typeName) ? typeName.name : typeName; + } + + private static resolveMessage(message?: (() => string) | string): string | undefined { + return typeof message === 'function' ? message() : message; + } +} diff --git a/packages/core/src/common/utils/index.ts b/packages/core/src/common/utils/index.ts index eef12f1fa7..afab463f43 100644 --- a/packages/core/src/common/utils/index.ts +++ b/packages/core/src/common/utils/index.ts @@ -14,3 +14,6 @@ export * from './global-util'; export * from './async'; export * from './url-util'; export * from './uuid'; +export * from './assert'; +export * from './mime-type-util'; +export * from './mime-type'; diff --git a/packages/core/src/common/utils/mime-type-util.ts b/packages/core/src/common/utils/mime-type-util.ts new file mode 100644 index 0000000000..8c3604098b --- /dev/null +++ b/packages/core/src/common/utils/mime-type-util.ts @@ -0,0 +1,180 @@ +import { MimeType } from './mime-type'; +import { InvalidMimeTypeError } from '../error'; + +export abstract class MimeTypeUtils { + private static readonly BOUNDARY_CHARS: string[] = + ['-', '_', '1', '2', '3', '4', '5', '6', '7', '8', '9', '0', 'a', 'b', 'c', 'd', 'e', 'f', 'g', + 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', 'A', + 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', + 'V', 'W', 'X', 'Y', 'Z']; + + static readonly ALL: MimeType = new MimeType('*', '*'); + static readonly ALL_VALUE: string = '*/*'; + static readonly APPLICATION_GRAPHQL: MimeType = new MimeType('application', 'graphql+json'); + static readonly APPLICATION_GRAPHQL_VALUE: string = 'application/graphql+json'; + static readonly APPLICATION_JSON: MimeType = new MimeType('application', 'json'); + static readonly APPLICATION_JSON_VALUE: string = 'application/json'; + static readonly APPLICATION_OCTET_STREAM: MimeType = new MimeType('application', 'octet-stream'); + static readonly APPLICATION_OCTET_STREAM_VALUE: string = 'application/octet-stream'; + static readonly APPLICATION_XML: MimeType = new MimeType('application', 'xml'); + static readonly APPLICATION_XML_VALUE: string = 'application/xml'; + static readonly IMAGE_GIF: MimeType = new MimeType('image', 'gif'); + static readonly IMAGE_GIF_VALUE: string = 'image/gif'; + static readonly IMAGE_JPEG: MimeType = new MimeType('image', 'jpeg'); + static readonly IMAGE_JPEG_VALUE: string = 'image/jpeg'; + static readonly IMAGE_PNG: MimeType = new MimeType('image', 'png'); + static readonly IMAGE_PNG_VALUE: string = 'image/png'; + static readonly TEXT_HTML: MimeType = new MimeType('text', 'html'); + static readonly TEXT_HTML_VALUE: string = 'text/html'; + static readonly TEXT_PLAIN: MimeType = new MimeType('text', 'plain'); + static readonly TEXT_PLAIN_VALUE: string = 'text/plain'; + static readonly TEXT_XML: MimeType = new MimeType('text', 'xml'); + static readonly TEXT_XML_VALUE: string = 'text/xml'; + + private static cachedMimeTypes: Map = new Map(); + + static parseMimeType(mimeType: string): MimeType { + if (!mimeType) { + throw new InvalidMimeTypeError(mimeType, '"mimeType" must not be empty'); + } + if (mimeType.startsWith('multipart')) { + return this.parseMimeTypeInternal(mimeType); + } + if (!this.cachedMimeTypes.has(mimeType)) { + this.cachedMimeTypes.set(mimeType, this.parseMimeTypeInternal(mimeType)); + } + return this.cachedMimeTypes.get(mimeType)!; + } + + private static parseMimeTypeInternal(mimeType: string): MimeType { + let index = mimeType.indexOf(';'); + let fullType = (index >= 0 ? mimeType.substring(0, index) : mimeType).trim(); + if (fullType.length === 0) { + throw new InvalidMimeTypeError(mimeType, '"mimeType" must not be empty'); + } + + if (fullType === '*') { + fullType = '*/*'; + } + const subIndex = fullType.indexOf('/'); + if (subIndex === -1) { + throw new InvalidMimeTypeError(mimeType, 'does not contain "/"'); + } + if (subIndex === fullType.length - 1) { + throw new InvalidMimeTypeError(mimeType, 'does not contain subtype after "/"'); + } + const type = fullType.substring(0, subIndex); + const subtype = fullType.substring(subIndex + 1); + if (type === '*' && subtype !== '*') { + throw new InvalidMimeTypeError(mimeType, 'wildcard type is legal only in "*/*" (all mime types)'); + } + + let parameters: Map | undefined = undefined; + do { + let nextIndex = index + 1; + let quoted = false; + while (nextIndex < mimeType.length) { + const ch = mimeType.charAt(nextIndex); + if (ch === ';') { + if (!quoted) { + break; + } + } else if (ch === '"') { + quoted = !quoted; + } + nextIndex++; + } + const parameter = mimeType.substring(index + 1, nextIndex).trim(); + if (parameter.length > 0) { + if (parameters === undefined) { + parameters = new Map(); + } + const eqIndex = parameter.indexOf('='); + if (eqIndex >= 0) { + const attribute = parameter.substring(0, eqIndex).trim(); + const value = parameter.substring(eqIndex + 1).trim(); + parameters.set(attribute, value); + } + } + index = nextIndex; + } while (index < mimeType.length); + + try { + return new MimeType(type, subtype, parameters); + } catch (ex) { + throw new InvalidMimeTypeError(mimeType, ex.message); + } + } + + static parseMimeTypes(mimeTypes: string): MimeType[] { + if (!mimeTypes) { + return []; + } + return this.tokenize(mimeTypes).filter(mimeType => !!mimeType).map(this.parseMimeType); + } + + static tokenize(mimeTypes: string): string[] { + if (!mimeTypes) { + return []; + } + const tokens: string[] = []; + let inQuotes = false; + let startIndex = 0; + let i = 0; + while (i < mimeTypes.length) { + switch (mimeTypes.charAt(i)) { + case '"': + inQuotes = !inQuotes; + break; + case ',': + if (!inQuotes) { + tokens.push(mimeTypes.substring(startIndex, i)); + startIndex = i + 1; + } + break; + case '\\': + i++; + break; + } + i++; + } + tokens.push(mimeTypes.substring(startIndex)); + return tokens; + } + + static toString(mimeTypes: MimeType[]): string { + return mimeTypes.map(mimeType => mimeType.toString()).join(', '); + } + + static sortBySpecificity(mimeTypes: T[]): void { + if (mimeTypes.length > 50) { + throw new InvalidMimeTypeError(mimeTypes.toString(), 'Too many elements'); + } + this.bubbleSort(mimeTypes, (a, b) => a.isLessSpecific(b)); + } + + private static bubbleSort(list: T[], swap: (a: T, b: T) => boolean): void { + const len = list.length; + for (let i = 0; i < len; i++) { + for (let j = 1; j < len - i; j++) { + const prev = list[j - 1]; + const cur = list[j]; + if (swap(prev, cur)) { + list[j] = prev; + list[j - 1] = cur; + } + } + } + } + + static generateMultipartBoundary(): Uint8Array { + const boundary = new Uint8Array(Math.floor(Math.random() * 11) + 30); + for (let i = 0; i < boundary.length; i++) { + boundary[i] = this.BOUNDARY_CHARS[Math.floor(Math.random() * this.BOUNDARY_CHARS.length)].charCodeAt(0); + } + return boundary; + } + static generateMultipartBoundaryString(): string { + return new TextDecoder('ascii').decode(this.generateMultipartBoundary()); + } +} diff --git a/packages/core/src/common/utils/mime-type.ts b/packages/core/src/common/utils/mime-type.ts new file mode 100644 index 0000000000..d640bc9ef5 --- /dev/null +++ b/packages/core/src/common/utils/mime-type.ts @@ -0,0 +1,276 @@ +import { Assert } from './assert'; +import { MimeTypeUtils } from './mime-type-util'; + +export class MimeType { + private static readonly WILDCARD_TYPE = '*'; + private static readonly PARAM_CHARSET = 'charset'; + private static TOKEN: Set; + + private readonly type: string; + private readonly subtype: string; + private readonly parameters: Map; + + private charset?: string; + + static { + const ctl = new Set(); + for (let i = 0; i <= 31; i++) { + ctl.add(i); + } + ctl.add(127); + + const separators = new Set(); + separators.add('('.charCodeAt(0)); + separators.add(')'.charCodeAt(0)); + separators.add('<'.charCodeAt(0)); + separators.add('>'.charCodeAt(0)); + separators.add('@'.charCodeAt(0)); + separators.add(','.charCodeAt(0)); + separators.add(';'.charCodeAt(0)); + separators.add(':'.charCodeAt(0)); + separators.add('\\'.charCodeAt(0)); + separators.add('"'.charCodeAt(0)); + separators.add('/'.charCodeAt(0)); + separators.add('['.charCodeAt(0)); + separators.add(']'.charCodeAt(0)); + separators.add('?'.charCodeAt(0)); + separators.add('='.charCodeAt(0)); + separators.add('{'.charCodeAt(0)); + separators.add('}'.charCodeAt(0)); + separators.add(' '.charCodeAt(0)); + separators.add('\t'.charCodeAt(0)); + + for (let i = 0; i < 128; i++) { + if (!ctl.has(i) && !separators.has(i)) { + this.TOKEN.add(i); + } + } + } + + constructor(type: string, subtype: string = MimeType.WILDCARD_TYPE, parameters?: Map) { + Assert.hasLength(type, '"type" must not be empty'); + Assert.hasLength(subtype, '"subtype" must not be empty'); + this.checkToken(type); + this.checkToken(subtype); + this.type = type.toLowerCase(); + this.subtype = subtype.toLowerCase(); + if (parameters) { + const map: Map = new Map(); + for (const [key, value] of Object.entries(parameters)) { + this.checkParameters(key, value); + map.set(key.toLowerCase(), value); + } + this.parameters = map; + } else { + this.parameters = new Map(); + } + } + + private checkToken(token: string) { + for (let i = 0; i < token.length; i++) { + const ch = token.charCodeAt(i); + if (!MimeType.TOKEN.has(ch)) { + throw new Error(`Invalid token character "${String.fromCharCode(ch)}" in token "${token}"`); + } + } + } + + protected checkParameters(parameter: string, value: string) { + Assert.hasLength(parameter, '"parameter" must not be empty'); + Assert.hasLength(value, '"value" must not be empty'); + this.checkToken(parameter); + if (MimeType.PARAM_CHARSET === parameter) { + if (!this.charset) { + this.charset = this.unquote(value); + } + } else if (!this.isQuotedString(value)) { + this.checkToken(value); + } + } + + private isQuotedString(s: string): boolean { + if (s.length < 2) { + return false; + } else { + return ((s.startsWith('"') && s.endsWith('"')) || (s.startsWith('\'') && s.endsWith('\''))); + } + } + + protected unquote(s: string): string { + return (this.isQuotedString(s) ? s.substring(1, s.length - 1) : s); + } + + isWildcardType(): boolean { + return MimeType.WILDCARD_TYPE === this.getType(); + } + + isWildcardSubtype(): boolean { + const subtype = this.getSubtype(); + return (MimeType.WILDCARD_TYPE === subtype || subtype.startsWith('*+')); + } + + isConcrete(): boolean { + return !this.isWildcardType() && !this.isWildcardSubtype(); + } + + getType(): string { + return this.type; + } + + getSubtype(): string { + return this.subtype; + } + + getSubtypeSuffix(): string | undefined { + const suffixIndex = this.subtype.lastIndexOf('+'); + if (suffixIndex !== -1 && this.subtype.length > suffixIndex) { + return this.subtype.substring(suffixIndex + 1); + } + return undefined; + } + + getCharset(): string | undefined { + return this.charset; + } + + getParameter(name: string): string | undefined { + return this.parameters.get(name); + } + + getParameters(): Map { + return this.parameters; + } + + includes(other?: MimeType): boolean { + if (other === undefined) { + return false; + } + if (this.isWildcardType()) { + return true; + } else if (this.getType() === other.getType()) { + if (this.getSubtype() === other.getSubtype()) { + return true; + } + if (this.isWildcardSubtype()) { + const thisPlusIdx = this.getSubtype().lastIndexOf('+'); + if (thisPlusIdx === -1) { + return true; + } else { + const otherPlusIdx = other.getSubtype().lastIndexOf('+'); + if (otherPlusIdx !== -1) { + const thisSubtypeNoSuffix = this.getSubtype().substring(0, thisPlusIdx); + const thisSubtypeSuffix = this.getSubtype().substring(thisPlusIdx + 1); + const otherSubtypeSuffix = other.getSubtype().substring(otherPlusIdx + 1); + if (thisSubtypeSuffix === otherSubtypeSuffix && MimeType.WILDCARD_TYPE === thisSubtypeNoSuffix) { + return true; + } + } + } + } + } + return false; + } + + isCompatibleWith(other?: MimeType): boolean { + if (other === undefined) { + return false; + } + if (this.isWildcardType() || other.isWildcardType()) { + return true; + } else if (this.getType() === other.getType()) { + if (this.getSubtype() === other.getSubtype()) { + return true; + } + if (this.isWildcardSubtype() || other.isWildcardSubtype()) { + const thisSuffix = this.getSubtypeSuffix(); + const otherSuffix = other.getSubtypeSuffix(); + if (this.getSubtype() === MimeType.WILDCARD_TYPE || other.getSubtype() === MimeType.WILDCARD_TYPE) { + return true; + } else if (this.isWildcardSubtype() && thisSuffix !== undefined) { + return (thisSuffix === other.getSubtype() || thisSuffix === otherSuffix); + } else if (other.isWildcardSubtype() && otherSuffix !== undefined) { + return (this.getSubtype() === otherSuffix || otherSuffix === thisSuffix); + } + } + } + return false; + } + + equalsTypeAndSubtype(other?: MimeType): boolean { + if (other === undefined) { + return false; + } + return this.type.toLowerCase() === other.type.toLowerCase() && this.subtype.toLowerCase() === other.subtype.toLowerCase(); + } + + isPresentIn(mimeTypes: MimeType[]): boolean { + for (const mimeType of mimeTypes) { + if (mimeType.equalsTypeAndSubtype(this)) { + return true; + } + } + return false; + } + + equals(other: unknown): boolean { + return (this === other || (other instanceof MimeType && + this.type.toLowerCase() === other.type.toLowerCase() && + this.subtype.toLowerCase() === other.subtype.toLowerCase() && + this.parametersAreEqual(other))); + } + + private parametersAreEqual(other: MimeType): boolean { + if (this.parameters.size !== other.parameters.size) { + return false; + } + + for (const [key, value] of this.parameters) { + if (!other.parameters.has(key)) { + return false; + } + if (MimeType.PARAM_CHARSET === key) { + if (this.getCharset() !== other.getCharset()) { + return false; + } + } else if (value !== other.parameters.get(key)) { + return false; + } + } + + return true; + } + + isMoreSpecific(other: MimeType): boolean { + Assert.notNull(other, 'Other must not be null'); + const thisWildcard = this.isWildcardType(); + const otherWildcard = other.isWildcardType(); + if (thisWildcard && !otherWildcard) { + return false; + } else if (!thisWildcard && otherWildcard) { + return true; + } else { + const thisWildcardSubtype = this.isWildcardSubtype(); + const otherWildcardSubtype = other.isWildcardSubtype(); + if (thisWildcardSubtype && !otherWildcardSubtype) { + return false; + } else if (!thisWildcardSubtype && otherWildcardSubtype) { + return true; + } else if (this.getType() === other.getType() && this.getSubtype() === other.getSubtype()) { + const paramsSize1 = this.getParameters().size; + const paramsSize2 = other.getParameters().size; + return paramsSize1 > paramsSize2; + } else { + return false; + } + } + } + + isLessSpecific(other: MimeType): boolean { + Assert.notNull(other, 'Other must not be null'); + return other.isMoreSpecific(this); + } + + static valueOf(value: string): MimeType { + return MimeTypeUtils.parseMimeType(value); + } +} diff --git a/packages/core/src/common/utils/os.ts b/packages/core/src/common/utils/os.ts index 9325a4676d..3a2742c4e4 100644 --- a/packages/core/src/common/utils/os.ts +++ b/packages/core/src/common/utils/os.ts @@ -33,8 +33,8 @@ export namespace OS { } /** - * Returns with the type of the operating system. If it is neither [Windows](isWindows) nor [OS X](isOSX), then - * it always return with the `Linux` OS type. + * Returns with the type of the operating system. If it is neither Windows nor OS X, then + * it always returns with the `Linux` OS type. */ export function type(): OS.Type { if (isWindows) { diff --git a/packages/core/compile.tsconfig.json b/packages/core/tsconfig.json similarity index 100% rename from packages/core/compile.tsconfig.json rename to packages/core/tsconfig.json diff --git a/packages/core/typedoc.json b/packages/core/typedoc.json new file mode 100644 index 0000000000..e9ee16121c --- /dev/null +++ b/packages/core/typedoc.json @@ -0,0 +1,10 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/common/index.ts", + "src/node/index.ts", + "src/browser/index.ts", + ], +} \ No newline at end of file diff --git a/packages/elasticsearch/.eslintrc.js b/packages/elasticsearch/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/packages/elasticsearch/.eslintrc.js +++ b/packages/elasticsearch/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/packages/elasticsearch/tsconfig.json b/packages/elasticsearch/tsconfig.json new file mode 100644 index 0000000000..fe50d390ed --- /dev/null +++ b/packages/elasticsearch/tsconfig.json @@ -0,0 +1,16 @@ +{ + "extends": "@celljs/component/configs/base.tsconfig.json", + "compilerOptions": { + "composite": true, + "rootDir": "src", + "outDir": "lib" + }, + "include": [ + "src" + ], + "references": [ + { + "path": "../core" + } + ] +} diff --git a/packages/elasticsearch/typedoc.json b/packages/elasticsearch/typedoc.json new file mode 100644 index 0000000000..d36847fc85 --- /dev/null +++ b/packages/elasticsearch/typedoc.json @@ -0,0 +1,8 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/index.ts" + ], +} \ No newline at end of file diff --git a/packages/express-adapter/.eslintrc.js b/packages/express-adapter/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/packages/express-adapter/.eslintrc.js +++ b/packages/express-adapter/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/dev-packages/cli-common/compile.tsconfig.json b/packages/express-adapter/tsconfig.json similarity index 78% rename from dev-packages/cli-common/compile.tsconfig.json rename to packages/express-adapter/tsconfig.json index 204ee33b61..580e67355b 100644 --- a/dev-packages/cli-common/compile.tsconfig.json +++ b/packages/express-adapter/tsconfig.json @@ -10,7 +10,10 @@ ], "references": [ { - "path": "../frameworks/compile.tsconfig.json" + "path": "../core" + }, + { + "path": "../web" } ] } diff --git a/packages/express-adapter/typedoc.json b/packages/express-adapter/typedoc.json new file mode 100644 index 0000000000..3e63873b2d --- /dev/null +++ b/packages/express-adapter/typedoc.json @@ -0,0 +1,8 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/node/index.ts" + ], +} \ No newline at end of file diff --git a/packages/http/.eslintrc.js b/packages/http/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/packages/http/.eslintrc.js +++ b/packages/http/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/packages/http/src/common/http/http-headers.ts b/packages/http/src/common/http/http-headers.ts index eb06116c87..4a627528f9 100644 --- a/packages/http/src/common/http/http-headers.ts +++ b/packages/http/src/common/http/http-headers.ts @@ -1,301 +1,301 @@ export class HttpHeaders { /** - * The HTTP {@code Accept} header field name. + * The HTTP `Accept` header field name. * @see Section 5.3.2 of RFC 7231 */ public static ACCEPT = 'Accept'; /** - * The HTTP {@code Accept-Charset} header field name. + * The HTTP `Accept-Charset`header field name. * @see Section 5.3.3 of RFC 7231 */ public static ACCEPT_CHARSET = 'Accept-Charset'; /** - * The HTTP {@code Accept-Encoding} header field name. + * The HTTP `Accept-Encoding` header field name. * @see Section 5.3.4 of RFC 7231 */ public static ACCEPT_ENCODING = 'Accept-Encoding'; /** - * The HTTP {@code Accept-Language} header field name. + * The HTTP `Accept-Language` header field name. * @see Section 5.3.5 of RFC 7231 */ public static ACCEPT_LANGUAGE = 'Accept-Language'; /** - * The HTTP {@code Accept-Ranges} header field name. + * The HTTP `Accept-Ranges` header field name. * @see Section 5.3.5 of RFC 7233 */ public static ACCEPT_RANGES = 'Accept-Ranges'; /** - * The CORS {@code Access-Control-Allow-Credentials} response header field name. + * The CORS `Access-Control-Allow-Credentials` response header field name. * @see CORS W3C recommendation */ public static ACCESS_CONTROL_ALLOW_CREDENTIALS = 'Access-Control-Allow-Credentials'; /** - * The CORS {@code Access-Control-Allow-Headers} response header field name. + * The CORS `Access-Control-Allow-Headers` response header field name. * @see CORS W3C recommendation */ public static ACCESS_CONTROL_ALLOW_HEADERS = 'Access-Control-Allow-Headers'; /** - * The CORS {@code Access-Control-Allow-Methods} response header field name. + * The CORS `Access-Control-Allow-Methods` response header field name. * @see CORS W3C recommendation */ public static ACCESS_CONTROL_ALLOW_METHODS = 'Access-Control-Allow-Methods'; /** - * The CORS {@code Access-Control-Allow-Origin} response header field name. + * The CORS `Access-Control-Allow-Origin` response header field name. * @see CORS W3C recommendation */ public static ACCESS_CONTROL_ALLOW_ORIGIN = 'Access-Control-Allow-Origin'; /** - * The CORS {@code Access-Control-Expose-Headers} response header field name. + * The CORS `Access-Control-Expose-Headers` response header field name. * @see CORS W3C recommendation */ public static ACCESS_CONTROL_EXPOSE_HEADERS = 'Access-Control-Expose-Headers'; /** - * The CORS {@code Access-Control-Max-Age} response header field name. + * The CORS `Access-Control-Max-Age` response header field name. * @see CORS W3C recommendation */ public static ACCESS_CONTROL_MAX_AGE = 'Access-Control-Max-Age'; /** - * The CORS {@code Access-Control-Request-Headers} request header field name. + * The CORS `Access-Control-Request-Headers` request header field name. * @see CORS W3C recommendation */ public static ACCESS_CONTROL_REQUEST_HEADERS = 'Access-Control-Request-Headers'; /** - * The CORS {@code Access-Control-Request-Method} request header field name. + * The CORS `Access-Control-Request-Method` request header field name. * @see CORS W3C recommendation */ public static ACCESS_CONTROL_REQUEST_METHOD = 'Access-Control-Request-Method'; /** - * The HTTP {@code Age} header field name. + * The HTTP `Age` header field name. * @see Section 5.1 of RFC 7234 */ public static AGE = 'Age'; /** - * The HTTP {@code Allow} header field name. + * The HTTP `Allow` header field name. * @see Section 7.4.1 of RFC 7231 */ public static ALLOW = 'Allow'; /** - * The HTTP {@code Authorization} header field name. + * The HTTP `Authorization` header field name. * @see Section 4.2 of RFC 7235 */ public static AUTHORIZATION = 'Authorization'; /** - * The HTTP {@code Cache-Control} header field name. + * The HTTP `Cache-Control` header field name. * @see Section 5.2 of RFC 7234 */ public static CACHE_CONTROL = 'Cache-Control'; /** - * The HTTP {@code Connection} header field name. + * The HTTP `Connection` header field name. * @see Section 6.1 of RFC 7230 */ public static CONNECTION = 'Connection'; /** - * The HTTP {@code Content-Encoding} header field name. + * The HTTP `Content-Encoding` header field name. * @see Section 3.1.2.2 of RFC 7231 */ public static CONTENT_ENCODING = 'Content-Encoding'; /** - * The HTTP {@code Content-Disposition} header field name. + * The HTTP `Content-Disposition` header field name. * @see RFC 6266 */ public static CONTENT_DISPOSITION = 'Content-Disposition'; /** - * The HTTP {@code Content-Language} header field name. + * The HTTP `Content-Language` header field name. * @see Section 3.1.3.2 of RFC 7231 */ public static CONTENT_LANGUAGE = 'Content-Language'; /** - * The HTTP {@code Content-Length} header field name. + * The HTTP `Content-Length`header field name. * @see Section 3.3.2 of RFC 7230 */ public static CONTENT_LENGTH = 'Content-Length'; /** - * The HTTP {@code Content-Location} header field name. + * The HTTP `Content-Location`header field name. * @see Section 3.1.4.2 of RFC 7231 */ public static CONTENT_LOCATION = 'Content-Location'; /** - * The HTTP {@code Content-Range} header field name. + * The HTTP `Content-Range`header field name. * @see Section 4.2 of RFC 7233 */ public static CONTENT_RANGE = 'Content-Range'; /** - * The HTTP {@code Content-Type} header field name. + * The HTTP `Content-Type`header field name. * @see Section 3.1.1.5 of RFC 7231 */ public static CONTENT_TYPE = 'Content-Type'; /** - * The HTTP {@code Cookie} header field name. + * The HTTP `Cookie`header field name. * @see Section 4.3.4 of RFC 2109 */ public static COOKIE = 'Cookie'; /** - * The HTTP {@code Date} header field name. + * The HTTP `Date`header field name. * @see Section 7.1.1.2 of RFC 7231 */ public static DATE = 'Date'; /** - * The HTTP {@code ETag} header field name. + * The HTTP `ETag`header field name. * @see Section 2.3 of RFC 7232 */ public static ETAG = 'ETag'; /** - * The HTTP {@code Expect} header field name. + * The HTTP `Expect`header field name. * @see Section 5.1.1 of RFC 7231 */ public static EXPECT = 'Expect'; /** - * The HTTP {@code Expires} header field name. + * The HTTP `Expires`header field name. * @see Section 5.3 of RFC 7234 */ public static EXPIRES = 'Expires'; /** - * The HTTP {@code From} header field name. + * The HTTP `From`header field name. * @see Section 5.5.1 of RFC 7231 */ public static FROM = 'From'; /** - * The HTTP {@code Host} header field name. + * The HTTP `Host`header field name. * @see Section 5.4 of RFC 7230 */ public static HOST = 'Host'; /** - * The HTTP {@code If-Match} header field name. + * The HTTP `If-Match`header field name. * @see Section 3.1 of RFC 7232 */ public static IF_MATCH = 'If-Match'; /** - * The HTTP {@code If-Modified-Since} header field name. + * The HTTP `If-Modified-Since`header field name. * @see Section 3.3 of RFC 7232 */ public static IF_MODIFIED_SINCE = 'If-Modified-Since'; /** - * The HTTP {@code If-None-Match} header field name. + * The HTTP `If-None-Match`header field name. * @see Section 3.2 of RFC 7232 */ public static IF_NONE_MATCH = 'If-None-Match'; /** - * The HTTP {@code If-Range} header field name. + * The HTTP `If-Range`header field name. * @see Section 3.2 of RFC 7233 */ public static IF_RANGE = 'If-Range'; /** - * The HTTP {@code If-Unmodified-Since} header field name. + * The HTTP `If-Unmodified-Since`header field name. * @see Section 3.4 of RFC 7232 */ public static IF_UNMODIFIED_SINCE = 'If-Unmodified-Since'; /** - * The HTTP {@code Last-Modified} header field name. + * The HTTP `Last-Modified`header field name. * @see Section 2.2 of RFC 7232 */ public static LAST_MODIFIED = 'Last-Modified'; /** - * The HTTP {@code Link} header field name. + * The HTTP `Link`header field name. * @see RFC 5988 */ public static LINK = 'Link'; /** - * The HTTP {@code Location} header field name. + * The HTTP `Location`header field name. * @see Section 7.1.2 of RFC 7231 */ public static LOCATION = 'Location'; /** - * The HTTP {@code Max-Forwards} header field name. + * The HTTP `Max-Forwards`header field name. * @see Section 5.1.2 of RFC 7231 */ public static MAX_FORWARDS = 'Max-Forwards'; /** - * The HTTP {@code Origin} header field name. + * The HTTP `Origin`header field name. * @see RFC 6454 */ public static ORIGIN = 'Origin'; /** - * The HTTP {@code Pragma} header field name. + * The HTTP `Pragma`header field name. * @see Section 5.4 of RFC 7234 */ public static PRAGMA = 'Pragma'; /** - * The HTTP {@code Proxy-Authenticate} header field name. + * The HTTP `Proxy-Authenticate`header field name. * @see Section 4.3 of RFC 7235 */ public static PROXY_AUTHENTICATE = 'Proxy-Authenticate'; /** - * The HTTP {@code Proxy-Authorization} header field name. + * The HTTP `Proxy-Authorization`header field name. * @see Section 4.4 of RFC 7235 */ public static PROXY_AUTHORIZATION = 'Proxy-Authorization'; /** - * The HTTP {@code Range} header field name. + * The HTTP `Range`header field name. * @see Section 3.1 of RFC 7233 */ public static RANGE = 'Range'; /** - * The HTTP {@code Referer} header field name. + * The HTTP `Referer`header field name. * @see Section 5.5.2 of RFC 7231 */ public static REFERER = 'Referer'; /** - * The HTTP {@code Retry-After} header field name. + * The HTTP `Retry-After`header field name. * @see Section 7.1.3 of RFC 7231 */ public static RETRY_AFTER = 'Retry-After'; /** - * The HTTP {@code Server} header field name. + * The HTTP `Server`header field name. * @see Section 7.4.2 of RFC 7231 */ public static SERVER = 'Server'; /** - * The HTTP {@code Set-Cookie} header field name. + * The HTTP `Set-Cookie`header field name. * @see Section 4.2.2 of RFC 2109 */ public static SET_COOKIE = 'Set-Cookie'; /** - * The HTTP {@code Set-Cookie2} header field name. + * The HTTP `Set-Cookie2`header field name. * @see RFC 2965 */ public static SET_COOKIE2 = 'Set-Cookie2'; /** - * The HTTP {@code TE} header field name. + * The HTTP `TE`header field name. * @see Section 4.3 of RFC 7230 */ public static TE = 'TE'; /** - * The HTTP {@code Trailer} header field name. + * The HTTP `Trailer`header field name. * @see Section 4.4 of RFC 7230 */ public static TRAILER = 'Trailer'; /** - * The HTTP {@code Transfer-Encoding} header field name. + * The HTTP `Transfer-Encoding`header field name. * @see Section 3.3.1 of RFC 7230 */ public static TRANSFER_ENCODING = 'Transfer-Encoding'; /** - * The HTTP {@code Upgrade} header field name. + * The HTTP `Upgrade`header field name. * @see Section 6.7 of RFC 7230 */ public static UPGRADE = 'Upgrade'; /** - * The HTTP {@code User-Agent} header field name. + * The HTTP `User-Agent`header field name. * @see Section 5.5.3 of RFC 7231 */ public static USER_AGENT = 'User-Agent'; /** - * The HTTP {@code Vary} header field name. + * The HTTP `Vary`header field name. * @see Section 7.1.4 of RFC 7231 */ public static VARY = 'Vary'; /** - * The HTTP {@code Via} header field name. + * The HTTP `Via`header field name. * @see Section 5.7.1 of RFC 7230 */ public static VIA = 'Via'; /** - * The HTTP {@code Warning} header field name. + * The HTTP `Warning`header field name. * @see Section 5.5 of RFC 7234 */ public static WARNING = 'Warning'; /** - * The HTTP {@code WWW-Authenticate} header field name. + * The HTTP `WWW-Authenticate`header field name. * @see Section 4.1 of RFC 7235 */ public static WWW_AUTHENTICATE = 'WWW-Authenticate'; diff --git a/packages/http/tsconfig.json b/packages/http/tsconfig.json new file mode 100644 index 0000000000..fe50d390ed --- /dev/null +++ b/packages/http/tsconfig.json @@ -0,0 +1,16 @@ +{ + "extends": "@celljs/component/configs/base.tsconfig.json", + "compilerOptions": { + "composite": true, + "rootDir": "src", + "outDir": "lib" + }, + "include": [ + "src" + ], + "references": [ + { + "path": "../core" + } + ] +} diff --git a/packages/http/typedoc.json b/packages/http/typedoc.json new file mode 100644 index 0000000000..7c070f7c2b --- /dev/null +++ b/packages/http/typedoc.json @@ -0,0 +1,8 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/common/index.ts" + ], +} \ No newline at end of file diff --git a/packages/jwt/.eslintrc.js b/packages/jwt/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/packages/jwt/.eslintrc.js +++ b/packages/jwt/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/packages/jwt/tsconfig.json b/packages/jwt/tsconfig.json new file mode 100644 index 0000000000..fe50d390ed --- /dev/null +++ b/packages/jwt/tsconfig.json @@ -0,0 +1,16 @@ +{ + "extends": "@celljs/component/configs/base.tsconfig.json", + "compilerOptions": { + "composite": true, + "rootDir": "src", + "outDir": "lib" + }, + "include": [ + "src" + ], + "references": [ + { + "path": "../core" + } + ] +} diff --git a/packages/jwt/typedoc.json b/packages/jwt/typedoc.json new file mode 100644 index 0000000000..3e63873b2d --- /dev/null +++ b/packages/jwt/typedoc.json @@ -0,0 +1,8 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/node/index.ts" + ], +} \ No newline at end of file diff --git a/packages/logger/.eslintrc.js b/packages/logger/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/packages/logger/.eslintrc.js +++ b/packages/logger/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/cloud-packages/cloud/compile.tsconfig.json b/packages/logger/tsconfig.json similarity index 78% rename from cloud-packages/cloud/compile.tsconfig.json rename to packages/logger/tsconfig.json index 2289f709eb..580e67355b 100644 --- a/cloud-packages/cloud/compile.tsconfig.json +++ b/packages/logger/tsconfig.json @@ -10,7 +10,10 @@ ], "references": [ { - "path": "../../packages/core/compile.tsconfig.json" + "path": "../core" + }, + { + "path": "../web" } ] } diff --git a/packages/logger/typedoc.json b/packages/logger/typedoc.json new file mode 100644 index 0000000000..7c070f7c2b --- /dev/null +++ b/packages/logger/typedoc.json @@ -0,0 +1,8 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/common/index.ts" + ], +} \ No newline at end of file diff --git a/packages/mvc/.eslintrc.js b/packages/mvc/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/packages/mvc/.eslintrc.js +++ b/packages/mvc/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/packages/express-adapter/compile.tsconfig.json b/packages/mvc/tsconfig.json similarity index 72% rename from packages/express-adapter/compile.tsconfig.json rename to packages/mvc/tsconfig.json index 923027c411..b1f5cba164 100644 --- a/packages/express-adapter/compile.tsconfig.json +++ b/packages/mvc/tsconfig.json @@ -10,10 +10,13 @@ ], "references": [ { - "path": "../web/compile.tsconfig.json" + "path": "../core" }, { - "path": "../core/compile.tsconfig.json" + "path": "../http" + }, + { + "path": "../web" } ] } diff --git a/packages/mvc/typedoc.json b/packages/mvc/typedoc.json new file mode 100644 index 0000000000..dc226fed95 --- /dev/null +++ b/packages/mvc/typedoc.json @@ -0,0 +1,9 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/common/index.ts", + "src/node/index.ts" + ], +} \ No newline at end of file diff --git a/packages/oauth2-client/.eslintrc.js b/packages/oauth2-client/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/packages/oauth2-client/.eslintrc.js +++ b/packages/oauth2-client/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/packages/oauth2-client/compile.tsconfig.json b/packages/oauth2-client/compile.tsconfig.json deleted file mode 100644 index 6ad105cdf3..0000000000 --- a/packages/oauth2-client/compile.tsconfig.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "extends": "@celljs/component/configs/base.tsconfig.json", - "compilerOptions": { - "composite": true, - "rootDir": "src", - "outDir": "lib" - }, - "include": [ - "src" - ], - "references": [ - { - "path": "../oauth2-jose/compile.tsconfig.json" - }, - { - "path": "../core/compile.tsconfig.json" - }, - { - "path": "../web/compile.tsconfig.json" - }, - { - "path": "../security/compile.tsconfig.json" - }, - { - "path": "../oauth2-core/compile.tsconfig.json" - }, - { - "path": "../http/compile.tsconfig.json" - } - ] -} diff --git a/packages/serve-static/compile.tsconfig.json b/packages/oauth2-client/tsconfig.json similarity index 55% rename from packages/serve-static/compile.tsconfig.json rename to packages/oauth2-client/tsconfig.json index a880955885..4235f0ecb2 100644 --- a/packages/serve-static/compile.tsconfig.json +++ b/packages/oauth2-client/tsconfig.json @@ -10,16 +10,22 @@ ], "references": [ { - "path": "../web/compile.tsconfig.json" + "path": "../core" }, { - "path": "../../dev-packages/cli-service/compile.tsconfig.json" + "path": "../http" }, { - "path": "../core/compile.tsconfig.json" + "path": "../oauth2-core" }, { - "path": "../http/compile.tsconfig.json" + "path": "../oauth2-jose" + }, + { + "path": "../security" + }, + { + "path": "../web" } ] } diff --git a/packages/oauth2-client/typedoc.json b/packages/oauth2-client/typedoc.json new file mode 100644 index 0000000000..3e63873b2d --- /dev/null +++ b/packages/oauth2-client/typedoc.json @@ -0,0 +1,8 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/node/index.ts" + ], +} \ No newline at end of file diff --git a/packages/oauth2-core/.eslintrc.js b/packages/oauth2-core/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/packages/oauth2-core/.eslintrc.js +++ b/packages/oauth2-core/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/packages/oauth2-core/src/node/endpoint/endpoint-protocol.ts b/packages/oauth2-core/src/node/endpoint/endpoint-protocol.ts index 089654d31f..cb3dac38cc 100644 --- a/packages/oauth2-core/src/node/endpoint/endpoint-protocol.ts +++ b/packages/oauth2-core/src/node/endpoint/endpoint-protocol.ts @@ -97,17 +97,17 @@ export namespace OAuth2ParameterNames { export namespace PkceParameterNames { /** - * {@code code_challenge} - used in Authorization Request. + * `code_challenge`- used in Authorization Request. */ export const CODE_CHALLENGE = 'code_challenge'; /** - * {@code code_challenge_method} - used in Authorization Request. + * `code_challenge_method`- used in Authorization Request. */ export const CODE_CHALLENGE_METHOD = 'code_challenge_method'; /** - * {@code code_verifier} - used in Token Request. + * `code_verifier`- used in Token Request. */ export const CODE_VERIFIER = 'code_verifier'; } diff --git a/packages/oauth2-core/src/node/error/error-protocol.ts b/packages/oauth2-core/src/node/error/error-protocol.ts index 5796d7de7d..e3c7849042 100644 --- a/packages/oauth2-core/src/node/error/error-protocol.ts +++ b/packages/oauth2-core/src/node/error/error-protocol.ts @@ -1,37 +1,37 @@ export enum OAuth2ErrorCodes { /** - * {@code invalid_request} - The request is missing a required parameter, + * `invalid_request` - The request is missing a required parameter, * includes an invalid parameter value, * includes a parameter more than once, or is otherwise malformed. */ INVALID_REQUEST = 'invalid_request', /** - * {@code unauthorized_client} - The client is not authorized to request + * `unauthorized_client` - The client is not authorized to request * an authorization code or access token using this method. */ UNAUTHORIZED_CLIENT = 'unauthorized_client', /** - * {@code access_denied} - The resource owner or authorization server denied the request. + * `access_denied` - The resource owner or authorization server denied the request. */ ACCESS_DENIED = 'access_denied', /** - * {@code unsupported_response_type} - The authorization server does not support + * `unsupported_response_type` - The authorization server does not support * obtaining an authorization code or access token using this method. */ UNSUPPORTED_RESPONSE_TYPE = 'unsupported_response_type', /** - * {@code invalid_scope} - The requested scope is invalid, unknown, malformed or + * `invalid_scope` - The requested scope is invalid, unknown, malformed or * exceeds the scope granted by the resource owner. */ INVALID_SCOPE = 'invalid_scope', /** - * {@code insufficient_scope} - The request requires higher privileges than + * `insufficient_scope` - The request requires higher privileges than * provided by the access token. * The resource server SHOULD respond with the HTTP 403 (Forbidden) * status code and MAY include the 'scope' attribute with the scope @@ -42,7 +42,7 @@ export enum OAuth2ErrorCodes { INSUFFICIENT_SCOPE = 'insufficient_scope', /** - * {@code invalid_token} - The access token provided is expired, revoked, + * `invalid_token` - The access token provided is expired, revoked, * malformed, or invalid for other reasons. * The resource SHOULD respond with the HTTP 401 (Unauthorized) status code. * The client MAY request a new access token and retry the protected resource request. @@ -52,7 +52,7 @@ export enum OAuth2ErrorCodes { INVALID_TOKEN = 'invalid_token', /** - * {@code server_error} - The authorization server encountered an + * `server_error` - The authorization server encountered an * unexpected condition that prevented it from fulfilling the request. * (This error code is needed because a 500 Internal Server Error HTTP status code * cannot be returned to the client via a HTTP redirect.) @@ -60,7 +60,7 @@ export enum OAuth2ErrorCodes { SERVER_ERROR = 'server_error', /** - * {@code temporarily_unavailable} - The authorization server is currently unable + * `temporarily_unavailable` - The authorization server is currently unable * to handle the request due to a temporary overloading or maintenance of the server. * (This error code is needed because a 503 Service Unavailable HTTP status code * cannot be returned to the client via an HTTP redirect.) @@ -68,7 +68,7 @@ export enum OAuth2ErrorCodes { TEMPORARILY_UNAVAILABLE = 'temporarily_unavailable', /** - * {@code invalid_client} - Client authentication failed (e.g., unknown client, + * `invalid_client` - Client authentication failed (e.g., unknown client, * no client authentication included, or unsupported authentication method). * The authorization server MAY return a HTTP 401 (Unauthorized) status code * to indicate which HTTP authentication schemes are supported. @@ -79,14 +79,14 @@ export enum OAuth2ErrorCodes { INVALID_CLIENT = 'invalid_client', /** - * {@code invalid_grant} - The provided authorization grant + * `invalid_grant` - The provided authorization grant * (e.g., authorization code, resource owner credentials) or refresh token is invalid, expired, revoked, * does not match the redirection URI used in the authorization request, or was issued to another client. */ INVALID_GRANT = 'invalid_grant', /** - * {@code unsupported_grant_type} - The authorization grant type is not supported by the authorization server. + * `unsupported_grant_type` - The authorization grant type is not supported by the authorization server. */ UNSUPPORTED_GRANT_TYPE = 'unsupported_grant_type' diff --git a/packages/oauth2-core/src/node/oidc/oidc-protocol.ts b/packages/oauth2-core/src/node/oidc/oidc-protocol.ts index 21213f9ad0..fb2c1ae1d1 100644 --- a/packages/oauth2-core/src/node/oidc/oidc-protocol.ts +++ b/packages/oauth2-core/src/node/oidc/oidc-protocol.ts @@ -1,29 +1,29 @@ export namespace OidcScopes { /** - * The {@code openid} scope is required for OpenID Connect Authentication Requests. + * The `openid`scope is required for OpenID Connect Authentication Requests. */ export const OPENID = 'openid'; /** - * The {@code profile} scope requests access to the default profile claims, which are: - * {@code name, family_name, given_name, middle_name, nickname, preferred_username, + * The `profile`scope requests access to the default profile claims, which are: + * `name, family_name, given_name, middle_name, nickname, preferred_username, * profile, picture, website, gender, birthdate, zoneinfo, locale, updated_at}. */ export const PROFILE = 'profile'; /** - * The {@code email} scope requests access to the {@code email} and {@code email_verified} claims. + * The `email`scope requests access to the `email`and `email_verified`claims. */ export const EMAIL = 'email'; /** - * The {@code address} scope requests access to the {@code address} claim. + * The `address`scope requests access to the `address`claim. */ export const ADDRESS = 'address'; /** - * The {@code phone} scope requests access to the {@code phone_number} and {@code phone_number_verified} claims. + * The `phone`scope requests access to the `phone_number`and `phone_number_verified`claims. */ export const PHONE = 'phone'; @@ -32,12 +32,12 @@ export namespace OidcScopes { export namespace OidcParameterNames { /** - * {@code id_token} - used in the Access Token Response. + * `id_token`- used in the Access Token Response. */ export const ID_TOKEN = 'id_token'; /** - * {@code nonce} - used in the Authentication Request. + * `nonce`- used in the Authentication Request. */ export const NONCE = 'nonce'; @@ -46,102 +46,102 @@ export namespace OidcParameterNames { export namespace StandardClaimNames { /** - * {@code sub} - the Subject identifier + * `sub`- the Subject identifier */ export const SUB = 'sub'; /** - * {@code name} - the user's full name + * `name`- the user's full name */ export const NAME = 'name'; /** - * {@code given_name} - the user's given name(s) or first name(s) + * `given_name`- the user's given name(s) or first name(s) */ export const GIVEN_NAME = 'given_name'; /** - * {@code family_name} - the user's surname(s) or last name(s) + * `family_name`- the user's surname(s) or last name(s) */ export const FAMILY_NAME = 'family_name'; /** - * {@code middle_name} - the user's middle name(s) + * `middle_name`- the user's middle name(s) */ export const MIDDLE_NAME = 'middle_name'; /** - * {@code nickname} - the user's nick name that may or may not be the same as the {@code given_name} + * `nickname`- the user's nick name that may or may not be the same as the `given_name} */ export const NICKNAME = 'nickname'; /** - * {@code preferred_username} - the preferred username that the user wishes to be referred to + * `preferred_username`- the preferred username that the user wishes to be referred to */ export const PREFERRED_USERNAME = 'preferred_username'; /** - * {@code profile} - the URL of the user's profile page + * `profile`- the URL of the user's profile page */ export const PROFILE = 'profile'; /** - * {@code picture} - the URL of the user's profile picture + * `picture`- the URL of the user's profile picture */ export const PICTURE = 'picture'; /** - * {@code website} - the URL of the user's web page or blog + * `website`- the URL of the user's web page or blog */ export const WEBSITE = 'website'; /** - * {@code email} - the user's preferred e-mail address + * `email`- the user's preferred e-mail address */ export const EMAIL = 'email'; /** - * {@code email_verified} - {@code true} if the user's e-mail address has been verified, otherwise {@code false} + * `email_verified`- `true`if the user's e-mail address has been verified, otherwise `false} */ export const EMAIL_VERIFIED = 'email_verified'; /** - * {@code gender} - the user's gender + * `gender`- the user's gender */ export const GENDER = 'gender'; /** - * {@code birthdate} - the user's birth date + * `birthdate`- the user's birth date */ export const BIRTHDATE = 'birthdate'; /** - * {@code zoneinfo} - the user's time zone + * `zoneinfo`- the user's time zone */ export const ZONEINFO = 'zoneinfo'; /** - * {@code locale} - the user's locale + * `locale`- the user's locale */ export const LOCALE = 'locale'; /** - * {@code phone_number} - the user's preferred phone number + * `phone_number`- the user's preferred phone number */ export const PHONE_NUMBER = 'phone_number'; /** - * {@code phone_number_verified} - {@code true} if the user's phone number has been verified, otherwise {@code false} + * `phone_number_verified`- `true`if the user's phone number has been verified, otherwise `false} */ export const PHONE_NUMBER_VERIFIED = 'phone_number_verified'; /** - * {@code address} - the user's preferred postal address + * `address`- the user's preferred postal address */ export const ADDRESS = 'address'; /** - * {@code updated_at} - the time the user's information was last updated + * `updated_at`- the time the user's information was last updated */ export const UPDATED_AT = 'updated_at'; diff --git a/packages/oauth2-core/src/node/token/token-protocol.ts b/packages/oauth2-core/src/node/token/token-protocol.ts index 9d73d412d0..8897ccf51f 100644 --- a/packages/oauth2-core/src/node/token/token-protocol.ts +++ b/packages/oauth2-core/src/node/token/token-protocol.ts @@ -18,63 +18,63 @@ export interface RefreshToken extends Token {} export namespace IdTokenClaimNames { /** - * {@code iss} - the Issuer identifier + * `iss`- the Issuer identifier */ export const ISS = 'iss'; /** - * {@code sub} - the Subject identifier + * `sub`- the Subject identifier */ export const SUB = 'sub'; /** - * {@code aud} - the Audience(s) that the ID Token is intended for + * `aud`- the Audience(s) that the ID Token is intended for */ export const AUD = 'aud'; /** - * {@code exp} - the Expiration time on or after which the ID Token MUST NOT be accepted + * `exp`- the Expiration time on or after which the ID Token MUST NOT be accepted */ export const EXP = 'exp'; /** - * {@code iat} - the time at which the ID Token was issued + * `iat`- the time at which the ID Token was issued */ export const IAT = 'iat'; /** - * {@code auth_time} - the time when the End-User authentication occurred + * `auth_time`- the time when the End-User authentication occurred */ export const AUTH_TIME = 'auth_time'; /** - * {@code nonce} - a {@code export const} value used to associate a Client session with an ID Token, + * `nonce`- a `export const`value used to associate a Client session with an ID Token, * and to mitigate replay attacks. */ export const NONCE = 'nonce'; /** - * {@code acr} - the Authentication Context Class Reference + * `acr`- the Authentication Context Class Reference */ export const ACR = 'acr'; /** - * {@code amr} - the Authentication Methods References + * `amr`- the Authentication Methods References */ export const AMR = 'amr'; /** - * {@code azp} - the Authorized party to which the ID Token was issued + * `azp`- the Authorized party to which the ID Token was issued */ export const AZP = 'azp'; /** - * {@code at_hash} - the Access Token hash value + * `at_hash`- the Access Token hash value */ export const AT_HASH = 'at_hash'; /** - * {@code c_hash} - the Authorization Code hash value + * `c_hash`- the Authorization Code hash value */ export const C_HASH = 'c_hash'; diff --git a/packages/logger/compile.tsconfig.json b/packages/oauth2-core/tsconfig.json similarity index 72% rename from packages/logger/compile.tsconfig.json rename to packages/oauth2-core/tsconfig.json index 923027c411..2c776dc2a7 100644 --- a/packages/logger/compile.tsconfig.json +++ b/packages/oauth2-core/tsconfig.json @@ -10,10 +10,13 @@ ], "references": [ { - "path": "../web/compile.tsconfig.json" + "path": "../core" }, { - "path": "../core/compile.tsconfig.json" + "path": "../security" + }, + { + "path": "../web" } ] } diff --git a/packages/oauth2-core/typedoc.json b/packages/oauth2-core/typedoc.json new file mode 100644 index 0000000000..3e63873b2d --- /dev/null +++ b/packages/oauth2-core/typedoc.json @@ -0,0 +1,8 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/node/index.ts" + ], +} \ No newline at end of file diff --git a/packages/oauth2-jose/.eslintrc.js b/packages/oauth2-jose/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/packages/oauth2-jose/.eslintrc.js +++ b/packages/oauth2-jose/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/packages/oidc-provider/compile.tsconfig.json b/packages/oauth2-jose/tsconfig.json similarity index 72% rename from packages/oidc-provider/compile.tsconfig.json rename to packages/oauth2-jose/tsconfig.json index 923027c411..b1f5cba164 100644 --- a/packages/oidc-provider/compile.tsconfig.json +++ b/packages/oauth2-jose/tsconfig.json @@ -10,10 +10,13 @@ ], "references": [ { - "path": "../web/compile.tsconfig.json" + "path": "../core" }, { - "path": "../core/compile.tsconfig.json" + "path": "../http" + }, + { + "path": "../web" } ] } diff --git a/packages/oauth2-jose/typedoc.json b/packages/oauth2-jose/typedoc.json new file mode 100644 index 0000000000..3e63873b2d --- /dev/null +++ b/packages/oauth2-jose/typedoc.json @@ -0,0 +1,8 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/node/index.ts" + ], +} \ No newline at end of file diff --git a/packages/oidc-provider/.eslintrc.js b/packages/oidc-provider/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/packages/oidc-provider/.eslintrc.js +++ b/packages/oidc-provider/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/dev-packages/cli-service/compile.tsconfig.json b/packages/oidc-provider/tsconfig.json similarity index 78% rename from dev-packages/cli-service/compile.tsconfig.json rename to packages/oidc-provider/tsconfig.json index dba5f4acd9..580e67355b 100644 --- a/dev-packages/cli-service/compile.tsconfig.json +++ b/packages/oidc-provider/tsconfig.json @@ -10,7 +10,10 @@ ], "references": [ { - "path": "../cli-common/compile.tsconfig.json" + "path": "../core" + }, + { + "path": "../web" } ] } diff --git a/packages/oidc-provider/typedoc.json b/packages/oidc-provider/typedoc.json new file mode 100644 index 0000000000..3e63873b2d --- /dev/null +++ b/packages/oidc-provider/typedoc.json @@ -0,0 +1,8 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/node/index.ts" + ], +} \ No newline at end of file diff --git a/packages/puppeteer/.eslintrc.js b/packages/puppeteer/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/packages/puppeteer/.eslintrc.js +++ b/packages/puppeteer/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/packages/puppeteer/compile.tsconfig.json b/packages/puppeteer/compile.tsconfig.json deleted file mode 100644 index 4fd4c80a05..0000000000 --- a/packages/puppeteer/compile.tsconfig.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "@celljs/component/configs/base.tsconfig.json", - "compilerOptions": { - "composite": true, - "rootDir": "src", - "outDir": "lib" - }, - "include": [ - "src" - ], - "references": [ - { - "path": "../../dev-packages/cli-common/compile.tsconfig.json" - }, - { - "path": "../core/compile.tsconfig.json" - }, - { - "path": "../../cloud-packages/cloud/compile.tsconfig.json" - } - ] -} diff --git a/ai-packages/ai-core/compile.tsconfig.json b/packages/puppeteer/tsconfig.json similarity index 65% rename from ai-packages/ai-core/compile.tsconfig.json rename to packages/puppeteer/tsconfig.json index d76588cfbb..e0be2c0bfe 100644 --- a/ai-packages/ai-core/compile.tsconfig.json +++ b/packages/puppeteer/tsconfig.json @@ -10,10 +10,13 @@ ], "references": [ { - "path": "../../packages/core/compile.tsconfig.json" + "path": "../../cloud-packages/cloud" }, { - "path": "../../packages/http/compile.tsconfig.json" + "path": "../../dev-packages/cli-common" + }, + { + "path": "../core" } ] } diff --git a/packages/puppeteer/typedoc.json b/packages/puppeteer/typedoc.json new file mode 100644 index 0000000000..3e63873b2d --- /dev/null +++ b/packages/puppeteer/typedoc.json @@ -0,0 +1,8 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/node/index.ts" + ], +} \ No newline at end of file diff --git a/packages/retry/.eslintrc.js b/packages/retry/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/packages/retry/.eslintrc.js +++ b/packages/retry/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/packages/retry/compile.tsconfig.json b/packages/retry/compile.tsconfig.json deleted file mode 100644 index 9230d656b0..0000000000 --- a/packages/retry/compile.tsconfig.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "extends": "@celljs/component/configs/base.tsconfig.json", - "compilerOptions": { - "composite": true, - "rootDir": "src", - "outDir": "lib" - }, - "include": [ - "src" - ], - "references": [ - { - "path": "../core/compile.tsconfig.json" - } - ] -} diff --git a/packages/retry/tsconfig.json b/packages/retry/tsconfig.json new file mode 100644 index 0000000000..fe50d390ed --- /dev/null +++ b/packages/retry/tsconfig.json @@ -0,0 +1,16 @@ +{ + "extends": "@celljs/component/configs/base.tsconfig.json", + "compilerOptions": { + "composite": true, + "rootDir": "src", + "outDir": "lib" + }, + "include": [ + "src" + ], + "references": [ + { + "path": "../core" + } + ] +} diff --git a/packages/retry/typedoc.json b/packages/retry/typedoc.json new file mode 100644 index 0000000000..7c070f7c2b --- /dev/null +++ b/packages/retry/typedoc.json @@ -0,0 +1,8 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/common/index.ts" + ], +} \ No newline at end of file diff --git a/packages/rpc-core/.eslintrc.js b/packages/rpc-core/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/packages/rpc-core/.eslintrc.js +++ b/packages/rpc-core/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/packages/rpc-core/compile.tsconfig.json b/packages/rpc-core/compile.tsconfig.json deleted file mode 100644 index 9230d656b0..0000000000 --- a/packages/rpc-core/compile.tsconfig.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "extends": "@celljs/component/configs/base.tsconfig.json", - "compilerOptions": { - "composite": true, - "rootDir": "src", - "outDir": "lib" - }, - "include": [ - "src" - ], - "references": [ - { - "path": "../core/compile.tsconfig.json" - } - ] -} diff --git a/packages/rpc-core/tsconfig.json b/packages/rpc-core/tsconfig.json new file mode 100644 index 0000000000..fe50d390ed --- /dev/null +++ b/packages/rpc-core/tsconfig.json @@ -0,0 +1,16 @@ +{ + "extends": "@celljs/component/configs/base.tsconfig.json", + "compilerOptions": { + "composite": true, + "rootDir": "src", + "outDir": "lib" + }, + "include": [ + "src" + ], + "references": [ + { + "path": "../core" + } + ] +} diff --git a/packages/rpc-core/typedoc.json b/packages/rpc-core/typedoc.json new file mode 100644 index 0000000000..d36847fc85 --- /dev/null +++ b/packages/rpc-core/typedoc.json @@ -0,0 +1,8 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/index.ts" + ], +} \ No newline at end of file diff --git a/packages/rpc/.eslintrc.js b/packages/rpc/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/packages/rpc/.eslintrc.js +++ b/packages/rpc/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/packages/rpc/tsconfig.json b/packages/rpc/tsconfig.json new file mode 100644 index 0000000000..b1f5cba164 --- /dev/null +++ b/packages/rpc/tsconfig.json @@ -0,0 +1,22 @@ +{ + "extends": "@celljs/component/configs/base.tsconfig.json", + "compilerOptions": { + "composite": true, + "rootDir": "src", + "outDir": "lib" + }, + "include": [ + "src" + ], + "references": [ + { + "path": "../core" + }, + { + "path": "../http" + }, + { + "path": "../web" + } + ] +} diff --git a/packages/rpc/typedoc.json b/packages/rpc/typedoc.json new file mode 100644 index 0000000000..dc226fed95 --- /dev/null +++ b/packages/rpc/typedoc.json @@ -0,0 +1,9 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/common/index.ts", + "src/node/index.ts" + ], +} \ No newline at end of file diff --git a/packages/schedule/.eslintrc.js b/packages/schedule/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/packages/schedule/.eslintrc.js +++ b/packages/schedule/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/packages/schedule/compile.tsconfig.json b/packages/schedule/compile.tsconfig.json deleted file mode 100644 index 2f494575e6..0000000000 --- a/packages/schedule/compile.tsconfig.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "extends":"@celljs/component/configs/base.tsconfig.json", - "compilerOptions": { - "composite": true, - "rootDir": "src", - "outDir": "lib" - }, - "include": [ - "src" - ], - "references": [ - { - "path": "../core/compile.tsconfig.json" - } - ] -} diff --git a/packages/schedule/tsconfig.json b/packages/schedule/tsconfig.json new file mode 100644 index 0000000000..fe50d390ed --- /dev/null +++ b/packages/schedule/tsconfig.json @@ -0,0 +1,16 @@ +{ + "extends": "@celljs/component/configs/base.tsconfig.json", + "compilerOptions": { + "composite": true, + "rootDir": "src", + "outDir": "lib" + }, + "include": [ + "src" + ], + "references": [ + { + "path": "../core" + } + ] +} diff --git a/packages/schedule/typedoc.json b/packages/schedule/typedoc.json new file mode 100644 index 0000000000..3e63873b2d --- /dev/null +++ b/packages/schedule/typedoc.json @@ -0,0 +1,8 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/node/index.ts" + ], +} \ No newline at end of file diff --git a/packages/security/.eslintrc.js b/packages/security/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/packages/security/.eslintrc.js +++ b/packages/security/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/packages/security/tsconfig.json b/packages/security/tsconfig.json new file mode 100644 index 0000000000..b1f5cba164 --- /dev/null +++ b/packages/security/tsconfig.json @@ -0,0 +1,22 @@ +{ + "extends": "@celljs/component/configs/base.tsconfig.json", + "compilerOptions": { + "composite": true, + "rootDir": "src", + "outDir": "lib" + }, + "include": [ + "src" + ], + "references": [ + { + "path": "../core" + }, + { + "path": "../http" + }, + { + "path": "../web" + } + ] +} diff --git a/packages/security/typedoc.json b/packages/security/typedoc.json new file mode 100644 index 0000000000..e9ee16121c --- /dev/null +++ b/packages/security/typedoc.json @@ -0,0 +1,10 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/common/index.ts", + "src/node/index.ts", + "src/browser/index.ts", + ], +} \ No newline at end of file diff --git a/packages/serve-static/.eslintrc.js b/packages/serve-static/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/packages/serve-static/.eslintrc.js +++ b/packages/serve-static/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/packages/serve-static/src/node/serve-static.ts b/packages/serve-static/src/node/serve-static.ts index 948768fcb5..18e63666e1 100644 --- a/packages/serve-static/src/node/serve-static.ts +++ b/packages/serve-static/src/node/serve-static.ts @@ -83,7 +83,7 @@ export const serveStatic = (root: string, opts: ServeStaticOption) => { res.statusCode = 301; res.setHeader('Content-Type', 'text/html; charset=UTF-8'); res.setHeader('Content-Length', Buffer.byteLength(doc)); - res.setHeader('Content-Security-Policy', "default-src 'none'"); + res.setHeader('Content-Security-Policy', 'default-src \'none\''); res.setHeader('X-Content-Type-Options', 'nosniff'); res.setHeader('Location', loc); res.end(doc); diff --git a/packages/mvc/compile.tsconfig.json b/packages/serve-static/tsconfig.json similarity index 64% rename from packages/mvc/compile.tsconfig.json rename to packages/serve-static/tsconfig.json index d4d0c4e857..027fa6c075 100644 --- a/packages/mvc/compile.tsconfig.json +++ b/packages/serve-static/tsconfig.json @@ -10,13 +10,16 @@ ], "references": [ { - "path": "../web/compile.tsconfig.json" + "path": "../../dev-packages/cli-service" }, { - "path": "../core/compile.tsconfig.json" + "path": "../core" }, { - "path": "../http/compile.tsconfig.json" + "path": "../http" + }, + { + "path": "../web" } ] } diff --git a/packages/serve-static/typedoc.json b/packages/serve-static/typedoc.json new file mode 100644 index 0000000000..3e63873b2d --- /dev/null +++ b/packages/serve-static/typedoc.json @@ -0,0 +1,8 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/node/index.ts" + ], +} \ No newline at end of file diff --git a/packages/typeorm/.eslintrc.js b/packages/typeorm/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/packages/typeorm/.eslintrc.js +++ b/packages/typeorm/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/packages/typeorm/compile.tsconfig.json b/packages/typeorm/compile.tsconfig.json deleted file mode 100644 index 7c2cf3d05d..0000000000 --- a/packages/typeorm/compile.tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "@celljs/component/configs/base.tsconfig.json", - "compilerOptions": { - "composite": true, - "rootDir": "src", - "outDir": "lib" - }, - "include": [ - "src" - ], - "references": [ - { - "path": "../../dev-packages/cli-service/compile.tsconfig.json" - }, - { - "path": "../core/compile.tsconfig.json" - } - ] -} diff --git a/packages/typeorm/tsconfig.json b/packages/typeorm/tsconfig.json new file mode 100644 index 0000000000..556ea3d0d4 --- /dev/null +++ b/packages/typeorm/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "@celljs/component/configs/base.tsconfig.json", + "compilerOptions": { + "composite": true, + "rootDir": "src", + "outDir": "lib" + }, + "include": [ + "src" + ], + "references": [ + { + "path": "../../dev-packages/cli-service" + }, + { + "path": "../core" + } + ] +} diff --git a/packages/typeorm/typedoc.json b/packages/typeorm/typedoc.json new file mode 100644 index 0000000000..e9ee16121c --- /dev/null +++ b/packages/typeorm/typedoc.json @@ -0,0 +1,10 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/common/index.ts", + "src/node/index.ts", + "src/browser/index.ts", + ], +} \ No newline at end of file diff --git a/packages/web/.eslintrc.js b/packages/web/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/packages/web/.eslintrc.js +++ b/packages/web/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/packages/web/compile.tsconfig.json b/packages/web/compile.tsconfig.json deleted file mode 100644 index e2824b0563..0000000000 --- a/packages/web/compile.tsconfig.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "@celljs/component/configs/base.tsconfig.json", - "compilerOptions": { - "composite": true, - "rootDir": "src", - "outDir": "lib" - }, - "include": [ - "src" - ], - "references": [ - { - "path": "../core/compile.tsconfig.json" - }, - { - "path": "../../dev-packages/cli-service/compile.tsconfig.json" - }, - { - "path": "../http/compile.tsconfig.json" - } - ] -} diff --git a/cloud-packages/s3/compile.tsconfig.json b/packages/web/tsconfig.json similarity index 68% rename from cloud-packages/s3/compile.tsconfig.json rename to packages/web/tsconfig.json index 2c172b4f29..ed7c0a0dc4 100644 --- a/cloud-packages/s3/compile.tsconfig.json +++ b/packages/web/tsconfig.json @@ -10,10 +10,13 @@ ], "references": [ { - "path": "../cloud/compile.tsconfig.json" + "path": "../../dev-packages/cli-service" }, { - "path": "../../packages/core/compile.tsconfig.json" + "path": "../core" + }, + { + "path": "../http" } ] } diff --git a/packages/web/typedoc.json b/packages/web/typedoc.json new file mode 100644 index 0000000000..e9ee16121c --- /dev/null +++ b/packages/web/typedoc.json @@ -0,0 +1,10 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/common/index.ts", + "src/node/index.ts", + "src/browser/index.ts", + ], +} \ No newline at end of file diff --git a/plugins/adonis-plugin/.eslintrc.js b/plugins/adonis-plugin/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/plugins/adonis-plugin/.eslintrc.js +++ b/plugins/adonis-plugin/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/plugins/adonis-plugin/compile.tsconfig.json b/plugins/adonis-plugin/compile.tsconfig.json deleted file mode 100644 index 7455abe3dc..0000000000 --- a/plugins/adonis-plugin/compile.tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "@celljs/component/configs/base.tsconfig.json", - "compilerOptions": { - "composite": true, - "rootDir": "src", - "outDir": "lib" - }, - "include": [ - "src" - ], - "references": [ - { - "path": "../../dev-packages/cli-service/compile.tsconfig.json" - }, - { - "path": "../../dev-packages/cli-common/compile.tsconfig.json" - } - ] -} diff --git a/plugins/adonis-plugin/tsconfig.json b/plugins/adonis-plugin/tsconfig.json new file mode 100644 index 0000000000..4958d114db --- /dev/null +++ b/plugins/adonis-plugin/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "@celljs/component/configs/base.tsconfig.json", + "compilerOptions": { + "composite": true, + "rootDir": "src", + "outDir": "lib" + }, + "include": [ + "src" + ], + "references": [ + { + "path": "../../dev-packages/cli-common" + }, + { + "path": "../../dev-packages/cli-service" + } + ] +} diff --git a/plugins/cloud-plugin/.eslintrc.js b/plugins/cloud-plugin/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/plugins/cloud-plugin/.eslintrc.js +++ b/plugins/cloud-plugin/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/plugins/cloud-plugin/compile.tsconfig.json b/plugins/cloud-plugin/compile.tsconfig.json deleted file mode 100644 index a11a9d1af0..0000000000 --- a/plugins/cloud-plugin/compile.tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "@celljs/component/configs/base.tsconfig.json", - "compilerOptions": { - "composite": true, - "rootDir": "src", - "outDir": "lib" - }, - "include": [ - "src" - ], - "references": [ - { - "path": "../../dev-packages/cli-common/compile.tsconfig.json" - }, - { - "path": "../code-loader-plugin/compile.tsconfig.json" - } - ] -} diff --git a/plugins/cloud-plugin/tsconfig.json b/plugins/cloud-plugin/tsconfig.json new file mode 100644 index 0000000000..5b34c59551 --- /dev/null +++ b/plugins/cloud-plugin/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "@celljs/component/configs/base.tsconfig.json", + "compilerOptions": { + "composite": true, + "rootDir": "src", + "outDir": "lib" + }, + "include": [ + "src" + ], + "references": [ + { + "path": "../../dev-packages/cli-common" + }, + { + "path": "../code-loader-plugin" + } + ] +} diff --git a/plugins/code-loader-plugin/.eslintrc.js b/plugins/code-loader-plugin/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/plugins/code-loader-plugin/.eslintrc.js +++ b/plugins/code-loader-plugin/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/plugins/code-loader-plugin/compile.tsconfig.json b/plugins/code-loader-plugin/compile.tsconfig.json deleted file mode 100644 index 33c88ddff6..0000000000 --- a/plugins/code-loader-plugin/compile.tsconfig.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "extends": "@celljs/component/configs/base.tsconfig.json", - "compilerOptions": { - "composite": true, - "rootDir": "src", - "outDir": "lib" - }, - "include": [ - "src" - ], - "references": [ - { - "path": "../../dev-packages/cli-common/compile.tsconfig.json" - } - ] -} diff --git a/plugins/code-loader-plugin/tsconfig.json b/plugins/code-loader-plugin/tsconfig.json new file mode 100644 index 0000000000..e604613d75 --- /dev/null +++ b/plugins/code-loader-plugin/tsconfig.json @@ -0,0 +1,16 @@ +{ + "extends": "@celljs/component/configs/base.tsconfig.json", + "compilerOptions": { + "composite": true, + "rootDir": "src", + "outDir": "lib" + }, + "include": [ + "src" + ], + "references": [ + { + "path": "../../dev-packages/cli-common" + } + ] +} diff --git a/plugins/code-loader-plugin/typedoc.json b/plugins/code-loader-plugin/typedoc.json new file mode 100644 index 0000000000..d36847fc85 --- /dev/null +++ b/plugins/code-loader-plugin/typedoc.json @@ -0,0 +1,8 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/index.ts" + ], +} \ No newline at end of file diff --git a/plugins/fc-plugin/.eslintrc.js b/plugins/fc-plugin/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/plugins/fc-plugin/.eslintrc.js +++ b/plugins/fc-plugin/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/plugins/fc-plugin/compile.tsconfig.json b/plugins/fc-plugin/compile.tsconfig.json deleted file mode 100644 index 4044152031..0000000000 --- a/plugins/fc-plugin/compile.tsconfig.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "@celljs/component/configs/base.tsconfig.json", - "compilerOptions": { - "composite": true, - "rootDir": "src", - "outDir": "lib" - }, - "include": [ - "src" - ], - "references": [ - { - "path": "../cloud-plugin/compile.tsconfig.json" - }, - { - "path": "../code-loader-plugin/compile.tsconfig.json" - }, - { - "path": "../../dev-packages/cli-common/compile.tsconfig.json" - } - ] -} diff --git a/cloud-packages/oss/compile.tsconfig.json b/plugins/fc-plugin/tsconfig.json similarity index 64% rename from cloud-packages/oss/compile.tsconfig.json rename to plugins/fc-plugin/tsconfig.json index 2c172b4f29..b5967d6731 100644 --- a/cloud-packages/oss/compile.tsconfig.json +++ b/plugins/fc-plugin/tsconfig.json @@ -10,10 +10,13 @@ ], "references": [ { - "path": "../cloud/compile.tsconfig.json" + "path": "../../dev-packages/cli-common" }, { - "path": "../../packages/core/compile.tsconfig.json" + "path": "../cloud-plugin" + }, + { + "path": "../code-loader-plugin" } ] } diff --git a/plugins/fc3-plugin/.eslintrc.js b/plugins/fc3-plugin/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/plugins/fc3-plugin/.eslintrc.js +++ b/plugins/fc3-plugin/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/plugins/fc3-plugin/compile.tsconfig.json b/plugins/fc3-plugin/compile.tsconfig.json deleted file mode 100644 index 4044152031..0000000000 --- a/plugins/fc3-plugin/compile.tsconfig.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "@celljs/component/configs/base.tsconfig.json", - "compilerOptions": { - "composite": true, - "rootDir": "src", - "outDir": "lib" - }, - "include": [ - "src" - ], - "references": [ - { - "path": "../cloud-plugin/compile.tsconfig.json" - }, - { - "path": "../code-loader-plugin/compile.tsconfig.json" - }, - { - "path": "../../dev-packages/cli-common/compile.tsconfig.json" - } - ] -} diff --git a/plugins/fc3-plugin/tsconfig.json b/plugins/fc3-plugin/tsconfig.json new file mode 100644 index 0000000000..b5967d6731 --- /dev/null +++ b/plugins/fc3-plugin/tsconfig.json @@ -0,0 +1,22 @@ +{ + "extends": "@celljs/component/configs/base.tsconfig.json", + "compilerOptions": { + "composite": true, + "rootDir": "src", + "outDir": "lib" + }, + "include": [ + "src" + ], + "references": [ + { + "path": "../../dev-packages/cli-common" + }, + { + "path": "../cloud-plugin" + }, + { + "path": "../code-loader-plugin" + } + ] +} diff --git a/plugins/lambda-plugin/.eslintrc.js b/plugins/lambda-plugin/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/plugins/lambda-plugin/.eslintrc.js +++ b/plugins/lambda-plugin/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/plugins/lambda-plugin/compile.tsconfig.json b/plugins/lambda-plugin/compile.tsconfig.json deleted file mode 100644 index 4044152031..0000000000 --- a/plugins/lambda-plugin/compile.tsconfig.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "@celljs/component/configs/base.tsconfig.json", - "compilerOptions": { - "composite": true, - "rootDir": "src", - "outDir": "lib" - }, - "include": [ - "src" - ], - "references": [ - { - "path": "../cloud-plugin/compile.tsconfig.json" - }, - { - "path": "../code-loader-plugin/compile.tsconfig.json" - }, - { - "path": "../../dev-packages/cli-common/compile.tsconfig.json" - } - ] -} diff --git a/plugins/lambda-plugin/tsconfig.json b/plugins/lambda-plugin/tsconfig.json new file mode 100644 index 0000000000..b5967d6731 --- /dev/null +++ b/plugins/lambda-plugin/tsconfig.json @@ -0,0 +1,22 @@ +{ + "extends": "@celljs/component/configs/base.tsconfig.json", + "compilerOptions": { + "composite": true, + "rootDir": "src", + "outDir": "lib" + }, + "include": [ + "src" + ], + "references": [ + { + "path": "../../dev-packages/cli-common" + }, + { + "path": "../cloud-plugin" + }, + { + "path": "../code-loader-plugin" + } + ] +} diff --git a/plugins/next-plugin/.eslintrc.js b/plugins/next-plugin/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/plugins/next-plugin/.eslintrc.js +++ b/plugins/next-plugin/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/plugins/next-plugin/compile.tsconfig.json b/plugins/next-plugin/compile.tsconfig.json deleted file mode 100644 index 7455abe3dc..0000000000 --- a/plugins/next-plugin/compile.tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "@celljs/component/configs/base.tsconfig.json", - "compilerOptions": { - "composite": true, - "rootDir": "src", - "outDir": "lib" - }, - "include": [ - "src" - ], - "references": [ - { - "path": "../../dev-packages/cli-service/compile.tsconfig.json" - }, - { - "path": "../../dev-packages/cli-common/compile.tsconfig.json" - } - ] -} diff --git a/plugins/next-plugin/tsconfig.json b/plugins/next-plugin/tsconfig.json new file mode 100644 index 0000000000..4958d114db --- /dev/null +++ b/plugins/next-plugin/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "@celljs/component/configs/base.tsconfig.json", + "compilerOptions": { + "composite": true, + "rootDir": "src", + "outDir": "lib" + }, + "include": [ + "src" + ], + "references": [ + { + "path": "../../dev-packages/cli-common" + }, + { + "path": "../../dev-packages/cli-service" + } + ] +} diff --git a/plugins/node-plugin/.eslintrc.js b/plugins/node-plugin/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/plugins/node-plugin/.eslintrc.js +++ b/plugins/node-plugin/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/plugins/node-plugin/compile.tsconfig.json b/plugins/node-plugin/compile.tsconfig.json deleted file mode 100644 index 4d37353a6f..0000000000 --- a/plugins/node-plugin/compile.tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "@celljs/component/configs/base.tsconfig.json", - "compilerOptions": { - "composite": true, - "rootDir": "src", - "outDir": "lib" - }, - "include": [ - "src" - ], - "references": [ - { - "path": "../../dev-packages/cli-common/compile.tsconfig.json" - }, - { - "path": "../../dev-packages/cli-service/compile.tsconfig.json" - } - ] -} diff --git a/plugins/node-plugin/tsconfig.json b/plugins/node-plugin/tsconfig.json new file mode 100644 index 0000000000..4958d114db --- /dev/null +++ b/plugins/node-plugin/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "@celljs/component/configs/base.tsconfig.json", + "compilerOptions": { + "composite": true, + "rootDir": "src", + "outDir": "lib" + }, + "include": [ + "src" + ], + "references": [ + { + "path": "../../dev-packages/cli-common" + }, + { + "path": "../../dev-packages/cli-service" + } + ] +} diff --git a/plugins/python-plugin/.eslintrc.js b/plugins/python-plugin/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/plugins/python-plugin/.eslintrc.js +++ b/plugins/python-plugin/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/plugins/python-plugin/compile.tsconfig.json b/plugins/python-plugin/compile.tsconfig.json deleted file mode 100644 index 4cced8b829..0000000000 --- a/plugins/python-plugin/compile.tsconfig.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "extends":"@celljs/component/configs/base.tsconfig.json", - "compilerOptions": { - "composite": true, - "rootDir": "src", - "outDir": "lib" - }, - "include": [ - "src" - ], - "references": [ - { - "path": "../../dev-packages/cli-common/compile.tsconfig.json" - } - ] -} diff --git a/plugins/python-plugin/tsconfig.json b/plugins/python-plugin/tsconfig.json new file mode 100644 index 0000000000..e604613d75 --- /dev/null +++ b/plugins/python-plugin/tsconfig.json @@ -0,0 +1,16 @@ +{ + "extends": "@celljs/component/configs/base.tsconfig.json", + "compilerOptions": { + "composite": true, + "rootDir": "src", + "outDir": "lib" + }, + "include": [ + "src" + ], + "references": [ + { + "path": "../../dev-packages/cli-common" + } + ] +} diff --git a/plugins/scf-plugin/.eslintrc.js b/plugins/scf-plugin/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/plugins/scf-plugin/.eslintrc.js +++ b/plugins/scf-plugin/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/plugins/scf-plugin/compile.tsconfig.json b/plugins/scf-plugin/compile.tsconfig.json deleted file mode 100644 index 4044152031..0000000000 --- a/plugins/scf-plugin/compile.tsconfig.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "@celljs/component/configs/base.tsconfig.json", - "compilerOptions": { - "composite": true, - "rootDir": "src", - "outDir": "lib" - }, - "include": [ - "src" - ], - "references": [ - { - "path": "../cloud-plugin/compile.tsconfig.json" - }, - { - "path": "../code-loader-plugin/compile.tsconfig.json" - }, - { - "path": "../../dev-packages/cli-common/compile.tsconfig.json" - } - ] -} diff --git a/plugins/scf-plugin/tsconfig.json b/plugins/scf-plugin/tsconfig.json new file mode 100644 index 0000000000..b5967d6731 --- /dev/null +++ b/plugins/scf-plugin/tsconfig.json @@ -0,0 +1,22 @@ +{ + "extends": "@celljs/component/configs/base.tsconfig.json", + "compilerOptions": { + "composite": true, + "rootDir": "src", + "outDir": "lib" + }, + "include": [ + "src" + ], + "references": [ + { + "path": "../../dev-packages/cli-common" + }, + { + "path": "../cloud-plugin" + }, + { + "path": "../code-loader-plugin" + } + ] +} diff --git a/plugins/static-plugin/.eslintrc.js b/plugins/static-plugin/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/plugins/static-plugin/.eslintrc.js +++ b/plugins/static-plugin/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/plugins/static-plugin/compile.tsconfig.json b/plugins/static-plugin/compile.tsconfig.json deleted file mode 100644 index 7455abe3dc..0000000000 --- a/plugins/static-plugin/compile.tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "@celljs/component/configs/base.tsconfig.json", - "compilerOptions": { - "composite": true, - "rootDir": "src", - "outDir": "lib" - }, - "include": [ - "src" - ], - "references": [ - { - "path": "../../dev-packages/cli-service/compile.tsconfig.json" - }, - { - "path": "../../dev-packages/cli-common/compile.tsconfig.json" - } - ] -} diff --git a/plugins/static-plugin/tsconfig.json b/plugins/static-plugin/tsconfig.json new file mode 100644 index 0000000000..4958d114db --- /dev/null +++ b/plugins/static-plugin/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "@celljs/component/configs/base.tsconfig.json", + "compilerOptions": { + "composite": true, + "rootDir": "src", + "outDir": "lib" + }, + "include": [ + "src" + ], + "references": [ + { + "path": "../../dev-packages/cli-common" + }, + { + "path": "../../dev-packages/cli-service" + } + ] +} diff --git a/scripts/compile-references.js b/scripts/compile-references.js index 29b06e46df..10ce2183cd 100644 --- a/scripts/compile-references.js +++ b/scripts/compile-references.js @@ -2,88 +2,66 @@ 'use-strict'; const cp = require('child_process'); -const path = require('path').posix; +const path = require('path'); const fs = require('fs'); const ROOT = path.join(__dirname, '..'); -const DRY_RUN = popFlag(process.argv, '--dry-run'); - -const FORCE_REWRITE = popFlag(process.argv, '--force-rewrite') && !DRY_RUN; +const FORCE_REWRITE = process.argv.includes('--force-rewrite'); /** @type {{ [packageName: string]: YarnWorkspace }} */ -const YARN_WORKSPACES = JSON.parse(cp.execSync('yarn --silent workspaces info').toString()); +const YARN_WORKSPACES = JSON.parse(cp.execSync('yarn --silent workspaces info', { cwd: ROOT }).toString()); // Add the package name inside each package object. for (const [packageName, yarnWorkspace] of Object.entries(YARN_WORKSPACES)) { yarnWorkspace.name = packageName; + // For some reason Yarn doesn't report local peer dependencies, so we'll manually do it: + const { peerDependencies } = require(path.resolve(ROOT, yarnWorkspace.location, 'package.json')); + if (typeof peerDependencies === 'object') { + for (const peerDependency of Object.keys(peerDependencies)) { + if (peerDependency in YARN_WORKSPACES) { + yarnWorkspace.workspaceDependencies.push(peerDependency); + } + } + } } /** @type {YarnWorkspace} */ -const MALAGU_MONOREPO = { +const CELL_MONOREPO = { name: '@celljs/monorepo', workspaceDependencies: Object.keys(YARN_WORKSPACES), - location: ROOT, + location: '.', }; -try { - let rewriteRequired = false; - let result = false; - - // Configure all `compile.tsconfig.json` files of this monorepo - for (const packageName of Object.keys(YARN_WORKSPACES)) { - const workspacePackage = YARN_WORKSPACES[packageName]; - const tsconfigCompilePath = path.join(ROOT, workspacePackage.location, 'compile.tsconfig.json'); - const references = getTypescriptReferences(workspacePackage); - result = configureTypeScriptCompilation(workspacePackage, tsconfigCompilePath, references); - rewriteRequired = rewriteRequired || result; - } - - // Configure our root compilation configuration, living inside `configs/root-compilation.tsconfig.json`. - const configsFolder = path.join(ROOT, 'configs'); - const tsconfigCompilePath = path.join(configsFolder, 'root-compilation.tsconfig.json'); - const references = getTypescriptReferences(MALAGU_MONOREPO, configsFolder); - result = configureTypeScriptCompilation(MALAGU_MONOREPO, tsconfigCompilePath, references); - rewriteRequired = rewriteRequired || result; - - // Configure the root `tsconfig.json` for code navigation using `tsserver`. - const tsconfigNavPath = path.join(ROOT, 'tsconfig.json'); - result = configureTypeScriptNavigation(MALAGU_MONOREPO, tsconfigNavPath); - rewriteRequired = rewriteRequired || result; - - // CI will be able to tell if references got changed by looking at the exit code. - if (rewriteRequired) { - if (DRY_RUN) { - // Running a dry run usually only happens when a developer or CI runs the tests, so we only print the help then. - console.error('TypeScript references seem to be out of sync, run "yarn prepare:references" to fix.'); - process.exitCode = 1; - } else { - console.warn('TypeScript references were out of sync and got updated.'); - } - } - -} catch (error) { +compileTypeScriptReferences().catch(error => { console.error(error); process.exitCode = 1; +}) + +/** + * This script main entry point. + */ +async function compileTypeScriptReferences() { + await Promise.all([CELL_MONOREPO, ...Object.values(YARN_WORKSPACES)].map(async package => { + const references = await getTypescriptReferences(package); + await configureTypeScriptReferences(package, references); + })) } /** * @param {YarnWorkspace} requestedPackage - * @param {string} [overrideLocation] affects how relative paths are computed. - * @returns {string[]} project references for `requestedPackage`. + * @returns {Promise} TypeScript relative project references for `requestedPackage`. */ -function getTypescriptReferences(requestedPackage, overrideLocation) { - const references = []; - for (const dependency of requestedPackage.workspaceDependencies || []) { +async function getTypescriptReferences(requestedPackage) { + const references = await Promise.all((requestedPackage.workspaceDependencies || []).map(async dependency => { const depWorkspace = YARN_WORKSPACES[dependency]; - const depConfig = path.join(depWorkspace.location, 'compile.tsconfig.json'); - if (!fs.existsSync(depConfig)) { - continue; + const depConfig = path.join(ROOT, depWorkspace.location, 'tsconfig.json'); + if (!await fileExists(depConfig)) { + return undefined; // ignore because dep has no tsconfig } - const relativePath = path.relative(overrideLocation || requestedPackage.location, depWorkspace.location); - references.push(relativePath); - } - return references; + return path.posix.relative(requestedPackage.location, depWorkspace.location); + })); + return references.filter(reference => reference !== undefined); } /** @@ -91,18 +69,17 @@ function getTypescriptReferences(requestedPackage, overrideLocation) { * This allows TypeScript to operate in build mode. * * @param {YarnWorkspace} targetPackage for debug purpose. - * @param {string} tsconfigPath path to the tsconfig file to edit. - * @param {string[]} references list of paths to the related project roots. - * @returns {boolean} rewrite was needed. + * @param {string[]} expectedReferences list of paths to the related project roots. + * @returns {Promise} rewrite was needed. */ -function configureTypeScriptCompilation(targetPackage, tsconfigPath, references) { - if (!fs.existsSync(tsconfigPath)) { +async function configureTypeScriptReferences(targetPackage, expectedReferences) { + expectedReferences = [...expectedReferences].sort(); + let needRewrite = FORCE_REWRITE; + const tsconfigPath = path.resolve(ROOT, targetPackage.location, 'tsconfig.json'); + if (!await fileExists(tsconfigPath)) { return false; } - const tsconfigJson = readJsonFile(tsconfigPath); - - let needRewrite = FORCE_REWRITE; - + const tsconfigJson = await readJsonFile(tsconfigPath); if (!tsconfigJson.compilerOptions) { // Somehow no `compilerOptions` literal is defined. tsconfigJson.compilerOptions = { @@ -111,7 +88,6 @@ function configureTypeScriptCompilation(targetPackage, tsconfigPath, references) outDir: 'lib', }; needRewrite = true; - } else if (!tsconfigJson.compilerOptions.composite) { // `compilerOptions` is missing the `composite` literal. tsconfigJson.compilerOptions = { @@ -120,158 +96,28 @@ function configureTypeScriptCompilation(targetPackage, tsconfigPath, references) }; needRewrite = true; } - /** @type {string[]} */ - const tsconfigReferences = references - .map(reference => path.join(reference, 'compile.tsconfig.json')); - - /** @type {string[]} */ - const currentReferences = (tsconfigJson['references'] || []) - // We will work on a set of paths, easier to handle than objects. - .map(reference => reference.path) - // Remove any invalid reference (maybe outdated). - .filter((referenceRelativePath, index, self) => { - if (!tsconfigReferences.includes(referenceRelativePath)) { - // Found a reference that wasn't automatically computed, will remove. - console.warn(`error: ${targetPackage.name} untracked reference: ${referenceRelativePath}`); - needRewrite = true; - return false; // remove - } - if (self.indexOf(referenceRelativePath) !== index) { - // Remove duplicates. - console.error(`error: ${targetPackage.name} duplicate reference: ${referenceRelativePath}`); - needRewrite = true; - return false; // remove - } - const referencePath = path.join(path.dirname(tsconfigPath), referenceRelativePath); - try { - const referenceStat = fs.statSync(referencePath); - if (referenceStat.isDirectory() && fs.statSync(path.join(referencePath, 'tsconfig.json')).isFile()) { - return true; // keep - } else if (referenceStat.isFile()) { // still could be something else than a tsconfig, but good enough. - return true; // keep - } - } catch { - // passthrough - } - console.error(`error: ${targetPackage.name} invalid reference: ${referenceRelativePath}`); - needRewrite = true; - return false; // remove - }); - - for (const tsconfigReference of tsconfigReferences) { - if (!currentReferences.includes(tsconfigReference)) { - console.error(`error: ${targetPackage.name} missing reference: ${tsconfigReference}`); - currentReferences.push(tsconfigReference); - needRewrite = true; - } - } - if (!DRY_RUN && needRewrite) { - tsconfigJson.references = currentReferences.map(path => ({ path })); + const currentReferences = (tsconfigJson['references'] || []).map(reference => reference.path); + // Compare both arrays: if an element is not the same we need to rewrite. + needRewrite = needRewrite + || currentReferences.length !== expectedReferences.length + || currentReferences.some((reference, index) => expectedReferences[index] !== reference); + if (needRewrite) { + tsconfigJson.references = expectedReferences.map(path => ({ path })); const content = JSON.stringify(tsconfigJson, undefined, 2); - fs.writeFileSync(tsconfigPath, content + '\n'); + await fs.promises.writeFile(tsconfigPath, content + '\n'); console.warn(`info: ${tsconfigPath} updated.`); } return needRewrite; } -/** - * Wire the root `tsconfig.json` to map scoped import to real location in the monorepo. - * This setup is a shim for the TypeScript language server to provide cross-package navigation. - * Compilation is done via `compile.tsconfig.json` files. - * - * @param {YarnWorkspace} targetPackage for debug purpose. - * @param {string} tsconfigPath - * @returns {boolean} rewrite was needed. - */ -function configureTypeScriptNavigation(targetPackage, tsconfigPath) { - const tsconfigJson = readJsonFile(tsconfigPath); - - let needRewrite = FORCE_REWRITE; - - if (typeof tsconfigJson.compilerOptions === 'undefined') { - // Somehow no `compilerOptions` literal is defined. - tsconfigJson.compilerOptions = { - baseUrl: '.', - paths: {}, - }; - needRewrite = true; - - } else if (typeof tsconfigJson.compilerOptions.paths === 'undefined') { - // `compilerOptions` is missing the `paths` literal. - tsconfigJson.compilerOptions = { - ...tsconfigJson.compilerOptions, - paths: {}, - }; - needRewrite = true; - } - - /** @type {{ [prefix: string]: string[] }} */ - const currentPaths = tsconfigJson.compilerOptions.paths; - - for (const packageName of MALAGU_MONOREPO.workspaceDependencies) { - const depWorkspace = YARN_WORKSPACES[packageName]; - - /** @type {string} */ - let originalImportPath; - /** @type {string} */ - let mappedFsPath; - - const depSrcPath = path.join(depWorkspace.location, 'src'); - const depConfigPath = path.join(depWorkspace.location, 'compile.tsconfig.json'); - - if (fs.existsSync(depConfigPath) && fs.existsSync(depSrcPath)) { - // If it is a TypeScript dependency, map `lib` imports to our local sources in `src`. - const depConfigJson = readJsonFile(depConfigPath); - originalImportPath = `${packageName}/${depConfigJson.compilerOptions.outDir}/*`; - mappedFsPath = path.relative(MALAGU_MONOREPO.location, path.join(depSrcPath, '*')); - - } else { - // I don't really know what to do here, simply point to our local package root. - originalImportPath = `${packageName}/*`; - mappedFsPath = path.relative(MALAGU_MONOREPO.location, path.join(depWorkspace.location, '*')); - } - - /** @type {string[] | undefined} */ - const currentFsPaths = currentPaths[originalImportPath]; - - if (typeof currentFsPaths === 'undefined' || currentFsPaths.length !== 1 || currentFsPaths[0] !== mappedFsPath) { - console.error(`error: ${targetPackage.name} invalid mapped path: {"${originalImportPath}": "${currentFsPaths}"}`); - currentPaths[originalImportPath] = [mappedFsPath]; - needRewrite = true; - } - } - if (!DRY_RUN && needRewrite) { - const content = JSON.stringify(tsconfigJson, undefined, 2); - fs.writeFileSync(tsconfigPath, content + '\n'); - console.warn(`info: ${tsconfigPath} updated.`); - } - return needRewrite; -} - -/** - * - * @param {string[]} argv - * @param {string} flag - * @returns {boolean} - */ -function popFlag(argv, flag) { - const flagIndex = argv.indexOf(flag) - if (flagIndex !== -1) { - argv.splice(flagIndex, 1); - return true; - } else { - return false; - } -} - /** * @param {string} filePath - * @returns {any} + * @returns {Promise} */ -function readJsonFile(filePath) { +async function readJsonFile(filePath) { try { - return JSON.parse(fs.readFileSync(filePath).toString()); + return JSON.parse(await fs.promises.readFile(filePath, 'utf8')); } catch (error) { console.error('ParseError in file:', filePath); throw error; @@ -279,8 +125,10 @@ function readJsonFile(filePath) { } /** - * @typedef YarnWorkspace - * @property {string} name - * @property {string} location - * @property {string[]} workspaceDependencies + * @param {string} file + * @returns {Promise} */ +function fileExists(file) { + return fs.promises.access(file, fs.constants.R_OK | fs.constants.W_OK) + .then(ok => true, error => false) +} \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index c8a8e2cfc9..752d83c96a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,302 +1,226 @@ { "extends": "@celljs/component/configs/base.tsconfig.json", "compilerOptions": { - "allowJs": true, - "noEmit": true, - "baseUrl": ".", - "paths": { - "@celljs/core": [ - "packages/core/src/common" - ], - "@celljs/core/lib/*": [ - "packages/core/src/*" - ], - "@celljs/web": [ - "packages/web/src/common" - ], - "@celljs/web/lib/*": [ - "packages/web/src/*" - ], - "@celljs/securtiy": [ - "packages/securtiy/src/common" - ], - "@celljs/securtiy/lib/*": [ - "packages/securtiy/src/*" - ], - "@celljs/widget": [ - "packages/widget/src/browser" - ], - "@celljs/react": [ - "packages/react/src/browser" - ], - "@celljs/cloud": [ - "packages/cloud/src/common" - ], - "@celljs/faas-adapter/lib/hooks": [ - "packages/faas-adapter/src/hooks" - ], - "@celljs/cli-common/lib/*": [ - "dev-packages/cli-common/src/*" - ], - "@celljs/cli-service/lib/*": [ - "dev-packages/cli-service/src/*" - ], - "@celljs/cli/lib/*": [ - "dev-packages/cli/src/*" - ], - "@celljs/compression/lib/*": [ - "dev-packages/compression/src/*" - ], - "@celljs/eslint/lib/*": [ - "dev-packages/eslint/src/*" - ], - "@celljs/ext-scripts/*": [ - "dev-packages/ext-scripts/*" - ], - "@celljs/pwa/lib/*": [ - "dev-packages/pwa/src/*" - ], - "@celljs/antd/lib/*": [ - "ui-packages/antd/src/*" - ], - "@celljs/authing/lib/*": [ - "packages/authing/src/*" - ], - "@celljs/cache/lib/*": [ - "packages/cache/src/*" - ], - "@celljs/cloud/lib/*": [ - "cloud-packages/cloud/src/*" - ], - "@celljs/cos/lib/*": [ - "cloud-packages/cos/src/*" - ], - "@celljs/express-adapter/lib/*": [ - "packages/express-adapter/src/*" - ], - "@celljs/faas-adapter/lib/*": [ - "cloud-packages/faas-adapter/src/*" - ], - "@celljs/fc-adapter/lib/*": [ - "cloud-packages/fc-adapter/src/*" - ], - "@celljs/grommet/lib/*": [ - "ui-packages/grommet/src/*" - ], - "@celljs/lambda-adapter/lib/*": [ - "cloud-packages/lambda-adapter/src/*" - ], - "@celljs/logger/lib/*": [ - "packages/logger/src/*" - ], - "@celljs/material-ui/lib/*": [ - "ui-packages/material-ui/src/*" - ], - "@celljs/mvc/lib/*": [ - "packages/mvc/src/*" - ], - "@celljs/oauth2-client/lib/*": [ - "packages/oauth2-client/src/*" - ], - "@celljs/oauth2-core/lib/*": [ - "packages/oauth2-core/src/*" - ], - "@celljs/oauth2-jose/lib/*": [ - "packages/oauth2-jose/src/*" - ], - "@celljs/oidc-provider/lib/*": [ - "packages/oidc-provider/src/*" - ], - "@celljs/oss/lib/*": [ - "cloud-packages/oss/src/*" - ], - "@celljs/puppeteer/lib/*": [ - "packages/puppeteer/src/*" - ], - "@celljs/react/lib/*": [ - "ui-packages/react/src/*" - ], - "@celljs/rpc/lib/*": [ - "packages/rpc/src/*" - ], - "@celljs/s3/lib/*": [ - "cloud-packages/s3/src/*" - ], - "@celljs/scf-adapter/lib/*": [ - "cloud-packages/scf-adapter/src/*" - ], - "@celljs/schedule/lib/*": [ - "packages/schedule/src/*" - ], - "@celljs/security/lib/*": [ - "packages/security/src/*" - ], - "@celljs/serve-static/lib/*": [ - "packages/serve-static/src/*" - ], - "@celljs/shell/lib/*": [ - "ui-packages/shell/src/*" - ], - "@celljs/typeorm/lib/*": [ - "packages/typeorm/src/*" - ], - "@celljs/vercel-adapter/lib/*": [ - "cloud-packages/vercel-adapter/src/*" - ], - "@celljs/vue/lib/*": [ - "ui-packages/vue/src/*" - ], - "@celljs/widget/lib/*": [ - "ui-packages/widget/src/*" - ], - "@celljs/example-backend-app/*": [ - "examples/backend-app/*" - ], - "@celljs/example-sample-app/*": [ - "examples/sample-app/*" - ], - "@celljs/cli-runtime/lib/*": [ - "dev-packages/cli-runtime/src/*" - ], - "@celljs/example-schedule/*": [ - "examples/schedule/*" - ], - "@celljs/example-accounts/*": [ - "examples/accounts/*" - ], - "@celljs/cloud-plugin/lib/*": [ - "plugins/cloud-plugin/src/*" - ], - "@celljs/code-loader-plugin/lib/*": [ - "plugins/code-loader-plugin/src/*" - ], - "@celljs/fc-plugin/lib/*": [ - "plugins/fc-plugin/src/*" - ], - "@celljs/lambda-plugin/lib/*": [ - "plugins/lambda-plugin/src/*" - ], - "@celljs/scf-plugin/lib/*": [ - "plugins/scf-plugin/src/*" - ], - "@celljs/frameworks/lib/*": [ - "dev-packages/frameworks/src/*" - ], - "@celljs/static-plugin/lib/*": [ - "plugins/static-plugin/src/*" - ], - "@celljs/static-plugin/*": [ - "dev-packages/static-plugin/*" - ], - "@celljs/node-plugin/lib/*": [ - "plugins/node-plugin/src/*" - ], - "@celljs/example-backend-app1/*": [ - "examples/backend-app/*" - ], - "@celljs/example-backend-app2/*": [ - "examples/backend-app/*" - ], - "@celljs/example-koa-app/*": [ - "examples/koa-app/*" - ], - "@celljs/example-security-app/*": [ - "examples/security-app/*" - ], - "@celljs/next-plugin/lib/*": [ - "plugins/next-plugin/src/*" - ], - "@celljs/example-nextjs-app/*": [ - "examples/nextjs-app/*" - ], - "@celljs/adonis-plugin/lib/*": [ - "plugins/adonis-plugin/src/*" - ], - "@celljs/qq-guild-bot-adapter/lib/*": [ - "packages/qq-guild-bot-adapter/src/*" - ], - "@celljs/example-qq-guild-bot-app/*": [ - "examples/qq-guild-bot-app/*" - ], - "@celljs/example-standalone-app/*": [ - "examples/standalone-app/*" - ], - "@celljs/example-mycli/*": [ - "examples/mycli/*" - ], - "@celljs/node-runtime-plugin/lib/*": [ - "plugins/node-runtime-plugin/src/*" - ], - "@celljs/config/lib/*": [ - "packages/config/src/*" - ], - "@celljs/component/*": [ - "dev-packages/component/*" - ], - "database-app/*": [ - "examples/database-app/*" - ], - "@celljs/elasticsearch/lib/*": [ - "packages/elasticsearch/src/*" - ], - "@celljs/testing/lib/*": [ - "dev-packages/testing/src/*" - ], - "admin-app/*": [ - "examples/admin-app/*" - ], - "@celljs/jwt/lib/*": [ - "packages/jwt/src/*" - ], - "@celljs/example-jwt-app/*": [ - "examples/jwt-app/*" - ], - "adonis-app/*": [ - "examples/adonis-app/*" - ], - "@celljs/python-plugin/lib/*": [ - "plugins/python-plugin/src/*" - ], - "@celljs/example-admin-app/*": [ - "examples/admin-app/*" - ], - "@celljs/example-adonis-app/*": [ - "examples/adonis-app/*" - ], - "@celljs/example-prisma-app/*": [ - "examples/prisma-app/*" - ], - "@celljs/example-docker/*": [ - "examples/docker-app/*" - ], - "@celljs/example-docker-app/*": [ - "examples/docker-app/*" - ], - "@celljs/rpc-core/lib/*": [ - "packages/rpc-core/src/*" - ], - "nest-app/*": [ - "examples/nest-app/*" - ], - "@celljs/fc3-plugin/lib/*": [ - "plugins/fc3-plugin/src/*" - ], - "@celljs/ai-core/lib/*": [ - "ai-packages/ai-core/src/*" - ], - "@celljs/http/lib/*": [ - "packages/http/src/*" - ], - "@celljs/retry/lib/*": [ - "packages/retry/src/*" - ] - } + "composite": true, + "allowJs": true }, - "include": [ - "dev-packages/*/src", - "packages/*/src", - "examples/*/test", - "plugins/*/src", - "packages/cache/src/node/delegating-cache-manager.ts" + "include": [], + "references": [ + { + "path": "ai-packages/ai-core" + }, + { + "path": "ai-packages/ai-ollama" + }, + { + "path": "cloud-packages/cloud" + }, + { + "path": "cloud-packages/cos" + }, + { + "path": "cloud-packages/faas-adapter" + }, + { + "path": "cloud-packages/fc-adapter" + }, + { + "path": "cloud-packages/lambda-adapter" + }, + { + "path": "cloud-packages/oss" + }, + { + "path": "cloud-packages/s3" + }, + { + "path": "cloud-packages/scf-adapter" + }, + { + "path": "cloud-packages/vercel-adapter" + }, + { + "path": "dev-packages/cli" + }, + { + "path": "dev-packages/cli-common" + }, + { + "path": "dev-packages/cli-runtime" + }, + { + "path": "dev-packages/cli-service" + }, + { + "path": "dev-packages/compression" + }, + { + "path": "dev-packages/eslint" + }, + { + "path": "dev-packages/frameworks" + }, + { + "path": "dev-packages/pwa" + }, + { + "path": "dev-packages/testing" + }, + { + "path": "examples/accounts" + }, + { + "path": "examples/admin-app" + }, + { + "path": "examples/adonis-app" + }, + { + "path": "examples/backend-app" + }, + { + "path": "examples/docker-app" + }, + { + "path": "examples/jwt-app" + }, + { + "path": "examples/mycli" + }, + { + "path": "examples/prisma-app" + }, + { + "path": "examples/sample-app" + }, + { + "path": "examples/schedule" + }, + { + "path": "examples/security-app" + }, + { + "path": "examples/standalone-app" + }, + { + "path": "packages/cache" + }, + { + "path": "packages/config" + }, + { + "path": "packages/core" + }, + { + "path": "packages/elasticsearch" + }, + { + "path": "packages/express-adapter" + }, + { + "path": "packages/http" + }, + { + "path": "packages/jwt" + }, + { + "path": "packages/logger" + }, + { + "path": "packages/mvc" + }, + { + "path": "packages/oauth2-client" + }, + { + "path": "packages/oauth2-core" + }, + { + "path": "packages/oauth2-jose" + }, + { + "path": "packages/oidc-provider" + }, + { + "path": "packages/puppeteer" + }, + { + "path": "packages/retry" + }, + { + "path": "packages/rpc" + }, + { + "path": "packages/rpc-core" + }, + { + "path": "packages/schedule" + }, + { + "path": "packages/security" + }, + { + "path": "packages/serve-static" + }, + { + "path": "packages/typeorm" + }, + { + "path": "packages/web" + }, + { + "path": "plugins/adonis-plugin" + }, + { + "path": "plugins/cloud-plugin" + }, + { + "path": "plugins/code-loader-plugin" + }, + { + "path": "plugins/fc-plugin" + }, + { + "path": "plugins/fc3-plugin" + }, + { + "path": "plugins/lambda-plugin" + }, + { + "path": "plugins/next-plugin" + }, + { + "path": "plugins/node-plugin" + }, + { + "path": "plugins/python-plugin" + }, + { + "path": "plugins/scf-plugin" + }, + { + "path": "plugins/static-plugin" + }, + { + "path": "ui-packages/antd" + }, + { + "path": "ui-packages/grommet" + }, + { + "path": "ui-packages/material-ui" + }, + { + "path": "ui-packages/react" + }, + { + "path": "ui-packages/shell" + }, + { + "path": "ui-packages/vue" + }, + { + "path": "ui-packages/widget" + } ] } diff --git a/ui-packages/antd/.eslintrc.js b/ui-packages/antd/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/ui-packages/antd/.eslintrc.js +++ b/ui-packages/antd/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/ui-packages/antd/compile.tsconfig.json b/ui-packages/antd/compile.tsconfig.json deleted file mode 100644 index e799b1e9ca..0000000000 --- a/ui-packages/antd/compile.tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "@celljs/component/configs/base.tsconfig.json", - "compilerOptions": { - "composite": true, - "rootDir": "src", - "outDir": "lib" - }, - "include": [ - "src" - ], - "references": [ - { - "path": "../react/compile.tsconfig.json" - }, - { - "path": "../../packages/core/compile.tsconfig.json" - } - ] -} diff --git a/ui-packages/antd/tsconfig.json b/ui-packages/antd/tsconfig.json new file mode 100644 index 0000000000..51e5dd796c --- /dev/null +++ b/ui-packages/antd/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "@celljs/component/configs/base.tsconfig.json", + "compilerOptions": { + "composite": true, + "rootDir": "src", + "outDir": "lib" + }, + "include": [ + "src" + ], + "references": [ + { + "path": "../../packages/core" + }, + { + "path": "../react" + } + ] +} diff --git a/ui-packages/antd/typedoc.json b/ui-packages/antd/typedoc.json new file mode 100644 index 0000000000..b5420d3954 --- /dev/null +++ b/ui-packages/antd/typedoc.json @@ -0,0 +1,8 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/browser/index.ts" + ], +} \ No newline at end of file diff --git a/ui-packages/grommet/.eslintrc.js b/ui-packages/grommet/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/ui-packages/grommet/.eslintrc.js +++ b/ui-packages/grommet/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/ui-packages/grommet/compile.tsconfig.json b/ui-packages/grommet/compile.tsconfig.json deleted file mode 100644 index df74599100..0000000000 --- a/ui-packages/grommet/compile.tsconfig.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "@celljs/component/configs/base.tsconfig.json", - "compilerOptions": { - "composite": true, - "rootDir": "src", - "outDir": "lib" - }, - "include": [ - "src" - ], - "references": [ - { - "path": "../react/compile.tsconfig.json" - }, - { - "path": "../widget/compile.tsconfig.json" - }, - { - "path": "../../packages/core/compile.tsconfig.json" - } - ] -} diff --git a/ui-packages/grommet/tsconfig.json b/ui-packages/grommet/tsconfig.json new file mode 100644 index 0000000000..617cedb164 --- /dev/null +++ b/ui-packages/grommet/tsconfig.json @@ -0,0 +1,22 @@ +{ + "extends": "@celljs/component/configs/base.tsconfig.json", + "compilerOptions": { + "composite": true, + "rootDir": "src", + "outDir": "lib" + }, + "include": [ + "src" + ], + "references": [ + { + "path": "../../packages/core" + }, + { + "path": "../react" + }, + { + "path": "../widget" + } + ] +} diff --git a/ui-packages/grommet/typedoc.json b/ui-packages/grommet/typedoc.json new file mode 100644 index 0000000000..b5420d3954 --- /dev/null +++ b/ui-packages/grommet/typedoc.json @@ -0,0 +1,8 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/browser/index.ts" + ], +} \ No newline at end of file diff --git a/ui-packages/material-ui/.eslintrc.js b/ui-packages/material-ui/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/ui-packages/material-ui/.eslintrc.js +++ b/ui-packages/material-ui/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/ui-packages/material-ui/compile.tsconfig.json b/ui-packages/material-ui/compile.tsconfig.json deleted file mode 100644 index e799b1e9ca..0000000000 --- a/ui-packages/material-ui/compile.tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "@celljs/component/configs/base.tsconfig.json", - "compilerOptions": { - "composite": true, - "rootDir": "src", - "outDir": "lib" - }, - "include": [ - "src" - ], - "references": [ - { - "path": "../react/compile.tsconfig.json" - }, - { - "path": "../../packages/core/compile.tsconfig.json" - } - ] -} diff --git a/ui-packages/material-ui/tsconfig.json b/ui-packages/material-ui/tsconfig.json new file mode 100644 index 0000000000..51e5dd796c --- /dev/null +++ b/ui-packages/material-ui/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "@celljs/component/configs/base.tsconfig.json", + "compilerOptions": { + "composite": true, + "rootDir": "src", + "outDir": "lib" + }, + "include": [ + "src" + ], + "references": [ + { + "path": "../../packages/core" + }, + { + "path": "../react" + } + ] +} diff --git a/ui-packages/material-ui/typedoc.json b/ui-packages/material-ui/typedoc.json new file mode 100644 index 0000000000..b5420d3954 --- /dev/null +++ b/ui-packages/material-ui/typedoc.json @@ -0,0 +1,8 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/browser/index.ts" + ], +} \ No newline at end of file diff --git a/ui-packages/react/.eslintrc.js b/ui-packages/react/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/ui-packages/react/.eslintrc.js +++ b/ui-packages/react/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/ui-packages/react/compile.tsconfig.json b/ui-packages/react/compile.tsconfig.json deleted file mode 100644 index 5c1e34d3aa..0000000000 --- a/ui-packages/react/compile.tsconfig.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "extends": "@celljs/component/configs/base.tsconfig.json", - "compilerOptions": { - "composite": true, - "rootDir": "src", - "outDir": "lib" - }, - "include": [ - "src" - ], - "references": [ - { - "path": "../widget/compile.tsconfig.json" - }, - { - "path": "../../dev-packages/cli-service/compile.tsconfig.json" - }, - { - "path": "../../dev-packages/cli-common/compile.tsconfig.json" - }, - { - "path": "../../packages/core/compile.tsconfig.json" - } - ] -} diff --git a/packages/oauth2-jose/compile.tsconfig.json b/ui-packages/react/tsconfig.json similarity index 59% rename from packages/oauth2-jose/compile.tsconfig.json rename to ui-packages/react/tsconfig.json index a71f1e6512..9a6bdb6abb 100644 --- a/packages/oauth2-jose/compile.tsconfig.json +++ b/ui-packages/react/tsconfig.json @@ -10,13 +10,16 @@ ], "references": [ { - "path": "../core/compile.tsconfig.json" + "path": "../../dev-packages/cli-common" }, { - "path": "../web/compile.tsconfig.json" + "path": "../../dev-packages/cli-service" }, { - "path": "../http/compile.tsconfig.json" + "path": "../../packages/core" + }, + { + "path": "../widget" } ] } diff --git a/ui-packages/react/typedoc.json b/ui-packages/react/typedoc.json new file mode 100644 index 0000000000..b5420d3954 --- /dev/null +++ b/ui-packages/react/typedoc.json @@ -0,0 +1,8 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/browser/index.ts" + ], +} \ No newline at end of file diff --git a/ui-packages/shell/.eslintrc.js b/ui-packages/shell/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/ui-packages/shell/.eslintrc.js +++ b/ui-packages/shell/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/ui-packages/shell/tsconfig.json b/ui-packages/shell/tsconfig.json new file mode 100644 index 0000000000..4b87017969 --- /dev/null +++ b/ui-packages/shell/tsconfig.json @@ -0,0 +1,28 @@ +{ + "extends": "@celljs/component/configs/base.tsconfig.json", + "compilerOptions": { + "composite": true, + "rootDir": "src", + "outDir": "lib" + }, + "include": [ + "src" + ], + "references": [ + { + "path": "../../packages/core" + }, + { + "path": "../../packages/security" + }, + { + "path": "../grommet" + }, + { + "path": "../react" + }, + { + "path": "../widget" + } + ] +} diff --git a/ui-packages/shell/typedoc.json b/ui-packages/shell/typedoc.json new file mode 100644 index 0000000000..e9ee16121c --- /dev/null +++ b/ui-packages/shell/typedoc.json @@ -0,0 +1,10 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/common/index.ts", + "src/node/index.ts", + "src/browser/index.ts", + ], +} \ No newline at end of file diff --git a/ui-packages/vue/.eslintrc.js b/ui-packages/vue/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/ui-packages/vue/.eslintrc.js +++ b/ui-packages/vue/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/ui-packages/vue/compile.tsconfig.json b/ui-packages/vue/compile.tsconfig.json deleted file mode 100644 index 46a7dad9b4..0000000000 --- a/ui-packages/vue/compile.tsconfig.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "@celljs/component/configs/base.tsconfig.json", - "compilerOptions": { - "composite": true, - "rootDir": "src", - "outDir": "lib" - }, - "include": [ - "src" - ], - "references": [ - { - "path": "../../dev-packages/cli-service/compile.tsconfig.json" - }, - { - "path": "../../dev-packages/cli-common/compile.tsconfig.json" - }, - { - "path": "../../packages/core/compile.tsconfig.json" - } - ] -} diff --git a/packages/security/compile.tsconfig.json b/ui-packages/vue/tsconfig.json similarity index 64% rename from packages/security/compile.tsconfig.json rename to ui-packages/vue/tsconfig.json index d4d0c4e857..2d432a3637 100644 --- a/packages/security/compile.tsconfig.json +++ b/ui-packages/vue/tsconfig.json @@ -10,13 +10,13 @@ ], "references": [ { - "path": "../web/compile.tsconfig.json" + "path": "../../dev-packages/cli-common" }, { - "path": "../core/compile.tsconfig.json" + "path": "../../dev-packages/cli-service" }, { - "path": "../http/compile.tsconfig.json" + "path": "../../packages/core" } ] } diff --git a/ui-packages/vue/typedoc.json b/ui-packages/vue/typedoc.json new file mode 100644 index 0000000000..b5420d3954 --- /dev/null +++ b/ui-packages/vue/typedoc.json @@ -0,0 +1,8 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/browser/index.ts" + ], +} \ No newline at end of file diff --git a/ui-packages/widget/.eslintrc.js b/ui-packages/widget/.eslintrc.js index 8b90d86ad4..5c01e5e50f 100644 --- a/ui-packages/widget/.eslintrc.js +++ b/ui-packages/widget/.eslintrc.js @@ -5,6 +5,6 @@ module.exports = { ], parserOptions: { tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' + project: 'tsconfig.json' } }; \ No newline at end of file diff --git a/ui-packages/widget/compile.tsconfig.json b/ui-packages/widget/compile.tsconfig.json deleted file mode 100644 index 2289f709eb..0000000000 --- a/ui-packages/widget/compile.tsconfig.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "extends": "@celljs/component/configs/base.tsconfig.json", - "compilerOptions": { - "composite": true, - "rootDir": "src", - "outDir": "lib" - }, - "include": [ - "src" - ], - "references": [ - { - "path": "../../packages/core/compile.tsconfig.json" - } - ] -} diff --git a/ui-packages/widget/tsconfig.json b/ui-packages/widget/tsconfig.json new file mode 100644 index 0000000000..e5616f9ae0 --- /dev/null +++ b/ui-packages/widget/tsconfig.json @@ -0,0 +1,16 @@ +{ + "extends": "@celljs/component/configs/base.tsconfig.json", + "compilerOptions": { + "composite": true, + "rootDir": "src", + "outDir": "lib" + }, + "include": [ + "src" + ], + "references": [ + { + "path": "../../packages/core" + } + ] +} diff --git a/ui-packages/widget/typedoc.json b/ui-packages/widget/typedoc.json new file mode 100644 index 0000000000..b5420d3954 --- /dev/null +++ b/ui-packages/widget/typedoc.json @@ -0,0 +1,8 @@ +{ + "extends": [ + "../../configs/typedoc.base.jsonc" + ], + "entryPoints": [ + "src/browser/index.ts" + ], +} \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index 5f6775e5f9..012050ad95 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1679,18 +1679,37 @@ resolved "https://registry.yarnpkg.com/@emotion/unitless/-/unitless-0.7.5.tgz#77211291c1900a700b8a78cfafda3160d76949ed" integrity sha512-OWORNpfjMsSSUBVrRBVGECkhWcULOAJz9ZW8uK9qgxD+87M7jHRcvh/A96XXNhXTLmKcoYSQtBEX7lHMO7YRwg== -"@eslint-community/eslint-utils@^4.2.0": +"@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" integrity sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA== dependencies: eslint-visitor-keys "^3.3.0" +"@eslint-community/regexpp@^4.10.0", "@eslint-community/regexpp@^4.11.0": + version "4.11.1" + resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.11.1.tgz#a547badfc719eb3e5f4b556325e542fbe9d7a18f" + integrity sha512-m4DVN9ZqskZoLU5GlWZadwDnYo3vAEydiUayB9widCl9ffWx2IvPnp6n3on5rJmziJSw9Bv+Z3ChDVdMwXCY8Q== + "@eslint-community/regexpp@^4.4.0": version "4.5.1" resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.5.1.tgz#cdd35dce4fa1a89a4fd42b1599eb35b3af408884" integrity sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6FZTFKQ== +"@eslint/config-array@^0.18.0": + version "0.18.0" + resolved "https://registry.yarnpkg.com/@eslint/config-array/-/config-array-0.18.0.tgz#37d8fe656e0d5e3dbaea7758ea56540867fd074d" + integrity sha512-fTxvnS1sRMu3+JjXwJG0j/i4RT9u4qJ+lqS/yCGap4lH4zZGzQ7tu+xZqQmcMZq5OBZDL4QRxQzRjkWcGt8IVw== + dependencies: + "@eslint/object-schema" "^2.1.4" + debug "^4.3.1" + minimatch "^3.1.2" + +"@eslint/core@^0.6.0": + version "0.6.0" + resolved "https://registry.yarnpkg.com/@eslint/core/-/core-0.6.0.tgz#9930b5ba24c406d67a1760e94cdbac616a6eb674" + integrity sha512-8I2Q8ykA4J0x0o7cg67FPVnehcqWTBehu/lmY+bolPFHGjh49YzGBMXTvpqVgEbBdvNCSxj6iFgiIyHzf03lzg== + "@eslint/eslintrc@^2.1.0": version "2.1.0" resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.1.0.tgz#82256f164cc9e0b59669efc19d57f8092706841d" @@ -1706,11 +1725,43 @@ minimatch "^3.1.2" strip-json-comments "^3.1.1" +"@eslint/eslintrc@^3.1.0": + version "3.1.0" + resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-3.1.0.tgz#dbd3482bfd91efa663cbe7aa1f506839868207b6" + integrity sha512-4Bfj15dVJdoy3RfZmmo86RK1Fwzn6SstsvK9JS+BaVKqC6QQQQyXekNaC+g+LKNgkQ+2VhGAzm6hO40AhMR3zQ== + dependencies: + ajv "^6.12.4" + debug "^4.3.2" + espree "^10.0.1" + globals "^14.0.0" + ignore "^5.2.0" + import-fresh "^3.2.1" + js-yaml "^4.1.0" + minimatch "^3.1.2" + strip-json-comments "^3.1.1" + "@eslint/js@8.44.0": version "8.44.0" resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.44.0.tgz#961a5903c74139390478bdc808bcde3fc45ab7af" integrity sha512-Ag+9YM4ocKQx9AarydN0KY2j0ErMHNIocPDrVo8zAE44xLTjEtz81OdR68/cydGtk6m6jDb5Za3r2useMzYmSw== +"@eslint/js@9.12.0": + version "9.12.0" + resolved "https://registry.yarnpkg.com/@eslint/js/-/js-9.12.0.tgz#69ca3ca9fab9a808ec6d67b8f6edb156cbac91e1" + integrity sha512-eohesHH8WFRUprDNyEREgqP6beG6htMeUYeCpkEgBCieCMme5r9zFWjzAJp//9S+Kub4rqE+jXe9Cp1a7IYIIA== + +"@eslint/object-schema@^2.1.4": + version "2.1.4" + resolved "https://registry.yarnpkg.com/@eslint/object-schema/-/object-schema-2.1.4.tgz#9e69f8bb4031e11df79e03db09f9dbbae1740843" + integrity sha512-BsWiH1yFGjXXS2yvrf5LyuoSIIbPrGUWob917o+BTKuZ7qJdxX8aJLRxs1fS9n6r7vESrq1OUqb68dANcFXuQQ== + +"@eslint/plugin-kit@^0.2.0": + version "0.2.0" + resolved "https://registry.yarnpkg.com/@eslint/plugin-kit/-/plugin-kit-0.2.0.tgz#8712dccae365d24e9eeecb7b346f85e750ba343d" + integrity sha512-vH9PiIMMwvhCx31Af3HiGzsVNULDbyVkHXwlemn/B0TFj/00ho3y55efXrUZTfQipxoHC5u4xq6zblww1zm1Ig== + dependencies: + levn "^0.4.1" + "@formatjs/ecma402-abstract@1.11.8": version "1.11.8" resolved "https://registry.yarnpkg.com/@formatjs/ecma402-abstract/-/ecma402-abstract-1.11.8.tgz#f4015dfb6a837369d94c6ba82455c609e45bce20" @@ -1794,6 +1845,19 @@ deepmerge "^1.5.2" javascript-stringify "^2.0.1" +"@humanfs/core@^0.19.0": + version "0.19.0" + resolved "https://registry.yarnpkg.com/@humanfs/core/-/core-0.19.0.tgz#08db7a8c73bb07673d9ebd925f2dad746411fcec" + integrity sha512-2cbWIHbZVEweE853g8jymffCA+NCMiuqeECeBBLm8dg2oFdjuGJhgN4UAbI+6v0CKbbhvtXA4qV8YR5Ji86nmw== + +"@humanfs/node@^0.16.5": + version "0.16.5" + resolved "https://registry.yarnpkg.com/@humanfs/node/-/node-0.16.5.tgz#a9febb7e7ad2aff65890fdc630938f8d20aa84ba" + integrity sha512-KSPA4umqSG4LHYRodq31VDwKAvaTF4xmVlzM8Aeh4PlU1JQ3IG0wiA8C25d3RQ9nJyM3mBHyI53K06VVL/oFFg== + dependencies: + "@humanfs/core" "^0.19.0" + "@humanwhocodes/retry" "^0.3.0" + "@humanwhocodes/config-array@^0.11.10": version "0.11.10" resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.10.tgz#5a3ffe32cc9306365fb3fd572596cd602d5e12d2" @@ -1813,6 +1877,11 @@ resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz#b520529ec21d8e5945a1851dfd1c32e94e39ff45" integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA== +"@humanwhocodes/retry@^0.3.0", "@humanwhocodes/retry@^0.3.1": + version "0.3.1" + resolved "https://registry.yarnpkg.com/@humanwhocodes/retry/-/retry-0.3.1.tgz#c72a5c76a9fbaf3488e231b13dc52c0da7bab42a" + integrity sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA== + "@hutson/parse-repository-url@^3.0.0": version "3.0.2" resolved "https://registry.npmjs.org/@hutson/parse-repository-url/-/parse-repository-url-3.0.2.tgz#98c23c950a3d9b6c8f0daed06da6c3af06981340" @@ -3493,6 +3562,11 @@ estree-walker "^1.0.1" picomatch "^2.2.2" +"@rtsao/scc@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@rtsao/scc/-/scc-1.1.0.tgz#927dd2fae9bc3361403ac2c7a00c32ddce9ad7e8" + integrity sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g== + "@serverless-cd/srm-aliyun-fc-domain@^0.0.1-beta.1": version "0.0.1-beta.1" resolved "https://registry.yarnpkg.com/@serverless-cd/srm-aliyun-fc-domain/-/srm-aliyun-fc-domain-0.0.1-beta.1.tgz#732ead6c25bf3048c5c8dde3e33a49c9e9e0c1d0" @@ -3509,6 +3583,48 @@ resolved "https://registry.yarnpkg.com/@serverless-devs/component-interface/-/component-interface-0.0.3-beta.1.tgz#b1f84d6538d5279c9f769e33b3ba87daf5d85de2" integrity sha512-r2wzW/eGx2qBlM8cYIijxZBxtZPByEY4kzg7ict99iPheoThOmbawgympyHX/+IlURf+Vcpn4bLIij7I0ywn+g== +"@shikijs/core@1.22.0": + version "1.22.0" + resolved "https://registry.yarnpkg.com/@shikijs/core/-/core-1.22.0.tgz#74e5d4485e5f7afa85109e322b42e400686f92bb" + integrity sha512-S8sMe4q71TJAW+qG93s5VaiihujRK6rqDFqBnxqvga/3LvqHEnxqBIOPkt//IdXVtHkQWKu4nOQNk0uBGicU7Q== + dependencies: + "@shikijs/engine-javascript" "1.22.0" + "@shikijs/engine-oniguruma" "1.22.0" + "@shikijs/types" "1.22.0" + "@shikijs/vscode-textmate" "^9.3.0" + "@types/hast" "^3.0.4" + hast-util-to-html "^9.0.3" + +"@shikijs/engine-javascript@1.22.0": + version "1.22.0" + resolved "https://registry.yarnpkg.com/@shikijs/engine-javascript/-/engine-javascript-1.22.0.tgz#2e5db29f0421755492f5279f8224ef7a7f907a29" + integrity sha512-AeEtF4Gcck2dwBqCFUKYfsCq0s+eEbCEbkUuFou53NZ0sTGnJnJ/05KHQFZxpii5HMXbocV9URYVowOP2wH5kw== + dependencies: + "@shikijs/types" "1.22.0" + "@shikijs/vscode-textmate" "^9.3.0" + oniguruma-to-js "0.4.3" + +"@shikijs/engine-oniguruma@1.22.0": + version "1.22.0" + resolved "https://registry.yarnpkg.com/@shikijs/engine-oniguruma/-/engine-oniguruma-1.22.0.tgz#74c661fac4cd1f08f2c09b5d6e2fd2a6720d0401" + integrity sha512-5iBVjhu/DYs1HB0BKsRRFipRrD7rqjxlWTj4F2Pf+nQSPqc3kcyqFFeZXnBMzDf0HdqaFVvhDRAGiYNvyLP+Mw== + dependencies: + "@shikijs/types" "1.22.0" + "@shikijs/vscode-textmate" "^9.3.0" + +"@shikijs/types@1.22.0": + version "1.22.0" + resolved "https://registry.yarnpkg.com/@shikijs/types/-/types-1.22.0.tgz#d2a572381395c9308b472c8199b8e0289753b9ad" + integrity sha512-Fw/Nr7FGFhlQqHfxzZY8Cwtwk5E9nKDUgeLjZgt3UuhcM3yJR9xj3ZGNravZZok8XmEZMiYkSMTPlPkULB8nww== + dependencies: + "@shikijs/vscode-textmate" "^9.3.0" + "@types/hast" "^3.0.4" + +"@shikijs/vscode-textmate@^9.3.0": + version "9.3.0" + resolved "https://registry.yarnpkg.com/@shikijs/vscode-textmate/-/vscode-textmate-9.3.0.tgz#b2f1776e488c1d6c2b6cd129bab62f71bbc9c7ab" + integrity sha512-jn7/7ky30idSkd/O5yDBfAnVt+JJpepofP/POZ1iMOxK59cOfqIgg/Dj0eFsjOTMw+4ycJN0uhZH/Eb0bs/EUA== + "@sinclair/typebox@^0.24.1": version "0.24.43" resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.24.43.tgz#2e2bce0e5e493aaf639beed0cd6c88cfde7dd3d7" @@ -3788,6 +3904,11 @@ resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caaa7422644389509f" integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw== +"@types/estree@^1.0.6": + version "1.0.6" + resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.6.tgz#628effeeae2064a1b4e79f78e81d87b7e5fc7b50" + integrity sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw== + "@types/express-serve-static-core@*", "@types/express-serve-static-core@^4.17.18": version "4.17.29" resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-4.17.29.tgz#2a1795ea8e9e9c91b4a4bbe475034b20c1ec711c" @@ -3837,6 +3958,13 @@ "@types/minimatch" "*" "@types/node" "*" +"@types/hast@^3.0.0", "@types/hast@^3.0.4": + version "3.0.4" + resolved "https://registry.yarnpkg.com/@types/hast/-/hast-3.0.4.tgz#1d6b39993b82cea6ad783945b0508c25903e15aa" + integrity sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ== + dependencies: + "@types/unist" "*" + "@types/he@^1.1.2": version "1.1.2" resolved "https://registry.yarnpkg.com/@types/he/-/he-1.1.2.tgz#0c8b275f36d2b8b651104638e4d45693349c3953" @@ -3929,6 +4057,11 @@ resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.11.tgz#d421b6c527a3037f7c84433fd2c4229e016863d3" integrity sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ== +"@types/json-schema@^7.0.12", "@types/json-schema@^7.0.15": + version "7.0.15" + resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.15.tgz#596a1747233694d50f6ad8a7869fcb6f56cf5841" + integrity sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA== + "@types/json5@^0.0.29": version "0.0.29" resolved "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee" @@ -4005,6 +4138,13 @@ resolved "https://registry.yarnpkg.com/@types/luxon/-/luxon-3.0.1.tgz#2b1657096473e24b049bdedf3710f99645f3a17f" integrity sha512-/LAvk1cMOJt0ghzMFrZEvByUhsiEfeeT2IF53Le+Ki3A538yEL9pRZ7a6MuCxdrYK+YNqNIDmrKU/r2nnw04zQ== +"@types/mdast@^4.0.0": + version "4.0.4" + resolved "https://registry.yarnpkg.com/@types/mdast/-/mdast-4.0.4.tgz#7ccf72edd2f1aa7dd3437e180c64373585804dd6" + integrity sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA== + dependencies: + "@types/unist" "*" + "@types/memory-fs@^0.3.3": version "0.3.3" resolved "https://registry.yarnpkg.com/@types/memory-fs/-/memory-fs-0.3.3.tgz#9b63b353d4b9b190db19caa765778bede3fe5d95" @@ -4199,10 +4339,10 @@ resolved "https://registry.yarnpkg.com/@types/scheduler/-/scheduler-0.16.2.tgz#1a62f89525723dde24ba1b01b092bf5df8ad4d39" integrity sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew== -"@types/semver@^7.3.12": - version "7.3.13" - resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.3.13.tgz#da4bfd73f49bd541d28920ab0e2bf0ee80f71c91" - integrity sha512-21cFJr9z3g5dW8B0CVI9g2O9beqaThGQ6ZFBqHfwhzLDKUxaqTIy3vnfah/UPkfOiF2pLq+tGz+W8RyCskuslw== +"@types/semver@^7.5.0": + version "7.5.8" + resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.5.8.tgz#8268a8c57a3e4abd25c165ecd36237db7948a55e" + integrity sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ== "@types/send@^0.17.0": version "0.17.1" @@ -4302,6 +4442,11 @@ dependencies: source-map "^0.6.1" +"@types/unist@*", "@types/unist@^3.0.0": + version "3.0.3" + resolved "https://registry.yarnpkg.com/@types/unist/-/unist-3.0.3.tgz#acaab0f919ce69cce629c2d4ed2eb4adc1b6c20c" + integrity sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q== + "@types/validator@^13.7.10": version "13.7.17" resolved "https://registry.yarnpkg.com/@types/validator/-/validator-13.7.17.tgz#0a6d1510395065171e3378a4afc587a3aefa7cc1" @@ -4392,145 +4537,191 @@ dependencies: "@types/node" "*" -"@typescript-eslint/eslint-plugin-tslint@^5.0.0": - version "5.53.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin-tslint/-/eslint-plugin-tslint-5.53.0.tgz#e9d5915042fbc747013c520689532c3282b7bb80" - integrity sha512-fnnikBucKtXo8lK3rYTaWQiRlWIlN/kskELLbkWf1STuAj6Kzf2odX8vKltb24IoefwyKTQMCs7tQSipqPwcYA== +"@typescript-eslint/eslint-plugin-tslint@^7.0.2": + version "7.0.2" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin-tslint/-/eslint-plugin-tslint-7.0.2.tgz#d6091e9a803430b61efb40e790ab47d6278e1276" + integrity sha512-Os20XlgmnXPlfqcvO5I6asARarEXZ/BQ2WEHaphfN+d8CUq8H3lGM2ep3SGcwaF1PXpAxfNBDN8U4EYhliFfSQ== dependencies: - "@typescript-eslint/utils" "5.53.0" - lodash "^4.17.21" + "@typescript-eslint/utils" "7.0.2" -"@typescript-eslint/eslint-plugin@^5.0.0": - version "5.53.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.53.0.tgz#24b8b4a952f3c615fe070e3c461dd852b5056734" - integrity sha512-alFpFWNucPLdUOySmXCJpzr6HKC3bu7XooShWM+3w/EL6J2HIoB2PFxpLnq4JauWVk6DiVeNKzQlFEaE+X9sGw== +"@typescript-eslint/eslint-plugin@^8.8.0": + version "8.8.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.8.0.tgz#b2b02a5447cdc885950eb256b3b8a97b92031bd3" + integrity sha512-wORFWjU30B2WJ/aXBfOm1LX9v9nyt9D3jsSOxC3cCaTQGCW5k4jNpmjFv3U7p/7s4yvdjHzwtv2Sd2dOyhjS0A== dependencies: - "@typescript-eslint/scope-manager" "5.53.0" - "@typescript-eslint/type-utils" "5.53.0" - "@typescript-eslint/utils" "5.53.0" - debug "^4.3.4" - grapheme-splitter "^1.0.4" - ignore "^5.2.0" - natural-compare-lite "^1.4.0" - regexpp "^3.2.0" - semver "^7.3.7" - tsutils "^3.21.0" + "@eslint-community/regexpp" "^4.10.0" + "@typescript-eslint/scope-manager" "8.8.0" + "@typescript-eslint/type-utils" "8.8.0" + "@typescript-eslint/utils" "8.8.0" + "@typescript-eslint/visitor-keys" "8.8.0" + graphemer "^1.4.0" + ignore "^5.3.1" + natural-compare "^1.4.0" + ts-api-utils "^1.3.0" -"@typescript-eslint/parser@^5.0.0": - version "5.53.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.53.0.tgz#a1f2b9ae73b83181098747e96683f1b249ecab52" - integrity sha512-MKBw9i0DLYlmdOb3Oq/526+al20AJZpANdT6Ct9ffxcV8nKCHz63t/S0IhlTFNsBIHJv+GY5SFJ0XfqVeydQrQ== +"@typescript-eslint/parser@^8.8.0": + version "8.8.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-8.8.0.tgz#ee4397c70230c4eee030456924c0fba480072f5e" + integrity sha512-uEFUsgR+tl8GmzmLjRqz+VrDv4eoaMqMXW7ruXfgThaAShO9JTciKpEsB+TvnfFfbg5IpujgMXVV36gOJRLtZg== dependencies: - "@typescript-eslint/scope-manager" "5.53.0" - "@typescript-eslint/types" "5.53.0" - "@typescript-eslint/typescript-estree" "5.53.0" + "@typescript-eslint/scope-manager" "8.8.0" + "@typescript-eslint/types" "8.8.0" + "@typescript-eslint/typescript-estree" "8.8.0" + "@typescript-eslint/visitor-keys" "8.8.0" debug "^4.3.4" -"@typescript-eslint/scope-manager@5.53.0": - version "5.53.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.53.0.tgz#42b54f280e33c82939275a42649701024f3fafef" - integrity sha512-Opy3dqNsp/9kBBeCPhkCNR7fmdSQqA+47r21hr9a14Bx0xnkElEQmhoHga+VoaoQ6uDHjDKmQPIYcUcKJifS7w== +"@typescript-eslint/scope-manager@7.0.2": + version "7.0.2" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-7.0.2.tgz#6ec4cc03752758ddd1fdaae6fbd0ed9a2ca4fe63" + integrity sha512-l6sa2jF3h+qgN2qUMjVR3uCNGjWw4ahGfzIYsCtFrQJCjhbrDPdiihYT8FnnqFwsWX+20hK592yX9I2rxKTP4g== + dependencies: + "@typescript-eslint/types" "7.0.2" + "@typescript-eslint/visitor-keys" "7.0.2" + +"@typescript-eslint/scope-manager@7.18.0": + version "7.18.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-7.18.0.tgz#c928e7a9fc2c0b3ed92ab3112c614d6bd9951c83" + integrity sha512-jjhdIE/FPF2B7Z1uzc6i3oWKbGcHb87Qw7AWj6jmEqNOfDFbJWtjt/XfwCpvNkpGWlcJaog5vTR+VV8+w9JflA== dependencies: - "@typescript-eslint/types" "5.53.0" - "@typescript-eslint/visitor-keys" "5.53.0" + "@typescript-eslint/types" "7.18.0" + "@typescript-eslint/visitor-keys" "7.18.0" -"@typescript-eslint/scope-manager@5.60.1": - version "5.60.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.60.1.tgz#35abdb47f500c68c08f2f2b4f22c7c79472854bb" - integrity sha512-Dn/LnN7fEoRD+KspEOV0xDMynEmR3iSHdgNsarlXNLGGtcUok8L4N71dxUgt3YvlO8si7E+BJ5Fe3wb5yUw7DQ== +"@typescript-eslint/scope-manager@8.8.0": + version "8.8.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-8.8.0.tgz#30b23a6ae5708bd7882e40675ef2f1b2beac741f" + integrity sha512-EL8eaGC6gx3jDd8GwEFEV091210U97J0jeEHrAYvIYosmEGet4wJ+g0SYmLu+oRiAwbSA5AVrt6DxLHfdd+bUg== dependencies: - "@typescript-eslint/types" "5.60.1" - "@typescript-eslint/visitor-keys" "5.60.1" + "@typescript-eslint/types" "8.8.0" + "@typescript-eslint/visitor-keys" "8.8.0" -"@typescript-eslint/type-utils@5.53.0": - version "5.53.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.53.0.tgz#41665449935ba9b4e6a1ba6e2a3f4b2c31d6cf97" - integrity sha512-HO2hh0fmtqNLzTAme/KnND5uFNwbsdYhCZghK2SoxGp3Ifn2emv+hi0PBUjzzSh0dstUIFqOj3bp0AwQlK4OWw== +"@typescript-eslint/type-utils@8.8.0": + version "8.8.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-8.8.0.tgz#a0ca1c8a90d94b101176a169d7a0958187408d33" + integrity sha512-IKwJSS7bCqyCeG4NVGxnOP6lLT9Okc3Zj8hLO96bpMkJab+10HIfJbMouLrlpyOr3yrQ1cA413YPFiGd1mW9/Q== dependencies: - "@typescript-eslint/typescript-estree" "5.53.0" - "@typescript-eslint/utils" "5.53.0" + "@typescript-eslint/typescript-estree" "8.8.0" + "@typescript-eslint/utils" "8.8.0" debug "^4.3.4" - tsutils "^3.21.0" + ts-api-utils "^1.3.0" -"@typescript-eslint/types@5.53.0": - version "5.53.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.53.0.tgz#f79eca62b97e518ee124086a21a24f3be267026f" - integrity sha512-5kcDL9ZUIP756K6+QOAfPkigJmCPHcLN7Zjdz76lQWWDdzfOhZDTj1irs6gPBKiXx5/6O3L0+AvupAut3z7D2A== +"@typescript-eslint/types@7.0.2": + version "7.0.2" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-7.0.2.tgz#b6edd108648028194eb213887d8d43ab5750351c" + integrity sha512-ZzcCQHj4JaXFjdOql6adYV4B/oFOFjPOC9XYwCaZFRvqN8Llfvv4gSxrkQkd2u4Ci62i2c6W6gkDwQJDaRc4nA== + +"@typescript-eslint/types@7.18.0": + version "7.18.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-7.18.0.tgz#b90a57ccdea71797ffffa0321e744f379ec838c9" + integrity sha512-iZqi+Ds1y4EDYUtlOOC+aUmxnE9xS/yCigkjA7XpTKV6nCBd3Hp/PRGGmdwnfkV2ThMyYldP1wRpm/id99spTQ== -"@typescript-eslint/types@5.60.1": - version "5.60.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.60.1.tgz#a17473910f6b8d388ea83c9d7051af89c4eb7561" - integrity sha512-zDcDx5fccU8BA0IDZc71bAtYIcG9PowaOwaD8rjYbqwK7dpe/UMQl3inJ4UtUK42nOCT41jTSCwg76E62JpMcg== +"@typescript-eslint/types@8.8.0": + version "8.8.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-8.8.0.tgz#08ea5df6c01984d456056434641491fbf7a1bf43" + integrity sha512-QJwc50hRCgBd/k12sTykOJbESe1RrzmX6COk8Y525C9l7oweZ+1lw9JiU56im7Amm8swlz00DRIlxMYLizr2Vw== -"@typescript-eslint/typescript-estree@5.53.0": - version "5.53.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.53.0.tgz#bc651dc28cf18ab248ecd18a4c886c744aebd690" - integrity sha512-eKmipH7QyScpHSkhbptBBYh9v8FxtngLquq292YTEQ1pxVs39yFBlLC1xeIZcPPz1RWGqb7YgERJRGkjw8ZV7w== +"@typescript-eslint/typescript-estree@7.0.2": + version "7.0.2" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-7.0.2.tgz#3c6dc8a3b9799f4ef7eca0d224ded01974e4cb39" + integrity sha512-3AMc8khTcELFWcKcPc0xiLviEvvfzATpdPj/DXuOGIdQIIFybf4DMT1vKRbuAEOFMwhWt7NFLXRkbjsvKZQyvw== dependencies: - "@typescript-eslint/types" "5.53.0" - "@typescript-eslint/visitor-keys" "5.53.0" + "@typescript-eslint/types" "7.0.2" + "@typescript-eslint/visitor-keys" "7.0.2" debug "^4.3.4" globby "^11.1.0" is-glob "^4.0.3" - semver "^7.3.7" - tsutils "^3.21.0" + minimatch "9.0.3" + semver "^7.5.4" + ts-api-utils "^1.0.1" -"@typescript-eslint/typescript-estree@5.60.1": - version "5.60.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.60.1.tgz#8c71824b7165b64d5ebd7aa42968899525959834" - integrity sha512-hkX70J9+2M2ZT6fhti5Q2FoU9zb+GeZK2SLP1WZlvUDqdMbEKhexZODD1WodNRyO8eS+4nScvT0dts8IdaBzfw== +"@typescript-eslint/typescript-estree@7.18.0": + version "7.18.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-7.18.0.tgz#b5868d486c51ce8f312309ba79bdb9f331b37931" + integrity sha512-aP1v/BSPnnyhMHts8cf1qQ6Q1IFwwRvAQGRvBFkWlo3/lH29OXA3Pts+c10nxRxIBrDnoMqzhgdwVe5f2D6OzA== dependencies: - "@typescript-eslint/types" "5.60.1" - "@typescript-eslint/visitor-keys" "5.60.1" + "@typescript-eslint/types" "7.18.0" + "@typescript-eslint/visitor-keys" "7.18.0" debug "^4.3.4" globby "^11.1.0" is-glob "^4.0.3" - semver "^7.3.7" - tsutils "^3.21.0" + minimatch "^9.0.4" + semver "^7.6.0" + ts-api-utils "^1.3.0" -"@typescript-eslint/utils@5.53.0": - version "5.53.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.53.0.tgz#e55eaad9d6fffa120575ffaa530c7e802f13bce8" - integrity sha512-VUOOtPv27UNWLxFwQK/8+7kvxVC+hPHNsJjzlJyotlaHjLSIgOCKj9I0DBUjwOOA64qjBwx5afAPjksqOxMO0g== +"@typescript-eslint/typescript-estree@8.8.0": + version "8.8.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-8.8.0.tgz#072eaab97fdb63513fabfe1cf271812affe779e3" + integrity sha512-ZaMJwc/0ckLz5DaAZ+pNLmHv8AMVGtfWxZe/x2JVEkD5LnmhWiQMMcYT7IY7gkdJuzJ9P14fRy28lUrlDSWYdw== dependencies: - "@types/json-schema" "^7.0.9" - "@types/semver" "^7.3.12" - "@typescript-eslint/scope-manager" "5.53.0" - "@typescript-eslint/types" "5.53.0" - "@typescript-eslint/typescript-estree" "5.53.0" - eslint-scope "^5.1.1" - eslint-utils "^3.0.0" - semver "^7.3.7" + "@typescript-eslint/types" "8.8.0" + "@typescript-eslint/visitor-keys" "8.8.0" + debug "^4.3.4" + fast-glob "^3.3.2" + is-glob "^4.0.3" + minimatch "^9.0.4" + semver "^7.6.0" + ts-api-utils "^1.3.0" -"@typescript-eslint/utils@^5.57.0": - version "5.60.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.60.1.tgz#6861ebedbefba1ac85482d2bdef6f2ff1eb65b80" - integrity sha512-tiJ7FFdFQOWssFa3gqb94Ilexyw0JVxj6vBzaSpfN/8IhoKkDuSAenUKvsSHw2A/TMpJb26izIszTXaqygkvpQ== +"@typescript-eslint/utils@7.0.2": + version "7.0.2" + resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-7.0.2.tgz#8756123054cd934c8ba7db6a6cffbc654b10b5c4" + integrity sha512-PZPIONBIB/X684bhT1XlrkjNZJIEevwkKDsdwfiu1WeqBxYEEdIgVDgm8/bbKHVu+6YOpeRqcfImTdImx/4Bsw== + dependencies: + "@eslint-community/eslint-utils" "^4.4.0" + "@types/json-schema" "^7.0.12" + "@types/semver" "^7.5.0" + "@typescript-eslint/scope-manager" "7.0.2" + "@typescript-eslint/types" "7.0.2" + "@typescript-eslint/typescript-estree" "7.0.2" + semver "^7.5.4" + +"@typescript-eslint/utils@8.8.0": + version "8.8.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-8.8.0.tgz#bd8607e3a68c461b69169c7a5824637dc9e8b3f1" + integrity sha512-QE2MgfOTem00qrlPgyByaCHay9yb1+9BjnMFnSFkUKQfu7adBXDTnCAivURnuPPAG/qiB+kzKkZKmKfaMT0zVg== + dependencies: + "@eslint-community/eslint-utils" "^4.4.0" + "@typescript-eslint/scope-manager" "8.8.0" + "@typescript-eslint/types" "8.8.0" + "@typescript-eslint/typescript-estree" "8.8.0" + +"@typescript-eslint/utils@^7.0.0": + version "7.18.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-7.18.0.tgz#bca01cde77f95fc6a8d5b0dbcbfb3d6ca4be451f" + integrity sha512-kK0/rNa2j74XuHVcoCZxdFBMF+aq/vH83CXAOHieC+2Gis4mF8jJXT5eAfyD3K0sAxtPuwxaIOIOvhwzVDt/kw== + dependencies: + "@eslint-community/eslint-utils" "^4.4.0" + "@typescript-eslint/scope-manager" "7.18.0" + "@typescript-eslint/types" "7.18.0" + "@typescript-eslint/typescript-estree" "7.18.0" + +"@typescript-eslint/visitor-keys@7.0.2": + version "7.0.2" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-7.0.2.tgz#2899b716053ad7094962beb895d11396fc12afc7" + integrity sha512-8Y+YiBmqPighbm5xA2k4wKTxRzx9EkBu7Rlw+WHqMvRJ3RPz/BMBO9b2ru0LUNmXg120PHUXD5+SWFy2R8DqlQ== dependencies: - "@eslint-community/eslint-utils" "^4.2.0" - "@types/json-schema" "^7.0.9" - "@types/semver" "^7.3.12" - "@typescript-eslint/scope-manager" "5.60.1" - "@typescript-eslint/types" "5.60.1" - "@typescript-eslint/typescript-estree" "5.60.1" - eslint-scope "^5.1.1" - semver "^7.3.7" + "@typescript-eslint/types" "7.0.2" + eslint-visitor-keys "^3.4.1" -"@typescript-eslint/visitor-keys@5.53.0": - version "5.53.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.53.0.tgz#8a5126623937cdd909c30d8fa72f79fa56cc1a9f" - integrity sha512-JqNLnX3leaHFZEN0gCh81sIvgrp/2GOACZNgO4+Tkf64u51kTpAyWFOY8XHx8XuXr3N2C9zgPPHtcpMg6z1g0w== +"@typescript-eslint/visitor-keys@7.18.0": + version "7.18.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-7.18.0.tgz#0564629b6124d67607378d0f0332a0495b25e7d7" + integrity sha512-cDF0/Gf81QpY3xYyJKDV14Zwdmid5+uuENhjH2EqFaF0ni+yAyq/LzMaIJdhNJXZI7uLzwIlA+V7oWoyn6Curg== dependencies: - "@typescript-eslint/types" "5.53.0" - eslint-visitor-keys "^3.3.0" + "@typescript-eslint/types" "7.18.0" + eslint-visitor-keys "^3.4.3" -"@typescript-eslint/visitor-keys@5.60.1": - version "5.60.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.60.1.tgz#19a877358bf96318ec35d90bfe6bd1445cce9434" - integrity sha512-xEYIxKcultP6E/RMKqube11pGjXH1DCo60mQoWhVYyKfLkwbIVVjYxmOenNMxILx0TjCujPTjjnTIVzm09TXIw== +"@typescript-eslint/visitor-keys@8.8.0": + version "8.8.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-8.8.0.tgz#f93965abd38c82a1a1f5574290a50d02daf1cd2e" + integrity sha512-8mq51Lx6Hpmd7HnA2fcHQo3YgfX1qbccxQOgZcb4tvasu//zXRaA1j5ZRFeCw/VRAdFi4mRM9DnZw0Nu0Q2d1g== dependencies: - "@typescript-eslint/types" "5.60.1" - eslint-visitor-keys "^3.3.0" + "@typescript-eslint/types" "8.8.0" + eslint-visitor-keys "^3.4.3" + +"@ungap/structured-clone@^1.0.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.2.0.tgz#756641adb587851b5ccb3e095daf27ae581c8406" + integrity sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ== "@vendia/serverless-express@^4.5.2": version "4.9.0" @@ -4893,6 +5084,11 @@ acorn@^8.0.5, acorn@^8.4.1, acorn@^8.5.0, acorn@^8.7.0, acorn@^8.7.1, acorn@^8.8 resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.9.0.tgz#78a16e3b2bcc198c10822786fa6679e245db5b59" integrity sha512-jaVNAFBHNLXspO543WnNNPZFRtavh3skAkITqD0/2aeMkKZTN+254PyhwxFYrk3vQ1xfY+2wbesJMs/JC8/PwQ== +acorn@^8.12.0: + version "8.12.1" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.12.1.tgz#71616bdccbe25e27a54439e0046e89ca76df2248" + integrity sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg== + add-stream@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/add-stream/-/add-stream-1.0.0.tgz#6a7990437ca736d5e1288db92bd3266d5f5cb2aa" @@ -5086,11 +5282,6 @@ ansi-regex@^6.0.1: resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-6.0.1.tgz#3183e38fae9a65d7cb5e53945cd5897d0260a06a" integrity sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA== -ansi-sequence-parser@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/ansi-sequence-parser/-/ansi-sequence-parser-1.1.0.tgz#4d790f31236ac20366b23b3916b789e1bde39aed" - integrity sha512-lEm8mt52to2fT8GhciPCGeCXACSz2UwIN4X2e2LJSnZ5uAbn2/dsYdOmUXq0AtWS5cpAupysIneExOgH0Vd2TQ== - ansi-styles@^2.2.1: version "2.2.1" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" @@ -5283,6 +5474,14 @@ arr-union@^3.1.0: resolved "https://registry.yarnpkg.com/arr-union/-/arr-union-3.1.0.tgz#e39b09aea9def866a8f206e288af63919bae39c4" integrity sha512-sKpyeERZ02v1FeCZT8lrfJq5u6goHCtpTAzPwJYe7c8SPFOboNjNg1vz2L4VTn9T4PQxEx13TbXLmYUcS6Ug7Q== +array-buffer-byte-length@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/array-buffer-byte-length/-/array-buffer-byte-length-1.0.1.tgz#1e5583ec16763540a27ae52eed99ff899223568f" + integrity sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg== + dependencies: + call-bind "^1.0.5" + is-array-buffer "^3.0.4" + array-differ@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/array-differ/-/array-differ-3.0.0.tgz#3cbb3d0f316810eafcc47624734237d6aee4ae6b" @@ -5314,15 +5513,16 @@ array-includes@^3.1.5: get-intrinsic "^1.1.1" is-string "^1.0.7" -array-includes@^3.1.6: - version "3.1.6" - resolved "https://registry.yarnpkg.com/array-includes/-/array-includes-3.1.6.tgz#9e9e720e194f198266ba9e18c29e6a9b0e4b225f" - integrity sha512-sgTbLvL6cNnw24FnbaDyjmvddQ2ML8arZsgaJhoABMoplz/4QRhtrYS+alr1BUM1Bwp6dhx8vVCBSLG+StwOFw== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.20.4" - get-intrinsic "^1.1.3" +array-includes@^3.1.8: + version "3.1.8" + resolved "https://registry.yarnpkg.com/array-includes/-/array-includes-3.1.8.tgz#5e370cbe172fdd5dd6530c1d4aadda25281ba97d" + integrity sha512-itaWrbYbqpGXkGhZPGUulwnhVf5Hpy1xiCFsGqyIGglbBxmG5vSjxQen3/WGOjPpNEv1RtBLKxbmVXm8HpJStQ== + dependencies: + call-bind "^1.0.7" + define-properties "^1.2.1" + es-abstract "^1.23.2" + es-object-atoms "^1.0.0" + get-intrinsic "^1.2.4" is-string "^1.0.7" array-tree-filter@^2.1.0: @@ -5352,36 +5552,74 @@ array-unique@^0.3.2: resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428" integrity sha512-SleRWjh9JUud2wH1hPs9rZBZ33H6T9HOiL0uwGnGx9FpE6wKGyfWugmbkEOIs6qWrZhg0LWeLziLrEwQJhs5mQ== -array.prototype.flat@^1.3.1: - version "1.3.1" - resolved "https://registry.yarnpkg.com/array.prototype.flat/-/array.prototype.flat-1.3.1.tgz#ffc6576a7ca3efc2f46a143b9d1dda9b4b3cf5e2" - integrity sha512-roTU0KWIOmJ4DRLmwKd19Otg0/mT3qPNt0Qb3GWW8iObuZXxrjB/pzn0R3hqpRSWg4HCwqx+0vwOnWnvlOyeIA== +array.prototype.findlast@^1.2.5: + version "1.2.5" + resolved "https://registry.yarnpkg.com/array.prototype.findlast/-/array.prototype.findlast-1.2.5.tgz#3e4fbcb30a15a7f5bf64cf2faae22d139c2e4904" + integrity sha512-CVvd6FHg1Z3POpBLxO6E6zr+rSKEQ9L6rZHAaY7lLfhKsWYUBBOuMs0e9o24oopj6H+geRCX0YJ+TJLBK2eHyQ== dependencies: - call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.20.4" - es-shim-unscopables "^1.0.0" + call-bind "^1.0.7" + define-properties "^1.2.1" + es-abstract "^1.23.2" + es-errors "^1.3.0" + es-object-atoms "^1.0.0" + es-shim-unscopables "^1.0.2" -array.prototype.flatmap@^1.3.1: - version "1.3.1" - resolved "https://registry.yarnpkg.com/array.prototype.flatmap/-/array.prototype.flatmap-1.3.1.tgz#1aae7903c2100433cb8261cd4ed310aab5c4a183" - integrity sha512-8UGn9O1FDVvMNB0UlLv4voxRMze7+FpHyF5mSMRjWHUMlpoDViniy05870VlxhfgTnLbpuwTzvD76MTtWxB/mQ== +array.prototype.findlastindex@^1.2.5: + version "1.2.5" + resolved "https://registry.yarnpkg.com/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.5.tgz#8c35a755c72908719453f87145ca011e39334d0d" + integrity sha512-zfETvRFA8o7EiNn++N5f/kaCw221hrpGsDmcpndVupkPzEc1Wuf3VgC0qby1BbHs7f5DVYjgtEU2LLh5bqeGfQ== + dependencies: + call-bind "^1.0.7" + define-properties "^1.2.1" + es-abstract "^1.23.2" + es-errors "^1.3.0" + es-object-atoms "^1.0.0" + es-shim-unscopables "^1.0.2" + +array.prototype.flat@^1.3.2: + version "1.3.2" + resolved "https://registry.yarnpkg.com/array.prototype.flat/-/array.prototype.flat-1.3.2.tgz#1476217df8cff17d72ee8f3ba06738db5b387d18" + integrity sha512-djYB+Zx2vLewY8RWlNCUdHjDXs2XOgm602S9E7P/UpHgfeHL00cRiIF+IN/G/aUJ7kGPb6yO/ErDI5V2s8iycA== dependencies: call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.20.4" + define-properties "^1.2.0" + es-abstract "^1.22.1" es-shim-unscopables "^1.0.0" -array.prototype.tosorted@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/array.prototype.tosorted/-/array.prototype.tosorted-1.1.1.tgz#ccf44738aa2b5ac56578ffda97c03fd3e23dd532" - integrity sha512-pZYPXPRl2PqWcsUs6LOMn+1f1532nEoPTYowBtqLwAW+W8vSVhkIGnmOX1t/UQjD6YGI0vcD2B1U7ZFGQH9jnQ== +array.prototype.flatmap@^1.3.2: + version "1.3.2" + resolved "https://registry.yarnpkg.com/array.prototype.flatmap/-/array.prototype.flatmap-1.3.2.tgz#c9a7c6831db8e719d6ce639190146c24bbd3e527" + integrity sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ== dependencies: call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.20.4" + define-properties "^1.2.0" + es-abstract "^1.22.1" es-shim-unscopables "^1.0.0" - get-intrinsic "^1.1.3" + +array.prototype.tosorted@^1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/array.prototype.tosorted/-/array.prototype.tosorted-1.1.4.tgz#fe954678ff53034e717ea3352a03f0b0b86f7ffc" + integrity sha512-p6Fx8B7b7ZhL/gmUsAy0D15WhvDccw3mnGNbZpi3pmeJdxtWsj2jEaI4Y6oo3XiHfzuSgPwKc04MYt6KgvC/wA== + dependencies: + call-bind "^1.0.7" + define-properties "^1.2.1" + es-abstract "^1.23.3" + es-errors "^1.3.0" + es-shim-unscopables "^1.0.2" + +arraybuffer.prototype.slice@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.3.tgz#097972f4255e41bc3425e37dc3f6421cf9aefde6" + integrity sha512-bMxMKAjg13EBSVscxTaYA4mRc5t1UAXa2kXiGTNfZ079HIWXEkKmkgFrh/nJqamaLSrXO5H4WFFkPEaLJWbs3A== + dependencies: + array-buffer-byte-length "^1.0.1" + call-bind "^1.0.5" + define-properties "^1.2.1" + es-abstract "^1.22.3" + es-errors "^1.2.1" + get-intrinsic "^1.2.3" + is-array-buffer "^3.0.4" + is-shared-array-buffer "^1.0.2" arrify@^1.0.1: version "1.0.1" @@ -5538,6 +5776,13 @@ available-typed-arrays@^1.0.5: resolved "https://registry.yarnpkg.com/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz#92f95616501069d07d10edb2fc37d3e1c65123b7" integrity sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw== +available-typed-arrays@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz#a5cc375d6a03c2efc87a553f3e0b1522def14846" + integrity sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ== + dependencies: + possible-typed-array-names "^1.0.0" + "aws-lambda-fastify-deprecated@npm:aws-lambda-fastify@2.1.6": version "2.1.6" resolved "https://registry.yarnpkg.com/aws-lambda-fastify/-/aws-lambda-fastify-2.1.6.tgz#3e87f77a1c490e7c5613cfcdd6923158be975c35" @@ -5721,13 +5966,13 @@ before-after-hook@^2.2.0: resolved "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.2.2.tgz#a6e8ca41028d90ee2c24222f201c90956091613e" integrity sha512-3pZEU3NT5BFUo/AD5ERPWOgQOCZITni6iavr5AUw5AUwQjMlI0kzu5btnyD39AF0gUEsDPwJT+oY1ORBJijPjQ== -better-sqlite3@^7.6.2: - version "7.6.2" - resolved "https://registry.yarnpkg.com/better-sqlite3/-/better-sqlite3-7.6.2.tgz#47cd8cad5b9573cace535f950ac321166bc31384" - integrity sha512-S5zIU1Hink2AH4xPsN0W43T1/AJ5jrPh7Oy07ocuW/AKYYY02GWzz9NH0nbSMn/gw6fDZ5jZ1QsHt1BXAwJ6Lg== +better-sqlite3@^11.3.0: + version "11.3.0" + resolved "https://registry.yarnpkg.com/better-sqlite3/-/better-sqlite3-11.3.0.tgz#f10b32ddff665c33176d148e707bd1e57dfd0284" + integrity sha512-iHt9j8NPYF3oKCNOO5ZI4JwThjt3Z6J6XrcwG85VNMVzv1ByqrHWv5VILEbCMFWDsoHhXvQ7oC8vgRXFAKgl9w== dependencies: bindings "^1.5.0" - prebuild-install "^7.1.0" + prebuild-install "^7.1.1" bignumber.js@^9.0.0: version "9.0.2" @@ -6197,6 +6442,17 @@ call-bind@^1.0.0, call-bind@^1.0.2: function-bind "^1.1.1" get-intrinsic "^1.0.2" +call-bind@^1.0.5, call-bind@^1.0.6, call-bind@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.7.tgz#06016599c40c56498c18769d2730be242b6fa3b9" + integrity sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w== + dependencies: + es-define-property "^1.0.0" + es-errors "^1.3.0" + function-bind "^1.1.2" + get-intrinsic "^1.2.4" + set-function-length "^1.2.1" + call-me-maybe@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/call-me-maybe/-/call-me-maybe-1.0.1.tgz#26d208ea89e37b5cbde60250a15f031c16a4d66b" @@ -6281,6 +6537,11 @@ caseless@~0.12.0: resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" integrity sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw== +ccount@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/ccount/-/ccount-2.0.1.tgz#17a3bf82302e0870d6da43a01311a8bc02a3ecf5" + integrity sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg== + chai-spies@1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/chai-spies/-/chai-spies-1.0.0.tgz#d16b39336fb316d03abf8c375feb23c0c8bb163d" @@ -6383,6 +6644,16 @@ change-case@^4.1.2: snake-case "^3.0.4" tslib "^2.0.3" +character-entities-html4@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/character-entities-html4/-/character-entities-html4-2.1.0.tgz#1f1adb940c971a4b22ba39ddca6b618dc6e56b2b" + integrity sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA== + +character-entities-legacy@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/character-entities-legacy/-/character-entities-legacy-3.0.0.tgz#76bc83a90738901d7bc223a9e93759fdd560125b" + integrity sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ== + chardet@^0.7.0: version "0.7.0" resolved "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e" @@ -6730,6 +7001,11 @@ combined-stream@^1.0.6, combined-stream@^1.0.8, combined-stream@~1.0.6: dependencies: delayed-stream "~1.0.0" +comma-separated-tokens@^2.0.0: + version "2.0.3" + resolved "https://registry.yarnpkg.com/comma-separated-tokens/-/comma-separated-tokens-2.0.3.tgz#4e89c9458acb61bc8fef19f4529973b2392839ee" + integrity sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg== + command-exists@^1.2.9: version "1.2.9" resolved "https://registry.yarnpkg.com/command-exists/-/command-exists-1.2.9.tgz#c50725af3808c8ab0260fd60b01fbfa25b954f69" @@ -7662,6 +7938,33 @@ data-uri-to-buffer@^2.0.0: resolved "https://registry.yarnpkg.com/data-uri-to-buffer/-/data-uri-to-buffer-2.0.2.tgz#d296973d5a4897a5dbe31716d118211921f04770" integrity sha512-ND9qDTLc6diwj+Xe5cdAgVTbLVdXbtxTJRXRhli8Mowuaan+0EJOtdqJ0QCHNSSPyoXGx9HX2/VMnKeC34AChA== +data-view-buffer@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/data-view-buffer/-/data-view-buffer-1.0.1.tgz#8ea6326efec17a2e42620696e671d7d5a8bc66b2" + integrity sha512-0lht7OugA5x3iJLOWFhWK/5ehONdprk0ISXqVFn/NFrDu+cuc8iADFrGQz5BnRK7LLU3JmkbXSxaqX+/mXYtUA== + dependencies: + call-bind "^1.0.6" + es-errors "^1.3.0" + is-data-view "^1.0.1" + +data-view-byte-length@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/data-view-byte-length/-/data-view-byte-length-1.0.1.tgz#90721ca95ff280677eb793749fce1011347669e2" + integrity sha512-4J7wRJD3ABAzr8wP+OcIcqq2dlUKp4DVflx++hs5h5ZKydWMI6/D/fAot+yh6g2tHh8fLFTvNOaVN357NvSrOQ== + dependencies: + call-bind "^1.0.7" + es-errors "^1.3.0" + is-data-view "^1.0.1" + +data-view-byte-offset@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/data-view-byte-offset/-/data-view-byte-offset-1.0.0.tgz#5e0bbfb4828ed2d1b9b400cd8a7d119bca0ff18a" + integrity sha512-t/Ygsytq+R995EJ5PZlD4Cu56sWa8InXySaViRzw9apusqsOO2bQP+SbYzAhR0pFKoB+43lYy8rWban9JSuXnA== + dependencies: + call-bind "^1.0.6" + es-errors "^1.3.0" + is-data-view "^1.0.1" + date-fns@2.x, date-fns@^2.30.0: version "2.30.0" resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.30.0.tgz#f367e644839ff57894ec6ac480de40cae4b0f4d0" @@ -7858,6 +8161,15 @@ defer-to-connect@^2.0.1: resolved "https://registry.yarnpkg.com/defer-to-connect/-/defer-to-connect-2.0.1.tgz#8016bdb4143e4632b77a3449c6236277de520587" integrity sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg== +define-data-property@^1.0.1, define-data-property@^1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/define-data-property/-/define-data-property-1.1.4.tgz#894dc141bb7d3060ae4366f6a0107e68fbe48c5e" + integrity sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A== + dependencies: + es-define-property "^1.0.0" + es-errors "^1.3.0" + gopd "^1.0.1" + define-lazy-prop@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz#3f7ae421129bcaaac9bc74905c98a0009ec9ee7f" @@ -7871,6 +8183,15 @@ define-properties@^1.1.3, define-properties@^1.1.4: has-property-descriptors "^1.0.0" object-keys "^1.1.1" +define-properties@^1.2.0, define-properties@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.2.1.tgz#10781cc616eb951a80a034bafcaa7377f6af2b6c" + integrity sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg== + dependencies: + define-data-property "^1.0.1" + has-property-descriptors "^1.0.0" + object-keys "^1.1.1" + define-property@^0.2.5: version "0.2.5" resolved "https://registry.yarnpkg.com/define-property/-/define-property-0.2.5.tgz#c35b1ef918ec3c990f9a5bc57be04aacec5c8116" @@ -7951,6 +8272,11 @@ deprecation@^2.0.0, deprecation@^2.3.1: resolved "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz#6368cbdb40abf3373b525ac87e4a260c3a700919" integrity sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ== +dequal@^2.0.0: + version "2.0.3" + resolved "https://registry.yarnpkg.com/dequal/-/dequal-2.0.3.tgz#2644214f1997d39ed0ee0ece72335490a7ac67be" + integrity sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA== + des.js@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/des.js/-/des.js-1.0.1.tgz#5382142e1bdc53f85d86d53e5f4aa7deb91e0843" @@ -7989,6 +8315,13 @@ detect-node@^2.0.4: resolved "https://registry.yarnpkg.com/detect-node/-/detect-node-2.1.0.tgz#c9c70775a49c3d03bc2c06d9a73be550f978f8b1" integrity sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g== +devlop@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/devlop/-/devlop-1.1.0.tgz#4db7c2ca4dc6e0e834c30be70c94bbc976dc7018" + integrity sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA== + dependencies: + dequal "^2.0.0" + devtools-protocol@0.0.818844: version "0.0.818844" resolved "https://registry.yarnpkg.com/devtools-protocol/-/devtools-protocol-0.0.818844.tgz#d1947278ec85b53e4c8ca598f607a28fa785ba9e" @@ -8351,7 +8684,7 @@ entities@^2.0.0: resolved "https://registry.yarnpkg.com/entities/-/entities-2.2.0.tgz#098dc90ebb83d8dffa089d55256b351d34c4da55" integrity sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A== -entities@^4.2.0, entities@^4.5.0: +entities@^4.2.0, entities@^4.4.0, entities@^4.5.0: version "4.5.0" resolved "https://registry.yarnpkg.com/entities/-/entities-4.5.0.tgz#5d268ea5e7113ec74c4d033b79ea5a35a488fb48" integrity sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw== @@ -8392,6 +8725,58 @@ error-stack-parser@^2.0.6: dependencies: stackframe "^1.3.4" +es-abstract@^1.17.5, es-abstract@^1.22.1, es-abstract@^1.22.3, es-abstract@^1.23.0, es-abstract@^1.23.1, es-abstract@^1.23.2, es-abstract@^1.23.3: + version "1.23.3" + resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.23.3.tgz#8f0c5a35cd215312573c5a27c87dfd6c881a0aa0" + integrity sha512-e+HfNH61Bj1X9/jLc5v1owaLYuHdeHHSQlkhCBiTK8rBvKaULl/beGMxwrMXjpYrv4pz22BlY570vVePA2ho4A== + dependencies: + array-buffer-byte-length "^1.0.1" + arraybuffer.prototype.slice "^1.0.3" + available-typed-arrays "^1.0.7" + call-bind "^1.0.7" + data-view-buffer "^1.0.1" + data-view-byte-length "^1.0.1" + data-view-byte-offset "^1.0.0" + es-define-property "^1.0.0" + es-errors "^1.3.0" + es-object-atoms "^1.0.0" + es-set-tostringtag "^2.0.3" + es-to-primitive "^1.2.1" + function.prototype.name "^1.1.6" + get-intrinsic "^1.2.4" + get-symbol-description "^1.0.2" + globalthis "^1.0.3" + gopd "^1.0.1" + has-property-descriptors "^1.0.2" + has-proto "^1.0.3" + has-symbols "^1.0.3" + hasown "^2.0.2" + internal-slot "^1.0.7" + is-array-buffer "^3.0.4" + is-callable "^1.2.7" + is-data-view "^1.0.1" + is-negative-zero "^2.0.3" + is-regex "^1.1.4" + is-shared-array-buffer "^1.0.3" + is-string "^1.0.7" + is-typed-array "^1.1.13" + is-weakref "^1.0.2" + object-inspect "^1.13.1" + object-keys "^1.1.1" + object.assign "^4.1.5" + regexp.prototype.flags "^1.5.2" + safe-array-concat "^1.1.2" + safe-regex-test "^1.0.3" + string.prototype.trim "^1.2.9" + string.prototype.trimend "^1.0.8" + string.prototype.trimstart "^1.0.8" + typed-array-buffer "^1.0.2" + typed-array-byte-length "^1.0.1" + typed-array-byte-offset "^1.0.2" + typed-array-length "^1.0.6" + unbox-primitive "^1.0.2" + which-typed-array "^1.1.15" + es-abstract@^1.19.0, es-abstract@^1.19.1, es-abstract@^1.19.5, es-abstract@^1.20.0: version "1.20.1" resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.20.1.tgz#027292cd6ef44bd12b1913b828116f54787d1814" @@ -8421,44 +8806,37 @@ es-abstract@^1.19.0, es-abstract@^1.19.1, es-abstract@^1.19.5, es-abstract@^1.20 string.prototype.trimstart "^1.0.5" unbox-primitive "^1.0.2" -es-abstract@^1.20.4: - version "1.21.1" - resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.21.1.tgz#e6105a099967c08377830a0c9cb589d570dd86c6" - integrity sha512-QudMsPOz86xYz/1dG1OuGBKOELjCh99IIWHLzy5znUB6j8xG2yMA7bfTV86VSqKF+Y/H08vQPR+9jyXpuC6hfg== +es-define-property@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/es-define-property/-/es-define-property-1.0.0.tgz#c7faefbdff8b2696cf5f46921edfb77cc4ba3845" + integrity sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ== dependencies: - available-typed-arrays "^1.0.5" - call-bind "^1.0.2" - es-set-tostringtag "^2.0.1" - es-to-primitive "^1.2.1" - function-bind "^1.1.1" - function.prototype.name "^1.1.5" - get-intrinsic "^1.1.3" - get-symbol-description "^1.0.0" + get-intrinsic "^1.2.4" + +es-errors@^1.2.1, es-errors@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/es-errors/-/es-errors-1.3.0.tgz#05f75a25dab98e4fb1dcd5e1472c0546d5057c8f" + integrity sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw== + +es-iterator-helpers@^1.0.19: + version "1.0.19" + resolved "https://registry.yarnpkg.com/es-iterator-helpers/-/es-iterator-helpers-1.0.19.tgz#117003d0e5fec237b4b5c08aded722e0c6d50ca8" + integrity sha512-zoMwbCcH5hwUkKJkT8kDIBZSz9I6mVG//+lDCinLCGov4+r7NIy0ld8o03M0cJxl2spVf6ESYVS6/gpIfq1FFw== + dependencies: + call-bind "^1.0.7" + define-properties "^1.2.1" + es-abstract "^1.23.3" + es-errors "^1.3.0" + es-set-tostringtag "^2.0.3" + function-bind "^1.1.2" + get-intrinsic "^1.2.4" globalthis "^1.0.3" - gopd "^1.0.1" - has "^1.0.3" - has-property-descriptors "^1.0.0" - has-proto "^1.0.1" + has-property-descriptors "^1.0.2" + has-proto "^1.0.3" has-symbols "^1.0.3" - internal-slot "^1.0.4" - is-array-buffer "^3.0.1" - is-callable "^1.2.7" - is-negative-zero "^2.0.2" - is-regex "^1.1.4" - is-shared-array-buffer "^1.0.2" - is-string "^1.0.7" - is-typed-array "^1.1.10" - is-weakref "^1.0.2" - object-inspect "^1.12.2" - object-keys "^1.1.1" - object.assign "^4.1.4" - regexp.prototype.flags "^1.4.3" - safe-regex-test "^1.0.0" - string.prototype.trimend "^1.0.6" - string.prototype.trimstart "^1.0.6" - typed-array-length "^1.0.4" - unbox-primitive "^1.0.2" - which-typed-array "^1.1.9" + internal-slot "^1.0.7" + iterator.prototype "^1.1.2" + safe-array-concat "^1.1.2" es-module-lexer@0.3.26: version "0.3.26" @@ -8470,14 +8848,21 @@ es-module-lexer@^1.2.1: resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-1.3.0.tgz#6be9c9e0b4543a60cd166ff6f8b4e9dae0b0c16f" integrity sha512-vZK7T0N2CBmBOixhmjdqx2gWVbFZ4DXZ/NyRMZVlJXPa7CyFS+/a4QQsDGDQy9ZfEzxFuNEsMLeQJnKP2p5/JA== -es-set-tostringtag@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/es-set-tostringtag/-/es-set-tostringtag-2.0.1.tgz#338d502f6f674301d710b80c8592de8a15f09cd8" - integrity sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg== +es-object-atoms@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/es-object-atoms/-/es-object-atoms-1.0.0.tgz#ddb55cd47ac2e240701260bc2a8e31ecb643d941" + integrity sha512-MZ4iQ6JwHOBQjahnjwaC1ZtIBH+2ohjamzAO3oaHcXYup7qxjF2fixyH+Q71voWHeOkI2q/TnJao/KfXYIZWbw== dependencies: - get-intrinsic "^1.1.3" - has "^1.0.3" - has-tostringtag "^1.0.0" + es-errors "^1.3.0" + +es-set-tostringtag@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/es-set-tostringtag/-/es-set-tostringtag-2.0.3.tgz#8bb60f0a440c2e4281962428438d58545af39777" + integrity sha512-3T8uNMC3OQTHkFUsFq8r/BwAXLHvU/9O9mE0fBc/MY5iq/8H7ncvO947LmYA6ldWw9Uh8Yhf25zu6n7nML5QWQ== + dependencies: + get-intrinsic "^1.2.4" + has-tostringtag "^1.0.2" + hasown "^2.0.1" es-shim-unscopables@^1.0.0: version "1.0.0" @@ -8486,6 +8871,13 @@ es-shim-unscopables@^1.0.0: dependencies: has "^1.0.3" +es-shim-unscopables@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/es-shim-unscopables/-/es-shim-unscopables-1.0.2.tgz#1f6942e71ecc7835ed1c8a83006d8771a63a3763" + integrity sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw== + dependencies: + hasown "^2.0.0" + es-to-primitive@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.2.1.tgz#e55cd4c9cdc188bcefb03b366c736323fc5c898a" @@ -8547,51 +8939,55 @@ escodegen@^1.8.1: optionalDependencies: source-map "~0.6.1" -eslint-import-resolver-node@^0.3.7: - version "0.3.7" - resolved "https://registry.yarnpkg.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.7.tgz#83b375187d412324a1963d84fa664377a23eb4d7" - integrity sha512-gozW2blMLJCeFpBwugLTGyvVjNoeo1knonXAcatC6bjPBZitotxdWf7Gimr25N4c0AAOo4eOUfaG82IJPDpqCA== +eslint-import-resolver-node@^0.3.9: + version "0.3.9" + resolved "https://registry.yarnpkg.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz#d4eaac52b8a2e7c3cd1903eb00f7e053356118ac" + integrity sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g== dependencies: debug "^3.2.7" - is-core-module "^2.11.0" - resolve "^1.22.1" + is-core-module "^2.13.0" + resolve "^1.22.4" -eslint-module-utils@^2.7.4: - version "2.7.4" - resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.7.4.tgz#4f3e41116aaf13a20792261e61d3a2e7e0583974" - integrity sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA== +eslint-module-utils@^2.12.0: + version "2.12.0" + resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.12.0.tgz#fe4cfb948d61f49203d7b08871982b65b9af0b0b" + integrity sha512-wALZ0HFoytlyh/1+4wuZ9FJCD/leWHQzzrxJ8+rebyReSLk7LApMyd3WJaLVoN+D5+WIdJyDK1c6JnE65V4Zyg== dependencies: debug "^3.2.7" -eslint-plugin-deprecation@~1.4.1: - version "1.4.1" - resolved "https://registry.yarnpkg.com/eslint-plugin-deprecation/-/eslint-plugin-deprecation-1.4.1.tgz#09a2889210955fd1a5c37703922c01724aba80eb" - integrity sha512-4vxTghWzxsBukPJVQupi6xlTuDc8Pyi1QlRCrFiLgwLPMJQW3cJCNaehJUKQqQFvuue5m4W27e179Y3Qjzeghg== +eslint-plugin-deprecation@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-deprecation/-/eslint-plugin-deprecation-3.0.0.tgz#c0b6bce543c2a01f231d39a1c54fdfebf3560d48" + integrity sha512-JuVLdNg/uf0Adjg2tpTyYoYaMbwQNn/c78P1HcccokvhtRphgnRjZDKmhlxbxYptppex03zO76f97DD/yQHv7A== dependencies: - "@typescript-eslint/utils" "^5.57.0" + "@typescript-eslint/utils" "^7.0.0" + ts-api-utils "^1.3.0" tslib "^2.3.1" - tsutils "^3.21.0" -eslint-plugin-import@^2.27.5: - version "2.27.5" - resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.27.5.tgz#876a6d03f52608a3e5bb439c2550588e51dd6c65" - integrity sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow== +eslint-plugin-import@^2.31.0: + version "2.31.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.31.0.tgz#310ce7e720ca1d9c0bb3f69adfd1c6bdd7d9e0e7" + integrity sha512-ixmkI62Rbc2/w8Vfxyh1jQRTdRTF52VxwRVHl/ykPAmqG+Nb7/kNn+byLP0LxPgI7zWA16Jt82SybJInmMia3A== dependencies: - array-includes "^3.1.6" - array.prototype.flat "^1.3.1" - array.prototype.flatmap "^1.3.1" + "@rtsao/scc" "^1.1.0" + array-includes "^3.1.8" + array.prototype.findlastindex "^1.2.5" + array.prototype.flat "^1.3.2" + array.prototype.flatmap "^1.3.2" debug "^3.2.7" doctrine "^2.1.0" - eslint-import-resolver-node "^0.3.7" - eslint-module-utils "^2.7.4" - has "^1.0.3" - is-core-module "^2.11.0" + eslint-import-resolver-node "^0.3.9" + eslint-module-utils "^2.12.0" + hasown "^2.0.2" + is-core-module "^2.15.1" is-glob "^4.0.3" minimatch "^3.1.2" - object.values "^1.1.6" - resolve "^1.22.1" - semver "^6.3.0" - tsconfig-paths "^3.14.1" + object.fromentries "^2.0.8" + object.groupby "^1.0.3" + object.values "^1.2.0" + semver "^6.3.1" + string.prototype.trimend "^1.0.8" + tsconfig-paths "^3.15.0" eslint-plugin-no-null@latest: version "1.0.2" @@ -8603,28 +8999,31 @@ eslint-plugin-no-unsanitized@latest: resolved "https://registry.yarnpkg.com/eslint-plugin-no-unsanitized/-/eslint-plugin-no-unsanitized-4.0.2.tgz#e872b302cdfb5fe1262db989ba29cfcc334b499b" integrity sha512-Pry0S9YmHoz8NCEMRQh7N0Yexh2MYCNPIlrV52hTmS7qXnTghWsjXouF08bgsrrZqaW9tt1ZiK3j5NEmPE+EjQ== -eslint-plugin-react@^7.32.2: - version "7.32.2" - resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.32.2.tgz#e71f21c7c265ebce01bcbc9d0955170c55571f10" - integrity sha512-t2fBMa+XzonrrNkyVirzKlvn5RXzzPwRHtMvLAtVZrt8oxgnTQaYbU6SXTOO1mwQgp1y5+toMSKInnzGr0Knqg== +eslint-plugin-react@^7.37.1: + version "7.37.1" + resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.37.1.tgz#56493d7d69174d0d828bc83afeffe96903fdadbd" + integrity sha512-xwTnwDqzbDRA8uJ7BMxPs/EXRB3i8ZfnOIp8BsxEQkT0nHPp+WWceqGgo6rKb9ctNi8GJLDT4Go5HAWELa/WMg== dependencies: - array-includes "^3.1.6" - array.prototype.flatmap "^1.3.1" - array.prototype.tosorted "^1.1.1" + array-includes "^3.1.8" + array.prototype.findlast "^1.2.5" + array.prototype.flatmap "^1.3.2" + array.prototype.tosorted "^1.1.4" doctrine "^2.1.0" + es-iterator-helpers "^1.0.19" estraverse "^5.3.0" + hasown "^2.0.2" jsx-ast-utils "^2.4.1 || ^3.0.0" minimatch "^3.1.2" - object.entries "^1.1.6" - object.fromentries "^2.0.6" - object.hasown "^1.1.2" - object.values "^1.1.6" + object.entries "^1.1.8" + object.fromentries "^2.0.8" + object.values "^1.2.0" prop-types "^15.8.1" - resolve "^2.0.0-next.4" - semver "^6.3.0" - string.prototype.matchall "^4.0.8" + resolve "^2.0.0-next.5" + semver "^6.3.1" + string.prototype.matchall "^4.0.11" + string.prototype.repeat "^1.0.0" -eslint-scope@5.1.1, eslint-scope@^5.1.1: +eslint-scope@5.1.1: version "5.1.1" resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c" integrity sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw== @@ -8640,17 +9039,13 @@ eslint-scope@^7.2.0: esrecurse "^4.3.0" estraverse "^5.2.0" -eslint-utils@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-3.0.0.tgz#8aebaface7345bb33559db0a1f13a1d2d48c3672" - integrity sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA== +eslint-scope@^8.1.0: + version "8.1.0" + resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-8.1.0.tgz#70214a174d4cbffbc3e8a26911d8bf51b9ae9d30" + integrity sha512-14dSvlhaVhKKsa9Fx1l8A17s7ah7Ef7wCakJ10LYk6+GYmP9yDti2oq2SEwcyndt6knfcZyhyxwY3i9yL78EQw== dependencies: - eslint-visitor-keys "^2.0.0" - -eslint-visitor-keys@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz#f65328259305927392c938ed44eb0a5c9b2bd303" - integrity sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw== + esrecurse "^4.3.0" + estraverse "^5.2.0" eslint-visitor-keys@^3.3.0: version "3.3.0" @@ -8662,7 +9057,17 @@ eslint-visitor-keys@^3.4.1: resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz#c22c48f48942d08ca824cc526211ae400478a994" integrity sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA== -eslint@8.44.0, eslint@^8.44.0: +eslint-visitor-keys@^3.4.3: + version "3.4.3" + resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz#0cd72fe8550e3c2eae156a96a4dddcd1c8ac5800" + integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag== + +eslint-visitor-keys@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-4.1.0.tgz#1f785cc5e81eb7534523d85922248232077d2f8c" + integrity sha512-Q7lok0mqMUSf5a/AdAZkA5a/gHcO6snwQClVNNvFKCAVlxXucdU8pKydU5ZVZjBx5xr37vGbFFWtLQYreLzrZg== + +eslint@^8.44.0: version "8.44.0" resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.44.0.tgz#51246e3889b259bbcd1d7d736a0c10add4f0e500" integrity sha512-0wpHoUbDUHgNCyvFB5aXLiQVfK9B0at6gUvzy83k4kAsQ/u769TQDX6iKC+aO4upIHO9WSaA3QoXYQDHbNwf1A== @@ -8707,6 +9112,56 @@ eslint@8.44.0, eslint@^8.44.0: strip-json-comments "^3.1.0" text-table "^0.2.0" +eslint@^9.12.0: + version "9.12.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-9.12.0.tgz#54fcba2876c90528396da0fa44b6446329031e86" + integrity sha512-UVIOlTEWxwIopRL1wgSQYdnVDcEvs2wyaO6DGo5mXqe3r16IoCNWkR29iHhyaP4cICWjbgbmFUGAhh0GJRuGZw== + dependencies: + "@eslint-community/eslint-utils" "^4.2.0" + "@eslint-community/regexpp" "^4.11.0" + "@eslint/config-array" "^0.18.0" + "@eslint/core" "^0.6.0" + "@eslint/eslintrc" "^3.1.0" + "@eslint/js" "9.12.0" + "@eslint/plugin-kit" "^0.2.0" + "@humanfs/node" "^0.16.5" + "@humanwhocodes/module-importer" "^1.0.1" + "@humanwhocodes/retry" "^0.3.1" + "@types/estree" "^1.0.6" + "@types/json-schema" "^7.0.15" + ajv "^6.12.4" + chalk "^4.0.0" + cross-spawn "^7.0.2" + debug "^4.3.2" + escape-string-regexp "^4.0.0" + eslint-scope "^8.1.0" + eslint-visitor-keys "^4.1.0" + espree "^10.2.0" + esquery "^1.5.0" + esutils "^2.0.2" + fast-deep-equal "^3.1.3" + file-entry-cache "^8.0.0" + find-up "^5.0.0" + glob-parent "^6.0.2" + ignore "^5.2.0" + imurmurhash "^0.1.4" + is-glob "^4.0.0" + json-stable-stringify-without-jsonify "^1.0.1" + lodash.merge "^4.6.2" + minimatch "^3.1.2" + natural-compare "^1.4.0" + optionator "^0.9.3" + text-table "^0.2.0" + +espree@^10.0.1, espree@^10.2.0: + version "10.2.0" + resolved "https://registry.yarnpkg.com/espree/-/espree-10.2.0.tgz#f4bcead9e05b0615c968e85f83816bc386a45df6" + integrity sha512-upbkBJbckcCNBDBDXEbuhjbP68n+scUd3k/U2EkyM9nw+I/jPiL4cLF/Al06CF96wRltFda16sxDFrxsI1v0/g== + dependencies: + acorn "^8.12.0" + acorn-jsx "^5.3.2" + eslint-visitor-keys "^4.1.0" + espree@^9.6.0: version "9.6.0" resolved "https://registry.yarnpkg.com/espree/-/espree-9.6.0.tgz#80869754b1c6560f32e3b6929194a3fe07c5b82f" @@ -8735,6 +9190,13 @@ esquery@^1.4.2: dependencies: estraverse "^5.1.0" +esquery@^1.5.0: + version "1.6.0" + resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.6.0.tgz#91419234f804d852a82dceec3e16cdc22cf9dae7" + integrity sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg== + dependencies: + estraverse "^5.1.0" + esrecurse@^4.3.0: version "4.3.0" resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.3.0.tgz#7ad7964d679abb28bee72cec63758b1c5d2c9921" @@ -9018,6 +9480,17 @@ fast-glob@^3.2.7, fast-glob@^3.2.9: merge2 "^1.3.0" micromatch "^4.0.4" +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== + dependencies: + "@nodelib/fs.stat" "^2.0.2" + "@nodelib/fs.walk" "^1.2.3" + glob-parent "^5.1.2" + merge2 "^1.3.0" + micromatch "^4.0.4" + fast-json-stable-stringify@^2.0.0, fast-json-stable-stringify@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" @@ -9083,6 +9556,13 @@ file-entry-cache@^6.0.1: dependencies: flat-cache "^3.0.4" +file-entry-cache@^8.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-8.0.0.tgz#7787bddcf1131bffb92636c69457bbc0edd6d81f" + integrity sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ== + dependencies: + flat-cache "^4.0.0" + file-type@^16.5.3: version "16.5.4" resolved "https://registry.yarnpkg.com/file-type/-/file-type-16.5.4.tgz#474fb4f704bee427681f98dd390058a172a6c2fd" @@ -9207,6 +9687,14 @@ flat-cache@^3.0.4: flatted "^3.1.0" rimraf "^3.0.2" +flat-cache@^4.0.0: + version "4.0.1" + resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-4.0.1.tgz#0ece39fcb14ee012f4b0410bd33dd9c1f011127c" + integrity sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw== + dependencies: + flatted "^3.2.9" + keyv "^4.5.4" + flat@^5.0.2: version "5.0.2" resolved "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz#8ca6fe332069ffa9d324c327198c598259ceb241" @@ -9222,6 +9710,11 @@ flatted@^3.1.0: resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.6.tgz#022e9218c637f9f3fc9c35ab9c9193f05add60b2" integrity sha512-0sQoMh9s0BYsm+12Huy/rkKxVu4R1+r96YX5cG44rHV0pQ6iC3Q+mkoMFaGWObMFYQxCVT+ssG1ksneA2MI9KQ== +flatted@^3.2.9: + version "3.3.1" + resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.3.1.tgz#21db470729a6734d4997002f439cb308987f567a" + integrity sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw== + flattie@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/flattie/-/flattie-1.1.0.tgz#1459504209f2001c478751b4e2fb69d6b1ee3241" @@ -9491,6 +9984,11 @@ function-bind@^1.1.1: resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== +function-bind@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c" + integrity sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA== + function.prototype.name@^1.1.5: version "1.1.5" resolved "https://registry.yarnpkg.com/function.prototype.name/-/function.prototype.name-1.1.5.tgz#cce0505fe1ffb80503e6f9e46cc64e46a12a9621" @@ -9501,7 +9999,17 @@ function.prototype.name@^1.1.5: es-abstract "^1.19.0" functions-have-names "^1.2.2" -functions-have-names@^1.2.2: +function.prototype.name@^1.1.6: + version "1.1.6" + resolved "https://registry.yarnpkg.com/function.prototype.name/-/function.prototype.name-1.1.6.tgz#cdf315b7d90ee77a4c6ee216c3c3362da07533fd" + integrity sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg== + dependencies: + call-bind "^1.0.2" + define-properties "^1.2.0" + es-abstract "^1.22.1" + functions-have-names "^1.2.3" + +functions-have-names@^1.2.2, functions-have-names@^1.2.3: version "1.2.3" resolved "https://registry.yarnpkg.com/functions-have-names/-/functions-have-names-1.2.3.tgz#0404fe4ee2ba2f607f0e0ec3c80bae994133b834" integrity sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ== @@ -9551,7 +10059,7 @@ get-intrinsic@^1.0.2, get-intrinsic@^1.1.0, get-intrinsic@^1.1.1: has "^1.0.3" has-symbols "^1.0.3" -get-intrinsic@^1.1.3, get-intrinsic@^1.2.0: +get-intrinsic@^1.1.3: version "1.2.0" resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.0.tgz#7ad1dc0535f3a2904bba075772763e5051f6d05f" integrity sha512-L049y6nFOuom5wGyRc3/gdTLO94dySVKRACj1RmJZBQXlbTMhtNIgkWkUHq+jYmZvKf14EW1EoJnnjbmoHij0Q== @@ -9560,6 +10068,17 @@ get-intrinsic@^1.1.3, get-intrinsic@^1.2.0: has "^1.0.3" has-symbols "^1.0.3" +get-intrinsic@^1.2.1, get-intrinsic@^1.2.3, get-intrinsic@^1.2.4: + version "1.2.4" + resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.4.tgz#e385f5a4b5227d449c3eabbad05494ef0abbeadd" + integrity sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ== + dependencies: + es-errors "^1.3.0" + function-bind "^1.1.2" + has-proto "^1.0.1" + has-symbols "^1.0.3" + hasown "^2.0.0" + get-own-enumerable-property-symbols@^3.0.0: version "3.0.2" resolved "https://registry.yarnpkg.com/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-3.0.2.tgz#b5fde77f22cbe35f390b4e089922c50bce6ef664" @@ -9625,6 +10144,15 @@ get-symbol-description@^1.0.0: call-bind "^1.0.2" get-intrinsic "^1.1.1" +get-symbol-description@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/get-symbol-description/-/get-symbol-description-1.0.2.tgz#533744d5aa20aca4e079c8e5daf7fd44202821f5" + integrity sha512-g0QYk1dZBxGwk+Ngc+ltRH2IBp2f7zBkBMBJZCDerh6EhlhSR6+9irMCuT/09zD6qkarHUSn529sK/yL4S27mg== + dependencies: + call-bind "^1.0.5" + es-errors "^1.3.0" + get-intrinsic "^1.2.4" + get-uri@3: version "3.0.2" resolved "https://registry.yarnpkg.com/get-uri/-/get-uri-3.0.2.tgz#f0ef1356faabc70e1f9404fa3b66b2ba9bfc725c" @@ -9825,6 +10353,11 @@ globals@^13.19.0: dependencies: type-fest "^0.20.2" +globals@^14.0.0: + version "14.0.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-14.0.0.tgz#898d7413c29babcf6bafe56fcadded858ada724e" + integrity sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ== + globalthis@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/globalthis/-/globalthis-1.0.3.tgz#5852882a52b80dc301b0660273e1ed082f0b6ccf" @@ -9926,11 +10459,6 @@ graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6 resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.10.tgz#147d3a006da4ca3ce14728c7aefc287c367d7a6c" integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA== -grapheme-splitter@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz#9cf3a665c6247479896834af35cf1dbb4400767e" - integrity sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ== - graphemer@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/graphemer/-/graphemer-1.4.0.tgz#fb2f1d55e0e3a1849aeffc90c4fa0dd53a0e66c6" @@ -10039,11 +10567,23 @@ has-property-descriptors@^1.0.0: dependencies: get-intrinsic "^1.1.1" +has-property-descriptors@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz#963ed7d071dc7bf5f084c5bfbe0d1b6222586854" + integrity sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg== + dependencies: + es-define-property "^1.0.0" + has-proto@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/has-proto/-/has-proto-1.0.1.tgz#1885c1305538958aff469fef37937c22795408e0" integrity sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg== +has-proto@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/has-proto/-/has-proto-1.0.3.tgz#b31ddfe9b0e6e9914536a6ab286426d0214f77fd" + integrity sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q== + has-symbols@^1.0.1, has-symbols@^1.0.2, has-symbols@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.3.tgz#bb7b2c4349251dce87b125f7bdf874aa7c8b39f8" @@ -10056,6 +10596,13 @@ has-tostringtag@^1.0.0: dependencies: has-symbols "^1.0.2" +has-tostringtag@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/has-tostringtag/-/has-tostringtag-1.0.2.tgz#2cdc42d40bef2e5b4eeab7c01a73c54ce7ab5abc" + integrity sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw== + dependencies: + has-symbols "^1.0.3" + has-unicode@^2.0.1: version "2.0.1" resolved "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" @@ -10131,8 +10678,39 @@ hasha@^5.0.0: resolved "https://registry.yarnpkg.com/hasha/-/hasha-5.2.2.tgz#a48477989b3b327aea3c04f53096d816d97522a1" integrity sha512-Hrp5vIK/xr5SkeN2onO32H0MgNZ0f17HRNH39WfL0SYUNOTZ5Lz1TJ8Pajo/87dYGEFlLMm7mIc/k/s6Bvz9HQ== dependencies: - is-stream "^2.0.0" - type-fest "^0.8.0" + is-stream "^2.0.0" + type-fest "^0.8.0" + +hasown@^2.0.0, hasown@^2.0.1, hasown@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.2.tgz#003eaf91be7adc372e84ec59dc37252cedb80003" + integrity sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ== + dependencies: + function-bind "^1.1.2" + +hast-util-to-html@^9.0.3: + version "9.0.3" + resolved "https://registry.yarnpkg.com/hast-util-to-html/-/hast-util-to-html-9.0.3.tgz#a9999a0ba6b4919576a9105129fead85d37f302b" + integrity sha512-M17uBDzMJ9RPCqLMO92gNNUDuBSq10a25SDBI08iCCxmorf4Yy6sYHK57n9WAbRAAaU+DuR4W6GN9K4DFZesYg== + dependencies: + "@types/hast" "^3.0.0" + "@types/unist" "^3.0.0" + ccount "^2.0.0" + comma-separated-tokens "^2.0.0" + hast-util-whitespace "^3.0.0" + html-void-elements "^3.0.0" + mdast-util-to-hast "^13.0.0" + property-information "^6.0.0" + space-separated-tokens "^2.0.0" + stringify-entities "^4.0.0" + zwitch "^2.0.4" + +hast-util-whitespace@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/hast-util-whitespace/-/hast-util-whitespace-3.0.0.tgz#7778ed9d3c92dd9e8c5c8f648a49c21fc51cb621" + integrity sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw== + dependencies: + "@types/hast" "^3.0.0" haye@^3.0.0: version "3.0.0" @@ -10262,6 +10840,11 @@ html-tags@^3.3.1: resolved "https://registry.yarnpkg.com/html-tags/-/html-tags-3.3.1.tgz#a04026a18c882e4bba8a01a3d39cfe465d40b5ce" integrity sha512-ztqyC3kLto0e9WbNp0aeP+M3kTt+nbaIveGmUxAtZa+8iFgKLUOD4YKM5j+f3QD89bra7UeumolZHKuOXnTmeQ== +html-void-elements@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/html-void-elements/-/html-void-elements-3.0.0.tgz#fc9dbd84af9e747249034d4d62602def6517f1d7" + integrity sha512-bEqo66MRXsUGxWHV5IP0PUiAWwoEjba4VCzg0LjFJBpchPaTfyfCKTG6bc5F8ucKec3q5y6qOdGyYTSBEvhCrg== + html-webpack-plugin@^5.5.3: version "5.5.3" resolved "https://registry.yarnpkg.com/html-webpack-plugin/-/html-webpack-plugin-5.5.3.tgz#72270f4a78e222b5825b296e5e3e1328ad525a3e" @@ -10532,6 +11115,11 @@ ignore@^5.0.4, ignore@^5.2.0: resolved "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz#6d3bac8fa7fe0d45d9f9be7bac2fc279577e345a" integrity sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ== +ignore@^5.3.1: + version "5.3.2" + resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.3.2.tgz#3cd40e729f3643fd87cb04e50bf0eb722bc596f5" + integrity sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g== + image-size@~0.5.0: version "0.5.5" resolved "https://registry.yarnpkg.com/image-size/-/image-size-0.5.5.tgz#09dfd4ab9d20e29eb1c3e80b8990378df9e3cb9c" @@ -10676,13 +11264,13 @@ internal-slot@^1.0.3: has "^1.0.3" side-channel "^1.0.4" -internal-slot@^1.0.4: - version "1.0.5" - resolved "https://registry.yarnpkg.com/internal-slot/-/internal-slot-1.0.5.tgz#f2a2ee21f668f8627a4667f309dc0f4fb6674986" - integrity sha512-Y+R5hJrzs52QCG2laLn4udYVnxsfny9CpOhNhUvk/SSSVyF6T27FzRbF0sroPidSu3X8oEAkOn2K804mjpt6UQ== +internal-slot@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/internal-slot/-/internal-slot-1.0.7.tgz#c06dcca3ed874249881007b0a5523b172a190802" + integrity sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g== dependencies: - get-intrinsic "^1.2.0" - has "^1.0.3" + es-errors "^1.3.0" + hasown "^2.0.0" side-channel "^1.0.4" intl-messageformat@10.1.1: @@ -10747,14 +11335,13 @@ is-arguments@^1.0.4: call-bind "^1.0.2" has-tostringtag "^1.0.0" -is-array-buffer@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/is-array-buffer/-/is-array-buffer-3.0.1.tgz#deb1db4fcae48308d54ef2442706c0393997052a" - integrity sha512-ASfLknmY8Xa2XtB4wmbz13Wu202baeA18cJBCeCy0wXUHZF0IPyVEXqKEcd+t2fNSLLL1vC6k7lxZEojNbISXQ== +is-array-buffer@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/is-array-buffer/-/is-array-buffer-3.0.4.tgz#7a1f92b3d61edd2bc65d24f130530ea93d7fae98" + integrity sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw== dependencies: call-bind "^1.0.2" - get-intrinsic "^1.1.3" - is-typed-array "^1.1.10" + get-intrinsic "^1.2.1" is-arrayish@^0.2.1: version "0.2.1" @@ -10766,6 +11353,13 @@ is-arrayish@^0.3.1: resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.3.2.tgz#4574a2ae56f7ab206896fb431eaeed066fdf8f03" integrity sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ== +is-async-function@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/is-async-function/-/is-async-function-2.0.0.tgz#8e4418efd3e5d3a6ebb0164c05ef5afb69aa9646" + integrity sha512-Y1JXKrfykRJGdlDwdKlLpLyMIiWqWvuSd17TvZk68PLAOGOoF4Xyav1z0Xhoi+gCYjZVeC5SI+hYFOfvXmGRCA== + dependencies: + has-tostringtag "^1.0.0" + is-bigint@^1.0.1: version "1.0.4" resolved "https://registry.yarnpkg.com/is-bigint/-/is-bigint-1.0.4.tgz#08147a1875bc2b32005d41ccd8291dffc6691df3" @@ -10822,12 +11416,12 @@ is-class-hotfix@~0.0.6: resolved "https://registry.yarnpkg.com/is-class-hotfix/-/is-class-hotfix-0.0.6.tgz#a527d31fb23279281dde5f385c77b5de70a72435" integrity sha512-0n+pzCC6ICtVr/WXnN2f03TK/3BfXY7me4cjCAqT8TYXEl0+JBRoqBo94JJHXcyDSLUeWbNX8Fvy5g5RJdAstQ== -is-core-module@^2.11.0: - version "2.11.0" - resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.11.0.tgz#ad4cb3e3863e814523c96f3f58d26cc570ff0144" - integrity sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw== +is-core-module@^2.13.0, is-core-module@^2.15.1: + version "2.15.1" + resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.15.1.tgz#a7363a25bee942fefab0de13bf6aa372c82dcc37" + integrity sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ== dependencies: - has "^1.0.3" + hasown "^2.0.2" is-core-module@^2.5.0, is-core-module@^2.8.1: version "2.8.1" @@ -10857,7 +11451,14 @@ is-data-descriptor@^1.0.0: dependencies: kind-of "^6.0.0" -is-date-object@^1.0.1: +is-data-view@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/is-data-view/-/is-data-view-1.0.1.tgz#4b4d3a511b70f3dc26d42c03ca9ca515d847759f" + integrity sha512-AHkaJrsUVW6wq6JS8y3JnM/GJF/9cf+k20+iDzlSaJrinEo5+7vRiteOSwBhHRiAyQATN1AmY4hwzxJKPmYf+w== + dependencies: + is-typed-array "^1.1.13" + +is-date-object@^1.0.1, is-date-object@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.5.tgz#0841d5536e724c25597bf6ea62e1bd38298df31f" integrity sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ== @@ -10909,12 +11510,19 @@ is-extglob@^2.1.0, is-extglob@^2.1.1: resolved "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" integrity sha1-qIwCU1eR8C7TfHahueqXc8gz+MI= +is-finalizationregistry@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/is-finalizationregistry/-/is-finalizationregistry-1.0.2.tgz#c8749b65f17c133313e661b1289b95ad3dbd62e6" + integrity sha512-0by5vtUJs8iFQb5TYUHHPudOR+qXYIMKtiUzvLIZITZUjknFmziyBJuLhVRc+Ds0dREFlskDNJKYIdIzu/9pfw== + dependencies: + call-bind "^1.0.2" + is-fullwidth-code-point@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== -is-generator-function@^1.0.7: +is-generator-function@^1.0.10, is-generator-function@^1.0.7: version "1.0.10" resolved "https://registry.yarnpkg.com/is-generator-function/-/is-generator-function-1.0.10.tgz#f1558baf1ac17e0deea7c0415c438351ff2b3c72" integrity sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A== @@ -10979,6 +11587,11 @@ is-lambda@^1.0.1: resolved "https://registry.npmjs.org/is-lambda/-/is-lambda-1.0.1.tgz#3d9877899e6a53efc0160504cde15f82e6f061d5" integrity sha1-PZh3iZ5qU+/AFgUEzeFfgubwYdU= +is-map@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/is-map/-/is-map-2.0.3.tgz#ede96b7fe1e270b3c4465e3a465658764926d62e" + integrity sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw== + is-module@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/is-module/-/is-module-1.0.0.tgz#3258fb69f78c14d5b815d664336b4cffb6441591" @@ -10997,6 +11610,11 @@ is-negative-zero@^2.0.2: resolved "https://registry.yarnpkg.com/is-negative-zero/-/is-negative-zero-2.0.2.tgz#7bf6f03a28003b8b3965de3ac26f664d765f3150" integrity sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA== +is-negative-zero@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/is-negative-zero/-/is-negative-zero-2.0.3.tgz#ced903a027aca6381b777a5743069d7376a49747" + integrity sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw== + is-npm@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/is-npm/-/is-npm-5.0.0.tgz#43e8d65cc56e1b67f8d47262cf667099193f45a8" @@ -11105,6 +11723,11 @@ is-regexp@^1.0.0: resolved "https://registry.yarnpkg.com/is-regexp/-/is-regexp-1.0.0.tgz#fd2d883545c46bac5a633e7b9a09e87fa2cb5069" integrity sha512-7zjFAPO4/gwyQAAgRRmqeEeyIICSdmCqa3tsVHMdBzaXXRiqopZL4Cyghg/XulGWrtABTpbnYYzzIRffLkP4oA== +is-set@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/is-set/-/is-set-2.0.3.tgz#8ab209ea424608141372ded6e0cb200ef1d9d01d" + integrity sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg== + is-shared-array-buffer@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz#8f259c573b60b6a32d4058a1a07430c0a7344c79" @@ -11112,6 +11735,13 @@ is-shared-array-buffer@^1.0.2: dependencies: call-bind "^1.0.2" +is-shared-array-buffer@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/is-shared-array-buffer/-/is-shared-array-buffer-1.0.3.tgz#1237f1cba059cdb62431d378dcc37d9680181688" + integrity sha512-nA2hv5XIhLR3uVzDDfCIknerhx8XUKnstuOERPNNIinXG7v9u+ohXF67vxm4TPTEPU6lm61ZkwP3c9PCB97rhg== + dependencies: + call-bind "^1.0.7" + is-ssh@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/is-ssh/-/is-ssh-1.4.0.tgz#4f8220601d2839d8fa624b3106f8e8884f01b8b2" @@ -11154,16 +11784,12 @@ is-type-of@^1.0.0: is-class-hotfix "~0.0.6" isstream "~0.1.2" -is-typed-array@^1.1.10: - version "1.1.10" - resolved "https://registry.yarnpkg.com/is-typed-array/-/is-typed-array-1.1.10.tgz#36a5b5cb4189b575d1a3e4b08536bfb485801e3f" - integrity sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A== +is-typed-array@^1.1.13: + version "1.1.13" + resolved "https://registry.yarnpkg.com/is-typed-array/-/is-typed-array-1.1.13.tgz#d6c5ca56df62334959322d7d7dd1cca50debe229" + integrity sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw== dependencies: - available-typed-arrays "^1.0.5" - call-bind "^1.0.2" - for-each "^0.3.3" - gopd "^1.0.1" - has-tostringtag "^1.0.0" + which-typed-array "^1.1.14" is-typed-array@^1.1.3, is-typed-array@^1.1.9: version "1.1.9" @@ -11193,6 +11819,11 @@ is-valid-path@^0.1.1: dependencies: is-invalid-path "^0.1.0" +is-weakmap@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/is-weakmap/-/is-weakmap-2.0.2.tgz#bf72615d649dfe5f699079c54b83e47d1ae19cfd" + integrity sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w== + is-weakref@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/is-weakref/-/is-weakref-1.0.2.tgz#9529f383a9338205e89765e0392efc2f100f06f2" @@ -11200,6 +11831,14 @@ is-weakref@^1.0.2: dependencies: call-bind "^1.0.2" +is-weakset@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/is-weakset/-/is-weakset-2.0.3.tgz#e801519df8c0c43e12ff2834eead84ec9e624007" + integrity sha512-LvIm3/KWzS9oRFHugab7d+M/GcBXuXX5xZkzPmN+NxihdQlZUQ4dWuSV1xR/sq6upL1TJEDrfBgRepHFdBtSNQ== + dependencies: + call-bind "^1.0.7" + get-intrinsic "^1.2.4" + is-what@^3.14.1: version "3.14.1" resolved "https://registry.yarnpkg.com/is-what/-/is-what-3.14.1.tgz#e1222f46ddda85dead0fd1c9df131760e77755c1" @@ -11232,6 +11871,11 @@ isarray@1.0.0, isarray@^1.0.0, isarray@~1.0.0: resolved "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" integrity sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE= +isarray@^2.0.5: + version "2.0.5" + resolved "https://registry.yarnpkg.com/isarray/-/isarray-2.0.5.tgz#8af1e4c1221244cc62459faf38940d4e644a5723" + integrity sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw== + isexe@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" @@ -11314,6 +11958,17 @@ istanbul-reports@^3.0.2: html-escaper "^2.0.0" istanbul-lib-report "^3.0.0" +iterator.prototype@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/iterator.prototype/-/iterator.prototype-1.1.2.tgz#5e29c8924f01916cb9335f1ff80619dcff22b0c0" + integrity sha512-DR33HMMr8EzwuRL8Y9D3u2BMj8+RqSE850jfGu59kS7tbmPLzGkZmVSfyCFSDxuZiEY6Rzt3T2NA/qU+NwVj1w== + dependencies: + define-properties "^1.2.1" + get-intrinsic "^1.2.1" + has-symbols "^1.0.3" + reflect.getprototypeof "^1.0.4" + set-function-name "^2.0.1" + jackspeak@^2.0.3: version "2.2.1" resolved "https://registry.yarnpkg.com/jackspeak/-/jackspeak-2.2.1.tgz#655e8cf025d872c9c03d3eb63e8f0c024fef16a6" @@ -11578,7 +12233,7 @@ json2mq@^0.2.0: dependencies: string-convert "^0.2.0" -json5@^1.0.1: +json5@^1.0.1, json5@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/json5/-/json5-1.0.2.tgz#63d98d60f21b313b77c4d6da18bfa69d80e1d593" integrity sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA== @@ -11595,7 +12250,7 @@ json5@^2.2.2, json5@^2.2.3: resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== -jsonc-parser@3.2.0, jsonc-parser@^3.2.0: +jsonc-parser@3.2.0: version "3.2.0" resolved "https://registry.yarnpkg.com/jsonc-parser/-/jsonc-parser-3.2.0.tgz#31ff3f4c2b9793f89c67212627c51c6394f88e76" integrity sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w== @@ -11797,6 +12452,13 @@ keyv@^4.5.3: dependencies: json-buffer "3.0.1" +keyv@^4.5.4: + version "4.5.4" + resolved "https://registry.yarnpkg.com/keyv/-/keyv-4.5.4.tgz#a879a99e29452f942439f2a405e3af8b31d4de93" + integrity sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw== + dependencies: + json-buffer "3.0.1" + kind-of@^3.0.2, kind-of@^3.0.3, kind-of@^3.2.0: version "3.2.2" resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64" @@ -12073,6 +12735,13 @@ lines-and-columns@~2.0.3: resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-2.0.3.tgz#b2f0badedb556b747020ab8ea7f0373e22efac1b" integrity sha512-cNOjgCnLB+FnvWWtyRTzmB3POJ+cXxTA81LoW7u8JdmhfXzriropYwpjShnz1QLLWsQwY7nIxoDmcPTwphDK9w== +linkify-it@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/linkify-it/-/linkify-it-5.0.0.tgz#9ef238bfa6dc70bd8e7f9572b52d369af569b421" + integrity sha512-5aHCbzQRADcdP+ATqnDuhhJ/MRIqDkZX5pyjFHRRysS8vZ5AbqGEoFIb6pYHPZ+L/OC2Lc+xT8uHVVR5CAK/wQ== + dependencies: + uc.micro "^2.0.0" + listify@^1.0.0: version "1.0.3" resolved "https://registry.yarnpkg.com/listify/-/listify-1.0.3.tgz#a9335ac351c3d1aea515494ed746976eeb92248b" @@ -12433,6 +13102,18 @@ map-visit@^1.0.0: dependencies: object-visit "^1.0.0" +markdown-it@^14.1.0: + version "14.1.0" + resolved "https://registry.yarnpkg.com/markdown-it/-/markdown-it-14.1.0.tgz#3c3c5992883c633db4714ccb4d7b5935d98b7d45" + integrity sha512-a54IwgWPaeBCAAsv13YgmALOF1elABB08FxO9i+r4VFk5Vl4pKokRPeX8u5TCgSsPi6ec1otfLjdOpVcgbpshg== + dependencies: + argparse "^2.0.1" + entities "^4.4.0" + linkify-it "^5.0.0" + mdurl "^2.0.0" + punycode.js "^2.3.1" + uc.micro "^2.1.0" + markdown-to-jsx@^7.1.5: version "7.1.7" resolved "https://registry.yarnpkg.com/markdown-to-jsx/-/markdown-to-jsx-7.1.7.tgz#a5f22102fb12241c8cea1ca6a4050bb76b23a25d" @@ -12455,11 +13136,6 @@ marked@^4.1.0: resolved "https://registry.yarnpkg.com/marked/-/marked-4.1.0.tgz#3fc6e7485f21c1ca5d6ec4a39de820e146954796" integrity sha512-+Z6KDjSPa6/723PQYyc1axYZpYYpDnECDaU6hkaf5gqBieBkMKYReL5hteF2QizhlMbgbo8umXl/clZ67+GlsA== -marked@^4.3.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/marked/-/marked-4.3.0.tgz#796362821b019f734054582038b116481b456cf3" - integrity sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A== - math-random@^1.0.1: version "1.0.4" resolved "https://registry.yarnpkg.com/math-random/-/math-random-1.0.4.tgz#5dd6943c938548267016d4e34f057583080c514c" @@ -12483,6 +13159,21 @@ md5@~2.2.0: crypt "~0.0.1" is-buffer "~1.1.1" +mdast-util-to-hast@^13.0.0: + version "13.2.0" + resolved "https://registry.yarnpkg.com/mdast-util-to-hast/-/mdast-util-to-hast-13.2.0.tgz#5ca58e5b921cc0a3ded1bc02eed79a4fe4fe41f4" + integrity sha512-QGYKEuUsYT9ykKBCMOEDLsU5JRObWQusAolFMeko/tYPufNkRffBAQjIE+99jbA87xv6FgmjLtwjh9wBWajwAA== + dependencies: + "@types/hast" "^3.0.0" + "@types/mdast" "^4.0.0" + "@ungap/structured-clone" "^1.0.0" + devlop "^1.0.0" + micromark-util-sanitize-uri "^2.0.0" + trim-lines "^3.0.0" + unist-util-position "^5.0.0" + unist-util-visit "^5.0.0" + vfile "^6.0.0" + mdn-data@2.0.14: version "2.0.14" resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.14.tgz#7113fc4281917d63ce29b43446f701e68c25ba50" @@ -12498,6 +13189,11 @@ mdn-data@2.0.30: resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.30.tgz#ce4df6f80af6cfbe218ecd5c552ba13c4dfa08cc" integrity sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA== +mdurl@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/mdurl/-/mdurl-2.0.0.tgz#80676ec0433025dd3e17ee983d0fe8de5a2237e0" + integrity sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w== + media-typer@0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748" @@ -12573,6 +13269,38 @@ methods@^1.1.2, methods@~1.1.2: resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee" integrity sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w== +micromark-util-character@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/micromark-util-character/-/micromark-util-character-2.1.0.tgz#31320ace16b4644316f6bf057531689c71e2aee1" + integrity sha512-KvOVV+X1yLBfs9dCBSopq/+G1PcgT3lAK07mC4BzXi5E7ahzMAF8oIupDDJ6mievI6F+lAATkbQQlQixJfT3aQ== + dependencies: + micromark-util-symbol "^2.0.0" + micromark-util-types "^2.0.0" + +micromark-util-encode@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/micromark-util-encode/-/micromark-util-encode-2.0.0.tgz#0921ac7953dc3f1fd281e3d1932decfdb9382ab1" + integrity sha512-pS+ROfCXAGLWCOc8egcBvT0kf27GoWMqtdarNfDcjb6YLuV5cM3ioG45Ys2qOVqeqSbjaKg72vU+Wby3eddPsA== + +micromark-util-sanitize-uri@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-2.0.0.tgz#ec8fbf0258e9e6d8f13d9e4770f9be64342673de" + integrity sha512-WhYv5UEcZrbAtlsnPuChHUAsu/iBPOVaEVsntLBIdpibO0ddy8OzavZz3iL2xVvBZOpolujSliP65Kq0/7KIYw== + dependencies: + micromark-util-character "^2.0.0" + micromark-util-encode "^2.0.0" + micromark-util-symbol "^2.0.0" + +micromark-util-symbol@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/micromark-util-symbol/-/micromark-util-symbol-2.0.0.tgz#12225c8f95edf8b17254e47080ce0862d5db8044" + integrity sha512-8JZt9ElZ5kyTnO94muPxIGS8oyElRJaiJO8EzV6ZSyGQ1Is8xwl4Q45qU5UOg+bGH4AikWziz0iN4sFLWs8PGw== + +micromark-util-types@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/micromark-util-types/-/micromark-util-types-2.0.0.tgz#63b4b7ffeb35d3ecf50d1ca20e68fc7caa36d95e" + integrity sha512-oNh6S2WMHWRZrmutsRmDDfkzKtxF+bc2VxLC9dvtrDIRFln627VsFP6fLMgTryGDljgLPjkrzQSDcPrjPyDJ5w== + micromatch@^3.1.10: version "3.1.10" resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23" @@ -12699,6 +13427,13 @@ minimatch@5.0.1: dependencies: brace-expansion "^2.0.1" +minimatch@9.0.3: + version "9.0.3" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.3.tgz#a6e00c3de44c3a542bfaae70abfc22420a6da825" + integrity sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg== + dependencies: + brace-expansion "^2.0.1" + minimatch@^3.0.0, minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2: version "3.1.2" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" @@ -12713,13 +13448,20 @@ minimatch@^5.0.1: dependencies: brace-expansion "^2.0.1" -minimatch@^9.0.0, minimatch@^9.0.1: +minimatch@^9.0.1: version "9.0.2" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.2.tgz#397e387fff22f6795844d00badc903a3d5de7057" integrity sha512-PZOT9g5v2ojiTL7r1xF6plNHLtOeTpSlDI007As2NlA2aYBMfVom17yqa6QzhmDP8QOhn7LjHTg7DFCVSSa6yg== dependencies: brace-expansion "^2.0.1" +minimatch@^9.0.4, minimatch@^9.0.5: + version "9.0.5" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.5.tgz#d74f9dd6b57d83d8e98cfb82133b03978bc929e5" + integrity sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow== + dependencies: + brace-expansion "^2.0.1" + minimist-options@4.1.0: version "4.1.0" resolved "https://registry.npmjs.org/minimist-options/-/minimist-options-4.1.0.tgz#c0655713c53a8a2ebd77ffa247d342c40f010619" @@ -13072,11 +13814,6 @@ napi-build-utils@^1.0.1: resolved "https://registry.yarnpkg.com/napi-build-utils/-/napi-build-utils-1.0.2.tgz#b1fddc0b2c46e380a0b7a76f984dd47c41a13806" integrity sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg== -natural-compare-lite@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz#17b09581988979fddafe0201e931ba933c96cbb4" - integrity sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g== - natural-compare@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" @@ -13632,10 +14369,10 @@ object-inspect@^1.12.0, object-inspect@^1.9.0: resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.2.tgz#c0641f26394532f28ab8d796ab954e43c009a8ea" integrity sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ== -object-inspect@^1.12.2: - version "1.12.3" - resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.3.tgz#ba62dffd67ee256c8c086dfae69e016cd1f198b9" - integrity sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g== +object-inspect@^1.13.1: + version "1.13.2" + resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.13.2.tgz#dea0088467fb991e67af4058147a24824a3043ff" + integrity sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g== object-is@^1.0.1: version "1.1.5" @@ -13667,41 +14404,43 @@ object.assign@^4.1.0, object.assign@^4.1.2: has-symbols "^1.0.1" object-keys "^1.1.1" -object.assign@^4.1.4: - version "4.1.4" - resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.4.tgz#9673c7c7c351ab8c4d0b516f4343ebf4dfb7799f" - integrity sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ== +object.assign@^4.1.5: + version "4.1.5" + resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.5.tgz#3a833f9ab7fdb80fc9e8d2300c803d216d8fdbb0" + integrity sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ== dependencies: - call-bind "^1.0.2" - define-properties "^1.1.4" + call-bind "^1.0.5" + define-properties "^1.2.1" has-symbols "^1.0.3" object-keys "^1.1.1" -object.entries@^1.1.6: - version "1.1.6" - resolved "https://registry.yarnpkg.com/object.entries/-/object.entries-1.1.6.tgz#9737d0e5b8291edd340a3e3264bb8a3b00d5fa23" - integrity sha512-leTPzo4Zvg3pmbQ3rDK69Rl8GQvIqMWubrkxONG9/ojtFE2rD9fjMKfSI5BxW3osRH1m6VdzmqK8oAY9aT4x5w== +object.entries@^1.1.8: + version "1.1.8" + resolved "https://registry.yarnpkg.com/object.entries/-/object.entries-1.1.8.tgz#bffe6f282e01f4d17807204a24f8edd823599c41" + integrity sha512-cmopxi8VwRIAw/fkijJohSfpef5PdN0pMQJN6VC/ZKvn0LIknWD8KtgY6KlQdEc4tIjcQ3HxSMmnvtzIscdaYQ== dependencies: - call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.20.4" + call-bind "^1.0.7" + define-properties "^1.2.1" + es-object-atoms "^1.0.0" -object.fromentries@^2.0.6: - version "2.0.6" - resolved "https://registry.yarnpkg.com/object.fromentries/-/object.fromentries-2.0.6.tgz#cdb04da08c539cffa912dcd368b886e0904bfa73" - integrity sha512-VciD13dswC4j1Xt5394WR4MzmAQmlgN72phd/riNp9vtD7tp4QQWJ0R4wvclXcafgcYK8veHRed2W6XeGBvcfg== +object.fromentries@^2.0.8: + version "2.0.8" + resolved "https://registry.yarnpkg.com/object.fromentries/-/object.fromentries-2.0.8.tgz#f7195d8a9b97bd95cbc1999ea939ecd1a2b00c65" + integrity sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ== dependencies: - call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.20.4" + call-bind "^1.0.7" + define-properties "^1.2.1" + es-abstract "^1.23.2" + es-object-atoms "^1.0.0" -object.hasown@^1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/object.hasown/-/object.hasown-1.1.2.tgz#f919e21fad4eb38a57bc6345b3afd496515c3f92" - integrity sha512-B5UIT3J1W+WuWIU55h0mjlwaqxiE5vYENJXIXZ4VFe05pNYrkKuK0U/6aFcb0pKywYJh7IhfoqUfKVmrJJHZHw== +object.groupby@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/object.groupby/-/object.groupby-1.0.3.tgz#9b125c36238129f6f7b61954a1e7176148d5002e" + integrity sha512-+Lhy3TQTuzXI5hevh8sBGqbmurHbbIjAi0Z4S63nthVLmLxfbj4T54a4CfZrXIrt9iP4mVAPYMo/v99taj3wjQ== dependencies: - define-properties "^1.1.4" - es-abstract "^1.20.4" + call-bind "^1.0.7" + define-properties "^1.2.1" + es-abstract "^1.23.2" object.pick@^1.3.0: version "1.3.0" @@ -13710,14 +14449,14 @@ object.pick@^1.3.0: dependencies: isobject "^3.0.1" -object.values@^1.1.6: - version "1.1.6" - resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.1.6.tgz#4abbaa71eba47d63589d402856f908243eea9b1d" - integrity sha512-FVVTkD1vENCsAcwNs9k6jea2uHC/X0+JcjG8YA60FN5CMaJmG95wT9jek/xX9nornqGRrBkKtzuAu2wuHpKqvw== +object.values@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.2.0.tgz#65405a9d92cee68ac2d303002e0b8470a4d9ab1b" + integrity sha512-yBYjY9QX2hnRmZHAjG/f13MzmBzxzYgQhFrke06TTyKY5zSTEqkOeukBzIdVA3j3ulu8Qa3MbVFShV7T2RmGtQ== dependencies: - call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.20.4" + call-bind "^1.0.7" + define-properties "^1.2.1" + es-object-atoms "^1.0.0" obuf@^1.0.0, obuf@^1.1.2: version "1.1.2" @@ -13793,6 +14532,13 @@ onetime@^5.1.0, onetime@^5.1.2: dependencies: mimic-fn "^2.1.0" +oniguruma-to-js@0.4.3: + version "0.4.3" + resolved "https://registry.yarnpkg.com/oniguruma-to-js/-/oniguruma-to-js-0.4.3.tgz#8d899714c21f5c7d59a3c0008ca50e848086d740" + integrity sha512-X0jWUcAlxORhOqqBREgPMgnshB7ZGYszBNspP+tS9hPD3l13CdaXcHbgImoHUHlrvGx/7AvFEkTRhAGYh+jzjQ== + dependencies: + regex "^4.3.2" + only@~0.0.2: version "0.0.2" resolved "https://registry.yarnpkg.com/only/-/only-0.0.2.tgz#2afde84d03e50b9a8edc444e30610a70295edfb4" @@ -14561,6 +15307,11 @@ posix-character-classes@^0.1.0: resolved "https://registry.yarnpkg.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab" integrity sha512-xTgYBc3fuo7Yt7JbiuFxSYGToMoz8fLoE6TC9Wx1P/u+LfeThMOAqmuyECnlBaaJb+u1m9hHiXUEtwW4OzfUJg== +possible-typed-array-names@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz#89bb63c6fada2c3e90adc4a647beeeb39cc7bf8f" + integrity sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q== + postcss-calc@^10.0.2: version "10.0.2" resolved "https://registry.yarnpkg.com/postcss-calc/-/postcss-calc-10.0.2.tgz#15f01635a27b9d38913a98c4ef2877f5b715b439" @@ -15246,10 +15997,10 @@ postcss@^8.4.38, postcss@^8.4.44: picocolors "^1.1.0" source-map-js "^1.2.1" -prebuild-install@^7.1.0: - version "7.1.1" - resolved "https://registry.yarnpkg.com/prebuild-install/-/prebuild-install-7.1.1.tgz#de97d5b34a70a0c81334fd24641f2a1702352e45" - integrity sha512-jAXscXWMcCK8GgCoHOfIr0ODh5ai8mj63L2nWrjuAgXE6tDyYGnx4/8o/rCgU+B4JSyZBKbeZqzhtwtC3ovxjw== +prebuild-install@^7.1.1: + version "7.1.2" + resolved "https://registry.yarnpkg.com/prebuild-install/-/prebuild-install-7.1.2.tgz#a5fd9986f5a6251fbc47e1e5c65de71e68c0a056" + integrity sha512-UnNke3IQb6sgarcZIDU3gbMeTp/9SSU1DAIkil7PrqG1vZlBtY5msYccSKSHDqa3hNg436IXK+SNImReuA1wEQ== dependencies: detect-libc "^2.0.0" expand-template "^2.0.3" @@ -15422,6 +16173,11 @@ prop-types@^15.6.2, prop-types@^15.7.2, prop-types@^15.8.1: object-assign "^4.1.1" react-is "^16.13.1" +property-information@^6.0.0: + version "6.5.0" + resolved "https://registry.yarnpkg.com/property-information/-/property-information-6.5.0.tgz#6212fbb52ba757e92ef4fb9d657563b933b7ffec" + integrity sha512-PgTgs/BlvHxOu8QuEN7wi5A0OmXaBcHpmCSTehcs6Uuu9IkDIEo13Hy7n898RHfrQ49vKCoGeWZSaAK01nwVig== + proto-list@~1.2.1: version "1.2.4" resolved "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz#212d5bfe1318306a420f6402b8e26ff39647a849" @@ -15501,6 +16257,11 @@ pump@^3.0.0: end-of-stream "^1.1.0" once "^1.3.1" +punycode.js@^2.3.1: + version "2.3.1" + resolved "https://registry.yarnpkg.com/punycode.js/-/punycode.js-2.3.1.tgz#6b53e56ad75588234e79f4affa90972c7dd8cdb7" + integrity sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA== + punycode@1.3.2: version "1.3.2" resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.3.2.tgz#9653a036fb7c1ee42342f2325cceefea3926c48d" @@ -16281,6 +17042,19 @@ reflect-metadata@^0.1.13: resolved "https://registry.yarnpkg.com/reflect-metadata/-/reflect-metadata-0.1.13.tgz#67ae3ca57c972a2aa1642b10fe363fe32d49dc08" integrity sha512-Ts1Y/anZELhSsjMcU605fU9RE4Oi3p5ORujwbIKXfWa+0Zxs510Qrmrce5/Jowq3cHSZSJqBjypxmHarc+vEWg== +reflect.getprototypeof@^1.0.4: + version "1.0.6" + resolved "https://registry.yarnpkg.com/reflect.getprototypeof/-/reflect.getprototypeof-1.0.6.tgz#3ab04c32a8390b770712b7a8633972702d278859" + integrity sha512-fmfw4XgoDke3kdI6h4xcUz1dG8uaiv5q9gcEwLS4Pnth2kxT+GZ7YehS1JTMGBQmtV7Y4GFGbs2re2NqhdozUg== + dependencies: + call-bind "^1.0.7" + define-properties "^1.2.1" + es-abstract "^1.23.1" + es-errors "^1.3.0" + get-intrinsic "^1.2.4" + globalthis "^1.0.3" + which-builtin-type "^1.1.3" + regenerate-unicode-properties@^10.0.1: version "10.0.1" resolved "https://registry.yarnpkg.com/regenerate-unicode-properties/-/regenerate-unicode-properties-10.0.1.tgz#7f442732aa7934a3740c779bb9b3340dccc1fb56" @@ -16333,6 +17107,11 @@ regex-not@^1.0.0, regex-not@^1.0.2: extend-shallow "^3.0.2" safe-regex "^1.1.0" +regex@^4.3.2: + version "4.3.3" + resolved "https://registry.yarnpkg.com/regex/-/regex-4.3.3.tgz#8cda73ccbdfa7c5691881d02f9bb142dba9daa6a" + integrity sha512-r/AadFO7owAq1QJVeZ/nq9jNS1vyZt+6t1p/E59B56Rn2GCya+gr1KSyOzNL/er+r+B7phv5jG2xU2Nz1YkmJg== + regexp.prototype.flags@^1.4.1, regexp.prototype.flags@^1.4.3: version "1.4.3" resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz#87cab30f80f66660181a3bb7bf5981a872b367ac" @@ -16342,10 +17121,15 @@ regexp.prototype.flags@^1.4.1, regexp.prototype.flags@^1.4.3: define-properties "^1.1.3" functions-have-names "^1.2.2" -regexpp@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.2.0.tgz#0425a2768d8f23bad70ca4b90461fa2f1213e1b2" - integrity sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg== +regexp.prototype.flags@^1.5.2: + version "1.5.3" + resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.5.3.tgz#b3ae40b1d2499b8350ab2c3fe6ef3845d3a96f42" + integrity sha512-vqlC04+RQoFalODCbCumG2xIOvapzVMHwsyIGM/SIE8fRhFFsXeH8/QQ+s0T0kDAhKc4k30s73/0ydkHQz6HlQ== + dependencies: + call-bind "^1.0.7" + define-properties "^1.2.1" + es-errors "^1.3.0" + set-function-name "^2.0.2" regexpu-core@^5.1.0: version "5.1.0" @@ -16515,7 +17299,7 @@ resolve@^1.10.0: path-parse "^1.0.7" supports-preserve-symlinks-flag "^1.0.0" -resolve@^1.14.2, resolve@^1.19.0, resolve@^1.22.1, resolve@^1.3.2: +resolve@^1.14.2, resolve@^1.19.0, resolve@^1.3.2: version "1.22.1" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.1.tgz#27cb2ebb53f91abb49470a928bba7558066ac177" integrity sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw== @@ -16524,12 +17308,21 @@ resolve@^1.14.2, resolve@^1.19.0, resolve@^1.22.1, resolve@^1.3.2: path-parse "^1.0.7" supports-preserve-symlinks-flag "^1.0.0" -resolve@^2.0.0-next.4: - version "2.0.0-next.4" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-2.0.0-next.4.tgz#3d37a113d6429f496ec4752d2a2e58efb1fd4660" - integrity sha512-iMDbmAWtfU+MHpxt/I5iWI7cY6YVEZUQ3MBgPQ++XD1PELuJHIl82xBmObyP2KyQmkNB2dsqF7seoQQiAn5yDQ== +resolve@^1.22.4: + version "1.22.8" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.8.tgz#b6c87a9f2aa06dfab52e3d70ac8cde321fa5a48d" + integrity sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw== dependencies: - is-core-module "^2.9.0" + is-core-module "^2.13.0" + path-parse "^1.0.7" + supports-preserve-symlinks-flag "^1.0.0" + +resolve@^2.0.0-next.5: + version "2.0.0-next.5" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-2.0.0-next.5.tgz#6b0ec3107e671e52b68cd068ef327173b90dc03c" + integrity sha512-U7WjGVG9sH8tvjW5SmGbQuui75FiyjAX72HX15DwBBwF9dNiQZRQAg9nnPhYy+TUnE0+VcrttuvNI8oSxZcocA== + dependencies: + is-core-module "^2.13.0" path-parse "^1.0.7" supports-preserve-symlinks-flag "^1.0.0" @@ -16666,6 +17459,16 @@ rxjs@^7.8.1: dependencies: tslib "^2.1.0" +safe-array-concat@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/safe-array-concat/-/safe-array-concat-1.1.2.tgz#81d77ee0c4e8b863635227c721278dd524c20edb" + integrity sha512-vj6RsCsWBCf19jIeHEfkRMw8DPiBb+DMXklQ/1SGDHOMlHdPUkZXFQ2YdplS23zESTijAcurb1aSgJA3AgMu1Q== + dependencies: + call-bind "^1.0.7" + get-intrinsic "^1.2.4" + has-symbols "^1.0.3" + isarray "^2.0.5" + safe-buffer@5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1: version "5.1.2" resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" @@ -16676,13 +17479,13 @@ safe-buffer@5.2.1, safe-buffer@>=5.1.0, safe-buffer@^5.0.1, safe-buffer@^5.1.0, resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== -safe-regex-test@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/safe-regex-test/-/safe-regex-test-1.0.0.tgz#793b874d524eb3640d1873aad03596db2d4f2295" - integrity sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA== +safe-regex-test@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/safe-regex-test/-/safe-regex-test-1.0.3.tgz#a5b4c0f06e0ab50ea2c395c14d8371232924c377" + integrity sha512-CdASjNJPvRa7roO6Ra/gLYBTzYzzPyyBXxIMdGW3USQLyjWEls2RgW5UBTXaQVp+OrpeCK3bLem8smtmheoRuw== dependencies: - call-bind "^1.0.2" - get-intrinsic "^1.1.3" + call-bind "^1.0.6" + es-errors "^1.3.0" is-regex "^1.1.4" safe-regex@^1.1.0: @@ -16851,6 +17654,11 @@ semver@^7.5.3: dependencies: lru-cache "^6.0.0" +semver@^7.5.4, semver@^7.6.0: + version "7.6.3" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.3.tgz#980f7b5550bc175fb4dc09403085627f9eb33143" + integrity sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A== + send@0.18.0: version "0.18.0" resolved "https://registry.yarnpkg.com/send/-/send-0.18.0.tgz#670167cc654b05f5aa4a767f9113bb371bc706be" @@ -16964,6 +17772,28 @@ set-cookie-parser@^2.5.1: resolved "https://registry.yarnpkg.com/set-cookie-parser/-/set-cookie-parser-2.5.1.tgz#ddd3e9a566b0e8e0862aca974a6ac0e01349430b" integrity sha512-1jeBGaKNGdEq4FgIrORu/N570dwoPYio8lSoYLWmX7sQ//0JY08Xh9o5pBcgmHQ/MbsYp/aZnOe1s1lIsbLprQ== +set-function-length@^1.2.1: + version "1.2.2" + resolved "https://registry.yarnpkg.com/set-function-length/-/set-function-length-1.2.2.tgz#aac72314198eaed975cf77b2c3b6b880695e5449" + integrity sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg== + dependencies: + define-data-property "^1.1.4" + es-errors "^1.3.0" + function-bind "^1.1.2" + get-intrinsic "^1.2.4" + gopd "^1.0.1" + has-property-descriptors "^1.0.2" + +set-function-name@^2.0.1, set-function-name@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/set-function-name/-/set-function-name-2.0.2.tgz#16a705c5a0dc2f5e638ca96d8a8cd4e1c2b90985" + integrity sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ== + dependencies: + define-data-property "^1.1.4" + es-errors "^1.3.0" + functions-have-names "^1.2.3" + has-property-descriptors "^1.0.2" + set-value@^2.0.0, set-value@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/set-value/-/set-value-2.0.1.tgz#a18d40530e6f07de4228c7defe4227af8cad005b" @@ -17041,15 +17871,17 @@ shellwords@^0.1.1: resolved "https://registry.yarnpkg.com/shellwords/-/shellwords-0.1.1.tgz#d6b9181c1a48d397324c84871efbcfc73fc0654b" integrity sha512-vFwSUfQvqybiICwZY5+DAWIPLKsWO31Q91JSKl3UYv+K5c2QRPzn0qzec6QPu1Qc9eHYItiP3NdJqNVqetYAww== -shiki@^0.14.1: - version "0.14.3" - resolved "https://registry.yarnpkg.com/shiki/-/shiki-0.14.3.tgz#d1a93c463942bdafb9866d74d619a4347d0bbf64" - integrity sha512-U3S/a+b0KS+UkTyMjoNojvTgrBHjgp7L6ovhFVZsXmBGnVdQ4K4U9oK0z63w538S91ATngv1vXigHCSWOwnr+g== +shiki@^1.16.2: + version "1.22.0" + resolved "https://registry.yarnpkg.com/shiki/-/shiki-1.22.0.tgz#45d1dfff0e03a598af70e2ec8592f14ef07827b4" + integrity sha512-/t5LlhNs+UOKQCYBtl5ZsH/Vclz73GIqT2yQsCBygr8L/ppTdmpL4w3kPLoZJbMKVWtoG77Ue1feOjZfDxvMkw== dependencies: - ansi-sequence-parser "^1.1.0" - jsonc-parser "^3.2.0" - vscode-oniguruma "^1.7.0" - vscode-textmate "^8.0.0" + "@shikijs/core" "1.22.0" + "@shikijs/engine-javascript" "1.22.0" + "@shikijs/engine-oniguruma" "1.22.0" + "@shikijs/types" "1.22.0" + "@shikijs/vscode-textmate" "^9.3.0" + "@types/hast" "^3.0.4" shimmer@^1.2.0: version "1.2.1" @@ -17065,6 +17897,16 @@ side-channel@^1.0.4: get-intrinsic "^1.0.2" object-inspect "^1.9.0" +side-channel@^1.0.6: + version "1.0.6" + resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.6.tgz#abd25fb7cd24baf45466406b1096b7831c9215f2" + integrity sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA== + dependencies: + call-bind "^1.0.7" + es-errors "^1.3.0" + get-intrinsic "^1.2.4" + object-inspect "^1.13.1" + sigmund@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/sigmund/-/sigmund-1.0.1.tgz#3ff21f198cad2175f9f3b781853fd94d0d19b590" @@ -17361,6 +18203,11 @@ sourcemap-codec@^1.4.8: resolved "https://registry.yarnpkg.com/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz#ea804bd94857402e6992d05a38ef1ae35a9ab4c4" integrity sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA== +space-separated-tokens@^2.0.0: + version "2.0.2" + resolved "https://registry.yarnpkg.com/space-separated-tokens/-/space-separated-tokens-2.0.2.tgz#1ecd9d2350a3844572c3f4a312bceb018348859f" + integrity sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q== + spawn-command@0.0.2: version "0.0.2" resolved "https://registry.yarnpkg.com/spawn-command/-/spawn-command-0.0.2.tgz#9544e1a43ca045f8531aac1a48cb29bdae62338e" @@ -17621,6 +18468,24 @@ string-width@^5.0.1, string-width@^5.1.2: emoji-regex "^9.2.2" strip-ansi "^7.0.1" +string.prototype.matchall@^4.0.11: + version "4.0.11" + resolved "https://registry.yarnpkg.com/string.prototype.matchall/-/string.prototype.matchall-4.0.11.tgz#1092a72c59268d2abaad76582dccc687c0297e0a" + integrity sha512-NUdh0aDavY2og7IbBPenWqR9exH+E26Sv8e0/eTe1tltDGZL+GtBkDAnnyBtmekfK6/Dq3MkcGtzXFEd1LQrtg== + dependencies: + call-bind "^1.0.7" + define-properties "^1.2.1" + es-abstract "^1.23.2" + es-errors "^1.3.0" + es-object-atoms "^1.0.0" + get-intrinsic "^1.2.4" + gopd "^1.0.1" + has-symbols "^1.0.3" + internal-slot "^1.0.7" + regexp.prototype.flags "^1.5.2" + set-function-name "^2.0.2" + side-channel "^1.0.6" + string.prototype.matchall@^4.0.6: version "4.0.7" resolved "https://registry.yarnpkg.com/string.prototype.matchall/-/string.prototype.matchall-4.0.7.tgz#8e6ecb0d8a1fb1fda470d81acecb2dba057a481d" @@ -17635,19 +18500,23 @@ string.prototype.matchall@^4.0.6: regexp.prototype.flags "^1.4.1" side-channel "^1.0.4" -string.prototype.matchall@^4.0.8: - version "4.0.8" - resolved "https://registry.yarnpkg.com/string.prototype.matchall/-/string.prototype.matchall-4.0.8.tgz#3bf85722021816dcd1bf38bb714915887ca79fd3" - integrity sha512-6zOCOcJ+RJAQshcTvXPHoxoQGONa3e/Lqx90wUA+wEzX78sg5Bo+1tQo4N0pohS0erG9qtCqJDjNCQBjeWVxyg== +string.prototype.repeat@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/string.prototype.repeat/-/string.prototype.repeat-1.0.0.tgz#e90872ee0308b29435aa26275f6e1b762daee01a" + integrity sha512-0u/TldDbKD8bFCQ/4f5+mNRrXwZ8hg2w7ZR8wa16e8z9XpePWl3eGEcUD0OXpEH/VJH/2G3gjUtR3ZOiBe2S/w== dependencies: - call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.20.4" - get-intrinsic "^1.1.3" - has-symbols "^1.0.3" - internal-slot "^1.0.3" - regexp.prototype.flags "^1.4.3" - side-channel "^1.0.4" + define-properties "^1.1.3" + es-abstract "^1.17.5" + +string.prototype.trim@^1.2.9: + version "1.2.9" + resolved "https://registry.yarnpkg.com/string.prototype.trim/-/string.prototype.trim-1.2.9.tgz#b6fa326d72d2c78b6df02f7759c73f8f6274faa4" + integrity sha512-klHuCNxiMZ8MlsOihJhJEBJAiMVqU3Z2nEXWfWnIqjN0gEFS9J9+IxKozWWtQGcgoa1WUZzLjKPTr4ZHNFTFxw== + dependencies: + call-bind "^1.0.7" + define-properties "^1.2.1" + es-abstract "^1.23.0" + es-object-atoms "^1.0.0" string.prototype.trimend@^1.0.5: version "1.0.5" @@ -17658,14 +18527,14 @@ string.prototype.trimend@^1.0.5: define-properties "^1.1.4" es-abstract "^1.19.5" -string.prototype.trimend@^1.0.6: - version "1.0.6" - resolved "https://registry.yarnpkg.com/string.prototype.trimend/-/string.prototype.trimend-1.0.6.tgz#c4a27fa026d979d79c04f17397f250a462944533" - integrity sha512-JySq+4mrPf9EsDBEDYMOb/lM7XQLulwg5R/m1r0PXEFqrV0qHvl58sdTilSXtKOflCsK2E8jxf+GKC0T07RWwQ== +string.prototype.trimend@^1.0.8: + version "1.0.8" + resolved "https://registry.yarnpkg.com/string.prototype.trimend/-/string.prototype.trimend-1.0.8.tgz#3651b8513719e8a9f48de7f2f77640b26652b229" + integrity sha512-p73uL5VCHCO2BZZ6krwwQE3kCzM7NKmis8S//xEC6fQonchbum4eP6kR4DLEjQFO3Wnj3Fuo8NM0kOSjVdHjZQ== dependencies: - call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.20.4" + call-bind "^1.0.7" + define-properties "^1.2.1" + es-object-atoms "^1.0.0" string.prototype.trimstart@^1.0.5: version "1.0.5" @@ -17676,14 +18545,14 @@ string.prototype.trimstart@^1.0.5: define-properties "^1.1.4" es-abstract "^1.19.5" -string.prototype.trimstart@^1.0.6: - version "1.0.6" - resolved "https://registry.yarnpkg.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.6.tgz#e90ab66aa8e4007d92ef591bbf3cd422c56bdcf4" - integrity sha512-omqjMDaY92pbn5HOX7f9IccLA+U1tA9GvtU4JrodiXFfYB7jPzzHpRzpglLAjtUV6bB557zwClJezTqnAiYnQA== +string.prototype.trimstart@^1.0.8: + version "1.0.8" + resolved "https://registry.yarnpkg.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.8.tgz#7ee834dda8c7c17eff3118472bb35bfedaa34dde" + integrity sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg== dependencies: - call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.20.4" + call-bind "^1.0.7" + define-properties "^1.2.1" + es-object-atoms "^1.0.0" string_decoder@^1.1.1, string_decoder@^1.3.0: version "1.3.0" @@ -17711,6 +18580,14 @@ stringify-attributes@^2.0.0: dependencies: escape-goat "^2.0.0" +stringify-entities@^4.0.0: + version "4.0.4" + resolved "https://registry.yarnpkg.com/stringify-entities/-/stringify-entities-4.0.4.tgz#b3b79ef5f277cc4ac73caeb0236c5ba939b3a4f3" + integrity sha512-IwfBptatlO+QCJUo19AqvrPNqlVMpW9YEL2LIVY+Rpv2qsjCGxaDLNRgeGsQWJhfItebuJhsGSLjaBbNSQ+ieg== + dependencies: + character-entities-html4 "^2.0.0" + character-entities-legacy "^3.0.0" + stringify-object@^3.3.0: version "3.3.0" resolved "https://registry.yarnpkg.com/stringify-object/-/stringify-object-3.3.0.tgz#703065aefca19300d3ce88af4f5b3956d7556629" @@ -18339,6 +19216,11 @@ treeverse@^2.0.0: resolved "https://registry.yarnpkg.com/treeverse/-/treeverse-2.0.0.tgz#036dcef04bc3fd79a9b79a68d4da03e882d8a9ca" integrity sha512-N5gJCkLu1aXccpOTtqV6ddSEi6ZmGkh3hjmbu1IjcavJK4qyOVQmi0myQKM7z5jVGmD68SJoliaVrMmVObhj6A== +trim-lines@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/trim-lines/-/trim-lines-3.0.1.tgz#d802e332a07df861c48802c04321017b1bd87338" + integrity sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg== + trim-newlines@^3.0.0: version "3.0.1" resolved "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz#260a5d962d8b752425b32f3a7db0dcacd176c144" @@ -18354,6 +19236,11 @@ truncatise@0.0.8: resolved "https://registry.yarnpkg.com/truncatise/-/truncatise-0.0.8.tgz#06514a0e98c57924f0c2d4ebaf7ff7a5f16ef39a" integrity sha512-cXzueh9pzBCsLzhToB4X4gZCb3KYkrsAcBAX97JnazE74HOl3cpBJYEV7nabHeG/6/WXCU5Yujlde/WPBUwnsg== +ts-api-utils@^1.0.1, ts-api-utils@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/ts-api-utils/-/ts-api-utils-1.3.0.tgz#4b490e27129f1e8e686b45cc4ab63714dc60eea1" + integrity sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ== + ts-custom-error@^3.1.1: version "3.2.0" resolved "https://registry.yarnpkg.com/ts-custom-error/-/ts-custom-error-3.2.0.tgz#ff8f80a3812bab9dc448536312da52dce1b720fb" @@ -18388,7 +19275,17 @@ ts-node@^10.9.0, ts-node@^10.9.1: v8-compile-cache-lib "^3.0.1" yn "3.1.1" -tsconfig-paths@^3.14.1, tsconfig-paths@^3.9.0: +tsconfig-paths@^3.15.0: + version "3.15.0" + resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.15.0.tgz#5299ec605e55b1abb23ec939ef15edaf483070d4" + integrity sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg== + dependencies: + "@types/json5" "^0.0.29" + json5 "^1.0.2" + minimist "^1.2.6" + strip-bom "^3.0.0" + +tsconfig-paths@^3.9.0: version "3.14.1" resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.14.1.tgz#ba0734599e8ea36c862798e920bcf163277b137a" integrity sha512-fxDhWnFSLt3VuTwtvJt5fpwxBHg5AdKWMsgcPOOIilyjymcYVZoCQF8fvFRezCNfblEXmi+PcM1eYHeOAgXCOQ== @@ -18458,13 +19355,6 @@ tsutils@^2.29.0: dependencies: tslib "^1.8.1" -tsutils@^3.21.0: - version "3.21.0" - resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623" - integrity sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA== - dependencies: - tslib "^1.8.1" - tty-browserify@^0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/tty-browserify/-/tty-browserify-0.0.1.tgz#3f05251ee17904dfd0677546670db9651682b811" @@ -18554,14 +19444,49 @@ type-is@^1.6.16, type-is@^1.6.18, type-is@~1.6.18: media-typer "0.3.0" mime-types "~2.1.24" -typed-array-length@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/typed-array-length/-/typed-array-length-1.0.4.tgz#89d83785e5c4098bec72e08b319651f0eac9c1bb" - integrity sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng== +typed-array-buffer@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/typed-array-buffer/-/typed-array-buffer-1.0.2.tgz#1867c5d83b20fcb5ccf32649e5e2fc7424474ff3" + integrity sha512-gEymJYKZtKXzzBzM4jqa9w6Q1Jjm7x2d+sh19AdsD4wqnMPDYyvwpsIc2Q/835kHuo3BEQ7CjelGhfTsoBb2MQ== dependencies: - call-bind "^1.0.2" + call-bind "^1.0.7" + es-errors "^1.3.0" + is-typed-array "^1.1.13" + +typed-array-byte-length@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/typed-array-byte-length/-/typed-array-byte-length-1.0.1.tgz#d92972d3cff99a3fa2e765a28fcdc0f1d89dec67" + integrity sha512-3iMJ9q0ao7WE9tWcaYKIptkNBuOIcZCCT0d4MRvuuH88fEoEH62IuQe0OtraD3ebQEoTRk8XCBoknUNc1Y67pw== + dependencies: + call-bind "^1.0.7" for-each "^0.3.3" - is-typed-array "^1.1.9" + gopd "^1.0.1" + has-proto "^1.0.3" + is-typed-array "^1.1.13" + +typed-array-byte-offset@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/typed-array-byte-offset/-/typed-array-byte-offset-1.0.2.tgz#f9ec1acb9259f395093e4567eb3c28a580d02063" + integrity sha512-Ous0vodHa56FviZucS2E63zkgtgrACj7omjwd/8lTEMEPFFyjfixMZ1ZXenpgCFBBt4EC1J2XsyVS2gkG0eTFA== + dependencies: + available-typed-arrays "^1.0.7" + call-bind "^1.0.7" + for-each "^0.3.3" + gopd "^1.0.1" + has-proto "^1.0.3" + is-typed-array "^1.1.13" + +typed-array-length@^1.0.6: + version "1.0.6" + resolved "https://registry.yarnpkg.com/typed-array-length/-/typed-array-length-1.0.6.tgz#57155207c76e64a3457482dfdc1c9d1d3c4c73a3" + integrity sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g== + dependencies: + call-bind "^1.0.7" + for-each "^0.3.3" + gopd "^1.0.1" + has-proto "^1.0.3" + is-typed-array "^1.1.13" + possible-typed-array-names "^1.0.0" typedarray-to-buffer@^3.1.5: version "3.1.5" @@ -18585,15 +19510,16 @@ typedoc-plugin-remove-references@^0.0.6: resolved "https://registry.yarnpkg.com/typedoc-plugin-remove-references/-/typedoc-plugin-remove-references-0.0.6.tgz#6568615e5857531a497676b5536bc1ff41117443" integrity sha512-QoyHpopznnJbWW/9JT2NHSK+eTmyShkPYebwe5ZnO8aohPLc5okk4puWUDXnNh2Tn7cJU8U3t1tEMO6ghbwE8Q== -typedoc@^0.24.8: - version "0.24.8" - resolved "https://registry.yarnpkg.com/typedoc/-/typedoc-0.24.8.tgz#cce9f47ba6a8d52389f5e583716a2b3b4335b63e" - integrity sha512-ahJ6Cpcvxwaxfu4KtjA8qZNqS43wYt6JL27wYiIgl1vd38WW/KWX11YuAeZhuz9v+ttrutSsgK+XO1CjL1kA3w== +typedoc@^0.26.8: + version "0.26.8" + resolved "https://registry.yarnpkg.com/typedoc/-/typedoc-0.26.8.tgz#94aad537f3886035bad7354bdb74a68b7a52473d" + integrity sha512-QBF0BMbnNeUc6U7pRHY7Jb8pjhmiNWZNQT8LU6uk9qP9t3goP9bJptdlNqMC0wBB2w9sQrxjZt835bpRSSq1LA== dependencies: lunr "^2.3.9" - marked "^4.3.0" - minimatch "^9.0.0" - shiki "^0.14.1" + markdown-it "^14.1.0" + minimatch "^9.0.5" + shiki "^1.16.2" + yaml "^2.5.1" typeorm@^0.3.7: version "0.3.7" @@ -18623,10 +19549,15 @@ typeorm@^0.3.7: resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.8.3.tgz#d59344522c4bc464a65a730ac695007fdb66dd88" integrity sha512-goMHfm00nWPa8UvR/CPSvykqf6dVV8x/dp0c5mFTMTIu0u0FlGWRioyy7Nn0PGAdHxpJZnuO/ut+PpQ8UiHAig== -typescript@~4.5.5: - version "4.5.5" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.5.5.tgz#d8c953832d28924a9e3d37c73d729c846c5896f3" - integrity sha512-TCTIul70LyWe6IJWT8QSYeA54WQe8EjQFU4wY52Fasj5UKx88LNYKCgBEHcOMOrFF1rKGbD8v/xcNWVUq9SymA== +typescript@~5.4.5: + version "5.4.5" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.4.5.tgz#42ccef2c571fdbd0f6718b1d1f5e6e5ef006f611" + integrity sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ== + +uc.micro@^2.0.0, uc.micro@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/uc.micro/-/uc.micro-2.1.0.tgz#f8d3f7d0ec4c3dea35a7e3c8efa4cb8b45c9e7ee" + integrity sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A== uglify-js@^3.1.4: version "3.15.3" @@ -18726,6 +19657,44 @@ unique-string@^2.0.0: dependencies: crypto-random-string "^2.0.0" +unist-util-is@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/unist-util-is/-/unist-util-is-6.0.0.tgz#b775956486aff107a9ded971d996c173374be424" + integrity sha512-2qCTHimwdxLfz+YzdGfkqNlH0tLi9xjTnHddPmJwtIG9MGsdbutfTc4P+haPD7l7Cjxf/WZj+we5qfVPvvxfYw== + dependencies: + "@types/unist" "^3.0.0" + +unist-util-position@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/unist-util-position/-/unist-util-position-5.0.0.tgz#678f20ab5ca1207a97d7ea8a388373c9cf896be4" + integrity sha512-fucsC7HjXvkB5R3kTCO7kUjRdrS0BJt3M/FPxmHMBOm8JQi2BsHAHFsy27E0EolP8rp0NzXsJ+jNPyDWvOJZPA== + dependencies: + "@types/unist" "^3.0.0" + +unist-util-stringify-position@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/unist-util-stringify-position/-/unist-util-stringify-position-4.0.0.tgz#449c6e21a880e0855bf5aabadeb3a740314abac2" + integrity sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ== + dependencies: + "@types/unist" "^3.0.0" + +unist-util-visit-parents@^6.0.0: + version "6.0.1" + resolved "https://registry.yarnpkg.com/unist-util-visit-parents/-/unist-util-visit-parents-6.0.1.tgz#4d5f85755c3b8f0dc69e21eca5d6d82d22162815" + integrity sha512-L/PqWzfTP9lzzEa6CKs0k2nARxTdZduw3zyh8d2NVBnsyvHjSX4TWse388YrrQKbvI8w20fGjGlhgT96WwKykw== + dependencies: + "@types/unist" "^3.0.0" + unist-util-is "^6.0.0" + +unist-util-visit@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/unist-util-visit/-/unist-util-visit-5.0.0.tgz#a7de1f31f72ffd3519ea71814cccf5fd6a9217d6" + integrity sha512-MR04uvD+07cwl/yhVuVWAtw+3GOR/knlL55Nd/wAdblk27GCVt3lqpTivy/tkJcZoNPzTwS1Y+KMojlLDhoTzg== + dependencies: + "@types/unist" "^3.0.0" + unist-util-is "^6.0.0" + unist-util-visit-parents "^6.0.0" + universal-user-agent@^6.0.0: version "6.0.0" resolved "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz#3381f8503b251c0d9cd21bc1de939ec9df5480ee" @@ -18996,6 +19965,22 @@ verror@1.10.0: core-util-is "1.0.2" extsprintf "^1.2.0" +vfile-message@^4.0.0: + version "4.0.2" + resolved "https://registry.yarnpkg.com/vfile-message/-/vfile-message-4.0.2.tgz#c883c9f677c72c166362fd635f21fc165a7d1181" + integrity sha512-jRDZ1IMLttGj41KcZvlrYAaI3CfqpLpfpf+Mfig13viT6NKvRzWZ+lXz0Y5D60w6uJIBAOGq9mSHf0gktF0duw== + dependencies: + "@types/unist" "^3.0.0" + unist-util-stringify-position "^4.0.0" + +vfile@^6.0.0: + version "6.0.3" + resolved "https://registry.yarnpkg.com/vfile/-/vfile-6.0.3.tgz#3652ab1c496531852bf55a6bac57af981ebc38ab" + integrity sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q== + dependencies: + "@types/unist" "^3.0.0" + vfile-message "^4.0.0" + vm-browserify@^1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/vm-browserify/-/vm-browserify-1.1.2.tgz#78641c488b8e6ca91a75f511e7a3b32a86e5dda0" @@ -19014,16 +19999,6 @@ vscode-jsonrpc@^6.0.0: resolved "https://registry.yarnpkg.com/vscode-jsonrpc/-/vscode-jsonrpc-6.0.0.tgz#108bdb09b4400705176b957ceca9e0880e9b6d4e" integrity sha512-wnJA4BnEjOSyFMvjZdpiOwhSq9uDoK8e/kpRJDTaMYzwlkrhG1fwDIZI94CLsLzlCK5cIbMMtFlJlfR57Lavmg== -vscode-oniguruma@^1.7.0: - version "1.7.0" - resolved "https://registry.yarnpkg.com/vscode-oniguruma/-/vscode-oniguruma-1.7.0.tgz#439bfad8fe71abd7798338d1cd3dc53a8beea94b" - integrity sha512-L9WMGRfrjOhgHSdOYgCt/yRMsXzLDJSL7BPrOZt73gU0iWO4mpqzqQzOz5srxqTvMBaR0XZTSrVWo4j55Rc6cA== - -vscode-textmate@^8.0.0: - version "8.0.0" - resolved "https://registry.yarnpkg.com/vscode-textmate/-/vscode-textmate-8.0.0.tgz#2c7a3b1163ef0441097e0b5d6389cd5504b59e5d" - integrity sha512-AFbieoL7a5LMqcnOF04ji+rpXadgOXnZsxQr//r83kLPr7biP7am3g9zbaZIaBGwBRWeSvoMD4mgPdX3e4NWBg== - vue-loader@^17.2.2: version "17.4.2" resolved "https://registry.yarnpkg.com/vue-loader/-/vue-loader-17.4.2.tgz#f87f0d8adfcbbe8623de9eba1979d41ba223c6da" @@ -19260,11 +20235,50 @@ which-boxed-primitive@^1.0.2: is-string "^1.0.5" is-symbol "^1.0.3" +which-builtin-type@^1.1.3: + version "1.1.4" + resolved "https://registry.yarnpkg.com/which-builtin-type/-/which-builtin-type-1.1.4.tgz#592796260602fc3514a1b5ee7fa29319b72380c3" + integrity sha512-bppkmBSsHFmIMSl8BO9TbsyzsvGjVoppt8xUiGzwiu/bhDCGxnpOKCxgqj6GuyHE0mINMDecBFPlOm2hzY084w== + dependencies: + function.prototype.name "^1.1.6" + has-tostringtag "^1.0.2" + is-async-function "^2.0.0" + is-date-object "^1.0.5" + is-finalizationregistry "^1.0.2" + is-generator-function "^1.0.10" + is-regex "^1.1.4" + is-weakref "^1.0.2" + isarray "^2.0.5" + which-boxed-primitive "^1.0.2" + which-collection "^1.0.2" + which-typed-array "^1.1.15" + +which-collection@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/which-collection/-/which-collection-1.0.2.tgz#627ef76243920a107e7ce8e96191debe4b16c2a0" + integrity sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw== + dependencies: + is-map "^2.0.3" + is-set "^2.0.3" + is-weakmap "^2.0.2" + is-weakset "^2.0.3" + which-module@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a" integrity sha512-B+enWhmw6cjfVC7kS8Pj9pCrKSc5txArRyaYGe088shv/FGWH+0Rjx/xPgtsWfsUtS27FkP697E4DDhgrgoc0Q== +which-typed-array@^1.1.14, which-typed-array@^1.1.15: + version "1.1.15" + resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.15.tgz#264859e9b11a649b388bfaaf4f767df1f779b38d" + integrity sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA== + dependencies: + available-typed-arrays "^1.0.7" + call-bind "^1.0.7" + for-each "^0.3.3" + gopd "^1.0.1" + has-tostringtag "^1.0.2" + which-typed-array@^1.1.2: version "1.1.8" resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.8.tgz#0cfd53401a6f334d90ed1125754a42ed663eb01f" @@ -19277,18 +20291,6 @@ which-typed-array@^1.1.2: has-tostringtag "^1.0.0" is-typed-array "^1.1.9" -which-typed-array@^1.1.9: - version "1.1.9" - resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.9.tgz#307cf898025848cf995e795e8423c7f337efbde6" - integrity sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA== - dependencies: - available-typed-arrays "^1.0.5" - call-bind "^1.0.2" - for-each "^0.3.3" - gopd "^1.0.1" - has-tostringtag "^1.0.0" - is-typed-array "^1.1.10" - which@^1.2.0: version "1.3.1" resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" @@ -19734,6 +20736,11 @@ yaml@^2.0.0-1: resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.1.1.tgz#1e06fb4ca46e60d9da07e4f786ea370ed3c3cfec" integrity sha512-o96x3OPo8GjWeSLF+wOAbrPfhFOGY0W00GNaxCDv+9hkcDJEnev1yh8S7pgHF0ik6zc8sQLuL8hjHjJULZp8bw== +yaml@^2.5.1: + version "2.5.1" + resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.5.1.tgz#c9772aacf62cb7494a95b0c4f1fb065b563db130" + integrity sha512-bLQOjaX/ADgQ20isPJRvF0iRUHIxVhYvr53Of7wGcWlO2jvtUlH5m87DsmulFVxRpNLOnI4tB6p/oh8D7kpn9Q== + yargs-parser@20.2.4: version "20.2.4" resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz#b42890f14566796f85ae8e3a25290d205f154a54" @@ -19900,3 +20907,8 @@ zlib@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/zlib/-/zlib-1.0.5.tgz#6e7c972fc371c645a6afb03ab14769def114fcc0" integrity sha512-40fpE2II+Cd3k8HWTWONfeKE2jL+P42iWJ1zzps5W51qcTsOUKM5Q5m2PFb0CLxlmFAaUuUdJGc3OfZy947v0w== + +zwitch@^2.0.4: + version "2.0.4" + resolved "https://registry.yarnpkg.com/zwitch/-/zwitch-2.0.4.tgz#c827d4b0acb76fc3e685a4c6ec2902d51070e9d7" + integrity sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==