@sprucelabs/spruce-cli 17.1.31 → 17.1.34
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/build/__tests__/testDirsAndFiles/mercury-types-package.json +1 -1
- package/build/features/event/actions/SetRemoteAction.js +3 -0
- package/build/features/event/actions/SetRemoteAction.js.map +1 -1
- package/package.json +34 -34
- package/src/__tests__/testDirsAndFiles/mercury-types-package.json +1 -1
- package/src/features/event/actions/SetRemoteAction.ts +4 -0
- package/node_modules/@typescript-eslint/parser/LICENSE +0 -22
- package/node_modules/@typescript-eslint/parser/README.md +0 -302
- package/node_modules/@typescript-eslint/parser/_ts3.4/dist/index.d.ts +0 -4
- package/node_modules/@typescript-eslint/parser/_ts3.4/dist/parser.d.ts +0 -20
- package/node_modules/@typescript-eslint/parser/dist/index.d.ts +0 -4
- package/node_modules/@typescript-eslint/parser/dist/index.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/parser/dist/index.js +0 -13
- package/node_modules/@typescript-eslint/parser/dist/index.js.map +0 -1
- package/node_modules/@typescript-eslint/parser/dist/parser.d.ts +0 -17
- package/node_modules/@typescript-eslint/parser/dist/parser.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/parser/dist/parser.js +0 -129
- package/node_modules/@typescript-eslint/parser/dist/parser.js.map +0 -1
- package/node_modules/@typescript-eslint/parser/package.json +0 -75
- package/node_modules/@typescript-eslint/scope-manager/LICENSE +0 -21
- package/node_modules/@typescript-eslint/scope-manager/README.md +0 -120
- package/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts +0 -4
- package/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/ID.js +0 -22
- package/node_modules/@typescript-eslint/scope-manager/dist/ID.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts +0 -72
- package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js +0 -183
- package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts +0 -62
- package/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/analyze.js +0 -58
- package/node_modules/@typescript-eslint/scope-manager/dist/analyze.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/assert.js +0 -11
- package/node_modules/@typescript-eslint/scope-manager/dist/assert.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts +0 -10
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js +0 -14
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts +0 -10
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js +0 -14
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts +0 -14
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.js +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.d.ts +0 -39
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.js +0 -19
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.d.ts +0 -15
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.js +0 -19
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.d.ts +0 -10
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js +0 -14
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts +0 -10
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.js +0 -14
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts +0 -11
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js +0 -14
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.d.ts +0 -14
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.js +0 -15
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.d.ts +0 -10
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js +0 -14
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts +0 -10
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js +0 -14
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts +0 -10
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js +0 -14
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts +0 -10
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js +0 -14
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts +0 -10
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js +0 -14
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.d.ts +0 -14
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.js +0 -30
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/index.d.ts +0 -9
- package/node_modules/@typescript-eslint/scope-manager/dist/index.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/index.js +0 -31
- package/node_modules/@typescript-eslint/scope-manager/dist/index.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.d.ts +0 -16
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.js +0 -23
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js +0 -69
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js +0 -1298
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.js +0 -21
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.js +0 -23
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.js +0 -11
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.js +0 -11
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.js +0 -19
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.js +0 -12
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.js +0 -13
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.js +0 -12
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.js +0 -12
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js +0 -11
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.js +0 -22
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.js +0 -14
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.js +0 -11
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.js +0 -14
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.js +0 -12
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js +0 -15
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.js +0 -12
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.js +0 -12
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.js +0 -12
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.js +0 -20
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.js +0 -11
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.js +0 -12
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.js +0 -14
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.js +0 -12
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.js +0 -15
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.js +0 -12
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.js +0 -14
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.js +0 -14
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.js +0 -14
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.js +0 -14
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.js +0 -11
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.js +0 -12
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.js +0 -12
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.js +0 -11
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.js +0 -11
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.js +0 -14
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.js +0 -12
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js +0 -18
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.js +0 -11
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.js +0 -15
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js +0 -12
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js +0 -11
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.js +0 -12
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.js +0 -14
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.js +0 -12
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js +0 -14
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.js +0 -14
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.js +0 -12
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js +0 -15
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.js +0 -24
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js +0 -21
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.js +0 -14
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js +0 -14
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.js +0 -12
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.js +0 -12
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.js +0 -114
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.js +0 -19
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.js +0 -11
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.js +0 -24
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.js +0 -12
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.js +0 -11
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.js +0 -14
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.js +0 -12
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js +0 -11
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.js +0 -14
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.js +0 -12
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.js +0 -12
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js +0 -15
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts +0 -79
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js +0 -161
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.js +0 -13
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.js +0 -24
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.js +0 -9
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.d.ts +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.js +0 -28
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js +0 -452
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts +0 -26
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js +0 -316
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts +0 -15
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js +0 -84
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts +0 -14
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.js +0 -50
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts +0 -28
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js +0 -111
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts +0 -89
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js +0 -109
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts +0 -84
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js +0 -544
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts +0 -33
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js +0 -228
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts +0 -13
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js +0 -41
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts +0 -22
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.js +0 -82
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.d.ts +0 -2
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.js +0 -6
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts +0 -10
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.js +0 -12
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts +0 -10
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.js +0 -12
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts +0 -10
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.js +0 -12
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts +0 -10
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.js +0 -12
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts +0 -10
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js +0 -12
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts +0 -10
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.js +0 -12
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts +0 -10
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.js +0 -12
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts +0 -11
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.js +0 -17
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts +0 -13
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.js +0 -37
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts +0 -10
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.js +0 -12
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts +0 -18
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.js +0 -39
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts +0 -10
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.js +0 -12
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts +0 -10
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.js +0 -12
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts +0 -21
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.js +0 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts +0 -106
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js +0 -363
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.d.ts +0 -22
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.js +0 -26
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.d.ts +0 -10
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.js +0 -12
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts +0 -10
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.js +0 -12
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts +0 -10
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.js +0 -12
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts +0 -10
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.js +0 -12
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts +0 -11
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js +0 -22
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.d.ts +0 -20
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.js +0 -36
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts +0 -34
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js +0 -12
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts +0 -25
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.js +0 -19
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts +0 -18
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.js +0 -33
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts +0 -44
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.js +0 -39
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/index.d.ts +0 -4
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/index.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/index.js +0 -10
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/index.js.map +0 -1
- package/node_modules/@typescript-eslint/scope-manager/package.json +0 -67
- package/node_modules/@typescript-eslint/types/LICENSE +0 -21
- package/node_modules/@typescript-eslint/types/README.md +0 -17
- package/node_modules/@typescript-eslint/types/_ts3.4/dist/generated/ast-spec.d.ts +0 -1732
- package/node_modules/@typescript-eslint/types/_ts3.4/dist/index.d.ts +0 -5
- package/node_modules/@typescript-eslint/types/_ts3.4/dist/lib.d.ts +0 -3
- package/node_modules/@typescript-eslint/types/_ts3.4/dist/parser-options.d.ts +0 -35
- package/node_modules/@typescript-eslint/types/_ts3.4/dist/ts-estree.d.ts +0 -9
- package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts +0 -1729
- package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js +0 -199
- package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js.map +0 -1
- package/node_modules/@typescript-eslint/types/dist/index.d.ts +0 -5
- package/node_modules/@typescript-eslint/types/dist/index.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/types/dist/index.js +0 -24
- package/node_modules/@typescript-eslint/types/dist/index.js.map +0 -1
- package/node_modules/@typescript-eslint/types/dist/lib.d.ts +0 -3
- package/node_modules/@typescript-eslint/types/dist/lib.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/types/dist/lib.js +0 -7
- package/node_modules/@typescript-eslint/types/dist/lib.js.map +0 -1
- package/node_modules/@typescript-eslint/types/dist/parser-options.d.ts +0 -35
- package/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/types/dist/parser-options.js +0 -3
- package/node_modules/@typescript-eslint/types/dist/parser-options.js.map +0 -1
- package/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts +0 -8
- package/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/types/dist/ts-estree.js +0 -28
- package/node_modules/@typescript-eslint/types/dist/ts-estree.js.map +0 -1
- package/node_modules/@typescript-eslint/types/package.json +0 -84
- package/node_modules/@typescript-eslint/typescript-estree/LICENSE +0 -26
- package/node_modules/@typescript-eslint/typescript-estree/README.md +0 -383
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/ast-converter.d.ts +0 -9
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/convert-comments.d.ts +0 -11
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/convert.d.ts +0 -157
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/WatchCompilerHostOfConfigFile.d.ts +0 -13
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/createDefaultProgram.d.ts +0 -12
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/createIsolatedProgram.d.ts +0 -9
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/createProjectProgram.d.ts +0 -11
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/createSourceFile.d.ts +0 -5
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/createWatchProgram.d.ts +0 -19
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/getScriptKind.d.ts +0 -5
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/shared.d.ts +0 -22
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/useProvidedPrograms.d.ts +0 -13
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/index.d.ts +0 -10
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/jsx/xhtml-entities.d.ts +0 -2
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/node-utils.d.ts +0 -230
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parser-options.d.ts +0 -188
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parser.d.ts +0 -25
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/semantic-or-syntactic-errors.d.ts +0 -13
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/simple-traverse.d.ts +0 -9
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/ts-estree/estree-to-ts-node-types.d.ts +0 -175
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/ts-estree/index.d.ts +0 -4
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/ts-estree/ts-nodes.d.ts +0 -18
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/version-check.d.ts +0 -3
- package/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.d.ts +0 -9
- package/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js +0 -60
- package/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.d.ts +0 -11
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js +0 -63
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts +0 -157
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js +0 -2323
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.d.ts +0 -13
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.js +0 -6
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.js.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.d.ts +0 -12
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.js +0 -66
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.js.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts +0 -9
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js +0 -83
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts +0 -11
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js +0 -94
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts +0 -5
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js +0 -40
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.d.ts +0 -19
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.js +0 -414
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.js.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts +0 -5
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js +0 -72
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts +0 -22
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js +0 -116
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts +0 -13
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js +0 -93
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/index.d.ts +0 -10
- package/node_modules/@typescript-eslint/typescript-estree/dist/index.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/index.js +0 -37
- package/node_modules/@typescript-eslint/typescript-estree/dist/index.js.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/jsx/xhtml-entities.d.ts +0 -2
- package/node_modules/@typescript-eslint/typescript-estree/dist/jsx/xhtml-entities.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/jsx/xhtml-entities.js +0 -259
- package/node_modules/@typescript-eslint/typescript-estree/dist/jsx/xhtml-entities.js.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.d.ts +0 -227
- package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js +0 -582
- package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts +0 -188
- package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.js +0 -3
- package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.js.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts +0 -25
- package/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js +0 -529
- package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.d.ts +0 -13
- package/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.js +0 -93
- package/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.js.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.d.ts +0 -9
- package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.js +0 -54
- package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.js.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.d.ts +0 -175
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.js +0 -4
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.js.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.d.ts +0 -4
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.js +0 -25
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.js.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.d.ts +0 -18
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.js +0 -3
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.js.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts +0 -3
- package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js +0 -46
- package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/gitignore.js +0 -120
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/index.d.ts +0 -186
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/index.js +0 -181
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/license +0 -9
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/package.json +0 -82
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/readme.md +0 -170
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/stream-utils.js +0 -46
- package/node_modules/@typescript-eslint/typescript-estree/package.json +0 -86
- package/node_modules/@typescript-eslint/visitor-keys/LICENSE +0 -21
- package/node_modules/@typescript-eslint/visitor-keys/README.md +0 -13
- package/node_modules/@typescript-eslint/visitor-keys/_ts3.4/dist/get-keys.d.ts +0 -4
- package/node_modules/@typescript-eslint/visitor-keys/_ts3.4/dist/index.d.ts +0 -3
- package/node_modules/@typescript-eslint/visitor-keys/_ts3.4/dist/visitor-keys.d.ts +0 -6
- package/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.d.ts +0 -4
- package/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js +0 -7
- package/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js.map +0 -1
- package/node_modules/@typescript-eslint/visitor-keys/dist/index.d.ts +0 -3
- package/node_modules/@typescript-eslint/visitor-keys/dist/index.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/visitor-keys/dist/index.js +0 -8
- package/node_modules/@typescript-eslint/visitor-keys/dist/index.js.map +0 -1
- package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts +0 -6
- package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js +0 -160
- package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js.map +0 -1
- package/node_modules/@typescript-eslint/visitor-keys/package.json +0 -60
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.parseForESLint = exports.parse = void 0;
|
|
7
|
-
const typescript_estree_1 = require("@typescript-eslint/typescript-estree");
|
|
8
|
-
const scope_manager_1 = require("@typescript-eslint/scope-manager");
|
|
9
|
-
const debug_1 = __importDefault(require("debug"));
|
|
10
|
-
const typescript_1 = require("typescript");
|
|
11
|
-
const log = (0, debug_1.default)('typescript-eslint:parser:parser');
|
|
12
|
-
function validateBoolean(value, fallback = false) {
|
|
13
|
-
if (typeof value !== 'boolean') {
|
|
14
|
-
return fallback;
|
|
15
|
-
}
|
|
16
|
-
return value;
|
|
17
|
-
}
|
|
18
|
-
const LIB_FILENAME_REGEX = /lib\.(.+)\.d\.[cm]?ts$/;
|
|
19
|
-
function getLib(compilerOptions) {
|
|
20
|
-
var _a;
|
|
21
|
-
if (compilerOptions.lib) {
|
|
22
|
-
return compilerOptions.lib.reduce((acc, lib) => {
|
|
23
|
-
const match = LIB_FILENAME_REGEX.exec(lib.toLowerCase());
|
|
24
|
-
if (match) {
|
|
25
|
-
acc.push(match[1]);
|
|
26
|
-
}
|
|
27
|
-
return acc;
|
|
28
|
-
}, []);
|
|
29
|
-
}
|
|
30
|
-
const target = (_a = compilerOptions.target) !== null && _a !== void 0 ? _a : typescript_1.ScriptTarget.ES5;
|
|
31
|
-
// https://github.com/Microsoft/TypeScript/blob/59ad375234dc2efe38d8ee0ba58414474c1d5169/src/compiler/utilitiesPublic.ts#L13-L32
|
|
32
|
-
switch (target) {
|
|
33
|
-
case typescript_1.ScriptTarget.ESNext:
|
|
34
|
-
return ['esnext.full'];
|
|
35
|
-
case typescript_1.ScriptTarget.ES2020:
|
|
36
|
-
return ['es2020.full'];
|
|
37
|
-
case typescript_1.ScriptTarget.ES2019:
|
|
38
|
-
return ['es2019.full'];
|
|
39
|
-
case typescript_1.ScriptTarget.ES2018:
|
|
40
|
-
return ['es2018.full'];
|
|
41
|
-
case typescript_1.ScriptTarget.ES2017:
|
|
42
|
-
return ['es2017.full'];
|
|
43
|
-
case typescript_1.ScriptTarget.ES2016:
|
|
44
|
-
return ['es2016.full'];
|
|
45
|
-
case typescript_1.ScriptTarget.ES2015:
|
|
46
|
-
return ['es6'];
|
|
47
|
-
default:
|
|
48
|
-
return ['lib'];
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
function parse(code, options) {
|
|
52
|
-
return parseForESLint(code, options).ast;
|
|
53
|
-
}
|
|
54
|
-
exports.parse = parse;
|
|
55
|
-
function parseForESLint(code, options) {
|
|
56
|
-
if (!options || typeof options !== 'object') {
|
|
57
|
-
options = {};
|
|
58
|
-
}
|
|
59
|
-
else {
|
|
60
|
-
options = Object.assign({}, options);
|
|
61
|
-
}
|
|
62
|
-
// https://eslint.org/docs/user-guide/configuring#specifying-parser-options
|
|
63
|
-
// if sourceType is not provided by default eslint expect that it will be set to "script"
|
|
64
|
-
if (options.sourceType !== 'module' && options.sourceType !== 'script') {
|
|
65
|
-
options.sourceType = 'script';
|
|
66
|
-
}
|
|
67
|
-
if (typeof options.ecmaFeatures !== 'object') {
|
|
68
|
-
options.ecmaFeatures = {};
|
|
69
|
-
}
|
|
70
|
-
const parserOptions = {};
|
|
71
|
-
Object.assign(parserOptions, options, {
|
|
72
|
-
jsx: validateBoolean(options.ecmaFeatures.jsx),
|
|
73
|
-
});
|
|
74
|
-
const analyzeOptions = {
|
|
75
|
-
ecmaVersion: options.ecmaVersion === 'latest' ? 1e8 : options.ecmaVersion,
|
|
76
|
-
globalReturn: options.ecmaFeatures.globalReturn,
|
|
77
|
-
jsxPragma: options.jsxPragma,
|
|
78
|
-
jsxFragmentName: options.jsxFragmentName,
|
|
79
|
-
lib: options.lib,
|
|
80
|
-
sourceType: options.sourceType,
|
|
81
|
-
};
|
|
82
|
-
/**
|
|
83
|
-
* Allow the user to suppress the warning from typescript-estree if they are using an unsupported
|
|
84
|
-
* version of TypeScript
|
|
85
|
-
*/
|
|
86
|
-
const warnOnUnsupportedTypeScriptVersion = validateBoolean(options.warnOnUnsupportedTypeScriptVersion, true);
|
|
87
|
-
if (!warnOnUnsupportedTypeScriptVersion) {
|
|
88
|
-
parserOptions.loggerFn = false;
|
|
89
|
-
}
|
|
90
|
-
const { ast, services } = (0, typescript_estree_1.parseAndGenerateServices)(code, parserOptions);
|
|
91
|
-
ast.sourceType = options.sourceType;
|
|
92
|
-
let emitDecoratorMetadata = options.emitDecoratorMetadata === true;
|
|
93
|
-
if (services.hasFullTypeInformation) {
|
|
94
|
-
// automatically apply the options configured for the program
|
|
95
|
-
const compilerOptions = services.program.getCompilerOptions();
|
|
96
|
-
if (analyzeOptions.lib == null) {
|
|
97
|
-
analyzeOptions.lib = getLib(compilerOptions);
|
|
98
|
-
log('Resolved libs from program: %o', analyzeOptions.lib);
|
|
99
|
-
}
|
|
100
|
-
if (parserOptions.jsx === true) {
|
|
101
|
-
if (analyzeOptions.jsxPragma === undefined &&
|
|
102
|
-
compilerOptions.jsxFactory != null) {
|
|
103
|
-
// in case the user has specified something like "preact.h"
|
|
104
|
-
const factory = compilerOptions.jsxFactory.split('.')[0].trim();
|
|
105
|
-
analyzeOptions.jsxPragma = factory;
|
|
106
|
-
log('Resolved jsxPragma from program: %s', analyzeOptions.jsxPragma);
|
|
107
|
-
}
|
|
108
|
-
if (analyzeOptions.jsxFragmentName === undefined &&
|
|
109
|
-
compilerOptions.jsxFragmentFactory != null) {
|
|
110
|
-
// in case the user has specified something like "preact.Fragment"
|
|
111
|
-
const fragFactory = compilerOptions.jsxFragmentFactory
|
|
112
|
-
.split('.')[0]
|
|
113
|
-
.trim();
|
|
114
|
-
analyzeOptions.jsxFragmentName = fragFactory;
|
|
115
|
-
log('Resolved jsxFragmentName from program: %s', analyzeOptions.jsxFragmentName);
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
if (compilerOptions.emitDecoratorMetadata === true) {
|
|
119
|
-
emitDecoratorMetadata = true;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
if (emitDecoratorMetadata) {
|
|
123
|
-
analyzeOptions.emitDecoratorMetadata = true;
|
|
124
|
-
}
|
|
125
|
-
const scopeManager = (0, scope_manager_1.analyze)(ast, analyzeOptions);
|
|
126
|
-
return { ast, services, scopeManager, visitorKeys: typescript_estree_1.visitorKeys };
|
|
127
|
-
}
|
|
128
|
-
exports.parseForESLint = parseForESLint;
|
|
129
|
-
//# sourceMappingURL=parser.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parser.js","sourceRoot":"","sources":["../src/parser.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@typescript-eslint/parser",
|
|
3
|
-
"version": "5.33.1",
|
|
4
|
-
"description": "An ESLint custom parser which leverages TypeScript ESTree",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"types": "dist/index.d.ts",
|
|
7
|
-
"files": [
|
|
8
|
-
"dist",
|
|
9
|
-
"_ts3.4",
|
|
10
|
-
"README.md",
|
|
11
|
-
"LICENSE"
|
|
12
|
-
],
|
|
13
|
-
"engines": {
|
|
14
|
-
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
|
15
|
-
},
|
|
16
|
-
"repository": {
|
|
17
|
-
"type": "git",
|
|
18
|
-
"url": "https://github.com/typescript-eslint/typescript-eslint.git",
|
|
19
|
-
"directory": "packages/parser"
|
|
20
|
-
},
|
|
21
|
-
"bugs": {
|
|
22
|
-
"url": "https://github.com/typescript-eslint/typescript-eslint/issues"
|
|
23
|
-
},
|
|
24
|
-
"license": "BSD-2-Clause",
|
|
25
|
-
"keywords": [
|
|
26
|
-
"ast",
|
|
27
|
-
"ecmascript",
|
|
28
|
-
"javascript",
|
|
29
|
-
"typescript",
|
|
30
|
-
"parser",
|
|
31
|
-
"syntax",
|
|
32
|
-
"eslint"
|
|
33
|
-
],
|
|
34
|
-
"scripts": {
|
|
35
|
-
"build": "tsc -b tsconfig.build.json",
|
|
36
|
-
"postbuild": "downlevel-dts dist _ts3.4/dist",
|
|
37
|
-
"clean": "tsc -b tsconfig.build.json --clean",
|
|
38
|
-
"postclean": "rimraf dist && rimraf _ts3.4 && rimraf coverage",
|
|
39
|
-
"format": "prettier --write \"./**/*.{ts,mts,cts,tsx,js,mjs,cjs,jsx,json,md,css}\" --ignore-path ../../.prettierignore",
|
|
40
|
-
"lint": "eslint . --ignore-path='../../.eslintignore'",
|
|
41
|
-
"test": "jest --coverage",
|
|
42
|
-
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
43
|
-
},
|
|
44
|
-
"peerDependencies": {
|
|
45
|
-
"eslint": "^6.0.0 || ^7.0.0 || ^8.0.0"
|
|
46
|
-
},
|
|
47
|
-
"dependencies": {
|
|
48
|
-
"@typescript-eslint/scope-manager": "5.33.1",
|
|
49
|
-
"@typescript-eslint/types": "5.33.1",
|
|
50
|
-
"@typescript-eslint/typescript-estree": "5.33.1",
|
|
51
|
-
"debug": "^4.3.4"
|
|
52
|
-
},
|
|
53
|
-
"devDependencies": {
|
|
54
|
-
"@types/glob": "*",
|
|
55
|
-
"glob": "*",
|
|
56
|
-
"typescript": "*"
|
|
57
|
-
},
|
|
58
|
-
"peerDependenciesMeta": {
|
|
59
|
-
"typescript": {
|
|
60
|
-
"optional": true
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
"funding": {
|
|
64
|
-
"type": "opencollective",
|
|
65
|
-
"url": "https://opencollective.com/typescript-eslint"
|
|
66
|
-
},
|
|
67
|
-
"typesVersions": {
|
|
68
|
-
"<3.8": {
|
|
69
|
-
"*": [
|
|
70
|
-
"_ts3.4/*"
|
|
71
|
-
]
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
"gitHead": "a7672241cbb77af15c5c42d25ad90170928fc54c"
|
|
75
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2019 TypeScript ESLint and other contributors
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
<h1 align="center">TypeScript Scope Manager</h1>
|
|
2
|
-
|
|
3
|
-
<p align="center">
|
|
4
|
-
<img src="https://github.com/typescript-eslint/typescript-eslint/workflows/CI/badge.svg" alt="CI" />
|
|
5
|
-
<a href="https://www.npmjs.com/package/@typescript-eslint/scope-manager"><img src="https://img.shields.io/npm/v/@typescript-eslint/scope-manager.svg?style=flat-square" alt="NPM Version" /></a>
|
|
6
|
-
<a href="https://www.npmjs.com/package/@typescript-eslint/scope-manager"><img src="https://img.shields.io/npm/dm/@typescript-eslint/scope-manager.svg?style=flat-square" alt="NPM Downloads" /></a>
|
|
7
|
-
</p>
|
|
8
|
-
|
|
9
|
-
This is a fork of [`eslint-scope`](https://github.com/eslint/eslint-scope), enhanced to support TypeScript functionality.
|
|
10
|
-
[You can view the original license for the code here](https://github.com/eslint/eslint-scope/blob/dbddf14d5771b21b5da704213e4508c660ca1c64/LICENSE).
|
|
11
|
-
|
|
12
|
-
This package is consumed automatically by [`@typescript-eslint/parser`](../parser).
|
|
13
|
-
You probably don't want to use it directly.
|
|
14
|
-
|
|
15
|
-
## Getting Started
|
|
16
|
-
|
|
17
|
-
**[You can find our Getting Started docs here](https://typescript-eslint.io/docs/linting)**
|
|
18
|
-
|
|
19
|
-
## Installation
|
|
20
|
-
|
|
21
|
-
```bash
|
|
22
|
-
$ yarn add -D typescript @typescript-eslint/scope-manager
|
|
23
|
-
$ npm i --save-dev typescript @typescript-eslint/scope-manager
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
## API
|
|
27
|
-
|
|
28
|
-
### `analyze(tree, options)`
|
|
29
|
-
|
|
30
|
-
Analyses a given AST and returns the resulting `ScopeManager`.
|
|
31
|
-
|
|
32
|
-
```ts
|
|
33
|
-
interface AnalyzeOptions {
|
|
34
|
-
/**
|
|
35
|
-
* Known visitor keys.
|
|
36
|
-
*/
|
|
37
|
-
childVisitorKeys?: Record<string, string[]> | null;
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Which ECMAScript version is considered.
|
|
41
|
-
* Defaults to `2018`.
|
|
42
|
-
* `'latest'` is converted to 1e8 at parser.
|
|
43
|
-
*/
|
|
44
|
-
ecmaVersion?: EcmaVersion | 1e8;
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* Whether the whole script is executed under node.js environment.
|
|
48
|
-
* When enabled, the scope manager adds a function scope immediately following the global scope.
|
|
49
|
-
* Defaults to `false`.
|
|
50
|
-
*/
|
|
51
|
-
globalReturn?: boolean;
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* Implied strict mode (if ecmaVersion >= 5).
|
|
55
|
-
* Defaults to `false`.
|
|
56
|
-
*/
|
|
57
|
-
impliedStrict?: boolean;
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* The identifier that's used for JSX Element creation (after transpilation).
|
|
61
|
-
* This should not be a member expression - just the root identifier (i.e. use "React" instead of "React.createElement").
|
|
62
|
-
* Defaults to `"React"`.
|
|
63
|
-
*/
|
|
64
|
-
jsxPragma?: string;
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* The identifier that's used for JSX fragment elements (after transpilation).
|
|
68
|
-
* If `null`, assumes transpilation will always use a member on `jsxFactory` (i.e. React.Fragment).
|
|
69
|
-
* This should not be a member expression - just the root identifier (i.e. use "h" instead of "h.Fragment").
|
|
70
|
-
* Defaults to `null`.
|
|
71
|
-
*/
|
|
72
|
-
jsxFragmentName?: string | null;
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* The lib used by the project.
|
|
76
|
-
* This automatically defines a type variable for any types provided by the configured TS libs.
|
|
77
|
-
* For more information, see https://www.typescriptlang.org/tsconfig#lib
|
|
78
|
-
*
|
|
79
|
-
* Defaults to the lib for the provided `ecmaVersion`.
|
|
80
|
-
*/
|
|
81
|
-
lib?: Lib[];
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* The source type of the script.
|
|
85
|
-
*/
|
|
86
|
-
sourceType?: 'script' | 'module';
|
|
87
|
-
|
|
88
|
-
/**
|
|
89
|
-
* Emit design-type metadata for decorated declarations in source.
|
|
90
|
-
* Defaults to `false`.
|
|
91
|
-
*/
|
|
92
|
-
emitDecoratorMetadata?: boolean;
|
|
93
|
-
}
|
|
94
|
-
```
|
|
95
|
-
|
|
96
|
-
Example usage:
|
|
97
|
-
|
|
98
|
-
```ts
|
|
99
|
-
import { analyze } from '@typescript-eslint/scope-manager';
|
|
100
|
-
import { parse } from '@typescript-eslint/typescript-estree';
|
|
101
|
-
|
|
102
|
-
const code = `const hello: string = 'world';`;
|
|
103
|
-
const ast = parse(code, {
|
|
104
|
-
// note that scope-manager requires ranges on the AST
|
|
105
|
-
range: true,
|
|
106
|
-
});
|
|
107
|
-
const scope = analyze(ast, {
|
|
108
|
-
ecmaVersion: 2020,
|
|
109
|
-
sourceType: 'module',
|
|
110
|
-
});
|
|
111
|
-
```
|
|
112
|
-
|
|
113
|
-
## References
|
|
114
|
-
|
|
115
|
-
- https://eslint.org/docs/developer-guide/scope-manager-interface
|
|
116
|
-
- https://github.com/eslint/eslint-scope
|
|
117
|
-
|
|
118
|
-
## Contributing
|
|
119
|
-
|
|
120
|
-
[See the contributing guide here](../../CONTRIBUTING.md)
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ID.d.ts","sourceRoot":"","sources":["../src/ID.ts"],"names":[],"mappings":"AAGA,iBAAS,iBAAiB,IAAI,MAAM,MAAM,CAUzC;AAED,iBAAS,QAAQ,IAAI,IAAI,CAExB;AAED,OAAO,EAAE,iBAAiB,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resetIds = exports.createIdGenerator = void 0;
|
|
4
|
-
const ID_CACHE = new Map();
|
|
5
|
-
let NEXT_KEY = 0;
|
|
6
|
-
function createIdGenerator() {
|
|
7
|
-
const key = (NEXT_KEY += 1);
|
|
8
|
-
ID_CACHE.set(key, 0);
|
|
9
|
-
return () => {
|
|
10
|
-
var _a;
|
|
11
|
-
const current = (_a = ID_CACHE.get(key)) !== null && _a !== void 0 ? _a : 0;
|
|
12
|
-
const next = current + 1;
|
|
13
|
-
ID_CACHE.set(key, next);
|
|
14
|
-
return next;
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
exports.createIdGenerator = createIdGenerator;
|
|
18
|
-
function resetIds() {
|
|
19
|
-
ID_CACHE.clear();
|
|
20
|
-
}
|
|
21
|
-
exports.resetIds = resetIds;
|
|
22
|
-
//# sourceMappingURL=ID.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ID.js","sourceRoot":"","sources":["../src/ID.ts"],"names":[],"mappings":";;;AAAA,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAkB,CAAC;AAC3C,IAAI,QAAQ,GAAG,CAAC,CAAC;AAEjB,SAAS,iBAAiB;IACxB,MAAM,GAAG,GAAG,CAAC,QAAQ,IAAI,CAAC,CAAC,CAAC;IAC5B,QAAQ,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;IAErB,OAAO,GAAW,EAAE;;QAClB,MAAM,OAAO,GAAG,MAAA,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,mCAAI,CAAC,CAAC;QACvC,MAAM,IAAI,GAAG,OAAO,GAAG,CAAC,CAAC;QACzB,QAAQ,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;QACxB,OAAO,IAAI,CAAC;IACd,CAAC,CAAC;AACJ,CAAC;AAMQ,8CAAiB;AAJ1B,SAAS,QAAQ;IACf,QAAQ,CAAC,KAAK,EAAE,CAAC;AACnB,CAAC;AAE2B,4BAAQ"}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { TSESTree } from '@typescript-eslint/types';
|
|
2
|
-
import { BlockScope, CatchScope, ClassScope, ConditionalTypeScope, ForScope, FunctionExpressionNameScope, FunctionScope, FunctionTypeScope, GlobalScope, MappedTypeScope, ModuleScope, Scope, SwitchScope, TSEnumScope, TSModuleScope, TypeScope, WithScope } from './scope';
|
|
3
|
-
import { ClassFieldInitializerScope } from './scope/ClassFieldInitializerScope';
|
|
4
|
-
import { ClassStaticBlockScope } from './scope/ClassStaticBlockScope';
|
|
5
|
-
import { Variable } from './variable';
|
|
6
|
-
interface ScopeManagerOptions {
|
|
7
|
-
globalReturn?: boolean;
|
|
8
|
-
sourceType?: 'module' | 'script';
|
|
9
|
-
impliedStrict?: boolean;
|
|
10
|
-
ecmaVersion?: number;
|
|
11
|
-
}
|
|
12
|
-
declare class ScopeManager {
|
|
13
|
-
#private;
|
|
14
|
-
currentScope: Scope | null;
|
|
15
|
-
readonly declaredVariables: WeakMap<TSESTree.Node, Variable[]>;
|
|
16
|
-
/**
|
|
17
|
-
* The root scope
|
|
18
|
-
* @public
|
|
19
|
-
*/
|
|
20
|
-
globalScope: GlobalScope | null;
|
|
21
|
-
readonly nodeToScope: WeakMap<TSESTree.Node, Scope[]>;
|
|
22
|
-
/**
|
|
23
|
-
* All scopes
|
|
24
|
-
* @public
|
|
25
|
-
*/
|
|
26
|
-
readonly scopes: Scope[];
|
|
27
|
-
get variables(): Variable[];
|
|
28
|
-
constructor(options: ScopeManagerOptions);
|
|
29
|
-
isGlobalReturn(): boolean;
|
|
30
|
-
isModule(): boolean;
|
|
31
|
-
isImpliedStrict(): boolean;
|
|
32
|
-
isStrictModeSupported(): boolean;
|
|
33
|
-
isES6(): boolean;
|
|
34
|
-
/**
|
|
35
|
-
* Get the variables that a given AST node defines. The gotten variables' `def[].node`/`def[].parent` property is the node.
|
|
36
|
-
* If the node does not define any variable, this returns an empty array.
|
|
37
|
-
* @param node An AST node to get their variables.
|
|
38
|
-
* @public
|
|
39
|
-
*/
|
|
40
|
-
getDeclaredVariables(node: TSESTree.Node): Variable[];
|
|
41
|
-
/**
|
|
42
|
-
* Get the scope of a given AST node. The gotten scope's `block` property is the node.
|
|
43
|
-
* This method never returns `function-expression-name` scope. If the node does not have their scope, this returns `null`.
|
|
44
|
-
*
|
|
45
|
-
* @param node An AST node to get their scope.
|
|
46
|
-
* @param inner If the node has multiple scopes, this returns the outermost scope normally.
|
|
47
|
-
* If `inner` is `true` then this returns the innermost scope.
|
|
48
|
-
* @public
|
|
49
|
-
*/
|
|
50
|
-
acquire(node: TSESTree.Node, inner?: boolean): Scope | null;
|
|
51
|
-
protected nestScope<T extends Scope>(scope: T): T;
|
|
52
|
-
nestBlockScope(node: BlockScope['block']): BlockScope;
|
|
53
|
-
nestCatchScope(node: CatchScope['block']): CatchScope;
|
|
54
|
-
nestClassScope(node: ClassScope['block']): ClassScope;
|
|
55
|
-
nestClassFieldInitializerScope(node: ClassFieldInitializerScope['block']): ClassFieldInitializerScope;
|
|
56
|
-
nestClassStaticBlockScope(node: ClassStaticBlockScope['block']): ClassStaticBlockScope;
|
|
57
|
-
nestConditionalTypeScope(node: ConditionalTypeScope['block']): ConditionalTypeScope;
|
|
58
|
-
nestForScope(node: ForScope['block']): ForScope;
|
|
59
|
-
nestFunctionExpressionNameScope(node: FunctionExpressionNameScope['block']): FunctionExpressionNameScope;
|
|
60
|
-
nestFunctionScope(node: FunctionScope['block'], isMethodDefinition: boolean): FunctionScope;
|
|
61
|
-
nestFunctionTypeScope(node: FunctionTypeScope['block']): FunctionTypeScope;
|
|
62
|
-
nestGlobalScope(node: GlobalScope['block']): GlobalScope;
|
|
63
|
-
nestMappedTypeScope(node: MappedTypeScope['block']): MappedTypeScope;
|
|
64
|
-
nestModuleScope(node: ModuleScope['block']): ModuleScope;
|
|
65
|
-
nestSwitchScope(node: SwitchScope['block']): SwitchScope;
|
|
66
|
-
nestTSEnumScope(node: TSEnumScope['block']): TSEnumScope;
|
|
67
|
-
nestTSModuleScope(node: TSModuleScope['block']): TSModuleScope;
|
|
68
|
-
nestTypeScope(node: TypeScope['block']): TypeScope;
|
|
69
|
-
nestWithScope(node: WithScope['block']): WithScope;
|
|
70
|
-
}
|
|
71
|
-
export { ScopeManager };
|
|
72
|
-
//# sourceMappingURL=ScopeManager.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ScopeManager.d.ts","sourceRoot":"","sources":["../src/ScopeManager.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,183 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
3
|
-
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
4
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
5
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
6
|
-
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
7
|
-
};
|
|
8
|
-
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
9
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
10
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
11
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
12
|
-
};
|
|
13
|
-
var _ScopeManager_options;
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.ScopeManager = void 0;
|
|
16
|
-
const assert_1 = require("./assert");
|
|
17
|
-
const scope_1 = require("./scope");
|
|
18
|
-
const ClassFieldInitializerScope_1 = require("./scope/ClassFieldInitializerScope");
|
|
19
|
-
const ClassStaticBlockScope_1 = require("./scope/ClassStaticBlockScope");
|
|
20
|
-
class ScopeManager {
|
|
21
|
-
constructor(options) {
|
|
22
|
-
_ScopeManager_options.set(this, void 0);
|
|
23
|
-
this.scopes = [];
|
|
24
|
-
this.globalScope = null;
|
|
25
|
-
this.nodeToScope = new WeakMap();
|
|
26
|
-
this.currentScope = null;
|
|
27
|
-
__classPrivateFieldSet(this, _ScopeManager_options, options, "f");
|
|
28
|
-
this.declaredVariables = new WeakMap();
|
|
29
|
-
}
|
|
30
|
-
get variables() {
|
|
31
|
-
const variables = new Set();
|
|
32
|
-
function recurse(scope) {
|
|
33
|
-
scope.variables.forEach(v => variables.add(v));
|
|
34
|
-
scope.childScopes.forEach(recurse);
|
|
35
|
-
}
|
|
36
|
-
this.scopes.forEach(recurse);
|
|
37
|
-
return Array.from(variables).sort((a, b) => a.$id - b.$id);
|
|
38
|
-
}
|
|
39
|
-
isGlobalReturn() {
|
|
40
|
-
return __classPrivateFieldGet(this, _ScopeManager_options, "f").globalReturn === true;
|
|
41
|
-
}
|
|
42
|
-
isModule() {
|
|
43
|
-
return __classPrivateFieldGet(this, _ScopeManager_options, "f").sourceType === 'module';
|
|
44
|
-
}
|
|
45
|
-
isImpliedStrict() {
|
|
46
|
-
return __classPrivateFieldGet(this, _ScopeManager_options, "f").impliedStrict === true;
|
|
47
|
-
}
|
|
48
|
-
isStrictModeSupported() {
|
|
49
|
-
return __classPrivateFieldGet(this, _ScopeManager_options, "f").ecmaVersion != null && __classPrivateFieldGet(this, _ScopeManager_options, "f").ecmaVersion >= 5;
|
|
50
|
-
}
|
|
51
|
-
isES6() {
|
|
52
|
-
return __classPrivateFieldGet(this, _ScopeManager_options, "f").ecmaVersion != null && __classPrivateFieldGet(this, _ScopeManager_options, "f").ecmaVersion >= 6;
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* Get the variables that a given AST node defines. The gotten variables' `def[].node`/`def[].parent` property is the node.
|
|
56
|
-
* If the node does not define any variable, this returns an empty array.
|
|
57
|
-
* @param node An AST node to get their variables.
|
|
58
|
-
* @public
|
|
59
|
-
*/
|
|
60
|
-
getDeclaredVariables(node) {
|
|
61
|
-
var _a;
|
|
62
|
-
return (_a = this.declaredVariables.get(node)) !== null && _a !== void 0 ? _a : [];
|
|
63
|
-
}
|
|
64
|
-
/**
|
|
65
|
-
* Get the scope of a given AST node. The gotten scope's `block` property is the node.
|
|
66
|
-
* This method never returns `function-expression-name` scope. If the node does not have their scope, this returns `null`.
|
|
67
|
-
*
|
|
68
|
-
* @param node An AST node to get their scope.
|
|
69
|
-
* @param inner If the node has multiple scopes, this returns the outermost scope normally.
|
|
70
|
-
* If `inner` is `true` then this returns the innermost scope.
|
|
71
|
-
* @public
|
|
72
|
-
*/
|
|
73
|
-
acquire(node, inner = false) {
|
|
74
|
-
var _a;
|
|
75
|
-
function predicate(testScope) {
|
|
76
|
-
if (testScope.type === 'function' && testScope.functionExpressionScope) {
|
|
77
|
-
return false;
|
|
78
|
-
}
|
|
79
|
-
return true;
|
|
80
|
-
}
|
|
81
|
-
const scopes = this.nodeToScope.get(node);
|
|
82
|
-
if (!scopes || scopes.length === 0) {
|
|
83
|
-
return null;
|
|
84
|
-
}
|
|
85
|
-
// Heuristic selection from all scopes.
|
|
86
|
-
// If you would like to get all scopes, please use ScopeManager#acquireAll.
|
|
87
|
-
if (scopes.length === 1) {
|
|
88
|
-
return scopes[0];
|
|
89
|
-
}
|
|
90
|
-
if (inner) {
|
|
91
|
-
for (let i = scopes.length - 1; i >= 0; --i) {
|
|
92
|
-
const scope = scopes[i];
|
|
93
|
-
if (predicate(scope)) {
|
|
94
|
-
return scope;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
return null;
|
|
98
|
-
}
|
|
99
|
-
return (_a = scopes.find(predicate)) !== null && _a !== void 0 ? _a : null;
|
|
100
|
-
}
|
|
101
|
-
nestScope(scope) {
|
|
102
|
-
if (scope instanceof scope_1.GlobalScope) {
|
|
103
|
-
(0, assert_1.assert)(this.currentScope === null);
|
|
104
|
-
this.globalScope = scope;
|
|
105
|
-
}
|
|
106
|
-
this.currentScope = scope;
|
|
107
|
-
return scope;
|
|
108
|
-
}
|
|
109
|
-
nestBlockScope(node) {
|
|
110
|
-
(0, assert_1.assert)(this.currentScope);
|
|
111
|
-
return this.nestScope(new scope_1.BlockScope(this, this.currentScope, node));
|
|
112
|
-
}
|
|
113
|
-
nestCatchScope(node) {
|
|
114
|
-
(0, assert_1.assert)(this.currentScope);
|
|
115
|
-
return this.nestScope(new scope_1.CatchScope(this, this.currentScope, node));
|
|
116
|
-
}
|
|
117
|
-
nestClassScope(node) {
|
|
118
|
-
(0, assert_1.assert)(this.currentScope);
|
|
119
|
-
return this.nestScope(new scope_1.ClassScope(this, this.currentScope, node));
|
|
120
|
-
}
|
|
121
|
-
nestClassFieldInitializerScope(node) {
|
|
122
|
-
(0, assert_1.assert)(this.currentScope);
|
|
123
|
-
return this.nestScope(new ClassFieldInitializerScope_1.ClassFieldInitializerScope(this, this.currentScope, node));
|
|
124
|
-
}
|
|
125
|
-
nestClassStaticBlockScope(node) {
|
|
126
|
-
(0, assert_1.assert)(this.currentScope);
|
|
127
|
-
return this.nestScope(new ClassStaticBlockScope_1.ClassStaticBlockScope(this, this.currentScope, node));
|
|
128
|
-
}
|
|
129
|
-
nestConditionalTypeScope(node) {
|
|
130
|
-
(0, assert_1.assert)(this.currentScope);
|
|
131
|
-
return this.nestScope(new scope_1.ConditionalTypeScope(this, this.currentScope, node));
|
|
132
|
-
}
|
|
133
|
-
nestForScope(node) {
|
|
134
|
-
(0, assert_1.assert)(this.currentScope);
|
|
135
|
-
return this.nestScope(new scope_1.ForScope(this, this.currentScope, node));
|
|
136
|
-
}
|
|
137
|
-
nestFunctionExpressionNameScope(node) {
|
|
138
|
-
(0, assert_1.assert)(this.currentScope);
|
|
139
|
-
return this.nestScope(new scope_1.FunctionExpressionNameScope(this, this.currentScope, node));
|
|
140
|
-
}
|
|
141
|
-
nestFunctionScope(node, isMethodDefinition) {
|
|
142
|
-
(0, assert_1.assert)(this.currentScope);
|
|
143
|
-
return this.nestScope(new scope_1.FunctionScope(this, this.currentScope, node, isMethodDefinition));
|
|
144
|
-
}
|
|
145
|
-
nestFunctionTypeScope(node) {
|
|
146
|
-
(0, assert_1.assert)(this.currentScope);
|
|
147
|
-
return this.nestScope(new scope_1.FunctionTypeScope(this, this.currentScope, node));
|
|
148
|
-
}
|
|
149
|
-
nestGlobalScope(node) {
|
|
150
|
-
return this.nestScope(new scope_1.GlobalScope(this, node));
|
|
151
|
-
}
|
|
152
|
-
nestMappedTypeScope(node) {
|
|
153
|
-
(0, assert_1.assert)(this.currentScope);
|
|
154
|
-
return this.nestScope(new scope_1.MappedTypeScope(this, this.currentScope, node));
|
|
155
|
-
}
|
|
156
|
-
nestModuleScope(node) {
|
|
157
|
-
(0, assert_1.assert)(this.currentScope);
|
|
158
|
-
return this.nestScope(new scope_1.ModuleScope(this, this.currentScope, node));
|
|
159
|
-
}
|
|
160
|
-
nestSwitchScope(node) {
|
|
161
|
-
(0, assert_1.assert)(this.currentScope);
|
|
162
|
-
return this.nestScope(new scope_1.SwitchScope(this, this.currentScope, node));
|
|
163
|
-
}
|
|
164
|
-
nestTSEnumScope(node) {
|
|
165
|
-
(0, assert_1.assert)(this.currentScope);
|
|
166
|
-
return this.nestScope(new scope_1.TSEnumScope(this, this.currentScope, node));
|
|
167
|
-
}
|
|
168
|
-
nestTSModuleScope(node) {
|
|
169
|
-
(0, assert_1.assert)(this.currentScope);
|
|
170
|
-
return this.nestScope(new scope_1.TSModuleScope(this, this.currentScope, node));
|
|
171
|
-
}
|
|
172
|
-
nestTypeScope(node) {
|
|
173
|
-
(0, assert_1.assert)(this.currentScope);
|
|
174
|
-
return this.nestScope(new scope_1.TypeScope(this, this.currentScope, node));
|
|
175
|
-
}
|
|
176
|
-
nestWithScope(node) {
|
|
177
|
-
(0, assert_1.assert)(this.currentScope);
|
|
178
|
-
return this.nestScope(new scope_1.WithScope(this, this.currentScope, node));
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
exports.ScopeManager = ScopeManager;
|
|
182
|
-
_ScopeManager_options = new WeakMap();
|
|
183
|
-
//# sourceMappingURL=ScopeManager.js.map
|