metarm commited on
Commit
47b95f8
·
verified ·
1 Parent(s): 1a6eed7

Upload folder using huggingface_hub (part 14)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.typedarrays.js +16 -0
  2. node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.d.ts +2 -0
  3. node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js +19 -0
  4. node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts +2 -0
  5. node_modules/@typescript-eslint/scope-manager/dist/lib/index.js +248 -0
  6. node_modules/@typescript-eslint/scope-manager/dist/lib/lib.d.ts +2 -0
  7. node_modules/@typescript-eslint/scope-manager/dist/lib/lib.js +16 -0
  8. node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.d.ts +2 -0
  9. node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.js +27 -0
  10. node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.asynciterable.d.ts +2 -0
  11. node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.asynciterable.js +12 -0
  12. node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.d.ts +2 -0
  13. node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.d.ts +2 -0
  14. node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.js +12 -0
  15. node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.d.ts +2 -0
  16. node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.js +12 -0
  17. node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js +843 -0
  18. node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts +27 -0
  19. node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js +179 -0
  20. node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts +13 -0
  21. node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js +72 -0
  22. node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts +12 -0
  23. node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.js +37 -0
  24. node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts +27 -0
  25. node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js +95 -0
  26. node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts +87 -0
  27. node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js +120 -0
  28. node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts +91 -0
  29. node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js +559 -0
  30. node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts +31 -0
  31. node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js +222 -0
  32. node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts +13 -0
  33. node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js +30 -0
  34. node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts +21 -0
  35. node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.js +68 -0
  36. node_modules/@typescript-eslint/scope-manager/dist/referencer/index.d.ts +1 -0
  37. node_modules/@typescript-eslint/scope-manager/dist/referencer/index.js +6 -0
  38. node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts +8 -0
  39. node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.js +12 -0
  40. node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts +8 -0
  41. node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.js +12 -0
  42. node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts +8 -0
  43. node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.js +12 -0
  44. node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts +8 -0
  45. node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.js +12 -0
  46. node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts +8 -0
  47. node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js +12 -0
  48. node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts +8 -0
  49. node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.js +12 -0
  50. node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts +8 -0
