repoburg 1.0.59 → 1.0.60
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/backend/dist/context-generation/context-generation.service.js +5 -3
- package/backend/dist/context-generation/context-generation.service.js.map +1 -1
- package/backend/dist/tsconfig.build.tsbuildinfo +1 -1
- package/backend/dist/workspace/workspace.service.js +5 -3
- package/backend/dist/workspace/workspace.service.js.map +1 -1
- package/backend/node_modules/@eslint/eslintrc/LICENSE +19 -0
- package/backend/node_modules/@eslint/eslintrc/README.md +115 -0
- package/backend/node_modules/@eslint/eslintrc/conf/config-schema.js +79 -0
- package/backend/node_modules/@eslint/eslintrc/conf/environments.js +215 -0
- package/backend/node_modules/@eslint/eslintrc/dist/eslintrc-universal.cjs +1104 -0
- package/backend/node_modules/@eslint/eslintrc/dist/eslintrc-universal.cjs.map +1 -0
- package/backend/node_modules/@eslint/eslintrc/dist/eslintrc.cjs +4344 -0
- package/backend/node_modules/@eslint/eslintrc/dist/eslintrc.cjs.map +1 -0
- package/backend/node_modules/@eslint/eslintrc/lib/cascading-config-array-factory.js +532 -0
- package/backend/node_modules/@eslint/eslintrc/lib/config-array/config-array.js +523 -0
- package/backend/node_modules/@eslint/eslintrc/lib/config-array/config-dependency.js +124 -0
- package/backend/node_modules/@eslint/eslintrc/lib/config-array/extracted-config.js +145 -0
- package/backend/node_modules/@eslint/eslintrc/lib/config-array/ignore-pattern.js +238 -0
- package/backend/node_modules/@eslint/eslintrc/lib/config-array/index.js +19 -0
- package/backend/node_modules/@eslint/eslintrc/lib/config-array/override-tester.js +225 -0
- package/backend/node_modules/@eslint/eslintrc/lib/config-array-factory.js +1151 -0
- package/backend/node_modules/@eslint/eslintrc/lib/flat-compat.js +318 -0
- package/backend/node_modules/@eslint/eslintrc/lib/index-universal.js +29 -0
- package/backend/node_modules/@eslint/eslintrc/lib/index.js +56 -0
- package/backend/node_modules/@eslint/eslintrc/lib/shared/ajv.js +191 -0
- package/backend/node_modules/@eslint/eslintrc/lib/shared/config-ops.js +135 -0
- package/backend/node_modules/@eslint/eslintrc/lib/shared/config-validator.js +325 -0
- package/backend/node_modules/@eslint/eslintrc/lib/shared/deprecation-warnings.js +63 -0
- package/backend/node_modules/@eslint/eslintrc/lib/shared/naming.js +96 -0
- package/backend/node_modules/@eslint/eslintrc/lib/shared/relative-module-resolver.js +42 -0
- package/backend/node_modules/@eslint/eslintrc/lib/shared/types.js +149 -0
- package/backend/node_modules/@eslint/eslintrc/package.json +82 -0
- package/backend/node_modules/@eslint/eslintrc/universal.js +9 -0
- package/backend/node_modules/{brace-expansion → @typescript-eslint/scope-manager}/LICENSE +1 -1
- package/backend/node_modules/@typescript-eslint/scope-manager/README.md +10 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts +4 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/ID.js +21 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/ID.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts +72 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js +183 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts +56 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/analyze.js +42 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/analyze.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/assert.js +11 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/assert.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts +10 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js +14 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts +10 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js +14 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts +14 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.js +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.d.ts +39 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.js +19 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.d.ts +15 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.js +18 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.d.ts +10 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js +14 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts +10 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.js +14 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts +11 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js +14 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.d.ts +14 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.js +15 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.d.ts +10 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js +14 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts +10 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js +14 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts +10 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js +14 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts +10 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js +14 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts +10 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js +14 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/index.d.ts +14 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/index.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/index.js +30 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/definition/index.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/index.d.ts +9 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/index.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/index.js +31 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/index.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.d.ts +16 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.js +23 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.js +23 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.legacy.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.legacy.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.legacy.js +15 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.legacy.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js +75 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js +1436 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.js +21 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.js +23 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.js +16 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.js +55 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.js +30 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.js +12 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.js +13 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.js +12 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.js +12 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js +46 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.js +22 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.js +20 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.js +14 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.date.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.date.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.date.js +12 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.date.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.js +20 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.js +12 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js +24 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.js +12 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.js +19 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.js +12 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.js +20 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.js +16 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.js +19 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.js +20 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.js +12 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.js +22 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.js +12 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.js +14 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.js +14 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.js +20 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.intl.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.intl.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.intl.js +12 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.intl.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.js +22 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.js +14 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.js +12 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.js +12 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.js +22 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.js +14 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.js +20 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.js +14 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js +28 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.js +14 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.js +15 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js +12 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js +14 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.js +17 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.js +20 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.js +12 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js +20 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.js +14 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.js +12 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js +15 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.js +24 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js +21 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.js +20 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.js +12 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js +26 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.js +12 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.regexp.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.regexp.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.regexp.js +15 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.regexp.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.js +12 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.js +12 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.array.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.array.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.array.js +24 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.array.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.collection.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.collection.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.collection.js +12 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.collection.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.full.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.full.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.full.js +20 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.full.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.js +16 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.js +117 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.js +30 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.js +14 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.js +24 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.js +19 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.js +22 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.collection.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.collection.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.collection.js +12 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.collection.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.decorators.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.decorators.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.decorators.js +17 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.decorators.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.disposable.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.disposable.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.disposable.js +22 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.disposable.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.js +20 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.js +12 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js +18 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.js +14 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.js +12 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.js +12 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js +15 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts +93 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js +189 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.js +18 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.js +24 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.js +9 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.js +34 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js +589 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts +29 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js +311 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts +15 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js +84 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts +14 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.js +50 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts +29 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js +108 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts +89 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js +107 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts +87 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js +548 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts +33 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js +230 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts +13 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js +41 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts +22 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.js +80 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.d.ts +2 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.js +6 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts +10 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.js +12 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts +10 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.js +12 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts +10 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.js +12 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts +10 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.js +12 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts +10 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js +12 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts +10 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.js +12 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts +10 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.js +12 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts +11 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.js +17 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts +13 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.js +36 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts +10 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.js +12 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts +18 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.js +39 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts +10 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.js +12 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts +10 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.js +12 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts +21 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.js +3 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts +107 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js +351 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.d.ts +22 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.js +25 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.d.ts +10 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.js +12 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts +10 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.js +12 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts +10 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.js +12 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts +10 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.js +12 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts +11 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js +22 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/index.d.ts +20 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/index.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/index.js +36 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/scope/index.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts +34 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js +12 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts +25 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.js +19 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts +18 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.js +33 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts +44 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.js +39 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/variable/index.d.ts +4 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/variable/index.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/variable/index.js +10 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/dist/variable/index.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/scope-manager/package.json +71 -0
- package/backend/node_modules/@typescript-eslint/visitor-keys/LICENSE +21 -0
- package/backend/node_modules/@typescript-eslint/visitor-keys/README.md +10 -0
- package/backend/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.d.ts +4 -0
- package/backend/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js +7 -0
- package/backend/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/visitor-keys/dist/index.d.ts +3 -0
- package/backend/node_modules/@typescript-eslint/visitor-keys/dist/index.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/visitor-keys/dist/index.js +8 -0
- package/backend/node_modules/@typescript-eslint/visitor-keys/dist/index.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts +4 -0
- package/backend/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts.map +1 -0
- package/backend/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js +190 -0
- package/backend/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js.map +1 -0
- package/backend/node_modules/@typescript-eslint/visitor-keys/package.json +70 -0
- package/backend/node_modules/ansi-styles/index.d.ts +345 -0
- package/backend/node_modules/ansi-styles/index.js +163 -0
- package/backend/node_modules/{strip-ansi → ansi-styles}/package.json +13 -11
- package/backend/node_modules/ansi-styles/readme.md +152 -0
- package/backend/node_modules/ts-api-utils/LICENSE.md +20 -0
- package/backend/node_modules/ts-api-utils/README.md +83 -0
- package/backend/node_modules/ts-api-utils/lib/index.cjs +2307 -0
- package/backend/node_modules/ts-api-utils/lib/index.d.cts +3063 -0
- package/backend/node_modules/ts-api-utils/lib/index.d.ts +3063 -0
- package/backend/node_modules/ts-api-utils/lib/index.js +2106 -0
- package/backend/node_modules/ts-api-utils/package.json +107 -0
- package/backend/node_modules/tsconfig-paths/CHANGELOG.md +407 -0
- package/backend/node_modules/{ms/license.md → tsconfig-paths/LICENSE} +1 -1
- package/backend/node_modules/tsconfig-paths/README.md +269 -0
- package/backend/node_modules/tsconfig-paths/lib/__tests__/config-loader.test.d.ts +1 -0
- package/backend/node_modules/tsconfig-paths/lib/__tests__/config-loader.test.js +87 -0
- package/backend/node_modules/tsconfig-paths/lib/__tests__/config-loader.test.js.map +1 -0
- package/backend/node_modules/tsconfig-paths/lib/__tests__/data/match-path-data.d.ts +17 -0
- package/backend/node_modules/tsconfig-paths/lib/__tests__/data/match-path-data.js +216 -0
- package/backend/node_modules/tsconfig-paths/lib/__tests__/data/match-path-data.js.map +1 -0
- package/backend/node_modules/tsconfig-paths/lib/__tests__/filesystem.test.d.ts +1 -0
- package/backend/node_modules/tsconfig-paths/lib/__tests__/filesystem.test.js +56 -0
- package/backend/node_modules/tsconfig-paths/lib/__tests__/filesystem.test.js.map +1 -0
- package/backend/node_modules/tsconfig-paths/lib/__tests__/mapping-entry.test.d.ts +1 -0
- package/backend/node_modules/tsconfig-paths/lib/__tests__/mapping-entry.test.js +39 -0
- package/backend/node_modules/tsconfig-paths/lib/__tests__/mapping-entry.test.js.map +1 -0
- package/backend/node_modules/tsconfig-paths/lib/__tests__/match-path-async.test.d.ts +1 -0
- package/backend/node_modules/tsconfig-paths/lib/__tests__/match-path-async.test.js +18 -0
- package/backend/node_modules/tsconfig-paths/lib/__tests__/match-path-async.test.js.map +1 -0
- package/backend/node_modules/tsconfig-paths/lib/__tests__/match-path-sync.test.d.ts +1 -0
- package/backend/node_modules/tsconfig-paths/lib/__tests__/match-path-sync.test.js +14 -0
- package/backend/node_modules/tsconfig-paths/lib/__tests__/match-path-sync.test.js.map +1 -0
- package/backend/node_modules/tsconfig-paths/lib/__tests__/try-path.test.d.ts +1 -0
- package/backend/node_modules/tsconfig-paths/lib/__tests__/try-path.test.js +124 -0
- package/backend/node_modules/tsconfig-paths/lib/__tests__/try-path.test.js.map +1 -0
- package/backend/node_modules/tsconfig-paths/lib/__tests__/tsconfig-loader.test.d.ts +1 -0
- package/backend/node_modules/tsconfig-paths/lib/__tests__/tsconfig-loader.test.js +328 -0
- package/backend/node_modules/tsconfig-paths/lib/__tests__/tsconfig-loader.test.js.map +1 -0
- package/backend/node_modules/tsconfig-paths/lib/config-loader.d.ts +33 -0
- package/backend/node_modules/tsconfig-paths/lib/config-loader.js +48 -0
- package/backend/node_modules/tsconfig-paths/lib/config-loader.js.map +1 -0
- package/backend/node_modules/tsconfig-paths/lib/filesystem.d.ts +34 -0
- package/backend/node_modules/tsconfig-paths/lib/filesystem.js +61 -0
- package/backend/node_modules/tsconfig-paths/lib/filesystem.js.map +1 -0
- package/backend/node_modules/tsconfig-paths/lib/index.d.ts +5 -0
- package/backend/node_modules/tsconfig-paths/lib/index.js +15 -0
- package/backend/node_modules/tsconfig-paths/lib/index.js.map +1 -0
- package/backend/node_modules/tsconfig-paths/lib/mapping-entry.d.ts +18 -0
- package/backend/node_modules/tsconfig-paths/lib/mapping-entry.js +54 -0
- package/backend/node_modules/tsconfig-paths/lib/mapping-entry.js.map +1 -0
- package/backend/node_modules/tsconfig-paths/lib/match-path-async.d.ts +21 -0
- package/backend/node_modules/tsconfig-paths/lib/match-path-async.js +116 -0
- package/backend/node_modules/tsconfig-paths/lib/match-path-async.js.map +1 -0
- package/backend/node_modules/tsconfig-paths/lib/match-path-sync.d.ts +32 -0
- package/backend/node_modules/tsconfig-paths/lib/match-path-sync.js +91 -0
- package/backend/node_modules/tsconfig-paths/lib/match-path-sync.js.map +1 -0
- package/backend/node_modules/tsconfig-paths/lib/register.d.ts +12 -0
- package/backend/node_modules/tsconfig-paths/lib/register.js +112 -0
- package/backend/node_modules/tsconfig-paths/lib/register.js.map +1 -0
- package/backend/node_modules/tsconfig-paths/lib/try-path.d.ts +15 -0
- package/backend/node_modules/tsconfig-paths/lib/try-path.js +91 -0
- package/backend/node_modules/tsconfig-paths/lib/try-path.js.map +1 -0
- package/backend/node_modules/tsconfig-paths/lib/tsconfig-loader.d.ts +28 -0
- package/backend/node_modules/tsconfig-paths/lib/tsconfig-loader.js +148 -0
- package/backend/node_modules/tsconfig-paths/lib/tsconfig-loader.js.map +1 -0
- package/backend/node_modules/tsconfig-paths/package.json +74 -0
- package/backend/node_modules/tsconfig-paths/register.js +1 -0
- package/backend/node_modules/tsconfig-paths/src/__tests__/config-loader.test.ts +101 -0
- package/backend/node_modules/tsconfig-paths/src/__tests__/data/match-path-data.ts +230 -0
- package/backend/node_modules/tsconfig-paths/src/__tests__/filesystem.test.ts +57 -0
- package/backend/node_modules/tsconfig-paths/src/__tests__/mapping-entry.test.ts +43 -0
- package/backend/node_modules/tsconfig-paths/src/__tests__/match-path-async.test.ts +26 -0
- package/backend/node_modules/tsconfig-paths/src/__tests__/match-path-sync.test.ts +22 -0
- package/backend/node_modules/tsconfig-paths/src/__tests__/try-path.test.ts +141 -0
- package/backend/node_modules/tsconfig-paths/src/__tests__/tsconfig-loader.test.ts +428 -0
- package/backend/node_modules/tsconfig-paths/src/__tests__/tsconfig-named.json +10 -0
- package/backend/node_modules/tsconfig-paths/src/config-loader.ts +89 -0
- package/backend/node_modules/tsconfig-paths/src/filesystem.ts +93 -0
- package/backend/node_modules/tsconfig-paths/src/index.ts +24 -0
- package/backend/node_modules/tsconfig-paths/src/mapping-entry.ts +65 -0
- package/backend/node_modules/tsconfig-paths/src/match-path-async.ts +223 -0
- package/backend/node_modules/tsconfig-paths/src/match-path-sync.ts +146 -0
- package/backend/node_modules/tsconfig-paths/src/register.ts +123 -0
- package/backend/node_modules/tsconfig-paths/src/try-path.ts +103 -0
- package/backend/node_modules/tsconfig-paths/src/tsconfig-loader.ts +229 -0
- package/package.json +1 -1
- package/backend/node_modules/brace-expansion/README.md +0 -129
- package/backend/node_modules/brace-expansion/index.js +0 -201
- package/backend/node_modules/brace-expansion/package.json +0 -50
- package/backend/node_modules/debug/LICENSE +0 -20
- package/backend/node_modules/debug/README.md +0 -481
- package/backend/node_modules/debug/package.json +0 -64
- package/backend/node_modules/debug/src/browser.js +0 -272
- package/backend/node_modules/debug/src/common.js +0 -292
- package/backend/node_modules/debug/src/index.js +0 -10
- package/backend/node_modules/debug/src/node.js +0 -263
- package/backend/node_modules/glob-parent/LICENSE +0 -15
- package/backend/node_modules/glob-parent/README.md +0 -134
- package/backend/node_modules/glob-parent/index.js +0 -75
- package/backend/node_modules/glob-parent/package.json +0 -54
- package/backend/node_modules/minimatch/LICENSE +0 -15
- package/backend/node_modules/minimatch/README.md +0 -230
- package/backend/node_modules/minimatch/minimatch.js +0 -947
- package/backend/node_modules/minimatch/package.json +0 -33
- package/backend/node_modules/ms/index.js +0 -162
- package/backend/node_modules/ms/package.json +0 -38
- package/backend/node_modules/ms/readme.md +0 -59
- package/backend/node_modules/strip-ansi/index.d.ts +0 -17
- package/backend/node_modules/strip-ansi/index.js +0 -4
- package/backend/node_modules/strip-ansi/readme.md +0 -46
- /package/backend/node_modules/{strip-ansi → ansi-styles}/license +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tsconfig-loader.test.js","sourceRoot":"","sources":["../../src/__tests__/tsconfig-loader.test.ts"],"names":[],"mappings":";;AAAA,sDAI4B;AAC5B,6BAA4B;AAE5B,QAAQ,CAA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KAAK,EAAE,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,EAAE,EAAE;SAC3D,CAAC;QACF,IAAM,cAAc,GAAG,IAAA,WAAI,EAAC,OAAO,EAAE,oBAAoB,CAAC,CAAC;QAC3D,IAAM,YAAY,GAAG,EAAE,OAAO,EAAE,CAAC,iBAAiB,CAAC,EAAE,CAAC;QACtD,IAAM,gBAAgB,GAAG,IAAA,WAAI,EAAC,OAAO,EAAE,eAAe,CAAC,CAAC;QAExD,IAAM,GAAG,GAAG,IAAA,8BAAY,EACtB,IAAA,WAAI,EAAC,OAAO,EAAE,eAAe,CAAC,EAC9B,UAAC,IAAI,IAAK,OAAA,CAAC,cAAc,EAAE,gBAAgB,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAArD,CAAqD,EAC/D,UAAC,IAAI;YACH,IAAI,IAAI,KAAK,cAAc,EAAE;gBAC3B,OAAO,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;aACnC;YACD,IAAI,IAAI,KAAK,gBAAgB,EAAE;gBAC7B,OAAO,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC;aACrC;YACD,OAAO,EAAE,CAAC;QACZ,CAAC,CACF,CAAC;QAEF,MAAM,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC;YAClB,OAAO,EAAE,CAAC,iBAAiB,CAAC;YAC5B,eAAe,EAAE;gBACf,OAAO,EAAE,GAAG;gBACZ,KAAK,EAAE,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,EAAE;aACxB;SACF,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as TsConfigLoader2 from "./tsconfig-loader";
|
|
2
|
+
export interface ExplicitParams {
|
|
3
|
+
baseUrl: string;
|
|
4
|
+
paths: {
|
|
5
|
+
[key: string]: Array<string>;
|
|
6
|
+
};
|
|
7
|
+
mainFields?: (string | string[])[];
|
|
8
|
+
addMatchAll?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare type TsConfigLoader = (params: TsConfigLoader2.TsConfigLoaderParams) => TsConfigLoader2.TsConfigLoaderResult;
|
|
11
|
+
export interface ConfigLoaderParams {
|
|
12
|
+
cwd: string;
|
|
13
|
+
explicitParams?: ExplicitParams;
|
|
14
|
+
tsConfigLoader?: TsConfigLoader;
|
|
15
|
+
}
|
|
16
|
+
export interface ConfigLoaderSuccessResult {
|
|
17
|
+
resultType: "success";
|
|
18
|
+
configFileAbsolutePath: string;
|
|
19
|
+
baseUrl?: string;
|
|
20
|
+
absoluteBaseUrl: string;
|
|
21
|
+
paths: {
|
|
22
|
+
[key: string]: Array<string>;
|
|
23
|
+
};
|
|
24
|
+
mainFields?: (string | string[])[];
|
|
25
|
+
addMatchAll?: boolean;
|
|
26
|
+
}
|
|
27
|
+
export interface ConfigLoaderFailResult {
|
|
28
|
+
resultType: "failed";
|
|
29
|
+
message: string;
|
|
30
|
+
}
|
|
31
|
+
export declare type ConfigLoaderResult = ConfigLoaderSuccessResult | ConfigLoaderFailResult;
|
|
32
|
+
export declare function loadConfig(cwd?: string): ConfigLoaderResult;
|
|
33
|
+
export declare function configLoader({ cwd, explicitParams, tsConfigLoader, }: ConfigLoaderParams): ConfigLoaderResult;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.configLoader = exports.loadConfig = void 0;
|
|
4
|
+
var TsConfigLoader2 = require("./tsconfig-loader");
|
|
5
|
+
var path = require("path");
|
|
6
|
+
function loadConfig(cwd) {
|
|
7
|
+
if (cwd === void 0) { cwd = process.cwd(); }
|
|
8
|
+
return configLoader({ cwd: cwd });
|
|
9
|
+
}
|
|
10
|
+
exports.loadConfig = loadConfig;
|
|
11
|
+
function configLoader(_a) {
|
|
12
|
+
var cwd = _a.cwd, explicitParams = _a.explicitParams, _b = _a.tsConfigLoader, tsConfigLoader = _b === void 0 ? TsConfigLoader2.tsConfigLoader : _b;
|
|
13
|
+
if (explicitParams) {
|
|
14
|
+
var absoluteBaseUrl = path.isAbsolute(explicitParams.baseUrl)
|
|
15
|
+
? explicitParams.baseUrl
|
|
16
|
+
: path.join(cwd, explicitParams.baseUrl);
|
|
17
|
+
return {
|
|
18
|
+
resultType: "success",
|
|
19
|
+
configFileAbsolutePath: "",
|
|
20
|
+
baseUrl: explicitParams.baseUrl,
|
|
21
|
+
absoluteBaseUrl: absoluteBaseUrl,
|
|
22
|
+
paths: explicitParams.paths,
|
|
23
|
+
mainFields: explicitParams.mainFields,
|
|
24
|
+
addMatchAll: explicitParams.addMatchAll,
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
// Load tsconfig and create path matching function
|
|
28
|
+
var loadResult = tsConfigLoader({
|
|
29
|
+
cwd: cwd,
|
|
30
|
+
getEnv: function (key) { return process.env[key]; },
|
|
31
|
+
});
|
|
32
|
+
if (!loadResult.tsConfigPath) {
|
|
33
|
+
return {
|
|
34
|
+
resultType: "failed",
|
|
35
|
+
message: "Couldn't find tsconfig.json",
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
resultType: "success",
|
|
40
|
+
configFileAbsolutePath: loadResult.tsConfigPath,
|
|
41
|
+
baseUrl: loadResult.baseUrl,
|
|
42
|
+
absoluteBaseUrl: path.resolve(path.dirname(loadResult.tsConfigPath), loadResult.baseUrl || ""),
|
|
43
|
+
paths: loadResult.paths || {},
|
|
44
|
+
addMatchAll: loadResult.baseUrl !== undefined,
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
exports.configLoader = configLoader;
|
|
48
|
+
//# sourceMappingURL=config-loader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-loader.js","sourceRoot":"","sources":["../src/config-loader.ts"],"names":[],"mappings":";;;AAAA,mDAAqD;AACrD,2BAA6B;AAsC7B,SAAgB,UAA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,YAAY,CAAC,EACrC,UAAU,CAAC,OAAO,IAAI,EAAE,CACzB;QACD,KAAK,EAAE,UAAU,CAAC,KAAK,IAAI,EAAE;QAC7B,WAAW,EAAE,UAAU,CAAC,OAAO,KAAK,SAAS;KAC9C,CAAC;AACJ,CAAC;AA7CD,oCA6CC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Typing for the fields of package.json we care about
|
|
3
|
+
*/
|
|
4
|
+
export interface PackageJson {
|
|
5
|
+
[key: string]: string | PackageJson;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* A function that json from a file
|
|
9
|
+
*/
|
|
10
|
+
export interface ReadJsonSync {
|
|
11
|
+
(packageJsonPath: string): any | undefined;
|
|
12
|
+
}
|
|
13
|
+
export interface FileExistsSync {
|
|
14
|
+
(name: string): boolean;
|
|
15
|
+
}
|
|
16
|
+
export interface FileExistsAsync {
|
|
17
|
+
(path: string, callback: (err?: Error, exists?: boolean) => void): void;
|
|
18
|
+
}
|
|
19
|
+
export interface ReadJsonAsyncCallback {
|
|
20
|
+
(err?: Error, content?: any): void;
|
|
21
|
+
}
|
|
22
|
+
export interface ReadJsonAsync {
|
|
23
|
+
(path: string, callback: ReadJsonAsyncCallback): void;
|
|
24
|
+
}
|
|
25
|
+
export declare function fileExistsSync(path: string): boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Reads package.json from disk
|
|
28
|
+
*
|
|
29
|
+
* @param file Path to package.json
|
|
30
|
+
*/
|
|
31
|
+
export declare function readJsonFromDiskSync(packageJsonPath: string): any | undefined;
|
|
32
|
+
export declare function readJsonFromDiskAsync(path: string, callback: (err?: Error, content?: any) => void): void;
|
|
33
|
+
export declare function fileExistsAsync(path2: string, callback2: (err?: Error, exists?: boolean) => void): void;
|
|
34
|
+
export declare function removeExtension(path: string): string;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.removeExtension = exports.fileExistsAsync = exports.readJsonFromDiskAsync = exports.readJsonFromDiskSync = exports.fileExistsSync = void 0;
|
|
4
|
+
var fs = require("fs");
|
|
5
|
+
function fileExistsSync(path) {
|
|
6
|
+
// If the file doesn't exist, avoid throwing an exception over the native barrier for every miss
|
|
7
|
+
if (!fs.existsSync(path)) {
|
|
8
|
+
return false;
|
|
9
|
+
}
|
|
10
|
+
try {
|
|
11
|
+
var stats = fs.statSync(path);
|
|
12
|
+
return stats.isFile();
|
|
13
|
+
}
|
|
14
|
+
catch (err) {
|
|
15
|
+
// If error, assume file did not exist
|
|
16
|
+
return false;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.fileExistsSync = fileExistsSync;
|
|
20
|
+
/**
|
|
21
|
+
* Reads package.json from disk
|
|
22
|
+
*
|
|
23
|
+
* @param file Path to package.json
|
|
24
|
+
*/
|
|
25
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
26
|
+
function readJsonFromDiskSync(packageJsonPath) {
|
|
27
|
+
if (!fs.existsSync(packageJsonPath)) {
|
|
28
|
+
return undefined;
|
|
29
|
+
}
|
|
30
|
+
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
31
|
+
return require(packageJsonPath);
|
|
32
|
+
}
|
|
33
|
+
exports.readJsonFromDiskSync = readJsonFromDiskSync;
|
|
34
|
+
function readJsonFromDiskAsync(path,
|
|
35
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
36
|
+
callback) {
|
|
37
|
+
fs.readFile(path, "utf8", function (err, result) {
|
|
38
|
+
// If error, assume file did not exist
|
|
39
|
+
if (err || !result) {
|
|
40
|
+
return callback();
|
|
41
|
+
}
|
|
42
|
+
var json = JSON.parse(result);
|
|
43
|
+
return callback(undefined, json);
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
exports.readJsonFromDiskAsync = readJsonFromDiskAsync;
|
|
47
|
+
function fileExistsAsync(path2, callback2) {
|
|
48
|
+
fs.stat(path2, function (err, stats) {
|
|
49
|
+
if (err) {
|
|
50
|
+
// If error assume file does not exist
|
|
51
|
+
return callback2(undefined, false);
|
|
52
|
+
}
|
|
53
|
+
callback2(undefined, stats ? stats.isFile() : false);
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
exports.fileExistsAsync = fileExistsAsync;
|
|
57
|
+
function removeExtension(path) {
|
|
58
|
+
return path.substring(0, path.lastIndexOf(".")) || path;
|
|
59
|
+
}
|
|
60
|
+
exports.removeExtension = removeExtension;
|
|
61
|
+
//# sourceMappingURL=filesystem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filesystem.js","sourceRoot":"","sources":["../src/filesystem.ts"],"names":[],"mappings":";;;AAAA,uBAAyB;AAkCzB,SAAgB,cAAc,CAAC,IAAY;IACzC,gGAAgG;IAChG,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE;QACxB,OAAO,KAAK,CAAC;KACd;IACD,IAAI;QACF,IAAM,KAAK,GAAG,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QAChC,OAAO,KAAK,CAAC,MAAM,EAAE,CAAC;KACvB;IAAC,OAAO,GAAG,EAAE;QACZ,sCAAsC;QACtC,OAAO,KAAK,CAAC;KACd;AACH,CAAC;AAZD,wCAYC;AAED;;;;GAIG;AACH,8DAA8D;AAC9D,SAAgB,oBAAoB,CAAC,eAAuB;IAC1D,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,eAAe,CAAC,EAAE;QACnC,OAAO,SAAS,CAAC;KAClB;IACD,iEAAiE;IACjE,OAAO,OAAO,CAAC,eAAe,CAAC,CAAC;AAClC,CAAC;AAND,oDAMC;AAED,SAAgB,qBAAqB,CACnC,IAAY;AACZ,8DAA8D;AAC9D,QAA8C;IAE9C,EAAE,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,UAAC,GAAG,EAAE,MAAM;QACpC,sCAAsC;QACtC,IAAI,GAAG,IAAI,CAAC,MAAM,EAAE;YAClB,OAAO,QAAQ,EAAE,CAAC;SACnB;QACD,IAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QAChC,OAAO,QAAQ,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;IACnC,CAAC,CAAC,CAAC;AACL,CAAC;AAbD,sDAaC;AAED,SAAgB,eAAe,CAC7B,KAAa,EACb,SAAkD;IAElD,EAAE,CAAC,IAAI,CAAC,KAAK,EAAE,UAAC,GAAU,EAAE,KAAe;QACzC,IAAI,GAAG,EAAE;YACP,sCAAsC;YACtC,OAAO,SAAS,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;SACpC;QACD,SAAS,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;IACvD,CAAC,CAAC,CAAC;AACL,CAAC;AAXD,0CAWC;AAED,SAAgB,eAAe,CAAC,IAAY;IAC1C,OAAO,IAAI,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,IAAI,IAAI,CAAC;AAC1D,CAAC;AAFD,0CAEC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { createMatchPath, matchFromAbsolutePaths, MatchPath, } from "./match-path-sync";
|
|
2
|
+
export { createMatchPathAsync, matchFromAbsolutePathsAsync, MatchPathAsync, } from "./match-path-async";
|
|
3
|
+
export { register } from "./register";
|
|
4
|
+
export { loadConfig, ConfigLoaderResult, ConfigLoaderSuccessResult, ConfigLoaderFailResult, } from "./config-loader";
|
|
5
|
+
export { ReadJsonSync, ReadJsonAsync, FileExistsSync, FileExistsAsync, } from "./filesystem";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.loadConfig = exports.register = exports.matchFromAbsolutePathsAsync = exports.createMatchPathAsync = exports.matchFromAbsolutePaths = exports.createMatchPath = void 0;
|
|
4
|
+
// register is used from register.js in root dir
|
|
5
|
+
var match_path_sync_1 = require("./match-path-sync");
|
|
6
|
+
Object.defineProperty(exports, "createMatchPath", { enumerable: true, get: function () { return match_path_sync_1.createMatchPath; } });
|
|
7
|
+
Object.defineProperty(exports, "matchFromAbsolutePaths", { enumerable: true, get: function () { return match_path_sync_1.matchFromAbsolutePaths; } });
|
|
8
|
+
var match_path_async_1 = require("./match-path-async");
|
|
9
|
+
Object.defineProperty(exports, "createMatchPathAsync", { enumerable: true, get: function () { return match_path_async_1.createMatchPathAsync; } });
|
|
10
|
+
Object.defineProperty(exports, "matchFromAbsolutePathsAsync", { enumerable: true, get: function () { return match_path_async_1.matchFromAbsolutePathsAsync; } });
|
|
11
|
+
var register_1 = require("./register");
|
|
12
|
+
Object.defineProperty(exports, "register", { enumerable: true, get: function () { return register_1.register; } });
|
|
13
|
+
var config_loader_1 = require("./config-loader");
|
|
14
|
+
Object.defineProperty(exports, "loadConfig", { enumerable: true, get: function () { return config_loader_1.loadConfig; } });
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,gDAAgD;AAChD,qDAI2B;AAHzB,kHAAA,eAAe,OAAA;AACf,yHAAA,sBAAsB,OAAA;AAGxB,uDAI4B;AAH1B,wHAAA,oBAAoB,OAAA;AACpB,+HAAA,2BAA2B,OAAA;AAG7B,uCAAsC;AAA7B,oGAAA,QAAQ,OAAA;AACjB,iDAKyB;AAJvB,2GAAA,UAAU,OAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface MappingEntry {
|
|
2
|
+
readonly pattern: string;
|
|
3
|
+
readonly paths: ReadonlyArray<string>;
|
|
4
|
+
}
|
|
5
|
+
export interface Paths {
|
|
6
|
+
readonly [key: string]: ReadonlyArray<string>;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Converts an absolute baseUrl and paths to an array of absolute mapping entries.
|
|
10
|
+
* The array is sorted by longest prefix.
|
|
11
|
+
* Having an array with entries allows us to keep a sorting order rather than
|
|
12
|
+
* sort by keys each time we use the mappings.
|
|
13
|
+
*
|
|
14
|
+
* @param absoluteBaseUrl
|
|
15
|
+
* @param paths
|
|
16
|
+
* @param addMatchAll
|
|
17
|
+
*/
|
|
18
|
+
export declare function getAbsoluteMappingEntries(absoluteBaseUrl: string, paths: Paths, addMatchAll: boolean): ReadonlyArray<MappingEntry>;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getAbsoluteMappingEntries = void 0;
|
|
4
|
+
var path = require("path");
|
|
5
|
+
/**
|
|
6
|
+
* Converts an absolute baseUrl and paths to an array of absolute mapping entries.
|
|
7
|
+
* The array is sorted by longest prefix.
|
|
8
|
+
* Having an array with entries allows us to keep a sorting order rather than
|
|
9
|
+
* sort by keys each time we use the mappings.
|
|
10
|
+
*
|
|
11
|
+
* @param absoluteBaseUrl
|
|
12
|
+
* @param paths
|
|
13
|
+
* @param addMatchAll
|
|
14
|
+
*/
|
|
15
|
+
function getAbsoluteMappingEntries(absoluteBaseUrl, paths, addMatchAll) {
|
|
16
|
+
// Resolve all paths to absolute form once here, and sort them by
|
|
17
|
+
// longest prefix once here, this saves time on each request later.
|
|
18
|
+
// We need to put them in an array to preserve the sorting order.
|
|
19
|
+
var sortedKeys = sortByLongestPrefix(Object.keys(paths));
|
|
20
|
+
var absolutePaths = [];
|
|
21
|
+
for (var _i = 0, sortedKeys_1 = sortedKeys; _i < sortedKeys_1.length; _i++) {
|
|
22
|
+
var key = sortedKeys_1[_i];
|
|
23
|
+
absolutePaths.push({
|
|
24
|
+
pattern: key,
|
|
25
|
+
paths: paths[key].map(function (pathToResolve) {
|
|
26
|
+
return path.resolve(absoluteBaseUrl, pathToResolve);
|
|
27
|
+
}),
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
// If there is no match-all path specified in the paths section of tsconfig, then try to match
|
|
31
|
+
// all paths relative to baseUrl, this is how typescript works.
|
|
32
|
+
if (!paths["*"] && addMatchAll) {
|
|
33
|
+
absolutePaths.push({
|
|
34
|
+
pattern: "*",
|
|
35
|
+
paths: ["".concat(absoluteBaseUrl.replace(/\/$/, ""), "/*")],
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
return absolutePaths;
|
|
39
|
+
}
|
|
40
|
+
exports.getAbsoluteMappingEntries = getAbsoluteMappingEntries;
|
|
41
|
+
/**
|
|
42
|
+
* Sort path patterns.
|
|
43
|
+
* If a module name can be matched with multiple patterns then pattern with the longest prefix will be picked.
|
|
44
|
+
*/
|
|
45
|
+
function sortByLongestPrefix(arr) {
|
|
46
|
+
return arr
|
|
47
|
+
.concat()
|
|
48
|
+
.sort(function (a, b) { return getPrefixLength(b) - getPrefixLength(a); });
|
|
49
|
+
}
|
|
50
|
+
function getPrefixLength(pattern) {
|
|
51
|
+
var prefixLength = pattern.indexOf("*");
|
|
52
|
+
return pattern.substr(0, prefixLength).length;
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=mapping-entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mapping-entry.js","sourceRoot":"","sources":["../src/mapping-entry.ts"],"names":[],"mappings":";;;AAAA,2BAA6B;AAW7B;;;;;;;;;GASG;AACH,SAAgB,yBAAyB,CACvC,eAAuB,EACvB,KAAY,EACZ,WAAoB;IAEpB,iEAAiE;IACjE,mEAAmE;IACnE,iEAAiE;IACjE,IAAM,UAAU,GAAG,mBAAmB,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;IAC3D,IAAM,aAAa,GAAwB,EAAE,CAAC;IAC9C,KAAkB,UAAU,EAAV,yBAAU,EAAV,wBAAU,EAAV,IAAU,EAAE;QAAzB,IAAM,GAAG,mBAAA;QACZ,aAAa,CAAC,IAAI,CAAC;YACjB,OAAO,EAAE,GAAG;YACZ,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,UAAC,aAAa;gBAClC,OAAA,IAAI,CAAC,OAAO,CAAC,eAAe,EAAE,aAAa,CAAC;YAA5C,CAA4C,CAC7C;SACF,CAAC,CAAC;KACJ;IACD,8FAA8F;IAC9F,+DAA+D;IAC/D,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,WAAW,EAAE;QAC9B,aAAa,CAAC,IAAI,CAAC;YACjB,OAAO,EAAE,GAAG;YACZ,KAAK,EAAE,CAAC,UAAG,eAAe,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,OAAI,CAAC;SACnD,CAAC,CAAC;KACJ;IAED,OAAO,aAAa,CAAC;AACvB,CAAC;AA5BD,8DA4BC;AAED;;;GAGG;AACH,SAAS,mBAAmB,CAAC,GAAkB;IAC7C,OAAO,GAAG;SACP,MAAM,EAAE;SACR,IAAI,CAAC,UAAC,CAAS,EAAE,CAAS,IAAK,OAAA,eAAe,CAAC,CAAC,CAAC,GAAG,eAAe,CAAC,CAAC,CAAC,EAAvC,CAAuC,CAAC,CAAC;AAC7E,CAAC;AAED,SAAS,eAAe,CAAC,OAAe;IACtC,IAAM,YAAY,GAAG,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IAC1C,OAAO,OAAO,CAAC,MAAM,CAAC,CAAC,EAAE,YAAY,CAAC,CAAC,MAAM,CAAC;AAChD,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as MappingEntry from "./mapping-entry";
|
|
2
|
+
import * as Filesystem from "./filesystem";
|
|
3
|
+
/**
|
|
4
|
+
* Function that can match a path async
|
|
5
|
+
*/
|
|
6
|
+
export interface MatchPathAsync {
|
|
7
|
+
(requestedModule: string, readJson: Filesystem.ReadJsonAsync | undefined, fileExists: Filesystem.FileExistsAsync | undefined, extensions: ReadonlyArray<string> | undefined, callback: MatchPathAsyncCallback): void;
|
|
8
|
+
}
|
|
9
|
+
export interface MatchPathAsyncCallback {
|
|
10
|
+
(err?: Error, path?: string): void;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* See the sync version for docs.
|
|
14
|
+
*/
|
|
15
|
+
export declare function createMatchPathAsync(absoluteBaseUrl: string, paths: {
|
|
16
|
+
[key: string]: Array<string>;
|
|
17
|
+
}, mainFields?: (string | string[])[], addMatchAll?: boolean): MatchPathAsync;
|
|
18
|
+
/**
|
|
19
|
+
* See the sync version for docs.
|
|
20
|
+
*/
|
|
21
|
+
export declare function matchFromAbsolutePathsAsync(absolutePathMappings: ReadonlyArray<MappingEntry.MappingEntry>, requestedModule: string, readJson: Filesystem.ReadJsonAsync | undefined, fileExists: Filesystem.FileExistsAsync | undefined, extensions: readonly string[] | undefined, callback: MatchPathAsyncCallback, mainFields?: (string | string[])[]): void;
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.matchFromAbsolutePathsAsync = exports.createMatchPathAsync = void 0;
|
|
4
|
+
var path = require("path");
|
|
5
|
+
var TryPath = require("./try-path");
|
|
6
|
+
var MappingEntry = require("./mapping-entry");
|
|
7
|
+
var Filesystem = require("./filesystem");
|
|
8
|
+
/**
|
|
9
|
+
* See the sync version for docs.
|
|
10
|
+
*/
|
|
11
|
+
function createMatchPathAsync(absoluteBaseUrl, paths, mainFields, addMatchAll) {
|
|
12
|
+
if (mainFields === void 0) { mainFields = ["main"]; }
|
|
13
|
+
if (addMatchAll === void 0) { addMatchAll = true; }
|
|
14
|
+
var absolutePaths = MappingEntry.getAbsoluteMappingEntries(absoluteBaseUrl, paths, addMatchAll);
|
|
15
|
+
return function (requestedModule, readJson, fileExists, extensions, callback) {
|
|
16
|
+
return matchFromAbsolutePathsAsync(absolutePaths, requestedModule, readJson, fileExists, extensions, callback, mainFields);
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
exports.createMatchPathAsync = createMatchPathAsync;
|
|
20
|
+
/**
|
|
21
|
+
* See the sync version for docs.
|
|
22
|
+
*/
|
|
23
|
+
function matchFromAbsolutePathsAsync(absolutePathMappings, requestedModule, readJson, fileExists, extensions, callback, mainFields) {
|
|
24
|
+
if (readJson === void 0) { readJson = Filesystem.readJsonFromDiskAsync; }
|
|
25
|
+
if (fileExists === void 0) { fileExists = Filesystem.fileExistsAsync; }
|
|
26
|
+
if (extensions === void 0) { extensions = Object.keys(require.extensions); }
|
|
27
|
+
if (mainFields === void 0) { mainFields = ["main"]; }
|
|
28
|
+
var tryPaths = TryPath.getPathsToTry(extensions, absolutePathMappings, requestedModule);
|
|
29
|
+
if (!tryPaths) {
|
|
30
|
+
return callback();
|
|
31
|
+
}
|
|
32
|
+
findFirstExistingPath(tryPaths, readJson, fileExists, callback, 0, mainFields);
|
|
33
|
+
}
|
|
34
|
+
exports.matchFromAbsolutePathsAsync = matchFromAbsolutePathsAsync;
|
|
35
|
+
function findFirstExistingMainFieldMappedFile(packageJson, mainFields, packageJsonPath, fileExistsAsync, doneCallback, index) {
|
|
36
|
+
if (index === void 0) { index = 0; }
|
|
37
|
+
if (index >= mainFields.length) {
|
|
38
|
+
return doneCallback(undefined, undefined);
|
|
39
|
+
}
|
|
40
|
+
var tryNext = function () {
|
|
41
|
+
return findFirstExistingMainFieldMappedFile(packageJson, mainFields, packageJsonPath, fileExistsAsync, doneCallback, index + 1);
|
|
42
|
+
};
|
|
43
|
+
var mainFieldSelector = mainFields[index];
|
|
44
|
+
var mainFieldMapping = typeof mainFieldSelector === "string"
|
|
45
|
+
? packageJson[mainFieldSelector]
|
|
46
|
+
: mainFieldSelector.reduce(function (obj, key) { return obj[key]; }, packageJson);
|
|
47
|
+
if (typeof mainFieldMapping !== "string") {
|
|
48
|
+
// Skip mappings that are not pointers to replacement files
|
|
49
|
+
return tryNext();
|
|
50
|
+
}
|
|
51
|
+
var mappedFilePath = path.join(path.dirname(packageJsonPath), mainFieldMapping);
|
|
52
|
+
fileExistsAsync(mappedFilePath, function (err, exists) {
|
|
53
|
+
if (err) {
|
|
54
|
+
return doneCallback(err);
|
|
55
|
+
}
|
|
56
|
+
if (exists) {
|
|
57
|
+
return doneCallback(undefined, mappedFilePath);
|
|
58
|
+
}
|
|
59
|
+
return tryNext();
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
// Recursive loop to probe for physical files
|
|
63
|
+
function findFirstExistingPath(tryPaths, readJson, fileExists, doneCallback, index, mainFields) {
|
|
64
|
+
if (index === void 0) { index = 0; }
|
|
65
|
+
if (mainFields === void 0) { mainFields = ["main"]; }
|
|
66
|
+
var tryPath = tryPaths[index];
|
|
67
|
+
if (tryPath.type === "file" ||
|
|
68
|
+
tryPath.type === "extension" ||
|
|
69
|
+
tryPath.type === "index") {
|
|
70
|
+
fileExists(tryPath.path, function (err, exists) {
|
|
71
|
+
if (err) {
|
|
72
|
+
return doneCallback(err);
|
|
73
|
+
}
|
|
74
|
+
if (exists) {
|
|
75
|
+
return doneCallback(undefined, TryPath.getStrippedPath(tryPath));
|
|
76
|
+
}
|
|
77
|
+
if (index === tryPaths.length - 1) {
|
|
78
|
+
return doneCallback();
|
|
79
|
+
}
|
|
80
|
+
// Continue with the next path
|
|
81
|
+
return findFirstExistingPath(tryPaths, readJson, fileExists, doneCallback, index + 1, mainFields);
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
else if (tryPath.type === "package") {
|
|
85
|
+
readJson(tryPath.path, function (err, packageJson) {
|
|
86
|
+
if (err) {
|
|
87
|
+
return doneCallback(err);
|
|
88
|
+
}
|
|
89
|
+
if (packageJson) {
|
|
90
|
+
return findFirstExistingMainFieldMappedFile(packageJson, mainFields, tryPath.path, fileExists, function (mainFieldErr, mainFieldMappedFile) {
|
|
91
|
+
if (mainFieldErr) {
|
|
92
|
+
return doneCallback(mainFieldErr);
|
|
93
|
+
}
|
|
94
|
+
if (mainFieldMappedFile) {
|
|
95
|
+
return doneCallback(undefined, mainFieldMappedFile);
|
|
96
|
+
}
|
|
97
|
+
// No field in package json was a valid option. Continue with the next path.
|
|
98
|
+
return findFirstExistingPath(tryPaths, readJson, fileExists, doneCallback, index + 1, mainFields);
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
// This is async code, we need to return unconditionally, otherwise the code still falls
|
|
102
|
+
// through and keeps recursing. While this might work in general, libraries that use neo-async
|
|
103
|
+
// like Webpack will actually not allow you to call the same callback twice.
|
|
104
|
+
//
|
|
105
|
+
// An example of where this caused issues:
|
|
106
|
+
// https://github.com/dividab/tsconfig-paths-webpack-plugin/issues/11
|
|
107
|
+
//
|
|
108
|
+
// Continue with the next path
|
|
109
|
+
return findFirstExistingPath(tryPaths, readJson, fileExists, doneCallback, index + 1, mainFields);
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
else {
|
|
113
|
+
TryPath.exhaustiveTypeException(tryPath.type);
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
//# sourceMappingURL=match-path-async.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"match-path-async.js","sourceRoot":"","sources":["../src/match-path-async.ts"],"names":[],"mappings":";;;AAAA,2BAA6B;AAC7B,oCAAsC;AACtC,8CAAgD;AAChD,yCAA2C;AAoB3C;;GAEG;AACH,SAAgB,oBAAoB,CAClC,eAAuB,EACvB,KAAuC,EACvC,UAA4C,EAC5C,WAA2B;IAD3B,2BAAA,EAAA,cAAqC,MAAM,CAAC;IAC5C,4BAAA,EAAA,kBAA2B;IAE3B,IAAM,aAAa,GAAG,YAAY,CAAC,yBAAyB,CAC1D,eAAe,EACf,KAAK,EACL,WAAW,CACZ,CAAC;IAEF,OAAO,UACL,eAAuB,EACvB,QAA8C,EAC9C,UAAkD,EAClD,UAA6C,EAC7C,QAAg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,CAAC;KACJ;SAAM;QACL,OAAO,CAAC,uBAAuB,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;KAC/C;AACH,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import * as Filesystem from "./filesystem";
|
|
2
|
+
import * as MappingEntry from "./mapping-entry";
|
|
3
|
+
/**
|
|
4
|
+
* Function that can match a path
|
|
5
|
+
*/
|
|
6
|
+
export interface MatchPath {
|
|
7
|
+
(requestedModule: string, readJson?: Filesystem.ReadJsonSync, fileExists?: (name: string) => boolean, extensions?: ReadonlyArray<string>): string | undefined;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Creates a function that can resolve paths according to tsconfig paths property.
|
|
11
|
+
*
|
|
12
|
+
* @param absoluteBaseUrl Absolute version of baseUrl as specified in tsconfig.
|
|
13
|
+
* @param paths The paths as specified in tsconfig.
|
|
14
|
+
* @param mainFields A list of package.json field names to try when resolving module files. Select a nested field using an array of field names.
|
|
15
|
+
* @param addMatchAll Add a match-all "*" rule if none is present
|
|
16
|
+
* @returns a function that can resolve paths.
|
|
17
|
+
*/
|
|
18
|
+
export declare function createMatchPath(absoluteBaseUrl: string, paths: {
|
|
19
|
+
[key: string]: Array<string>;
|
|
20
|
+
}, mainFields?: (string | string[])[], addMatchAll?: boolean): MatchPath;
|
|
21
|
+
/**
|
|
22
|
+
* Finds a path from tsconfig that matches a module load request.
|
|
23
|
+
*
|
|
24
|
+
* @param absolutePathMappings The paths to try as specified in tsconfig but resolved to absolute form.
|
|
25
|
+
* @param requestedModule The required module name.
|
|
26
|
+
* @param readJson Function that can read json from a path (useful for testing).
|
|
27
|
+
* @param fileExists Function that checks for existence of a file at a path (useful for testing).
|
|
28
|
+
* @param extensions File extensions to probe for (useful for testing).
|
|
29
|
+
* @param mainFields A list of package.json field names to try when resolving module files. Select a nested field using an array of field names.
|
|
30
|
+
* @returns the found path, or undefined if no path was found.
|
|
31
|
+
*/
|
|
32
|
+
export declare function matchFromAbsolutePaths(absolutePathMappings: ReadonlyArray<MappingEntry.MappingEntry>, requestedModule: string, readJson?: Filesystem.ReadJsonSync, fileExists?: Filesystem.FileExistsSync, extensions?: Array<string>, mainFields?: (string | string[])[]): string | undefined;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.matchFromAbsolutePaths = exports.createMatchPath = void 0;
|
|
4
|
+
var path = require("path");
|
|
5
|
+
var Filesystem = require("./filesystem");
|
|
6
|
+
var MappingEntry = require("./mapping-entry");
|
|
7
|
+
var TryPath = require("./try-path");
|
|
8
|
+
/**
|
|
9
|
+
* Creates a function that can resolve paths according to tsconfig paths property.
|
|
10
|
+
*
|
|
11
|
+
* @param absoluteBaseUrl Absolute version of baseUrl as specified in tsconfig.
|
|
12
|
+
* @param paths The paths as specified in tsconfig.
|
|
13
|
+
* @param mainFields A list of package.json field names to try when resolving module files. Select a nested field using an array of field names.
|
|
14
|
+
* @param addMatchAll Add a match-all "*" rule if none is present
|
|
15
|
+
* @returns a function that can resolve paths.
|
|
16
|
+
*/
|
|
17
|
+
function createMatchPath(absoluteBaseUrl, paths, mainFields, addMatchAll) {
|
|
18
|
+
if (mainFields === void 0) { mainFields = ["main"]; }
|
|
19
|
+
if (addMatchAll === void 0) { addMatchAll = true; }
|
|
20
|
+
var absolutePaths = MappingEntry.getAbsoluteMappingEntries(absoluteBaseUrl, paths, addMatchAll);
|
|
21
|
+
return function (requestedModule, readJson, fileExists, extensions) {
|
|
22
|
+
return matchFromAbsolutePaths(absolutePaths, requestedModule, readJson, fileExists, extensions, mainFields);
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
exports.createMatchPath = createMatchPath;
|
|
26
|
+
/**
|
|
27
|
+
* Finds a path from tsconfig that matches a module load request.
|
|
28
|
+
*
|
|
29
|
+
* @param absolutePathMappings The paths to try as specified in tsconfig but resolved to absolute form.
|
|
30
|
+
* @param requestedModule The required module name.
|
|
31
|
+
* @param readJson Function that can read json from a path (useful for testing).
|
|
32
|
+
* @param fileExists Function that checks for existence of a file at a path (useful for testing).
|
|
33
|
+
* @param extensions File extensions to probe for (useful for testing).
|
|
34
|
+
* @param mainFields A list of package.json field names to try when resolving module files. Select a nested field using an array of field names.
|
|
35
|
+
* @returns the found path, or undefined if no path was found.
|
|
36
|
+
*/
|
|
37
|
+
function matchFromAbsolutePaths(absolutePathMappings, requestedModule, readJson, fileExists, extensions, mainFields) {
|
|
38
|
+
if (readJson === void 0) { readJson = Filesystem.readJsonFromDiskSync; }
|
|
39
|
+
if (fileExists === void 0) { fileExists = Filesystem.fileExistsSync; }
|
|
40
|
+
if (extensions === void 0) { extensions = Object.keys(require.extensions); }
|
|
41
|
+
if (mainFields === void 0) { mainFields = ["main"]; }
|
|
42
|
+
var tryPaths = TryPath.getPathsToTry(extensions, absolutePathMappings, requestedModule);
|
|
43
|
+
if (!tryPaths) {
|
|
44
|
+
return undefined;
|
|
45
|
+
}
|
|
46
|
+
return findFirstExistingPath(tryPaths, readJson, fileExists, mainFields);
|
|
47
|
+
}
|
|
48
|
+
exports.matchFromAbsolutePaths = matchFromAbsolutePaths;
|
|
49
|
+
function findFirstExistingMainFieldMappedFile(packageJson, mainFields, packageJsonPath, fileExists) {
|
|
50
|
+
for (var index = 0; index < mainFields.length; index++) {
|
|
51
|
+
var mainFieldSelector = mainFields[index];
|
|
52
|
+
var candidateMapping = typeof mainFieldSelector === "string"
|
|
53
|
+
? packageJson[mainFieldSelector]
|
|
54
|
+
: mainFieldSelector.reduce(function (obj, key) { return obj[key]; }, packageJson);
|
|
55
|
+
if (candidateMapping && typeof candidateMapping === "string") {
|
|
56
|
+
var candidateFilePath = path.join(path.dirname(packageJsonPath), candidateMapping);
|
|
57
|
+
if (fileExists(candidateFilePath)) {
|
|
58
|
+
return candidateFilePath;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
return undefined;
|
|
63
|
+
}
|
|
64
|
+
function findFirstExistingPath(tryPaths, readJson, fileExists, mainFields) {
|
|
65
|
+
if (readJson === void 0) { readJson = Filesystem.readJsonFromDiskSync; }
|
|
66
|
+
if (mainFields === void 0) { mainFields = ["main"]; }
|
|
67
|
+
for (var _i = 0, tryPaths_1 = tryPaths; _i < tryPaths_1.length; _i++) {
|
|
68
|
+
var tryPath = tryPaths_1[_i];
|
|
69
|
+
if (tryPath.type === "file" ||
|
|
70
|
+
tryPath.type === "extension" ||
|
|
71
|
+
tryPath.type === "index") {
|
|
72
|
+
if (fileExists(tryPath.path)) {
|
|
73
|
+
return TryPath.getStrippedPath(tryPath);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
else if (tryPath.type === "package") {
|
|
77
|
+
var packageJson = readJson(tryPath.path);
|
|
78
|
+
if (packageJson) {
|
|
79
|
+
var mainFieldMappedFile = findFirstExistingMainFieldMappedFile(packageJson, mainFields, tryPath.path, fileExists);
|
|
80
|
+
if (mainFieldMappedFile) {
|
|
81
|
+
return mainFieldMappedFile;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
else {
|
|
86
|
+
TryPath.exhaustiveTypeException(tryPath.type);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
return undefined;
|
|
90
|
+
}
|
|
91
|
+
//# sourceMappingURL=match-path-sync.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"match-path-sync.js","sourceRoot":"","sources":["../src/match-path-sync.ts"],"names":[],"mappings":";;;AAAA,2BAA6B;AAC7B,yCAA2C;AAC3C,8CAAgD;AAChD,oCAAsC;AActC;;;;;;;;GAQG;AACH,SAAgB,eAAe,CAC7B,eAAuB,EACvB,KAAuC,EACvC,UAA4C,EAC5C,WAA2B;IAD3B,2BAAA,EAAA,cAAqC,MAAM,CAAC;IAC5C,4BAAA,EAAA,kBAA2B;IAE3B,IAAM,aAAa,GAAG,YAAY,CAAC,yBAAyB,CAC1D,e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AAC,IAAI,CAAC,CAAC;SAC/C;KACF;IACD,OAAO,SAAS,CAAC;AACnB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ExplicitParams } from "./config-loader";
|
|
2
|
+
export interface RegisterParams extends ExplicitParams {
|
|
3
|
+
/**
|
|
4
|
+
* Defaults to `--project` CLI flag or `process.cwd()`
|
|
5
|
+
*/
|
|
6
|
+
cwd?: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Installs a custom module load function that can adhere to paths in tsconfig.
|
|
10
|
+
* Returns a function to undo paths registration.
|
|
11
|
+
*/
|
|
12
|
+
export declare function register(params?: RegisterParams): () => void;
|