@sprucelabs/spruce-cli 17.1.34 → 17.1.37
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/CHANGELOG.md +24 -0
- package/node_modules/@typescript-eslint/parser/LICENSE +22 -0
- package/node_modules/@typescript-eslint/parser/README.md +302 -0
- package/node_modules/@typescript-eslint/parser/dist/index.d.ts +4 -0
- package/node_modules/@typescript-eslint/parser/dist/index.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/parser/dist/index.js +13 -0
- package/node_modules/@typescript-eslint/parser/dist/index.js.map +1 -0
- package/node_modules/@typescript-eslint/parser/dist/parser.d.ts +17 -0
- package/node_modules/@typescript-eslint/parser/dist/parser.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/parser/dist/parser.js +129 -0
- package/node_modules/@typescript-eslint/parser/dist/parser.js.map +1 -0
- package/node_modules/@typescript-eslint/parser/package.json +75 -0
- package/node_modules/@typescript-eslint/scope-manager/LICENSE +21 -0
- package/node_modules/@typescript-eslint/scope-manager/README.md +120 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts +4 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/ID.js +22 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/ID.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts +72 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js +183 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts +62 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/analyze.js +58 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/analyze.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/assert.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/assert.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.js +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.d.ts +39 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.js +19 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.d.ts +15 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.js +19 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.d.ts +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.js +15 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.d.ts +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.js +30 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/index.d.ts +9 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/index.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/index.js +31 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/index.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.d.ts +16 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.js +23 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js +66 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js +1283 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.js +21 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.js +23 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.js +19 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.js +13 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.js +22 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js +15 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.js +20 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.js +15 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js +18 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.js +15 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js +15 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.js +24 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js +21 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js +16 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.js +114 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.js +19 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.js +24 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js +15 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts +81 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js +165 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.js +13 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.js +24 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.js +9 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.js +28 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js +453 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts +27 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js +321 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts +15 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js +84 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.js +50 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts +28 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js +111 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts +89 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js +109 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts +84 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js +544 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts +33 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js +228 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts +13 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js +41 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts +22 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.js +82 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.js +6 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.js +17 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts +13 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.js +37 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts +18 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.js +39 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts +21 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.js +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts +106 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js +363 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.d.ts +22 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.js +26 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js +22 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.d.ts +20 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.js +36 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts +34 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts +25 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.js +19 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts +18 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.js +33 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts +44 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.js +39 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/index.d.ts +4 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/index.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/index.js +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/index.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/package.json +67 -0
- package/node_modules/@typescript-eslint/types/LICENSE +21 -0
- package/node_modules/@typescript-eslint/types/README.md +17 -0
- package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts +1729 -0
- package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js +199 -0
- package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js.map +1 -0
- package/node_modules/@typescript-eslint/types/dist/index.d.ts +5 -0
- package/node_modules/@typescript-eslint/types/dist/index.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/types/dist/index.js +24 -0
- package/node_modules/@typescript-eslint/types/dist/index.js.map +1 -0
- package/node_modules/@typescript-eslint/types/dist/lib.d.ts +3 -0
- package/node_modules/@typescript-eslint/types/dist/lib.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/types/dist/lib.js +7 -0
- package/node_modules/@typescript-eslint/types/dist/lib.js.map +1 -0
- package/node_modules/@typescript-eslint/types/dist/parser-options.d.ts +36 -0
- package/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/types/dist/parser-options.js +3 -0
- package/node_modules/@typescript-eslint/types/dist/parser-options.js.map +1 -0
- package/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts +8 -0
- package/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/types/dist/ts-estree.js +28 -0
- package/node_modules/@typescript-eslint/types/dist/ts-estree.js.map +1 -0
- package/node_modules/@typescript-eslint/types/package.json +84 -0
- package/node_modules/@typescript-eslint/typescript-estree/LICENSE +26 -0
- package/node_modules/@typescript-eslint/typescript-estree/README.md +383 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.d.ts +9 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js +60 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.d.ts +11 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js +63 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts +159 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js +2358 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.d.ts +13 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.js +6 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.d.ts +12 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.js +66 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts +9 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js +83 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts +11 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js +94 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts +5 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js +40 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.d.ts +19 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.js +414 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts +5 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js +72 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts +22 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js +116 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts +13 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js +93 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.d.ts +4 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.js +68 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/index.d.ts +12 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/index.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/index.js +40 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/index.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/jsx/xhtml-entities.d.ts +2 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/jsx/xhtml-entities.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/jsx/xhtml-entities.js +259 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/jsx/xhtml-entities.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.d.ts +227 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js +584 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts +188 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.js +3 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts +25 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js +529 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.d.ts +13 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.js +93 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.d.ts +9 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.js +54 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.d.ts +175 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.js +4 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.d.ts +4 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.js +25 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.d.ts +18 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.js +3 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts +3 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js +53 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/gitignore.js +120 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/index.d.ts +186 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/index.js +181 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/license +9 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/package.json +82 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/readme.md +170 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/stream-utils.js +46 -0
- package/node_modules/@typescript-eslint/typescript-estree/package.json +86 -0
- package/node_modules/@typescript-eslint/visitor-keys/LICENSE +21 -0
- package/node_modules/@typescript-eslint/visitor-keys/README.md +13 -0
- package/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.d.ts +4 -0
- package/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js +7 -0
- package/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js.map +1 -0
- package/node_modules/@typescript-eslint/visitor-keys/dist/index.d.ts +3 -0
- package/node_modules/@typescript-eslint/visitor-keys/dist/index.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/visitor-keys/dist/index.js +8 -0
- package/node_modules/@typescript-eslint/visitor-keys/dist/index.js.map +1 -0
- package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts +6 -0
- package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js +160 -0
- package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js.map +1 -0
- package/node_modules/@typescript-eslint/visitor-keys/package.json +60 -0
- package/package.json +35 -35
package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.js
ADDED
|
@@ -0,0 +1,414 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.getProgramsForProjects = exports.createWatchProgram = exports.clearWatchCaches = void 0;
|
|
30
|
+
const debug_1 = __importDefault(require("debug"));
|
|
31
|
+
const fs_1 = __importDefault(require("fs"));
|
|
32
|
+
const semver_1 = __importDefault(require("semver"));
|
|
33
|
+
const ts = __importStar(require("typescript"));
|
|
34
|
+
const shared_1 = require("./shared");
|
|
35
|
+
const log = (0, debug_1.default)('typescript-eslint:typescript-estree:createWatchProgram');
|
|
36
|
+
/**
|
|
37
|
+
* Maps tsconfig paths to their corresponding file contents and resulting watches
|
|
38
|
+
*/
|
|
39
|
+
const knownWatchProgramMap = new Map();
|
|
40
|
+
/**
|
|
41
|
+
* Maps file/folder paths to their set of corresponding watch callbacks
|
|
42
|
+
* There may be more than one per file/folder if a file/folder is shared between projects
|
|
43
|
+
*/
|
|
44
|
+
const fileWatchCallbackTrackingMap = new Map();
|
|
45
|
+
const folderWatchCallbackTrackingMap = new Map();
|
|
46
|
+
/**
|
|
47
|
+
* Stores the list of known files for each program
|
|
48
|
+
*/
|
|
49
|
+
const programFileListCache = new Map();
|
|
50
|
+
/**
|
|
51
|
+
* Caches the last modified time of the tsconfig files
|
|
52
|
+
*/
|
|
53
|
+
const tsconfigLastModifiedTimestampCache = new Map();
|
|
54
|
+
const parsedFilesSeenHash = new Map();
|
|
55
|
+
/**
|
|
56
|
+
* Clear all of the parser caches.
|
|
57
|
+
* This should only be used in testing to ensure the parser is clean between tests.
|
|
58
|
+
*/
|
|
59
|
+
function clearWatchCaches() {
|
|
60
|
+
knownWatchProgramMap.clear();
|
|
61
|
+
fileWatchCallbackTrackingMap.clear();
|
|
62
|
+
folderWatchCallbackTrackingMap.clear();
|
|
63
|
+
parsedFilesSeenHash.clear();
|
|
64
|
+
programFileListCache.clear();
|
|
65
|
+
tsconfigLastModifiedTimestampCache.clear();
|
|
66
|
+
}
|
|
67
|
+
exports.clearWatchCaches = clearWatchCaches;
|
|
68
|
+
function saveWatchCallback(trackingMap) {
|
|
69
|
+
return (fileName, callback) => {
|
|
70
|
+
const normalizedFileName = (0, shared_1.getCanonicalFileName)(fileName);
|
|
71
|
+
const watchers = (() => {
|
|
72
|
+
let watchers = trackingMap.get(normalizedFileName);
|
|
73
|
+
if (!watchers) {
|
|
74
|
+
watchers = new Set();
|
|
75
|
+
trackingMap.set(normalizedFileName, watchers);
|
|
76
|
+
}
|
|
77
|
+
return watchers;
|
|
78
|
+
})();
|
|
79
|
+
watchers.add(callback);
|
|
80
|
+
return {
|
|
81
|
+
close: () => {
|
|
82
|
+
watchers.delete(callback);
|
|
83
|
+
},
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Holds information about the file currently being linted
|
|
89
|
+
*/
|
|
90
|
+
const currentLintOperationState = {
|
|
91
|
+
code: '',
|
|
92
|
+
filePath: '',
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* Appropriately report issues found when reading a config file
|
|
96
|
+
* @param diagnostic The diagnostic raised when creating a program
|
|
97
|
+
*/
|
|
98
|
+
function diagnosticReporter(diagnostic) {
|
|
99
|
+
throw new Error(ts.flattenDiagnosticMessageText(diagnostic.messageText, ts.sys.newLine));
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Hash content for compare content.
|
|
103
|
+
* @param content hashed contend
|
|
104
|
+
* @returns hashed result
|
|
105
|
+
*/
|
|
106
|
+
function createHash(content) {
|
|
107
|
+
var _a;
|
|
108
|
+
// No ts.sys in browser environments.
|
|
109
|
+
if ((_a = ts.sys) === null || _a === void 0 ? void 0 : _a.createHash) {
|
|
110
|
+
return ts.sys.createHash(content);
|
|
111
|
+
}
|
|
112
|
+
return content;
|
|
113
|
+
}
|
|
114
|
+
function updateCachedFileList(tsconfigPath, program, extra) {
|
|
115
|
+
const fileList = extra.EXPERIMENTAL_useSourceOfProjectReferenceRedirect
|
|
116
|
+
? new Set(program.getSourceFiles().map(sf => (0, shared_1.getCanonicalFileName)(sf.fileName)))
|
|
117
|
+
: new Set(program.getRootFileNames().map(f => (0, shared_1.getCanonicalFileName)(f)));
|
|
118
|
+
programFileListCache.set(tsconfigPath, fileList);
|
|
119
|
+
return fileList;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Calculate project environments using options provided by consumer and paths from config
|
|
123
|
+
* @param code The code being linted
|
|
124
|
+
* @param filePathIn The path of the file being parsed
|
|
125
|
+
* @param extra.tsconfigRootDir The root directory for relative tsconfig paths
|
|
126
|
+
* @param extra.projects Provided tsconfig paths
|
|
127
|
+
* @returns The programs corresponding to the supplied tsconfig paths
|
|
128
|
+
*/
|
|
129
|
+
function getProgramsForProjects(code, filePathIn, extra) {
|
|
130
|
+
const filePath = (0, shared_1.getCanonicalFileName)(filePathIn);
|
|
131
|
+
const results = [];
|
|
132
|
+
// preserve reference to code and file being linted
|
|
133
|
+
currentLintOperationState.code = code;
|
|
134
|
+
currentLintOperationState.filePath = filePath;
|
|
135
|
+
// Update file version if necessary
|
|
136
|
+
const fileWatchCallbacks = fileWatchCallbackTrackingMap.get(filePath);
|
|
137
|
+
const codeHash = createHash(code);
|
|
138
|
+
if (parsedFilesSeenHash.get(filePath) !== codeHash &&
|
|
139
|
+
fileWatchCallbacks &&
|
|
140
|
+
fileWatchCallbacks.size > 0) {
|
|
141
|
+
fileWatchCallbacks.forEach(cb => cb(filePath, ts.FileWatcherEventKind.Changed));
|
|
142
|
+
}
|
|
143
|
+
/*
|
|
144
|
+
* before we go into the process of attempting to find and update every program
|
|
145
|
+
* see if we know of a program that contains this file
|
|
146
|
+
*/
|
|
147
|
+
for (const [tsconfigPath, existingWatch] of knownWatchProgramMap.entries()) {
|
|
148
|
+
let fileList = programFileListCache.get(tsconfigPath);
|
|
149
|
+
let updatedProgram = null;
|
|
150
|
+
if (!fileList) {
|
|
151
|
+
updatedProgram = existingWatch.getProgram().getProgram();
|
|
152
|
+
fileList = updateCachedFileList(tsconfigPath, updatedProgram, extra);
|
|
153
|
+
}
|
|
154
|
+
if (fileList.has(filePath)) {
|
|
155
|
+
log('Found existing program for file. %s', filePath);
|
|
156
|
+
updatedProgram =
|
|
157
|
+
updatedProgram !== null && updatedProgram !== void 0 ? updatedProgram : existingWatch.getProgram().getProgram();
|
|
158
|
+
// sets parent pointers in source files
|
|
159
|
+
updatedProgram.getTypeChecker();
|
|
160
|
+
return [updatedProgram];
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
log('File did not belong to any existing programs, moving to create/update. %s', filePath);
|
|
164
|
+
/*
|
|
165
|
+
* We don't know of a program that contains the file, this means that either:
|
|
166
|
+
* - the required program hasn't been created yet, or
|
|
167
|
+
* - the file is new/renamed, and the program hasn't been updated.
|
|
168
|
+
*/
|
|
169
|
+
for (const tsconfigPath of extra.projects) {
|
|
170
|
+
const existingWatch = knownWatchProgramMap.get(tsconfigPath);
|
|
171
|
+
if (existingWatch) {
|
|
172
|
+
const updatedProgram = maybeInvalidateProgram(existingWatch, filePath, tsconfigPath);
|
|
173
|
+
if (!updatedProgram) {
|
|
174
|
+
continue;
|
|
175
|
+
}
|
|
176
|
+
// sets parent pointers in source files
|
|
177
|
+
updatedProgram.getTypeChecker();
|
|
178
|
+
// cache and check the file list
|
|
179
|
+
const fileList = updateCachedFileList(tsconfigPath, updatedProgram, extra);
|
|
180
|
+
if (fileList.has(filePath)) {
|
|
181
|
+
log('Found updated program for file. %s', filePath);
|
|
182
|
+
// we can return early because we know this program contains the file
|
|
183
|
+
return [updatedProgram];
|
|
184
|
+
}
|
|
185
|
+
results.push(updatedProgram);
|
|
186
|
+
continue;
|
|
187
|
+
}
|
|
188
|
+
const programWatch = createWatchProgram(tsconfigPath, extra);
|
|
189
|
+
knownWatchProgramMap.set(tsconfigPath, programWatch);
|
|
190
|
+
const program = programWatch.getProgram().getProgram();
|
|
191
|
+
// sets parent pointers in source files
|
|
192
|
+
program.getTypeChecker();
|
|
193
|
+
// cache and check the file list
|
|
194
|
+
const fileList = updateCachedFileList(tsconfigPath, program, extra);
|
|
195
|
+
if (fileList.has(filePath)) {
|
|
196
|
+
log('Found program for file. %s', filePath);
|
|
197
|
+
// we can return early because we know this program contains the file
|
|
198
|
+
return [program];
|
|
199
|
+
}
|
|
200
|
+
results.push(program);
|
|
201
|
+
}
|
|
202
|
+
return results;
|
|
203
|
+
}
|
|
204
|
+
exports.getProgramsForProjects = getProgramsForProjects;
|
|
205
|
+
const isRunningNoTimeoutFix = semver_1.default.satisfies(ts.version, '>=3.9.0-beta', {
|
|
206
|
+
includePrerelease: true,
|
|
207
|
+
});
|
|
208
|
+
function createWatchProgram(tsconfigPath, extra) {
|
|
209
|
+
log('Creating watch program for %s.', tsconfigPath);
|
|
210
|
+
// create compiler host
|
|
211
|
+
const watchCompilerHost = ts.createWatchCompilerHost(tsconfigPath, (0, shared_1.createDefaultCompilerOptionsFromExtra)(extra), ts.sys, ts.createAbstractBuilder, diagnosticReporter,
|
|
212
|
+
/*reportWatchStatus*/ () => { });
|
|
213
|
+
if (extra.moduleResolver) {
|
|
214
|
+
watchCompilerHost.resolveModuleNames = (0, shared_1.getModuleResolver)(extra.moduleResolver).resolveModuleNames;
|
|
215
|
+
}
|
|
216
|
+
// ensure readFile reads the code being linted instead of the copy on disk
|
|
217
|
+
const oldReadFile = watchCompilerHost.readFile;
|
|
218
|
+
watchCompilerHost.readFile = (filePathIn, encoding) => {
|
|
219
|
+
const filePath = (0, shared_1.getCanonicalFileName)(filePathIn);
|
|
220
|
+
const fileContent = filePath === currentLintOperationState.filePath
|
|
221
|
+
? currentLintOperationState.code
|
|
222
|
+
: oldReadFile(filePath, encoding);
|
|
223
|
+
if (fileContent !== undefined) {
|
|
224
|
+
parsedFilesSeenHash.set(filePath, createHash(fileContent));
|
|
225
|
+
}
|
|
226
|
+
return fileContent;
|
|
227
|
+
};
|
|
228
|
+
// ensure process reports error on failure instead of exiting process immediately
|
|
229
|
+
watchCompilerHost.onUnRecoverableConfigFileDiagnostic = diagnosticReporter;
|
|
230
|
+
// ensure process doesn't emit programs
|
|
231
|
+
watchCompilerHost.afterProgramCreate = (program) => {
|
|
232
|
+
// report error if there are any errors in the config file
|
|
233
|
+
const configFileDiagnostics = program
|
|
234
|
+
.getConfigFileParsingDiagnostics()
|
|
235
|
+
.filter(diag => diag.category === ts.DiagnosticCategory.Error && diag.code !== 18003);
|
|
236
|
+
if (configFileDiagnostics.length > 0) {
|
|
237
|
+
diagnosticReporter(configFileDiagnostics[0]);
|
|
238
|
+
}
|
|
239
|
+
};
|
|
240
|
+
/*
|
|
241
|
+
* From the CLI, the file watchers won't matter, as the files will be parsed once and then forgotten.
|
|
242
|
+
* When running from an IDE, these watchers will let us tell typescript about changes.
|
|
243
|
+
*
|
|
244
|
+
* ESLint IDE plugins will send us unfinished file content as the user types (before it's saved to disk).
|
|
245
|
+
* We use the file watchers to tell typescript about this latest file content.
|
|
246
|
+
*
|
|
247
|
+
* When files are created (or renamed), we won't know about them because we have no filesystem watchers attached.
|
|
248
|
+
* We use the folder watchers to tell typescript it needs to go and find new files in the project folders.
|
|
249
|
+
*/
|
|
250
|
+
watchCompilerHost.watchFile = saveWatchCallback(fileWatchCallbackTrackingMap);
|
|
251
|
+
watchCompilerHost.watchDirectory = saveWatchCallback(folderWatchCallbackTrackingMap);
|
|
252
|
+
// allow files with custom extensions to be included in program (uses internal ts api)
|
|
253
|
+
const oldOnDirectoryStructureHostCreate = watchCompilerHost.onCachedDirectoryStructureHostCreate;
|
|
254
|
+
watchCompilerHost.onCachedDirectoryStructureHostCreate = (host) => {
|
|
255
|
+
const oldReadDirectory = host.readDirectory;
|
|
256
|
+
host.readDirectory = (path, extensions, exclude, include, depth) => oldReadDirectory(path, !extensions ? undefined : extensions.concat(extra.extraFileExtensions), exclude, include, depth);
|
|
257
|
+
oldOnDirectoryStructureHostCreate(host);
|
|
258
|
+
};
|
|
259
|
+
// This works only on 3.9
|
|
260
|
+
watchCompilerHost.extraFileExtensions = extra.extraFileExtensions.map(extension => ({
|
|
261
|
+
extension,
|
|
262
|
+
isMixedContent: true,
|
|
263
|
+
scriptKind: ts.ScriptKind.Deferred,
|
|
264
|
+
}));
|
|
265
|
+
watchCompilerHost.trace = log;
|
|
266
|
+
/**
|
|
267
|
+
* TODO: this needs refinement and development, but we're allowing users to opt-in to this for now for testing and feedback.
|
|
268
|
+
* See https://github.com/typescript-eslint/typescript-eslint/issues/2094
|
|
269
|
+
*/
|
|
270
|
+
watchCompilerHost.useSourceOfProjectReferenceRedirect = () => extra.EXPERIMENTAL_useSourceOfProjectReferenceRedirect;
|
|
271
|
+
// Since we don't want to asynchronously update program we want to disable timeout methods
|
|
272
|
+
// So any changes in the program will be delayed and updated when getProgram is called on watch
|
|
273
|
+
let callback;
|
|
274
|
+
if (isRunningNoTimeoutFix) {
|
|
275
|
+
watchCompilerHost.setTimeout = undefined;
|
|
276
|
+
watchCompilerHost.clearTimeout = undefined;
|
|
277
|
+
}
|
|
278
|
+
else {
|
|
279
|
+
log('Running without timeout fix');
|
|
280
|
+
// But because of https://github.com/microsoft/TypeScript/pull/37308 we cannot just set it to undefined
|
|
281
|
+
// instead save it and call before getProgram is called
|
|
282
|
+
watchCompilerHost.setTimeout = (cb, _ms, ...args) => {
|
|
283
|
+
callback = cb.bind(/*this*/ undefined, ...args);
|
|
284
|
+
return callback;
|
|
285
|
+
};
|
|
286
|
+
watchCompilerHost.clearTimeout = () => {
|
|
287
|
+
callback = undefined;
|
|
288
|
+
};
|
|
289
|
+
}
|
|
290
|
+
const watch = ts.createWatchProgram(watchCompilerHost);
|
|
291
|
+
if (!isRunningNoTimeoutFix) {
|
|
292
|
+
const originalGetProgram = watch.getProgram;
|
|
293
|
+
watch.getProgram = () => {
|
|
294
|
+
if (callback) {
|
|
295
|
+
callback();
|
|
296
|
+
}
|
|
297
|
+
callback = undefined;
|
|
298
|
+
return originalGetProgram.call(watch);
|
|
299
|
+
};
|
|
300
|
+
}
|
|
301
|
+
return watch;
|
|
302
|
+
}
|
|
303
|
+
exports.createWatchProgram = createWatchProgram;
|
|
304
|
+
function hasTSConfigChanged(tsconfigPath) {
|
|
305
|
+
const stat = fs_1.default.statSync(tsconfigPath);
|
|
306
|
+
const lastModifiedAt = stat.mtimeMs;
|
|
307
|
+
const cachedLastModifiedAt = tsconfigLastModifiedTimestampCache.get(tsconfigPath);
|
|
308
|
+
tsconfigLastModifiedTimestampCache.set(tsconfigPath, lastModifiedAt);
|
|
309
|
+
if (cachedLastModifiedAt === undefined) {
|
|
310
|
+
return false;
|
|
311
|
+
}
|
|
312
|
+
return Math.abs(cachedLastModifiedAt - lastModifiedAt) > Number.EPSILON;
|
|
313
|
+
}
|
|
314
|
+
function maybeInvalidateProgram(existingWatch, filePath, tsconfigPath) {
|
|
315
|
+
/*
|
|
316
|
+
* By calling watchProgram.getProgram(), it will trigger a resync of the program based on
|
|
317
|
+
* whatever new file content we've given it from our input.
|
|
318
|
+
*/
|
|
319
|
+
let updatedProgram = existingWatch.getProgram().getProgram();
|
|
320
|
+
// In case this change causes problems in larger real world codebases
|
|
321
|
+
// Provide an escape hatch so people don't _have_ to revert to an older version
|
|
322
|
+
if (process.env.TSESTREE_NO_INVALIDATION === 'true') {
|
|
323
|
+
return updatedProgram;
|
|
324
|
+
}
|
|
325
|
+
if (hasTSConfigChanged(tsconfigPath)) {
|
|
326
|
+
/*
|
|
327
|
+
* If the stat of the tsconfig has changed, that could mean the include/exclude/files lists has changed
|
|
328
|
+
* We need to make sure typescript knows this so it can update appropriately
|
|
329
|
+
*/
|
|
330
|
+
log('tsconfig has changed - triggering program update. %s', tsconfigPath);
|
|
331
|
+
fileWatchCallbackTrackingMap
|
|
332
|
+
.get(tsconfigPath)
|
|
333
|
+
.forEach(cb => cb(tsconfigPath, ts.FileWatcherEventKind.Changed));
|
|
334
|
+
// tsconfig change means that the file list more than likely changed, so clear the cache
|
|
335
|
+
programFileListCache.delete(tsconfigPath);
|
|
336
|
+
}
|
|
337
|
+
let sourceFile = updatedProgram.getSourceFile(filePath);
|
|
338
|
+
if (sourceFile) {
|
|
339
|
+
return updatedProgram;
|
|
340
|
+
}
|
|
341
|
+
/*
|
|
342
|
+
* Missing source file means our program's folder structure might be out of date.
|
|
343
|
+
* So we need to tell typescript it needs to update the correct folder.
|
|
344
|
+
*/
|
|
345
|
+
log('File was not found in program - triggering folder update. %s', filePath);
|
|
346
|
+
// Find the correct directory callback by climbing the folder tree
|
|
347
|
+
const currentDir = (0, shared_1.canonicalDirname)(filePath);
|
|
348
|
+
let current = null;
|
|
349
|
+
let next = currentDir;
|
|
350
|
+
let hasCallback = false;
|
|
351
|
+
while (current !== next) {
|
|
352
|
+
current = next;
|
|
353
|
+
const folderWatchCallbacks = folderWatchCallbackTrackingMap.get(current);
|
|
354
|
+
if (folderWatchCallbacks) {
|
|
355
|
+
folderWatchCallbacks.forEach(cb => {
|
|
356
|
+
if (currentDir !== current) {
|
|
357
|
+
cb(currentDir, ts.FileWatcherEventKind.Changed);
|
|
358
|
+
}
|
|
359
|
+
cb(current, ts.FileWatcherEventKind.Changed);
|
|
360
|
+
});
|
|
361
|
+
hasCallback = true;
|
|
362
|
+
}
|
|
363
|
+
next = (0, shared_1.canonicalDirname)(current);
|
|
364
|
+
}
|
|
365
|
+
if (!hasCallback) {
|
|
366
|
+
/*
|
|
367
|
+
* No callback means the paths don't matchup - so no point returning any program
|
|
368
|
+
* this will signal to the caller to skip this program
|
|
369
|
+
*/
|
|
370
|
+
log('No callback found for file, not part of this program. %s', filePath);
|
|
371
|
+
return null;
|
|
372
|
+
}
|
|
373
|
+
// directory update means that the file list more than likely changed, so clear the cache
|
|
374
|
+
programFileListCache.delete(tsconfigPath);
|
|
375
|
+
// force the immediate resync
|
|
376
|
+
updatedProgram = existingWatch.getProgram().getProgram();
|
|
377
|
+
sourceFile = updatedProgram.getSourceFile(filePath);
|
|
378
|
+
if (sourceFile) {
|
|
379
|
+
return updatedProgram;
|
|
380
|
+
}
|
|
381
|
+
/*
|
|
382
|
+
* At this point we're in one of two states:
|
|
383
|
+
* - The file isn't supposed to be in this program due to exclusions
|
|
384
|
+
* - The file is new, and was renamed from an old, included filename
|
|
385
|
+
*
|
|
386
|
+
* For the latter case, we need to tell typescript that the old filename is now deleted
|
|
387
|
+
*/
|
|
388
|
+
log('File was still not found in program after directory update - checking file deletions. %s', filePath);
|
|
389
|
+
const rootFilenames = updatedProgram.getRootFileNames();
|
|
390
|
+
// use find because we only need to "delete" one file to cause typescript to do a full resync
|
|
391
|
+
const deletedFile = rootFilenames.find(file => !fs_1.default.existsSync(file));
|
|
392
|
+
if (!deletedFile) {
|
|
393
|
+
// There are no deleted files, so it must be the former case of the file not belonging to this program
|
|
394
|
+
return null;
|
|
395
|
+
}
|
|
396
|
+
const fileWatchCallbacks = fileWatchCallbackTrackingMap.get((0, shared_1.getCanonicalFileName)(deletedFile));
|
|
397
|
+
if (!fileWatchCallbacks) {
|
|
398
|
+
// shouldn't happen, but just in case
|
|
399
|
+
log('Could not find watch callbacks for root file. %s', deletedFile);
|
|
400
|
+
return updatedProgram;
|
|
401
|
+
}
|
|
402
|
+
log('Marking file as deleted. %s', deletedFile);
|
|
403
|
+
fileWatchCallbacks.forEach(cb => cb(deletedFile, ts.FileWatcherEventKind.Deleted));
|
|
404
|
+
// deleted files means that the file list _has_ changed, so clear the cache
|
|
405
|
+
programFileListCache.delete(tsconfigPath);
|
|
406
|
+
updatedProgram = existingWatch.getProgram().getProgram();
|
|
407
|
+
sourceFile = updatedProgram.getSourceFile(filePath);
|
|
408
|
+
if (sourceFile) {
|
|
409
|
+
return updatedProgram;
|
|
410
|
+
}
|
|
411
|
+
log('File was still not found in program after deletion check, assuming it is not part of this program. %s', filePath);
|
|
412
|
+
return null;
|
|
413
|
+
}
|
|
414
|
+
//# sourceMappingURL=createWatchProgram.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createWatchProgram.js","sourceRoot":"","sources":["../../src/create-program/createWatchProgram.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAA0B;AAC1B,4CAAoB;AACpB,oDAA4B;AAC5B,+CAAiC;AAGjC,qCAMkB;AAElB,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,wDAAwD,CAAC,CAAC;AAE5E;;GAEG;AACH,MAAM,oBAAoB,GAAG,IAAI,GAAG,EAGjC,CAAC;AAEJ;;;GAGG;AACH,MAAM,4BAA4B,GAAG,IAAI,GAAG,EAGzC,CAAC;AACJ,MAAM,8BAA8B,GAAG,IAAI,GAAG,EAG3C,CAAC;AAEJ;;GAEG;AACH,MAAM,oBAAoB,GAAG,IAAI,GAAG,EAAqC,CAAC;AAE1E;;GAEG;AACH,MAAM,kCAAkC,GAAG,IAAI,GAAG,EAAyB,CAAC;AAE5E,MAAM,mBA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ACtG,OAAO,IAAI,CAAC;KACb;IAED,MAAM,kBAAkB,GAAG,4BAA4B,CAAC,GAAG,CACzD,IAAA,6BAAoB,EAAC,WAAW,CAAC,CAClC,CAAC;IACF,IAAI,CAAC,kBAAkB,EAAE;QACvB,qCAAqC;QACrC,GAAG,CAAC,kDAAkD,EAAE,WAAW,CAAC,CAAC;QACrE,OAAO,cAAc,CAAC;KACvB;IAED,GAAG,CAAC,6BAA6B,EAAE,WAAW,CAAC,CAAC;IAChD,kBAAkB,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAC9B,EAAE,CAAC,WAAW,EAAE,EAAE,CAAC,oBAAoB,CAAC,OAAO,CAAC,CACjD,CAAC;IAEF,2EAA2E;IAC3E,oBAAoB,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;IAE1C,cAAc,GAAG,aAAa,CAAC,UAAU,EAAE,CAAC,UAAU,EAAE,CAAC;IACzD,UAAU,GAAG,cAAc,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IACpD,IAAI,UAAU,EAAE;QACd,OAAO,cAAc,CAAC;KACvB;IAED,GAAG,CACD,uGAAuG,EACvG,QAAQ,CACT,CAAC;IACF,OAAO,IAAI,CAAC;AACd,CAAC"}
|
package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as ts from 'typescript';
|
|
2
|
+
declare function getScriptKind(filePath: string, jsx: boolean): ts.ScriptKind;
|
|
3
|
+
declare function getLanguageVariant(scriptKind: ts.ScriptKind): ts.LanguageVariant;
|
|
4
|
+
export { getScriptKind, getLanguageVariant };
|
|
5
|
+
//# sourceMappingURL=getScriptKind.d.ts.map
|
package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getScriptKind.d.ts","sourceRoot":"","sources":["../../src/create-program/getScriptKind.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,iBAAS,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,GAAG,EAAE,CAAC,UAAU,CA8BpE;AAED,iBAAS,kBAAkB,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,GAAG,EAAE,CAAC,eAAe,CAYzE;AAED,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,CAAC"}
|
package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.getLanguageVariant = exports.getScriptKind = void 0;
|
|
30
|
+
const path_1 = __importDefault(require("path"));
|
|
31
|
+
const ts = __importStar(require("typescript"));
|
|
32
|
+
function getScriptKind(filePath, jsx) {
|
|
33
|
+
const extension = path_1.default.extname(filePath).toLowerCase();
|
|
34
|
+
// note - we only respect the user's jsx setting for unknown extensions
|
|
35
|
+
// this is so that we always match TS's internal script kind logic, preventing
|
|
36
|
+
// weird errors due to a mismatch.
|
|
37
|
+
// https://github.com/microsoft/TypeScript/blob/da00ba67ed1182ad334f7c713b8254fba174aeba/src/compiler/utilities.ts#L6948-L6968
|
|
38
|
+
switch (extension) {
|
|
39
|
+
case ts.Extension.Js:
|
|
40
|
+
case ts.Extension.Cjs:
|
|
41
|
+
case ts.Extension.Mjs:
|
|
42
|
+
return ts.ScriptKind.JS;
|
|
43
|
+
case ts.Extension.Jsx:
|
|
44
|
+
return ts.ScriptKind.JSX;
|
|
45
|
+
case ts.Extension.Ts:
|
|
46
|
+
case ts.Extension.Cts:
|
|
47
|
+
case ts.Extension.Mts:
|
|
48
|
+
return ts.ScriptKind.TS;
|
|
49
|
+
case ts.Extension.Tsx:
|
|
50
|
+
return ts.ScriptKind.TSX;
|
|
51
|
+
case ts.Extension.Json:
|
|
52
|
+
return ts.ScriptKind.JSON;
|
|
53
|
+
default:
|
|
54
|
+
// unknown extension, force typescript to ignore the file extension, and respect the user's setting
|
|
55
|
+
return jsx ? ts.ScriptKind.TSX : ts.ScriptKind.TS;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
exports.getScriptKind = getScriptKind;
|
|
59
|
+
function getLanguageVariant(scriptKind) {
|
|
60
|
+
// https://github.com/microsoft/TypeScript/blob/d6e483b8dabd8fd37c00954c3f2184bb7f1eb90c/src/compiler/utilities.ts#L6281-L6285
|
|
61
|
+
switch (scriptKind) {
|
|
62
|
+
case ts.ScriptKind.TSX:
|
|
63
|
+
case ts.ScriptKind.JSX:
|
|
64
|
+
case ts.ScriptKind.JS:
|
|
65
|
+
case ts.ScriptKind.JSON:
|
|
66
|
+
return ts.LanguageVariant.JSX;
|
|
67
|
+
default:
|
|
68
|
+
return ts.LanguageVariant.Standard;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
exports.getLanguageVariant = getLanguageVariant;
|
|
72
|
+
//# sourceMappingURL=getScriptKind.js.map
|
package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getScriptKind.js","sourceRoot":"","sources":["../../src/create-program/getScriptKind.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAAwB;AACxB,+CAAiC;AAEjC,SAAS,aAAa,CAAC,QAAgB,EAAE,GAAY;IACnD,MAAM,SAAS,GAAG,cAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,WAAW,EAAE,CAAC;IACvD,uEAAuE;IACvE,8EAA8E;IAC9E,kCAAkC;IAClC,8HAA8H;IAC9H,QAAQ,SAAS,EAAE;QACjB,KAAK,EAAE,CAAC,SAAS,CAAC,EAAE,CAAC;QACrB,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC;QACtB,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG;YACnB,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;QAE1B,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG;YACnB,OAAO,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC;QAE3B,KAAK,EAAE,CAAC,SAAS,CAAC,EAAE,CAAC;QACrB,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC;QACtB,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG;YACnB,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;QAE1B,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG;YACnB,OAAO,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC;QAE3B,KAAK,EAAE,CAAC,SAAS,CAAC,IAAI;YACpB,OAAO,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC;QAE5B;YACE,mGAAmG;YACnG,OAAO,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;KACrD;AACH,CAAC;AAgBQ,sCAAa;AAdtB,SAAS,kBAAkB,CAAC,UAAyB;IACnD,8HAA8H;IAC9H,QAAQ,UAAU,EAAE;QAClB,KAAK,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC;QACvB,KAAK,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC;QACvB,KAAK,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;QACtB,KAAK,EAAE,CAAC,UAAU,CAAC,IAAI;YACrB,OAAO,EAAE,CAAC,eAAe,CAAC,GAAG,CAAC;QAEhC;YACE,OAAO,EAAE,CAAC,eAAe,CAAC,QAAQ,CAAC;KACtC;AACH,CAAC;AAEuB,gDAAkB"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as ts from 'typescript';
|
|
2
|
+
import { Program } from 'typescript';
|
|
3
|
+
import { Extra, ModuleResolver } from '../parser-options';
|
|
4
|
+
interface ASTAndProgram {
|
|
5
|
+
ast: ts.SourceFile;
|
|
6
|
+
program: ts.Program;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Compiler options required to avoid critical functionality issues
|
|
10
|
+
*/
|
|
11
|
+
declare const CORE_COMPILER_OPTIONS: ts.CompilerOptions;
|
|
12
|
+
declare function createDefaultCompilerOptionsFromExtra(extra: Extra): ts.CompilerOptions;
|
|
13
|
+
declare type CanonicalPath = string & {
|
|
14
|
+
__brand: unknown;
|
|
15
|
+
};
|
|
16
|
+
declare function getCanonicalFileName(filePath: string): CanonicalPath;
|
|
17
|
+
declare function ensureAbsolutePath(p: string, extra: Extra): string;
|
|
18
|
+
declare function canonicalDirname(p: CanonicalPath): CanonicalPath;
|
|
19
|
+
declare function getAstFromProgram(currentProgram: Program, extra: Extra): ASTAndProgram | undefined;
|
|
20
|
+
declare function getModuleResolver(moduleResolverPath: string): ModuleResolver;
|
|
21
|
+
export { ASTAndProgram, CORE_COMPILER_OPTIONS, canonicalDirname, CanonicalPath, createDefaultCompilerOptionsFromExtra, ensureAbsolutePath, getCanonicalFileName, getAstFromProgram, getModuleResolver, };
|
|
22
|
+
//# sourceMappingURL=shared.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../src/create-program/shared.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAE1D,UAAU,aAAa;IACrB,GAAG,EAAE,EAAE,CAAC,UAAU,CAAC;IACnB,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC;CACrB;AAED;;GAEG;AACH,QAAA,MAAM,qBAAqB,EAAE,EAAE,CAAC,eAQ/B,CAAC;AAYF,iBAAS,qCAAqC,CAC5C,KAAK,EAAE,KAAK,GACX,EAAE,CAAC,eAAe,CASpB;AAGD,aAAK,aAAa,GAAG,MAAM,GAAG;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,CAAC;AASnD,iBAAS,oBAAoB,CAAC,QAAQ,EAAE,MAAM,GAAG,aAAa,CAM7D;AAED,iBAAS,kBAAkB,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,MAAM,CAI3D;AAED,iBAAS,gBAAgB,CAAC,CAAC,EAAE,aAAa,GAAG,aAAa,CAEzD;AAmBD,iBAAS,iBAAiB,CACxB,cAAc,EAAE,OAAO,EACvB,KAAK,EAAE,KAAK,GACX,aAAa,GAAG,SAAS,CAW3B;AAED,iBAAS,iBAAiB,CAAC,kBAAkB,EAAE,MAAM,GAAG,cAAc,CAerE;AAED,OAAO,EACL,aAAa,EACb,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,EACb,qCAAqC,EACrC,kBAAkB,EAClB,oBAAoB,EACpB,iBAAiB,EACjB,iBAAiB,GAClB,CAAC"}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.getModuleResolver = exports.getAstFromProgram = exports.getCanonicalFileName = exports.ensureAbsolutePath = exports.createDefaultCompilerOptionsFromExtra = exports.canonicalDirname = exports.CORE_COMPILER_OPTIONS = void 0;
|
|
30
|
+
const path_1 = __importDefault(require("path"));
|
|
31
|
+
const ts = __importStar(require("typescript"));
|
|
32
|
+
/**
|
|
33
|
+
* Compiler options required to avoid critical functionality issues
|
|
34
|
+
*/
|
|
35
|
+
const CORE_COMPILER_OPTIONS = {
|
|
36
|
+
noEmit: true,
|
|
37
|
+
/**
|
|
38
|
+
* Flags required to make no-unused-vars work
|
|
39
|
+
*/
|
|
40
|
+
noUnusedLocals: true,
|
|
41
|
+
noUnusedParameters: true,
|
|
42
|
+
};
|
|
43
|
+
exports.CORE_COMPILER_OPTIONS = CORE_COMPILER_OPTIONS;
|
|
44
|
+
/**
|
|
45
|
+
* Default compiler options for program generation
|
|
46
|
+
*/
|
|
47
|
+
const DEFAULT_COMPILER_OPTIONS = Object.assign(Object.assign({}, CORE_COMPILER_OPTIONS), { allowNonTsExtensions: true, allowJs: true, checkJs: true });
|
|
48
|
+
function createDefaultCompilerOptionsFromExtra(extra) {
|
|
49
|
+
if (extra.debugLevel.has('typescript')) {
|
|
50
|
+
return Object.assign(Object.assign({}, DEFAULT_COMPILER_OPTIONS), { extendedDiagnostics: true });
|
|
51
|
+
}
|
|
52
|
+
return DEFAULT_COMPILER_OPTIONS;
|
|
53
|
+
}
|
|
54
|
+
exports.createDefaultCompilerOptionsFromExtra = createDefaultCompilerOptionsFromExtra;
|
|
55
|
+
// typescript doesn't provide a ts.sys implementation for browser environments
|
|
56
|
+
const useCaseSensitiveFileNames = ts.sys !== undefined ? ts.sys.useCaseSensitiveFileNames : true;
|
|
57
|
+
const correctPathCasing = useCaseSensitiveFileNames
|
|
58
|
+
? (filePath) => filePath
|
|
59
|
+
: (filePath) => filePath.toLowerCase();
|
|
60
|
+
function getCanonicalFileName(filePath) {
|
|
61
|
+
let normalized = path_1.default.normalize(filePath);
|
|
62
|
+
if (normalized.endsWith(path_1.default.sep)) {
|
|
63
|
+
normalized = normalized.slice(0, -1);
|
|
64
|
+
}
|
|
65
|
+
return correctPathCasing(normalized);
|
|
66
|
+
}
|
|
67
|
+
exports.getCanonicalFileName = getCanonicalFileName;
|
|
68
|
+
function ensureAbsolutePath(p, extra) {
|
|
69
|
+
return path_1.default.isAbsolute(p)
|
|
70
|
+
? p
|
|
71
|
+
: path_1.default.join(extra.tsconfigRootDir || process.cwd(), p);
|
|
72
|
+
}
|
|
73
|
+
exports.ensureAbsolutePath = ensureAbsolutePath;
|
|
74
|
+
function canonicalDirname(p) {
|
|
75
|
+
return path_1.default.dirname(p);
|
|
76
|
+
}
|
|
77
|
+
exports.canonicalDirname = canonicalDirname;
|
|
78
|
+
const DEFINITION_EXTENSIONS = [
|
|
79
|
+
ts.Extension.Dts,
|
|
80
|
+
ts.Extension.Dcts,
|
|
81
|
+
ts.Extension.Dmts,
|
|
82
|
+
];
|
|
83
|
+
function getExtension(fileName) {
|
|
84
|
+
var _a;
|
|
85
|
+
if (!fileName) {
|
|
86
|
+
return null;
|
|
87
|
+
}
|
|
88
|
+
return ((_a = DEFINITION_EXTENSIONS.find(definitionExt => fileName.endsWith(definitionExt))) !== null && _a !== void 0 ? _a : path_1.default.extname(fileName));
|
|
89
|
+
}
|
|
90
|
+
function getAstFromProgram(currentProgram, extra) {
|
|
91
|
+
const ast = currentProgram.getSourceFile(extra.filePath);
|
|
92
|
+
// working around https://github.com/typescript-eslint/typescript-eslint/issues/1573
|
|
93
|
+
const expectedExt = getExtension(extra.filePath);
|
|
94
|
+
const returnedExt = getExtension(ast === null || ast === void 0 ? void 0 : ast.fileName);
|
|
95
|
+
if (expectedExt !== returnedExt) {
|
|
96
|
+
return undefined;
|
|
97
|
+
}
|
|
98
|
+
return ast && { ast, program: currentProgram };
|
|
99
|
+
}
|
|
100
|
+
exports.getAstFromProgram = getAstFromProgram;
|
|
101
|
+
function getModuleResolver(moduleResolverPath) {
|
|
102
|
+
let moduleResolver;
|
|
103
|
+
try {
|
|
104
|
+
moduleResolver = require(moduleResolverPath);
|
|
105
|
+
}
|
|
106
|
+
catch (error) {
|
|
107
|
+
const errorLines = [
|
|
108
|
+
'Could not find the provided parserOptions.moduleResolver.',
|
|
109
|
+
'Hint: use an absolute path if you are not in control over where the ESLint instance runs.',
|
|
110
|
+
];
|
|
111
|
+
throw new Error(errorLines.join('\n'));
|
|
112
|
+
}
|
|
113
|
+
return moduleResolver;
|
|
114
|
+
}
|
|
115
|
+
exports.getModuleResolver = getModuleResolver;
|
|
116
|
+
//# sourceMappingURL=shared.js.map
|