@weavelogic/knowledge-graph-agent 0.3.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +374 -427
- package/dist/_virtual/ExpiringCache.js +5 -0
- package/dist/_virtual/ExpiringCache.js.map +1 -0
- package/dist/_virtual/___vite-browser-external.js +7 -0
- package/dist/_virtual/___vite-browser-external.js.map +1 -0
- package/dist/_virtual/__vite-browser-external.js +5 -0
- package/dist/_virtual/__vite-browser-external.js.map +1 -0
- package/dist/_virtual/_commonjs-dynamic-modules.js +7 -0
- package/dist/_virtual/_commonjs-dynamic-modules.js.map +1 -0
- package/dist/_virtual/_commonjsHelpers.js +27 -0
- package/dist/_virtual/_commonjsHelpers.js.map +1 -1
- package/dist/_virtual/assert-valid-pattern.js +5 -0
- package/dist/_virtual/assert-valid-pattern.js.map +1 -0
- package/dist/_virtual/ast-converter.js +5 -0
- package/dist/_virtual/ast-converter.js.map +1 -0
- package/dist/_virtual/ast-spec.js +5 -0
- package/dist/_virtual/ast-spec.js.map +1 -0
- package/dist/_virtual/ast.js +5 -0
- package/dist/_virtual/ast.js.map +1 -0
- package/dist/_virtual/brace-expressions.js +5 -0
- package/dist/_virtual/brace-expressions.js.map +1 -0
- package/dist/_virtual/browser.js +6 -0
- package/dist/_virtual/browser.js.map +1 -0
- package/dist/_virtual/browser2.js +5 -0
- package/dist/_virtual/browser2.js.map +1 -0
- package/dist/_virtual/candidateTSConfigRootDirs.js +5 -0
- package/dist/_virtual/candidateTSConfigRootDirs.js.map +1 -0
- package/dist/_virtual/check-modifiers.js +5 -0
- package/dist/_virtual/check-modifiers.js.map +1 -0
- package/dist/_virtual/clear-caches.js +5 -0
- package/dist/_virtual/clear-caches.js.map +1 -0
- package/dist/_virtual/compilerOptions.js +5 -0
- package/dist/_virtual/compilerOptions.js.map +1 -0
- package/dist/_virtual/convert-comments.js +5 -0
- package/dist/_virtual/convert-comments.js.map +1 -0
- package/dist/_virtual/convert.js +5 -0
- package/dist/_virtual/convert.js.map +1 -0
- package/dist/_virtual/createIsolatedProgram.js +5 -0
- package/dist/_virtual/createIsolatedProgram.js.map +1 -0
- package/dist/_virtual/createParseSettings.js +5 -0
- package/dist/_virtual/createParseSettings.js.map +1 -0
- package/dist/_virtual/createParserServices.js +5 -0
- package/dist/_virtual/createParserServices.js.map +1 -0
- package/dist/_virtual/createProjectProgram.js +5 -0
- package/dist/_virtual/createProjectProgram.js.map +1 -0
- package/dist/_virtual/createProjectProgramError.js +5 -0
- package/dist/_virtual/createProjectProgramError.js.map +1 -0
- package/dist/_virtual/createProjectService.js +5 -0
- package/dist/_virtual/createProjectService.js.map +1 -0
- package/dist/_virtual/createSourceFile.js +5 -0
- package/dist/_virtual/createSourceFile.js.map +1 -0
- package/dist/_virtual/describeFilePath.js +5 -0
- package/dist/_virtual/describeFilePath.js.map +1 -0
- package/dist/_virtual/escape.js +5 -0
- package/dist/_virtual/escape.js.map +1 -0
- package/dist/_virtual/eslint-visitor-keys.js +5 -0
- package/dist/_virtual/eslint-visitor-keys.js.map +1 -0
- package/dist/_virtual/estree-to-ts-node-types.js +5 -0
- package/dist/_virtual/estree-to-ts-node-types.js.map +1 -0
- package/dist/_virtual/get-keys.js +5 -0
- package/dist/_virtual/get-keys.js.map +1 -0
- package/dist/_virtual/getModifiers.js +5 -0
- package/dist/_virtual/getModifiers.js.map +1 -0
- package/dist/_virtual/getParsedConfigFile.js +5 -0
- package/dist/_virtual/getParsedConfigFile.js.map +1 -0
- package/dist/_virtual/getParsedConfigFileFromTSServer.js +5 -0
- package/dist/_virtual/getParsedConfigFileFromTSServer.js.map +1 -0
- package/dist/_virtual/getProjectConfigFiles.js +5 -0
- package/dist/_virtual/getProjectConfigFiles.js.map +1 -0
- package/dist/_virtual/getScriptKind.js +5 -0
- package/dist/_virtual/getScriptKind.js.map +1 -0
- package/dist/_virtual/getWatchProgramsForProjects.js +5 -0
- package/dist/_virtual/getWatchProgramsForProjects.js.map +1 -0
- package/dist/_virtual/global-ponyfill.js +9 -0
- package/dist/_virtual/global-ponyfill.js.map +1 -0
- package/dist/_virtual/global-ponyfill2.js +5 -0
- package/dist/_virtual/global-ponyfill2.js.map +1 -0
- package/dist/_virtual/index.js +2 -4
- package/dist/_virtual/index.js.map +1 -1
- package/dist/_virtual/index10.js +2 -2
- package/dist/_virtual/index11.js +2 -2
- package/dist/_virtual/index2.js +2 -2
- package/dist/_virtual/index3.js +2 -2
- package/dist/_virtual/index4.js +2 -2
- package/dist/_virtual/index5.js +2 -2
- package/dist/_virtual/index6.js +2 -2
- package/dist/_virtual/index7.js +2 -2
- package/dist/_virtual/index8.js +2 -2
- package/dist/_virtual/index9.js +2 -2
- package/dist/_virtual/inferSingleRun.js +5 -0
- package/dist/_virtual/inferSingleRun.js.map +1 -0
- package/dist/_virtual/lib.js +5 -0
- package/dist/_virtual/lib.js.map +1 -0
- package/dist/_virtual/node-utils.js +5 -0
- package/dist/_virtual/node-utils.js.map +1 -0
- package/dist/_virtual/parser-options.js +5 -0
- package/dist/_virtual/parser-options.js.map +1 -0
- package/dist/_virtual/parser.js +5 -0
- package/dist/_virtual/parser.js.map +1 -0
- package/dist/_virtual/re.js +5 -0
- package/dist/_virtual/re.js.map +1 -0
- package/dist/_virtual/resolveProjectList.js +5 -0
- package/dist/_virtual/resolveProjectList.js.map +1 -0
- package/dist/_virtual/semantic-or-syntactic-errors.js +5 -0
- package/dist/_virtual/semantic-or-syntactic-errors.js.map +1 -0
- package/dist/_virtual/shared.js +5 -0
- package/dist/_virtual/shared.js.map +1 -0
- package/dist/_virtual/simple-traverse.js +5 -0
- package/dist/_virtual/simple-traverse.js.map +1 -0
- package/dist/_virtual/source-files.js +5 -0
- package/dist/_virtual/source-files.js.map +1 -0
- package/dist/_virtual/ts-estree.js +5 -0
- package/dist/_virtual/ts-estree.js.map +1 -0
- package/dist/_virtual/ts-nodes.js +5 -0
- package/dist/_virtual/ts-nodes.js.map +1 -0
- package/dist/_virtual/tsserverlibrary.js +5 -0
- package/dist/_virtual/tsserverlibrary.js.map +1 -0
- package/dist/_virtual/typescript.js +5 -0
- package/dist/_virtual/typescript.js.map +1 -0
- package/dist/_virtual/unescape.js +5 -0
- package/dist/_virtual/unescape.js.map +1 -0
- package/dist/_virtual/useProgramFromProjectService.js +5 -0
- package/dist/_virtual/useProgramFromProjectService.js.map +1 -0
- package/dist/_virtual/useProvidedPrograms.js +5 -0
- package/dist/_virtual/useProvidedPrograms.js.map +1 -0
- package/dist/_virtual/utils.js +5 -0
- package/dist/_virtual/utils.js.map +1 -0
- package/dist/_virtual/validateDefaultProjectForFilesGlob.js +5 -0
- package/dist/_virtual/validateDefaultProjectForFilesGlob.js.map +1 -0
- package/dist/_virtual/version-check.js +5 -0
- package/dist/_virtual/version-check.js.map +1 -0
- package/dist/_virtual/version.js +5 -0
- package/dist/_virtual/version.js.map +1 -0
- package/dist/_virtual/visitor-keys.js +5 -0
- package/dist/_virtual/visitor-keys.js.map +1 -0
- package/dist/_virtual/warnAboutTSVersion.js +5 -0
- package/dist/_virtual/warnAboutTSVersion.js.map +1 -0
- package/dist/_virtual/withoutProjectParserOptions.js +5 -0
- package/dist/_virtual/withoutProjectParserOptions.js.map +1 -0
- package/dist/_virtual/xhtml-entities.js +5 -0
- package/dist/_virtual/xhtml-entities.js.map +1 -0
- package/dist/audit/config.d.ts +150 -0
- package/dist/audit/config.d.ts.map +1 -0
- package/dist/audit/config.js +111 -0
- package/dist/audit/config.js.map +1 -0
- package/dist/audit/index.d.ts +38 -0
- package/dist/audit/index.d.ts.map +1 -0
- package/dist/audit/services/audit-chain.d.ts +276 -0
- package/dist/audit/services/audit-chain.d.ts.map +1 -0
- package/dist/audit/services/audit-chain.js +502 -0
- package/dist/audit/services/audit-chain.js.map +1 -0
- package/dist/audit/services/index.d.ts +11 -0
- package/dist/audit/services/index.d.ts.map +1 -0
- package/dist/audit/services/syndication.d.ts +334 -0
- package/dist/audit/services/syndication.d.ts.map +1 -0
- package/dist/audit/services/syndication.js +589 -0
- package/dist/audit/services/syndication.js.map +1 -0
- package/dist/audit/types.d.ts +453 -0
- package/dist/audit/types.d.ts.map +1 -0
- package/dist/cli/commands/audit.d.ts +21 -0
- package/dist/cli/commands/audit.d.ts.map +1 -0
- package/dist/cli/commands/audit.js +621 -0
- package/dist/cli/commands/audit.js.map +1 -0
- package/dist/cli/commands/dashboard.d.ts +14 -0
- package/dist/cli/commands/dashboard.d.ts.map +1 -0
- package/dist/cli/commands/dashboard.js +271 -0
- package/dist/cli/commands/dashboard.js.map +1 -0
- package/dist/cli/commands/plugin.d.ts +14 -0
- package/dist/cli/commands/plugin.d.ts.map +1 -0
- package/dist/cli/commands/plugin.js +784 -0
- package/dist/cli/commands/plugin.js.map +1 -0
- package/dist/cli/commands/serve.d.ts +15 -0
- package/dist/cli/commands/serve.d.ts.map +1 -0
- package/dist/cli/commands/serve.js +252 -0
- package/dist/cli/commands/serve.js.map +1 -0
- package/dist/cli/commands/vector.d.ts +14 -0
- package/dist/cli/commands/vector.d.ts.map +1 -0
- package/dist/cli/commands/vector.js +429 -0
- package/dist/cli/commands/vector.js.map +1 -0
- package/dist/cli/commands/workflow.d.ts +12 -0
- package/dist/cli/commands/workflow.d.ts.map +1 -0
- package/dist/cli/commands/workflow.js +471 -0
- package/dist/cli/commands/workflow.js.map +1 -0
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +54 -1
- package/dist/cli/index.js.map +1 -1
- package/dist/config/manager.js +325 -0
- package/dist/config/manager.js.map +1 -0
- package/dist/dashboard-server/index.d.ts +31 -0
- package/dist/dashboard-server/index.d.ts.map +1 -0
- package/dist/dashboard-server/server.d.ts +205 -0
- package/dist/dashboard-server/server.d.ts.map +1 -0
- package/dist/dashboard-server/server.js +651 -0
- package/dist/dashboard-server/server.js.map +1 -0
- package/dist/database/schemas/index.d.ts +85 -0
- package/dist/database/schemas/index.d.ts.map +1 -0
- package/dist/graphql/context.d.ts +154 -0
- package/dist/graphql/context.d.ts.map +1 -0
- package/dist/graphql/context.js +168 -0
- package/dist/graphql/context.js.map +1 -0
- package/dist/graphql/index.d.ts +12 -0
- package/dist/graphql/index.d.ts.map +1 -0
- package/dist/graphql/pubsub.d.ts +282 -0
- package/dist/graphql/pubsub.d.ts.map +1 -0
- package/dist/graphql/resolvers/index.d.ts +519 -0
- package/dist/graphql/resolvers/index.d.ts.map +1 -0
- package/dist/graphql/resolvers/mutations.d.ts +255 -0
- package/dist/graphql/resolvers/mutations.d.ts.map +1 -0
- package/dist/graphql/resolvers/queries.d.ts +451 -0
- package/dist/graphql/resolvers/queries.d.ts.map +1 -0
- package/dist/graphql/resolvers/subscriptions.d.ts +399 -0
- package/dist/graphql/resolvers/subscriptions.d.ts.map +1 -0
- package/dist/graphql/scalars.d.ts +89 -0
- package/dist/graphql/scalars.d.ts.map +1 -0
- package/dist/graphql/scalars.js +242 -0
- package/dist/graphql/scalars.js.map +1 -0
- package/dist/graphql/server.d.ts +122 -0
- package/dist/graphql/server.d.ts.map +1 -0
- package/dist/graphql/server.js +368 -0
- package/dist/graphql/server.js.map +1 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +115 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp-server/handlers/index.js +1 -1
- package/dist/mcp-server/server.js +2 -2
- package/dist/mcp-server/tools/audit/checkpoint.d.ts +58 -0
- package/dist/mcp-server/tools/audit/checkpoint.d.ts.map +1 -0
- package/dist/mcp-server/tools/audit/checkpoint.js +73 -0
- package/dist/mcp-server/tools/audit/checkpoint.js.map +1 -0
- package/dist/mcp-server/tools/audit/index.d.ts +53 -0
- package/dist/mcp-server/tools/audit/index.d.ts.map +1 -0
- package/dist/mcp-server/tools/audit/index.js +12 -0
- package/dist/mcp-server/tools/audit/index.js.map +1 -0
- package/dist/mcp-server/tools/audit/query.d.ts +58 -0
- package/dist/mcp-server/tools/audit/query.d.ts.map +1 -0
- package/dist/mcp-server/tools/audit/query.js +125 -0
- package/dist/mcp-server/tools/audit/query.js.map +1 -0
- package/dist/mcp-server/tools/audit/sync.d.ts +58 -0
- package/dist/mcp-server/tools/audit/sync.d.ts.map +1 -0
- package/dist/mcp-server/tools/audit/sync.js +126 -0
- package/dist/mcp-server/tools/audit/sync.js.map +1 -0
- package/dist/mcp-server/tools/index.d.ts +3 -0
- package/dist/mcp-server/tools/index.d.ts.map +1 -1
- package/dist/mcp-server/tools/registry.js +90 -0
- package/dist/mcp-server/tools/registry.js.map +1 -1
- package/dist/mcp-server/tools/vector/index.d.ts +12 -0
- package/dist/mcp-server/tools/vector/index.d.ts.map +1 -0
- package/dist/mcp-server/tools/vector/index.js +12 -0
- package/dist/mcp-server/tools/vector/index.js.map +1 -0
- package/dist/mcp-server/tools/vector/search.d.ts +41 -0
- package/dist/mcp-server/tools/vector/search.d.ts.map +1 -0
- package/dist/mcp-server/tools/vector/search.js +224 -0
- package/dist/mcp-server/tools/vector/search.js.map +1 -0
- package/dist/mcp-server/tools/vector/trajectory.d.ts +39 -0
- package/dist/mcp-server/tools/vector/trajectory.d.ts.map +1 -0
- package/dist/mcp-server/tools/vector/trajectory.js +170 -0
- package/dist/mcp-server/tools/vector/trajectory.js.map +1 -0
- package/dist/mcp-server/tools/vector/upsert.d.ts +44 -0
- package/dist/mcp-server/tools/vector/upsert.d.ts.map +1 -0
- package/dist/mcp-server/tools/vector/upsert.js +175 -0
- package/dist/mcp-server/tools/vector/upsert.js.map +1 -0
- package/dist/mcp-server/tools/workflow/index.d.ts +29 -0
- package/dist/mcp-server/tools/workflow/index.d.ts.map +1 -0
- package/dist/mcp-server/tools/workflow/index.js +12 -0
- package/dist/mcp-server/tools/workflow/index.js.map +1 -0
- package/dist/mcp-server/tools/workflow/list.d.ts +41 -0
- package/dist/mcp-server/tools/workflow/list.d.ts.map +1 -0
- package/dist/mcp-server/tools/workflow/list.js +195 -0
- package/dist/mcp-server/tools/workflow/list.js.map +1 -0
- package/dist/mcp-server/tools/workflow/start.d.ts +40 -0
- package/dist/mcp-server/tools/workflow/start.d.ts.map +1 -0
- package/dist/mcp-server/tools/workflow/start.js +165 -0
- package/dist/mcp-server/tools/workflow/start.js.map +1 -0
- package/dist/mcp-server/tools/workflow/status.d.ts +38 -0
- package/dist/mcp-server/tools/workflow/status.d.ts.map +1 -0
- package/dist/mcp-server/tools/workflow/status.js +97 -0
- package/dist/mcp-server/tools/workflow/status.js.map +1 -0
- package/dist/node_modules/@envelop/core/esm/create.js +31 -0
- package/dist/node_modules/@envelop/core/esm/create.js.map +1 -0
- package/dist/node_modules/@envelop/core/esm/document-string-map.js +5 -0
- package/dist/node_modules/@envelop/core/esm/document-string-map.js.map +1 -0
- package/dist/node_modules/@envelop/core/esm/orchestrator.js +407 -0
- package/dist/node_modules/@envelop/core/esm/orchestrator.js.map +1 -0
- package/dist/node_modules/@envelop/core/esm/plugins/use-engine.js +29 -0
- package/dist/node_modules/@envelop/core/esm/plugins/use-engine.js.map +1 -0
- package/dist/node_modules/@envelop/core/esm/plugins/use-extend-context.js +10 -0
- package/dist/node_modules/@envelop/core/esm/plugins/use-extend-context.js.map +1 -0
- package/dist/node_modules/@envelop/core/esm/plugins/use-masked-errors.js +86 -0
- package/dist/node_modules/@envelop/core/esm/plugins/use-masked-errors.js.map +1 -0
- package/dist/node_modules/@envelop/core/esm/utils.js +129 -0
- package/dist/node_modules/@envelop/core/esm/utils.js.map +1 -0
- package/dist/node_modules/@envelop/instrumentation/esm/instrumentation.js +51 -0
- package/dist/node_modules/@envelop/instrumentation/esm/instrumentation.js.map +1 -0
- package/dist/node_modules/@graphql-tools/executor/esm/execution/coerceError.js +26 -0
- package/dist/node_modules/@graphql-tools/executor/esm/execution/coerceError.js.map +1 -0
- package/dist/node_modules/@graphql-tools/executor/esm/execution/execute.js +1101 -0
- package/dist/node_modules/@graphql-tools/executor/esm/execution/execute.js.map +1 -0
- package/dist/node_modules/@graphql-tools/executor/esm/execution/flattenAsyncIterable.js +72 -0
- package/dist/node_modules/@graphql-tools/executor/esm/execution/flattenAsyncIterable.js.map +1 -0
- package/dist/node_modules/@graphql-tools/executor/esm/execution/invariant.js +9 -0
- package/dist/node_modules/@graphql-tools/executor/esm/execution/invariant.js.map +1 -0
- package/dist/node_modules/@graphql-tools/executor/esm/execution/normalizedExecutor.js +22 -0
- package/dist/node_modules/@graphql-tools/executor/esm/execution/normalizedExecutor.js.map +1 -0
- package/dist/node_modules/@graphql-tools/executor/esm/execution/promiseForObject.js +26 -0
- package/dist/node_modules/@graphql-tools/executor/esm/execution/promiseForObject.js.map +1 -0
- package/dist/node_modules/@graphql-tools/executor/esm/execution/values.js +73 -0
- package/dist/node_modules/@graphql-tools/executor/esm/execution/values.js.map +1 -0
- package/dist/node_modules/@graphql-tools/merge/esm/extensions.js +46 -0
- package/dist/node_modules/@graphql-tools/merge/esm/extensions.js.map +1 -0
- package/dist/node_modules/@graphql-tools/merge/esm/links.js +142 -0
- package/dist/node_modules/@graphql-tools/merge/esm/links.js.map +1 -0
- package/dist/node_modules/@graphql-tools/merge/esm/merge-resolvers.js +27 -0
- package/dist/node_modules/@graphql-tools/merge/esm/merge-resolvers.js.map +1 -0
- package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/arguments.js +23 -0
- package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/arguments.js.map +1 -0
- package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/directives.js +113 -0
- package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/directives.js.map +1 -0
- package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/enum-values.js +39 -0
- package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/enum-values.js.map +1 -0
- package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/enum.js +23 -0
- package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/enum.js.map +1 -0
- package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/fields.js +74 -0
- package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/fields.js.map +1 -0
- package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/input-type.js +27 -0
- package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/input-type.js.map +1 -0
- package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/interface.js +29 -0
- package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/interface.js.map +1 -0
- package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/merge-named-type-array.js +15 -0
- package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/merge-named-type-array.js.map +1 -0
- package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/merge-nodes.js +81 -0
- package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/merge-nodes.js.map +1 -0
- package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/merge-typedefs.js +142 -0
- package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/merge-typedefs.js.map +1 -0
- package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/scalar.js +21 -0
- package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/scalar.js.map +1 -0
- package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/schema-def.js +36 -0
- package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/schema-def.js.map +1 -0
- package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/type.js +29 -0
- package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/type.js.map +1 -0
- package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/union.js +24 -0
- package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/union.js.map +1 -0
- package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/utils.js +67 -0
- package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/utils.js.map +1 -0
- package/dist/node_modules/@graphql-tools/schema/esm/addResolversToSchema.js +287 -0
- package/dist/node_modules/@graphql-tools/schema/esm/addResolversToSchema.js.map +1 -0
- package/dist/node_modules/@graphql-tools/schema/esm/assertResolversPresent.js +42 -0
- package/dist/node_modules/@graphql-tools/schema/esm/assertResolversPresent.js.map +1 -0
- package/dist/node_modules/@graphql-tools/schema/esm/checkForResolveTypeResolver.js +22 -0
- package/dist/node_modules/@graphql-tools/schema/esm/checkForResolveTypeResolver.js.map +1 -0
- package/dist/node_modules/@graphql-tools/schema/esm/extendResolversFromInterfaces.js +34 -0
- package/dist/node_modules/@graphql-tools/schema/esm/extendResolversFromInterfaces.js.map +1 -0
- package/dist/node_modules/@graphql-tools/schema/esm/makeExecutableSchema.js +50 -0
- package/dist/node_modules/@graphql-tools/schema/esm/makeExecutableSchema.js.map +1 -0
- package/dist/node_modules/@graphql-tools/utils/esm/AccumulatorMap.js +17 -0
- package/dist/node_modules/@graphql-tools/utils/esm/AccumulatorMap.js.map +1 -0
- package/dist/node_modules/@graphql-tools/utils/esm/Interfaces.js +32 -0
- package/dist/node_modules/@graphql-tools/utils/esm/Interfaces.js.map +1 -0
- package/dist/node_modules/@graphql-tools/utils/esm/Path.js +21 -0
- package/dist/node_modules/@graphql-tools/utils/esm/Path.js.map +1 -0
- package/dist/node_modules/@graphql-tools/utils/esm/astFromType.js +31 -0
- package/dist/node_modules/@graphql-tools/utils/esm/astFromType.js.map +1 -0
- package/dist/node_modules/@graphql-tools/utils/esm/astFromValue.js +70 -0
- package/dist/node_modules/@graphql-tools/utils/esm/astFromValue.js.map +1 -0
- package/dist/node_modules/@graphql-tools/utils/esm/astFromValueUntyped.js +56 -0
- package/dist/node_modules/@graphql-tools/utils/esm/astFromValueUntyped.js.map +1 -0
- package/dist/node_modules/@graphql-tools/utils/esm/collectFields.js +137 -0
- package/dist/node_modules/@graphql-tools/utils/esm/collectFields.js.map +1 -0
- package/dist/node_modules/@graphql-tools/utils/esm/comments.js +337 -0
- package/dist/node_modules/@graphql-tools/utils/esm/comments.js.map +1 -0
- package/dist/node_modules/@graphql-tools/utils/esm/descriptionFromObject.js +20 -0
- package/dist/node_modules/@graphql-tools/utils/esm/descriptionFromObject.js.map +1 -0
- package/dist/node_modules/@graphql-tools/utils/esm/directives.js +46 -0
- package/dist/node_modules/@graphql-tools/utils/esm/directives.js.map +1 -0
- package/dist/node_modules/@graphql-tools/utils/esm/errors.js +52 -0
- package/dist/node_modules/@graphql-tools/utils/esm/errors.js.map +1 -0
- package/dist/node_modules/@graphql-tools/utils/esm/forEachDefaultValue.js +28 -0
- package/dist/node_modules/@graphql-tools/utils/esm/forEachDefaultValue.js.map +1 -0
- package/dist/node_modules/@graphql-tools/utils/esm/forEachField.js +18 -0
- package/dist/node_modules/@graphql-tools/utils/esm/forEachField.js.map +1 -0
- package/dist/node_modules/@graphql-tools/utils/esm/get-directives.js +12 -0
- package/dist/node_modules/@graphql-tools/utils/esm/get-directives.js.map +1 -0
- package/dist/node_modules/@graphql-tools/utils/esm/getArgumentValues.js +61 -0
- package/dist/node_modules/@graphql-tools/utils/esm/getArgumentValues.js.map +1 -0
- package/dist/node_modules/@graphql-tools/utils/esm/getDirectiveExtensions.js +76 -0
- package/dist/node_modules/@graphql-tools/utils/esm/getDirectiveExtensions.js.map +1 -0
- package/dist/node_modules/@graphql-tools/utils/esm/getObjectTypeFromTypeMap.js +13 -0
- package/dist/node_modules/@graphql-tools/utils/esm/getObjectTypeFromTypeMap.js.map +1 -0
- package/dist/node_modules/@graphql-tools/utils/esm/heal.js +120 -0
- package/dist/node_modules/@graphql-tools/utils/esm/heal.js.map +1 -0
- package/dist/node_modules/@graphql-tools/utils/esm/helpers.js +42 -0
- package/dist/node_modules/@graphql-tools/utils/esm/helpers.js.map +1 -0
- package/dist/node_modules/@graphql-tools/utils/esm/isAsyncIterable.js +7 -0
- package/dist/node_modules/@graphql-tools/utils/esm/isAsyncIterable.js.map +1 -0
- package/dist/node_modules/@graphql-tools/utils/esm/isDocumentNode.js +8 -0
- package/dist/node_modules/@graphql-tools/utils/esm/isDocumentNode.js.map +1 -0
- package/dist/node_modules/@graphql-tools/utils/esm/jsutils.js +26 -0
- package/dist/node_modules/@graphql-tools/utils/esm/jsutils.js.map +1 -0
- package/dist/node_modules/@graphql-tools/utils/esm/mapSchema.js +439 -0
- package/dist/node_modules/@graphql-tools/utils/esm/mapSchema.js.map +1 -0
- package/dist/node_modules/@graphql-tools/utils/esm/memoize.js +104 -0
- package/dist/node_modules/@graphql-tools/utils/esm/memoize.js.map +1 -0
- package/dist/node_modules/@graphql-tools/utils/esm/mergeDeep.js +86 -0
- package/dist/node_modules/@graphql-tools/utils/esm/mergeDeep.js.map +1 -0
- package/dist/node_modules/@graphql-tools/utils/esm/print-schema-with-directives.js +370 -0
- package/dist/node_modules/@graphql-tools/utils/esm/print-schema-with-directives.js.map +1 -0
- package/dist/node_modules/@graphql-tools/utils/esm/rewire.js +155 -0
- package/dist/node_modules/@graphql-tools/utils/esm/rewire.js.map +1 -0
- package/dist/node_modules/@graphql-tools/utils/esm/rootTypes.js +33 -0
- package/dist/node_modules/@graphql-tools/utils/esm/rootTypes.js.map +1 -0
- package/dist/node_modules/@graphql-tools/utils/esm/stub.js +32 -0
- package/dist/node_modules/@graphql-tools/utils/esm/stub.js.map +1 -0
- package/dist/node_modules/@graphql-tools/utils/esm/transformInputValue.js +47 -0
- package/dist/node_modules/@graphql-tools/utils/esm/transformInputValue.js.map +1 -0
- package/dist/node_modules/@graphql-yoga/logger/esm/index.js +42 -0
- package/dist/node_modules/@graphql-yoga/logger/esm/index.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/project-service/dist/createProjectService.js +126 -0
- package/dist/node_modules/@typescript-eslint/project-service/dist/createProjectService.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/project-service/dist/getParsedConfigFileFromTSServer.js +25 -0
- package/dist/node_modules/@typescript-eslint/project-service/dist/getParsedConfigFileFromTSServer.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/project-service/dist/index.js +32 -0
- package/dist/node_modules/@typescript-eslint/project-service/dist/index.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/tsconfig-utils/dist/compilerOptions.js +20 -0
- package/dist/node_modules/@typescript-eslint/tsconfig-utils/dist/compilerOptions.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/tsconfig-utils/dist/getParsedConfigFile.js +87 -0
- package/dist/node_modules/@typescript-eslint/tsconfig-utils/dist/getParsedConfigFile.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/tsconfig-utils/dist/index.js +34 -0
- package/dist/node_modules/@typescript-eslint/tsconfig-utils/dist/index.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js +201 -0
- package/dist/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/types/dist/index.js +45 -0
- package/dist/node_modules/@typescript-eslint/types/dist/index.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/types/dist/lib.js +12 -0
- package/dist/node_modules/@typescript-eslint/types/dist/lib.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/types/dist/parser-options.js +12 -0
- package/dist/node_modules/@typescript-eslint/types/dist/parser-options.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/types/dist/ts-estree.js +52 -0
- package/dist/node_modules/@typescript-eslint/types/dist/ts-estree.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js +54 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/check-modifiers.js +207 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/check-modifiers.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/clear-caches.js +34 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/clear-caches.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js +81 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/convert.js +2438 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/convert.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js +117 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js +33 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgramError.js +82 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgramError.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js +84 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/create-program/describeFilePath.js +31 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/create-program/describeFilePath.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js +90 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js +292 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js +134 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js +91 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/create-program/validateDefaultProjectForFilesGlob.js +35 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/create-program/validateDefaultProjectForFilesGlob.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.js +39 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.js +88 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/index.js +90 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/index.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/jsx/xhtml-entities.js +268 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/jsx/xhtml-entities.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js +533 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/ExpiringCache.js +50 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/ExpiringCache.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/candidateTSConfigRootDirs.js +38 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/candidateTSConfigRootDirs.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js +216 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js +87 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/inferSingleRun.js +53 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/inferSingleRun.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js +89 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/warnAboutTSVersion.js +92 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/warnAboutTSVersion.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/parser.js +132 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/parser.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.js +124 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.js +64 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/source-files.js +63 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/source-files.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.js +12 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.js +46 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.js +12 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/useProgramFromProjectService.js +205 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/useProgramFromProjectService.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js +75 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/version.js +15 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/version.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/withoutProjectParserOptions.js +17 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/dist/withoutProjectParserOptions.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +23 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/ast.js +495 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/ast.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/brace-expressions.js +121 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/escape.js +17 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/escape.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/index.js +763 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/index.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/unescape.js +17 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/unescape.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/package.json.js +9 -0
- package/dist/node_modules/@typescript-eslint/typescript-estree/package.json.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js +16 -0
- package/dist/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/visitor-keys/dist/index.js +25 -0
- package/dist/node_modules/@typescript-eslint/visitor-keys/dist/index.js.map +1 -0
- package/dist/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js +187 -0
- package/dist/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js.map +1 -0
- package/dist/node_modules/@whatwg-node/disposablestack/esm/AsyncDisposableStack.js +72 -0
- package/dist/node_modules/@whatwg-node/disposablestack/esm/AsyncDisposableStack.js.map +1 -0
- package/dist/node_modules/@whatwg-node/disposablestack/esm/SupressedError.js +16 -0
- package/dist/node_modules/@whatwg-node/disposablestack/esm/SupressedError.js.map +1 -0
- package/dist/node_modules/@whatwg-node/disposablestack/esm/index.js +6 -0
- package/dist/node_modules/@whatwg-node/disposablestack/esm/index.js.map +1 -0
- package/dist/node_modules/@whatwg-node/disposablestack/esm/symbols.js +12 -0
- package/dist/node_modules/@whatwg-node/disposablestack/esm/symbols.js.map +1 -0
- package/dist/node_modules/@whatwg-node/disposablestack/esm/utils.js +12 -0
- package/dist/node_modules/@whatwg-node/disposablestack/esm/utils.js.map +1 -0
- package/dist/node_modules/@whatwg-node/fetch/dist/global-ponyfill.js +33 -0
- package/dist/node_modules/@whatwg-node/fetch/dist/global-ponyfill.js.map +1 -0
- package/dist/node_modules/@whatwg-node/promise-helpers/esm/index.js +241 -0
- package/dist/node_modules/@whatwg-node/promise-helpers/esm/index.js.map +1 -0
- package/dist/node_modules/@whatwg-node/server/esm/createServerAdapter.js +333 -0
- package/dist/node_modules/@whatwg-node/server/esm/createServerAdapter.js.map +1 -0
- package/dist/node_modules/@whatwg-node/server/esm/plugins/useCors.js +106 -0
- package/dist/node_modules/@whatwg-node/server/esm/plugins/useCors.js.map +1 -0
- package/dist/node_modules/@whatwg-node/server/esm/utils.js +476 -0
- package/dist/node_modules/@whatwg-node/server/esm/utils.js.map +1 -0
- package/dist/node_modules/@whatwg-node/server/esm/uwebsockets.js +232 -0
- package/dist/node_modules/@whatwg-node/server/esm/uwebsockets.js.map +1 -0
- package/dist/node_modules/balanced-match/index.js +62 -0
- package/dist/node_modules/balanced-match/index.js.map +1 -0
- package/dist/node_modules/brace-expansion/index.js +156 -0
- package/dist/node_modules/brace-expansion/index.js.map +1 -0
- package/dist/node_modules/cross-inspect/esm/index.js +89 -0
- package/dist/node_modules/cross-inspect/esm/index.js.map +1 -0
- package/dist/node_modules/debug/src/browser.js +178 -0
- package/dist/node_modules/debug/src/browser.js.map +1 -0
- package/dist/node_modules/debug/src/common.js +183 -0
- package/dist/node_modules/debug/src/common.js.map +1 -0
- package/dist/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.js +353 -0
- package/dist/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.js.map +1 -0
- package/dist/node_modules/fdir/dist/index.js +540 -0
- package/dist/node_modules/fdir/dist/index.js.map +1 -0
- package/dist/node_modules/graphql/error/GraphQLError.js +154 -0
- package/dist/node_modules/graphql/error/GraphQLError.js.map +1 -0
- package/dist/node_modules/graphql/error/locatedError.js +23 -0
- package/dist/node_modules/graphql/error/locatedError.js.map +1 -0
- package/dist/node_modules/graphql/error/syntaxError.js +11 -0
- package/dist/node_modules/graphql/error/syntaxError.js.map +1 -0
- package/dist/node_modules/graphql/execution/collectFields.js +128 -0
- package/dist/node_modules/graphql/execution/collectFields.js.map +1 -0
- package/dist/node_modules/graphql/execution/execute.js +606 -0
- package/dist/node_modules/graphql/execution/execute.js.map +1 -0
- package/dist/node_modules/graphql/execution/mapAsyncIterator.js +46 -0
- package/dist/node_modules/graphql/execution/mapAsyncIterator.js.map +1 -0
- package/dist/node_modules/graphql/execution/subscribe.js +121 -0
- package/dist/node_modules/graphql/execution/subscribe.js.map +1 -0
- package/dist/node_modules/graphql/execution/values.js +184 -0
- package/dist/node_modules/graphql/execution/values.js.map +1 -0
- package/dist/node_modules/graphql/jsutils/Path.js +21 -0
- package/dist/node_modules/graphql/jsutils/Path.js.map +1 -0
- package/dist/node_modules/graphql/jsutils/devAssert.js +10 -0
- package/dist/node_modules/graphql/jsutils/devAssert.js.map +1 -0
- package/dist/node_modules/graphql/jsutils/didYouMean.js +24 -0
- package/dist/node_modules/graphql/jsutils/didYouMean.js.map +1 -0
- package/dist/node_modules/graphql/jsutils/groupBy.js +17 -0
- package/dist/node_modules/graphql/jsutils/groupBy.js.map +1 -0
- package/dist/node_modules/graphql/jsutils/identityFunc.js +7 -0
- package/dist/node_modules/graphql/jsutils/identityFunc.js.map +1 -0
- package/dist/node_modules/graphql/jsutils/inspect.js +85 -0
- package/dist/node_modules/graphql/jsutils/inspect.js.map +1 -0
- package/dist/node_modules/graphql/jsutils/instanceOf.js +42 -0
- package/dist/node_modules/graphql/jsutils/instanceOf.js.map +1 -0
- package/dist/node_modules/graphql/jsutils/invariant.js +12 -0
- package/dist/node_modules/graphql/jsutils/invariant.js.map +1 -0
- package/dist/node_modules/graphql/jsutils/isAsyncIterable.js +7 -0
- package/dist/node_modules/graphql/jsutils/isAsyncIterable.js.map +1 -0
- package/dist/node_modules/graphql/jsutils/isIterableObject.js +7 -0
- package/dist/node_modules/graphql/jsutils/isIterableObject.js.map +1 -0
- package/dist/node_modules/graphql/jsutils/isObjectLike.js +7 -0
- package/dist/node_modules/graphql/jsutils/isObjectLike.js.map +1 -0
- package/dist/node_modules/graphql/jsutils/isPromise.js +7 -0
- package/dist/node_modules/graphql/jsutils/isPromise.js.map +1 -0
- package/dist/node_modules/graphql/jsutils/keyMap.js +11 -0
- package/dist/node_modules/graphql/jsutils/keyMap.js.map +1 -0
- package/dist/node_modules/graphql/jsutils/keyValMap.js +11 -0
- package/dist/node_modules/graphql/jsutils/keyValMap.js.map +1 -0
- package/dist/node_modules/graphql/jsutils/mapValue.js +11 -0
- package/dist/node_modules/graphql/jsutils/mapValue.js.map +1 -0
- package/dist/node_modules/graphql/jsutils/memoize3.js +28 -0
- package/dist/node_modules/graphql/jsutils/memoize3.js.map +1 -0
- package/dist/node_modules/graphql/jsutils/naturalCompare.js +47 -0
- package/dist/node_modules/graphql/jsutils/naturalCompare.js.map +1 -0
- package/dist/node_modules/graphql/jsutils/printPathArray.js +9 -0
- package/dist/node_modules/graphql/jsutils/printPathArray.js.map +1 -0
- package/dist/node_modules/graphql/jsutils/promiseForObject.js +13 -0
- package/dist/node_modules/graphql/jsutils/promiseForObject.js.map +1 -0
- package/dist/node_modules/graphql/jsutils/promiseReduce.js +12 -0
- package/dist/node_modules/graphql/jsutils/promiseReduce.js.map +1 -0
- package/dist/node_modules/graphql/jsutils/suggestionList.js +94 -0
- package/dist/node_modules/graphql/jsutils/suggestionList.js.map +1 -0
- package/dist/node_modules/graphql/jsutils/toError.js +15 -0
- package/dist/node_modules/graphql/jsutils/toError.js.map +1 -0
- package/dist/node_modules/graphql/jsutils/toObjMap.js +17 -0
- package/dist/node_modules/graphql/jsutils/toObjMap.js.map +1 -0
- package/dist/node_modules/graphql/language/ast.js +189 -0
- package/dist/node_modules/graphql/language/ast.js.map +1 -0
- package/dist/node_modules/graphql/language/blockString.js +60 -0
- package/dist/node_modules/graphql/language/blockString.js.map +1 -0
- package/dist/node_modules/graphql/language/characterClasses.js +24 -0
- package/dist/node_modules/graphql/language/characterClasses.js.map +1 -0
- package/dist/node_modules/graphql/language/directiveLocation.js +26 -0
- package/dist/node_modules/graphql/language/directiveLocation.js.map +1 -0
- package/dist/node_modules/graphql/language/kinds.js +55 -0
- package/dist/node_modules/graphql/language/kinds.js.map +1 -0
- package/dist/node_modules/graphql/language/lexer.js +543 -0
- package/dist/node_modules/graphql/language/lexer.js.map +1 -0
- package/dist/node_modules/graphql/language/location.js +22 -0
- package/dist/node_modules/graphql/language/location.js.map +1 -0
- package/dist/node_modules/graphql/language/parser.js +1343 -0
- package/dist/node_modules/graphql/language/parser.js.map +1 -0
- package/dist/node_modules/graphql/language/predicates.js +28 -0
- package/dist/node_modules/graphql/language/predicates.js.map +1 -0
- package/dist/node_modules/graphql/language/printLocation.js +51 -0
- package/dist/node_modules/graphql/language/printLocation.js.map +1 -0
- package/dist/node_modules/graphql/language/printString.js +178 -0
- package/dist/node_modules/graphql/language/printString.js.map +1 -0
- package/dist/node_modules/graphql/language/printer.js +269 -0
- package/dist/node_modules/graphql/language/printer.js.map +1 -0
- package/dist/node_modules/graphql/language/source.js +33 -0
- package/dist/node_modules/graphql/language/source.js.map +1 -0
- package/dist/node_modules/graphql/language/tokenKind.js +30 -0
- package/dist/node_modules/graphql/language/tokenKind.js.map +1 -0
- package/dist/node_modules/graphql/language/visitor.js +192 -0
- package/dist/node_modules/graphql/language/visitor.js.map +1 -0
- package/dist/node_modules/graphql/type/assertName.js +34 -0
- package/dist/node_modules/graphql/type/assertName.js.map +1 -0
- package/dist/node_modules/graphql/type/definition.js +648 -0
- package/dist/node_modules/graphql/type/definition.js.map +1 -0
- package/dist/node_modules/graphql/type/directives.js +137 -0
- package/dist/node_modules/graphql/type/directives.js.map +1 -0
- package/dist/node_modules/graphql/type/introspection.js +506 -0
- package/dist/node_modules/graphql/type/introspection.js.map +1 -0
- package/dist/node_modules/graphql/type/scalars.js +248 -0
- package/dist/node_modules/graphql/type/scalars.js.map +1 -0
- package/dist/node_modules/graphql/type/schema.js +223 -0
- package/dist/node_modules/graphql/type/schema.js.map +1 -0
- package/dist/node_modules/graphql/type/validate.js +461 -0
- package/dist/node_modules/graphql/type/validate.js.map +1 -0
- package/dist/node_modules/graphql/utilities/TypeInfo.js +257 -0
- package/dist/node_modules/graphql/utilities/TypeInfo.js.map +1 -0
- package/dist/node_modules/graphql/utilities/astFromValue.js +111 -0
- package/dist/node_modules/graphql/utilities/astFromValue.js.map +1 -0
- package/dist/node_modules/graphql/utilities/buildASTSchema.js +65 -0
- package/dist/node_modules/graphql/utilities/buildASTSchema.js.map +1 -0
- package/dist/node_modules/graphql/utilities/coerceInputValue.js +154 -0
- package/dist/node_modules/graphql/utilities/coerceInputValue.js.map +1 -0
- package/dist/node_modules/graphql/utilities/extendSchema.js +456 -0
- package/dist/node_modules/graphql/utilities/extendSchema.js.map +1 -0
- package/dist/node_modules/graphql/utilities/getOperationAST.js +22 -0
- package/dist/node_modules/graphql/utilities/getOperationAST.js.map +1 -0
- package/dist/node_modules/graphql/utilities/sortValueNode.js +30 -0
- package/dist/node_modules/graphql/utilities/sortValueNode.js.map +1 -0
- package/dist/node_modules/graphql/utilities/typeComparators.js +58 -0
- package/dist/node_modules/graphql/utilities/typeComparators.js.map +1 -0
- package/dist/node_modules/graphql/utilities/typeFromAST.js +20 -0
- package/dist/node_modules/graphql/utilities/typeFromAST.js.map +1 -0
- package/dist/node_modules/graphql/utilities/valueFromAST.js +109 -0
- package/dist/node_modules/graphql/utilities/valueFromAST.js.map +1 -0
- package/dist/node_modules/graphql/utilities/valueFromASTUntyped.js +32 -0
- package/dist/node_modules/graphql/utilities/valueFromASTUntyped.js.map +1 -0
- package/dist/node_modules/graphql/validation/ValidationContext.js +171 -0
- package/dist/node_modules/graphql/validation/ValidationContext.js.map +1 -0
- package/dist/node_modules/graphql/validation/rules/ExecutableDefinitionsRule.js +24 -0
- package/dist/node_modules/graphql/validation/rules/ExecutableDefinitionsRule.js.map +1 -0
- package/dist/node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.js +80 -0
- package/dist/node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.js.map +1 -0
- package/dist/node_modules/graphql/validation/rules/FragmentsOnCompositeTypesRule.js +43 -0
- package/dist/node_modules/graphql/validation/rules/FragmentsOnCompositeTypesRule.js.map +1 -0
- package/dist/node_modules/graphql/validation/rules/KnownArgumentNamesRule.js +73 -0
- package/dist/node_modules/graphql/validation/rules/KnownArgumentNamesRule.js.map +1 -0
- package/dist/node_modules/graphql/validation/rules/KnownDirectivesRule.js +112 -0
- package/dist/node_modules/graphql/validation/rules/KnownDirectivesRule.js.map +1 -0
- package/dist/node_modules/graphql/validation/rules/KnownFragmentNamesRule.js +20 -0
- package/dist/node_modules/graphql/validation/rules/KnownFragmentNamesRule.js.map +1 -0
- package/dist/node_modules/graphql/validation/rules/KnownTypeNamesRule.js +55 -0
- package/dist/node_modules/graphql/validation/rules/KnownTypeNamesRule.js.map +1 -0
- package/dist/node_modules/graphql/validation/rules/LoneAnonymousOperationRule.js +28 -0
- package/dist/node_modules/graphql/validation/rules/LoneAnonymousOperationRule.js.map +1 -0
- package/dist/node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.js +34 -0
- package/dist/node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.js.map +1 -0
- package/dist/node_modules/graphql/validation/rules/MaxIntrospectionDepthRule.js +56 -0
- package/dist/node_modules/graphql/validation/rules/MaxIntrospectionDepthRule.js.map +1 -0
- package/dist/node_modules/graphql/validation/rules/NoFragmentCyclesRule.js +53 -0
- package/dist/node_modules/graphql/validation/rules/NoFragmentCyclesRule.js.map +1 -0
- package/dist/node_modules/graphql/validation/rules/NoUndefinedVariablesRule.js +34 -0
- package/dist/node_modules/graphql/validation/rules/NoUndefinedVariablesRule.js.map +1 -0
- package/dist/node_modules/graphql/validation/rules/NoUnusedFragmentsRule.js +41 -0
- package/dist/node_modules/graphql/validation/rules/NoUnusedFragmentsRule.js.map +1 -0
- package/dist/node_modules/graphql/validation/rules/NoUnusedVariablesRule.js +38 -0
- package/dist/node_modules/graphql/validation/rules/NoUnusedVariablesRule.js.map +1 -0
- package/dist/node_modules/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.js +519 -0
- package/dist/node_modules/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.js.map +1 -0
- package/dist/node_modules/graphql/validation/rules/PossibleFragmentSpreadsRule.js +55 -0
- package/dist/node_modules/graphql/validation/rules/PossibleFragmentSpreadsRule.js.map +1 -0
- package/dist/node_modules/graphql/validation/rules/PossibleTypeExtensionsRule.js +113 -0
- package/dist/node_modules/graphql/validation/rules/PossibleTypeExtensionsRule.js.map +1 -0
- package/dist/node_modules/graphql/validation/rules/ProvidedRequiredArgumentsRule.js +99 -0
- package/dist/node_modules/graphql/validation/rules/ProvidedRequiredArgumentsRule.js.map +1 -0
- package/dist/node_modules/graphql/validation/rules/ScalarLeafsRule.js +53 -0
- package/dist/node_modules/graphql/validation/rules/ScalarLeafsRule.js.map +1 -0
- package/dist/node_modules/graphql/validation/rules/SingleFieldSubscriptionsRule.js +62 -0
- package/dist/node_modules/graphql/validation/rules/SingleFieldSubscriptionsRule.js.map +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueArgumentDefinitionNamesRule.js +47 -0
- package/dist/node_modules/graphql/validation/rules/UniqueArgumentDefinitionNamesRule.js.map +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueArgumentNamesRule.js +29 -0
- package/dist/node_modules/graphql/validation/rules/UniqueArgumentNamesRule.js.map +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueDirectiveNamesRule.js +38 -0
- package/dist/node_modules/graphql/validation/rules/UniqueDirectiveNamesRule.js.map +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.js +63 -0
- package/dist/node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.js.map +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.js +50 -0
- package/dist/node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.js.map +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.js +59 -0
- package/dist/node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.js.map +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueFragmentNamesRule.js +27 -0
- package/dist/node_modules/graphql/validation/rules/UniqueFragmentNamesRule.js.map +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.js +38 -0
- package/dist/node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.js.map +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueOperationNamesRule.js +32 -0
- package/dist/node_modules/graphql/validation/rules/UniqueOperationNamesRule.js.map +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueOperationTypesRule.js +48 -0
- package/dist/node_modules/graphql/validation/rules/UniqueOperationTypesRule.js.map +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueTypeNamesRule.js +41 -0
- package/dist/node_modules/graphql/validation/rules/UniqueTypeNamesRule.js.map +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueVariableNamesRule.js +30 -0
- package/dist/node_modules/graphql/validation/rules/UniqueVariableNamesRule.js.map +1 -0
- package/dist/node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.js +170 -0
- package/dist/node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.js.map +1 -0
- package/dist/node_modules/graphql/validation/rules/VariablesAreInputTypesRule.js +27 -0
- package/dist/node_modules/graphql/validation/rules/VariablesAreInputTypesRule.js.map +1 -0
- package/dist/node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.js +74 -0
- package/dist/node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.js.map +1 -0
- package/dist/node_modules/graphql/validation/specifiedRules.js +88 -0
- package/dist/node_modules/graphql/validation/specifiedRules.js.map +1 -0
- package/dist/node_modules/graphql/validation/validate.js +65 -0
- package/dist/node_modules/graphql/validation/validate.js.map +1 -0
- package/dist/node_modules/graphql/version.js +10 -0
- package/dist/node_modules/graphql/version.js.map +1 -0
- package/dist/node_modules/graphql-ws/lib/common.js +127 -0
- package/dist/node_modules/graphql-ws/lib/common.js.map +1 -0
- package/dist/node_modules/graphql-ws/lib/server.js +257 -0
- package/dist/node_modules/graphql-ws/lib/server.js.map +1 -0
- package/dist/node_modules/graphql-ws/lib/use/ws.js +83 -0
- package/dist/node_modules/graphql-ws/lib/use/ws.js.map +1 -0
- package/dist/node_modules/graphql-ws/lib/utils.js +35 -0
- package/dist/node_modules/graphql-ws/lib/utils.js.map +1 -0
- package/dist/node_modules/graphql-yoga/esm/error.js +127 -0
- package/dist/node_modules/graphql-yoga/esm/error.js.map +1 -0
- package/dist/node_modules/graphql-yoga/esm/graphiql-html.js +5 -0
- package/dist/node_modules/graphql-yoga/esm/graphiql-html.js.map +1 -0
- package/dist/node_modules/graphql-yoga/esm/landing-page-html.js +21 -0
- package/dist/node_modules/graphql-yoga/esm/landing-page-html.js.map +1 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/allowed-headers.js +26 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/allowed-headers.js.map +1 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/request-parser/get.js +15 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/request-parser/get.js.map +1 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/request-parser/post-form-url-encoded.js +12 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/request-parser/post-form-url-encoded.js.map +1 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/request-parser/post-graphql-string.js +12 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/request-parser/post-graphql-string.js.map +1 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/request-parser/post-json.js +58 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/request-parser/post-json.js.map +1 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/request-parser/post-multipart.js +78 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/request-parser/post-multipart.js.map +1 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/request-parser/utils.js +28 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/request-parser/utils.js.map +1 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/request-validation/use-check-graphql-query-params.js +131 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/request-validation/use-check-graphql-query-params.js.map +1 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/request-validation/use-check-method-for-graphql.js +28 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/request-validation/use-check-method-for-graphql.js.map +1 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/request-validation/use-http-validation-error.js +21 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/request-validation/use-http-validation-error.js.map +1 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/request-validation/use-limit-batching.js +37 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/request-validation/use-limit-batching.js.map +1 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/request-validation/use-prevent-mutation-via-get.js +61 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/request-validation/use-prevent-mutation-via-get.js.map +1 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/result-processor/accept.js +28 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/result-processor/accept.js.map +1 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/result-processor/multipart.js +68 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/result-processor/multipart.js.map +1 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/result-processor/regular.js +29 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/result-processor/regular.js.map +1 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/result-processor/sse.js +83 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/result-processor/sse.js.map +1 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/result-processor/stringify.js +47 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/result-processor/stringify.js.map +1 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/use-graphiql.js +55 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/use-graphiql.js.map +1 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/use-health-check.js +20 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/use-health-check.js.map +1 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/use-parser-and-validation-cache.js +63 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/use-parser-and-validation-cache.js.map +1 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/use-request-parser.js +15 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/use-request-parser.js.map +1 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/use-result-processor.js +58 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/use-result-processor.js.map +1 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/use-schema.js +76 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/use-schema.js.map +1 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/use-unhandled-route.js +52 -0
- package/dist/node_modules/graphql-yoga/esm/plugins/use-unhandled-route.js.map +1 -0
- package/dist/node_modules/graphql-yoga/esm/process-request.js +56 -0
- package/dist/node_modules/graphql-yoga/esm/process-request.js.map +1 -0
- package/dist/node_modules/graphql-yoga/esm/server.js +374 -0
- package/dist/node_modules/graphql-yoga/esm/server.js.map +1 -0
- package/dist/node_modules/graphql-yoga/esm/utils/create-lru-cache.js +10 -0
- package/dist/node_modules/graphql-yoga/esm/utils/create-lru-cache.js.map +1 -0
- package/dist/node_modules/graphql-yoga/esm/utils/mask-error.js +47 -0
- package/dist/node_modules/graphql-yoga/esm/utils/mask-error.js.map +1 -0
- package/dist/node_modules/graphql-yoga/node_modules/lru-cache/dist/esm/index.js +1370 -0
- package/dist/node_modules/graphql-yoga/node_modules/lru-cache/dist/esm/index.js.map +1 -0
- package/dist/node_modules/ms/index.js +121 -0
- package/dist/node_modules/ms/index.js.map +1 -0
- package/dist/node_modules/picomatch/index.js +23 -0
- package/dist/node_modules/picomatch/index.js.map +1 -0
- package/dist/node_modules/picomatch/lib/constants.js +203 -0
- package/dist/node_modules/picomatch/lib/constants.js.map +1 -0
- package/dist/node_modules/picomatch/lib/parse.js +774 -0
- package/dist/node_modules/picomatch/lib/parse.js.map +1 -0
- package/dist/node_modules/picomatch/lib/picomatch.js +148 -0
- package/dist/node_modules/picomatch/lib/picomatch.js.map +1 -0
- package/dist/node_modules/picomatch/lib/scan.js +336 -0
- package/dist/node_modules/picomatch/lib/scan.js.map +1 -0
- package/dist/node_modules/picomatch/lib/utils.js +71 -0
- package/dist/node_modules/picomatch/lib/utils.js.map +1 -0
- package/dist/node_modules/semver/classes/comparator.js +123 -0
- package/dist/node_modules/semver/classes/comparator.js.map +1 -0
- package/dist/node_modules/semver/classes/range.js +388 -0
- package/dist/node_modules/semver/classes/range.js.map +1 -0
- package/dist/node_modules/semver/classes/semver.js +288 -0
- package/dist/node_modules/semver/classes/semver.js.map +1 -0
- package/dist/node_modules/semver/functions/clean.js +18 -0
- package/dist/node_modules/semver/functions/clean.js.map +1 -0
- package/dist/node_modules/semver/functions/cmp.js +60 -0
- package/dist/node_modules/semver/functions/cmp.js.map +1 -0
- package/dist/node_modules/semver/functions/coerce.js +53 -0
- package/dist/node_modules/semver/functions/coerce.js.map +1 -0
- package/dist/node_modules/semver/functions/compare-build.js +19 -0
- package/dist/node_modules/semver/functions/compare-build.js.map +1 -0
- package/dist/node_modules/semver/functions/compare-loose.js +15 -0
- package/dist/node_modules/semver/functions/compare-loose.js.map +1 -0
- package/dist/node_modules/semver/functions/compare.js +15 -0
- package/dist/node_modules/semver/functions/compare.js.map +1 -0
- package/dist/node_modules/semver/functions/diff.js +49 -0
- package/dist/node_modules/semver/functions/diff.js.map +1 -0
- package/dist/node_modules/semver/functions/eq.js +15 -0
- package/dist/node_modules/semver/functions/eq.js.map +1 -0
- package/dist/node_modules/semver/functions/gt.js +15 -0
- package/dist/node_modules/semver/functions/gt.js.map +1 -0
- package/dist/node_modules/semver/functions/gte.js +15 -0
- package/dist/node_modules/semver/functions/gte.js.map +1 -0
- package/dist/node_modules/semver/functions/inc.js +29 -0
- package/dist/node_modules/semver/functions/inc.js.map +1 -0
- package/dist/node_modules/semver/functions/lt.js +15 -0
- package/dist/node_modules/semver/functions/lt.js.map +1 -0
- package/dist/node_modules/semver/functions/lte.js +15 -0
- package/dist/node_modules/semver/functions/lte.js.map +1 -0
- package/dist/node_modules/semver/functions/major.js +15 -0
- package/dist/node_modules/semver/functions/major.js.map +1 -0
- package/dist/node_modules/semver/functions/minor.js +15 -0
- package/dist/node_modules/semver/functions/minor.js.map +1 -0
- package/dist/node_modules/semver/functions/neq.js +15 -0
- package/dist/node_modules/semver/functions/neq.js.map +1 -0
- package/dist/node_modules/semver/functions/parse.js +27 -0
- package/dist/node_modules/semver/functions/parse.js.map +1 -0
- package/dist/node_modules/semver/functions/patch.js +15 -0
- package/dist/node_modules/semver/functions/patch.js.map +1 -0
- package/dist/node_modules/semver/functions/prerelease.js +18 -0
- package/dist/node_modules/semver/functions/prerelease.js.map +1 -0
- package/dist/node_modules/semver/functions/rcompare.js +15 -0
- package/dist/node_modules/semver/functions/rcompare.js.map +1 -0
- package/dist/node_modules/semver/functions/rsort.js +15 -0
- package/dist/node_modules/semver/functions/rsort.js.map +1 -0
- package/dist/node_modules/semver/functions/satisfies.js +22 -0
- package/dist/node_modules/semver/functions/satisfies.js.map +1 -0
- package/dist/node_modules/semver/functions/sort.js +15 -0
- package/dist/node_modules/semver/functions/sort.js.map +1 -0
- package/dist/node_modules/semver/functions/valid.js +18 -0
- package/dist/node_modules/semver/functions/valid.js.map +1 -0
- package/dist/node_modules/semver/index.js +140 -0
- package/dist/node_modules/semver/index.js.map +1 -0
- package/dist/node_modules/semver/internal/constants.js +36 -0
- package/dist/node_modules/semver/internal/constants.js.map +1 -0
- package/dist/node_modules/semver/internal/debug.js +14 -0
- package/dist/node_modules/semver/internal/debug.js.map +1 -0
- package/dist/node_modules/semver/internal/identifiers.js +29 -0
- package/dist/node_modules/semver/internal/identifiers.js.map +1 -0
- package/dist/node_modules/semver/internal/lrucache.js +42 -0
- package/dist/node_modules/semver/internal/lrucache.js.map +1 -0
- package/dist/node_modules/semver/internal/parse-options.js +23 -0
- package/dist/node_modules/semver/internal/parse-options.js.map +1 -0
- package/dist/node_modules/semver/internal/re.js +96 -0
- package/dist/node_modules/semver/internal/re.js.map +1 -0
- package/dist/node_modules/semver/ranges/gtr.js +15 -0
- package/dist/node_modules/semver/ranges/gtr.js.map +1 -0
- package/dist/node_modules/semver/ranges/intersects.js +19 -0
- package/dist/node_modules/semver/ranges/intersects.js.map +1 -0
- package/dist/node_modules/semver/ranges/ltr.js +15 -0
- package/dist/node_modules/semver/ranges/ltr.js.map +1 -0
- package/dist/node_modules/semver/ranges/max-satisfying.js +35 -0
- package/dist/node_modules/semver/ranges/max-satisfying.js.map +1 -0
- package/dist/node_modules/semver/ranges/min-satisfying.js +35 -0
- package/dist/node_modules/semver/ranges/min-satisfying.js.map +1 -0
- package/dist/node_modules/semver/ranges/min-version.js +66 -0
- package/dist/node_modules/semver/ranges/min-version.js.map +1 -0
- package/dist/node_modules/semver/ranges/outside.js +81 -0
- package/dist/node_modules/semver/ranges/outside.js.map +1 -0
- package/dist/node_modules/semver/ranges/simplify.js +56 -0
- package/dist/node_modules/semver/ranges/simplify.js.map +1 -0
- package/dist/node_modules/semver/ranges/subset.js +170 -0
- package/dist/node_modules/semver/ranges/subset.js.map +1 -0
- package/dist/node_modules/semver/ranges/to-comparators.js +15 -0
- package/dist/node_modules/semver/ranges/to-comparators.js.map +1 -0
- package/dist/node_modules/semver/ranges/valid.js +21 -0
- package/dist/node_modules/semver/ranges/valid.js.map +1 -0
- package/dist/node_modules/tinyglobby/dist/index.js +332 -0
- package/dist/node_modules/tinyglobby/dist/index.js.map +1 -0
- package/dist/node_modules/ts-api-utils/lib/index.js +2361 -0
- package/dist/node_modules/ts-api-utils/lib/index.js.map +1 -0
- package/dist/node_modules/typescript/lib/tsserverlibrary.js +33 -0
- package/dist/node_modules/typescript/lib/tsserverlibrary.js.map +1 -0
- package/dist/node_modules/typescript/lib/typescript.js +210602 -0
- package/dist/node_modules/typescript/lib/typescript.js.map +1 -0
- package/dist/node_modules/ws/browser.js +16 -0
- package/dist/node_modules/ws/browser.js.map +1 -0
- package/dist/plugins/analyzers/code-complexity/analyzer.d.ts +105 -0
- package/dist/plugins/analyzers/code-complexity/analyzer.d.ts.map +1 -0
- package/dist/plugins/analyzers/code-complexity/analyzer.js +507 -0
- package/dist/plugins/analyzers/code-complexity/analyzer.js.map +1 -0
- package/dist/plugins/analyzers/code-complexity/graph-generator.d.ts +70 -0
- package/dist/plugins/analyzers/code-complexity/graph-generator.d.ts.map +1 -0
- package/dist/plugins/analyzers/code-complexity/graph-generator.js +405 -0
- package/dist/plugins/analyzers/code-complexity/graph-generator.js.map +1 -0
- package/dist/plugins/analyzers/code-complexity/index.d.ts +191 -0
- package/dist/plugins/analyzers/code-complexity/index.d.ts.map +1 -0
- package/dist/plugins/analyzers/code-complexity/index.js +276 -0
- package/dist/plugins/analyzers/code-complexity/index.js.map +1 -0
- package/dist/plugins/analyzers/code-complexity/metrics.d.ts +77 -0
- package/dist/plugins/analyzers/code-complexity/metrics.d.ts.map +1 -0
- package/dist/plugins/analyzers/code-complexity/metrics.js +514 -0
- package/dist/plugins/analyzers/code-complexity/metrics.js.map +1 -0
- package/dist/plugins/analyzers/code-complexity/plugin.d.ts +161 -0
- package/dist/plugins/analyzers/code-complexity/plugin.d.ts.map +1 -0
- package/dist/plugins/analyzers/code-complexity/plugin.js +661 -0
- package/dist/plugins/analyzers/code-complexity/plugin.js.map +1 -0
- package/dist/plugins/analyzers/code-complexity/types.d.ts +360 -0
- package/dist/plugins/analyzers/code-complexity/types.d.ts.map +1 -0
- package/dist/plugins/analyzers/code-complexity/types.js +27 -0
- package/dist/plugins/analyzers/code-complexity/types.js.map +1 -0
- package/dist/plugins/analyzers/dependency-health/analyzer.d.ts +56 -0
- package/dist/plugins/analyzers/dependency-health/analyzer.d.ts.map +1 -0
- package/dist/plugins/analyzers/dependency-health/analyzer.js +387 -0
- package/dist/plugins/analyzers/dependency-health/analyzer.js.map +1 -0
- package/dist/plugins/analyzers/dependency-health/graph-generator.d.ts +60 -0
- package/dist/plugins/analyzers/dependency-health/graph-generator.d.ts.map +1 -0
- package/dist/plugins/analyzers/dependency-health/graph-generator.js +295 -0
- package/dist/plugins/analyzers/dependency-health/graph-generator.js.map +1 -0
- package/dist/plugins/analyzers/dependency-health/index.d.ts +201 -0
- package/dist/plugins/analyzers/dependency-health/index.d.ts.map +1 -0
- package/dist/plugins/analyzers/dependency-health/index.js +857 -0
- package/dist/plugins/analyzers/dependency-health/index.js.map +1 -0
- package/dist/plugins/analyzers/dependency-health/npm-client.d.ts +68 -0
- package/dist/plugins/analyzers/dependency-health/npm-client.d.ts.map +1 -0
- package/dist/plugins/analyzers/dependency-health/npm-client.js +226 -0
- package/dist/plugins/analyzers/dependency-health/npm-client.js.map +1 -0
- package/dist/plugins/analyzers/dependency-health/types.d.ts +462 -0
- package/dist/plugins/analyzers/dependency-health/types.d.ts.map +1 -0
- package/dist/plugins/analyzers/dependency-health/vulnerability.d.ts +80 -0
- package/dist/plugins/analyzers/dependency-health/vulnerability.d.ts.map +1 -0
- package/dist/plugins/analyzers/dependency-health/vulnerability.js +215 -0
- package/dist/plugins/analyzers/dependency-health/vulnerability.js.map +1 -0
- package/dist/plugins/analyzers/index.d.ts +12 -0
- package/dist/plugins/analyzers/index.d.ts.map +1 -0
- package/dist/plugins/index.d.ts +13 -0
- package/dist/plugins/index.d.ts.map +1 -0
- package/dist/plugins/loader.d.ts +158 -0
- package/dist/plugins/loader.d.ts.map +1 -0
- package/dist/plugins/loader.js +554 -0
- package/dist/plugins/loader.js.map +1 -0
- package/dist/plugins/manager.d.ts +183 -0
- package/dist/plugins/manager.d.ts.map +1 -0
- package/dist/plugins/manager.js +876 -0
- package/dist/plugins/manager.js.map +1 -0
- package/dist/plugins/registry.d.ts +163 -0
- package/dist/plugins/registry.d.ts.map +1 -0
- package/dist/plugins/registry.js +448 -0
- package/dist/plugins/registry.js.map +1 -0
- package/dist/plugins/types.d.ts +930 -0
- package/dist/plugins/types.d.ts.map +1 -0
- package/dist/plugins/types.js +43 -0
- package/dist/plugins/types.js.map +1 -0
- package/dist/server/container.d.ts +263 -0
- package/dist/server/container.d.ts.map +1 -0
- package/dist/server/container.js +605 -0
- package/dist/server/container.js.map +1 -0
- package/dist/server/event-bus.d.ts +418 -0
- package/dist/server/event-bus.d.ts.map +1 -0
- package/dist/server/event-bus.js +442 -0
- package/dist/server/event-bus.js.map +1 -0
- package/dist/server/index.d.ts +37 -0
- package/dist/server/index.d.ts.map +1 -0
- package/dist/server/manager.d.ts +123 -0
- package/dist/server/manager.d.ts.map +1 -0
- package/dist/server/manager.js +742 -0
- package/dist/server/manager.js.map +1 -0
- package/dist/server/shared-services.d.ts +130 -0
- package/dist/server/shared-services.d.ts.map +1 -0
- package/dist/server/shared-services.js +476 -0
- package/dist/server/shared-services.js.map +1 -0
- package/dist/server/types.d.ts +320 -0
- package/dist/server/types.d.ts.map +1 -0
- package/dist/server/types.js +13 -0
- package/dist/server/types.js.map +1 -0
- package/dist/services/manager.js +328 -0
- package/dist/services/manager.js.map +1 -0
- package/dist/vector/config.d.ts +300 -0
- package/dist/vector/config.d.ts.map +1 -0
- package/dist/vector/config.js +124 -0
- package/dist/vector/config.js.map +1 -0
- package/dist/vector/index.d.ts +50 -0
- package/dist/vector/index.d.ts.map +1 -0
- package/dist/vector/services/index.d.ts +13 -0
- package/dist/vector/services/index.d.ts.map +1 -0
- package/dist/vector/services/trajectory-tracker.d.ts +405 -0
- package/dist/vector/services/trajectory-tracker.d.ts.map +1 -0
- package/dist/vector/services/trajectory-tracker.js +445 -0
- package/dist/vector/services/trajectory-tracker.js.map +1 -0
- package/dist/vector/services/vector-store.d.ts +339 -0
- package/dist/vector/services/vector-store.d.ts.map +1 -0
- package/dist/vector/services/vector-store.js +748 -0
- package/dist/vector/services/vector-store.js.map +1 -0
- package/dist/vector/types.d.ts +677 -0
- package/dist/vector/types.d.ts.map +1 -0
- package/dist/workflow/adapters/goap-adapter.d.ts +196 -0
- package/dist/workflow/adapters/goap-adapter.d.ts.map +1 -0
- package/dist/workflow/adapters/goap-adapter.js +706 -0
- package/dist/workflow/adapters/goap-adapter.js.map +1 -0
- package/dist/workflow/adapters/index.d.ts +10 -0
- package/dist/workflow/adapters/index.d.ts.map +1 -0
- package/dist/workflow/config.d.ts +135 -0
- package/dist/workflow/config.d.ts.map +1 -0
- package/dist/workflow/config.js +92 -0
- package/dist/workflow/config.js.map +1 -0
- package/dist/workflow/handlers/index.d.ts +9 -0
- package/dist/workflow/handlers/index.d.ts.map +1 -0
- package/dist/workflow/handlers/webhook-handlers.d.ts +397 -0
- package/dist/workflow/handlers/webhook-handlers.d.ts.map +1 -0
- package/dist/workflow/handlers/webhook-handlers.js +454 -0
- package/dist/workflow/handlers/webhook-handlers.js.map +1 -0
- package/dist/workflow/index.d.ts +42 -0
- package/dist/workflow/index.d.ts.map +1 -0
- package/dist/workflow/services/index.d.ts +9 -0
- package/dist/workflow/services/index.d.ts.map +1 -0
- package/dist/workflow/services/workflow-service.d.ts +318 -0
- package/dist/workflow/services/workflow-service.d.ts.map +1 -0
- package/dist/workflow/services/workflow-service.js +577 -0
- package/dist/workflow/services/workflow-service.js.map +1 -0
- package/dist/workflow/types.d.ts +470 -0
- package/dist/workflow/types.d.ts.map +1 -0
- package/dist/workflow/workflows/realtime-collab.d.ts +245 -0
- package/dist/workflow/workflows/realtime-collab.d.ts.map +1 -0
- package/package.json +29 -3
- package/dist/_virtual/additionalItems.js +0 -5
- package/dist/_virtual/additionalItems.js.map +0 -1
- package/dist/_virtual/additionalProperties.js +0 -5
- package/dist/_virtual/additionalProperties.js.map +0 -1
- package/dist/_virtual/ajv.js +0 -6
- package/dist/_virtual/ajv.js.map +0 -1
- package/dist/_virtual/ajv2.js +0 -5
- package/dist/_virtual/ajv2.js.map +0 -1
- package/dist/_virtual/allOf.js +0 -5
- package/dist/_virtual/allOf.js.map +0 -1
- package/dist/_virtual/anyOf.js +0 -5
- package/dist/_virtual/anyOf.js.map +0 -1
- package/dist/_virtual/applicability.js +0 -5
- package/dist/_virtual/applicability.js.map +0 -1
- package/dist/_virtual/boolSchema.js +0 -5
- package/dist/_virtual/boolSchema.js.map +0 -1
- package/dist/_virtual/code.js +0 -5
- package/dist/_virtual/code.js.map +0 -1
- package/dist/_virtual/code2.js +0 -5
- package/dist/_virtual/code2.js.map +0 -1
- package/dist/_virtual/const.js +0 -5
- package/dist/_virtual/const.js.map +0 -1
- package/dist/_virtual/contains.js +0 -5
- package/dist/_virtual/contains.js.map +0 -1
- package/dist/_virtual/core.js +0 -5
- package/dist/_virtual/core.js.map +0 -1
- package/dist/_virtual/dataType.js +0 -5
- package/dist/_virtual/dataType.js.map +0 -1
- package/dist/_virtual/defaults.js +0 -5
- package/dist/_virtual/defaults.js.map +0 -1
- package/dist/_virtual/dependencies.js +0 -5
- package/dist/_virtual/dependencies.js.map +0 -1
- package/dist/_virtual/draft7.js +0 -5
- package/dist/_virtual/draft7.js.map +0 -1
- package/dist/_virtual/enum.js +0 -5
- package/dist/_virtual/enum.js.map +0 -1
- package/dist/_virtual/equal.js +0 -5
- package/dist/_virtual/equal.js.map +0 -1
- package/dist/_virtual/errors.js +0 -5
- package/dist/_virtual/errors.js.map +0 -1
- package/dist/_virtual/format.js +0 -5
- package/dist/_virtual/format.js.map +0 -1
- package/dist/_virtual/formats.js +0 -5
- package/dist/_virtual/formats.js.map +0 -1
- package/dist/_virtual/id.js +0 -5
- package/dist/_virtual/id.js.map +0 -1
- package/dist/_virtual/if.js +0 -5
- package/dist/_virtual/if.js.map +0 -1
- package/dist/_virtual/index12.js +0 -5
- package/dist/_virtual/index12.js.map +0 -1
- package/dist/_virtual/items.js +0 -5
- package/dist/_virtual/items.js.map +0 -1
- package/dist/_virtual/items2020.js +0 -5
- package/dist/_virtual/items2020.js.map +0 -1
- package/dist/_virtual/keyword.js +0 -5
- package/dist/_virtual/keyword.js.map +0 -1
- package/dist/_virtual/limit.js +0 -5
- package/dist/_virtual/limit.js.map +0 -1
- package/dist/_virtual/limitItems.js +0 -5
- package/dist/_virtual/limitItems.js.map +0 -1
- package/dist/_virtual/limitLength.js +0 -5
- package/dist/_virtual/limitLength.js.map +0 -1
- package/dist/_virtual/limitNumber.js +0 -5
- package/dist/_virtual/limitNumber.js.map +0 -1
- package/dist/_virtual/limitProperties.js +0 -5
- package/dist/_virtual/limitProperties.js.map +0 -1
- package/dist/_virtual/metadata.js +0 -5
- package/dist/_virtual/metadata.js.map +0 -1
- package/dist/_virtual/multipleOf.js +0 -5
- package/dist/_virtual/multipleOf.js.map +0 -1
- package/dist/_virtual/names.js +0 -5
- package/dist/_virtual/names.js.map +0 -1
- package/dist/_virtual/not.js +0 -5
- package/dist/_virtual/not.js.map +0 -1
- package/dist/_virtual/oneOf.js +0 -5
- package/dist/_virtual/oneOf.js.map +0 -1
- package/dist/_virtual/pattern.js +0 -5
- package/dist/_virtual/pattern.js.map +0 -1
- package/dist/_virtual/patternProperties.js +0 -5
- package/dist/_virtual/patternProperties.js.map +0 -1
- package/dist/_virtual/prefixItems.js +0 -5
- package/dist/_virtual/prefixItems.js.map +0 -1
- package/dist/_virtual/properties.js +0 -5
- package/dist/_virtual/properties.js.map +0 -1
- package/dist/_virtual/propertyNames.js +0 -5
- package/dist/_virtual/propertyNames.js.map +0 -1
- package/dist/_virtual/ref.js +0 -5
- package/dist/_virtual/ref.js.map +0 -1
- package/dist/_virtual/ref_error.js +0 -5
- package/dist/_virtual/ref_error.js.map +0 -1
- package/dist/_virtual/required.js +0 -5
- package/dist/_virtual/required.js.map +0 -1
- package/dist/_virtual/resolve.js +0 -5
- package/dist/_virtual/resolve.js.map +0 -1
- package/dist/_virtual/rules.js +0 -5
- package/dist/_virtual/rules.js.map +0 -1
- package/dist/_virtual/scope.js +0 -5
- package/dist/_virtual/scope.js.map +0 -1
- package/dist/_virtual/subschema.js +0 -5
- package/dist/_virtual/subschema.js.map +0 -1
- package/dist/_virtual/thenElse.js +0 -5
- package/dist/_virtual/thenElse.js.map +0 -1
- package/dist/_virtual/types.js +0 -5
- package/dist/_virtual/types.js.map +0 -1
- package/dist/_virtual/ucs2length.js +0 -5
- package/dist/_virtual/ucs2length.js.map +0 -1
- package/dist/_virtual/uniqueItems.js +0 -5
- package/dist/_virtual/uniqueItems.js.map +0 -1
- package/dist/_virtual/uri.js +0 -5
- package/dist/_virtual/uri.js.map +0 -1
- package/dist/_virtual/util.js +0 -5
- package/dist/_virtual/util.js.map +0 -1
- package/dist/_virtual/validation_error.js +0 -5
- package/dist/_virtual/validation_error.js.map +0 -1
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js +0 -296
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js.map +0 -1
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js +0 -71
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js.map +0 -1
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js +0 -26
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js.map +0 -1
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js +0 -407
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js.map +0 -1
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js +0 -1332
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js.map +0 -1
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js +0 -71
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js.map +0 -1
- package/dist/node_modules/ajv/dist/ajv.js +0 -84
- package/dist/node_modules/ajv/dist/ajv.js.map +0 -1
- package/dist/node_modules/ajv/dist/compile/codegen/code.js +0 -160
- package/dist/node_modules/ajv/dist/compile/codegen/code.js.map +0 -1
- package/dist/node_modules/ajv/dist/compile/codegen/index.js +0 -728
- package/dist/node_modules/ajv/dist/compile/codegen/index.js.map +0 -1
- package/dist/node_modules/ajv/dist/compile/codegen/scope.js +0 -152
- package/dist/node_modules/ajv/dist/compile/codegen/scope.js.map +0 -1
- package/dist/node_modules/ajv/dist/compile/errors.js +0 -131
- package/dist/node_modules/ajv/dist/compile/errors.js.map +0 -1
- package/dist/node_modules/ajv/dist/compile/index.js +0 -234
- package/dist/node_modules/ajv/dist/compile/index.js.map +0 -1
- package/dist/node_modules/ajv/dist/compile/names.js +0 -44
- package/dist/node_modules/ajv/dist/compile/names.js.map +0 -1
- package/dist/node_modules/ajv/dist/compile/ref_error.js +0 -22
- package/dist/node_modules/ajv/dist/compile/ref_error.js.map +0 -1
- package/dist/node_modules/ajv/dist/compile/resolve.js +0 -163
- package/dist/node_modules/ajv/dist/compile/resolve.js.map +0 -1
- package/dist/node_modules/ajv/dist/compile/rules.js +0 -35
- package/dist/node_modules/ajv/dist/compile/rules.js.map +0 -1
- package/dist/node_modules/ajv/dist/compile/util.js +0 -173
- package/dist/node_modules/ajv/dist/compile/util.js.map +0 -1
- package/dist/node_modules/ajv/dist/compile/validate/applicability.js +0 -27
- package/dist/node_modules/ajv/dist/compile/validate/applicability.js.map +0 -1
- package/dist/node_modules/ajv/dist/compile/validate/boolSchema.js +0 -58
- package/dist/node_modules/ajv/dist/compile/validate/boolSchema.js.map +0 -1
- package/dist/node_modules/ajv/dist/compile/validate/dataType.js +0 -193
- package/dist/node_modules/ajv/dist/compile/validate/dataType.js.map +0 -1
- package/dist/node_modules/ajv/dist/compile/validate/defaults.js +0 -43
- package/dist/node_modules/ajv/dist/compile/validate/defaults.js.map +0 -1
- package/dist/node_modules/ajv/dist/compile/validate/index.js +0 -522
- package/dist/node_modules/ajv/dist/compile/validate/index.js.map +0 -1
- package/dist/node_modules/ajv/dist/compile/validate/keyword.js +0 -126
- package/dist/node_modules/ajv/dist/compile/validate/keyword.js.map +0 -1
- package/dist/node_modules/ajv/dist/compile/validate/subschema.js +0 -89
- package/dist/node_modules/ajv/dist/compile/validate/subschema.js.map +0 -1
- package/dist/node_modules/ajv/dist/core.js +0 -628
- package/dist/node_modules/ajv/dist/core.js.map +0 -1
- package/dist/node_modules/ajv/dist/refs/data.json.js +0 -24
- package/dist/node_modules/ajv/dist/refs/data.json.js.map +0 -1
- package/dist/node_modules/ajv/dist/refs/json-schema-draft-07.json.js +0 -25
- package/dist/node_modules/ajv/dist/refs/json-schema-draft-07.json.js.map +0 -1
- package/dist/node_modules/ajv/dist/runtime/equal.js +0 -16
- package/dist/node_modules/ajv/dist/runtime/equal.js.map +0 -1
- package/dist/node_modules/ajv/dist/runtime/ucs2length.js +0 -30
- package/dist/node_modules/ajv/dist/runtime/ucs2length.js.map +0 -1
- package/dist/node_modules/ajv/dist/runtime/uri.js +0 -16
- package/dist/node_modules/ajv/dist/runtime/uri.js.map +0 -1
- package/dist/node_modules/ajv/dist/runtime/validation_error.js +0 -20
- package/dist/node_modules/ajv/dist/runtime/validation_error.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +0 -59
- package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +0 -114
- package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/allOf.js +0 -32
- package/dist/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +0 -22
- package/dist/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/contains.js +0 -100
- package/dist/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +0 -103
- package/dist/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/if.js +0 -75
- package/dist/node_modules/ajv/dist/vocabularies/applicator/if.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/index.js +0 -68
- package/dist/node_modules/ajv/dist/vocabularies/applicator/index.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/items.js +0 -64
- package/dist/node_modules/ajv/dist/vocabularies/applicator/items.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/items2020.js +0 -43
- package/dist/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/not.js +0 -36
- package/dist/node_modules/ajv/dist/vocabularies/applicator/not.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +0 -64
- package/dist/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +0 -81
- package/dist/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +0 -22
- package/dist/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/properties.js +0 -66
- package/dist/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +0 -49
- package/dist/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +0 -23
- package/dist/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/code.js +0 -140
- package/dist/node_modules/ajv/dist/vocabularies/code.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/core/id.js +0 -19
- package/dist/node_modules/ajv/dist/vocabularies/core/id.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/core/index.js +0 -27
- package/dist/node_modules/ajv/dist/vocabularies/core/index.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/core/ref.js +0 -132
- package/dist/node_modules/ajv/dist/vocabularies/core/ref.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/discriminator/index.js +0 -114
- package/dist/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/discriminator/types.js +0 -18
- package/dist/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/draft7.js +0 -31
- package/dist/node_modules/ajv/dist/vocabularies/draft7.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/format/format.js +0 -95
- package/dist/node_modules/ajv/dist/vocabularies/format/format.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/format/index.js +0 -16
- package/dist/node_modules/ajv/dist/vocabularies/format/index.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/metadata.js +0 -27
- package/dist/node_modules/ajv/dist/vocabularies/metadata.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/validation/const.js +0 -36
- package/dist/node_modules/ajv/dist/vocabularies/validation/const.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/validation/enum.js +0 -56
- package/dist/node_modules/ajv/dist/vocabularies/validation/enum.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/validation/index.js +0 -52
- package/dist/node_modules/ajv/dist/vocabularies/validation/index.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/validation/limitItems.js +0 -34
- package/dist/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/validation/limitLength.js +0 -39
- package/dist/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +0 -37
- package/dist/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +0 -34
- package/dist/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +0 -33
- package/dist/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/validation/pattern.js +0 -34
- package/dist/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/validation/required.js +0 -89
- package/dist/node_modules/ajv/dist/vocabularies/validation/required.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +0 -75
- package/dist/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +0 -1
- package/dist/node_modules/ajv-formats/dist/formats.js +0 -209
- package/dist/node_modules/ajv-formats/dist/formats.js.map +0 -1
- package/dist/node_modules/ajv-formats/dist/index.js +0 -51
- package/dist/node_modules/ajv-formats/dist/index.js.map +0 -1
- package/dist/node_modules/ajv-formats/dist/limit.js +0 -80
- package/dist/node_modules/ajv-formats/dist/limit.js.map +0 -1
- package/dist/node_modules/fast-deep-equal/index.js +0 -39
- package/dist/node_modules/fast-deep-equal/index.js.map +0 -1
- package/dist/node_modules/fast-uri/index.js +0 -261
- package/dist/node_modules/fast-uri/index.js.map +0 -1
- package/dist/node_modules/fast-uri/lib/schemes.js +0 -215
- package/dist/node_modules/fast-uri/lib/schemes.js.map +0 -1
- package/dist/node_modules/fast-uri/lib/utils.js +0 -261
- package/dist/node_modules/fast-uri/lib/utils.js.map +0 -1
- package/dist/node_modules/json-schema-traverse/index.js +0 -92
- package/dist/node_modules/json-schema-traverse/index.js.map +0 -1
- package/dist/node_modules/zod/v4/classic/errors.js +0 -37
- package/dist/node_modules/zod/v4/classic/errors.js.map +0 -1
- package/dist/node_modules/zod/v4/classic/iso.js +0 -43
- package/dist/node_modules/zod/v4/classic/iso.js.map +0 -1
- package/dist/node_modules/zod/v4/classic/parse.js +0 -13
- package/dist/node_modules/zod/v4/classic/parse.js.map +0 -1
- package/dist/node_modules/zod/v4/classic/schemas.js +0 -688
- package/dist/node_modules/zod/v4/classic/schemas.js.map +0 -1
- package/dist/node_modules/zod/v4/core/api.js +0 -492
- package/dist/node_modules/zod/v4/core/api.js.map +0 -1
- package/dist/node_modules/zod/v4/core/checks.js +0 -405
- package/dist/node_modules/zod/v4/core/checks.js.map +0 -1
- package/dist/node_modules/zod/v4/core/core.js +0 -58
- package/dist/node_modules/zod/v4/core/core.js.map +0 -1
- package/dist/node_modules/zod/v4/core/doc.js +0 -38
- package/dist/node_modules/zod/v4/core/doc.js.map +0 -1
- package/dist/node_modules/zod/v4/core/errors.js +0 -82
- package/dist/node_modules/zod/v4/core/errors.js.map +0 -1
- package/dist/node_modules/zod/v4/core/parse.js +0 -60
- package/dist/node_modules/zod/v4/core/parse.js.map +0 -1
- package/dist/node_modules/zod/v4/core/regexes.js +0 -87
- package/dist/node_modules/zod/v4/core/regexes.js.map +0 -1
- package/dist/node_modules/zod/v4/core/registries.js +0 -52
- package/dist/node_modules/zod/v4/core/registries.js.map +0 -1
- package/dist/node_modules/zod/v4/core/schemas.js +0 -1283
- package/dist/node_modules/zod/v4/core/schemas.js.map +0 -1
- package/dist/node_modules/zod/v4/core/util.js +0 -341
- package/dist/node_modules/zod/v4/core/util.js.map +0 -1
- package/dist/node_modules/zod/v4/core/versions.js +0 -9
- package/dist/node_modules/zod/v4/core/versions.js.map +0 -1
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/string.js +0 -2
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/string.js.map +0 -1
|
@@ -0,0 +1,533 @@
|
|
|
1
|
+
import { __exports as nodeUtils } from "../../../../_virtual/node-utils.js";
|
|
2
|
+
import { __require as requireTypescript } from "../../../typescript/lib/typescript.js";
|
|
3
|
+
import { __require as requireGetModifiers } from "./getModifiers.js";
|
|
4
|
+
import { __require as requireXhtmlEntities } from "./jsx/xhtml-entities.js";
|
|
5
|
+
import { __require as requireTsEstree } from "./ts-estree/index.js";
|
|
6
|
+
import { __require as requireVersionCheck } from "./version-check.js";
|
|
7
|
+
var hasRequiredNodeUtils;
|
|
8
|
+
function requireNodeUtils() {
|
|
9
|
+
if (hasRequiredNodeUtils) return nodeUtils;
|
|
10
|
+
hasRequiredNodeUtils = 1;
|
|
11
|
+
var __createBinding = nodeUtils && nodeUtils.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === void 0) k2 = k;
|
|
13
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
14
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
15
|
+
desc = { enumerable: true, get: function() {
|
|
16
|
+
return m[k];
|
|
17
|
+
} };
|
|
18
|
+
}
|
|
19
|
+
Object.defineProperty(o, k2, desc);
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === void 0) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = nodeUtils && nodeUtils.__setModuleDefault || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = nodeUtils && nodeUtils.__importStar || /* @__PURE__ */ (function() {
|
|
30
|
+
var ownKeys = function(o) {
|
|
31
|
+
ownKeys = Object.getOwnPropertyNames || function(o2) {
|
|
32
|
+
var ar = [];
|
|
33
|
+
for (var k in o2) if (Object.prototype.hasOwnProperty.call(o2, k)) ar[ar.length] = k;
|
|
34
|
+
return ar;
|
|
35
|
+
};
|
|
36
|
+
return ownKeys(o);
|
|
37
|
+
};
|
|
38
|
+
return function(mod) {
|
|
39
|
+
if (mod && mod.__esModule) return mod;
|
|
40
|
+
var result = {};
|
|
41
|
+
if (mod != null) {
|
|
42
|
+
for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
43
|
+
}
|
|
44
|
+
__setModuleDefault(result, mod);
|
|
45
|
+
return result;
|
|
46
|
+
};
|
|
47
|
+
})();
|
|
48
|
+
Object.defineProperty(nodeUtils, "__esModule", { value: true });
|
|
49
|
+
nodeUtils.TSError = void 0;
|
|
50
|
+
nodeUtils.isLogicalOperator = isLogicalOperator;
|
|
51
|
+
nodeUtils.isESTreeBinaryOperator = isESTreeBinaryOperator;
|
|
52
|
+
nodeUtils.getTextForTokenKind = getTextForTokenKind;
|
|
53
|
+
nodeUtils.isESTreeClassMember = isESTreeClassMember;
|
|
54
|
+
nodeUtils.hasModifier = hasModifier;
|
|
55
|
+
nodeUtils.getLastModifier = getLastModifier;
|
|
56
|
+
nodeUtils.isComma = isComma;
|
|
57
|
+
nodeUtils.isComment = isComment;
|
|
58
|
+
nodeUtils.getBinaryExpressionType = getBinaryExpressionType;
|
|
59
|
+
nodeUtils.getLineAndCharacterFor = getLineAndCharacterFor;
|
|
60
|
+
nodeUtils.getLocFor = getLocFor;
|
|
61
|
+
nodeUtils.canContainDirective = canContainDirective;
|
|
62
|
+
nodeUtils.getRange = getRange;
|
|
63
|
+
nodeUtils.isJSXToken = isJSXToken;
|
|
64
|
+
nodeUtils.getDeclarationKind = getDeclarationKind;
|
|
65
|
+
nodeUtils.getTSNodeAccessibility = getTSNodeAccessibility;
|
|
66
|
+
nodeUtils.findNextToken = findNextToken;
|
|
67
|
+
nodeUtils.findFirstMatchingAncestor = findFirstMatchingAncestor;
|
|
68
|
+
nodeUtils.hasJSXAncestor = hasJSXAncestor;
|
|
69
|
+
nodeUtils.unescapeStringLiteralText = unescapeStringLiteralText;
|
|
70
|
+
nodeUtils.isComputedProperty = isComputedProperty;
|
|
71
|
+
nodeUtils.isOptional = isOptional;
|
|
72
|
+
nodeUtils.isChainExpression = isChainExpression;
|
|
73
|
+
nodeUtils.isChildUnwrappableOptionalChain = isChildUnwrappableOptionalChain;
|
|
74
|
+
nodeUtils.getTokenType = getTokenType;
|
|
75
|
+
nodeUtils.convertToken = convertToken;
|
|
76
|
+
nodeUtils.convertTokens = convertTokens;
|
|
77
|
+
nodeUtils.createError = createError;
|
|
78
|
+
nodeUtils.nodeHasTokens = nodeHasTokens;
|
|
79
|
+
nodeUtils.firstDefined = firstDefined;
|
|
80
|
+
nodeUtils.identifierIsThisKeyword = identifierIsThisKeyword;
|
|
81
|
+
nodeUtils.isThisIdentifier = isThisIdentifier;
|
|
82
|
+
nodeUtils.isThisInTypeQuery = isThisInTypeQuery;
|
|
83
|
+
nodeUtils.isValidAssignmentTarget = isValidAssignmentTarget;
|
|
84
|
+
nodeUtils.getNamespaceModifiers = getNamespaceModifiers;
|
|
85
|
+
nodeUtils.declarationNameToString = declarationNameToString;
|
|
86
|
+
const ts = __importStar(requireTypescript());
|
|
87
|
+
const getModifiers_1 = requireGetModifiers();
|
|
88
|
+
const xhtml_entities_1 = requireXhtmlEntities();
|
|
89
|
+
const ts_estree_1 = requireTsEstree();
|
|
90
|
+
const version_check_1 = requireVersionCheck();
|
|
91
|
+
const isAtLeast50 = version_check_1.typescriptVersionIsAtLeast["5.0"];
|
|
92
|
+
const SyntaxKind = ts.SyntaxKind;
|
|
93
|
+
const LOGICAL_OPERATORS = /* @__PURE__ */ new Set([
|
|
94
|
+
SyntaxKind.AmpersandAmpersandToken,
|
|
95
|
+
SyntaxKind.BarBarToken,
|
|
96
|
+
SyntaxKind.QuestionQuestionToken
|
|
97
|
+
]);
|
|
98
|
+
const ASSIGNMENT_OPERATORS = /* @__PURE__ */ new Set([
|
|
99
|
+
ts.SyntaxKind.AmpersandAmpersandEqualsToken,
|
|
100
|
+
ts.SyntaxKind.AmpersandEqualsToken,
|
|
101
|
+
ts.SyntaxKind.AsteriskAsteriskEqualsToken,
|
|
102
|
+
ts.SyntaxKind.AsteriskEqualsToken,
|
|
103
|
+
ts.SyntaxKind.BarBarEqualsToken,
|
|
104
|
+
ts.SyntaxKind.BarEqualsToken,
|
|
105
|
+
ts.SyntaxKind.CaretEqualsToken,
|
|
106
|
+
ts.SyntaxKind.EqualsToken,
|
|
107
|
+
ts.SyntaxKind.GreaterThanGreaterThanEqualsToken,
|
|
108
|
+
ts.SyntaxKind.GreaterThanGreaterThanGreaterThanEqualsToken,
|
|
109
|
+
ts.SyntaxKind.LessThanLessThanEqualsToken,
|
|
110
|
+
ts.SyntaxKind.MinusEqualsToken,
|
|
111
|
+
ts.SyntaxKind.PercentEqualsToken,
|
|
112
|
+
ts.SyntaxKind.PlusEqualsToken,
|
|
113
|
+
ts.SyntaxKind.QuestionQuestionEqualsToken,
|
|
114
|
+
ts.SyntaxKind.SlashEqualsToken
|
|
115
|
+
]);
|
|
116
|
+
const BINARY_OPERATORS = /* @__PURE__ */ new Set([
|
|
117
|
+
SyntaxKind.AmpersandAmpersandToken,
|
|
118
|
+
SyntaxKind.AmpersandToken,
|
|
119
|
+
SyntaxKind.AsteriskAsteriskToken,
|
|
120
|
+
SyntaxKind.AsteriskToken,
|
|
121
|
+
SyntaxKind.BarBarToken,
|
|
122
|
+
SyntaxKind.BarToken,
|
|
123
|
+
SyntaxKind.CaretToken,
|
|
124
|
+
SyntaxKind.EqualsEqualsEqualsToken,
|
|
125
|
+
SyntaxKind.EqualsEqualsToken,
|
|
126
|
+
SyntaxKind.ExclamationEqualsEqualsToken,
|
|
127
|
+
SyntaxKind.ExclamationEqualsToken,
|
|
128
|
+
SyntaxKind.GreaterThanEqualsToken,
|
|
129
|
+
SyntaxKind.GreaterThanGreaterThanGreaterThanToken,
|
|
130
|
+
SyntaxKind.GreaterThanGreaterThanToken,
|
|
131
|
+
SyntaxKind.GreaterThanToken,
|
|
132
|
+
SyntaxKind.InKeyword,
|
|
133
|
+
SyntaxKind.InstanceOfKeyword,
|
|
134
|
+
SyntaxKind.LessThanEqualsToken,
|
|
135
|
+
SyntaxKind.LessThanLessThanToken,
|
|
136
|
+
SyntaxKind.LessThanToken,
|
|
137
|
+
SyntaxKind.MinusToken,
|
|
138
|
+
SyntaxKind.PercentToken,
|
|
139
|
+
SyntaxKind.PlusToken,
|
|
140
|
+
SyntaxKind.SlashToken
|
|
141
|
+
]);
|
|
142
|
+
function isAssignmentOperator(operator) {
|
|
143
|
+
return ASSIGNMENT_OPERATORS.has(operator.kind);
|
|
144
|
+
}
|
|
145
|
+
function isLogicalOperator(operator) {
|
|
146
|
+
return LOGICAL_OPERATORS.has(operator.kind);
|
|
147
|
+
}
|
|
148
|
+
function isESTreeBinaryOperator(operator) {
|
|
149
|
+
return BINARY_OPERATORS.has(operator.kind);
|
|
150
|
+
}
|
|
151
|
+
function getTextForTokenKind(kind) {
|
|
152
|
+
return ts.tokenToString(kind);
|
|
153
|
+
}
|
|
154
|
+
function isESTreeClassMember(node) {
|
|
155
|
+
return node.kind !== SyntaxKind.SemicolonClassElement;
|
|
156
|
+
}
|
|
157
|
+
function hasModifier(modifierKind, node) {
|
|
158
|
+
const modifiers = (0, getModifiers_1.getModifiers)(node);
|
|
159
|
+
return modifiers?.some((modifier) => modifier.kind === modifierKind) === true;
|
|
160
|
+
}
|
|
161
|
+
function getLastModifier(node) {
|
|
162
|
+
const modifiers = (0, getModifiers_1.getModifiers)(node);
|
|
163
|
+
if (modifiers == null) {
|
|
164
|
+
return null;
|
|
165
|
+
}
|
|
166
|
+
return modifiers[modifiers.length - 1] ?? null;
|
|
167
|
+
}
|
|
168
|
+
function isComma(token) {
|
|
169
|
+
return token.kind === SyntaxKind.CommaToken;
|
|
170
|
+
}
|
|
171
|
+
function isComment(node) {
|
|
172
|
+
return node.kind === SyntaxKind.SingleLineCommentTrivia || node.kind === SyntaxKind.MultiLineCommentTrivia;
|
|
173
|
+
}
|
|
174
|
+
function isJSDocComment(node) {
|
|
175
|
+
return node.kind === SyntaxKind.JSDocComment;
|
|
176
|
+
}
|
|
177
|
+
function getBinaryExpressionType(operator) {
|
|
178
|
+
if (isAssignmentOperator(operator)) {
|
|
179
|
+
return {
|
|
180
|
+
type: ts_estree_1.AST_NODE_TYPES.AssignmentExpression,
|
|
181
|
+
operator: getTextForTokenKind(operator.kind)
|
|
182
|
+
};
|
|
183
|
+
}
|
|
184
|
+
if (isLogicalOperator(operator)) {
|
|
185
|
+
return {
|
|
186
|
+
type: ts_estree_1.AST_NODE_TYPES.LogicalExpression,
|
|
187
|
+
operator: getTextForTokenKind(operator.kind)
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
if (isESTreeBinaryOperator(operator)) {
|
|
191
|
+
return {
|
|
192
|
+
type: ts_estree_1.AST_NODE_TYPES.BinaryExpression,
|
|
193
|
+
operator: getTextForTokenKind(operator.kind)
|
|
194
|
+
};
|
|
195
|
+
}
|
|
196
|
+
throw new Error(`Unexpected binary operator ${ts.tokenToString(operator.kind)}`);
|
|
197
|
+
}
|
|
198
|
+
function getLineAndCharacterFor(pos, ast) {
|
|
199
|
+
const loc = ast.getLineAndCharacterOfPosition(pos);
|
|
200
|
+
return {
|
|
201
|
+
column: loc.character,
|
|
202
|
+
line: loc.line + 1
|
|
203
|
+
};
|
|
204
|
+
}
|
|
205
|
+
function getLocFor(range, ast) {
|
|
206
|
+
const [start, end] = range.map((pos) => getLineAndCharacterFor(pos, ast));
|
|
207
|
+
return { end, start };
|
|
208
|
+
}
|
|
209
|
+
function canContainDirective(node) {
|
|
210
|
+
if (node.kind === ts.SyntaxKind.Block) {
|
|
211
|
+
switch (node.parent.kind) {
|
|
212
|
+
case ts.SyntaxKind.Constructor:
|
|
213
|
+
case ts.SyntaxKind.GetAccessor:
|
|
214
|
+
case ts.SyntaxKind.SetAccessor:
|
|
215
|
+
case ts.SyntaxKind.ArrowFunction:
|
|
216
|
+
case ts.SyntaxKind.FunctionExpression:
|
|
217
|
+
case ts.SyntaxKind.FunctionDeclaration:
|
|
218
|
+
case ts.SyntaxKind.MethodDeclaration:
|
|
219
|
+
return true;
|
|
220
|
+
default:
|
|
221
|
+
return false;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
return true;
|
|
225
|
+
}
|
|
226
|
+
function getRange(node, ast) {
|
|
227
|
+
return [node.getStart(ast), node.getEnd()];
|
|
228
|
+
}
|
|
229
|
+
function isToken(node) {
|
|
230
|
+
return node.kind >= SyntaxKind.FirstToken && node.kind <= SyntaxKind.LastToken;
|
|
231
|
+
}
|
|
232
|
+
function isJSXToken(node) {
|
|
233
|
+
return node.kind >= SyntaxKind.JsxElement && node.kind <= SyntaxKind.JsxAttribute;
|
|
234
|
+
}
|
|
235
|
+
function getDeclarationKind(node) {
|
|
236
|
+
if (node.flags & ts.NodeFlags.Let) {
|
|
237
|
+
return "let";
|
|
238
|
+
}
|
|
239
|
+
if ((node.flags & ts.NodeFlags.AwaitUsing) === ts.NodeFlags.AwaitUsing) {
|
|
240
|
+
return "await using";
|
|
241
|
+
}
|
|
242
|
+
if (node.flags & ts.NodeFlags.Const) {
|
|
243
|
+
return "const";
|
|
244
|
+
}
|
|
245
|
+
if (node.flags & ts.NodeFlags.Using) {
|
|
246
|
+
return "using";
|
|
247
|
+
}
|
|
248
|
+
return "var";
|
|
249
|
+
}
|
|
250
|
+
function getTSNodeAccessibility(node) {
|
|
251
|
+
const modifiers = (0, getModifiers_1.getModifiers)(node);
|
|
252
|
+
if (modifiers == null) {
|
|
253
|
+
return void 0;
|
|
254
|
+
}
|
|
255
|
+
for (const modifier of modifiers) {
|
|
256
|
+
switch (modifier.kind) {
|
|
257
|
+
case SyntaxKind.PublicKeyword:
|
|
258
|
+
return "public";
|
|
259
|
+
case SyntaxKind.ProtectedKeyword:
|
|
260
|
+
return "protected";
|
|
261
|
+
case SyntaxKind.PrivateKeyword:
|
|
262
|
+
return "private";
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
return void 0;
|
|
266
|
+
}
|
|
267
|
+
function findNextToken(previousToken, parent, ast) {
|
|
268
|
+
return find(parent);
|
|
269
|
+
function find(n) {
|
|
270
|
+
if (ts.isToken(n) && n.pos === previousToken.end) {
|
|
271
|
+
return n;
|
|
272
|
+
}
|
|
273
|
+
return firstDefined(n.getChildren(ast), (child) => {
|
|
274
|
+
const shouldDiveInChildNode = (
|
|
275
|
+
// previous token is enclosed somewhere in the child
|
|
276
|
+
child.pos <= previousToken.pos && child.end > previousToken.end || // previous token ends exactly at the beginning of child
|
|
277
|
+
child.pos === previousToken.end
|
|
278
|
+
);
|
|
279
|
+
return shouldDiveInChildNode && nodeHasTokens(child, ast) ? find(child) : void 0;
|
|
280
|
+
});
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
function findFirstMatchingAncestor(node, predicate) {
|
|
284
|
+
let current = node;
|
|
285
|
+
while (current) {
|
|
286
|
+
if (predicate(current)) {
|
|
287
|
+
return current;
|
|
288
|
+
}
|
|
289
|
+
current = current.parent;
|
|
290
|
+
}
|
|
291
|
+
return void 0;
|
|
292
|
+
}
|
|
293
|
+
function hasJSXAncestor(node) {
|
|
294
|
+
return !!findFirstMatchingAncestor(node, isJSXToken);
|
|
295
|
+
}
|
|
296
|
+
function unescapeStringLiteralText(text) {
|
|
297
|
+
return text.replaceAll(/&(?:#\d+|#x[\da-fA-F]+|[0-9a-zA-Z]+);/g, (entity) => {
|
|
298
|
+
const item = entity.slice(1, -1);
|
|
299
|
+
if (item[0] === "#") {
|
|
300
|
+
const codePoint = item[1] === "x" ? parseInt(item.slice(2), 16) : parseInt(item.slice(1), 10);
|
|
301
|
+
return codePoint > 1114111 ? entity : String.fromCodePoint(codePoint);
|
|
302
|
+
}
|
|
303
|
+
return xhtml_entities_1.xhtmlEntities[item] || entity;
|
|
304
|
+
});
|
|
305
|
+
}
|
|
306
|
+
function isComputedProperty(node) {
|
|
307
|
+
return node.kind === SyntaxKind.ComputedPropertyName;
|
|
308
|
+
}
|
|
309
|
+
function isOptional(node) {
|
|
310
|
+
return !!node.questionToken;
|
|
311
|
+
}
|
|
312
|
+
function isChainExpression(node) {
|
|
313
|
+
return node.type === ts_estree_1.AST_NODE_TYPES.ChainExpression;
|
|
314
|
+
}
|
|
315
|
+
function isChildUnwrappableOptionalChain(node, child) {
|
|
316
|
+
return isChainExpression(child) && // (x?.y).z is semantically different, and as such .z is no longer optional
|
|
317
|
+
node.expression.kind !== ts.SyntaxKind.ParenthesizedExpression;
|
|
318
|
+
}
|
|
319
|
+
function getTokenType(token) {
|
|
320
|
+
if (token.kind === SyntaxKind.NullKeyword) {
|
|
321
|
+
return ts_estree_1.AST_TOKEN_TYPES.Null;
|
|
322
|
+
}
|
|
323
|
+
if (token.kind >= SyntaxKind.FirstKeyword && token.kind <= SyntaxKind.LastFutureReservedWord) {
|
|
324
|
+
if (token.kind === SyntaxKind.FalseKeyword || token.kind === SyntaxKind.TrueKeyword) {
|
|
325
|
+
return ts_estree_1.AST_TOKEN_TYPES.Boolean;
|
|
326
|
+
}
|
|
327
|
+
return ts_estree_1.AST_TOKEN_TYPES.Keyword;
|
|
328
|
+
}
|
|
329
|
+
if (token.kind >= SyntaxKind.FirstPunctuation && token.kind <= SyntaxKind.LastPunctuation) {
|
|
330
|
+
return ts_estree_1.AST_TOKEN_TYPES.Punctuator;
|
|
331
|
+
}
|
|
332
|
+
if (token.kind >= SyntaxKind.NoSubstitutionTemplateLiteral && token.kind <= SyntaxKind.TemplateTail) {
|
|
333
|
+
return ts_estree_1.AST_TOKEN_TYPES.Template;
|
|
334
|
+
}
|
|
335
|
+
switch (token.kind) {
|
|
336
|
+
case SyntaxKind.NumericLiteral:
|
|
337
|
+
case SyntaxKind.BigIntLiteral:
|
|
338
|
+
return ts_estree_1.AST_TOKEN_TYPES.Numeric;
|
|
339
|
+
case SyntaxKind.PrivateIdentifier:
|
|
340
|
+
return ts_estree_1.AST_TOKEN_TYPES.PrivateIdentifier;
|
|
341
|
+
case SyntaxKind.JsxText:
|
|
342
|
+
return ts_estree_1.AST_TOKEN_TYPES.JSXText;
|
|
343
|
+
case SyntaxKind.StringLiteral:
|
|
344
|
+
if (token.parent.kind === SyntaxKind.JsxAttribute || token.parent.kind === SyntaxKind.JsxElement) {
|
|
345
|
+
return ts_estree_1.AST_TOKEN_TYPES.JSXText;
|
|
346
|
+
}
|
|
347
|
+
return ts_estree_1.AST_TOKEN_TYPES.String;
|
|
348
|
+
case SyntaxKind.RegularExpressionLiteral:
|
|
349
|
+
return ts_estree_1.AST_TOKEN_TYPES.RegularExpression;
|
|
350
|
+
case SyntaxKind.Identifier:
|
|
351
|
+
case SyntaxKind.ConstructorKeyword:
|
|
352
|
+
case SyntaxKind.GetKeyword:
|
|
353
|
+
case SyntaxKind.SetKeyword:
|
|
354
|
+
}
|
|
355
|
+
if (token.kind === SyntaxKind.Identifier) {
|
|
356
|
+
if (isJSXToken(token.parent)) {
|
|
357
|
+
return ts_estree_1.AST_TOKEN_TYPES.JSXIdentifier;
|
|
358
|
+
}
|
|
359
|
+
if (token.parent.kind === SyntaxKind.PropertyAccessExpression && hasJSXAncestor(token)) {
|
|
360
|
+
return ts_estree_1.AST_TOKEN_TYPES.JSXIdentifier;
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
return ts_estree_1.AST_TOKEN_TYPES.Identifier;
|
|
364
|
+
}
|
|
365
|
+
function convertToken(token, ast) {
|
|
366
|
+
const start = token.kind === SyntaxKind.JsxText ? token.getFullStart() : token.getStart(ast);
|
|
367
|
+
const end = token.getEnd();
|
|
368
|
+
const value = ast.text.slice(start, end);
|
|
369
|
+
const tokenType = getTokenType(token);
|
|
370
|
+
const range = [start, end];
|
|
371
|
+
const loc = getLocFor(range, ast);
|
|
372
|
+
if (tokenType === ts_estree_1.AST_TOKEN_TYPES.RegularExpression) {
|
|
373
|
+
return {
|
|
374
|
+
type: tokenType,
|
|
375
|
+
loc,
|
|
376
|
+
range,
|
|
377
|
+
regex: {
|
|
378
|
+
flags: value.slice(value.lastIndexOf("/") + 1),
|
|
379
|
+
pattern: value.slice(1, value.lastIndexOf("/"))
|
|
380
|
+
},
|
|
381
|
+
value
|
|
382
|
+
};
|
|
383
|
+
}
|
|
384
|
+
if (tokenType === ts_estree_1.AST_TOKEN_TYPES.PrivateIdentifier) {
|
|
385
|
+
return {
|
|
386
|
+
type: tokenType,
|
|
387
|
+
loc,
|
|
388
|
+
range,
|
|
389
|
+
value: value.slice(1)
|
|
390
|
+
};
|
|
391
|
+
}
|
|
392
|
+
return {
|
|
393
|
+
type: tokenType,
|
|
394
|
+
loc,
|
|
395
|
+
range,
|
|
396
|
+
value
|
|
397
|
+
};
|
|
398
|
+
}
|
|
399
|
+
function convertTokens(ast) {
|
|
400
|
+
const result = [];
|
|
401
|
+
function walk(node) {
|
|
402
|
+
if (isComment(node) || isJSDocComment(node)) {
|
|
403
|
+
return;
|
|
404
|
+
}
|
|
405
|
+
if (isToken(node) && node.kind !== SyntaxKind.EndOfFileToken) {
|
|
406
|
+
result.push(convertToken(node, ast));
|
|
407
|
+
} else {
|
|
408
|
+
node.getChildren(ast).forEach(walk);
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
walk(ast);
|
|
412
|
+
return result;
|
|
413
|
+
}
|
|
414
|
+
class TSError extends Error {
|
|
415
|
+
fileName;
|
|
416
|
+
location;
|
|
417
|
+
name = "TSError";
|
|
418
|
+
constructor(message, fileName, location) {
|
|
419
|
+
super(message);
|
|
420
|
+
this.fileName = fileName;
|
|
421
|
+
this.location = location;
|
|
422
|
+
}
|
|
423
|
+
// For old version of ESLint https://github.com/typescript-eslint/typescript-eslint/pull/6556#discussion_r1123237311
|
|
424
|
+
get index() {
|
|
425
|
+
return this.location.start.offset;
|
|
426
|
+
}
|
|
427
|
+
// https://github.com/eslint/eslint/blob/b09a512107249a4eb19ef5a37b0bd672266eafdb/lib/linter/linter.js#L853
|
|
428
|
+
get lineNumber() {
|
|
429
|
+
return this.location.start.line;
|
|
430
|
+
}
|
|
431
|
+
// https://github.com/eslint/eslint/blob/b09a512107249a4eb19ef5a37b0bd672266eafdb/lib/linter/linter.js#L854
|
|
432
|
+
get column() {
|
|
433
|
+
return this.location.start.column;
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
nodeUtils.TSError = TSError;
|
|
437
|
+
function createError(node, message, sourceFile) {
|
|
438
|
+
let startIndex;
|
|
439
|
+
let endIndex;
|
|
440
|
+
if (Array.isArray(node)) {
|
|
441
|
+
[startIndex, endIndex] = node;
|
|
442
|
+
} else if (typeof node === "number") {
|
|
443
|
+
startIndex = endIndex = node;
|
|
444
|
+
} else {
|
|
445
|
+
sourceFile ??= node.getSourceFile();
|
|
446
|
+
startIndex = node.getStart(sourceFile);
|
|
447
|
+
endIndex = node.getEnd();
|
|
448
|
+
}
|
|
449
|
+
if (!sourceFile) {
|
|
450
|
+
throw new Error("`sourceFile` is required.");
|
|
451
|
+
}
|
|
452
|
+
const [start, end] = [startIndex, endIndex].map((offset) => {
|
|
453
|
+
const { character: column, line } = sourceFile.getLineAndCharacterOfPosition(offset);
|
|
454
|
+
return { column, line: line + 1, offset };
|
|
455
|
+
});
|
|
456
|
+
return new TSError(message, sourceFile.fileName, { end, start });
|
|
457
|
+
}
|
|
458
|
+
function nodeHasTokens(n, ast) {
|
|
459
|
+
return n.kind === SyntaxKind.EndOfFileToken ? !!n.jsDoc : n.getWidth(ast) !== 0;
|
|
460
|
+
}
|
|
461
|
+
function firstDefined(array, callback) {
|
|
462
|
+
if (array === void 0) {
|
|
463
|
+
return void 0;
|
|
464
|
+
}
|
|
465
|
+
for (let i = 0; i < array.length; i++) {
|
|
466
|
+
const result = callback(array[i], i);
|
|
467
|
+
if (result !== void 0) {
|
|
468
|
+
return result;
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
return void 0;
|
|
472
|
+
}
|
|
473
|
+
function identifierIsThisKeyword(id) {
|
|
474
|
+
return (isAtLeast50 ? ts.identifierToKeywordKind(id) : (
|
|
475
|
+
// @ts-expect-error -- intentional fallback for older TS versions <=4.9
|
|
476
|
+
id.originalKeywordKind
|
|
477
|
+
)) === SyntaxKind.ThisKeyword;
|
|
478
|
+
}
|
|
479
|
+
function isThisIdentifier(node) {
|
|
480
|
+
return !!node && node.kind === SyntaxKind.Identifier && identifierIsThisKeyword(node);
|
|
481
|
+
}
|
|
482
|
+
function isThisInTypeQuery(node) {
|
|
483
|
+
if (!isThisIdentifier(node)) {
|
|
484
|
+
return false;
|
|
485
|
+
}
|
|
486
|
+
while (ts.isQualifiedName(node.parent) && node.parent.left === node) {
|
|
487
|
+
node = node.parent;
|
|
488
|
+
}
|
|
489
|
+
return node.parent.kind === SyntaxKind.TypeQuery;
|
|
490
|
+
}
|
|
491
|
+
function isValidAssignmentTarget(node) {
|
|
492
|
+
switch (node.kind) {
|
|
493
|
+
case SyntaxKind.Identifier:
|
|
494
|
+
return true;
|
|
495
|
+
case SyntaxKind.PropertyAccessExpression:
|
|
496
|
+
case SyntaxKind.ElementAccessExpression:
|
|
497
|
+
if (node.flags & ts.NodeFlags.OptionalChain) {
|
|
498
|
+
return false;
|
|
499
|
+
}
|
|
500
|
+
return true;
|
|
501
|
+
case SyntaxKind.ParenthesizedExpression:
|
|
502
|
+
case SyntaxKind.TypeAssertionExpression:
|
|
503
|
+
case SyntaxKind.AsExpression:
|
|
504
|
+
case SyntaxKind.SatisfiesExpression:
|
|
505
|
+
case SyntaxKind.ExpressionWithTypeArguments:
|
|
506
|
+
case SyntaxKind.NonNullExpression:
|
|
507
|
+
return isValidAssignmentTarget(node.expression);
|
|
508
|
+
default:
|
|
509
|
+
return false;
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
function getNamespaceModifiers(node) {
|
|
513
|
+
let modifiers = (0, getModifiers_1.getModifiers)(node);
|
|
514
|
+
let moduleDeclaration = node;
|
|
515
|
+
while ((!modifiers || modifiers.length === 0) && ts.isModuleDeclaration(moduleDeclaration.parent)) {
|
|
516
|
+
const parentModifiers = (0, getModifiers_1.getModifiers)(moduleDeclaration.parent);
|
|
517
|
+
if (parentModifiers?.length) {
|
|
518
|
+
modifiers = parentModifiers;
|
|
519
|
+
}
|
|
520
|
+
moduleDeclaration = moduleDeclaration.parent;
|
|
521
|
+
}
|
|
522
|
+
return modifiers;
|
|
523
|
+
}
|
|
524
|
+
function declarationNameToString(name, ast) {
|
|
525
|
+
const text = ast.text.slice(name.pos, name.end).trimStart();
|
|
526
|
+
return text || "(Missing)";
|
|
527
|
+
}
|
|
528
|
+
return nodeUtils;
|
|
529
|
+
}
|
|
530
|
+
export {
|
|
531
|
+
requireNodeUtils as __require
|
|
532
|
+
};
|
|
533
|
+
//# sourceMappingURL=node-utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"node-utils.js","sources":["../../../../../node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js"],"sourcesContent":["\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.TSError = void 0;\nexports.isLogicalOperator = isLogicalOperator;\nexports.isESTreeBinaryOperator = isESTreeBinaryOperator;\nexports.getTextForTokenKind = getTextForTokenKind;\nexports.isESTreeClassMember = isESTreeClassMember;\nexports.hasModifier = hasModifier;\nexports.getLastModifier = getLastModifier;\nexports.isComma = isComma;\nexports.isComment = isComment;\nexports.getBinaryExpressionType = getBinaryExpressionType;\nexports.getLineAndCharacterFor = getLineAndCharacterFor;\nexports.getLocFor = getLocFor;\nexports.canContainDirective = canContainDirective;\nexports.getRange = getRange;\nexports.isJSXToken = isJSXToken;\nexports.getDeclarationKind = getDeclarationKind;\nexports.getTSNodeAccessibility = getTSNodeAccessibility;\nexports.findNextToken = findNextToken;\nexports.findFirstMatchingAncestor = findFirstMatchingAncestor;\nexports.hasJSXAncestor = hasJSXAncestor;\nexports.unescapeStringLiteralText = unescapeStringLiteralText;\nexports.isComputedProperty = isComputedProperty;\nexports.isOptional = isOptional;\nexports.isChainExpression = isChainExpression;\nexports.isChildUnwrappableOptionalChain = isChildUnwrappableOptionalChain;\nexports.getTokenType = getTokenType;\nexports.convertToken = convertToken;\nexports.convertTokens = convertTokens;\nexports.createError = createError;\nexports.nodeHasTokens = nodeHasTokens;\nexports.firstDefined = firstDefined;\nexports.identifierIsThisKeyword = identifierIsThisKeyword;\nexports.isThisIdentifier = isThisIdentifier;\nexports.isThisInTypeQuery = isThisInTypeQuery;\nexports.isValidAssignmentTarget = isValidAssignmentTarget;\nexports.getNamespaceModifiers = getNamespaceModifiers;\nexports.declarationNameToString = declarationNameToString;\nconst ts = __importStar(require(\"typescript\"));\nconst getModifiers_1 = require(\"./getModifiers\");\nconst xhtml_entities_1 = require(\"./jsx/xhtml-entities\");\nconst ts_estree_1 = require(\"./ts-estree\");\nconst version_check_1 = require(\"./version-check\");\nconst isAtLeast50 = version_check_1.typescriptVersionIsAtLeast['5.0'];\nconst SyntaxKind = ts.SyntaxKind;\nconst LOGICAL_OPERATORS = new Set([\n SyntaxKind.AmpersandAmpersandToken,\n SyntaxKind.BarBarToken,\n SyntaxKind.QuestionQuestionToken,\n]);\nconst ASSIGNMENT_OPERATORS = new Set([\n ts.SyntaxKind.AmpersandAmpersandEqualsToken,\n ts.SyntaxKind.AmpersandEqualsToken,\n ts.SyntaxKind.AsteriskAsteriskEqualsToken,\n ts.SyntaxKind.AsteriskEqualsToken,\n ts.SyntaxKind.BarBarEqualsToken,\n ts.SyntaxKind.BarEqualsToken,\n ts.SyntaxKind.CaretEqualsToken,\n ts.SyntaxKind.EqualsToken,\n ts.SyntaxKind.GreaterThanGreaterThanEqualsToken,\n ts.SyntaxKind.GreaterThanGreaterThanGreaterThanEqualsToken,\n ts.SyntaxKind.LessThanLessThanEqualsToken,\n ts.SyntaxKind.MinusEqualsToken,\n ts.SyntaxKind.PercentEqualsToken,\n ts.SyntaxKind.PlusEqualsToken,\n ts.SyntaxKind.QuestionQuestionEqualsToken,\n ts.SyntaxKind.SlashEqualsToken,\n]);\nconst BINARY_OPERATORS = new Set([\n SyntaxKind.AmpersandAmpersandToken,\n SyntaxKind.AmpersandToken,\n SyntaxKind.AsteriskAsteriskToken,\n SyntaxKind.AsteriskToken,\n SyntaxKind.BarBarToken,\n SyntaxKind.BarToken,\n SyntaxKind.CaretToken,\n SyntaxKind.EqualsEqualsEqualsToken,\n SyntaxKind.EqualsEqualsToken,\n SyntaxKind.ExclamationEqualsEqualsToken,\n SyntaxKind.ExclamationEqualsToken,\n SyntaxKind.GreaterThanEqualsToken,\n SyntaxKind.GreaterThanGreaterThanGreaterThanToken,\n SyntaxKind.GreaterThanGreaterThanToken,\n SyntaxKind.GreaterThanToken,\n SyntaxKind.InKeyword,\n SyntaxKind.InstanceOfKeyword,\n SyntaxKind.LessThanEqualsToken,\n SyntaxKind.LessThanLessThanToken,\n SyntaxKind.LessThanToken,\n SyntaxKind.MinusToken,\n SyntaxKind.PercentToken,\n SyntaxKind.PlusToken,\n SyntaxKind.SlashToken,\n]);\n/**\n * Returns true if the given ts.Token is the assignment operator\n */\nfunction isAssignmentOperator(operator) {\n return ASSIGNMENT_OPERATORS.has(operator.kind);\n}\n/**\n * Returns true if the given ts.Token is a logical operator\n */\nfunction isLogicalOperator(operator) {\n return LOGICAL_OPERATORS.has(operator.kind);\n}\nfunction isESTreeBinaryOperator(operator) {\n return BINARY_OPERATORS.has(operator.kind);\n}\n/**\n * Returns the string form of the given TSToken SyntaxKind\n */\nfunction getTextForTokenKind(kind) {\n return ts.tokenToString(kind);\n}\n/**\n * Returns true if the given ts.Node is a valid ESTree class member\n */\nfunction isESTreeClassMember(node) {\n return node.kind !== SyntaxKind.SemicolonClassElement;\n}\n/**\n * Checks if a ts.Node has a modifier\n */\nfunction hasModifier(modifierKind, node) {\n const modifiers = (0, getModifiers_1.getModifiers)(node);\n return modifiers?.some(modifier => modifier.kind === modifierKind) === true;\n}\n/**\n * Get last last modifier in ast\n * @returns returns last modifier if present or null\n */\nfunction getLastModifier(node) {\n const modifiers = (0, getModifiers_1.getModifiers)(node);\n if (modifiers == null) {\n return null;\n }\n return modifiers[modifiers.length - 1] ?? null;\n}\n/**\n * Returns true if the given ts.Token is a comma\n */\nfunction isComma(token) {\n return token.kind === SyntaxKind.CommaToken;\n}\n/**\n * Returns true if the given ts.Node is a comment\n */\nfunction isComment(node) {\n return (node.kind === SyntaxKind.SingleLineCommentTrivia ||\n node.kind === SyntaxKind.MultiLineCommentTrivia);\n}\n/**\n * Returns true if the given ts.Node is a JSDoc comment\n */\nfunction isJSDocComment(node) {\n // eslint-disable-next-line @typescript-eslint/no-deprecated -- SyntaxKind.JSDoc was only added in TS4.7 so we can't use it yet\n return node.kind === SyntaxKind.JSDocComment;\n}\n/**\n * Returns the binary expression type of the given ts.Token\n */\nfunction getBinaryExpressionType(operator) {\n if (isAssignmentOperator(operator)) {\n return {\n type: ts_estree_1.AST_NODE_TYPES.AssignmentExpression,\n operator: getTextForTokenKind(operator.kind),\n };\n }\n if (isLogicalOperator(operator)) {\n return {\n type: ts_estree_1.AST_NODE_TYPES.LogicalExpression,\n operator: getTextForTokenKind(operator.kind),\n };\n }\n if (isESTreeBinaryOperator(operator)) {\n return {\n type: ts_estree_1.AST_NODE_TYPES.BinaryExpression,\n operator: getTextForTokenKind(operator.kind),\n };\n }\n throw new Error(`Unexpected binary operator ${ts.tokenToString(operator.kind)}`);\n}\n/**\n * Returns line and column data for the given positions\n */\nfunction getLineAndCharacterFor(pos, ast) {\n const loc = ast.getLineAndCharacterOfPosition(pos);\n return {\n column: loc.character,\n line: loc.line + 1,\n };\n}\n/**\n * Returns line and column data for the given start and end positions,\n * for the given AST\n */\nfunction getLocFor(range, ast) {\n const [start, end] = range.map(pos => getLineAndCharacterFor(pos, ast));\n return { end, start };\n}\n/**\n * Check whatever node can contain directive\n */\nfunction canContainDirective(node) {\n if (node.kind === ts.SyntaxKind.Block) {\n switch (node.parent.kind) {\n case ts.SyntaxKind.Constructor:\n case ts.SyntaxKind.GetAccessor:\n case ts.SyntaxKind.SetAccessor:\n case ts.SyntaxKind.ArrowFunction:\n case ts.SyntaxKind.FunctionExpression:\n case ts.SyntaxKind.FunctionDeclaration:\n case ts.SyntaxKind.MethodDeclaration:\n return true;\n default:\n return false;\n }\n }\n return true;\n}\n/**\n * Returns range for the given ts.Node\n */\nfunction getRange(node, ast) {\n return [node.getStart(ast), node.getEnd()];\n}\n/**\n * Returns true if a given ts.Node is a token\n */\nfunction isToken(node) {\n return (node.kind >= SyntaxKind.FirstToken && node.kind <= SyntaxKind.LastToken);\n}\n/**\n * Returns true if a given ts.Node is a JSX token\n */\nfunction isJSXToken(node) {\n return (node.kind >= SyntaxKind.JsxElement && node.kind <= SyntaxKind.JsxAttribute);\n}\n/**\n * Returns the declaration kind of the given ts.Node\n */\nfunction getDeclarationKind(node) {\n if (node.flags & ts.NodeFlags.Let) {\n return 'let';\n }\n // eslint-disable-next-line @typescript-eslint/no-unsafe-enum-comparison\n if ((node.flags & ts.NodeFlags.AwaitUsing) === ts.NodeFlags.AwaitUsing) {\n return 'await using';\n }\n if (node.flags & ts.NodeFlags.Const) {\n return 'const';\n }\n if (node.flags & ts.NodeFlags.Using) {\n return 'using';\n }\n return 'var';\n}\n/**\n * Gets a ts.Node's accessibility level\n */\nfunction getTSNodeAccessibility(node) {\n const modifiers = (0, getModifiers_1.getModifiers)(node);\n if (modifiers == null) {\n return undefined;\n }\n for (const modifier of modifiers) {\n switch (modifier.kind) {\n case SyntaxKind.PublicKeyword:\n return 'public';\n case SyntaxKind.ProtectedKeyword:\n return 'protected';\n case SyntaxKind.PrivateKeyword:\n return 'private';\n default:\n break;\n }\n }\n return undefined;\n}\n/**\n * Finds the next token based on the previous one and its parent\n * Had to copy this from TS instead of using TS's version because theirs doesn't pass the ast to getChildren\n */\nfunction findNextToken(previousToken, parent, ast) {\n return find(parent);\n function find(n) {\n if (ts.isToken(n) && n.pos === previousToken.end) {\n // this is token that starts at the end of previous token - return it\n return n;\n }\n return firstDefined(n.getChildren(ast), (child) => {\n const shouldDiveInChildNode = \n // previous token is enclosed somewhere in the child\n (child.pos <= previousToken.pos && child.end > previousToken.end) ||\n // previous token ends exactly at the beginning of child\n child.pos === previousToken.end;\n return shouldDiveInChildNode && nodeHasTokens(child, ast)\n ? find(child)\n : undefined;\n });\n }\n}\n/**\n * Find the first matching ancestor based on the given predicate function.\n * @param node The current ts.Node\n * @param predicate The predicate function to apply to each checked ancestor\n * @returns a matching parent ts.Node\n */\nfunction findFirstMatchingAncestor(node, predicate) {\n let current = node;\n while (current) {\n if (predicate(current)) {\n return current;\n }\n current = current.parent;\n }\n return undefined;\n}\n/**\n * Returns true if a given ts.Node has a JSX token within its hierarchy\n */\nfunction hasJSXAncestor(node) {\n return !!findFirstMatchingAncestor(node, isJSXToken);\n}\n/**\n * Unescape the text content of string literals, e.g. & -> &\n * @param text The escaped string literal text.\n * @returns The unescaped string literal text.\n */\nfunction unescapeStringLiteralText(text) {\n return text.replaceAll(/&(?:#\\d+|#x[\\da-fA-F]+|[0-9a-zA-Z]+);/g, entity => {\n const item = entity.slice(1, -1);\n if (item[0] === '#') {\n const codePoint = item[1] === 'x'\n ? parseInt(item.slice(2), 16)\n : parseInt(item.slice(1), 10);\n return codePoint > 0x10ffff // RangeError: Invalid code point\n ? entity\n : String.fromCodePoint(codePoint);\n }\n return xhtml_entities_1.xhtmlEntities[item] || entity;\n });\n}\n/**\n * Returns true if a given ts.Node is a computed property\n */\nfunction isComputedProperty(node) {\n return node.kind === SyntaxKind.ComputedPropertyName;\n}\n/**\n * Returns true if a given ts.Node is optional (has QuestionToken)\n * @param node ts.Node to be checked\n */\nfunction isOptional(node) {\n return !!node.questionToken;\n}\n/**\n * Returns true if the node is an optional chain node\n */\nfunction isChainExpression(node) {\n return node.type === ts_estree_1.AST_NODE_TYPES.ChainExpression;\n}\n/**\n * Returns true of the child of property access expression is an optional chain\n */\nfunction isChildUnwrappableOptionalChain(node, child) {\n return (isChainExpression(child) &&\n // (x?.y).z is semantically different, and as such .z is no longer optional\n node.expression.kind !== ts.SyntaxKind.ParenthesizedExpression);\n}\n/**\n * Returns the type of a given ts.Token\n */\nfunction getTokenType(token) {\n if (token.kind === SyntaxKind.NullKeyword) {\n return ts_estree_1.AST_TOKEN_TYPES.Null;\n }\n if (token.kind >= SyntaxKind.FirstKeyword &&\n token.kind <= SyntaxKind.LastFutureReservedWord) {\n if (token.kind === SyntaxKind.FalseKeyword ||\n token.kind === SyntaxKind.TrueKeyword) {\n return ts_estree_1.AST_TOKEN_TYPES.Boolean;\n }\n return ts_estree_1.AST_TOKEN_TYPES.Keyword;\n }\n if (token.kind >= SyntaxKind.FirstPunctuation &&\n token.kind <= SyntaxKind.LastPunctuation) {\n return ts_estree_1.AST_TOKEN_TYPES.Punctuator;\n }\n if (token.kind >= SyntaxKind.NoSubstitutionTemplateLiteral &&\n token.kind <= SyntaxKind.TemplateTail) {\n return ts_estree_1.AST_TOKEN_TYPES.Template;\n }\n switch (token.kind) {\n case SyntaxKind.NumericLiteral:\n case SyntaxKind.BigIntLiteral:\n return ts_estree_1.AST_TOKEN_TYPES.Numeric;\n case SyntaxKind.PrivateIdentifier:\n return ts_estree_1.AST_TOKEN_TYPES.PrivateIdentifier;\n case SyntaxKind.JsxText:\n return ts_estree_1.AST_TOKEN_TYPES.JSXText;\n case SyntaxKind.StringLiteral:\n // A TypeScript-StringLiteral token with a TypeScript-JsxAttribute or TypeScript-JsxElement parent,\n // must actually be an ESTree-JSXText token\n if (token.parent.kind === SyntaxKind.JsxAttribute ||\n token.parent.kind === SyntaxKind.JsxElement) {\n return ts_estree_1.AST_TOKEN_TYPES.JSXText;\n }\n return ts_estree_1.AST_TOKEN_TYPES.String;\n case SyntaxKind.RegularExpressionLiteral:\n return ts_estree_1.AST_TOKEN_TYPES.RegularExpression;\n case SyntaxKind.Identifier:\n case SyntaxKind.ConstructorKeyword:\n case SyntaxKind.GetKeyword:\n case SyntaxKind.SetKeyword:\n // intentional fallthrough\n default:\n }\n // Some JSX tokens have to be determined based on their parent\n if (token.kind === SyntaxKind.Identifier) {\n if (isJSXToken(token.parent)) {\n return ts_estree_1.AST_TOKEN_TYPES.JSXIdentifier;\n }\n if (token.parent.kind === SyntaxKind.PropertyAccessExpression &&\n hasJSXAncestor(token)) {\n return ts_estree_1.AST_TOKEN_TYPES.JSXIdentifier;\n }\n }\n return ts_estree_1.AST_TOKEN_TYPES.Identifier;\n}\n/**\n * Extends and formats a given ts.Token, for a given AST\n */\nfunction convertToken(token, ast) {\n const start = token.kind === SyntaxKind.JsxText\n ? token.getFullStart()\n : token.getStart(ast);\n const end = token.getEnd();\n const value = ast.text.slice(start, end);\n const tokenType = getTokenType(token);\n const range = [start, end];\n const loc = getLocFor(range, ast);\n if (tokenType === ts_estree_1.AST_TOKEN_TYPES.RegularExpression) {\n return {\n type: tokenType,\n loc,\n range,\n regex: {\n flags: value.slice(value.lastIndexOf('/') + 1),\n pattern: value.slice(1, value.lastIndexOf('/')),\n },\n value,\n };\n }\n if (tokenType === ts_estree_1.AST_TOKEN_TYPES.PrivateIdentifier) {\n return {\n type: tokenType,\n loc,\n range,\n value: value.slice(1),\n };\n }\n // @ts-expect-error TS is complaining about `value` not being the correct\n // type but it is\n return {\n type: tokenType,\n loc,\n range,\n value,\n };\n}\n/**\n * Converts all tokens for the given AST\n * @param ast the AST object\n * @returns the converted Tokens\n */\nfunction convertTokens(ast) {\n const result = [];\n /**\n * @param node the ts.Node\n */\n function walk(node) {\n // TypeScript generates tokens for types in JSDoc blocks. Comment tokens\n // and their children should not be walked or added to the resulting tokens list.\n if (isComment(node) || isJSDocComment(node)) {\n return;\n }\n if (isToken(node) && node.kind !== SyntaxKind.EndOfFileToken) {\n result.push(convertToken(node, ast));\n }\n else {\n node.getChildren(ast).forEach(walk);\n }\n }\n walk(ast);\n return result;\n}\nclass TSError extends Error {\n fileName;\n location;\n name = 'TSError';\n constructor(message, fileName, location) {\n super(message);\n this.fileName = fileName;\n this.location = location;\n }\n // For old version of ESLint https://github.com/typescript-eslint/typescript-eslint/pull/6556#discussion_r1123237311\n get index() {\n return this.location.start.offset;\n }\n // https://github.com/eslint/eslint/blob/b09a512107249a4eb19ef5a37b0bd672266eafdb/lib/linter/linter.js#L853\n get lineNumber() {\n return this.location.start.line;\n }\n // https://github.com/eslint/eslint/blob/b09a512107249a4eb19ef5a37b0bd672266eafdb/lib/linter/linter.js#L854\n get column() {\n return this.location.start.column;\n }\n}\nexports.TSError = TSError;\nfunction createError(node, message, sourceFile) {\n let startIndex;\n let endIndex;\n if (Array.isArray(node)) {\n [startIndex, endIndex] = node;\n }\n else if (typeof node === 'number') {\n startIndex = endIndex = node;\n }\n else {\n sourceFile ??= node.getSourceFile();\n startIndex = node.getStart(sourceFile);\n endIndex = node.getEnd();\n }\n if (!sourceFile) {\n throw new Error('`sourceFile` is required.');\n }\n const [start, end] = [startIndex, endIndex].map(offset => {\n const { character: column, line } = sourceFile.getLineAndCharacterOfPosition(offset);\n return { column, line: line + 1, offset };\n });\n return new TSError(message, sourceFile.fileName, { end, start });\n}\nfunction nodeHasTokens(n, ast) {\n // If we have a token or node that has a non-zero width, it must have tokens.\n // Note: getWidth() does not take trivia into account.\n return n.kind === SyntaxKind.EndOfFileToken\n ? !!n.jsDoc\n : n.getWidth(ast) !== 0;\n}\n/**\n * Like `forEach`, but suitable for use with numbers and strings (which may be falsy).\n */\nfunction firstDefined(array, callback) {\n // eslint-disable-next-line @typescript-eslint/internal/eqeq-nullish\n if (array === undefined) {\n return undefined;\n }\n for (let i = 0; i < array.length; i++) {\n const result = callback(array[i], i);\n // eslint-disable-next-line @typescript-eslint/internal/eqeq-nullish\n if (result !== undefined) {\n return result;\n }\n }\n return undefined;\n}\nfunction identifierIsThisKeyword(id) {\n return ((isAtLeast50\n ? ts.identifierToKeywordKind(id)\n : // @ts-expect-error -- intentional fallback for older TS versions <=4.9\n id.originalKeywordKind) === SyntaxKind.ThisKeyword);\n}\nfunction isThisIdentifier(node) {\n return (!!node &&\n node.kind === SyntaxKind.Identifier &&\n identifierIsThisKeyword(node));\n}\nfunction isThisInTypeQuery(node) {\n if (!isThisIdentifier(node)) {\n return false;\n }\n while (ts.isQualifiedName(node.parent) && node.parent.left === node) {\n node = node.parent;\n }\n return node.parent.kind === SyntaxKind.TypeQuery;\n}\nfunction isValidAssignmentTarget(node) {\n switch (node.kind) {\n case SyntaxKind.Identifier:\n return true;\n case SyntaxKind.PropertyAccessExpression:\n case SyntaxKind.ElementAccessExpression:\n if (node.flags & ts.NodeFlags.OptionalChain) {\n return false;\n }\n return true;\n case SyntaxKind.ParenthesizedExpression:\n case SyntaxKind.TypeAssertionExpression:\n case SyntaxKind.AsExpression:\n case SyntaxKind.SatisfiesExpression:\n case SyntaxKind.ExpressionWithTypeArguments:\n case SyntaxKind.NonNullExpression:\n return isValidAssignmentTarget(node.expression);\n default:\n return false;\n }\n}\nfunction getNamespaceModifiers(node) {\n // For following nested namespaces, use modifiers given to the topmost namespace\n // export declare namespace foo.bar.baz {}\n let modifiers = (0, getModifiers_1.getModifiers)(node);\n let moduleDeclaration = node;\n while ((!modifiers || modifiers.length === 0) &&\n ts.isModuleDeclaration(moduleDeclaration.parent)) {\n const parentModifiers = (0, getModifiers_1.getModifiers)(moduleDeclaration.parent);\n if (parentModifiers?.length) {\n modifiers = parentModifiers;\n }\n moduleDeclaration = moduleDeclaration.parent;\n }\n return modifiers;\n}\n// `ts.declarationNameToString`\nfunction declarationNameToString(name, ast) {\n const text = ast.text.slice(name.pos, name.end).trimStart();\n return text || '(Missing)';\n}\n"],"names":["this","o","require$$0","require$$1","require$$2","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;AACY,eAAO;AAAA,MACX,KAAK,WAAW;AAAA,MAChB,KAAK,WAAW;AAAA,MAChB,KAAK,WAAW;AAAA,MAChB,KAAK,WAAW;AAAA,MAChB,KAAK,WAAW;AAAA,MAChB,KAAK,WAAW;AACZ,eAAO,wBAAwB,KAAK,UAAU;AAAA,MAClD;AACI,eAAO;AAAA,IACnB;AAAA,EACA;AACA,WAAS,sBAAsB,MAAM;AAGjC,QAAI,aAAY,GAAI,eAAe,cAAc,IAAI;AACrD,QAAI,oBAAoB;AACxB,YAAQ,CAAC,aAAa,UAAU,WAAW,MACvC,GAAG,oBAAoB,kBAAkB,MAAM,GAAG;AAClD,YAAM,mBAAkB,GAAI,eAAe,cAAc,kBAAkB,MAAM;AACjF,UAAI,iBAAiB,QAAQ;AACzB,oBAAY;AAAA,MACxB;AACQ,0BAAoB,kBAAkB;AAAA,IAC9C;AACI,WAAO;AAAA,EACX;AAEA,WAAS,wBAAwB,MAAM,KAAK;AACxC,UAAM,OAAO,IAAI,KAAK,MAAM,KAAK,KAAK,KAAK,GAAG,EAAE,UAAS;AACzD,WAAO,QAAQ;AAAA,EACnB;;;","x_google_ignoreList":[0]}
|
package/dist/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/ExpiringCache.js
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { __exports as ExpiringCache } from "../../../../../_virtual/ExpiringCache.js";
|
|
2
|
+
var hasRequiredExpiringCache;
|
|
3
|
+
function requireExpiringCache() {
|
|
4
|
+
if (hasRequiredExpiringCache) return ExpiringCache;
|
|
5
|
+
hasRequiredExpiringCache = 1;
|
|
6
|
+
Object.defineProperty(ExpiringCache, "__esModule", { value: true });
|
|
7
|
+
ExpiringCache.ExpiringCache = ExpiringCache.DEFAULT_TSCONFIG_CACHE_DURATION_SECONDS = void 0;
|
|
8
|
+
ExpiringCache.DEFAULT_TSCONFIG_CACHE_DURATION_SECONDS = 30;
|
|
9
|
+
const ZERO_HR_TIME = [0, 0];
|
|
10
|
+
let ExpiringCache$1 = class ExpiringCache {
|
|
11
|
+
#cacheDurationSeconds;
|
|
12
|
+
#map = /* @__PURE__ */ new Map();
|
|
13
|
+
constructor(cacheDurationSeconds) {
|
|
14
|
+
this.#cacheDurationSeconds = cacheDurationSeconds;
|
|
15
|
+
}
|
|
16
|
+
clear() {
|
|
17
|
+
this.#map.clear();
|
|
18
|
+
}
|
|
19
|
+
get(key) {
|
|
20
|
+
const entry = this.#map.get(key);
|
|
21
|
+
if (entry?.value != null) {
|
|
22
|
+
if (this.#cacheDurationSeconds === "Infinity") {
|
|
23
|
+
return entry.value;
|
|
24
|
+
}
|
|
25
|
+
const ageSeconds = process.hrtime(entry.lastSeen)[0];
|
|
26
|
+
if (ageSeconds < this.#cacheDurationSeconds) {
|
|
27
|
+
return entry.value;
|
|
28
|
+
}
|
|
29
|
+
this.#map.delete(key);
|
|
30
|
+
}
|
|
31
|
+
return void 0;
|
|
32
|
+
}
|
|
33
|
+
set(key, value) {
|
|
34
|
+
this.#map.set(key, {
|
|
35
|
+
lastSeen: this.#cacheDurationSeconds === "Infinity" ? (
|
|
36
|
+
// no need to waste time calculating the hrtime in infinity mode as there's no expiry
|
|
37
|
+
ZERO_HR_TIME
|
|
38
|
+
) : process.hrtime(),
|
|
39
|
+
value
|
|
40
|
+
});
|
|
41
|
+
return this;
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
ExpiringCache.ExpiringCache = ExpiringCache$1;
|
|
45
|
+
return ExpiringCache;
|
|
46
|
+
}
|
|
47
|
+
export {
|
|
48
|
+
requireExpiringCache as __require
|
|
49
|
+
};
|
|
50
|
+
//# sourceMappingURL=ExpiringCache.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExpiringCache.js","sources":["../../../../../../node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/ExpiringCache.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ExpiringCache = exports.DEFAULT_TSCONFIG_CACHE_DURATION_SECONDS = void 0;\nexports.DEFAULT_TSCONFIG_CACHE_DURATION_SECONDS = 30;\nconst ZERO_HR_TIME = [0, 0];\n/**\n * A map with key-level expiration.\n */\nclass ExpiringCache {\n #cacheDurationSeconds;\n #map = new Map();\n constructor(cacheDurationSeconds) {\n this.#cacheDurationSeconds = cacheDurationSeconds;\n }\n clear() {\n this.#map.clear();\n }\n get(key) {\n const entry = this.#map.get(key);\n if (entry?.value != null) {\n if (this.#cacheDurationSeconds === 'Infinity') {\n return entry.value;\n }\n const ageSeconds = process.hrtime(entry.lastSeen)[0];\n if (ageSeconds < this.#cacheDurationSeconds) {\n // cache hit woo!\n return entry.value;\n }\n // key has expired - clean it up to free up memory\n this.#map.delete(key);\n }\n // no hit :'(\n return undefined;\n }\n set(key, value) {\n this.#map.set(key, {\n lastSeen: this.#cacheDurationSeconds === 'Infinity'\n ? // no need to waste time calculating the hrtime in infinity mode as there's no expiry\n ZERO_HR_TIME\n : process.hrtime(),\n value,\n });\n return this;\n }\n}\nexports.ExpiringCache = ExpiringCache;\n"],"names":["ExpiringCache_1","ExpiringCache"],"mappings":";;;;;AACA,SAAO,eAAeA,eAAS,cAAc,EAAE,OAAO,MAAM;AAC5DA,gBAAA,gBAAwBA,cAAA,0CAAkD;AAC1EA,gBAAA,0CAAkD;AAClD,QAAM,eAAe,CAAC,GAAG,CAAC;AAI1B,MAAA,kBAAA,MAAM,cAAc;AAAA,IAChB;AAAA,IACA,OAAO,oBAAI,IAAG;AAAA,IACd,YAAY,sBAAsB;AAC9B,WAAK,wBAAwB;AAAA,IACrC;AAAA,IACI,QAAQ;AACJ,WAAK,KAAK,MAAK;AAAA,IACvB;AAAA,IACI,IAAI,KAAK;AACL,YAAM,QAAQ,KAAK,KAAK,IAAI,GAAG;AAC/B,UAAI,OAAO,SAAS,MAAM;AACtB,YAAI,KAAK,0BAA0B,YAAY;AAC3C,iBAAO,MAAM;AAAA,QAC7B;AACY,cAAM,aAAa,QAAQ,OAAO,MAAM,QAAQ,EAAE,CAAC;AACnD,YAAI,aAAa,KAAK,uBAAuB;AAEzC,iBAAO,MAAM;AAAA,QAC7B;AAEY,aAAK,KAAK,OAAO,GAAG;AAAA,MAChC;AAEQ,aAAO;AAAA,IACf;AAAA,IACI,IAAI,KAAK,OAAO;AACZ,WAAK,KAAK,IAAI,KAAK;AAAA,QACf,UAAU,KAAK,0BAA0B;AAAA;AAAA,UAEjC;AAAA,YACF,QAAQ,OAAM;AAAA,QACpB;AAAA,MACZ,CAAS;AACD,aAAO;AAAA,IACf;AAAA,EACA;AACAA,gBAAA,gBAAwBC;;;","x_google_ignoreList":[0]}
|