@eslint-react/jsx 0.8.6-beta.1 → 0.8.6-beta.3
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/node_modules/@eslint-react/ast/dist/index.cjs +958 -0
- package/node_modules/@eslint-react/ast/dist/index.d.mts +1185 -0
- package/node_modules/@eslint-react/ast/dist/index.d.ts +1185 -0
- package/node_modules/@eslint-react/ast/dist/index.js +958 -0
- package/node_modules/@eslint-react/ast/dist/index.mjs +878 -0
- package/node_modules/@eslint-react/ast/package.json +52 -0
- package/node_modules/@eslint-react/tools/dist/index.cjs +9195 -0
- package/node_modules/@eslint-react/tools/dist/index.d.mts +173 -0
- package/node_modules/@eslint-react/tools/dist/index.d.ts +173 -0
- package/node_modules/@eslint-react/tools/dist/index.js +9195 -0
- package/node_modules/@eslint-react/tools/dist/index.mjs +9174 -0
- package/node_modules/@eslint-react/tools/package.json +46 -0
- package/node_modules/@eslint-react/types/dist/index.cjs +2 -0
- package/node_modules/@eslint-react/types/dist/index.d.mts +65 -0
- package/node_modules/@eslint-react/types/dist/index.d.ts +65 -0
- package/node_modules/@eslint-react/types/dist/index.js +2 -0
- package/node_modules/@eslint-react/types/dist/index.mjs +1 -0
- package/node_modules/@eslint-react/types/package.json +49 -0
- package/node_modules/@typescript-eslint/scope-manager/LICENSE +21 -0
- package/node_modules/@typescript-eslint/scope-manager/README.md +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts +4 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/ID.js +21 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/ID.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts +75 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js +185 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts +56 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/analyze.js +42 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/analyze.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/assert.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/assert.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.js +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.d.ts +39 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.js +19 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.d.ts +15 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.js +18 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.d.ts +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.js +15 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.d.ts +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.js +30 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/index.d.ts +9 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/index.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/index.js +31 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/index.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.d.ts +16 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.js +23 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.js +23 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.legacy.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.legacy.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.legacy.js +15 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.legacy.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js +75 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js +1436 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.js +21 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.js +23 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.js +16 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.js +55 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.js +30 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.js +13 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js +46 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.js +22 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.js +20 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.date.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.date.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.date.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.date.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.js +20 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js +24 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.js +19 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.js +20 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.js +16 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.js +19 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.js +20 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.js +22 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.js +20 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.intl.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.intl.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.intl.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.intl.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.js +22 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.js +22 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.js +20 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js +28 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.js +15 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.js +17 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.js +20 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js +20 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js +15 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.js +24 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js +21 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.js +20 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js +26 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.regexp.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.regexp.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.regexp.js +15 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.regexp.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.array.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.array.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.array.js +24 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.array.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.collection.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.collection.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.collection.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.collection.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.full.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.full.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.full.js +20 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.full.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.js +16 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.js +116 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.js +30 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.js +24 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.js +19 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.js +22 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.collection.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.collection.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.collection.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.collection.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.decorators.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.decorators.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.decorators.js +17 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.decorators.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.disposable.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.disposable.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.disposable.js +22 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.disposable.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.js +20 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js +18 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js +15 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts +93 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js +189 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.js +18 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.js +24 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.js +9 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.js +34 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js +589 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts +29 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js +321 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts +15 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js +84 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.js +50 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts +29 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js +108 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts +89 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js +107 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts +86 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js +539 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts +33 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js +229 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts +13 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js +41 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts +22 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.js +80 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.js +6 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.js +17 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts +13 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.js +36 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts +18 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.js +39 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts +21 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.js +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts +107 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js +358 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.d.ts +22 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.js +25 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js +22 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.d.ts +20 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.js +36 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts +34 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts +25 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.js +19 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts +18 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.js +33 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts +44 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.js +39 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/index.d.ts +4 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/index.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/index.js +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/index.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/package.json +72 -0
- package/node_modules/@typescript-eslint/types/LICENSE +21 -0
- package/node_modules/@typescript-eslint/types/README.md +12 -0
- package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts +1881 -0
- package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js +202 -0
- package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js.map +1 -0
- package/node_modules/@typescript-eslint/types/dist/index.d.ts +5 -0
- package/node_modules/@typescript-eslint/types/dist/index.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/types/dist/index.js +24 -0
- package/node_modules/@typescript-eslint/types/dist/index.js.map +1 -0
- package/node_modules/@typescript-eslint/types/dist/lib.d.ts +3 -0
- package/node_modules/@typescript-eslint/types/dist/lib.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/types/dist/lib.js +7 -0
- package/node_modules/@typescript-eslint/types/dist/lib.js.map +1 -0
- package/node_modules/@typescript-eslint/types/dist/parser-options.d.ts +40 -0
- package/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/types/dist/parser-options.js +3 -0
- package/node_modules/@typescript-eslint/types/dist/parser-options.js.map +1 -0
- package/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts +14 -0
- package/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/types/dist/ts-estree.js +28 -0
- package/node_modules/@typescript-eslint/types/dist/ts-estree.js.map +1 -0
- package/node_modules/@typescript-eslint/types/package.json +94 -0
- package/node_modules/micro-memoize/CHANGELOG.md +226 -0
- package/{LICENSE → node_modules/micro-memoize/LICENSE} +1 -1
- package/node_modules/micro-memoize/README.md +557 -0
- package/node_modules/micro-memoize/dist/micro-memoize.cjs.js +373 -0
- package/node_modules/micro-memoize/dist/micro-memoize.cjs.js.map +1 -0
- package/node_modules/micro-memoize/dist/micro-memoize.esm.js +371 -0
- package/node_modules/micro-memoize/dist/micro-memoize.esm.js.map +1 -0
- package/node_modules/micro-memoize/dist/micro-memoize.js +379 -0
- package/node_modules/micro-memoize/dist/micro-memoize.js.map +1 -0
- package/node_modules/micro-memoize/dist/micro-memoize.min.js +1 -0
- package/node_modules/micro-memoize/index.d.ts +132 -0
- package/node_modules/micro-memoize/mjs/index.d.mts +132 -0
- package/node_modules/micro-memoize/mjs/index.mjs +371 -0
- package/node_modules/micro-memoize/mjs/index.mjs.map +1 -0
- package/node_modules/micro-memoize/package.json +106 -0
- package/package.json +13 -7
|
@@ -0,0 +1,557 @@
|
|
|
1
|
+
# micro-memoize
|
|
2
|
+
|
|
3
|
+
A tiny, crazy [fast](#benchmarks) memoization library for the 95% use-case
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
- [micro-memoize](#micro-memoize)
|
|
8
|
+
- [Table of contents](#table-of-contents)
|
|
9
|
+
- [Summary](#summary)
|
|
10
|
+
- [Importing](#importing)
|
|
11
|
+
- [Usage](#usage)
|
|
12
|
+
- [Types](#types)
|
|
13
|
+
- [Composition](#composition)
|
|
14
|
+
- [Options](#options)
|
|
15
|
+
- [isEqual](#isequal)
|
|
16
|
+
- [isMatchingKey](#ismatchingkey)
|
|
17
|
+
- [isPromise](#ispromise)
|
|
18
|
+
- [maxSize](#maxsize)
|
|
19
|
+
- [onCacheAdd](#oncacheadd)
|
|
20
|
+
- [onCacheChange](#oncachechange)
|
|
21
|
+
- [onCacheHit](#oncachehit)
|
|
22
|
+
- [transformKey](#transformkey)
|
|
23
|
+
- [Additional properties](#additional-properties)
|
|
24
|
+
- [memoized.cache](#memoizedcache)
|
|
25
|
+
- [memoized.cache.snapshot](#memoizedcachesnapshot)
|
|
26
|
+
- [memoized.fn](#memoizedfn)
|
|
27
|
+
- [memoized.isMemoized](#memoizedismemoized)
|
|
28
|
+
- [memoized.options](#memoizedoptions)
|
|
29
|
+
- [Benchmarks](#benchmarks)
|
|
30
|
+
- [Single parameter (primitive only)](#single-parameter-primitive-only)
|
|
31
|
+
- [Single parameter (complex object)](#single-parameter-complex-object)
|
|
32
|
+
- [Multiple parameters (primitives only)](#multiple-parameters-primitives-only)
|
|
33
|
+
- [Multiple parameters (complex objects)](#multiple-parameters-complex-objects)
|
|
34
|
+
- [Browser support](#browser-support)
|
|
35
|
+
- [Node support](#node-support)
|
|
36
|
+
- [Development](#development)
|
|
37
|
+
|
|
38
|
+
## Summary
|
|
39
|
+
|
|
40
|
+
As the author of [`moize`](https://github.com/planttheidea/moize), I created a consistently fast memoization library, but `moize` has a lot of features to satisfy a large number of edge cases. `micro-memoize` is a simpler approach, focusing on the core feature set with a much smaller footprint (~1.44kB minified+gzipped). Stripping out these edge cases also allows `micro-memoize` to be faster across the board than `moize`.
|
|
41
|
+
|
|
42
|
+
## Importing
|
|
43
|
+
|
|
44
|
+
ESM in browsers:
|
|
45
|
+
|
|
46
|
+
```ts
|
|
47
|
+
import memoize from 'micro-memoize';
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
ESM in NodeJS:
|
|
51
|
+
|
|
52
|
+
```ts
|
|
53
|
+
import memoize from 'micro-memoize/mjs';
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
CommonJS:
|
|
57
|
+
|
|
58
|
+
```ts
|
|
59
|
+
const memoize = require('micro-memoize');
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## Usage
|
|
63
|
+
|
|
64
|
+
```ts
|
|
65
|
+
const assembleToObject = (one: string, two: string) => ({ one, two });
|
|
66
|
+
|
|
67
|
+
const memoized = memoize(assembleToObject);
|
|
68
|
+
|
|
69
|
+
console.log(memoized('one', 'two')); // {one: 'one', two: 'two'}
|
|
70
|
+
console.log(memoized('one', 'two')); // pulled from cache, {one: 'one', two: 'two'}
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
### Types
|
|
74
|
+
|
|
75
|
+
If you need them, all types are available under the `MicroMemoize` namespace.
|
|
76
|
+
|
|
77
|
+
```ts
|
|
78
|
+
import { MicroMemoize } from 'micro-memoize';
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
### Composition
|
|
82
|
+
|
|
83
|
+
Starting in `4.0.0`, you can compose memoized functions if you want to have multiple types of memoized versions based on different options.
|
|
84
|
+
|
|
85
|
+
```ts
|
|
86
|
+
const simple = memoized(fn); // { maxSize: 1 }
|
|
87
|
+
const upToFive = memoized(simple, { maxSize: 5 }); // { maxSize: 5 }
|
|
88
|
+
const withCustomEquals = memoized(upToFive, { isEqual: deepEqual }); // { maxSize: 5, isEqual: deepEqual }
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
**NOTE**: The original function is the function used in the composition, the composition only applies to the options. In the example above, `upToFive` does not call `simple`, it calls `fn`.
|
|
92
|
+
|
|
93
|
+
## Options
|
|
94
|
+
|
|
95
|
+
### isEqual
|
|
96
|
+
|
|
97
|
+
`function(object1: any, object2: any): boolean`, _defaults to `isSameValueZero`_
|
|
98
|
+
|
|
99
|
+
Custom method to compare equality of keys, determining whether to pull from cache or not, by comparing each argument in order.
|
|
100
|
+
|
|
101
|
+
Common use-cases:
|
|
102
|
+
|
|
103
|
+
- Deep equality comparison
|
|
104
|
+
- Limiting the arguments compared
|
|
105
|
+
|
|
106
|
+
```ts
|
|
107
|
+
import { deepEqual } from 'fast-equals';
|
|
108
|
+
|
|
109
|
+
type ContrivedObject = {
|
|
110
|
+
deep: string;
|
|
111
|
+
};
|
|
112
|
+
|
|
113
|
+
const deepObject = (object: {
|
|
114
|
+
foo: ContrivedObject;
|
|
115
|
+
bar: ContrivedObject;
|
|
116
|
+
}) => ({
|
|
117
|
+
foo: object.foo,
|
|
118
|
+
bar: object.bar,
|
|
119
|
+
});
|
|
120
|
+
|
|
121
|
+
const memoizedDeepObject = memoize(deepObject, { isEqual: deepEqual });
|
|
122
|
+
|
|
123
|
+
console.log(
|
|
124
|
+
memoizedDeepObject({
|
|
125
|
+
foo: {
|
|
126
|
+
deep: 'foo',
|
|
127
|
+
},
|
|
128
|
+
bar: {
|
|
129
|
+
deep: 'bar',
|
|
130
|
+
},
|
|
131
|
+
baz: {
|
|
132
|
+
deep: 'baz',
|
|
133
|
+
},
|
|
134
|
+
}),
|
|
135
|
+
); // {foo: {deep: 'foo'}, bar: {deep: 'bar'}}
|
|
136
|
+
|
|
137
|
+
console.log(
|
|
138
|
+
memoizedDeepObject({
|
|
139
|
+
foo: {
|
|
140
|
+
deep: 'foo',
|
|
141
|
+
},
|
|
142
|
+
bar: {
|
|
143
|
+
deep: 'bar',
|
|
144
|
+
},
|
|
145
|
+
baz: {
|
|
146
|
+
deep: 'baz',
|
|
147
|
+
},
|
|
148
|
+
}),
|
|
149
|
+
); // pulled from cache
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
**NOTE**: The default method tests for [SameValueZero](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) equality, which is summarized as strictly equal while also considering `NaN` equal to `NaN`.
|
|
153
|
+
|
|
154
|
+
### isMatchingKey
|
|
155
|
+
|
|
156
|
+
`function(object1: any[], object2: any[]): boolean`
|
|
157
|
+
|
|
158
|
+
Custom method to compare equality of keys, determining whether to pull from cache or not, by comparing the entire key.
|
|
159
|
+
|
|
160
|
+
Common use-cases:
|
|
161
|
+
|
|
162
|
+
- Comparing the shape of the key
|
|
163
|
+
- Matching on values regardless of order
|
|
164
|
+
- Serialization of arguments
|
|
165
|
+
|
|
166
|
+
```ts
|
|
167
|
+
import { deepEqual } from 'fast-equals';
|
|
168
|
+
|
|
169
|
+
type ContrivedObject = { foo: string; bar: number };
|
|
170
|
+
|
|
171
|
+
const deepObject = (object: ContrivedObject) => ({
|
|
172
|
+
foo: object.foo,
|
|
173
|
+
bar: object.bar,
|
|
174
|
+
});
|
|
175
|
+
|
|
176
|
+
const memoizedShape = memoize(deepObject, {
|
|
177
|
+
// receives the full key in cache and the full key of the most recent call
|
|
178
|
+
isMatchingKey(key1, key2) {
|
|
179
|
+
const object1 = key1[0];
|
|
180
|
+
const object2 = key2[0];
|
|
181
|
+
|
|
182
|
+
return (
|
|
183
|
+
object1.hasOwnProperty('foo') &&
|
|
184
|
+
object2.hasOwnProperty('foo') &&
|
|
185
|
+
object1.bar === object2.bar
|
|
186
|
+
);
|
|
187
|
+
},
|
|
188
|
+
});
|
|
189
|
+
|
|
190
|
+
console.log(
|
|
191
|
+
memoizedShape({
|
|
192
|
+
foo: 'foo',
|
|
193
|
+
bar: 123,
|
|
194
|
+
baz: 'baz',
|
|
195
|
+
}),
|
|
196
|
+
); // {foo: {deep: 'foo'}, bar: {deep: 'bar'}}
|
|
197
|
+
|
|
198
|
+
console.log(
|
|
199
|
+
memoizedShape({
|
|
200
|
+
foo: 'not foo',
|
|
201
|
+
bar: 123,
|
|
202
|
+
baz: 'baz',
|
|
203
|
+
}),
|
|
204
|
+
); // pulled from cache
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
### isPromise
|
|
208
|
+
|
|
209
|
+
`boolean`, _defaults to `false`_
|
|
210
|
+
|
|
211
|
+
Identifies the value returned from the method as a `Promise`, which will result in one of two possible scenarios:
|
|
212
|
+
|
|
213
|
+
- If the promise is resolved, it will fire the `onCacheHit` and `onCacheChange` options
|
|
214
|
+
- If the promise is rejected, it will trigger auto-removal from cache
|
|
215
|
+
|
|
216
|
+
```ts
|
|
217
|
+
const fn = async (one: string, two: string) => {
|
|
218
|
+
return new Promise((resolve, reject) => {
|
|
219
|
+
setTimeout(() => {
|
|
220
|
+
reject(new Error(JSON.stringify({ one, two })));
|
|
221
|
+
}, 500);
|
|
222
|
+
});
|
|
223
|
+
};
|
|
224
|
+
|
|
225
|
+
const memoized = memoize(fn, { isPromise: true });
|
|
226
|
+
|
|
227
|
+
memoized('one', 'two');
|
|
228
|
+
|
|
229
|
+
console.log(memoized.cache.snapshot.keys); // [['one', 'two']]
|
|
230
|
+
console.log(memoized.cache.snapshot.values); // [Promise]
|
|
231
|
+
|
|
232
|
+
setTimeout(() => {
|
|
233
|
+
console.log(memoized.cache.snapshot.keys); // []
|
|
234
|
+
console.log(memoized.cache.snapshot.values); // []
|
|
235
|
+
}, 1000);
|
|
236
|
+
```
|
|
237
|
+
|
|
238
|
+
**NOTE**: If you don't want rejections to auto-remove the entry from cache, set `isPromise` to `false` (or simply do not set it), but be aware this will also remove the cache listeners that fire on successful resolution.
|
|
239
|
+
|
|
240
|
+
### maxSize
|
|
241
|
+
|
|
242
|
+
`number`, _defaults to `1`_
|
|
243
|
+
|
|
244
|
+
The number of values to store in cache, based on a [Least Recently Used](https://en.wikipedia.org/wiki/Cache_replacement_policies#Least_Recently_Used_.28LRU.29) basis. This operates the same as [`maxSize`](https://github.com/planttheidea/moize#maxsize) on `moize`, with the exception of the default being different.
|
|
245
|
+
|
|
246
|
+
```ts
|
|
247
|
+
const manyPossibleArgs = (one: string, two: string) => [one, two];
|
|
248
|
+
|
|
249
|
+
const memoized = memoize(manyPossibleArgs, { maxSize: 3 });
|
|
250
|
+
|
|
251
|
+
console.log(memoized('one', 'two')); // ['one', 'two']
|
|
252
|
+
console.log(memoized('two', 'three')); // ['two', 'three']
|
|
253
|
+
console.log(memoized('three', 'four')); // ['three', 'four']
|
|
254
|
+
|
|
255
|
+
console.log(memoized('one', 'two')); // pulled from cache
|
|
256
|
+
console.log(memoized('two', 'three')); // pulled from cache
|
|
257
|
+
console.log(memoized('three', 'four')); // pulled from cache
|
|
258
|
+
|
|
259
|
+
console.log(memoized('four', 'five')); // ['four', 'five'], drops ['one', 'two'] from cache
|
|
260
|
+
```
|
|
261
|
+
|
|
262
|
+
**NOTE**: The default for `micro-memoize` differs from the default implementation of `moize`. `moize` will store an infinite number of results unless restricted, whereas `micro-memoize` will only store the most recent result. In this way, the default implementation of `micro-memoize` operates more like [`moize.simple`](https://github.com/planttheidea/moize#moizesimple).
|
|
263
|
+
|
|
264
|
+
### onCacheAdd
|
|
265
|
+
|
|
266
|
+
`function(cache: Cache, options: Options): void`
|
|
267
|
+
|
|
268
|
+
Callback method that executes whenever the cache is added to. This is mainly to allow for higher-order caching managers that use `micro-memoize` to perform superset functionality on the `cache` object.
|
|
269
|
+
|
|
270
|
+
```ts
|
|
271
|
+
const fn = (one: string, two: string) => [one, two];
|
|
272
|
+
|
|
273
|
+
const memoized = memoize(fn, {
|
|
274
|
+
maxSize: 2,
|
|
275
|
+
onCacheAdd(cache, options) {
|
|
276
|
+
console.log('cache has been added to: ', cache);
|
|
277
|
+
console.log('memoized method has the following options applied: ', options);
|
|
278
|
+
},
|
|
279
|
+
});
|
|
280
|
+
|
|
281
|
+
memoized('foo', 'bar'); // cache has been added to
|
|
282
|
+
memoized('foo', 'bar');
|
|
283
|
+
memoized('foo', 'bar');
|
|
284
|
+
|
|
285
|
+
memoized('bar', 'foo'); // cache has been added to
|
|
286
|
+
memoized('bar', 'foo');
|
|
287
|
+
memoized('bar', 'foo');
|
|
288
|
+
|
|
289
|
+
memoized('foo', 'bar');
|
|
290
|
+
memoized('foo', 'bar');
|
|
291
|
+
memoized('foo', 'bar');
|
|
292
|
+
```
|
|
293
|
+
|
|
294
|
+
**NOTE**: This method is not executed when the `cache` is manually manipulated, only when changed via calling the memoized method.
|
|
295
|
+
|
|
296
|
+
### onCacheChange
|
|
297
|
+
|
|
298
|
+
`function(cache: Cache, options: Options): void`
|
|
299
|
+
|
|
300
|
+
Callback method that executes whenever the cache is added to or the order is updated. This is mainly to allow for higher-order caching managers that use `micro-memoize` to perform superset functionality on the `cache` object.
|
|
301
|
+
|
|
302
|
+
```ts
|
|
303
|
+
const fn = (one: string, two: string) => [one, two];
|
|
304
|
+
|
|
305
|
+
const memoized = memoize(fn, {
|
|
306
|
+
maxSize: 2,
|
|
307
|
+
onCacheChange(cache, options) {
|
|
308
|
+
console.log('cache has changed: ', cache);
|
|
309
|
+
console.log('memoized method has the following options applied: ', options);
|
|
310
|
+
},
|
|
311
|
+
});
|
|
312
|
+
|
|
313
|
+
memoized('foo', 'bar'); // cache has changed
|
|
314
|
+
memoized('foo', 'bar');
|
|
315
|
+
memoized('foo', 'bar');
|
|
316
|
+
|
|
317
|
+
memoized('bar', 'foo'); // cache has changed
|
|
318
|
+
memoized('bar', 'foo');
|
|
319
|
+
memoized('bar', 'foo');
|
|
320
|
+
|
|
321
|
+
memoized('foo', 'bar'); // cache has changed
|
|
322
|
+
memoized('foo', 'bar');
|
|
323
|
+
memoized('foo', 'bar');
|
|
324
|
+
```
|
|
325
|
+
|
|
326
|
+
**NOTE**: This method is not executed when the `cache` is manually manipulated, only when changed via calling the memoized method. When the execution of other cache listeners (`onCacheAdd`, `onCacheHit`) is applicable, this method will execute after those methods.
|
|
327
|
+
|
|
328
|
+
### onCacheHit
|
|
329
|
+
|
|
330
|
+
`function(cache: Cache, options: Options): void`
|
|
331
|
+
|
|
332
|
+
Callback method that executes whenever the cache is hit, whether the order is updated or not. This is mainly to allow for higher-order caching managers that use `micro-memoize` to perform superset functionality on the `cache` object.
|
|
333
|
+
|
|
334
|
+
```ts
|
|
335
|
+
const fn = (one: string, two: string) => [one, two];
|
|
336
|
+
|
|
337
|
+
const memoized = memoize(fn, {
|
|
338
|
+
maxSize: 2,
|
|
339
|
+
onCacheHit(cache, options) {
|
|
340
|
+
console.log('cache was hit: ', cache);
|
|
341
|
+
console.log('memoized method has the following options applied: ', options);
|
|
342
|
+
},
|
|
343
|
+
});
|
|
344
|
+
|
|
345
|
+
memoized('foo', 'bar');
|
|
346
|
+
memoized('foo', 'bar'); // cache was hit
|
|
347
|
+
memoized('foo', 'bar'); // cache was hit
|
|
348
|
+
|
|
349
|
+
memoized('bar', 'foo');
|
|
350
|
+
memoized('bar', 'foo'); // cache was hit
|
|
351
|
+
memoized('bar', 'foo'); // cache was hit
|
|
352
|
+
|
|
353
|
+
memoized('foo', 'bar'); // cache was hit
|
|
354
|
+
memoized('foo', 'bar'); // cache was hit
|
|
355
|
+
memoized('foo', 'bar'); // cache was hit
|
|
356
|
+
```
|
|
357
|
+
|
|
358
|
+
**NOTE**: This method is not executed when the `cache` is manually manipulated, only when changed via calling the memoized method.
|
|
359
|
+
|
|
360
|
+
### transformKey
|
|
361
|
+
|
|
362
|
+
`function(Array<any>): any`
|
|
363
|
+
|
|
364
|
+
A method that allows you transform the key that is used for caching, if you want to use something other than the pure arguments.
|
|
365
|
+
|
|
366
|
+
```ts
|
|
367
|
+
const ignoreFunctionArgs = (one: string, two: () => {}) => [one, two];
|
|
368
|
+
|
|
369
|
+
const memoized = memoize(ignoreFunctionArgs, {
|
|
370
|
+
transformKey: (args) => [JSON.stringify(args[0])],
|
|
371
|
+
});
|
|
372
|
+
|
|
373
|
+
console.log(memoized('one', () => {})); // ['one', () => {}]
|
|
374
|
+
console.log(memoized('one', () => {})); // pulled from cache, ['one', () => {}]
|
|
375
|
+
```
|
|
376
|
+
|
|
377
|
+
If your transformed keys require something other than `SameValueZero` equality, you can combine `transformKey` with [`isEqual`](#isequal) for completely custom key creation and comparison.
|
|
378
|
+
|
|
379
|
+
```ts
|
|
380
|
+
const ignoreFunctionArg = (one: string, two: () => void) => [one, two];
|
|
381
|
+
|
|
382
|
+
const memoized = memoize(ignoreFunctionArg, {
|
|
383
|
+
isMatchingKey: (key1, key2) => key1[0] === key2[0],
|
|
384
|
+
// Cache based on the serialized first parameter
|
|
385
|
+
transformKey: (args) => [JSON.stringify(args[0])],
|
|
386
|
+
});
|
|
387
|
+
|
|
388
|
+
console.log(memoized('one', () => {})); // ['one', () => {}]
|
|
389
|
+
console.log(memoized('one', () => {})); // pulled from cache, ['one', () => {}]
|
|
390
|
+
```
|
|
391
|
+
|
|
392
|
+
## Additional properties
|
|
393
|
+
|
|
394
|
+
### memoized.cache
|
|
395
|
+
|
|
396
|
+
`Object`
|
|
397
|
+
|
|
398
|
+
The `cache` object that is used internally. The shape of this structure:
|
|
399
|
+
|
|
400
|
+
```ts
|
|
401
|
+
{
|
|
402
|
+
keys: any[][], // available as MicroMemoize.Key[]
|
|
403
|
+
values: any[] // available as MicroMemoize.Value[]
|
|
404
|
+
}
|
|
405
|
+
```
|
|
406
|
+
|
|
407
|
+
The exposure of this object is to allow for manual manipulation of keys/values (injection, removal, expiration, etc).
|
|
408
|
+
|
|
409
|
+
```ts
|
|
410
|
+
const method = (one: string, two: string) => ({ one, two });
|
|
411
|
+
|
|
412
|
+
const memoized = memoize(method);
|
|
413
|
+
|
|
414
|
+
memoized.cache.keys.push(['one', 'two']);
|
|
415
|
+
memoized.cache.values.push('cached');
|
|
416
|
+
|
|
417
|
+
console.log(memoized('one', 'two')); // 'cached'
|
|
418
|
+
```
|
|
419
|
+
|
|
420
|
+
**NOTE**: `moize` offers a variety of convenience methods for this manual `cache` manipulation, and while `micro-memoize` allows all the same capabilities by exposing the `cache`, it does not provide any convenience methods.
|
|
421
|
+
|
|
422
|
+
#### memoized.cache.snapshot
|
|
423
|
+
|
|
424
|
+
`Object`
|
|
425
|
+
|
|
426
|
+
This is identical to the `cache` object referenced above, but it is a deep clone created at request, which will provide a persistent snapshot of the values at that time. This is useful when tracking the cache changes over time, as the `cache` object is mutated internally for performance reasons.
|
|
427
|
+
|
|
428
|
+
### memoized.fn
|
|
429
|
+
|
|
430
|
+
`function`
|
|
431
|
+
|
|
432
|
+
The original function passed to be memoized.
|
|
433
|
+
|
|
434
|
+
### memoized.isMemoized
|
|
435
|
+
|
|
436
|
+
`boolean`
|
|
437
|
+
|
|
438
|
+
Hard-coded to `true` when the function is memoized. This is useful for introspection, to identify if a method has been memoized or not.
|
|
439
|
+
|
|
440
|
+
### memoized.options
|
|
441
|
+
|
|
442
|
+
`Object`
|
|
443
|
+
|
|
444
|
+
The [`options`](#options) passed when creating the memoized method.
|
|
445
|
+
|
|
446
|
+
## Benchmarks
|
|
447
|
+
|
|
448
|
+
All values provided are the number of operations per second (ops/sec) calculated by the [Benchmark suite](https://benchmarkjs.com/). Note that `underscore`, `lodash`, and `ramda` do not support mulitple-parameter memoization (which is where `micro-memoize` really shines), so they are not included in those benchmarks.
|
|
449
|
+
|
|
450
|
+
Benchmarks was performed on an i7 8-core Arch Linux laptop with 16GB of memory using NodeJS version `10.15.0`. The default configuration of each library was tested with a fibonacci calculation based on the following parameters:
|
|
451
|
+
|
|
452
|
+
- Single primitive = `35`
|
|
453
|
+
- Single object = `{number: 35}`
|
|
454
|
+
- Multiple primitives = `35, true`
|
|
455
|
+
- Multiple objects = `{number: 35}, {isComplete: true}`
|
|
456
|
+
|
|
457
|
+
**NOTE**: Not all libraries tested support multiple parameters out of the box, but support the ability to pass a custom `resolver`. Because these often need to resolve to a string value, [a common suggestion](https://github.com/lodash/lodash/issues/2115) is to just `JSON.stringify` the arguments, so that is what is used when needed.
|
|
458
|
+
|
|
459
|
+
### Single parameter (primitive only)
|
|
460
|
+
|
|
461
|
+
This is usually what benchmarks target for ... its the least-likely use-case, but the easiest to optimize, often at the expense of more common use-cases.
|
|
462
|
+
|
|
463
|
+
| | Operations / second |
|
|
464
|
+
| ----------------- | ------------------- |
|
|
465
|
+
| fast-memoize | 59,069,204 |
|
|
466
|
+
| **micro-memoize** | **48,267,295** |
|
|
467
|
+
| lru-memoize | 46,781,143 |
|
|
468
|
+
| Addy Osmani | 32,372,414 |
|
|
469
|
+
| lodash | 29,297,916 |
|
|
470
|
+
| ramda | 25,054,838 |
|
|
471
|
+
| mem | 24,848,072 |
|
|
472
|
+
| underscore | 24,847,818 |
|
|
473
|
+
| memoizee | 18,272,987 |
|
|
474
|
+
| memoizerific | 7,302,835 |
|
|
475
|
+
|
|
476
|
+
### Single parameter (complex object)
|
|
477
|
+
|
|
478
|
+
This is what most memoization libraries target as the primary use-case, as it removes the complexities of multiple arguments but allows for usage with one to many values.
|
|
479
|
+
|
|
480
|
+
| | Operations / second |
|
|
481
|
+
| ----------------- | ------------------- |
|
|
482
|
+
| **micro-memoize** | **40,360,621** |
|
|
483
|
+
| lodash | 30,862,028 |
|
|
484
|
+
| lru-memoize | 25,740,572 |
|
|
485
|
+
| memoizee | 12,058,375 |
|
|
486
|
+
| memoizerific | 6,854,855 |
|
|
487
|
+
| ramda | 2,287,030 |
|
|
488
|
+
| underscore | 2,270,574 |
|
|
489
|
+
| Addy Osmani | 2,076,031 |
|
|
490
|
+
| mem | 2,001,984 |
|
|
491
|
+
| fast-memoize | 1,591,019 |
|
|
492
|
+
|
|
493
|
+
### Multiple parameters (primitives only)
|
|
494
|
+
|
|
495
|
+
This is a very common use-case for function calls, but can be more difficult to optimize because you need to account for multiple possibilities ... did the number of arguments change, are there default arguments, etc.
|
|
496
|
+
|
|
497
|
+
| | Operations / second |
|
|
498
|
+
| ----------------- | ------------------- |
|
|
499
|
+
| **micro-memoize** | **33,546,353** |
|
|
500
|
+
| lru-memoize | 20,884,669 |
|
|
501
|
+
| memoizee | 7,831,161 |
|
|
502
|
+
| Addy Osmani | 6,447,448 |
|
|
503
|
+
| memoizerific | 5,587,779 |
|
|
504
|
+
| mem | 2,620,943 |
|
|
505
|
+
| underscore | 1,617,687 |
|
|
506
|
+
| ramda | 1,569,167 |
|
|
507
|
+
| lodash | 1,512,515 |
|
|
508
|
+
| fast-memoize | 1,376,665 |
|
|
509
|
+
|
|
510
|
+
### Multiple parameters (complex objects)
|
|
511
|
+
|
|
512
|
+
This is the most robust use-case, with the same complexities as multiple primitives but managing bulkier objects with additional edge scenarios (destructured with defaults, for example).
|
|
513
|
+
|
|
514
|
+
| | Operations / second |
|
|
515
|
+
| ----------------- | ------------------- |
|
|
516
|
+
| **micro-memoize** | **34,857,438** |
|
|
517
|
+
| lru-memoize | 20,838,330 |
|
|
518
|
+
| memoizee | 7,820,066 |
|
|
519
|
+
| memoizerific | 5,761,357 |
|
|
520
|
+
| mem | 1,184,550 |
|
|
521
|
+
| ramda | 1,034,937 |
|
|
522
|
+
| underscore | 1,021,480 |
|
|
523
|
+
| Addy Osmani | 1,014,642 |
|
|
524
|
+
| lodash | 1,014,060 |
|
|
525
|
+
| fast-memoize | 949,213 |
|
|
526
|
+
|
|
527
|
+
## Browser support
|
|
528
|
+
|
|
529
|
+
- Chrome (all versions)
|
|
530
|
+
- Firefox (all versions)
|
|
531
|
+
- Edge (all versions)
|
|
532
|
+
- Opera 15+
|
|
533
|
+
- IE 9+
|
|
534
|
+
- Safari 6+
|
|
535
|
+
- iOS 8+
|
|
536
|
+
- Android 4+
|
|
537
|
+
|
|
538
|
+
## Node support
|
|
539
|
+
|
|
540
|
+
- 4+
|
|
541
|
+
|
|
542
|
+
## Development
|
|
543
|
+
|
|
544
|
+
Standard stuff, clone the repo and `npm install` dependencies. The npm scripts available:
|
|
545
|
+
|
|
546
|
+
- `build` => run webpack to build development `dist` file with NODE_ENV=development
|
|
547
|
+
- `build:minifed` => run webpack to build production `dist` file with NODE_ENV=production
|
|
548
|
+
- `dev` => run webpack dev server to run example app (playground!)
|
|
549
|
+
- `dist` => runs `build` and `build-minified`
|
|
550
|
+
- `lint` => run ESLint against all files in the `src` folder
|
|
551
|
+
- `prepublish` => runs `compile-for-publish`
|
|
552
|
+
- `prepublish:compile` => run `lint`, `test`, `transpile:es`, `transpile:lib`, `dist`
|
|
553
|
+
- `test` => run AVA test functions with `NODE_ENV=test`
|
|
554
|
+
- `test:coverage` => run `test` but with `nyc` for coverage checker
|
|
555
|
+
- `test:watch` => run `test`, but with persistent watcher
|
|
556
|
+
- `transpile:lib` => run babel against all files in `src` to create files in `lib`
|
|
557
|
+
- `transpile:es` => run babel against all files in `src` to create files in `es`, preserving ES2015 modules (for [`pkg.module`](https://github.com/rollup/rollup/wiki/pkg.module))
|