@4mbl/lint 0.0.0-alpha.a78f42b → 0.0.0-alpha.a9f7845
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +124 -0
- package/bin/cli.js +31 -3
- package/dist/base.d.ts +38 -8
- package/dist/base.d.ts.map +1 -1
- package/dist/base.js +17 -2
- package/dist/base.js.map +1 -1
- package/dist/next.d.ts +540 -2
- package/dist/next.d.ts.map +1 -1
- package/dist/next.js +49 -37
- package/dist/next.js.map +1 -1
- package/dist/node.d.ts +53 -9
- package/dist/node.d.ts.map +1 -1
- package/dist/node.js +12 -2
- package/dist/node.js.map +1 -1
- package/dist/react.d.ts +63 -21
- package/dist/react.d.ts.map +1 -1
- package/dist/react.js +21 -8
- package/dist/react.js.map +1 -1
- package/package.json +6 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,129 @@
|
|
|
1
1
|
# @4mbl/lint
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.26
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 10abc93: Upgrade dependencies
|
|
8
|
+
|
|
9
|
+
## 1.0.0-beta.25
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- b812b8d: Upgrade dependencies
|
|
14
|
+
|
|
15
|
+
## 1.0.0-beta.24
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- c713974: [base] Enable type-check within oxlint
|
|
20
|
+
- 87a9f36: Upgrade dependencies
|
|
21
|
+
|
|
22
|
+
## 1.0.0-beta.23
|
|
23
|
+
|
|
24
|
+
### Minor Changes
|
|
25
|
+
|
|
26
|
+
- 09239e5: Upgrade dependencies
|
|
27
|
+
|
|
28
|
+
## 1.0.0-beta.22
|
|
29
|
+
|
|
30
|
+
### Minor Changes
|
|
31
|
+
|
|
32
|
+
- 75f5fe2: Upgrade dependencies
|
|
33
|
+
|
|
34
|
+
## 1.0.0-beta.21
|
|
35
|
+
|
|
36
|
+
### Minor Changes
|
|
37
|
+
|
|
38
|
+
- ae2bb06: [base] Disable unicorn/max-nested-calls rule
|
|
39
|
+
|
|
40
|
+
## 1.0.0-beta.20
|
|
41
|
+
|
|
42
|
+
### Minor Changes
|
|
43
|
+
|
|
44
|
+
- 0a0c233: Upgrade dependencies
|
|
45
|
+
|
|
46
|
+
## 1.0.0-beta.19
|
|
47
|
+
|
|
48
|
+
### Minor Changes
|
|
49
|
+
|
|
50
|
+
- 4d35fb5: [react] Disable react/jsx-no-literals rule
|
|
51
|
+
|
|
52
|
+
## 1.0.0-beta.18
|
|
53
|
+
|
|
54
|
+
### Minor Changes
|
|
55
|
+
|
|
56
|
+
- a50c3f4: Upgrade dependencies
|
|
57
|
+
|
|
58
|
+
## 1.0.0-beta.17
|
|
59
|
+
|
|
60
|
+
### Minor Changes
|
|
61
|
+
|
|
62
|
+
- f0f62f4: Upgrade dependencies
|
|
63
|
+
|
|
64
|
+
## 1.0.0-beta.16
|
|
65
|
+
|
|
66
|
+
### Minor Changes
|
|
67
|
+
|
|
68
|
+
- b303b6f: Upgrade dependencies
|
|
69
|
+
|
|
70
|
+
## 1.0.0-beta.15
|
|
71
|
+
|
|
72
|
+
### Minor Changes
|
|
73
|
+
|
|
74
|
+
- aa95edc: Upgrade dependencies
|
|
75
|
+
|
|
76
|
+
## 1.0.0-beta.14
|
|
77
|
+
|
|
78
|
+
### Minor Changes
|
|
79
|
+
|
|
80
|
+
- e34f9fe: Enable import plugin in base
|
|
81
|
+
- 5586655: Disable some import plugin rules in base
|
|
82
|
+
- 9b2b412: Disable `no-nodejs-modules` in node
|
|
83
|
+
|
|
84
|
+
## 1.0.0-beta.13
|
|
85
|
+
|
|
86
|
+
### Minor Changes
|
|
87
|
+
|
|
88
|
+
- dd66007: Pin dependencies to ensure future compatibility
|
|
89
|
+
- 0feb87d: Remove unused dependencies and inline trivial imports
|
|
90
|
+
- 1d98a33: Disable `react/forbid-component-props` and `react/forbid-dom-props` to ensure Tailwind compatibility
|
|
91
|
+
- a9085f2: Extend inherited plugins in child presets
|
|
92
|
+
- 014d999: Allow `eslint/no-underscore-dangle` for `__dirname` and `__filename` in node
|
|
93
|
+
|
|
94
|
+
## 1.0.0-beta.12
|
|
95
|
+
|
|
96
|
+
### Minor Changes
|
|
97
|
+
|
|
98
|
+
- aee0259: Upgrade dependencies
|
|
99
|
+
|
|
100
|
+
## 1.0.0-beta.11
|
|
101
|
+
|
|
102
|
+
### Minor Changes
|
|
103
|
+
|
|
104
|
+
- 20b3dae: Use native rules for React when possible
|
|
105
|
+
|
|
106
|
+
## 1.0.0-beta.10
|
|
107
|
+
|
|
108
|
+
### Minor Changes
|
|
109
|
+
|
|
110
|
+
- 007a287: Configure more rules to reduce noise
|
|
111
|
+
- 007a287: Use native only-export-components rule instead of js plugin
|
|
112
|
+
- 007a287: Use correct namespace for Next.js rules
|
|
113
|
+
|
|
114
|
+
## 1.0.0-beta.9
|
|
115
|
+
|
|
116
|
+
### Minor Changes
|
|
117
|
+
|
|
118
|
+
- 491164e: Add --help flag to cli
|
|
119
|
+
- 491164e: Fallback to Oxlint config lookup if no preset is passed to CLI and Oxlint config exists within working directory.
|
|
120
|
+
|
|
121
|
+
## 1.0.0-beta.8
|
|
122
|
+
|
|
123
|
+
### Minor Changes
|
|
124
|
+
|
|
125
|
+
- a78f42b: Configure rules to reduce noise
|
|
126
|
+
|
|
3
127
|
## 1.0.0-beta.7
|
|
4
128
|
|
|
5
129
|
### Minor Changes
|
package/bin/cli.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { spawnSync } from 'node:child_process';
|
|
4
|
+
import { existsSync } from 'node:fs';
|
|
4
5
|
import path from 'node:path';
|
|
5
6
|
import { fileURLToPath } from 'node:url';
|
|
6
7
|
|
|
@@ -15,11 +16,38 @@ const wrapperArgs =
|
|
|
15
16
|
separatorIndex === -1 ? rawArgs : rawArgs.slice(0, separatorIndex);
|
|
16
17
|
const toolArgs = separatorIndex === -1 ? [] : rawArgs.slice(separatorIndex + 1);
|
|
17
18
|
|
|
19
|
+
if (wrapperArgs.includes('--help') || rawArgs.includes('-h')) {
|
|
20
|
+
console.log(`
|
|
21
|
+
Usage:
|
|
22
|
+
lint [options] -- [oxlint options]
|
|
23
|
+
|
|
24
|
+
Options:
|
|
25
|
+
--preset <name> Use a preset config (default: base if no config within cwd)
|
|
26
|
+
|
|
27
|
+
Examples:
|
|
28
|
+
lint
|
|
29
|
+
lint --preset node
|
|
30
|
+
lint -- src --fix
|
|
31
|
+
|
|
32
|
+
Notes:
|
|
33
|
+
Everything after "--" is passed directly to oxlint.
|
|
34
|
+
`);
|
|
35
|
+
|
|
36
|
+
process.exit(0);
|
|
37
|
+
}
|
|
38
|
+
|
|
18
39
|
const presetArgIndex = wrapperArgs.findIndex((a) => a === '--preset');
|
|
40
|
+
|
|
19
41
|
const presetName =
|
|
20
|
-
presetArgIndex !== -1
|
|
42
|
+
presetArgIndex !== -1
|
|
43
|
+
? wrapperArgs[presetArgIndex + 1]
|
|
44
|
+
: !existsSync('./oxlint.config.ts') && !existsSync('./.oxlintrc.json')
|
|
45
|
+
? 'base'
|
|
46
|
+
: undefined;
|
|
21
47
|
|
|
22
|
-
const configPath =
|
|
48
|
+
const configPath = presetName
|
|
49
|
+
? path.resolve(__dirname, `../dist/${presetName}.js`)
|
|
50
|
+
: undefined;
|
|
23
51
|
|
|
24
52
|
const hasPath = toolArgs.some((a) => !a.startsWith('-'));
|
|
25
53
|
const hasMaxWarn = toolArgs.some((a) => a.startsWith('--max-warnings'));
|
|
@@ -28,7 +56,7 @@ const hasReportUnused = toolArgs.some((a) =>
|
|
|
28
56
|
);
|
|
29
57
|
|
|
30
58
|
const finalArgs = [
|
|
31
|
-
'--config',
|
|
59
|
+
configPath ? '--config' : undefined,
|
|
32
60
|
configPath,
|
|
33
61
|
hasPath ? undefined : 'src',
|
|
34
62
|
hasMaxWarn ? undefined : '--max-warnings=0',
|
package/dist/base.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineConfig, type OxlintConfig } from 'oxlint';
|
|
2
2
|
type BaseOptions = {};
|
|
3
3
|
declare function baseConfig(_options?: Partial<BaseOptions>): {
|
|
4
|
-
plugins: ("
|
|
4
|
+
plugins: ("import" | "typescript" | "unicorn")[];
|
|
5
5
|
jsPlugins: never[];
|
|
6
6
|
categories: {
|
|
7
7
|
correctness: "error";
|
|
@@ -17,6 +17,7 @@ declare function baseConfig(_options?: Partial<BaseOptions>): {
|
|
|
17
17
|
};
|
|
18
18
|
options: {
|
|
19
19
|
typeAware: true;
|
|
20
|
+
typeCheck: true;
|
|
20
21
|
};
|
|
21
22
|
rules: {
|
|
22
23
|
'eslint/no-var': "warn";
|
|
@@ -91,7 +92,7 @@ declare function baseConfig(_options?: Partial<BaseOptions>): {
|
|
|
91
92
|
'typescript/prefer-as-const': "error";
|
|
92
93
|
'typescript/triple-slash-reference': "error";
|
|
93
94
|
'typescript/explicit-member-accessibility': ["warn", {
|
|
94
|
-
accessibility:
|
|
95
|
+
accessibility: "no-public";
|
|
95
96
|
}];
|
|
96
97
|
'eslint/id-length': "off";
|
|
97
98
|
'eslint/sort-keys': "off";
|
|
@@ -101,13 +102,13 @@ declare function baseConfig(_options?: Partial<BaseOptions>): {
|
|
|
101
102
|
'eslint/max-params': "off";
|
|
102
103
|
'eslint/no-ternary': "off";
|
|
103
104
|
'eslint/curly': "warn";
|
|
104
|
-
'typescript/consistent-type-definitions': ["warn",
|
|
105
|
+
'typescript/consistent-type-definitions': ["warn", "type"];
|
|
105
106
|
'eslint/max-statements': "off";
|
|
106
107
|
'typescript/consistent-return': "off";
|
|
107
108
|
'unicorn/switch-case-braces': "warn";
|
|
108
109
|
'typescript/prefer-regexp-exec': "warn";
|
|
109
110
|
'eslint/init-declarations': "off";
|
|
110
|
-
'unicorn/no-null': "
|
|
111
|
+
'unicorn/no-null': "off";
|
|
111
112
|
'eslint/no-undefined': "off";
|
|
112
113
|
'eslint/no-console': "off";
|
|
113
114
|
'eslint/no-continue': "off";
|
|
@@ -120,15 +121,29 @@ declare function baseConfig(_options?: Partial<BaseOptions>): {
|
|
|
120
121
|
'eslint/no-empty-function': ["warn", {
|
|
121
122
|
allow: string[];
|
|
122
123
|
}];
|
|
124
|
+
'unicorn/no-instanceof-builtins': "off";
|
|
125
|
+
'unicorn/prefer-spread': "off";
|
|
126
|
+
'eslint/new-cap': "off";
|
|
127
|
+
'unicorn/no-await-expression-member': "off";
|
|
123
128
|
'eslint/no-duplicate-imports': ["warn", {
|
|
124
129
|
allowSeparateTypeImports: boolean;
|
|
125
130
|
}];
|
|
131
|
+
'import/no-named-export': "off";
|
|
132
|
+
'import/no-default-export': "off";
|
|
133
|
+
'import/prefer-default-export': "off";
|
|
134
|
+
'import/no-namespace': "off";
|
|
135
|
+
'import/exports-last': "off";
|
|
136
|
+
'import/no-unassigned-import': "off";
|
|
137
|
+
'import/group-exports': "off";
|
|
138
|
+
'import/consistent-type-specifier-style': "off";
|
|
126
139
|
'unicorn/no-new-array': "off";
|
|
127
140
|
'eslint/no-array-constructor': "warn";
|
|
128
141
|
'typescript/explicit-function-return-type': "off";
|
|
129
142
|
'typescript/explicit-module-boundary-types': "off";
|
|
130
143
|
'unicorn/no-anonymous-default-export': "off";
|
|
131
144
|
'eslint/sort-imports': "off";
|
|
145
|
+
'import/no-relative-parent-imports': "off";
|
|
146
|
+
'unicorn/max-nested-calls': "off";
|
|
132
147
|
'eslint/no-magic-numbers': "off";
|
|
133
148
|
'unicorn/prefer-modern-math-apis': "off";
|
|
134
149
|
'eslint/no-use-before-define': "off";
|
|
@@ -150,7 +165,7 @@ declare function baseConfig(_options?: Partial<BaseOptions>): {
|
|
|
150
165
|
};
|
|
151
166
|
export { type OxlintConfig, defineConfig, baseConfig };
|
|
152
167
|
declare const _default: {
|
|
153
|
-
plugins: ("
|
|
168
|
+
plugins: ("import" | "typescript" | "unicorn")[];
|
|
154
169
|
jsPlugins: never[];
|
|
155
170
|
categories: {
|
|
156
171
|
correctness: "error";
|
|
@@ -166,6 +181,7 @@ declare const _default: {
|
|
|
166
181
|
};
|
|
167
182
|
options: {
|
|
168
183
|
typeAware: true;
|
|
184
|
+
typeCheck: true;
|
|
169
185
|
};
|
|
170
186
|
rules: {
|
|
171
187
|
'eslint/no-var': "warn";
|
|
@@ -240,7 +256,7 @@ declare const _default: {
|
|
|
240
256
|
'typescript/prefer-as-const': "error";
|
|
241
257
|
'typescript/triple-slash-reference': "error";
|
|
242
258
|
'typescript/explicit-member-accessibility': ["warn", {
|
|
243
|
-
accessibility:
|
|
259
|
+
accessibility: "no-public";
|
|
244
260
|
}];
|
|
245
261
|
'eslint/id-length': "off";
|
|
246
262
|
'eslint/sort-keys': "off";
|
|
@@ -250,13 +266,13 @@ declare const _default: {
|
|
|
250
266
|
'eslint/max-params': "off";
|
|
251
267
|
'eslint/no-ternary': "off";
|
|
252
268
|
'eslint/curly': "warn";
|
|
253
|
-
'typescript/consistent-type-definitions': ["warn",
|
|
269
|
+
'typescript/consistent-type-definitions': ["warn", "type"];
|
|
254
270
|
'eslint/max-statements': "off";
|
|
255
271
|
'typescript/consistent-return': "off";
|
|
256
272
|
'unicorn/switch-case-braces': "warn";
|
|
257
273
|
'typescript/prefer-regexp-exec': "warn";
|
|
258
274
|
'eslint/init-declarations': "off";
|
|
259
|
-
'unicorn/no-null': "
|
|
275
|
+
'unicorn/no-null': "off";
|
|
260
276
|
'eslint/no-undefined': "off";
|
|
261
277
|
'eslint/no-console': "off";
|
|
262
278
|
'eslint/no-continue': "off";
|
|
@@ -269,15 +285,29 @@ declare const _default: {
|
|
|
269
285
|
'eslint/no-empty-function': ["warn", {
|
|
270
286
|
allow: string[];
|
|
271
287
|
}];
|
|
288
|
+
'unicorn/no-instanceof-builtins': "off";
|
|
289
|
+
'unicorn/prefer-spread': "off";
|
|
290
|
+
'eslint/new-cap': "off";
|
|
291
|
+
'unicorn/no-await-expression-member': "off";
|
|
272
292
|
'eslint/no-duplicate-imports': ["warn", {
|
|
273
293
|
allowSeparateTypeImports: boolean;
|
|
274
294
|
}];
|
|
295
|
+
'import/no-named-export': "off";
|
|
296
|
+
'import/no-default-export': "off";
|
|
297
|
+
'import/prefer-default-export': "off";
|
|
298
|
+
'import/no-namespace': "off";
|
|
299
|
+
'import/exports-last': "off";
|
|
300
|
+
'import/no-unassigned-import': "off";
|
|
301
|
+
'import/group-exports': "off";
|
|
302
|
+
'import/consistent-type-specifier-style': "off";
|
|
275
303
|
'unicorn/no-new-array': "off";
|
|
276
304
|
'eslint/no-array-constructor': "warn";
|
|
277
305
|
'typescript/explicit-function-return-type': "off";
|
|
278
306
|
'typescript/explicit-module-boundary-types': "off";
|
|
279
307
|
'unicorn/no-anonymous-default-export': "off";
|
|
280
308
|
'eslint/sort-imports': "off";
|
|
309
|
+
'import/no-relative-parent-imports': "off";
|
|
310
|
+
'unicorn/max-nested-calls': "off";
|
|
281
311
|
'eslint/no-magic-numbers': "off";
|
|
282
312
|
'unicorn/prefer-modern-math-apis': "off";
|
|
283
313
|
'eslint/no-use-before-define': "off";
|
package/dist/base.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../src/base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEzD,KAAK,WAAW,GAAG,EAAE,CAAC;AAItB,iBAAS,UAAU,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../src/base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEzD,KAAK,WAAW,GAAG,EAAE,CAAC;AAItB,iBAAS,UAAU,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2LlD;AAED,OAAO,EAAE,KAAK,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,CAAC"}
|
package/dist/base.js
CHANGED
|
@@ -3,7 +3,7 @@ import { defineConfig } from 'oxlint';
|
|
|
3
3
|
function baseConfig(_options) {
|
|
4
4
|
// const opts = { ...DEFAULT_OPTIONS, ...options };
|
|
5
5
|
return defineConfig({
|
|
6
|
-
plugins: ['typescript', 'unicorn'],
|
|
6
|
+
plugins: ['import', 'typescript', 'unicorn'],
|
|
7
7
|
jsPlugins: [],
|
|
8
8
|
categories: {
|
|
9
9
|
correctness: 'error',
|
|
@@ -19,6 +19,7 @@ function baseConfig(_options) {
|
|
|
19
19
|
},
|
|
20
20
|
options: {
|
|
21
21
|
typeAware: true,
|
|
22
|
+
typeCheck: true,
|
|
22
23
|
},
|
|
23
24
|
rules: {
|
|
24
25
|
//* ERRORS - base rules that are always mistakes
|
|
@@ -114,7 +115,7 @@ function baseConfig(_options) {
|
|
|
114
115
|
'unicorn/switch-case-braces': 'warn',
|
|
115
116
|
'typescript/prefer-regexp-exec': 'warn',
|
|
116
117
|
'eslint/init-declarations': 'off',
|
|
117
|
-
'unicorn/no-null': '
|
|
118
|
+
'unicorn/no-null': 'off', // too strict, for example JSON.stringify requires null parameter, null is also required in react
|
|
118
119
|
'eslint/no-undefined': 'off', // undefined is necessary
|
|
119
120
|
'eslint/no-console': 'off', // browser is no longer the only environment js is run on
|
|
120
121
|
'eslint/no-continue': 'off', // early-continue is useful
|
|
@@ -123,10 +124,22 @@ function baseConfig(_options) {
|
|
|
123
124
|
'eslint/no-void': 'off', // void is useful for explicitly indicating floating promises
|
|
124
125
|
'eslint/no-nested-ternary': 'off', // ternaries are cleaner and necessary due to lack of match expressions
|
|
125
126
|
'eslint/no-empty-function': ['warn', { allow: ['constructors'] }], // empty constructors are allowed for explicit singleton pattern
|
|
127
|
+
'unicorn/no-instanceof-builtins': 'off', // better typesafety than using `typeof`
|
|
128
|
+
'unicorn/prefer-spread': 'off', // conflicts with other rules
|
|
129
|
+
'eslint/new-cap': 'off', // false positives
|
|
130
|
+
'unicorn/no-await-expression-member': 'off', // accessing await result directly is more desired than slight readability improvement
|
|
126
131
|
'eslint/no-duplicate-imports': [
|
|
127
132
|
'warn',
|
|
128
133
|
{ allowSeparateTypeImports: true },
|
|
129
134
|
],
|
|
135
|
+
'import/no-named-export': 'off',
|
|
136
|
+
'import/no-default-export': 'off',
|
|
137
|
+
'import/prefer-default-export': 'off',
|
|
138
|
+
'import/no-namespace': 'off', // star imports are still pretty necessary
|
|
139
|
+
'import/exports-last': 'off', // star imports are still pretty necessary
|
|
140
|
+
'import/no-unassigned-import': 'off', // required for css imports
|
|
141
|
+
'import/group-exports': 'off', // co-locating export statement with the function it exports is more readable
|
|
142
|
+
'import/consistent-type-specifier-style': 'off', // single import per file is more readable
|
|
130
143
|
// Array.from() is slower than new Array()
|
|
131
144
|
// https://jsperf.app/tatuse
|
|
132
145
|
'unicorn/no-new-array': 'off',
|
|
@@ -137,6 +150,8 @@ function baseConfig(_options) {
|
|
|
137
150
|
// may revisit
|
|
138
151
|
'unicorn/no-anonymous-default-export': 'off',
|
|
139
152
|
'eslint/sort-imports': 'off', // consider when oxfmt is setup
|
|
153
|
+
'import/no-relative-parent-imports': 'off',
|
|
154
|
+
'unicorn/max-nested-calls': 'off',
|
|
140
155
|
// currently produces too many false positives
|
|
141
156
|
'eslint/no-magic-numbers': 'off',
|
|
142
157
|
'unicorn/prefer-modern-math-apis': 'off',
|
package/dist/base.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.js","sourceRoot":"","sources":["../src/base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAqB,MAAM,QAAQ,CAAC;AAIzD,2CAA2C;AAE3C,SAAS,UAAU,CAAC,QAA+B;IACjD,mDAAmD;IAEnD,OAAO,YAAY,CAAC;QAClB,OAAO,EAAE,CAAC,YAAY,EAAE,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"base.js","sourceRoot":"","sources":["../src/base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAqB,MAAM,QAAQ,CAAC;AAIzD,2CAA2C;AAE3C,SAAS,UAAU,CAAC,QAA+B;IACjD,mDAAmD;IAEnD,OAAO,YAAY,CAAC;QAClB,OAAO,EAAE,CAAC,QAAQ,EAAE,YAAY,EAAE,SAAS,CAAC;QAC5C,SAAS,EAAE,EAAE;QACb,UAAU,EAAE;YACV,WAAW,EAAE,OAAO;YACpB,UAAU,EAAE,MAAM;YAClB,QAAQ,EAAE,KAAK;YACf,IAAI,EAAE,MAAM;YACZ,KAAK,EAAE,MAAM;YACb,WAAW,EAAE,MAAM;YACnB,OAAO,EAAE,KAAK;SACf;QACD,GAAG,EAAE;YACH,OAAO,EAAE,IAAI;SACd;QACD,OAAO,EAAE;YACP,SAAS,EAAE,IAAI;YACf,SAAS,EAAE,IAAI;SAChB;QACD,KAAK,EAAE;YACL,gDAAgD;YAChD,wCAAwC;YACxC,kEAAkE;YAClE,eAAe,EAAE,MAAM;YACvB,qBAAqB,EAAE,OAAO;YAC9B,2BAA2B,EAAE,OAAO;YACpC,sBAAsB,EAAE,OAAO;YAC/B,kCAAkC,EAAE,OAAO;YAC3C,6BAA6B,EAAE,OAAO;YACtC,wBAAwB,EAAE,OAAO;YACjC,4BAA4B,EAAE,OAAO;YACrC,uBAAuB,EAAE,OAAO;YAChC,wBAAwB,EAAE,OAAO;YACjC,sCAAsC,EAAE,OAAO;YAC/C,8BAA8B,EAAE,OAAO;YACvC,yBAAyB,EAAE,OAAO;YACl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