node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.typedarrays.js ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ // THIS CODE WAS AUTOMATICALLY GENERATED
3
+ // DO NOT EDIT THIS CODE BY HAND
4
+ // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE:
5
+ // npx nx generate-lib repo
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.esnext_typedarrays = void 0;
8
+ const base_config_1 = require("./base-config");
9
+ exports.esnext_typedarrays = {
10
+ libs: [],
11
+ variables: [
12
+ ['Uint8Array', base_config_1.TYPE],
13
+ ['Uint8ArrayConstructor', base_config_1.TYPE],
14
+ ],
15
+ };
16
+ //# sourceMappingURL=esnext.typedarrays.js.map
node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.d.ts ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ import type { LibDefinition } from '../variable';
2
+ export declare const esnext_weakref: LibDefinition;
node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ // THIS CODE WAS AUTOMATICALLY GENERATED
3
+ // DO NOT EDIT THIS CODE BY HAND
4
+ // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE:
5
+ // npx nx generate-lib repo
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.esnext_weakref = void 0;
8
+ const base_config_1 = require("./base-config");
9
+ const es2015_symbol_wellknown_1 = require("./es2015.symbol.wellknown");
10
+ exports.esnext_weakref = {
11
+ libs: [es2015_symbol_wellknown_1.es2015_symbol_wellknown],
12
+ variables: [
13
+ ['WeakRef', base_config_1.TYPE_VALUE],
14
+ ['WeakRefConstructor', base_config_1.TYPE],
15
+ ['FinalizationRegistry', base_config_1.TYPE_VALUE],
16
+ ['FinalizationRegistryConstructor', base_config_1.TYPE],
17
+ ],
18
+ };
19
+ //# sourceMappingURL=esnext.weakref.js.map
node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ import type { LibDefinition } from '../variable';
2
+ export declare const lib: ReadonlyMap<string, LibDefinition>;
node_modules/@typescript-eslint/scope-manager/dist/lib/index.js ADDED
@@ -0,0 +1,248 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ // THIS CODE WAS AUTOMATICALLY GENERATED
3
+ // DO NOT EDIT THIS CODE BY HAND
4
+ // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE:
5
+ // npx nx generate-lib repo
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.lib = void 0;
8
+ const decorators_1 = require("./decorators");
9
+ const decorators_legacy_1 = require("./decorators.legacy");
10
+ const dom_1 = require("./dom");
11
+ const dom_asynciterable_1 = require("./dom.asynciterable");
12
+ const dom_iterable_1 = require("./dom.iterable");
13
+ const es5_1 = require("./es5");
14
+ const es6_1 = require("./es6");
15
+ const es7_1 = require("./es7");
16
+ const es2015_1 = require("./es2015");
17
+ const es2015_collection_1 = require("./es2015.collection");
18
+ const es2015_core_1 = require("./es2015.core");
19
+ const es2015_generator_1 = require("./es2015.generator");
20
+ const es2015_iterable_1 = require("./es2015.iterable");
21
+ const es2015_promise_1 = require("./es2015.promise");
22
+ const es2015_proxy_1 = require("./es2015.proxy");
23
+ const es2015_reflect_1 = require("./es2015.reflect");
24
+ const es2015_symbol_1 = require("./es2015.symbol");
25
+ const es2015_symbol_wellknown_1 = require("./es2015.symbol.wellknown");
26
+ const es2016_1 = require("./es2016");
27
+ const es2016_array_include_1 = require("./es2016.array.include");
28
+ const es2016_full_1 = require("./es2016.full");
29
+ const es2016_intl_1 = require("./es2016.intl");
30
+ const es2017_1 = require("./es2017");
31
+ const es2017_arraybuffer_1 = require("./es2017.arraybuffer");
32
+ const es2017_date_1 = require("./es2017.date");
33
+ const es2017_full_1 = require("./es2017.full");
34
+ const es2017_intl_1 = require("./es2017.intl");
35
+ const es2017_object_1 = require("./es2017.object");
36
+ const es2017_sharedmemory_1 = require("./es2017.sharedmemory");
37
+ const es2017_string_1 = require("./es2017.string");
38
+ const es2017_typedarrays_1 = require("./es2017.typedarrays");
39
+ const es2018_1 = require("./es2018");
40
+ const es2018_asyncgenerator_1 = require("./es2018.asyncgenerator");
41
+ const es2018_asynciterable_1 = require("./es2018.asynciterable");
42
+ const es2018_full_1 = require("./es2018.full");
43
+ const es2018_intl_1 = require("./es2018.intl");
44
+ const es2018_promise_1 = require("./es2018.promise");
45
+ const es2018_regexp_1 = require("./es2018.regexp");
46
+ const es2019_1 = require("./es2019");
47
+ const es2019_array_1 = require("./es2019.array");
48
+ const es2019_full_1 = require("./es2019.full");
49
+ const es2019_intl_1 = require("./es2019.intl");
50
+ const es2019_object_1 = require("./es2019.object");
51
+ const es2019_string_1 = require("./es2019.string");
52
+ const es2019_symbol_1 = require("./es2019.symbol");
53
+ const es2020_1 = require("./es2020");
54
+ const es2020_bigint_1 = require("./es2020.bigint");
55
+ const es2020_date_1 = require("./es2020.date");
56
+ const es2020_full_1 = require("./es2020.full");
57
+ const es2020_intl_1 = require("./es2020.intl");
58
+ const es2020_number_1 = require("./es2020.number");
59
+ const es2020_promise_1 = require("./es2020.promise");
60
+ const es2020_sharedmemory_1 = require("./es2020.sharedmemory");
61
+ const es2020_string_1 = require("./es2020.string");
62
+ const es2020_symbol_wellknown_1 = require("./es2020.symbol.wellknown");
63
+ const es2021_1 = require("./es2021");
64
+ const es2021_full_1 = require("./es2021.full");
65
+ const es2021_intl_1 = require("./es2021.intl");
66
+ const es2021_promise_1 = require("./es2021.promise");
67
+ const es2021_string_1 = require("./es2021.string");
68
+ const es2021_weakref_1 = require("./es2021.weakref");
69
+ const es2022_1 = require("./es2022");
70
+ const es2022_array_1 = require("./es2022.array");
71
+ const es2022_error_1 = require("./es2022.error");
72
+ const es2022_full_1 = require("./es2022.full");
73
+ const es2022_intl_1 = require("./es2022.intl");
74
+ const es2022_object_1 = require("./es2022.object");
75
+ const es2022_regexp_1 = require("./es2022.regexp");
76
+ const es2022_string_1 = require("./es2022.string");
77
+ const es2023_1 = require("./es2023");
78
+ const es2023_array_1 = require("./es2023.array");
79
+ const es2023_collection_1 = require("./es2023.collection");
80
+ const es2023_full_1 = require("./es2023.full");
81
+ const es2023_intl_1 = require("./es2023.intl");
82
+ const es2024_1 = require("./es2024");
83
+ const es2024_arraybuffer_1 = require("./es2024.arraybuffer");
84
+ const es2024_collection_1 = require("./es2024.collection");
85
+ const es2024_full_1 = require("./es2024.full");
86
+ const es2024_object_1 = require("./es2024.object");
87
+ const es2024_promise_1 = require("./es2024.promise");
88
+ const es2024_regexp_1 = require("./es2024.regexp");
89
+ const es2024_sharedmemory_1 = require("./es2024.sharedmemory");
90
+ const es2024_string_1 = require("./es2024.string");
91
+ const es2025_1 = require("./es2025");
92
+ const es2025_collection_1 = require("./es2025.collection");
93
+ const es2025_float16_1 = require("./es2025.float16");
94
+ const es2025_full_1 = require("./es2025.full");
95
+ const es2025_intl_1 = require("./es2025.intl");
96
+ const es2025_iterator_1 = require("./es2025.iterator");
97
+ const es2025_promise_1 = require("./es2025.promise");
98
+ const es2025_regexp_1 = require("./es2025.regexp");
99
+ const esnext_1 = require("./esnext");
100
+ const esnext_array_1 = require("./esnext.array");
101
+ const esnext_asynciterable_1 = require("./esnext.asynciterable");
102
+ const esnext_bigint_1 = require("./esnext.bigint");
103
+ const esnext_collection_1 = require("./esnext.collection");
104
+ const esnext_date_1 = require("./esnext.date");
105
+ const esnext_decorators_1 = require("./esnext.decorators");
106
+ const esnext_disposable_1 = require("./esnext.disposable");
107
+ const esnext_error_1 = require("./esnext.error");
108
+ const esnext_float16_1 = require("./esnext.float16");
109
+ const esnext_full_1 = require("./esnext.full");
110
+ const esnext_intl_1 = require("./esnext.intl");
111
+ const esnext_iterator_1 = require("./esnext.iterator");
112
+ const esnext_object_1 = require("./esnext.object");
113
+ const esnext_promise_1 = require("./esnext.promise");
114
+ const esnext_regexp_1 = require("./esnext.regexp");
115
+ const esnext_sharedmemory_1 = require("./esnext.sharedmemory");
116
+ const esnext_string_1 = require("./esnext.string");
117
+ const esnext_symbol_1 = require("./esnext.symbol");
118
+ const esnext_temporal_1 = require("./esnext.temporal");
119
+ const esnext_typedarrays_1 = require("./esnext.typedarrays");
120
+ const esnext_weakref_1 = require("./esnext.weakref");
121
+ const lib_1 = require("./lib");
122
+ const scripthost_1 = require("./scripthost");
123
+ const webworker_1 = require("./webworker");
124
+ const webworker_asynciterable_1 = require("./webworker.asynciterable");
125
+ const webworker_importscripts_1 = require("./webworker.importscripts");
126
+ const webworker_iterable_1 = require("./webworker.iterable");
127
+ exports.lib = new Map([
128
+ ['es5', es5_1.es5],
129
+ ['es6', es6_1.es6],
130
+ ['es2015', es2015_1.es2015],
131
+ ['es7', es7_1.es7],
132
+ ['es2016', es2016_1.es2016],
133
+ ['es2017', es2017_1.es2017],
134
+ ['es2018', es2018_1.es2018],
135
+ ['es2019', es2019_1.es2019],
136
+ ['es2020', es2020_1.es2020],
137
+ ['es2021', es2021_1.es2021],
138
+ ['es2022', es2022_1.es2022],
139
+ ['es2023', es2023_1.es2023],
140
+ ['es2024', es2024_1.es2024],
141
+ ['es2025', es2025_1.es2025],
142
+ ['esnext', esnext_1.esnext],
143
+ ['dom', dom_1.dom],
144
+ ['dom.iterable', dom_iterable_1.dom_iterable],
145
+ ['dom.asynciterable', dom_asynciterable_1.dom_asynciterable],
146
+ ['webworker', webworker_1.webworker],
147
+ ['webworker.importscripts', webworker_importscripts_1.webworker_importscripts],
148
+ ['webworker.iterable', webworker_iterable_1.webworker_iterable],
149
+ ['webworker.asynciterable', webworker_asynciterable_1.webworker_asynciterable],
150
+ ['scripthost', scripthost_1.scripthost],
151
+ ['es2015.core', es2015_core_1.es2015_core],
152
+ ['es2015.collection', es2015_collection_1.es2015_collection],
153
+ ['es2015.generator', es2015_generator_1.es2015_generator],
154
+ ['es2015.iterable', es2015_iterable_1.es2015_iterable],
155
+ ['es2015.promise', es2015_promise_1.es2015_promise],
156
+ ['es2015.proxy', es2015_proxy_1.es2015_proxy],
157
+ ['es2015.reflect', es2015_reflect_1.es2015_reflect],
158
+ ['es2015.symbol', es2015_symbol_1.es2015_symbol],
159
+ ['es2015.symbol.wellknown', es2015_symbol_wellknown_1.es2015_symbol_wellknown],
160
+ ['es2016.array.include', es2016_array_include_1.es2016_array_include],
161
+ ['es2016.intl', es2016_intl_1.es2016_intl],
162
+ ['es2017.arraybuffer', es2017_arraybuffer_1.es2017_arraybuffer],
163
+ ['es2017.date', es2017_date_1.es2017_date],
164
+ ['es2017.object', es2017_object_1.es2017_object],
165
+ ['es2017.sharedmemory', es2017_sharedmemory_1.es2017_sharedmemory],
166
+ ['es2017.string', es2017_string_1.es2017_string],
167
+ ['es2017.intl', es2017_intl_1.es2017_intl],
168
+ ['es2017.typedarrays', es2017_typedarrays_1.es2017_typedarrays],
169
+ ['es2018.asyncgenerator', es2018_asyncgenerator_1.es2018_asyncgenerator],
170
+ ['es2018.asynciterable', es2018_asynciterable_1.es2018_asynciterable],
171
+ ['es2018.intl', es2018_intl_1.es2018_intl],
172
+ ['es2018.promise', es2018_promise_1.es2018_promise],
173
+ ['es2018.regexp', es2018_regexp_1.es2018_regexp],
174
+ ['es2019.array', es2019_array_1.es2019_array],
175
+ ['es2019.object', es2019_object_1.es2019_object],
176
+ ['es2019.string', es2019_string_1.es2019_string],
177
+ ['es2019.symbol', es2019_symbol_1.es2019_symbol],
178
+ ['es2019.intl', es2019_intl_1.es2019_intl],
179
+ ['es2020.bigint', es2020_bigint_1.es2020_bigint],
180
+ ['es2020.date', es2020_date_1.es2020_date],
181
+ ['es2020.promise', es2020_promise_1.es2020_promise],
182
+ ['es2020.sharedmemory', es2020_sharedmemory_1.es2020_sharedmemory],
183
+ ['es2020.string', es2020_string_1.es2020_string],
184
+ ['es2020.symbol.wellknown', es2020_symbol_wellknown_1.es2020_symbol_wellknown],
185
+ ['es2020.intl', es2020_intl_1.es2020_intl],
186
+ ['es2020.number', es2020_number_1.es2020_number],
187
+ ['es2021.promise', es2021_promise_1.es2021_promise],
188
+ ['es2021.string', es2021_string_1.es2021_string],
189
+ ['es2021.weakref', es2021_weakref_1.es2021_weakref],
190
+ ['es2021.intl', es2021_intl_1.es2021_intl],
191
+ ['es2022.array', es2022_array_1.es2022_array],
192
+ ['es2022.error', es2022_error_1.es2022_error],
193
+ ['es2022.intl', es2022_intl_1.es2022_intl],
194
+ ['es2022.object', es2022_object_1.es2022_object],
195
+ ['es2022.string', es2022_string_1.es2022_string],
196
+ ['es2022.regexp', es2022_regexp_1.es2022_regexp],
197
+ ['es2023.array', es2023_array_1.es2023_array],
198
+ ['es2023.collection', es2023_collection_1.es2023_collection],
199
+ ['es2023.intl', es2023_intl_1.es2023_intl],
200
+ ['es2024.arraybuffer', es2024_arraybuffer_1.es2024_arraybuffer],
201
+ ['es2024.collection', es2024_collection_1.es2024_collection],
202
+ ['es2024.object', es2024_object_1.es2024_object],
203
+ ['es2024.promise', es2024_promise_1.es2024_promise],
204
+ ['es2024.regexp', es2024_regexp_1.es2024_regexp],
205
+ ['es2024.sharedmemory', es2024_sharedmemory_1.es2024_sharedmemory],
206
+ ['es2024.string', es2024_string_1.es2024_string],
207
+ ['es2025.collection', es2025_collection_1.es2025_collection],
208
+ ['es2025.float16', es2025_float16_1.es2025_float16],
209
+ ['es2025.intl', es2025_intl_1.es2025_intl],
210
+ ['es2025.iterator', es2025_iterator_1.es2025_iterator],
211
+ ['es2025.promise', es2025_promise_1.es2025_promise],
212
+ ['es2025.regexp', es2025_regexp_1.es2025_regexp],
213
+ ['esnext.asynciterable', esnext_asynciterable_1.esnext_asynciterable],
214
+ ['esnext.symbol', esnext_symbol_1.esnext_symbol],
215
+ ['esnext.bigint', esnext_bigint_1.esnext_bigint],
216
+ ['esnext.weakref', esnext_weakref_1.esnext_weakref],
217
+ ['esnext.object', esnext_object_1.esnext_object],
218
+ ['esnext.regexp', esnext_regexp_1.esnext_regexp],
219
+ ['esnext.string', esnext_string_1.esnext_string],
220
+ ['esnext.float16', esnext_float16_1.esnext_float16],
221
+ ['esnext.iterator', esnext_iterator_1.esnext_iterator],
222
+ ['esnext.promise', esnext_promise_1.esnext_promise],
223
+ ['esnext.array', esnext_array_1.esnext_array],
224
+ ['esnext.collection', esnext_collection_1.esnext_collection],
225
+ ['esnext.date', esnext_date_1.esnext_date],
226
+ ['esnext.decorators', esnext_decorators_1.esnext_decorators],
227
+ ['esnext.disposable', esnext_disposable_1.esnext_disposable],
228
+ ['esnext.error', esnext_error_1.esnext_error],
229
+ ['esnext.intl', esnext_intl_1.esnext_intl],
230
+ ['esnext.sharedmemory', esnext_sharedmemory_1.esnext_sharedmemory],
231
+ ['esnext.temporal', esnext_temporal_1.esnext_temporal],
232
+ ['esnext.typedarrays', esnext_typedarrays_1.esnext_typedarrays],
233
+ ['decorators', decorators_1.decorators],
234
+ ['decorators.legacy', decorators_legacy_1.decorators_legacy],
235
+ ['es2016.full', es2016_full_1.es2016_full],
236
+ ['es2017.full', es2017_full_1.es2017_full],
237
+ ['es2018.full', es2018_full_1.es2018_full],
238
+ ['es2019.full', es2019_full_1.es2019_full],
239
+ ['es2020.full', es2020_full_1.es2020_full],
240
+ ['es2021.full', es2021_full_1.es2021_full],
241
+ ['es2022.full', es2022_full_1.es2022_full],
242
+ ['es2023.full', es2023_full_1.es2023_full],
243
+ ['es2024.full', es2024_full_1.es2024_full],
244
+ ['es2025.full', es2025_full_1.es2025_full],
245
+ ['esnext.full', esnext_full_1.esnext_full],
246
+ ['lib', lib_1.lib],
247
+ ]);
248
+ //# sourceMappingURL=index.js.map
node_modules/@typescript-eslint/scope-manager/dist/lib/lib.d.ts ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ import type { LibDefinition } from '../variable';
2
+ export declare const lib: LibDefinition;
node_modules/@typescript-eslint/scope-manager/dist/lib/lib.js ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ // THIS CODE WAS AUTOMATICALLY GENERATED
3
+ // DO NOT EDIT THIS CODE BY HAND
4
+ // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE:
5
+ // npx nx generate-lib repo
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.lib = void 0;
8
+ const dom_1 = require("./dom");
9
+ const es5_1 = require("./es5");
10
+ const scripthost_1 = require("./scripthost");
11
+ const webworker_importscripts_1 = require("./webworker.importscripts");
12
+ exports.lib = {
13
+ libs: [es5_1.es5, dom_1.dom, webworker_importscripts_1.webworker_importscripts, scripthost_1.scripthost],
14
+ variables: [],
15
+ };
16
+ //# sourceMappingURL=lib.js.map
node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.d.ts ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ import type { LibDefinition } from '../variable';
2
+ export declare const scripthost: LibDefinition;
node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.js ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ // THIS CODE WAS AUTOMATICALLY GENERATED
3
+ // DO NOT EDIT THIS CODE BY HAND
4
+ // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE:
5
+ // npx nx generate-lib repo
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.scripthost = void 0;
8
+ const base_config_1 = require("./base-config");
9
+ exports.scripthost = {
10
+ libs: [],
11
+ variables: [
12
+ ['ActiveXObject', base_config_1.TYPE_VALUE],
13
+ ['ITextWriter', base_config_1.TYPE],
14
+ ['TextStreamBase', base_config_1.TYPE],
15
+ ['TextStreamWriter', base_config_1.TYPE],
16
+ ['TextStreamReader', base_config_1.TYPE],
17
+ ['SafeArray', base_config_1.TYPE_VALUE],
18
+ ['Enumerator', base_config_1.TYPE_VALUE],
19
+ ['EnumeratorConstructor', base_config_1.TYPE],
20
+ ['VBArray', base_config_1.TYPE_VALUE],
21
+ ['VBArrayConstructor', base_config_1.TYPE],
22
+ ['VarDate', base_config_1.TYPE_VALUE],
23
+ ['DateConstructor', base_config_1.TYPE],
24
+ ['Date', base_config_1.TYPE],
25
+ ],
26
+ };
27
+ //# sourceMappingURL=scripthost.js.map
node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.asynciterable.d.ts ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ import type { LibDefinition } from '../variable';
2
+ export declare const webworker_asynciterable: LibDefinition;
node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.asynciterable.js ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ // THIS CODE WAS AUTOMATICALLY GENERATED
3
+ // DO NOT EDIT THIS CODE BY HAND
4
+ // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE:
5
+ // npx nx generate-lib repo
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.webworker_asynciterable = void 0;
8
+ exports.webworker_asynciterable = {
9
+ libs: [],
10
+ variables: [],
11
+ };
12
+ //# sourceMappingURL=webworker.asynciterable.js.map
node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.d.ts ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ import type { LibDefinition } from '../variable';
2
+ export declare const webworker: LibDefinition;
node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.d.ts ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ import type { LibDefinition } from '../variable';
2
+ export declare const webworker_importscripts: LibDefinition;
node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.js ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ // THIS CODE WAS AUTOMATICALLY GENERATED
3
+ // DO NOT EDIT THIS CODE BY HAND
4
+ // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE:
5
+ // npx nx generate-lib repo
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.webworker_importscripts = void 0;
8
+ exports.webworker_importscripts = {
9
+ libs: [],
10
+ variables: [],
11
+ };
12
+ //# sourceMappingURL=webworker.importscripts.js.map
node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.d.ts ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ import type { LibDefinition } from '../variable';
2
+ export declare const webworker_iterable: LibDefinition;
node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.js ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ // THIS CODE WAS AUTOMATICALLY GENERATED
3
+ // DO NOT EDIT THIS CODE BY HAND
4
+ // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE:
5
+ // npx nx generate-lib repo
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.webworker_iterable = void 0;
8
+ exports.webworker_iterable = {
9
+ libs: [],
10
+ variables: [],
11
+ };
12
+ //# sourceMappingURL=webworker.iterable.js.map
node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js ADDED
@@ -0,0 +1,843 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ // THIS CODE WAS AUTOMATICALLY GENERATED
3
+ // DO NOT EDIT THIS CODE BY HAND
4
+ // RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE:
5
+ // npx nx generate-lib repo
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.webworker = void 0;
8
+ const base_config_1 = require("./base-config");
9
+ const es2015_1 = require("./es2015");
10
+ const es2018_asynciterable_1 = require("./es2018.asynciterable");
11
+ exports.webworker = {
12
+ libs: [es2015_1.es2015, es2018_asynciterable_1.es2018_asynciterable],
13
+ variables: [
14
+ ['AacEncoderConfig', base_config_1.TYPE],
15
+ ['AddEventListenerOptions', base_config_1.TYPE],
16
+ ['AesCbcParams', base_config_1.TYPE],
17
+ ['AesCtrParams', base_config_1.TYPE],
18
+ ['AesDerivedKeyParams', base_config_1.TYPE],
19
+ ['AesGcmParams', base_config_1.TYPE],
20
+ ['AesKeyAlgorithm', base_config_1.TYPE],
21
+ ['AesKeyGenParams', base_config_1.TYPE],
22
+ ['Algorithm', base_config_1.TYPE],
23
+ ['AudioConfiguration', base_config_1.TYPE],
24
+ ['AudioDataCopyToOptions', base_config_1.TYPE],
25
+ ['AudioDataInit', base_config_1.TYPE],
26
+ ['AudioDecoderConfig', base_config_1.TYPE],
27
+ ['AudioDecoderInit', base_config_1.TYPE],
28
+ ['AudioDecoderSupport', base_config_1.TYPE],
29
+ ['AudioEncoderConfig', base_config_1.TYPE],
30
+ ['AudioEncoderInit', base_config_1.TYPE],
31
+ ['AudioEncoderSupport', base_config_1.TYPE],
32
+ ['AvcEncoderConfig', base_config_1.TYPE],
33
+ ['BlobPropertyBag', base_config_1.TYPE],
34
+ ['CSSMatrixComponentOptions', base_config_1.TYPE],
35
+ ['CSSNumericType', base_config_1.TYPE],
36
+ ['CacheQueryOptions', base_config_1.TYPE],
37
+ ['ClientQueryOptions', base_config_1.TYPE],
38
+ ['CloseEventInit', base_config_1.TYPE],
39
+ ['CookieInit', base_config_1.TYPE],
40
+ ['CookieListItem', base_config_1.TYPE],
41
+ ['CookieStoreDeleteOptions', base_config_1.TYPE],
42
+ ['CookieStoreGetOptions', base_config_1.TYPE],
43
+ ['CryptoKeyPair', base_config_1.TYPE],
44
+ ['CustomEventInit', base_config_1.TYPE],
45
+ ['DOMMatrix2DInit', base_config_1.TYPE],
46
+ ['DOMMatrixInit', base_config_1.TYPE],
47
+ ['DOMPointInit', base_config_1.TYPE],
48
+ ['DOMQuadInit', base_config_1.TYPE],
49
+ ['DOMRectInit', base_config_1.TYPE],
50
+ ['EcKeyGenParams', base_config_1.TYPE],
51
+ ['EcKeyImportParams', base_config_1.TYPE],
52
+ ['EcdhKeyDeriveParams', base_config_1.TYPE],
53
+ ['EcdsaParams', base_config_1.TYPE],
54
+ ['EncodedAudioChunkInit', base_config_1.TYPE],
55
+ ['EncodedAudioChunkMetadata', base_config_1.TYPE],
56
+ ['EncodedVideoChunkInit', base_config_1.TYPE],
57
+ ['EncodedVideoChunkMetadata', base_config_1.TYPE],
58
+ ['ErrorEventInit', base_config_1.TYPE],
59
+ ['EventInit', base_config_1.TYPE],
60
+ ['EventListenerOptions', base_config_1.TYPE],
61
+ ['EventSourceInit', base_config_1.TYPE],
62
+ ['ExtendableCookieChangeEventInit', base_config_1.TYPE],
63
+ ['ExtendableEventInit', base_config_1.TYPE],
64
+ ['ExtendableMessageEventInit', base_config_1.TYPE],
65
+ ['FetchEventInit', base_config_1.TYPE],
66
+ ['FilePropertyBag', base_config_1.TYPE],
67
+ ['FileSystemCreateWritableOptions', base_config_1.TYPE],
68
+ ['FileSystemGetDirectoryOptions', base_config_1.TYPE],
69
+ ['FileSystemGetFileOptions', base_config_1.TYPE],
70
+ ['FileSystemReadWriteOptions', base_config_1.TYPE],
71
+ ['FileSystemRemoveOptions', base_config_1.TYPE],
72
+ ['FontFaceDescriptors', base_config_1.TYPE],
73
+ ['FontFaceSetLoadEventInit', base_config_1.TYPE],
74
+ ['GPUBindGroupDescriptor', base_config_1.TYPE],
75
+ ['GPUBindGroupEntry', base_config_1.TYPE],
76
+ ['GPUBindGroupLayoutDescriptor', base_config_1.TYPE],
77
+ ['GPUBindGroupLayoutEntry', base_config_1.TYPE],
78
+ ['GPUBlendComponent', base_config_1.TYPE],
79
+ ['GPUBlendState', base_config_1.TYPE],
80
+ ['GPUBufferBinding', base_config_1.TYPE],
81
+ ['GPUBufferBindingLayout', base_config_1.TYPE],
82
+ ['GPUBufferDescriptor', base_config_1.TYPE],
83
+ ['GPUCanvasConfiguration', base_config_1.TYPE],
84
+ ['GPUCanvasToneMapping', base_config_1.TYPE],
85
+ ['GPUColorDict', base_config_1.TYPE],
86
+ ['GPUColorTargetState', base_config_1.TYPE],
87
+ ['GPUCommandBufferDescriptor', base_config_1.TYPE],
88
+ ['GPUCommandEncoderDescriptor', base_config_1.TYPE],
89
+ ['GPUComputePassDescriptor', base_config_1.TYPE],
90
+ ['GPUComputePassTimestampWrites', base_config_1.TYPE],
91
+ ['GPUComputePipelineDescriptor', base_config_1.TYPE],
92
+ ['GPUCopyExternalImageDestInfo', base_config_1.TYPE],
93
+ ['GPUCopyExternalImageSourceInfo', base_config_1.TYPE],
94
+ ['GPUDepthStencilState', base_config_1.TYPE],
95
+ ['GPUDeviceDescriptor', base_config_1.TYPE],
96
+ ['GPUExtent3DDict', base_config_1.TYPE],
97
+ ['GPUExternalTextureBindingLayout', base_config_1.TYPE],
98
+ ['GPUExternalTextureDescriptor', base_config_1.TYPE],
99
+ ['GPUFragmentState', base_config_1.TYPE],
100
+ ['GPUMultisampleState', base_config_1.TYPE],
101
+ ['GPUObjectDescriptorBase', base_config_1.TYPE],
102
+ ['GPUOrigin2DDict', base_config_1.TYPE],
103
+ ['GPUOrigin3DDict', base_config_1.TYPE],
104
+ ['GPUPipelineDescriptorBase', base_config_1.TYPE],
105
+ ['GPUPipelineErrorInit', base_config_1.TYPE],
106
+ ['GPUPipelineLayoutDescriptor', base_config_1.TYPE],
107
+ ['GPUPrimitiveState', base_config_1.TYPE],
108
+ ['GPUProgrammableStage', base_config_1.TYPE],
109
+ ['GPUQuerySetDescriptor', base_config_1.TYPE],
110
+ ['GPUQueueDescriptor', base_config_1.TYPE],
111
+ ['GPURenderBundleDescriptor', base_config_1.TYPE],
112
+ ['GPURenderBundleEncoderDescriptor', base_config_1.TYPE],
113
+ ['GPURenderPassColorAttachment', base_config_1.TYPE],
114
+ ['GPURenderPassDepthStencilAttachment', base_config_1.TYPE],
115
+ ['GPURenderPassDescriptor', base_config_1.TYPE],
116
+ ['GPURenderPassLayout', base_config_1.TYPE],
117
+ ['GPURenderPassTimestampWrites', base_config_1.TYPE],
118
+ ['GPURenderPipelineDescriptor', base_config_1.TYPE],
119
+ ['GPURequestAdapterOptions', base_config_1.TYPE],
120
+ ['GPUSamplerBindingLayout', base_config_1.TYPE],
121
+ ['GPUSamplerDescriptor', base_config_1.TYPE],
122
+ ['GPUShaderModuleDescriptor', base_config_1.TYPE],
123
+ ['GPUStencilFaceState', base_config_1.TYPE],
124
+ ['GPUStorageTextureBindingLayout', base_config_1.TYPE],
125
+ ['GPUTexelCopyBufferInfo', base_config_1.TYPE],
126
+ ['GPUTexelCopyBufferLayout', base_config_1.TYPE],
127
+ ['GPUTexelCopyTextureInfo', base_config_1.TYPE],
128
+ ['GPUTextureBindingLayout', base_config_1.TYPE],
129
+ ['GPUTextureDescriptor', base_config_1.TYPE],
130
+ ['GPUTextureViewDescriptor', base_config_1.TYPE],
131
+ ['GPUUncapturedErrorEventInit', base_config_1.TYPE],
132
+ ['GPUVertexAttribute', base_config_1.TYPE],
133
+ ['GPUVertexBufferLayout', base_config_1.TYPE],
134
+ ['GPUVertexState', base_config_1.TYPE],
135
+ ['GetNotificationOptions', base_config_1.TYPE],
136
+ ['HkdfParams', base_config_1.TYPE],
137
+ ['HmacImportParams', base_config_1.TYPE],
138
+ ['HmacKeyGenParams', base_config_1.TYPE],
139
+ ['IDBDatabaseInfo', base_config_1.TYPE],
140
+ ['IDBIndexParameters', base_config_1.TYPE],
141
+ ['IDBObjectStoreParameters', base_config_1.TYPE],
142
+ ['IDBTransactionOptions', base_config_1.TYPE],
143
+ ['IDBVersionChangeEventInit', base_config_1.TYPE],
144
+ ['ImageBitmapOptions', base_config_1.TYPE],
145
+ ['ImageBitmapRenderingContextSettings', base_config_1.TYPE],
146
+ ['ImageDataSettings', base_config_1.TYPE],
147
+ ['ImageDecodeOptions', base_config_1.TYPE],
148
+ ['ImageDecodeResult', base_config_1.TYPE],
149
+ ['ImageDecoderInit', base_config_1.TYPE],
150
+ ['ImageEncodeOptions', base_config_1.TYPE],
151
+ ['JsonWebKey', base_config_1.TYPE],
152
+ ['KeyAlgorithm', base_config_1.TYPE],
153
+ ['KeySystemTrackConfiguration', base_config_1.TYPE],
154
+ ['LockInfo', base_config_1.TYPE],
155
+ ['LockManagerSnapshot', base_config_1.TYPE],
156
+ ['LockOptions', base_config_1.TYPE],
157
+ ['MediaCapabilitiesDecodingInfo', base_config_1.TYPE],
158
+ ['MediaCapabilitiesEncodingInfo', base_config_1.TYPE],
159
+ ['MediaCapabilitiesInfo', base_config_1.TYPE],
160
+ ['MediaCapabilitiesKeySystemConfiguration', base_config_1.TYPE],
161
+ ['MediaConfiguration', base_config_1.TYPE],
162
+ ['MediaDecodingConfiguration', base_config_1.TYPE],
163
+ ['MediaEncodingConfiguration', base_config_1.TYPE],
164
+ ['MediaStreamTrackProcessorInit', base_config_1.TYPE],
165
+ ['MessageEventInit', base_config_1.TYPE],
166
+ ['MultiCacheQueryOptions', base_config_1.TYPE],
167
+ ['NavigationPreloadState', base_config_1.TYPE],
168
+ ['NotificationEventInit', base_config_1.TYPE],
169
+ ['NotificationOptions', base_config_1.TYPE],
170
+ ['OpusEncoderConfig', base_config_1.TYPE],
171
+ ['Pbkdf2Params', base_config_1.TYPE],
172
+ ['PerformanceMarkOptions', base_config_1.TYPE],
173
+ ['PerformanceMeasureOptions', base_config_1.TYPE],
174
+ ['PerformanceObserverInit', base_config_1.TYPE],
175
+ ['PermissionDescriptor', base_config_1.TYPE],
176
+ ['PlaneLayout', base_config_1.TYPE],
177
+ ['ProgressEventInit', base_config_1.TYPE],
178
+ ['PromiseRejectionEventInit', base_config_1.TYPE],
179
+ ['PushEventInit', base_config_1.TYPE],
180
+ ['PushSubscriptionChangeEventInit', base_config_1.TYPE],
181
+ ['PushSubscriptionJSON', base_config_1.TYPE],
182
+ ['PushSubscriptionOptionsInit', base_config_1.TYPE],
183
+ ['QueuingStrategy', base_config_1.TYPE],
184
+ ['QueuingStrategyInit', base_config_1.TYPE],
185
+ ['RTCEncodedAudioFrameMetadata', base_config_1.TYPE],
186
+ ['RTCEncodedFrameMetadata', base_config_1.TYPE],
187
+ ['RTCEncodedVideoFrameMetadata', base_config_1.TYPE],
188
+ ['ReadableStreamBYOBReaderReadOptions', base_config_1.TYPE],
189
+ ['ReadableStreamGetReaderOptions', base_config_1.TYPE],
190
+ ['ReadableStreamIteratorOptions', base_config_1.TYPE],
191
+ ['ReadableStreamReadDoneResult', base_config_1.TYPE],
192
+ ['ReadableStreamReadValueResult', base_config_1.TYPE],
193
+ ['ReadableWritablePair', base_config_1.TYPE],
194
+ ['RegistrationOptions', base_config_1.TYPE],
195
+ ['Report', base_config_1.TYPE],
196
+ ['ReportBody', base_config_1.TYPE],
197
+ ['ReportingObserverOptions', base_config_1.TYPE],
198
+ ['RequestInit', base_config_1.TYPE],
199
+ ['ResponseInit', base_config_1.TYPE],
200
+ ['RsaHashedImportParams', base_config_1.TYPE],
201
+ ['RsaHashedKeyGenParams', base_config_1.TYPE],
202
+ ['RsaKeyGenParams', base_config_1.TYPE],
203
+ ['RsaOaepParams', base_config_1.TYPE],
204
+ ['RsaOtherPrimesInfo', base_config_1.TYPE],
205
+ ['RsaPssParams', base_config_1.TYPE],
206
+ ['SchedulerPostTaskOptions', base_config_1.TYPE],
207
+ ['SecurityPolicyViolationEventInit', base_config_1.TYPE],
208
+ ['StorageEstimate', base_config_1.TYPE],
209
+ ['StreamPipeOptions', base_config_1.TYPE],
210
+ ['StructuredSerializeOptions', base_config_1.TYPE],
211
+ ['SvcOutputMetadata', base_config_1.TYPE],
212
+ ['TaskControllerInit', base_config_1.TYPE],
213
+ ['TaskPriorityChangeEventInit', base_config_1.TYPE],
214
+ ['TaskSignalAnyInit', base_config_1.TYPE],
215
+ ['TextDecodeOptions', base_config_1.TYPE],
216
+ ['TextDecoderOptions', base_config_1.TYPE],
217
+ ['TextEncoderEncodeIntoResult', base_config_1.TYPE],
218
+ ['Transformer', base_config_1.TYPE],
219
+ ['URLPatternComponentResult', base_config_1.TYPE],
220
+ ['URLPatternInit', base_config_1.TYPE],
221
+ ['URLPatternOptions', base_config_1.TYPE],
222
+ ['URLPatternResult', base_config_1.TYPE],
223
+ ['UnderlyingByteSource', base_config_1.TYPE],
224
+ ['UnderlyingDefaultSource', base_config_1.TYPE],
225
+ ['UnderlyingSink', base_config_1.TYPE],
226
+ ['UnderlyingSource', base_config_1.TYPE],
227
+ ['VideoColorSpaceInit', base_config_1.TYPE],
228
+ ['VideoConfiguration', base_config_1.TYPE],
229
+ ['VideoDecoderConfig', base_config_1.TYPE],
230
+ ['VideoDecoderInit', base_config_1.TYPE],
231
+ ['VideoDecoderSupport', base_config_1.TYPE],
232
+ ['VideoEncoderConfig', base_config_1.TYPE],
233
+ ['VideoEncoderEncodeOptions', base_config_1.TYPE],
234
+ ['VideoEncoderEncodeOptionsForAvc', base_config_1.TYPE],
235
+ ['VideoEncoderInit', base_config_1.TYPE],
236
+ ['VideoEncoderSupport', base_config_1.TYPE],
237
+ ['VideoFrameBufferInit', base_config_1.TYPE],
238
+ ['VideoFrameCopyToOptions', base_config_1.TYPE],
239
+ ['VideoFrameInit', base_config_1.TYPE],
240
+ ['WebGLContextAttributes', base_config_1.TYPE],
241
+ ['WebGLContextEventInit', base_config_1.TYPE],
242
+ ['WebTransportCloseInfo', base_config_1.TYPE],
243
+ ['WebTransportErrorOptions', base_config_1.TYPE],
244
+ ['WebTransportHash', base_config_1.TYPE],
245
+ ['WebTransportOptions', base_config_1.TYPE],
246
+ ['WebTransportSendOptions', base_config_1.TYPE],
247
+ ['WebTransportSendStreamOptions', base_config_1.TYPE],
248
+ ['WorkerOptions', base_config_1.TYPE],
249
+ ['WriteParams', base_config_1.TYPE],
250
+ ['ANGLE_instanced_arrays', base_config_1.TYPE],
251
+ ['AbortController', base_config_1.TYPE_VALUE],
252
+ ['AbortSignalEventMap', base_config_1.TYPE],
253
+ ['AbortSignal', base_config_1.TYPE_VALUE],
254
+ ['AbstractWorkerEventMap', base_config_1.TYPE],
255
+ ['AbstractWorker', base_config_1.TYPE],
256
+ ['AnimationFrameProvider', base_config_1.TYPE],
257
+ ['AudioData', base_config_1.TYPE_VALUE],
258
+ ['AudioDecoderEventMap', base_config_1.TYPE],
259
+ ['AudioDecoder', base_config_1.TYPE_VALUE],
260
+ ['AudioEncoderEventMap', base_config_1.TYPE],
261
+ ['AudioEncoder', base_config_1.TYPE_VALUE],
262
+ ['Blob', base_config_1.TYPE_VALUE],
263
+ ['Body', base_config_1.TYPE],
264
+ ['BroadcastChannelEventMap', base_config_1.TYPE],
265
+ ['BroadcastChannel', base_config_1.TYPE_VALUE],
266
+ ['ByteLengthQueuingStrategy', base_config_1.TYPE_VALUE],
267
+ ['CSSImageValue', base_config_1.TYPE_VALUE],
268
+ ['CSSKeywordValue', base_config_1.TYPE_VALUE],
269
+ ['CSSMathClamp', base_config_1.TYPE_VALUE],
270
+ ['CSSMathInvert', base_config_1.TYPE_VALUE],
271
+ ['CSSMathMax', base_config_1.TYPE_VALUE],
272
+ ['CSSMathMin', base_config_1.TYPE_VALUE],
273
+ ['CSSMathNegate', base_config_1.TYPE_VALUE],
274
+ ['CSSMathProduct', base_config_1.TYPE_VALUE],
275
+ ['CSSMathSum', base_config_1.TYPE_VALUE],
276
+ ['CSSMathValue', base_config_1.TYPE_VALUE],
277
+ ['CSSMatrixComponent', base_config_1.TYPE_VALUE],
278
+ ['CSSNumericArray', base_config_1.TYPE_VALUE],
279
+ ['CSSNumericValue', base_config_1.TYPE_VALUE],
280
+ ['CSSPerspective', base_config_1.TYPE_VALUE],
281
+ ['CSSRotate', base_config_1.TYPE_VALUE],
282
+ ['CSSScale', base_config_1.TYPE_VALUE],
283
+ ['CSSSkew', base_config_1.TYPE_VALUE],
284
+ ['CSSSkewX', base_config_1.TYPE_VALUE],
285
+ ['CSSSkewY', base_config_1.TYPE_VALUE],
286
+ ['CSSStyleValue', base_config_1.TYPE_VALUE],
287
+ ['CSSTransformComponent', base_config_1.TYPE_VALUE],
288
+ ['CSSTransformValue', base_config_1.TYPE_VALUE],
289
+ ['CSSTranslate', base_config_1.TYPE_VALUE],
290
+ ['CSSUnitValue', base_config_1.TYPE_VALUE],
291
+ ['CSSUnparsedValue', base_config_1.TYPE_VALUE],
292
+ ['CSSVariableReferenceValue', base_config_1.TYPE_VALUE],
293
+ ['Cache', base_config_1.TYPE_VALUE],
294
+ ['CacheStorage', base_config_1.TYPE_VALUE],
295
+ ['CanvasCompositing', base_config_1.TYPE],
296
+ ['CanvasDrawImage', base_config_1.TYPE],
297
+ ['CanvasDrawPath', base_config_1.TYPE],
298
+ ['CanvasFillStrokeStyles', base_config_1.TYPE],
299
+ ['CanvasFilters', base_config_1.TYPE],
300
+ ['CanvasGradient', base_config_1.TYPE_VALUE],
301
+ ['CanvasImageData', base_config_1.TYPE],
302
+ ['CanvasImageSmoothing', base_config_1.TYPE],
303
+ ['CanvasPath', base_config_1.TYPE],
304
+ ['CanvasPathDrawingStyles', base_config_1.TYPE],
305
+ ['CanvasPattern', base_config_1.TYPE_VALUE],
306
+ ['CanvasRect', base_config_1.TYPE],
307
+ ['CanvasShadowStyles', base_config_1.TYPE],
308
+ ['CanvasState', base_config_1.TYPE],
309
+ ['CanvasText', base_config_1.TYPE],
310
+ ['CanvasTextDrawingStyles', base_config_1.TYPE],
311
+ ['CanvasTransform', base_config_1.TYPE],
312
+ ['Client', base_config_1.TYPE_VALUE],
313
+ ['Clients', base_config_1.TYPE_VALUE],
314
+ ['CloseEvent', base_config_1.TYPE_VALUE],
315
+ ['CompressionStream', base_config_1.TYPE_VALUE],
316
+ ['CookieStore', base_config_1.TYPE_VALUE],
317
+ ['CookieStoreManager', base_config_1.TYPE_VALUE],
318
+ ['CountQueuingStrategy', base_config_1.TYPE_VALUE],
319
+ ['Crypto', base_config_1.TYPE_VALUE],
320
+ ['CryptoKey', base_config_1.TYPE_VALUE],
321
+ ['CustomEvent', base_config_1.TYPE_VALUE],
322
+ ['DOMException', base_config_1.TYPE_VALUE],
323
+ ['DOMMatrix', base_config_1.TYPE_VALUE],
324
+ ['DOMMatrixReadOnly', base_config_1.TYPE_VALUE],
325
+ ['DOMPoint', base_config_1.TYPE_VALUE],
326
+ ['DOMPointReadOnly', base_config_1.TYPE_VALUE],
327
+ ['DOMQuad', base_config_1.TYPE_VALUE],
328
+ ['DOMRect', base_config_1.TYPE_VALUE],
329
+ ['DOMRectReadOnly', base_config_1.TYPE_VALUE],
330
+ ['DOMStringList', base_config_1.TYPE_VALUE],
331
+ ['DecompressionStream', base_config_1.TYPE_VALUE],
332
+ ['DedicatedWorkerGlobalScopeEventMap', base_config_1.TYPE],
333
+ ['DedicatedWorkerGlobalScope', base_config_1.TYPE_VALUE],
334
+ ['EXT_blend_minmax', base_config_1.TYPE],
335
+ ['EXT_color_buffer_float', base_config_1.TYPE],
336
+ ['EXT_color_buffer_half_float', base_config_1.TYPE],
337
+ ['EXT_float_blend', base_config_1.TYPE],
338
+ ['EXT_frag_depth', base_config_1.TYPE],
339
+ ['EXT_sRGB', base_config_1.TYPE],
340
+ ['EXT_shader_texture_lod', base_config_1.TYPE],
341
+ ['EXT_texture_compression_bptc', base_config_1.TYPE],
342
+ ['EXT_texture_compression_rgtc', base_config_1.TYPE],
343
+ ['EXT_texture_filter_anisotropic', base_config_1.TYPE],
344
+ ['EXT_texture_norm16', base_config_1.TYPE],
345
+ ['EncodedAudioChunk', base_config_1.TYPE_VALUE],
346
+ ['EncodedVideoChunk', base_config_1.TYPE_VALUE],
347
+ ['ErrorEvent', base_config_1.TYPE_VALUE],
348
+ ['Event', base_config_1.TYPE_VALUE],
349
+ ['EventListener', base_config_1.TYPE],
350
+ ['EventListenerObject', base_config_1.TYPE],
351
+ ['EventSourceEventMap', base_config_1.TYPE],
352
+ ['EventSource', base_config_1.TYPE_VALUE],
353
+ ['EventTarget', base_config_1.TYPE_VALUE],
354
+ ['ExtendableCookieChangeEvent', base_config_1.TYPE_VALUE],
355
+ ['ExtendableEvent', base_config_1.TYPE_VALUE],
356
+ ['ExtendableMessageEvent', base_config_1.TYPE_VALUE],
357
+ ['FetchEvent', base_config_1.TYPE_VALUE],
358
+ ['File', base_config_1.TYPE_VALUE],
359
+ ['FileList', base_config_1.TYPE_VALUE],
360
+ ['FileReaderEventMap', base_config_1.TYPE],
361
+ ['FileReader', base_config_1.TYPE_VALUE],
362
+ ['FileReaderSync', base_config_1.TYPE_VALUE],
363
+ ['FileSystemDirectoryHandle', base_config_1.TYPE_VALUE],
364
+ ['FileSystemFileHandle', base_config_1.TYPE_VALUE],
365
+ ['FileSystemHandle', base_config_1.TYPE_VALUE],
366
+ ['FileSystemSyncAccessHandle', base_config_1.TYPE_VALUE],
367
+ ['FileSystemWritableFileStream', base_config_1.TYPE_VALUE],
368
+ ['FontFace', base_config_1.TYPE_VALUE],
369
+ ['FontFaceSetEventMap', base_config_1.TYPE],
370
+ ['FontFaceSet', base_config_1.TYPE_VALUE],
371
+ ['FontFaceSetLoadEvent', base_config_1.TYPE_VALUE],
372
+ ['FontFaceSource', base_config_1.TYPE],
373
+ ['FormData', base_config_1.TYPE_VALUE],
374
+ ['GPU', base_config_1.TYPE_VALUE],
375
+ ['GPUAdapter', base_config_1.TYPE_VALUE],
376
+ ['GPUAdapterInfo', base_config_1.TYPE_VALUE],
377
+ ['GPUBindGroup', base_config_1.TYPE_VALUE],
378
+ ['GPUBindGroupLayout', base_config_1.TYPE_VALUE],
379
+ ['GPUBindingCommandsMixin', base_config_1.TYPE],
380
+ ['GPUBuffer', base_config_1.TYPE_VALUE],
381
+ ['GPUCanvasContext', base_config_1.TYPE_VALUE],
382
+ ['GPUCommandBuffer', base_config_1.TYPE_VALUE],
383
+ ['GPUCommandEncoder', base_config_1.TYPE_VALUE],
384
+ ['GPUCompilationInfo', base_config_1.TYPE_VALUE],
385
+ ['GPUCompilationMessage', base_config_1.TYPE_VALUE],
386
+ ['GPUComputePassEncoder', base_config_1.TYPE_VALUE],
387
+ ['GPUComputePipeline', base_config_1.TYPE_VALUE],
388
+ ['GPUDebugCommandsMixin', base_config_1.TYPE],
389
+ ['GPUDeviceEventMap', base_config_1.TYPE],
390
+ ['GPUDevice', base_config_1.TYPE_VALUE],
391
+ ['GPUDeviceLostInfo', base_config_1.TYPE_VALUE],
392
+ ['GPUError', base_config_1.TYPE_VALUE],
393
+ ['GPUExternalTexture', base_config_1.TYPE_VALUE],
394
+ ['GPUInternalError', base_config_1.TYPE_VALUE],
395
+ ['GPUObjectBase', base_config_1.TYPE],
396
+ ['GPUOutOfMemoryError', base_config_1.TYPE_VALUE],
397
+ ['GPUPipelineBase', base_config_1.TYPE],
398
+ ['GPUPipelineError', base_config_1.TYPE_VALUE],
399
+ ['GPUPipelineLayout', base_config_1.TYPE_VALUE],
400
+ ['GPUQuerySet', base_config_1.TYPE_VALUE],
401
+ ['GPUQueue', base_config_1.TYPE_VALUE],
402
+ ['GPURenderBundle', base_config_1.TYPE_VALUE],
403
+ ['GPURenderBundleEncoder', base_config_1.TYPE_VALUE],
404
+ ['GPURenderCommandsMixin', base_config_1.TYPE],
405
+ ['GPURenderPassEncoder', base_config_1.TYPE_VALUE],
406
+ ['GPURenderPipeline', base_config_1.TYPE_VALUE],
407
+ ['GPUSampler', base_config_1.TYPE_VALUE],
408
+ ['GPUShaderModule', base_config_1.TYPE_VALUE],
409
+ ['GPUSupportedFeatures', base_config_1.TYPE_VALUE],
410
+ ['GPUSupportedLimits', base_config_1.TYPE_VALUE],
411
+ ['GPUTexture', base_config_1.TYPE_VALUE],
412
+ ['GPUTextureView', base_config_1.TYPE_VALUE],
413
+ ['GPUUncapturedErrorEvent', base_config_1.TYPE_VALUE],
414
+ ['GPUValidationError', base_config_1.TYPE_VALUE],
415
+ ['GenericTransformStream', base_config_1.TYPE],
416
+ ['Headers', base_config_1.TYPE_VALUE],
417
+ ['IDBCursor', base_config_1.TYPE_VALUE],
418
+ ['IDBCursorWithValue', base_config_1.TYPE_VALUE],
419
+ ['IDBDatabaseEventMap', base_config_1.TYPE],
420
+ ['IDBDatabase', base_config_1.TYPE_VALUE],
421
+ ['IDBFactory', base_config_1.TYPE_VALUE],
422
+ ['IDBIndex', base_config_1.TYPE_VALUE],
423
+ ['IDBKeyRange', base_config_1.TYPE_VALUE],
424
+ ['IDBObjectStore', base_config_1.TYPE_VALUE],
425
+ ['IDBOpenDBRequestEventMap', base_config_1.TYPE],
426
+ ['IDBOpenDBRequest', base_config_1.TYPE_VALUE],
427
+ ['IDBRequestEventMap', base_config_1.TYPE],
428
+ ['IDBRequest', base_config_1.TYPE_VALUE],
429
+ ['IDBTransactionEventMap', base_config_1.TYPE],
430
+ ['IDBTransaction', base_config_1.TYPE_VALUE],
431
+ ['IDBVersionChangeEvent', base_config_1.TYPE_VALUE],
432
+ ['ImageBitmap', base_config_1.TYPE_VALUE],
433
+ ['ImageBitmapRenderingContext', base_config_1.TYPE_VALUE],
434
+ ['ImageData', base_config_1.TYPE_VALUE],
435
+ ['ImageDecoder', base_config_1.TYPE_VALUE],
436
+ ['ImageTrack', base_config_1.TYPE_VALUE],
437
+ ['ImageTrackList', base_config_1.TYPE_VALUE],
438
+ ['ImportMeta', base_config_1.TYPE],
439
+ ['KHR_parallel_shader_compile', base_config_1.TYPE],
440
+ ['Lock', base_config_1.TYPE_VALUE],
441
+ ['LockManager', base_config_1.TYPE_VALUE],
442
+ ['MediaCapabilities', base_config_1.TYPE_VALUE],
443
+ ['MediaSourceHandle', base_config_1.TYPE_VALUE],
444
+ ['MediaStreamTrackProcessor', base_config_1.TYPE_VALUE],
445
+ ['MessageChannel', base_config_1.TYPE_VALUE],
446
+ ['MessageEvent', base_config_1.TYPE_VALUE],
447
+ ['MessageEventTargetEventMap', base_config_1.TYPE],
448
+ ['MessageEventTarget', base_config_1.TYPE],
449
+ ['MessagePortEventMap', base_config_1.TYPE],
450
+ ['MessagePort', base_config_1.TYPE_VALUE],
451
+ ['NavigationPreloadManager', base_config_1.TYPE_VALUE],
452
+ ['NavigatorBadge', base_config_1.TYPE],
453
+ ['NavigatorConcurrentHardware', base_config_1.TYPE],
454
+ ['NavigatorGPU', base_config_1.TYPE],
455
+ ['NavigatorID', base_config_1.TYPE],
456
+ ['NavigatorLanguage', base_config_1.TYPE],
457
+ ['NavigatorLocks', base_config_1.TYPE],
458
+ ['NavigatorOnLine', base_config_1.TYPE],
459
+ ['NavigatorStorage', base_config_1.TYPE],
460
+ ['NotificationEventMap', base_config_1.TYPE],
461
+ ['Notification', base_config_1.TYPE_VALUE],
462
+ ['NotificationEvent', base_config_1.TYPE_VALUE],
463
+ ['OES_draw_buffers_indexed', base_config_1.TYPE],
464
+ ['OES_element_index_uint', base_config_1.TYPE],
465
+ ['OES_fbo_render_mipmap', base_config_1.TYPE],
466
+ ['OES_standard_derivatives', base_config_1.TYPE],
467
+ ['OES_texture_float', base_config_1.TYPE],
468
+ ['OES_texture_float_linear', base_config_1.TYPE],
469
+ ['OES_texture_half_float', base_config_1.TYPE],
470
+ ['OES_texture_half_float_linear', base_config_1.TYPE],
471
+ ['OES_vertex_array_object', base_config_1.TYPE],
472
+ ['OVR_multiview2', base_config_1.TYPE],
473
+ ['OffscreenCanvasEventMap', base_config_1.TYPE],
474
+ ['OffscreenCanvas', base_config_1.TYPE_VALUE],
475
+ ['OffscreenCanvasRenderingContext2D', base_config_1.TYPE_VALUE],
476
+ ['Path2D', base_config_1.TYPE_VALUE],
477
+ ['PerformanceEventMap', base_config_1.TYPE],
478
+ ['Performance', base_config_1.TYPE_VALUE],
479
+ ['PerformanceEntry', base_config_1.TYPE_VALUE],
480
+ ['PerformanceMark', base_config_1.TYPE_VALUE],
481
+ ['PerformanceMeasure', base_config_1.TYPE_VALUE],
482
+ ['PerformanceObserver', base_config_1.TYPE_VALUE],
483
+ ['PerformanceObserverEntryList', base_config_1.TYPE_VALUE],
484
+ ['PerformanceResourceTiming', base_config_1.TYPE_VALUE],
485
+ ['PerformanceServerTiming', base_config_1.TYPE_VALUE],
486
+ ['PermissionStatusEventMap', base_config_1.TYPE],
487
+ ['PermissionStatus', base_config_1.TYPE_VALUE],
488
+ ['Permissions', base_config_1.TYPE_VALUE],
489
+ ['ProgressEvent', base_config_1.TYPE_VALUE],
490
+ ['PromiseRejectionEvent', base_config_1.TYPE_VALUE],
491
+ ['PushEvent', base_config_1.TYPE_VALUE],
492
+ ['PushManager', base_config_1.TYPE_VALUE],
493
+ ['PushManagerAttribute', base_config_1.TYPE],
494
+ ['PushMessageData', base_config_1.TYPE_VALUE],
495
+ ['PushSubscription', base_config_1.TYPE_VALUE],
496
+ ['PushSubscriptionChangeEvent', base_config_1.TYPE_VALUE],
497
+ ['PushSubscriptionOptions', base_config_1.TYPE_VALUE],
498
+ ['RTCDataChannelEventMap', base_config_1.TYPE],
499
+ ['RTCDataChannel', base_config_1.TYPE_VALUE],
500
+ ['RTCEncodedAudioFrame', base_config_1.TYPE_VALUE],
501
+ ['RTCEncodedVideoFrame', base_config_1.TYPE_VALUE],
502
+ ['RTCRtpScriptTransformer', base_config_1.TYPE_VALUE],
503
+ ['RTCTransformEvent', base_config_1.TYPE_VALUE],
504
+ ['ReadableByteStreamController', base_config_1.TYPE_VALUE],
505
+ ['ReadableStream', base_config_1.TYPE_VALUE],
506
+ ['ReadableStreamBYOBReader', base_config_1.TYPE_VALUE],
507
+ ['ReadableStreamBYOBRequest', base_config_1.TYPE_VALUE],
508
+ ['ReadableStreamDefaultController', base_config_1.TYPE_VALUE],
509
+ ['ReadableStreamDefaultReader', base_config_1.TYPE_VALUE],
510
+ ['ReadableStreamGenericReader', base_config_1.TYPE],
511
+ ['ReportingObserver', base_config_1.TYPE_VALUE],
512
+ ['Request', base_config_1.TYPE_VALUE],
513
+ ['Response', base_config_1.TYPE_VALUE],
514
+ ['Scheduler', base_config_1.TYPE_VALUE],
515
+ ['SecurityPolicyViolationEvent', base_config_1.TYPE_VALUE],
516
+ ['ServiceWorkerEventMap', base_config_1.TYPE],
517
+ ['ServiceWorker', base_config_1.TYPE_VALUE],
518
+ ['ServiceWorkerContainerEventMap', base_config_1.TYPE],
519
+ ['ServiceWorkerContainer', base_config_1.TYPE_VALUE],
520
+ ['ServiceWorkerGlobalScopeEventMap', base_config_1.TYPE],
521
+ ['ServiceWorkerGlobalScope', base_config_1.TYPE_VALUE],
522
+ ['ServiceWorkerRegistrationEventMap', base_config_1.TYPE],
523
+ ['ServiceWorkerRegistration', base_config_1.TYPE_VALUE],
524
+ ['SharedWorkerGlobalScopeEventMap', base_config_1.TYPE],
525
+ ['SharedWorkerGlobalScope', base_config_1.TYPE_VALUE],
526
+ ['StorageManager', base_config_1.TYPE_VALUE],
527
+ ['StylePropertyMapReadOnly', base_config_1.TYPE_VALUE],
528
+ ['SubtleCrypto', base_config_1.TYPE_VALUE],
529
+ ['TaskController', base_config_1.TYPE_VALUE],
530
+ ['TaskPriorityChangeEvent', base_config_1.TYPE_VALUE],
531
+ ['TaskSignalEventMap', base_config_1.TYPE],
532
+ ['TaskSignal', base_config_1.TYPE_VALUE],
533
+ ['TextDecoder', base_config_1.TYPE_VALUE],
534
+ ['TextDecoderCommon', base_config_1.TYPE],
535
+ ['TextDecoderStream', base_config_1.TYPE_VALUE],
536
+ ['TextEncoder', base_config_1.TYPE_VALUE],
537
+ ['TextEncoderCommon', base_config_1.TYPE],
538
+ ['TextEncoderStream', base_config_1.TYPE_VALUE],
539
+ ['TextMetrics', base_config_1.TYPE_VALUE],
540
+ ['TransformStream', base_config_1.TYPE_VALUE],
541
+ ['TransformStreamDefaultController', base_config_1.TYPE_VALUE],
542
+ ['URL', base_config_1.TYPE_VALUE],
543
+ ['URLPattern', base_config_1.TYPE_VALUE],
544
+ ['URLSearchParams', base_config_1.TYPE_VALUE],
545
+ ['VideoColorSpace', base_config_1.TYPE_VALUE],
546
+ ['VideoDecoderEventMap', base_config_1.TYPE],
547
+ ['VideoDecoder', base_config_1.TYPE_VALUE],
548
+ ['VideoEncoderEventMap', base_config_1.TYPE],
549
+ ['VideoEncoder', base_config_1.TYPE_VALUE],
550
+ ['VideoFrame', base_config_1.TYPE_VALUE],
551
+ ['WEBGL_color_buffer_float', base_config_1.TYPE],
552
+ ['WEBGL_compressed_texture_astc', base_config_1.TYPE],
553
+ ['WEBGL_compressed_texture_etc', base_config_1.TYPE],
554
+ ['WEBGL_compressed_texture_etc1', base_config_1.TYPE],
555
+ ['WEBGL_compressed_texture_pvrtc', base_config_1.TYPE],
556
+ ['WEBGL_compressed_texture_s3tc', base_config_1.TYPE],
557
+ ['WEBGL_compressed_texture_s3tc_srgb', base_config_1.TYPE],
558
+ ['WEBGL_debug_renderer_info', base_config_1.TYPE],
559
+ ['WEBGL_debug_shaders', base_config_1.TYPE],
560
+ ['WEBGL_depth_texture', base_config_1.TYPE],
561
+ ['WEBGL_draw_buffers', base_config_1.TYPE],
562
+ ['WEBGL_lose_context', base_config_1.TYPE],
563
+ ['WEBGL_multi_draw', base_config_1.TYPE],
564
+ ['WGSLLanguageFeatures', base_config_1.TYPE_VALUE],
565
+ ['WebGL2RenderingContext', base_config_1.TYPE_VALUE],
566
+ ['WebGL2RenderingContextBase', base_config_1.TYPE],
567
+ ['WebGL2RenderingContextOverloads', base_config_1.TYPE],
568
+ ['WebGLActiveInfo', base_config_1.TYPE_VALUE],
569
+ ['WebGLBuffer', base_config_1.TYPE_VALUE],
570
+ ['WebGLContextEvent', base_config_1.TYPE_VALUE],
571
+ ['WebGLFramebuffer', base_config_1.TYPE_VALUE],
572
+ ['WebGLProgram', base_config_1.TYPE_VALUE],
573
+ ['WebGLQuery', base_config_1.TYPE_VALUE],
574
+ ['WebGLRenderbuffer', base_config_1.TYPE_VALUE],
575
+ ['WebGLRenderingContext', base_config_1.TYPE_VALUE],
576
+ ['WebGLRenderingContextBase', base_config_1.TYPE],
577
+ ['WebGLRenderingContextOverloads', base_config_1.TYPE],
578
+ ['WebGLSampler', base_config_1.TYPE_VALUE],
579
+ ['WebGLShader', base_config_1.TYPE_VALUE],
580
+ ['WebGLShaderPrecisionFormat', base_config_1.TYPE_VALUE],
581
+ ['WebGLSync', base_config_1.TYPE_VALUE],
582
+ ['WebGLTexture', base_config_1.TYPE_VALUE],
583
+ ['WebGLTransformFeedback', base_config_1.TYPE_VALUE],
584
+ ['WebGLUniformLocation', base_config_1.TYPE_VALUE],
585
+ ['WebGLVertexArrayObject', base_config_1.TYPE_VALUE],
586
+ ['WebGLVertexArrayObjectOES', base_config_1.TYPE],
587
+ ['WebSocketEventMap', base_config_1.TYPE],
588
+ ['WebSocket', base_config_1.TYPE_VALUE],
589
+ ['WebTransport', base_config_1.TYPE_VALUE],
590
+ ['WebTransportBidirectionalStream', base_config_1.TYPE_VALUE],
591
+ ['WebTransportDatagramDuplexStream', base_config_1.TYPE_VALUE],
592
+ ['WebTransportError', base_config_1.TYPE_VALUE],
593
+ ['WindowClient', base_config_1.TYPE_VALUE],
594
+ ['WindowOrWorkerGlobalScope', base_config_1.TYPE],
595
+ ['WorkerEventMap', base_config_1.TYPE],
596
+ ['Worker', base_config_1.TYPE_VALUE],
597
+ ['WorkerGlobalScopeEventMap', base_config_1.TYPE],
598
+ ['WorkerGlobalScope', base_config_1.TYPE_VALUE],
599
+ ['WorkerLocation', base_config_1.TYPE_VALUE],
600
+ ['WorkerNavigator', base_config_1.TYPE_VALUE],
601
+ ['WritableStream', base_config_1.TYPE_VALUE],
602
+ ['WritableStreamDefaultController', base_config_1.TYPE_VALUE],
603
+ ['WritableStreamDefaultWriter', base_config_1.TYPE_VALUE],
604
+ ['XMLHttpRequestEventMap', base_config_1.TYPE],
605
+ ['XMLHttpRequest', base_config_1.TYPE_VALUE],
606
+ ['XMLHttpRequestEventTargetEventMap', base_config_1.TYPE],
607
+ ['XMLHttpRequestEventTarget', base_config_1.TYPE_VALUE],
608
+ ['XMLHttpRequestUpload', base_config_1.TYPE_VALUE],
609
+ ['WebAssembly', base_config_1.TYPE_VALUE],
610
+ ['Console', base_config_1.TYPE],
611
+ ['AudioDataOutputCallback', base_config_1.TYPE],
612
+ ['EncodedAudioChunkOutputCallback', base_config_1.TYPE],
613
+ ['EncodedVideoChunkOutputCallback', base_config_1.TYPE],
614
+ ['FrameRequestCallback', base_config_1.TYPE],
615
+ ['LockGrantedCallback', base_config_1.TYPE],
616
+ ['OnErrorEventHandlerNonNull', base_config_1.TYPE],
617
+ ['PerformanceObserverCallback', base_config_1.TYPE],
618
+ ['QueuingStrategySize', base_config_1.TYPE],
619
+ ['ReportingObserverCallback', base_config_1.TYPE],
620
+ ['SchedulerPostTaskCallback', base_config_1.TYPE],
621
+ ['TransformerFlushCallback', base_config_1.TYPE],
622
+ ['TransformerStartCallback', base_config_1.TYPE],
623
+ ['TransformerTransformCallback', base_config_1.TYPE],
624
+ ['UnderlyingSinkAbortCallback', base_config_1.TYPE],
625
+ ['UnderlyingSinkCloseCallback', base_config_1.TYPE],
626
+ ['UnderlyingSinkStartCallback', base_config_1.TYPE],
627
+ ['UnderlyingSinkWriteCallback', base_config_1.TYPE],
628
+ ['UnderlyingSourceCancelCallback', base_config_1.TYPE],
629
+ ['UnderlyingSourcePullCallback', base_config_1.TYPE],
630
+ ['UnderlyingSourceStartCallback', base_config_1.TYPE],
631
+ ['VideoFrameOutputCallback', base_config_1.TYPE],
632
+ ['VoidFunction', base_config_1.TYPE],
633
+ ['WebCodecsErrorCallback', base_config_1.TYPE],
634
+ ['AlgorithmIdentifier', base_config_1.TYPE],
635
+ ['AllowSharedBufferSource', base_config_1.TYPE],
636
+ ['BigInteger', base_config_1.TYPE],
637
+ ['BlobPart', base_config_1.TYPE],
638
+ ['BodyInit', base_config_1.TYPE],
639
+ ['BufferSource', base_config_1.TYPE],
640
+ ['CSSKeywordish', base_config_1.TYPE],
641
+ ['CSSNumberish', base_config_1.TYPE],
642
+ ['CSSPerspectiveValue', base_config_1.TYPE],
643
+ ['CSSUnparsedSegment', base_config_1.TYPE],
644
+ ['CanvasImageSource', base_config_1.TYPE],
645
+ ['CookieList', base_config_1.TYPE],
646
+ ['DOMHighResTimeStamp', base_config_1.TYPE],
647
+ ['EpochTimeStamp', base_config_1.TYPE],
648
+ ['EventListenerOrEventListenerObject', base_config_1.TYPE],
649
+ ['FileSystemWriteChunkType', base_config_1.TYPE],
650
+ ['Float32List', base_config_1.TYPE],
651
+ ['FormDataEntryValue', base_config_1.TYPE],
652
+ ['GLbitfield', base_config_1.TYPE],
653
+ ['GLboolean', base_config_1.TYPE],
654
+ ['GLclampf', base_config_1.TYPE],
655
+ ['GLenum', base_config_1.TYPE],
656
+ ['GLfloat', base_config_1.TYPE],
657
+ ['GLint', base_config_1.TYPE],
658
+ ['GLint64', base_config_1.TYPE],
659
+ ['GLintptr', base_config_1.TYPE],
660
+ ['GLsizei', base_config_1.TYPE],
661
+ ['GLsizeiptr', base_config_1.TYPE],
662
+ ['GLuint', base_config_1.TYPE],
663
+ ['GLuint64', base_config_1.TYPE],
664
+ ['GPUBindingResource', base_config_1.TYPE],
665
+ ['GPUBufferDynamicOffset', base_config_1.TYPE],
666
+ ['GPUBufferUsageFlags', base_config_1.TYPE],
667
+ ['GPUColor', base_config_1.TYPE],
668
+ ['GPUColorWriteFlags', base_config_1.TYPE],
669
+ ['GPUCopyExternalImageSource', base_config_1.TYPE],
670
+ ['GPUDepthBias', base_config_1.TYPE],
671
+ ['GPUExtent3D', base_config_1.TYPE],
672
+ ['GPUFlagsConstant', base_config_1.TYPE],
673
+ ['GPUIndex32', base_config_1.TYPE],
674
+ ['GPUIntegerCoordinate', base_config_1.TYPE],
675
+ ['GPUIntegerCoordinateOut', base_config_1.TYPE],
676
+ ['GPUMapModeFlags', base_config_1.TYPE],
677
+ ['GPUOrigin2D', base_config_1.TYPE],
678
+ ['GPUOrigin3D', base_config_1.TYPE],
679
+ ['GPUPipelineConstantValue', base_config_1.TYPE],
680
+ ['GPUSampleMask', base_config_1.TYPE],
681
+ ['GPUShaderStageFlags', base_config_1.TYPE],
682
+ ['GPUSignedOffset32', base_config_1.TYPE],
683
+ ['GPUSize32', base_config_1.TYPE],
684
+ ['GPUSize32Out', base_config_1.TYPE],
685
+ ['GPUSize64', base_config_1.TYPE],
686
+ ['GPUSize64Out', base_config_1.TYPE],
687
+ ['GPUStencilValue', base_config_1.TYPE],
688
+ ['GPUTextureUsageFlags', base_config_1.TYPE],
689
+ ['HashAlgorithmIdentifier', base_config_1.TYPE],
690
+ ['HeadersInit', base_config_1.TYPE],
691
+ ['IDBValidKey', base_config_1.TYPE],
692
+ ['ImageBitmapSource', base_config_1.TYPE],
693
+ ['ImageBufferSource', base_config_1.TYPE],
694
+ ['ImageDataArray', base_config_1.TYPE],
695
+ ['Int32List', base_config_1.TYPE],
696
+ ['MessageEventSource', base_config_1.TYPE],
697
+ ['NamedCurve', base_config_1.TYPE],
698
+ ['OffscreenRenderingContext', base_config_1.TYPE],
699
+ ['OnErrorEventHandler', base_config_1.TYPE],
700
+ ['PerformanceEntryList', base_config_1.TYPE],
701
+ ['PushMessageDataInit', base_config_1.TYPE],
702
+ ['ReadableStreamController', base_config_1.TYPE],
703
+ ['ReadableStreamReadResult', base_config_1.TYPE],
704
+ ['ReadableStreamReader', base_config_1.TYPE],
705
+ ['ReportList', base_config_1.TYPE],
706
+ ['RequestInfo', base_config_1.TYPE],
707
+ ['TexImageSource', base_config_1.TYPE],
708
+ ['TimerHandler', base_config_1.TYPE],
709
+ ['Transferable', base_config_1.TYPE],
710
+ ['URLPatternInput', base_config_1.TYPE],
711
+ ['Uint32List', base_config_1.TYPE],
712
+ ['XMLHttpRequestBodyInit', base_config_1.TYPE],
713
+ ['AacBitstreamFormat', base_config_1.TYPE],
714
+ ['AlphaOption', base_config_1.TYPE],
715
+ ['AudioSampleFormat', base_config_1.TYPE],
716
+ ['AvcBitstreamFormat', base_config_1.TYPE],
717
+ ['BinaryType', base_config_1.TYPE],
718
+ ['BitrateMode', base_config_1.TYPE],
719
+ ['CSSMathOperator', base_config_1.TYPE],
720
+ ['CSSNumericBaseType', base_config_1.TYPE],
721
+ ['CanvasDirection', base_config_1.TYPE],
722
+ ['CanvasFillRule', base_config_1.TYPE],
723
+ ['CanvasFontKerning', base_config_1.TYPE],
724
+ ['CanvasFontStretch', base_config_1.TYPE],
725
+ ['CanvasFontVariantCaps', base_config_1.TYPE],
726
+ ['CanvasLineCap', base_config_1.TYPE],
727
+ ['CanvasLineJoin', base_config_1.TYPE],
728
+ ['CanvasTextAlign', base_config_1.TYPE],
729
+ ['CanvasTextBaseline', base_config_1.TYPE],
730
+ ['CanvasTextRendering', base_config_1.TYPE],
731
+ ['ClientTypes', base_config_1.TYPE],
732
+ ['CodecState', base_config_1.TYPE],
733
+ ['ColorGamut', base_config_1.TYPE],
734
+ ['ColorSpaceConversion', base_config_1.TYPE],
735
+ ['CompressionFormat', base_config_1.TYPE],
736
+ ['CookieSameSite', base_config_1.TYPE],
737
+ ['DocumentVisibilityState', base_config_1.TYPE],
738
+ ['EncodedAudioChunkType', base_config_1.TYPE],
739
+ ['EncodedVideoChunkType', base_config_1.TYPE],
740
+ ['EndingType', base_config_1.TYPE],
741
+ ['FileSystemHandleKind', base_config_1.TYPE],
742
+ ['FontDisplay', base_config_1.TYPE],
743
+ ['FontFaceLoadStatus', base_config_1.TYPE],
744
+ ['FontFaceSetLoadStatus', base_config_1.TYPE],
745
+ ['FrameType', base_config_1.TYPE],
746
+ ['GPUAddressMode', base_config_1.TYPE],
747
+ ['GPUAutoLayoutMode', base_config_1.TYPE],
748
+ ['GPUBlendFactor', base_config_1.TYPE],
749
+ ['GPUBlendOperation', base_config_1.TYPE],
750
+ ['GPUBufferBindingType', base_config_1.TYPE],
751
+ ['GPUBufferMapState', base_config_1.TYPE],
752
+ ['GPUCanvasAlphaMode', base_config_1.TYPE],
753
+ ['GPUCanvasToneMappingMode', base_config_1.TYPE],
754
+ ['GPUCompareFunction', base_config_1.TYPE],
755
+ ['GPUCompilationMessageType', base_config_1.TYPE],
756
+ ['GPUCullMode', base_config_1.TYPE],
757
+ ['GPUDeviceLostReason', base_config_1.TYPE],
758
+ ['GPUErrorFilter', base_config_1.TYPE],
759
+ ['GPUFeatureName', base_config_1.TYPE],
760
+ ['GPUFilterMode', base_config_1.TYPE],
761
+ ['GPUFrontFace', base_config_1.TYPE],
762
+ ['GPUIndexFormat', base_config_1.TYPE],
763
+ ['GPULoadOp', base_config_1.TYPE],
764
+ ['GPUMipmapFilterMode', base_config_1.TYPE],
765
+ ['GPUPipelineErrorReason', base_config_1.TYPE],
766
+ ['GPUPowerPreference', base_config_1.TYPE],
767
+ ['GPUPrimitiveTopology', base_config_1.TYPE],
768
+ ['GPUQueryType', base_config_1.TYPE],
769
+ ['GPUSamplerBindingType', base_config_1.TYPE],
770
+ ['GPUStencilOperation', base_config_1.TYPE],
771
+ ['GPUStorageTextureAccess', base_config_1.TYPE],
772
+ ['GPUStoreOp', base_config_1.TYPE],
773
+ ['GPUTextureAspect', base_config_1.TYPE],
774
+ ['GPUTextureDimension', base_config_1.TYPE],
775
+ ['GPUTextureFormat', base_config_1.TYPE],
776
+ ['GPUTextureSampleType', base_config_1.TYPE],
777
+ ['GPUTextureViewDimension', base_config_1.TYPE],
778
+ ['GPUVertexFormat', base_config_1.TYPE],
779
+ ['GPUVertexStepMode', base_config_1.TYPE],
780
+ ['GlobalCompositeOperation', base_config_1.TYPE],
781
+ ['HardwareAcceleration', base_config_1.TYPE],
782
+ ['HdrMetadataType', base_config_1.TYPE],
783
+ ['IDBCursorDirection', base_config_1.TYPE],
784
+ ['IDBRequestReadyState', base_config_1.TYPE],
785
+ ['IDBTransactionDurability', base_config_1.TYPE],
786
+ ['IDBTransactionMode', base_config_1.TYPE],
787
+ ['ImageDataPixelFormat', base_config_1.TYPE],
788
+ ['ImageOrientation', base_config_1.TYPE],
789
+ ['ImageSmoothingQuality', base_config_1.TYPE],
790
+ ['KeyFormat', base_config_1.TYPE],
791
+ ['KeyType', base_config_1.TYPE],
792
+ ['KeyUsage', base_config_1.TYPE],
793
+ ['LatencyMode', base_config_1.TYPE],
794
+ ['LockMode', base_config_1.TYPE],
795
+ ['MediaDecodingType', base_config_1.TYPE],
796
+ ['MediaEncodingType', base_config_1.TYPE],
797
+ ['MediaKeysRequirement', base_config_1.TYPE],
798
+ ['NotificationDirection', base_config_1.TYPE],
799
+ ['NotificationPermission', base_config_1.TYPE],
800
+ ['OffscreenRenderingContextId', base_config_1.TYPE],
801
+ ['OpusBitstreamFormat', base_config_1.TYPE],
802
+ ['PermissionName', base_config_1.TYPE],
803
+ ['PermissionState', base_config_1.TYPE],
804
+ ['PredefinedColorSpace', base_config_1.TYPE],
805
+ ['PremultiplyAlpha', base_config_1.TYPE],
806
+ ['PushEncryptionKeyName', base_config_1.TYPE],
807
+ ['RTCDataChannelState', base_config_1.TYPE],
808
+ ['ReadableStreamReaderMode', base_config_1.TYPE],
809
+ ['ReadableStreamType', base_config_1.TYPE],
810
+ ['ReferrerPolicy', base_config_1.TYPE],
811
+ ['RequestCache', base_config_1.TYPE],
812
+ ['RequestCredentials', base_config_1.TYPE],
813
+ ['RequestDestination', base_config_1.TYPE],
814
+ ['RequestMode', base_config_1.TYPE],
815
+ ['RequestPriority', base_config_1.TYPE],
816
+ ['RequestRedirect', base_config_1.TYPE],
817
+ ['ResizeQuality', base_config_1.TYPE],
818
+ ['ResponseType', base_config_1.TYPE],
819
+ ['SecurityPolicyViolationEventDisposition', base_config_1.TYPE],
820
+ ['ServiceWorkerState', base_config_1.TYPE],
821
+ ['ServiceWorkerUpdateViaCache', base_config_1.TYPE],
822
+ ['TaskPriority', base_config_1.TYPE],
823
+ ['TransferFunction', base_config_1.TYPE],
824
+ ['VideoColorPrimaries', base_config_1.TYPE],
825
+ ['VideoEncoderBitrateMode', base_config_1.TYPE],
826
+ ['VideoMatrixCoefficients', base_config_1.TYPE],
827
+ ['VideoPixelFormat', base_config_1.TYPE],
828
+ ['VideoTransferCharacteristics', base_config_1.TYPE],
829
+ ['WebGLPowerPreference', base_config_1.TYPE],
830
+ ['WebTransportCongestionControl', base_config_1.TYPE],
831
+ ['WebTransportErrorSource', base_config_1.TYPE],
832
+ ['WorkerType', base_config_1.TYPE],
833
+ ['WriteCommandType', base_config_1.TYPE],
834
+ ['XMLHttpRequestResponseType', base_config_1.TYPE],
835
+ ['FormDataIterator', base_config_1.TYPE],
836
+ ['HeadersIterator', base_config_1.TYPE],
837
+ ['StylePropertyMapReadOnlyIterator', base_config_1.TYPE],
838
+ ['URLSearchParamsIterator', base_config_1.TYPE],
839
+ ['FileSystemDirectoryHandleAsyncIterator', base_config_1.TYPE],
840
+ ['ReadableStreamAsyncIterator', base_config_1.TYPE],
841
+ ],
842
+ };
843
+ //# sourceMappingURL=webworker.js.map
node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import type { TSESTree } from '@typescript-eslint/types';
2
+ import type { Referencer } from './Referencer';
3
+ import { Visitor } from './Visitor';
4
+ export declare class ClassVisitor extends Visitor {
5
+ #private;
6
+ constructor(referencer: Referencer);
7
+ static visit(referencer: Referencer, node: TSESTree.ClassDeclaration | TSESTree.ClassExpression): void;
8
+ visit(node: TSESTree.Node | null | undefined): void;
9
+ protected visitClass(node: TSESTree.ClassDeclaration | TSESTree.ClassExpression): void;
10
+ protected visitFunctionParameterTypeAnnotation(node: TSESTree.Parameter): void;
11
+ protected visitMethod(node: TSESTree.MethodDefinition): void;
12
+ protected visitMethodFunction(node: TSESTree.FunctionExpression): void;
13
+ protected visitPropertyBase(node: TSESTree.AccessorProperty | TSESTree.PropertyDefinition | TSESTree.TSAbstractAccessorProperty | TSESTree.TSAbstractMethodDefinition | TSESTree.TSAbstractPropertyDefinition): void;
14
+ protected visitPropertyDefinition(node: TSESTree.AccessorProperty | TSESTree.PropertyDefinition | TSESTree.TSAbstractAccessorProperty | TSESTree.TSAbstractPropertyDefinition): void;
15
+ protected visitType(node: TSESTree.Node | null | undefined): void;
16
+ protected AccessorProperty(node: TSESTree.AccessorProperty): void;
17
+ protected ClassBody(node: TSESTree.ClassBody): void;
18
+ protected Identifier(node: TSESTree.Identifier): void;
19
+ protected MethodDefinition(node: TSESTree.MethodDefinition): void;
20
+ protected PrivateIdentifier(): void;
21
+ protected PropertyDefinition(node: TSESTree.PropertyDefinition): void;
22
+ protected StaticBlock(node: TSESTree.StaticBlock): void;
23
+ protected TSAbstractAccessorProperty(node: TSESTree.TSAbstractAccessorProperty): void;
24
+ protected TSAbstractMethodDefinition(node: TSESTree.TSAbstractMethodDefinition): void;
25
+ protected TSAbstractPropertyDefinition(node: TSESTree.TSAbstractPropertyDefinition): void;
26
+ protected TSIndexSignature(node: TSESTree.TSIndexSignature): void;
27
+ }
node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js ADDED
@@ -0,0 +1,179 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ClassVisitor = void 0;
4
+ const types_1 = require("@typescript-eslint/types");
5
+ const definition_1 = require("../definition");
6
+ const TypeVisitor_1 = require("./TypeVisitor");
7
+ const Visitor_1 = require("./Visitor");
8
+ class ClassVisitor extends Visitor_1.Visitor {
9
+ #referencer;
10
+ constructor(referencer) {
11
+ super(referencer);
12
+ this.#referencer = referencer;
13
+ }
14
+ static visit(referencer, node) {
15
+ const classVisitor = new ClassVisitor(referencer);
16
+ classVisitor.visitClass(node);
17
+ }
18
+ visit(node) {
19
+ // make sure we only handle the nodes we are designed to handle
20
+ if (node && node.type in this) {
21
+ super.visit(node);
22
+ }
23
+ else {
24
+ this.#referencer.visit(node);
25
+ }
26
+ }
27
+ ///////////////////
28
+ // Visit helpers //
29
+ ///////////////////
30
+ visitClass(node) {
31
+ if (node.type === types_1.AST_NODE_TYPES.ClassDeclaration && node.id) {
32
+ this.#referencer
33
+ .currentScope()
34
+ .defineIdentifier(node.id, new definition_1.ClassNameDefinition(node.id, node));
35
+ }
36
+ node.decorators.forEach(d => this.#referencer.visit(d));
37
+ this.#referencer.scopeManager.nestClassScope(node);
38
+ if (node.id) {
39
+ // define the class name again inside the new scope
40
+ // references to the class should not resolve directly to the parent class
41
+ this.#referencer
42
+ .currentScope()
43
+ .defineIdentifier(node.id, new definition_1.ClassNameDefinition(node.id, node));
44
+ }
45
+ this.#referencer.visit(node.superClass);
46
+ // visit the type param declarations
47
+ this.visitType(node.typeParameters);
48
+ // then the usages
49
+ this.visitType(node.superTypeArguments);
50
+ node.implements.forEach(imp => this.visitType(imp));
51
+ this.visit(node.body);
52
+ this.#referencer.close(node);
53
+ }
54
+ visitFunctionParameterTypeAnnotation(node) {
55
+ switch (node.type) {
56
+ case types_1.AST_NODE_TYPES.AssignmentPattern:
57
+ this.visitType(node.left.typeAnnotation);
58
+ break;
59
+ case types_1.AST_NODE_TYPES.TSParameterProperty:
60
+ this.visitFunctionParameterTypeAnnotation(node.parameter);
61
+ break;
62
+ default:
63
+ this.visitType(node.typeAnnotation);
64
+ }
65
+ }
66
+ visitMethod(node) {
67
+ if (node.computed) {
68
+ this.#referencer.visit(node.key);
69
+ }
70
+ if (node.value.type === types_1.AST_NODE_TYPES.FunctionExpression) {
71
+ this.visitMethodFunction(node.value);
72
+ }
73
+ else {
74
+ this.#referencer.visit(node.value);
75
+ }
76
+ node.decorators.forEach(d => this.#referencer.visit(d));
77
+ }
78
+ visitMethodFunction(node) {
79
+ if (node.id) {
80
+ // FunctionExpression with name creates its special scope;
81
+ // FunctionExpressionNameScope.
82
+ this.#referencer.scopeManager.nestFunctionExpressionNameScope(node);
83
+ }
84
+ node.params.forEach(param => {
85
+ param.decorators.forEach(d => this.visit(d));
86
+ });
87
+ // Consider this function is in the MethodDefinition.
88
+ this.#referencer.scopeManager.nestFunctionScope(node, true);
89
+ // Process parameter declarations.
90
+ for (const param of node.params) {
91
+ this.visitPattern(param, (pattern, info) => {
92
+ this.#referencer
93
+ .currentScope()
94
+ .defineIdentifier(pattern, new definition_1.ParameterDefinition(pattern, node, info.rest));
95
+ this.#referencer.referencingDefaultValue(pattern, info.assignments, null, true);
96
+ }, { processRightHandNodes: true });
97
+ this.visitFunctionParameterTypeAnnotation(param);
98
+ }
99
+ this.visitType(node.returnType);
100
+ this.visitType(node.typeParameters);
101
+ this.#referencer.visitChildren(node.body);
102
+ this.#referencer.close(node);
103
+ }
104
+ visitPropertyBase(node) {
105
+ if (node.computed) {
106
+ this.#referencer.visit(node.key);
107
+ }
108
+ if (node.value) {
109
+ if (node.type === types_1.AST_NODE_TYPES.PropertyDefinition ||
110
+ node.type === types_1.AST_NODE_TYPES.AccessorProperty) {
111
+ this.#referencer.scopeManager.nestClassFieldInitializerScope(node.value);
112
+ }
113
+ this.#referencer.visit(node.value);
114
+ if (node.type === types_1.AST_NODE_TYPES.PropertyDefinition ||
115
+ node.type === types_1.AST_NODE_TYPES.AccessorProperty) {
116
+ this.#referencer.close(node.value);
117
+ }
118
+ }
119
+ node.decorators.forEach(d => this.#referencer.visit(d));
120
+ }
121
+ visitPropertyDefinition(node) {
122
+ this.visitPropertyBase(node);
123
+ /**
124
+ * class A {
125
+ * @meta // <--- check this
126
+ * foo: Type;
127
+ * }
128
+ */
129
+ this.visitType(node.typeAnnotation);
130
+ }
131
+ visitType(node) {
132
+ if (!node) {
133
+ return;
134
+ }
135
+ TypeVisitor_1.TypeVisitor.visit(this.#referencer, node);
136
+ }
137
+ /////////////////////
138
+ // Visit selectors //
139
+ /////////////////////
140
+ AccessorProperty(node) {
141
+ this.visitPropertyDefinition(node);
142
+ }
143
+ ClassBody(node) {
144
+ // this is here on purpose so that this visitor explicitly declares visitors
145
+ // for all nodes it cares about (see the instance visit method above)
146
+ this.visitChildren(node);
147
+ }
148
+ Identifier(node) {
149
+ this.#referencer.visit(node);
150
+ }
151
+ MethodDefinition(node) {
152
+ this.visitMethod(node);
153
+ }
154
+ PrivateIdentifier() {
155
+ // intentionally skip
156
+ }
157
+ PropertyDefinition(node) {
158
+ this.visitPropertyDefinition(node);
159
+ }
160
+ StaticBlock(node) {
161
+ this.#referencer.scopeManager.nestClassStaticBlockScope(node);
162
+ node.body.forEach(b => this.visit(b));
163
+ this.#referencer.close(node);
164
+ }
165
+ TSAbstractAccessorProperty(node) {
166
+ this.visitPropertyDefinition(node);
167
+ }
168
+ TSAbstractMethodDefinition(node) {
169
+ this.visitPropertyBase(node);
170
+ }
171
+ TSAbstractPropertyDefinition(node) {
172
+ this.visitPropertyDefinition(node);
173
+ }
174
+ TSIndexSignature(node) {
175
+ this.visitType(node);
176
+ }
177
+ }
178
+ exports.ClassVisitor = ClassVisitor;
179
+ //# sourceMappingURL=ClassVisitor.js.map
node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import type { TSESTree } from '@typescript-eslint/types';
2
+ import type { Referencer } from './Referencer';
3
+ import { Visitor } from './Visitor';
4
+ export type ExportNode = TSESTree.ExportAllDeclaration | TSESTree.ExportDefaultDeclaration | TSESTree.ExportNamedDeclaration;
5
+ export declare class ExportVisitor extends Visitor {
6
+ #private;
7
+ constructor(node: ExportNode, referencer: Referencer);
8
+ static visit(referencer: Referencer, node: ExportNode): void;
9
+ protected ExportDefaultDeclaration(node: TSESTree.ExportDefaultDeclaration): void;
10
+ protected ExportNamedDeclaration(node: TSESTree.ExportNamedDeclaration): void;
11
+ protected ExportSpecifier(node: TSESTree.ExportSpecifier): void;
12
+ protected Identifier(node: TSESTree.Identifier): void;
13
+ }
node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ExportVisitor = void 0;
4
+ const types_1 = require("@typescript-eslint/types");
5
+ const Visitor_1 = require("./Visitor");
6
+ class ExportVisitor extends Visitor_1.Visitor {
7
+ #exportNode;
8
+ #referencer;
9
+ constructor(node, referencer) {
10
+ super(referencer);
11
+ this.#exportNode = node;
12
+ this.#referencer = referencer;
13
+ }
14
+ static visit(referencer, node) {
15
+ const exportReferencer = new ExportVisitor(node, referencer);
16
+ exportReferencer.visit(node);
17
+ }
18
+ ExportDefaultDeclaration(node) {
19
+ if (node.declaration.type === types_1.AST_NODE_TYPES.Identifier) {
20
+ // export default A;
21
+ // this could be a type or a variable
22
+ this.visit(node.declaration);
23
+ }
24
+ else {
25
+ // export const a = 1;
26
+ // export something();
27
+ // etc
28
+ // these not included in the scope of this visitor as they are all guaranteed to be values or declare variables
29
+ }
30
+ }
31
+ ExportNamedDeclaration(node) {
32
+ if (node.source) {
33
+ // export ... from 'foo';
34
+ // these are external identifiers so there shouldn't be references or defs
35
+ return;
36
+ }
37
+ if (!node.declaration) {
38
+ // export { x };
39
+ this.visitChildren(node);
40
+ }
41
+ else {
42
+ // export const x = 1;
43
+ // this is not included in the scope of this visitor as it creates a variable
44
+ }
45
+ }
46
+ ExportSpecifier(node) {
47
+ if (node.exportKind === 'type' &&
48
+ node.local.type === types_1.AST_NODE_TYPES.Identifier) {
49
+ // export { type T };
50
+ // type exports can only reference types
51
+ //
52
+ // we can't let this fall through to the Identifier selector because the exportKind is on this node
53
+ // and we don't have access to the `.parent` during scope analysis
54
+ this.#referencer.currentScope().referenceType(node.local);
55
+ }
56
+ else {
57
+ this.visit(node.local);
58
+ }
59
+ }
60
+ Identifier(node) {
61
+ if (this.#exportNode.exportKind === 'type') {
62
+ // export type { T };
63
+ // type exports can only reference types
64
+ this.#referencer.currentScope().referenceType(node);
65
+ }
66
+ else {
67
+ this.#referencer.currentScope().referenceDualValueType(node);
68
+ }
69
+ }
70
+ }
71
+ exports.ExportVisitor = ExportVisitor;
72
+ //# sourceMappingURL=ExportVisitor.js.map
node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import type { TSESTree } from '@typescript-eslint/types';
2
+ import type { Referencer } from './Referencer';
3
+ import { Visitor } from './Visitor';
4
+ export declare class ImportVisitor extends Visitor {
5
+ #private;
6
+ constructor(declaration: TSESTree.ImportDeclaration, referencer: Referencer);
7
+ static visit(referencer: Referencer, declaration: TSESTree.ImportDeclaration): void;
8
+ protected ImportDefaultSpecifier(node: TSESTree.ImportDefaultSpecifier): void;
9
+ protected ImportNamespaceSpecifier(node: TSESTree.ImportNamespaceSpecifier): void;
10
+ protected ImportSpecifier(node: TSESTree.ImportSpecifier): void;
11
+ protected visitImport(id: TSESTree.Identifier, specifier: TSESTree.ImportDefaultSpecifier | TSESTree.ImportNamespaceSpecifier | TSESTree.ImportSpecifier): void;
12
+ }
node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.js ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ImportVisitor = void 0;
4
+ const definition_1 = require("../definition");
5
+ const Visitor_1 = require("./Visitor");
6
+ class ImportVisitor extends Visitor_1.Visitor {
7
+ #declaration;
8
+ #referencer;
9
+ constructor(declaration, referencer) {
10
+ super(referencer);
11
+ this.#declaration = declaration;
12
+ this.#referencer = referencer;
13
+ }
14
+ static visit(referencer, declaration) {
15
+ const importReferencer = new ImportVisitor(declaration, referencer);
16
+ importReferencer.visit(declaration);
17
+ }
18
+ ImportDefaultSpecifier(node) {
19
+ const local = node.local;
20
+ this.visitImport(local, node);
21
+ }
22
+ ImportNamespaceSpecifier(node) {
23
+ const local = node.local;
24
+ this.visitImport(local, node);
25
+ }
26
+ ImportSpecifier(node) {
27
+ const local = node.local;
28
+ this.visitImport(local, node);
29
+ }
30
+ visitImport(id, specifier) {
31
+ this.#referencer
32
+ .currentScope()
33
+ .defineIdentifier(id, new definition_1.ImportBindingDefinition(id, specifier, this.#declaration));
34
+ }
35
+ }
36
+ exports.ImportVisitor = ImportVisitor;
37
+ //# sourceMappingURL=ImportVisitor.js.map
node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import type { TSESTree } from '@typescript-eslint/types';
2
+ import type { VisitorOptions } from './VisitorBase';
3
+ import { VisitorBase } from './VisitorBase';
4
+ export type PatternVisitorCallback = (pattern: TSESTree.Identifier, info: {
5
+ assignments: (TSESTree.AssignmentExpression | TSESTree.AssignmentPattern)[];
6
+ rest: boolean;
7
+ topLevel: boolean;
8
+ }) => void;
9
+ export type PatternVisitorOptions = VisitorOptions;
10
+ export declare class PatternVisitor extends VisitorBase {
11
+ #private;
12
+ readonly rightHandNodes: TSESTree.Node[];
13
+ constructor(options: PatternVisitorOptions, rootPattern: TSESTree.Node, callback: PatternVisitorCallback);
14
+ static isPattern(node: TSESTree.Node): node is TSESTree.ArrayPattern | TSESTree.AssignmentPattern | TSESTree.Identifier | TSESTree.ObjectPattern | TSESTree.RestElement | TSESTree.SpreadElement;
15
+ protected ArrayExpression(node: TSESTree.ArrayExpression): void;
16
+ protected ArrayPattern(pattern: TSESTree.ArrayPattern): void;
17
+ protected AssignmentExpression(node: TSESTree.AssignmentExpression): void;
18
+ protected AssignmentPattern(pattern: TSESTree.AssignmentPattern): void;
19
+ protected CallExpression(node: TSESTree.CallExpression): void;
20
+ protected Decorator(): void;
21
+ protected Identifier(pattern: TSESTree.Identifier): void;
22
+ protected MemberExpression(node: TSESTree.MemberExpression): void;
23
+ protected Property(property: TSESTree.Property): void;
24
+ protected RestElement(pattern: TSESTree.RestElement): void;
25
+ protected SpreadElement(node: TSESTree.SpreadElement): void;
26
+ protected TSTypeAnnotation(): void;
27
+ }
node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PatternVisitor = void 0;
4
+ const types_1 = require("@typescript-eslint/types");
5
+ const VisitorBase_1 = require("./VisitorBase");
6
+ class PatternVisitor extends VisitorBase_1.VisitorBase {
7
+ #assignments = [];
8
+ #callback;
9
+ #restElements = [];
10
+ #rootPattern;
11
+ rightHandNodes = [];
12
+ constructor(options, rootPattern, callback) {
13
+ super(options);
14
+ this.#rootPattern = rootPattern;
15
+ this.#callback = callback;
16
+ }
17
+ static isPattern(node) {
18
+ const nodeType = node.type;
19
+ return (nodeType === types_1.AST_NODE_TYPES.Identifier ||
20
+ nodeType === types_1.AST_NODE_TYPES.ObjectPattern ||
21
+ nodeType === types_1.AST_NODE_TYPES.ArrayPattern ||
22
+ nodeType === types_1.AST_NODE_TYPES.SpreadElement ||
23
+ nodeType === types_1.AST_NODE_TYPES.RestElement ||
24
+ nodeType === types_1.AST_NODE_TYPES.AssignmentPattern);
25
+ }
26
+ ArrayExpression(node) {
27
+ node.elements.forEach(this.visit, this);
28
+ }
29
+ ArrayPattern(pattern) {
30
+ for (const element of pattern.elements) {
31
+ this.visit(element);
32
+ }
33
+ }
34
+ AssignmentExpression(node) {
35
+ this.#assignments.push(node);
36
+ this.visit(node.left);
37
+ this.rightHandNodes.push(node.right);
38
+ this.#assignments.pop();
39
+ }
40
+ AssignmentPattern(pattern) {
41
+ this.#assignments.push(pattern);
42
+ this.visit(pattern.left);
43
+ this.rightHandNodes.push(pattern.right);
44
+ this.#assignments.pop();
45
+ }
46
+ CallExpression(node) {
47
+ // arguments are right hand nodes.
48
+ node.arguments.forEach(a => {
49
+ this.rightHandNodes.push(a);
50
+ });
51
+ this.visit(node.callee);
52
+ }
53
+ Decorator() {
54
+ // don't visit any decorators when exploring a pattern
55
+ }
56
+ Identifier(pattern) {
57
+ const lastRestElement = this.#restElements.at(-1);
58
+ this.#callback(pattern, {
59
+ assignments: this.#assignments,
60
+ rest: lastRestElement?.argument === pattern,
61
+ topLevel: pattern === this.#rootPattern,
62
+ });
63
+ }
64
+ MemberExpression(node) {
65
+ // Computed property's key is a right hand node.
66
+ if (node.computed) {
67
+ this.rightHandNodes.push(node.property);
68
+ }
69
+ // the object is only read, write to its property.
70
+ this.rightHandNodes.push(node.object);
71
+ }
72
+ Property(property) {
73
+ // Computed property's key is a right hand node.
74
+ if (property.computed) {
75
+ this.rightHandNodes.push(property.key);
76
+ }
77
+ // If it's shorthand, its key is same as its value.
78
+ // If it's shorthand and has its default value, its key is same as its value.left (the value is AssignmentPattern).
79
+ // If it's not shorthand, the name of new variable is its value's.
80
+ this.visit(property.value);
81
+ }
82
+ RestElement(pattern) {
83
+ this.#restElements.push(pattern);
84
+ this.visit(pattern.argument);
85
+ this.#restElements.pop();
86
+ }
87
+ SpreadElement(node) {
88
+ this.visit(node.argument);
89
+ }
90
+ TSTypeAnnotation() {
91
+ // we don't want to visit types
92
+ }
93
+ }
94
+ exports.PatternVisitor = PatternVisitor;
95
+ //# sourceMappingURL=PatternVisitor.js.map
node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import type { NodeWithParent, TSESTree } from '@typescript-eslint/types';
2
+ import type { Scope } from '../scope';
3
+ import type { Variable } from '../variable';
4
+ export declare enum ReferenceFlag {
5
+ Read = 1,
6
+ Write = 2,
7
+ ReadWrite = 3
8
+ }
9
+ export interface ReferenceImplicitGlobal {
10
+ node: NodeWithParent;
11
+ pattern: TSESTree.BindingName;
12
+ ref?: Reference;
13
+ }
14
+ export declare enum ReferenceTypeFlag {
15
+ Value = 1,
16
+ Type = 2
17
+ }
18
+ /**
19
+ * A Reference represents a single occurrence of an identifier in code.
20
+ */
21
+ export declare class Reference {
22
+ #private;
23
+ /**
24
+ * A unique ID for this instance - primarily used to help debugging and testing
25
+ */
26
+ readonly $id: number;
27
+ /**
28
+ * Reference to the enclosing Scope.
29
+ * @public
30
+ */
31
+ readonly from: Scope;
32
+ /**
33
+ * Identifier syntax node.
34
+ * @public
35
+ */
36
+ readonly identifier: TSESTree.Identifier | TSESTree.JSXIdentifier;
37
+ /**
38
+ * `true` if this writing reference is a variable initializer or a default value.
39
+ * @public
40
+ */
41
+ readonly init?: boolean;
42
+ readonly maybeImplicitGlobal?: ReferenceImplicitGlobal | null;
43
+ /**
44
+ * The {@link Variable} object that this reference refers to. If such variable was not defined, this is `null`.
45
+ * @public
46
+ */
47
+ resolved: Variable | null;
48
+ /**
49
+ * If reference is writeable, this is the node being written to it.
50
+ * @public
51
+ */
52
+ readonly writeExpr?: TSESTree.Node | null;
53
+ constructor(identifier: TSESTree.Identifier | TSESTree.JSXIdentifier, scope: Scope, flag: ReferenceFlag, writeExpr?: TSESTree.Node | null, maybeImplicitGlobal?: ReferenceImplicitGlobal | null, init?: boolean, referenceType?: ReferenceTypeFlag);
54
+ /**
55
+ * True if this reference can reference types
56
+ */
57
+ get isTypeReference(): boolean;
58
+ /**
59
+ * True if this reference can reference values
60
+ */
61
+ get isValueReference(): boolean;
62
+ /**
63
+ * Whether the reference is writeable.
64
+ * @public
65
+ */
66
+ isWrite(): boolean;
67
+ /**
68
+ * Whether the reference is readable.
69
+ * @public
70
+ */
71
+ isRead(): boolean;
72
+ /**
73
+ * Whether the reference is read-only.
74
+ * @public
75
+ */
76
+ isReadOnly(): boolean;
77
+ /**
78
+ * Whether the reference is write-only.
79
+ * @public
80
+ */
81
+ isWriteOnly(): boolean;
82
+ /**
83
+ * Whether the reference is read-write.
84
+ * @public
85
+ */
86
+ isReadWrite(): boolean;
87
+ }
node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js ADDED
@@ -0,0 +1,120 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Reference = exports.ReferenceTypeFlag = exports.ReferenceFlag = void 0;
4
+ const ID_1 = require("../ID");
5
+ var ReferenceFlag;
6
+ (function (ReferenceFlag) {
7
+ ReferenceFlag[ReferenceFlag["Read"] = 1] = "Read";
8
+ ReferenceFlag[ReferenceFlag["Write"] = 2] = "Write";
9
+ ReferenceFlag[ReferenceFlag["ReadWrite"] = 3] = "ReadWrite";
10
+ })(ReferenceFlag || (exports.ReferenceFlag = ReferenceFlag = {}));
11
+ const generator = (0, ID_1.createIdGenerator)();
12
+ var ReferenceTypeFlag;
13
+ (function (ReferenceTypeFlag) {
14
+ ReferenceTypeFlag[ReferenceTypeFlag["Value"] = 1] = "Value";
15
+ ReferenceTypeFlag[ReferenceTypeFlag["Type"] = 2] = "Type";
16
+ })(ReferenceTypeFlag || (exports.ReferenceTypeFlag = ReferenceTypeFlag = {}));
17
+ /**
18
+ * A Reference represents a single occurrence of an identifier in code.
19
+ */
20
+ class Reference {
21
+ /**
22
+ * A unique ID for this instance - primarily used to help debugging and testing
23
+ */
24
+ $id = generator();
25
+ /**
26
+ * The read-write mode of the reference.
27
+ */
28
+ #flag;
29
+ /**
30
+ * Reference to the enclosing Scope.
31
+ * @public
32
+ */
33
+ from;
34
+ /**
35
+ * Identifier syntax node.
36
+ * @public
37
+ */
38
+ identifier;
39
+ /**
40
+ * `true` if this writing reference is a variable initializer or a default value.
41
+ * @public
42
+ */
43
+ init;
44
+ maybeImplicitGlobal;
45
+ /**
46
+ * The {@link Variable} object that this reference refers to. If such variable was not defined, this is `null`.
47
+ * @public
48
+ */
49
+ resolved;
50
+ /**
51
+ * If reference is writeable, this is the node being written to it.
52
+ * @public
53
+ */
54
+ writeExpr;
55
+ /**
56
+ * In some cases, a reference may be a type, value or both a type and value reference.
57
+ */
58
+ #referenceType;
59
+ constructor(identifier, scope, flag, writeExpr, maybeImplicitGlobal, init, referenceType = ReferenceTypeFlag.Value) {
60
+ this.identifier = identifier;
61
+ this.from = scope;
62
+ this.resolved = null;
63
+ this.#flag = flag;
64
+ if (this.isWrite()) {
65
+ this.writeExpr = writeExpr;
66
+ this.init = init;
67
+ }
68
+ this.maybeImplicitGlobal = maybeImplicitGlobal;
69
+ this.#referenceType = referenceType;
70
+ }
71
+ /**
72
+ * True if this reference can reference types
73
+ */
74
+ get isTypeReference() {
75
+ return (this.#referenceType & ReferenceTypeFlag.Type) !== 0;
76
+ }
77
+ /**
78
+ * True if this reference can reference values
79
+ */
80
+ get isValueReference() {
81
+ return (this.#referenceType & ReferenceTypeFlag.Value) !== 0;
82
+ }
83
+ /**
84
+ * Whether the reference is writeable.
85
+ * @public
86
+ */
87
+ isWrite() {
88
+ return !!(this.#flag & ReferenceFlag.Write);
89
+ }
90
+ /**
91
+ * Whether the reference is readable.
92
+ * @public
93
+ */
94
+ isRead() {
95
+ return !!(this.#flag & ReferenceFlag.Read);
96
+ }
97
+ /**
98
+ * Whether the reference is read-only.
99
+ * @public
100
+ */
101
+ isReadOnly() {
102
+ return this.#flag === ReferenceFlag.Read;
103
+ }
104
+ /**
105
+ * Whether the reference is write-only.
106
+ * @public
107
+ */
108
+ isWriteOnly() {
109
+ return this.#flag === ReferenceFlag.Write;
110
+ }
111
+ /**
112
+ * Whether the reference is read-write.
113
+ * @public
114
+ */
115
+ isReadWrite() {
116
+ return this.#flag === ReferenceFlag.ReadWrite;
117
+ }
118
+ }
119
+ exports.Reference = Reference;
120
+ //# sourceMappingURL=Reference.js.map
node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import type { Lib, TSESTree } from '@typescript-eslint/types';
2
+ import type { Scope } from '../scope';
3
+ import type { ScopeManager } from '../ScopeManager';
4
+ import type { ReferenceImplicitGlobal } from './Reference';
5
+ import type { VisitorOptions } from './Visitor';
6
+ import { Visitor } from './Visitor';
7
+ export interface ReferencerOptions extends VisitorOptions {
8
+ jsxFragmentName: string | null;
9
+ jsxPragma: string | null;
10
+ lib: Lib[];
11
+ }
12
+ export declare class Referencer extends Visitor {
13
+ #private;
14
+ readonly scopeManager: ScopeManager;
15
+ constructor(options: ReferencerOptions, scopeManager: ScopeManager);
16
+ private populateGlobalsFromLib;
17
+ /**
18
+ * Resolves lib names into a deduplicated set of LibDefinitions,
19
+ * including all transitive dependencies.
20
+ */
21
+ private resolveLibDefinitions;
22
+ close(node: TSESTree.Node): void;
23
+ currentScope(): Scope;
24
+ currentScope(throwOnNull: true): Scope | null;
25
+ referencingDefaultValue(pattern: TSESTree.Identifier, assignments: (TSESTree.AssignmentExpression | TSESTree.AssignmentPattern)[], maybeImplicitGlobal: ReferenceImplicitGlobal | null, init: boolean): void;
26
+ /**
27
+ * Searches for a variable named "name" in the upper scopes and adds a pseudo-reference from itself to itself
28
+ */
29
+ private referenceInSomeUpperScope;
30
+ private referenceJsxFragment;
31
+ private referenceJsxPragma;
32
+ protected visitClass(node: TSESTree.ClassDeclaration | TSESTree.ClassExpression): void;
33
+ protected visitForIn(node: TSESTree.ForInStatement | TSESTree.ForOfStatement): void;
34
+ protected visitFunction(node: TSESTree.ArrowFunctionExpression | TSESTree.FunctionDeclaration | TSESTree.FunctionExpression | TSESTree.TSDeclareFunction | TSESTree.TSEmptyBodyFunctionExpression): void;
35
+ protected visitFunctionParameterTypeAnnotation(node: TSESTree.Parameter): void;
36
+ protected visitJSXElement(node: TSESTree.JSXClosingElement | TSESTree.JSXOpeningElement): void;
37
+ protected visitProperty(node: TSESTree.Property): void;
38
+ protected visitType(node: TSESTree.Node | null | undefined): void;
39
+ protected visitTypeAssertion(node: TSESTree.TSAsExpression | TSESTree.TSSatisfiesExpression | TSESTree.TSTypeAssertion): void;
40
+ protected ArrowFunctionExpression(node: TSESTree.ArrowFunctionExpression): void;
41
+ protected AssignmentExpression(node: TSESTree.AssignmentExpression): void;
42
+ protected BlockStatement(node: TSESTree.BlockStatement): void;
43
+ protected BreakStatement(): void;
44
+ protected CallExpression(node: TSESTree.CallExpression): void;
45
+ protected CatchClause(node: TSESTree.CatchClause): void;
46
+ protected ClassDeclaration(node: TSESTree.ClassDeclaration): void;
47
+ protected ClassExpression(node: TSESTree.ClassExpression): void;
48
+ protected ContinueStatement(): void;
49
+ protected ExportAllDeclaration(): void;
50
+ protected ExportDefaultDeclaration(node: TSESTree.ExportDefaultDeclaration): void;
51
+ protected ExportNamedDeclaration(node: TSESTree.ExportNamedDeclaration): void;
52
+ protected ForInStatement(node: TSESTree.ForInStatement): void;
53
+ protected ForOfStatement(node: TSESTree.ForOfStatement): void;
54
+ protected ForStatement(node: TSESTree.ForStatement): void;
55
+ protected FunctionDeclaration(node: TSESTree.FunctionDeclaration): void;
56
+ protected FunctionExpression(node: TSESTree.FunctionExpression): void;
57
+ protected Identifier(node: TSESTree.Identifier): void;
58
+ protected ImportAttribute(): void;
59
+ protected ImportDeclaration(node: TSESTree.ImportDeclaration): void;
60
+ protected JSXAttribute(node: TSESTree.JSXAttribute): void;
61
+ protected JSXClosingElement(node: TSESTree.JSXClosingElement): void;
62
+ protected JSXFragment(node: TSESTree.JSXFragment): void;
63
+ protected JSXIdentifier(node: TSESTree.JSXIdentifier): void;
64
+ protected JSXMemberExpression(node: TSESTree.JSXMemberExpression): void;
65
+ protected JSXOpeningElement(node: TSESTree.JSXOpeningElement): void;
66
+ protected LabeledStatement(node: TSESTree.LabeledStatement): void;
67
+ protected MemberExpression(node: TSESTree.MemberExpression): void;
68
+ protected MetaProperty(): void;
69
+ protected NewExpression(node: TSESTree.NewExpression): void;
70
+ protected PrivateIdentifier(): void;
71
+ protected Program(node: TSESTree.Program): void;
72
+ protected Property(node: TSESTree.Property): void;
73
+ protected SwitchStatement(node: TSESTree.SwitchStatement): void;
74
+ protected TaggedTemplateExpression(node: TSESTree.TaggedTemplateExpression): void;
75
+ protected TSAsExpression(node: TSESTree.TSAsExpression): void;
76
+ protected TSDeclareFunction(node: TSESTree.TSDeclareFunction): void;
77
+ protected TSEmptyBodyFunctionExpression(node: TSESTree.TSEmptyBodyFunctionExpression): void;
78
+ protected TSEnumDeclaration(node: TSESTree.TSEnumDeclaration): void;
79
+ protected TSExportAssignment(node: TSESTree.TSExportAssignment): void;
80
+ protected TSImportEqualsDeclaration(node: TSESTree.TSImportEqualsDeclaration): void;
81
+ protected TSInstantiationExpression(node: TSESTree.TSInstantiationExpression): void;
82
+ protected TSInterfaceDeclaration(node: TSESTree.TSInterfaceDeclaration): void;
83
+ protected TSModuleDeclaration(node: TSESTree.TSModuleDeclaration): void;
84
+ protected TSSatisfiesExpression(node: TSESTree.TSSatisfiesExpression): void;
85
+ protected TSTypeAliasDeclaration(node: TSESTree.TSTypeAliasDeclaration): void;
86
+ protected TSTypeAssertion(node: TSESTree.TSTypeAssertion): void;
87
+ protected UpdateExpression(node: TSESTree.UpdateExpression): void;
88
+ protected VariableDeclaration(node: TSESTree.VariableDeclaration): void;
89
+ protected WithStatement(node: TSESTree.WithStatement): void;
90
+ private visitExpressionTarget;
91
+ }
node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js ADDED
@@ -0,0 +1,559 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Referencer = void 0;
4
+ const types_1 = require("@typescript-eslint/types");
5
+ const assert_1 = require("../assert");
6
+ const definition_1 = require("../definition");
7
+ const lib_1 = require("../lib");
8
+ const ClassVisitor_1 = require("./ClassVisitor");
9
+ const ExportVisitor_1 = require("./ExportVisitor");
10
+ const ImportVisitor_1 = require("./ImportVisitor");
11
+ const PatternVisitor_1 = require("./PatternVisitor");
12
+ const Reference_1 = require("./Reference");
13
+ const TypeVisitor_1 = require("./TypeVisitor");
14
+ const Visitor_1 = require("./Visitor");
15
+ // Referencing variables and creating bindings.
16
+ class Referencer extends Visitor_1.Visitor {
17
+ #hasReferencedJsxFactory = false;
18
+ #hasReferencedJsxFragmentFactory = false;
19
+ #jsxFragmentName;
20
+ #jsxPragma;
21
+ #lib;
22
+ scopeManager;
23
+ constructor(options, scopeManager) {
24
+ super(options);
25
+ this.scopeManager = scopeManager;
26
+ this.#jsxPragma = options.jsxPragma;
27
+ this.#jsxFragmentName = options.jsxFragmentName;
28
+ this.#lib = options.lib;
29
+ }
30
+ populateGlobalsFromLib(globalScope) {
31
+ const libs = this.resolveLibDefinitions();
32
+ for (const lib of libs) {
33
+ for (const [name, variable] of lib.variables) {
34
+ globalScope.defineImplicitVariable(name, variable);
35
+ }
36
+ }
37
+ // Special implicit global for const assertions (`{} as const`, `<const>{}`)
38
+ globalScope.defineImplicitVariable('const', {
39
+ eslintImplicitGlobalSetting: 'readonly',
40
+ isTypeVariable: true,
41
+ isValueVariable: false,
42
+ });
43
+ }
44
+ /**
45
+ * Resolves lib names into a deduplicated set of LibDefinitions,
46
+ * including all transitive dependencies.
47
+ */
48
+ resolveLibDefinitions() {
49
+ const resolvedLibs = new Set();
50
+ // Resolve the top-level lib names into LibDefinition objects
51
+ for (const lib of this.#lib) {
52
+ const definition = lib_1.lib.get(lib);
53
+ if (!definition) {
54
+ throw new Error(`Invalid value for lib provided: ${lib}`);
55
+ }
56
+ resolvedLibs.add(definition);
57
+ }
58
+ // Expand transitive lib dependencies.
59
+ // New entries added to the Set during iteration will be visited exactly once.
60
+ for (const lib of resolvedLibs) {
61
+ for (const dependency of lib.libs) {
62
+ resolvedLibs.add(dependency);
63
+ }
64
+ }
65
+ return resolvedLibs;
66
+ }
67
+ close(node) {
68
+ while (this.currentScope(true) && node === this.currentScope().block) {
69
+ this.scopeManager.currentScope = this.currentScope().close(this.scopeManager);
70
+ }
71
+ }
72
+ currentScope(dontThrowOnNull) {
73
+ if (!dontThrowOnNull) {
74
+ (0, assert_1.assert)(this.scopeManager.currentScope, 'Expected currentScope to exist. This usually happens when analyze() is called with an incomplete AST node instead of a complete Program node.');
75
+ }
76
+ return this.scopeManager.currentScope;
77
+ }
78
+ referencingDefaultValue(pattern, assignments, maybeImplicitGlobal, init) {
79
+ assignments.forEach(assignment => {
80
+ this.currentScope().referenceValue(pattern, Reference_1.ReferenceFlag.Write, assignment.right, maybeImplicitGlobal, init);
81
+ });
82
+ }
83
+ /**
84
+ * Searches for a variable named "name" in the upper scopes and adds a pseudo-reference from itself to itself
85
+ */
86
+ referenceInSomeUpperScope(name) {
87
+ let scope = this.scopeManager.currentScope;
88
+ while (scope) {
89
+ const variable = scope.set.get(name);
90
+ if (!variable) {
91
+ scope = scope.upper;
92
+ continue;
93
+ }
94
+ scope.referenceValue(variable.identifiers[0]);
95
+ return true;
96
+ }
97
+ return false;
98
+ }
99
+ referenceJsxFragment() {
100
+ if (this.#jsxFragmentName == null ||
101
+ this.#hasReferencedJsxFragmentFactory) {
102
+ return;
103
+ }
104
+ this.#hasReferencedJsxFragmentFactory = this.referenceInSomeUpperScope(this.#jsxFragmentName);
105
+ }
106
+ referenceJsxPragma() {
107
+ if (this.#jsxPragma == null || this.#hasReferencedJsxFactory) {
108
+ return;
109
+ }
110
+ this.#hasReferencedJsxFactory = this.referenceInSomeUpperScope(this.#jsxPragma);
111
+ }
112
+ ///////////////////
113
+ // Visit helpers //
114
+ ///////////////////
115
+ visitClass(node) {
116
+ ClassVisitor_1.ClassVisitor.visit(this, node);
117
+ }
118
+ visitForIn(node) {
119
+ if (node.left.type === types_1.AST_NODE_TYPES.VariableDeclaration &&
120
+ node.left.kind !== 'var') {
121
+ this.scopeManager.nestForScope(node);
122
+ }
123
+ if (node.left.type === types_1.AST_NODE_TYPES.VariableDeclaration) {
124
+ this.visit(node.left);
125
+ this.visitPattern(node.left.declarations[0].id, pattern => {
126
+ this.currentScope().referenceValue(pattern, Reference_1.ReferenceFlag.Write, node.right, null, true);
127
+ });
128
+ }
129
+ else {
130
+ this.visitPattern(node.left, (pattern, info) => {
131
+ const maybeImplicitGlobal = !this.currentScope().isStrict
132
+ ? {
133
+ node,
134
+ pattern,
135
+ }
136
+ : null;
137
+ this.referencingDefaultValue(pattern, info.assignments, maybeImplicitGlobal, false);
138
+ this.currentScope().referenceValue(pattern, Reference_1.ReferenceFlag.Write, node.right, maybeImplicitGlobal, false);
139
+ }, { processRightHandNodes: true });
140
+ }
141
+ this.visit(node.right);
142
+ this.visit(node.body);
143
+ this.close(node);
144
+ }
145
+ visitFunction(node) {
146
+ // FunctionDeclaration name is defined in upper scope
147
+ // NOTE: Not referring variableScope. It is intended.
148
+ // Since
149
+ // in ES5, FunctionDeclaration should be in FunctionBody.
150
+ // in ES6, FunctionDeclaration should be block scoped.
151
+ if (node.type === types_1.AST_NODE_TYPES.FunctionExpression) {
152
+ if (node.id) {
153
+ // FunctionExpression with name creates its special scope;
154
+ // FunctionExpressionNameScope.
155
+ this.scopeManager.nestFunctionExpressionNameScope(node);
156
+ }
157
+ }
158
+ else if (node.id) {
159
+ // id is defined in upper scope
160
+ this.currentScope().defineIdentifier(node.id, new definition_1.FunctionNameDefinition(node.id, node));
161
+ }
162
+ // Consider this function is in the MethodDefinition.
163
+ this.scopeManager.nestFunctionScope(node, false);
164
+ // Process parameter declarations.
165
+ for (const param of node.params) {
166
+ this.visitPattern(param, (pattern, info) => {
167
+ this.currentScope().defineIdentifier(pattern, new definition_1.ParameterDefinition(pattern, node, info.rest));
168
+ this.referencingDefaultValue(pattern, info.assignments, null, true);
169
+ }, { processRightHandNodes: true });
170
+ this.visitFunctionParameterTypeAnnotation(param);
171
+ param.decorators.forEach(d => this.visit(d));
172
+ }
173
+ this.visitType(node.returnType);
174
+ this.visitType(node.typeParameters);
175
+ // In TypeScript there are a number of function-like constructs which have no body,
176
+ // so check it exists before traversing
177
+ if (node.body) {
178
+ // Skip BlockStatement to prevent creating BlockStatement scope.
179
+ if (node.body.type === types_1.AST_NODE_TYPES.BlockStatement) {
180
+ this.visitChildren(node.body);
181
+ }
182
+ else {
183
+ this.visit(node.body);
184
+ }
185
+ }
186
+ this.close(node);
187
+ }
188
+ visitFunctionParameterTypeAnnotation(node) {
189
+ switch (node.type) {
190
+ case types_1.AST_NODE_TYPES.AssignmentPattern:
191
+ this.visitType(node.left.typeAnnotation);
192
+ break;
193
+ case types_1.AST_NODE_TYPES.TSParameterProperty:
194
+ this.visitFunctionParameterTypeAnnotation(node.parameter);
195
+ break;
196
+ default:
197
+ this.visitType(node.typeAnnotation);
198
+ break;
199
+ }
200
+ }
201
+ visitJSXElement(node) {
202
+ if (node.name.type === types_1.AST_NODE_TYPES.JSXIdentifier) {
203
+ if (node.name.name[0].toUpperCase() === node.name.name[0] ||
204
+ node.name.name === 'this') {
205
+ // lower cased component names are always treated as "intrinsic" names, and are converted to a string,
206
+ // not a variable by JSX transforms:
207
+ // <div /> => React.createElement("div", null)
208
+ // the only case we want to visit a lower-cased component has its name as "this",
209
+ this.visit(node.name);
210
+ }
211
+ }
212
+ else {
213
+ this.visit(node.name);
214
+ }
215
+ }
216
+ visitProperty(node) {
217
+ if (node.computed) {
218
+ this.visit(node.key);
219
+ }
220
+ this.visit(node.value);
221
+ }
222
+ visitType(node) {
223
+ if (!node) {
224
+ return;
225
+ }
226
+ TypeVisitor_1.TypeVisitor.visit(this, node);
227
+ }
228
+ visitTypeAssertion(node) {
229
+ this.visit(node.expression);
230
+ this.visitType(node.typeAnnotation);
231
+ }
232
+ /////////////////////
233
+ // Visit selectors //
234
+ /////////////////////
235
+ ArrowFunctionExpression(node) {
236
+ this.visitFunction(node);
237
+ }
238
+ AssignmentExpression(node) {
239
+ const left = this.visitExpressionTarget(node.left);
240
+ if (PatternVisitor_1.PatternVisitor.isPattern(left)) {
241
+ if (node.operator === '=') {
242
+ this.visitPattern(left, (pattern, info) => {
243
+ const maybeImplicitGlobal = !this.currentScope().isStrict
244
+ ? {
245
+ node,
246
+ pattern,
247
+ }
248
+ : null;
249
+ this.referencingDefaultValue(pattern, info.assignments, maybeImplicitGlobal, false);
250
+ this.currentScope().referenceValue(pattern, Reference_1.ReferenceFlag.Write, node.right, maybeImplicitGlobal, false);
251
+ }, { processRightHandNodes: true });
252
+ }
253
+ else if (left.type === types_1.AST_NODE_TYPES.Identifier) {
254
+ this.currentScope().referenceValue(left, Reference_1.ReferenceFlag.ReadWrite, node.right);
255
+ }
256
+ }
257
+ else {
258
+ this.visit(left);
259
+ }
260
+ this.visit(node.right);
261
+ }
262
+ BlockStatement(node) {
263
+ this.scopeManager.nestBlockScope(node);
264
+ this.visitChildren(node);
265
+ this.close(node);
266
+ }
267
+ BreakStatement() {
268
+ // don't reference the break statement's label
269
+ }
270
+ CallExpression(node) {
271
+ this.visitChildren(node, ['typeArguments']);
272
+ this.visitType(node.typeArguments);
273
+ }
274
+ CatchClause(node) {
275
+ this.scopeManager.nestCatchScope(node);
276
+ if (node.param) {
277
+ this.visitPattern(node.param, (pattern, info) => {
278
+ this.currentScope().defineIdentifier(pattern, new definition_1.CatchClauseDefinition(pattern, node));
279
+ this.referencingDefaultValue(pattern, info.assignments, null, true);
280
+ }, { processRightHandNodes: true });
281
+ }
282
+ this.visit(node.body);
283
+ this.close(node);
284
+ }
285
+ ClassDeclaration(node) {
286
+ this.visitClass(node);
287
+ }
288
+ ClassExpression(node) {
289
+ this.visitClass(node);
290
+ }
291
+ ContinueStatement() {
292
+ // don't reference the continue statement's label
293
+ }
294
+ ExportAllDeclaration() {
295
+ // this defines no local variables
296
+ }
297
+ ExportDefaultDeclaration(node) {
298
+ if (node.declaration.type === types_1.AST_NODE_TYPES.Identifier) {
299
+ ExportVisitor_1.ExportVisitor.visit(this, node);
300
+ }
301
+ else {
302
+ this.visit(node.declaration);
303
+ }
304
+ }
305
+ ExportNamedDeclaration(node) {
306
+ if (node.declaration) {
307
+ this.visit(node.declaration);
308
+ }
309
+ else {
310
+ ExportVisitor_1.ExportVisitor.visit(this, node);
311
+ }
312
+ }
313
+ ForInStatement(node) {
314
+ this.visitForIn(node);
315
+ }
316
+ ForOfStatement(node) {
317
+ this.visitForIn(node);
318
+ }
319
+ ForStatement(node) {
320
+ // Create ForStatement declaration.
321
+ // NOTE: In ES6, ForStatement dynamically generates per iteration environment. However, this is
322
+ // a static analyzer, we only generate one scope for ForStatement.
323
+ if (node.init?.type === types_1.AST_NODE_TYPES.VariableDeclaration &&
324
+ node.init.kind !== 'var') {
325
+ this.scopeManager.nestForScope(node);
326
+ }
327
+ this.visitChildren(node);
328
+ this.close(node);
329
+ }
330
+ FunctionDeclaration(node) {
331
+ this.visitFunction(node);
332
+ }
333
+ FunctionExpression(node) {
334
+ this.visitFunction(node);
335
+ }
336
+ Identifier(node) {
337
+ this.currentScope().referenceValue(node);
338
+ this.visitType(node.typeAnnotation);
339
+ }
340
+ ImportAttribute() {
341
+ // import assertions are module metadata and thus have no variables to reference
342
+ }
343
+ ImportDeclaration(node) {
344
+ (0, assert_1.assert)(this.scopeManager.isModule(), 'ImportDeclaration should appear when the mode is ES6 and in the module context.');
345
+ ImportVisitor_1.ImportVisitor.visit(this, node);
346
+ }
347
+ JSXAttribute(node) {
348
+ this.visit(node.value);
349
+ }
350
+ JSXClosingElement(node) {
351
+ this.visitJSXElement(node);
352
+ }
353
+ JSXFragment(node) {
354
+ this.referenceJsxPragma();
355
+ this.referenceJsxFragment();
356
+ this.visitChildren(node);
357
+ }
358
+ JSXIdentifier(node) {
359
+ this.currentScope().referenceValue(node);
360
+ }
361
+ JSXMemberExpression(node) {
362
+ if (node.object.type !== types_1.AST_NODE_TYPES.JSXIdentifier ||
363
+ node.object.name !== 'this') {
364
+ this.visit(node.object);
365
+ }
366
+ // we don't ever reference the property as it's always going to be a property on the thing
367
+ }
368
+ JSXOpeningElement(node) {
369
+ this.referenceJsxPragma();
370
+ this.visitJSXElement(node);
371
+ this.visitType(node.typeArguments);
372
+ for (const attr of node.attributes) {
373
+ this.visit(attr);
374
+ }
375
+ }
376
+ LabeledStatement(node) {
377
+ this.visit(node.body);
378
+ }
379
+ MemberExpression(node) {
380
+ this.visit(node.object);
381
+ if (node.computed) {
382
+ this.visit(node.property);
383
+ }
384
+ }
385
+ MetaProperty() {
386
+ // meta properties all builtin globals
387
+ }
388
+ NewExpression(node) {
389
+ this.visitChildren(node, ['typeArguments']);
390
+ this.visitType(node.typeArguments);
391
+ }
392
+ PrivateIdentifier() {
393
+ // private identifiers are members on classes and thus have no variables to reference
394
+ }
395
+ Program(node) {
396
+ const globalScope = this.scopeManager.nestGlobalScope(node);
397
+ this.populateGlobalsFromLib(globalScope);
398
+ if (this.scopeManager.isGlobalReturn()) {
399
+ // Force strictness of GlobalScope to false when using node.js scope.
400
+ this.currentScope().isStrict = false;
401
+ this.scopeManager.nestFunctionScope(node, false);
402
+ }
403
+ if (this.scopeManager.isModule()) {
404
+ this.scopeManager.nestModuleScope(node);
405
+ }
406
+ if (this.scopeManager.isImpliedStrict()) {
407
+ this.currentScope().isStrict = true;
408
+ }
409
+ this.visitChildren(node);
410
+ this.close(node);
411
+ }
412
+ Property(node) {
413
+ this.visitProperty(node);
414
+ }
415
+ SwitchStatement(node) {
416
+ this.visit(node.discriminant);
417
+ this.scopeManager.nestSwitchScope(node);
418
+ for (const switchCase of node.cases) {
419
+ this.visit(switchCase);
420
+ }
421
+ this.close(node);
422
+ }
423
+ TaggedTemplateExpression(node) {
424
+ this.visit(node.tag);
425
+ this.visit(node.quasi);
426
+ this.visitType(node.typeArguments);
427
+ }
428
+ TSAsExpression(node) {
429
+ this.visitTypeAssertion(node);
430
+ }
431
+ TSDeclareFunction(node) {
432
+ this.visitFunction(node);
433
+ }
434
+ TSEmptyBodyFunctionExpression(node) {
435
+ this.visitFunction(node);
436
+ }
437
+ TSEnumDeclaration(node) {
438
+ this.currentScope().defineIdentifier(node.id, new definition_1.TSEnumNameDefinition(node.id, node));
439
+ // enum members can be referenced within the enum body
440
+ this.scopeManager.nestTSEnumScope(node);
441
+ for (const member of node.body.members) {
442
+ // TS resolves literal named members to be actual names
443
+ // enum Foo {
444
+ // 'a' = 1,
445
+ // b = a, // this references the 'a' member
446
+ // }
447
+ if (member.id.type === types_1.AST_NODE_TYPES.Literal &&
448
+ typeof member.id.value === 'string') {
449
+ const name = member.id;
450
+ this.currentScope().defineLiteralIdentifier(name, new definition_1.TSEnumMemberDefinition(name, member));
451
+ }
452
+ else if (member.id.type === types_1.AST_NODE_TYPES.Identifier) {
453
+ this.currentScope().defineIdentifier(member.id, new definition_1.TSEnumMemberDefinition(member.id, member));
454
+ }
455
+ this.visit(member.initializer);
456
+ }
457
+ this.close(node);
458
+ }
459
+ TSExportAssignment(node) {
460
+ if (node.expression.type === types_1.AST_NODE_TYPES.Identifier) {
461
+ // this is a special case - you can `export = T` where `T` is a type OR a
462
+ // value however `T[U]` is illegal when `T` is a type and `T.U` is illegal
463
+ // when `T.U` is a type
464
+ // i.e. if the expression is JUST an Identifier - it could be either ref
465
+ // kind; otherwise the standard rules apply
466
+ this.currentScope().referenceDualValueType(node.expression);
467
+ }
468
+ else {
469
+ this.visit(node.expression);
470
+ }
471
+ }
472
+ TSImportEqualsDeclaration(node) {
473
+ this.currentScope().defineIdentifier(node.id, new definition_1.ImportBindingDefinition(node.id, node, node));
474
+ if (node.moduleReference.type === types_1.AST_NODE_TYPES.TSQualifiedName) {
475
+ let moduleIdentifier = node.moduleReference.left;
476
+ while (moduleIdentifier.type === types_1.AST_NODE_TYPES.TSQualifiedName) {
477
+ moduleIdentifier = moduleIdentifier.left;
478
+ }
479
+ this.visit(moduleIdentifier);
480
+ }
481
+ else {
482
+ this.visit(node.moduleReference);
483
+ }
484
+ }
485
+ TSInstantiationExpression(node) {
486
+ this.visitChildren(node, ['typeArguments']);
487
+ this.visitType(node.typeArguments);
488
+ }
489
+ TSInterfaceDeclaration(node) {
490
+ this.visitType(node);
491
+ }
492
+ TSModuleDeclaration(node) {
493
+ if (node.id.type === types_1.AST_NODE_TYPES.Identifier && node.kind !== 'global') {
494
+ this.currentScope().defineIdentifier(node.id, new definition_1.TSModuleNameDefinition(node.id, node));
495
+ }
496
+ this.scopeManager.nestTSModuleScope(node);
497
+ this.visit(node.body);
498
+ this.close(node);
499
+ }
500
+ TSSatisfiesExpression(node) {
501
+ this.visitTypeAssertion(node);
502
+ }
503
+ TSTypeAliasDeclaration(node) {
504
+ this.visitType(node);
505
+ }
506
+ TSTypeAssertion(node) {
507
+ this.visitTypeAssertion(node);
508
+ }
509
+ UpdateExpression(node) {
510
+ const argument = this.visitExpressionTarget(node.argument);
511
+ if (PatternVisitor_1.PatternVisitor.isPattern(argument)) {
512
+ this.visitPattern(argument, pattern => {
513
+ this.currentScope().referenceValue(pattern, Reference_1.ReferenceFlag.ReadWrite, null);
514
+ });
515
+ }
516
+ else {
517
+ this.visitChildren(node);
518
+ }
519
+ }
520
+ VariableDeclaration(node) {
521
+ const variableTargetScope = node.kind === 'var'
522
+ ? this.currentScope().variableScope
523
+ : this.currentScope();
524
+ for (const decl of node.declarations) {
525
+ const init = decl.init;
526
+ this.visitPattern(decl.id, (pattern, info) => {
527
+ variableTargetScope.defineIdentifier(pattern, new definition_1.VariableDefinition(pattern, decl, node));
528
+ this.referencingDefaultValue(pattern, info.assignments, null, true);
529
+ if (init) {
530
+ this.currentScope().referenceValue(pattern, Reference_1.ReferenceFlag.Write, init, null, true);
531
+ }
532
+ }, { processRightHandNodes: true });
533
+ this.visit(decl.init);
534
+ this.visitType(decl.id.typeAnnotation);
535
+ }
536
+ }
537
+ WithStatement(node) {
538
+ this.visit(node.object);
539
+ // Then nest scope for WithStatement.
540
+ this.scopeManager.nestWithScope(node);
541
+ this.visit(node.body);
542
+ this.close(node);
543
+ }
544
+ visitExpressionTarget(left) {
545
+ switch (left.type) {
546
+ case types_1.AST_NODE_TYPES.TSAsExpression:
547
+ case types_1.AST_NODE_TYPES.TSTypeAssertion:
548
+ // explicitly visit the type annotation
549
+ this.visitType(left.typeAnnotation);
550
+ // intentional fallthrough
551
+ case types_1.AST_NODE_TYPES.TSNonNullExpression:
552
+ // unwrap the expression
553
+ left = left.expression;
554
+ }
555
+ return left;
556
+ }
557
+ }
558
+ exports.Referencer = Referencer;
559
+ //# sourceMappingURL=Referencer.js.map
node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import type { TSESTree } from '@typescript-eslint/types';
2
+ import type { Referencer } from './Referencer';
3
+ import { Visitor } from './Visitor';
4
+ export declare class TypeVisitor extends Visitor {
5
+ #private;
6
+ constructor(referencer: Referencer);
7
+ static visit(referencer: Referencer, node: TSESTree.Node): void;
8
+ protected visitFunctionType(node: TSESTree.TSCallSignatureDeclaration | TSESTree.TSConstructorType | TSESTree.TSConstructSignatureDeclaration | TSESTree.TSFunctionType | TSESTree.TSMethodSignature): void;
9
+ protected visitPropertyKey(node: TSESTree.TSMethodSignature | TSESTree.TSPropertySignature): void;
10
+ protected Identifier(node: TSESTree.Identifier): void;
11
+ protected MemberExpression(node: TSESTree.MemberExpression): void;
12
+ protected TSCallSignatureDeclaration(node: TSESTree.TSCallSignatureDeclaration): void;
13
+ protected TSConditionalType(node: TSESTree.TSConditionalType): void;
14
+ protected TSConstructorType(node: TSESTree.TSConstructorType): void;
15
+ protected TSConstructSignatureDeclaration(node: TSESTree.TSConstructSignatureDeclaration): void;
16
+ protected TSFunctionType(node: TSESTree.TSFunctionType): void;
17
+ protected TSImportType(node: TSESTree.TSImportType): void;
18
+ protected TSIndexSignature(node: TSESTree.TSIndexSignature): void;
19
+ protected TSInferType(node: TSESTree.TSInferType): void;
20
+ protected TSInterfaceDeclaration(node: TSESTree.TSInterfaceDeclaration): void;
21
+ protected TSMappedType(node: TSESTree.TSMappedType): void;
22
+ protected TSMethodSignature(node: TSESTree.TSMethodSignature): void;
23
+ protected TSNamedTupleMember(node: TSESTree.TSNamedTupleMember): void;
24
+ protected TSPropertySignature(node: TSESTree.TSPropertySignature): void;
25
+ protected TSQualifiedName(node: TSESTree.TSQualifiedName): void;
26
+ protected TSTypeAliasDeclaration(node: TSESTree.TSTypeAliasDeclaration): void;
27
+ protected TSTypeParameter(node: TSESTree.TSTypeParameter): void;
28
+ protected TSTypePredicate(node: TSESTree.TSTypePredicate): void;
29
+ protected TSTypeAnnotation(node: TSESTree.TSTypeAnnotation): void;
30
+ protected TSTypeQuery(node: TSESTree.TSTypeQuery): void;
31
+ }
node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js ADDED
@@ -0,0 +1,222 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TypeVisitor = void 0;
4
+ const types_1 = require("@typescript-eslint/types");
5
+ const definition_1 = require("../definition");
6
+ const scope_1 = require("../scope");
7
+ const Visitor_1 = require("./Visitor");
8
+ class TypeVisitor extends Visitor_1.Visitor {
9
+ #referencer;
10
+ constructor(referencer) {
11
+ super(referencer);
12
+ this.#referencer = referencer;
13
+ }
14
+ static visit(referencer, node) {
15
+ const typeReferencer = new TypeVisitor(referencer);
16
+ typeReferencer.visit(node);
17
+ }
18
+ ///////////////////
19
+ // Visit helpers //
20
+ ///////////////////
21
+ visitFunctionType(node) {
22
+ // arguments and type parameters can only be referenced from within the function
23
+ this.#referencer.scopeManager.nestFunctionTypeScope(node);
24
+ this.visit(node.typeParameters);
25
+ for (const param of node.params) {
26
+ let didVisitAnnotation = false;
27
+ this.visitPattern(param, (pattern, info) => {
28
+ // a parameter name creates a value type variable which can be referenced later via typeof arg
29
+ this.#referencer
30
+ .currentScope()
31
+ .defineIdentifier(pattern, new definition_1.ParameterDefinition(pattern, node, info.rest));
32
+ if (pattern.typeAnnotation) {
33
+ this.visit(pattern.typeAnnotation);
34
+ didVisitAnnotation = true;
35
+ }
36
+ });
37
+ // there are a few special cases where the type annotation is owned by the parameter, not the pattern
38
+ // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
39
+ if (!didVisitAnnotation && 'typeAnnotation' in param) {
40
+ this.visit(param.typeAnnotation);
41
+ }
42
+ }
43
+ this.visit(node.returnType);
44
+ this.#referencer.close(node);
45
+ }
46
+ visitPropertyKey(node) {
47
+ if (!node.computed) {
48
+ return;
49
+ }
50
+ // computed members are treated as value references, and TS expects they have a literal type
51
+ this.#referencer.visit(node.key);
52
+ }
53
+ /////////////////////
54
+ // Visit selectors //
55
+ /////////////////////
56
+ Identifier(node) {
57
+ this.#referencer.currentScope().referenceType(node);
58
+ }
59
+ MemberExpression(node) {
60
+ this.visit(node.object);
61
+ // don't visit the property
62
+ }
63
+ TSCallSignatureDeclaration(node) {
64
+ this.visitFunctionType(node);
65
+ }
66
+ TSConditionalType(node) {
67
+ // conditional types can define inferred type parameters
68
+ // which are only accessible from inside the conditional parameter
69
+ this.#referencer.scopeManager.nestConditionalTypeScope(node);
70
+ // type parameters inferred in the condition clause are not accessible within the false branch
71
+ this.visitChildren(node, ['falseType']);
72
+ this.#referencer.close(node);
73
+ this.visit(node.falseType);
74
+ }
75
+ TSConstructorType(node) {
76
+ this.visitFunctionType(node);
77
+ }
78
+ TSConstructSignatureDeclaration(node) {
79
+ this.visitFunctionType(node);
80
+ }
81
+ TSFunctionType(node) {
82
+ this.visitFunctionType(node);
83
+ }
84
+ TSImportType(node) {
85
+ // the TS parser allows any type to be the parameter, but it's a syntax error - so we can ignore it
86
+ this.visit(node.typeArguments);
87
+ // the qualifier is just part of a standard EntityName, so it should not be visited
88
+ }
89
+ TSIndexSignature(node) {
90
+ for (const param of node.parameters) {
91
+ if (param.type === types_1.AST_NODE_TYPES.Identifier) {
92
+ this.visit(param.typeAnnotation);
93
+ }
94
+ }
95
+ this.visit(node.typeAnnotation);
96
+ }
97
+ TSInferType(node) {
98
+ const typeParameter = node.typeParameter;
99
+ let scope = this.#referencer.currentScope();
100
+ /*
101
+ In cases where there is a sub-type scope created within a conditional type, then the generic should be defined in the
102
+ conditional type's scope, not the child type scope.
103
+ If we define it within the child type's scope then it won't be able to be referenced outside the child type
104
+ */
105
+ if (scope.type === scope_1.ScopeType.functionType ||
106
+ scope.type === scope_1.ScopeType.mappedType) {
107
+ // search up the scope tree to figure out if we're in a nested type scope
108
+ let currentScope = scope.upper;
109
+ while (currentScope) {
110
+ if (currentScope.type === scope_1.ScopeType.functionType ||
111
+ currentScope.type === scope_1.ScopeType.mappedType) {
112
+ // ensure valid type parents only
113
+ currentScope = currentScope.upper;
114
+ continue;
115
+ }
116
+ if (currentScope.type === scope_1.ScopeType.conditionalType) {
117
+ scope = currentScope;
118
+ break;
119
+ }
120
+ break;
121
+ }
122
+ }
123
+ scope.defineIdentifier(typeParameter.name, new definition_1.TypeDefinition(typeParameter.name, typeParameter));
124
+ this.visit(typeParameter.constraint);
125
+ }
126
+ TSInterfaceDeclaration(node) {
127
+ this.#referencer
128
+ .currentScope()
129
+ .defineIdentifier(node.id, new definition_1.TypeDefinition(node.id, node));
130
+ if (node.typeParameters) {
131
+ // type parameters cannot be referenced from outside their current scope
132
+ this.#referencer.scopeManager.nestTypeScope(node);
133
+ this.visit(node.typeParameters);
134
+ }
135
+ node.extends.forEach(this.visit, this);
136
+ this.visit(node.body);
137
+ if (node.typeParameters) {
138
+ this.#referencer.close(node);
139
+ }
140
+ }
141
+ TSMappedType(node) {
142
+ // mapped types key can only be referenced within their return value
143
+ this.#referencer.scopeManager.nestMappedTypeScope(node);
144
+ this.#referencer
145
+ .currentScope()
146
+ .defineIdentifier(node.key, new definition_1.TypeDefinition(node.key, node));
147
+ this.visit(node.constraint);
148
+ this.visit(node.nameType);
149
+ this.visit(node.typeAnnotation);
150
+ this.#referencer.close(node);
151
+ }
152
+ TSMethodSignature(node) {
153
+ this.visitPropertyKey(node);
154
+ this.visitFunctionType(node);
155
+ }
156
+ TSNamedTupleMember(node) {
157
+ this.visit(node.elementType);
158
+ // we don't visit the label as the label only exists for the purposes of documentation
159
+ }
160
+ TSPropertySignature(node) {
161
+ this.visitPropertyKey(node);
162
+ this.visit(node.typeAnnotation);
163
+ }
164
+ TSQualifiedName(node) {
165
+ this.visit(node.left);
166
+ // we don't visit the right as it a name on the thing, not a name to reference
167
+ }
168
+ TSTypeAliasDeclaration(node) {
169
+ this.#referencer
170
+ .currentScope()
171
+ .defineIdentifier(node.id, new definition_1.TypeDefinition(node.id, node));
172
+ if (node.typeParameters) {
173
+ // type parameters cannot be referenced from outside their current scope
174
+ this.#referencer.scopeManager.nestTypeScope(node);
175
+ this.visit(node.typeParameters);
176
+ }
177
+ this.visit(node.typeAnnotation);
178
+ if (node.typeParameters) {
179
+ this.#referencer.close(node);
180
+ }
181
+ }
182
+ TSTypeParameter(node) {
183
+ this.#referencer
184
+ .currentScope()
185
+ .defineIdentifier(node.name, new definition_1.TypeDefinition(node.name, node));
186
+ this.visit(node.constraint);
187
+ this.visit(node.default);
188
+ }
189
+ TSTypePredicate(node) {
190
+ if (node.parameterName.type !== types_1.AST_NODE_TYPES.TSThisType) {
191
+ this.#referencer.currentScope().referenceValue(node.parameterName);
192
+ }
193
+ this.visit(node.typeAnnotation);
194
+ }
195
+ // a type query `typeof foo` is a special case that references a _non-type_ variable,
196
+ TSTypeAnnotation(node) {
197
+ // check
198
+ this.visitChildren(node);
199
+ }
200
+ TSTypeQuery(node) {
201
+ let entityName;
202
+ if (node.exprName.type === types_1.AST_NODE_TYPES.TSQualifiedName) {
203
+ let iter = node.exprName;
204
+ while (iter.left.type === types_1.AST_NODE_TYPES.TSQualifiedName) {
205
+ iter = iter.left;
206
+ }
207
+ entityName = iter.left;
208
+ }
209
+ else {
210
+ entityName = node.exprName;
211
+ if (node.exprName.type === types_1.AST_NODE_TYPES.TSImportType) {
212
+ this.visit(node.exprName);
213
+ }
214
+ }
215
+ if (entityName.type === types_1.AST_NODE_TYPES.Identifier) {
216
+ this.#referencer.currentScope().referenceValue(entityName);
217
+ }
218
+ this.visit(node.typeArguments);
219
+ }
220
+ }
221
+ exports.TypeVisitor = TypeVisitor;
222
+ //# sourceMappingURL=TypeVisitor.js.map
node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import type { TSESTree } from '@typescript-eslint/types';
2
+ import type { PatternVisitorCallback, PatternVisitorOptions } from './PatternVisitor';
3
+ import type { VisitorOptions } from './VisitorBase';
4
+ import { VisitorBase } from './VisitorBase';
5
+ interface VisitPatternOptions extends PatternVisitorOptions {
6
+ processRightHandNodes?: boolean;
7
+ }
8
+ export declare class Visitor extends VisitorBase {
9
+ #private;
10
+ constructor(optionsOrVisitor: Visitor | VisitorOptions);
11
+ protected visitPattern(node: TSESTree.Node, callback: PatternVisitorCallback, options?: VisitPatternOptions): void;
12
+ }
13
+ export { VisitorBase, type VisitorOptions } from './VisitorBase';
node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.VisitorBase = exports.Visitor = void 0;
4
+ const PatternVisitor_1 = require("./PatternVisitor");
5
+ const VisitorBase_1 = require("./VisitorBase");
6
+ class Visitor extends VisitorBase_1.VisitorBase {
7
+ #options;
8
+ constructor(optionsOrVisitor) {
9
+ super(optionsOrVisitor instanceof Visitor
10
+ ? optionsOrVisitor.#options
11
+ : optionsOrVisitor);
12
+ this.#options =
13
+ optionsOrVisitor instanceof Visitor
14
+ ? optionsOrVisitor.#options
15
+ : optionsOrVisitor;
16
+ }
17
+ visitPattern(node, callback, options = { processRightHandNodes: false }) {
18
+ // Call the callback at left hand identifier nodes, and Collect right hand nodes.
19
+ const visitor = new PatternVisitor_1.PatternVisitor(this.#options, node, callback);
20
+ visitor.visit(node);
21
+ // Process the right hand nodes recursively.
22
+ if (options.processRightHandNodes) {
23
+ visitor.rightHandNodes.forEach(this.visit, this);
24
+ }
25
+ }
26
+ }
27
+ exports.Visitor = Visitor;
28
+ var VisitorBase_2 = require("./VisitorBase");
29
+ Object.defineProperty(exports, "VisitorBase", { enumerable: true, get: function () { return VisitorBase_2.VisitorBase; } });
30
+ //# sourceMappingURL=Visitor.js.map
node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import type { TSESTree } from '@typescript-eslint/types';
2
+ import type { VisitorKeys } from '@typescript-eslint/visitor-keys';
3
+ export interface VisitorOptions {
4
+ childVisitorKeys?: VisitorKeys | null;
5
+ visitChildrenEvenIfSelectorExists?: boolean;
6
+ }
7
+ export declare abstract class VisitorBase {
8
+ #private;
9
+ constructor(options: VisitorOptions);
10
+ /**
11
+ * Default method for visiting children.
12
+ * @param node the node whose children should be visited
13
+ * @param excludeArr a list of keys to not visit
14
+ */
15
+ visitChildren<T extends TSESTree.Node>(node: T | null | undefined, excludeArr?: (keyof T)[]): void;
16
+ /**
17
+ * Dispatching node.
18
+ */
19
+ visit(node: TSESTree.Node | null | undefined): void;
20
+ }
21
+ export type { VisitorKeys } from '@typescript-eslint/visitor-keys';
node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.js ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.VisitorBase = void 0;
4
+ const visitor_keys_1 = require("@typescript-eslint/visitor-keys");
5
+ function isObject(obj) {
6
+ return typeof obj === 'object' && obj != null;
7
+ }
8
+ function isNode(node) {
9
+ return isObject(node) && typeof node.type === 'string';
10
+ }
11
+ class VisitorBase {
12
+ #childVisitorKeys;
13
+ #visitChildrenEvenIfSelectorExists;
14
+ constructor(options) {
15
+ this.#childVisitorKeys = options.childVisitorKeys ?? visitor_keys_1.visitorKeys;
16
+ this.#visitChildrenEvenIfSelectorExists =
17
+ options.visitChildrenEvenIfSelectorExists ?? false;
18
+ }
19
+ /**
20
+ * Default method for visiting children.
21
+ * @param node the node whose children should be visited
22
+ * @param excludeArr a list of keys to not visit
23
+ */
24
+ visitChildren(node, excludeArr = []) {
25
+ if (node?.type == null) {
26
+ return;
27
+ }
28
+ const exclude = new Set([...excludeArr, 'parent']);
29
+ const children = this.#childVisitorKeys[node.type] ?? Object.keys(node);
30
+ for (const key of children) {
31
+ if (exclude.has(key)) {
32
+ continue;
33
+ }
34
+ const child = node[key];
35
+ if (!child) {
36
+ continue;
37
+ }
38
+ if (Array.isArray(child)) {
39
+ for (const subChild of child) {
40
+ if (isNode(subChild)) {
41
+ this.visit(subChild);
42
+ }
43
+ }
44
+ }
45
+ else if (isNode(child)) {
46
+ this.visit(child);
47
+ }
48
+ }
49
+ }
50
+ /**
51
+ * Dispatching node.
52
+ */
53
+ visit(node) {
54
+ if (node?.type == null) {
55
+ return;
56
+ }
57
+ const visitor = this[node.type];
58
+ if (visitor) {
59
+ visitor.call(this, node);
60
+ if (!this.#visitChildrenEvenIfSelectorExists) {
61
+ return;
62
+ }
63
+ }
64
+ this.visitChildren(node);
65
+ }
66
+ }
67
+ exports.VisitorBase = VisitorBase;
68
+ //# sourceMappingURL=VisitorBase.js.map
node_modules/@typescript-eslint/scope-manager/dist/referencer/index.d.ts ADDED
@@ -0,0 +1 @@
 
 
1
+ export { Referencer, type ReferencerOptions } from './Referencer';
node_modules/@typescript-eslint/scope-manager/dist/referencer/index.js ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Referencer = void 0;
4
+ var Referencer_1 = require("./Referencer");
5
+ Object.defineProperty(exports, "Referencer", { enumerable: true, get: function () { return Referencer_1.Referencer; } });
6
+ //# sourceMappingURL=index.js.map
node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import type { TSESTree } from '@typescript-eslint/types';
2
+ import type { ScopeManager } from '../ScopeManager';
3
+ import type { Scope } from './Scope';
4
+ import { ScopeBase } from './ScopeBase';
5
+ import { ScopeType } from './ScopeType';
6
+ export declare class BlockScope extends ScopeBase<ScopeType.block, TSESTree.BlockStatement, Scope> {
7
+ constructor(scopeManager: ScopeManager, upperScope: BlockScope['upper'], block: BlockScope['block']);
8
+ }
node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.js ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BlockScope = void 0;
4
+ const ScopeBase_1 = require("./ScopeBase");
5
+ const ScopeType_1 = require("./ScopeType");
6
+ class BlockScope extends ScopeBase_1.ScopeBase {
7
+ constructor(scopeManager, upperScope, block) {
8
+ super(scopeManager, ScopeType_1.ScopeType.block, upperScope, block, false);
9
+ }
10
+ }
11
+ exports.BlockScope = BlockScope;
12
+ //# sourceMappingURL=BlockScope.js.map
node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import type { TSESTree } from '@typescript-eslint/types';
2
+ import type { ScopeManager } from '../ScopeManager';
3
+ import type { Scope } from './Scope';
4
+ import { ScopeBase } from './ScopeBase';
5
+ import { ScopeType } from './ScopeType';
6
+ export declare class CatchScope extends ScopeBase<ScopeType.catch, TSESTree.CatchClause, Scope> {
7
+ constructor(scopeManager: ScopeManager, upperScope: CatchScope['upper'], block: CatchScope['block']);
8
+ }
node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.js ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CatchScope = void 0;
4
+ const ScopeBase_1 = require("./ScopeBase");
5
+ const ScopeType_1 = require("./ScopeType");
6
+ class CatchScope extends ScopeBase_1.ScopeBase {
7
+ constructor(scopeManager, upperScope, block) {
8
+ super(scopeManager, ScopeType_1.ScopeType.catch, upperScope, block, false);
9
+ }
10
+ }
11
+ exports.CatchScope = CatchScope;
12
+ //# sourceMappingURL=CatchScope.js.map
node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import type { TSESTree } from '@typescript-eslint/types';
2
+ import type { ScopeManager } from '../ScopeManager';
3
+ import type { Scope } from './Scope';
4
+ import { ScopeBase } from './ScopeBase';
5
+ import { ScopeType } from './ScopeType';
6
+ export declare class ClassFieldInitializerScope extends ScopeBase<ScopeType.classFieldInitializer, TSESTree.Expression, Scope> {
7
+ constructor(scopeManager: ScopeManager, upperScope: ClassFieldInitializerScope['upper'], block: ClassFieldInitializerScope['block']);
8
+ }
node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.js ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ClassFieldInitializerScope = void 0;
4
+ const ScopeBase_1 = require("./ScopeBase");
5
+ const ScopeType_1 = require("./ScopeType");
6
+ class ClassFieldInitializerScope extends ScopeBase_1.ScopeBase {
7
+ constructor(scopeManager, upperScope, block) {
8
+ super(scopeManager, ScopeType_1.ScopeType.classFieldInitializer, upperScope, block, false);
9
+ }
10
+ }
11
+ exports.ClassFieldInitializerScope = ClassFieldInitializerScope;
12
+ //# sourceMappingURL=ClassFieldInitializerScope.js.map
node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import type { TSESTree } from '@typescript-eslint/types';
2
+ import type { ScopeManager } from '../ScopeManager';
3
+ import type { Scope } from './Scope';
4
+ import { ScopeBase } from './ScopeBase';
5
+ import { ScopeType } from './ScopeType';
6
+ export declare class ClassScope extends ScopeBase<ScopeType.class, TSESTree.ClassDeclaration | TSESTree.ClassExpression, Scope> {
7
+ constructor(scopeManager: ScopeManager, upperScope: ClassScope['upper'], block: ClassScope['block']);
8
+ }
node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.js ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ClassScope = void 0;
4
+ const ScopeBase_1 = require("./ScopeBase");
5
+ const ScopeType_1 = require("./ScopeType");
6
+ class ClassScope extends ScopeBase_1.ScopeBase {
7
+ constructor(scopeManager, upperScope, block) {
8
+ super(scopeManager, ScopeType_1.ScopeType.class, upperScope, block, false);
9
+ }
10
+ }
11
+ exports.ClassScope = ClassScope;
12
+ //# sourceMappingURL=ClassScope.js.map
node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import type { TSESTree } from '@typescript-eslint/types';
2
+ import type { ScopeManager } from '../ScopeManager';
3
+ import type { Scope } from './Scope';
4
+ import { ScopeBase } from './ScopeBase';
5
+ import { ScopeType } from './ScopeType';
6
+ export declare class ClassStaticBlockScope extends ScopeBase<ScopeType.classStaticBlock, TSESTree.StaticBlock, Scope> {
7
+ constructor(scopeManager: ScopeManager, upperScope: ClassStaticBlockScope['upper'], block: ClassStaticBlockScope['block']);
8
+ }
node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ClassStaticBlockScope = void 0;
4
+ const ScopeBase_1 = require("./ScopeBase");
5
+ const ScopeType_1 = require("./ScopeType");
6
+ class ClassStaticBlockScope extends ScopeBase_1.ScopeBase {
7
+ constructor(scopeManager, upperScope, block) {
8
+ super(scopeManager, ScopeType_1.ScopeType.classStaticBlock, upperScope, block, false);
9
+ }
10
+ }
11
+ exports.ClassStaticBlockScope = ClassStaticBlockScope;
12
+ //# sourceMappingURL=ClassStaticBlockScope.js.map
node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import type { TSESTree } from '@typescript-eslint/types';
2
+ import type { ScopeManager } from '../ScopeManager';
3
+ import type { Scope } from './Scope';
4
+ import { ScopeBase } from './ScopeBase';
5
+ import { ScopeType } from './ScopeType';
6
+ export declare class ConditionalTypeScope extends ScopeBase<ScopeType.conditionalType, TSESTree.TSConditionalType, Scope> {
7
+ constructor(scopeManager: ScopeManager, upperScope: ConditionalTypeScope['upper'], block: ConditionalTypeScope['block']);
8
+ }
node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.js ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ConditionalTypeScope = void 0;
4
+ const ScopeBase_1 = require("./ScopeBase");
5
+ const ScopeType_1 = require("./ScopeType");
6
+ class ConditionalTypeScope extends ScopeBase_1.ScopeBase {
7
+ constructor(scopeManager, upperScope, block) {
8
+ super(scopeManager, ScopeType_1.ScopeType.conditionalType, upperScope, block, false);
9
+ }
10
+ }
11
+ exports.ConditionalTypeScope = ConditionalTypeScope;
12
+ //# sourceMappingURL=ConditionalTypeScope.js.map
node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import type { TSESTree } from '@typescript-eslint/types';
2
+ import type { ScopeManager } from '../ScopeManager';
3
+ import type { Scope } from './Scope';
4
+ import { ScopeBase } from './ScopeBase';
5
+ import { ScopeType } from './ScopeType';
6
+ export declare class ForScope extends ScopeBase<ScopeType.for, TSESTree.ForInStatement | TSESTree.ForOfStatement | TSESTree.ForStatement, Scope> {
7
+ constructor(scopeManager: ScopeManager, upperScope: ForScope['upper'], block: ForScope['block']);
8
+ }