eslint-plugin-gb 1.5.1 → 2.0.0-alpha.0
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/package.json +30 -18
- package/src/index.d.ts +66 -0
- package/src/index.js +188 -0
- package/src/index.js.map +1 -0
- package/lib/index.d.ts +0 -3
- package/lib/index.js +0 -80
- package/lib/index.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,15 +1,36 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-gb",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "2.0.0-alpha.0",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"build": "nx build",
|
|
7
|
+
"test": "nx test"
|
|
8
|
+
},
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"@typescript-eslint/eslint-plugin": "^5.60.1",
|
|
11
|
+
"tslib": "^2.3.0"
|
|
12
|
+
},
|
|
6
13
|
"devDependencies": {
|
|
7
|
-
"
|
|
8
|
-
"
|
|
14
|
+
"@nx/eslint-plugin": "16.10.0",
|
|
15
|
+
"@nx/js": "16.10.0",
|
|
16
|
+
"@nx/linter": "16.10.0",
|
|
17
|
+
"@nx/vite": "16.10.0",
|
|
18
|
+
"@nx/workspace": "16.10.0",
|
|
19
|
+
"@types/node": "18.7.1",
|
|
20
|
+
"@typescript-eslint/parser": "^5.60.1",
|
|
21
|
+
"@vitest/coverage-c8": "~0.32.0",
|
|
22
|
+
"@vitest/ui": "~0.32.0",
|
|
23
|
+
"eslint": "~8.46.0",
|
|
24
|
+
"eslint-config-prettier": "8.1.0",
|
|
25
|
+
"nx": "16.10.0",
|
|
26
|
+
"prettier": "^2.6.2",
|
|
27
|
+
"typescript": "~5.1.3",
|
|
28
|
+
"vite": "~4.3.9",
|
|
29
|
+
"vitest": "~0.32.0"
|
|
9
30
|
},
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
|
|
31
|
+
"type": "commonjs",
|
|
32
|
+
"main": "./src/index.js",
|
|
33
|
+
"typings": "./src/index.d.ts",
|
|
13
34
|
"repository": {
|
|
14
35
|
"type": "git",
|
|
15
36
|
"url": "https://github.com/garyb432/eslint-plugin-gb.git"
|
|
@@ -20,14 +41,5 @@
|
|
|
20
41
|
"eslintplugin",
|
|
21
42
|
"eslint-plugin",
|
|
22
43
|
"typescript"
|
|
23
|
-
]
|
|
24
|
-
"license": "ISC",
|
|
25
|
-
"main": "lib/index.js",
|
|
26
|
-
"scripts": {
|
|
27
|
-
"prebuild": "rimraf lib",
|
|
28
|
-
"build": "tsc",
|
|
29
|
-
"prepare": "npm run build"
|
|
30
|
-
},
|
|
31
|
-
"typings": "lib/index.d.ts",
|
|
32
|
-
"gitHead": "3ca1c7e7943b67f0361be18b45a351f4dbc27261"
|
|
44
|
+
]
|
|
33
45
|
}
|
package/src/index.d.ts
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
configs: {
|
|
3
|
+
base: {
|
|
4
|
+
env: {
|
|
5
|
+
node: boolean;
|
|
6
|
+
es2021: boolean;
|
|
7
|
+
};
|
|
8
|
+
plugins: string[];
|
|
9
|
+
extends: string[];
|
|
10
|
+
rules: {
|
|
11
|
+
'@typescript-eslint/explicit-member-accessibility': string;
|
|
12
|
+
'@typescript-eslint/explicit-module-boundary-types': string;
|
|
13
|
+
'@typescript-eslint/no-unused-vars': string;
|
|
14
|
+
'@typescript-eslint/member-ordering': (string | {
|
|
15
|
+
default: {
|
|
16
|
+
memberTypes: string[];
|
|
17
|
+
order: string;
|
|
18
|
+
};
|
|
19
|
+
})[];
|
|
20
|
+
'@typescript-eslint/consistent-type-imports': string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
recommended: {
|
|
24
|
+
plugins: string[];
|
|
25
|
+
extends: string[];
|
|
26
|
+
};
|
|
27
|
+
'recommended-with-type-checking': {
|
|
28
|
+
plugins: string[];
|
|
29
|
+
extends: string[];
|
|
30
|
+
rules: {
|
|
31
|
+
'@typescript-eslint/unbound-method': (string | {
|
|
32
|
+
ignoreStatic: boolean;
|
|
33
|
+
})[];
|
|
34
|
+
'@typescript-eslint/no-floating-promises': string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
all: {
|
|
38
|
+
env: {
|
|
39
|
+
node: boolean;
|
|
40
|
+
es2021: boolean;
|
|
41
|
+
jest: boolean;
|
|
42
|
+
};
|
|
43
|
+
plugins: string[];
|
|
44
|
+
extends: string[];
|
|
45
|
+
overrides: {
|
|
46
|
+
files: string[];
|
|
47
|
+
rules: {
|
|
48
|
+
'@typescript-eslint/unbound-method': string;
|
|
49
|
+
'jest/unbound-method': string;
|
|
50
|
+
};
|
|
51
|
+
}[];
|
|
52
|
+
rules: {
|
|
53
|
+
'prettier/prettier': string;
|
|
54
|
+
'@typescript-eslint/explicit-member-accessibility': string;
|
|
55
|
+
'@typescript-eslint/no-unused-vars': string;
|
|
56
|
+
'@typescript-eslint/member-ordering': (string | {
|
|
57
|
+
default: {
|
|
58
|
+
memberTypes: string[];
|
|
59
|
+
order: string;
|
|
60
|
+
};
|
|
61
|
+
})[];
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
export default _default;
|
package/src/index.js
ADDED
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// const orderingRule =
|
|
3
|
+
// require('@typescript-eslint/eslint-plugin/dist/rules/member-ordering') as {
|
|
4
|
+
// defaultOrder: unknown;
|
|
5
|
+
// };
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
// module.exports = {};
|
|
8
|
+
const defaultOrder = [
|
|
9
|
+
// Index signature
|
|
10
|
+
'signature',
|
|
11
|
+
'call-signature',
|
|
12
|
+
// Fields
|
|
13
|
+
'public-static-field',
|
|
14
|
+
'protected-static-field',
|
|
15
|
+
'private-static-field',
|
|
16
|
+
'#private-static-field',
|
|
17
|
+
'public-decorated-field',
|
|
18
|
+
'protected-decorated-field',
|
|
19
|
+
'private-decorated-field',
|
|
20
|
+
'public-instance-field',
|
|
21
|
+
'protected-instance-field',
|
|
22
|
+
'private-instance-field',
|
|
23
|
+
'#private-instance-field',
|
|
24
|
+
'public-abstract-field',
|
|
25
|
+
'protected-abstract-field',
|
|
26
|
+
'public-field',
|
|
27
|
+
'protected-field',
|
|
28
|
+
'private-field',
|
|
29
|
+
'#private-field',
|
|
30
|
+
'static-field',
|
|
31
|
+
'instance-field',
|
|
32
|
+
'abstract-field',
|
|
33
|
+
'decorated-field',
|
|
34
|
+
'field',
|
|
35
|
+
// Static initialization
|
|
36
|
+
'static-initialization',
|
|
37
|
+
// Constructors
|
|
38
|
+
'public-constructor',
|
|
39
|
+
'protected-constructor',
|
|
40
|
+
'private-constructor',
|
|
41
|
+
'constructor',
|
|
42
|
+
// Getters
|
|
43
|
+
'public-static-get',
|
|
44
|
+
'protected-static-get',
|
|
45
|
+
'private-static-get',
|
|
46
|
+
'#private-static-get',
|
|
47
|
+
'public-decorated-get',
|
|
48
|
+
'protected-decorated-get',
|
|
49
|
+
'private-decorated-get',
|
|
50
|
+
'public-instance-get',
|
|
51
|
+
'protected-instance-get',
|
|
52
|
+
'private-instance-get',
|
|
53
|
+
'#private-instance-get',
|
|
54
|
+
'public-abstract-get',
|
|
55
|
+
'protected-abstract-get',
|
|
56
|
+
'public-get',
|
|
57
|
+
'protected-get',
|
|
58
|
+
'private-get',
|
|
59
|
+
'#private-get',
|
|
60
|
+
'static-get',
|
|
61
|
+
'instance-get',
|
|
62
|
+
'abstract-get',
|
|
63
|
+
'decorated-get',
|
|
64
|
+
'get',
|
|
65
|
+
// Setters
|
|
66
|
+
'public-static-set',
|
|
67
|
+
'protected-static-set',
|
|
68
|
+
'private-static-set',
|
|
69
|
+
'#private-static-set',
|
|
70
|
+
'public-decorated-set',
|
|
71
|
+
'protected-decorated-set',
|
|
72
|
+
'private-decorated-set',
|
|
73
|
+
'public-instance-set',
|
|
74
|
+
'protected-instance-set',
|
|
75
|
+
'private-instance-set',
|
|
76
|
+
'#private-instance-set',
|
|
77
|
+
'public-abstract-set',
|
|
78
|
+
'protected-abstract-set',
|
|
79
|
+
'public-set',
|
|
80
|
+
'protected-set',
|
|
81
|
+
'private-set',
|
|
82
|
+
'#private-set',
|
|
83
|
+
'static-set',
|
|
84
|
+
'instance-set',
|
|
85
|
+
'abstract-set',
|
|
86
|
+
'decorated-set',
|
|
87
|
+
'set',
|
|
88
|
+
// Methods
|
|
89
|
+
'public-static-method',
|
|
90
|
+
'protected-static-method',
|
|
91
|
+
'private-static-method',
|
|
92
|
+
'#private-static-method',
|
|
93
|
+
'public-decorated-method',
|
|
94
|
+
'protected-decorated-method',
|
|
95
|
+
'private-decorated-method',
|
|
96
|
+
'public-instance-method',
|
|
97
|
+
'protected-instance-method',
|
|
98
|
+
'private-instance-method',
|
|
99
|
+
'#private-instance-method',
|
|
100
|
+
'public-abstract-method',
|
|
101
|
+
'protected-abstract-method',
|
|
102
|
+
'public-method',
|
|
103
|
+
'protected-method',
|
|
104
|
+
'private-method',
|
|
105
|
+
'#private-method',
|
|
106
|
+
'static-method',
|
|
107
|
+
'instance-method',
|
|
108
|
+
'abstract-method',
|
|
109
|
+
'decorated-method',
|
|
110
|
+
'method',
|
|
111
|
+
];
|
|
112
|
+
exports.default = {
|
|
113
|
+
configs: {
|
|
114
|
+
base: {
|
|
115
|
+
env: {
|
|
116
|
+
node: true,
|
|
117
|
+
es2021: true,
|
|
118
|
+
},
|
|
119
|
+
plugins: ['@typescript-eslint'],
|
|
120
|
+
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
|
|
121
|
+
rules: {
|
|
122
|
+
'@typescript-eslint/explicit-member-accessibility': 'warn',
|
|
123
|
+
'@typescript-eslint/explicit-module-boundary-types': 'warn',
|
|
124
|
+
'@typescript-eslint/no-unused-vars': 'off',
|
|
125
|
+
'@typescript-eslint/member-ordering': [
|
|
126
|
+
'warn',
|
|
127
|
+
{
|
|
128
|
+
default: {
|
|
129
|
+
memberTypes: defaultOrder,
|
|
130
|
+
order: 'alphabetically',
|
|
131
|
+
},
|
|
132
|
+
},
|
|
133
|
+
],
|
|
134
|
+
'@typescript-eslint/consistent-type-imports': 'warn',
|
|
135
|
+
},
|
|
136
|
+
},
|
|
137
|
+
recommended: {
|
|
138
|
+
plugins: ['gb'],
|
|
139
|
+
extends: ['plugin:gb/base'],
|
|
140
|
+
},
|
|
141
|
+
'recommended-with-type-checking': {
|
|
142
|
+
plugins: ['gb'],
|
|
143
|
+
extends: ['plugin:gb/recommended'],
|
|
144
|
+
rules: {
|
|
145
|
+
'@typescript-eslint/unbound-method': ['error', { ignoreStatic: true }],
|
|
146
|
+
'@typescript-eslint/no-floating-promises': 'warn',
|
|
147
|
+
},
|
|
148
|
+
},
|
|
149
|
+
all: {
|
|
150
|
+
env: {
|
|
151
|
+
node: true,
|
|
152
|
+
es2021: true,
|
|
153
|
+
jest: true,
|
|
154
|
+
},
|
|
155
|
+
plugins: ['@typescript-eslint', 'jest'],
|
|
156
|
+
extends: [
|
|
157
|
+
'eslint:recommended',
|
|
158
|
+
'plugin:@typescript-eslint/recommended',
|
|
159
|
+
'plugin:@typescript-eslint/recommended-requiring-type-checking',
|
|
160
|
+
'plugin:prettier/recommended',
|
|
161
|
+
],
|
|
162
|
+
overrides: [
|
|
163
|
+
{
|
|
164
|
+
files: ['**/*.spec.ts'],
|
|
165
|
+
rules: {
|
|
166
|
+
'@typescript-eslint/unbound-method': 'off',
|
|
167
|
+
'jest/unbound-method': 'error',
|
|
168
|
+
},
|
|
169
|
+
},
|
|
170
|
+
],
|
|
171
|
+
rules: {
|
|
172
|
+
'prettier/prettier': 'warn',
|
|
173
|
+
'@typescript-eslint/explicit-member-accessibility': 'warn',
|
|
174
|
+
'@typescript-eslint/no-unused-vars': 'off',
|
|
175
|
+
'@typescript-eslint/member-ordering': [
|
|
176
|
+
'warn',
|
|
177
|
+
{
|
|
178
|
+
default: {
|
|
179
|
+
memberTypes: defaultOrder,
|
|
180
|
+
order: 'alphabetically',
|
|
181
|
+
},
|
|
182
|
+
},
|
|
183
|
+
],
|
|
184
|
+
},
|
|
185
|
+
},
|
|
186
|
+
},
|
|
187
|
+
};
|
|
188
|
+
//# sourceMappingURL=index.js.map
|
package/src/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":";AAAA,uBAAuB;AACvB,gFAAgF;AAChF,6BAA6B;AAC7B,OAAO;;AAEP,uBAAuB;AAEvB,MAAM,YAAY,GAAa;IAC7B,kBAAkB;IAClB,WAAW;IACX,gBAAgB;IAChB,SAAS;IACT,qBAAqB;IACrB,wBAAwB;IACxB,sBAAsB;IACtB,uBAAuB;IACvB,wBAAwB;IACxB,2BAA2B;IAC3B,yBAAyB;IACzB,uBAAuB;IACvB,0BAA0B;IAC1B,wBAAwB;IACxB,yBAAyB;IACzB,uBAAuB;IACvB,0BAA0B;IAC1B,cAAc;IACd,iBAAiB;IACjB,eAAe;IACf,gBAAgB;IAChB,cAAc;IACd,gBAAgB;IAChB,gBAAgB;IAChB,iBAAiB;IACjB,OAAO;IACP,wBAAwB;IACxB,uBAAuB;IACvB,eAAe;IACf,oBAAoB;IACpB,uBAAuB;IACvB,qBAAqB;IACrB,aAAa;IACb,UAAU;IACV,mBAAmB;IACnB,sBAAsB;IACtB,oBAAoB;IACpB,qBAAqB;IACrB,sBAAsB;IACtB,yBAAyB;IACzB,uBAAuB;IACvB,qBAAqB;IACrB,wBAAwB;IACxB,sBAAsB;IACtB,uBAAuB;IACvB,qBAAqB;IACrB,wBAAwB;IACxB,YAAY;IACZ,eAAe;IACf,aAAa;IACb,cAAc;IACd,YAAY;IACZ,cAAc;IACd,cAAc;IACd,eAAe;IACf,KAAK;IACL,UAAU;IACV,mBAAmB;IACnB,sBAA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ACf,OAAO,EAAE,CAAC,uBAAuB,CAAC;YAClC,KAAK,EAAE;gBACL,mCAAmC,EAAE,CAAC,OAAO,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC;gBACtE,yCAAyC,EAAE,MAAM;aAClD;SACF;QACD,GAAG,EAAE;YACH,GAAG,EAAE;gBACH,IAAI,EAAE,IAAI;gBACV,MAAM,EAAE,IAAI;gBACZ,IAAI,EAAE,IAAI;aACX;YACD,OAAO,EAAE,CAAC,oBAAoB,EAAE,MAAM,CAAC;YACvC,OAAO,EAAE;gBACP,oBAAoB;gBACpB,uCAAuC;gBACvC,+DAA+D;gBAC/D,6BAA6B;aAC9B;YACD,SAAS,EAAE;gBACT;oBACE,KAAK,EAAE,CAAC,cAAc,CAAC;oBACvB,KAAK,EAAE;wBACL,mCAAmC,EAAE,KAAK;wBAC1C,qBAAqB,EAAE,OAAO;qBAC/B;iBACF;aACF;YACD,KAAK,EAAE;gBACL,mBAAmB,EAAE,MAAM;gBAC3B,kDAAkD,EAAE,MAAM;gBAC1D,mCAAmC,EAAE,KAAK;gBAC1C,oCAAoC,EAAE;oBACpC,MAAM;oBACN;wBACE,OAAO,EAAE;4BACP,WAAW,EAAE,YAAY;4BACzB,KAAK,EAAE,gBAAgB;yBACxB;qBACF;iBACF;aACF;SACF;KACF;CACF,CAAC"}
|
package/lib/index.d.ts
DELETED
package/lib/index.js
DELETED
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable @typescript-eslint/no-var-requires */
|
|
3
|
-
const orderingRule = require('@typescript-eslint/eslint-plugin/dist/rules/member-ordering');
|
|
4
|
-
module.exports = {
|
|
5
|
-
configs: {
|
|
6
|
-
base: {
|
|
7
|
-
env: {
|
|
8
|
-
node: true,
|
|
9
|
-
es2021: true,
|
|
10
|
-
},
|
|
11
|
-
plugins: ['@typescript-eslint'],
|
|
12
|
-
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
|
|
13
|
-
rules: {
|
|
14
|
-
'@typescript-eslint/explicit-member-accessibility': 'warn',
|
|
15
|
-
'@typescript-eslint/explicit-module-boundary-types': 'warn',
|
|
16
|
-
'@typescript-eslint/no-unused-vars': 'off',
|
|
17
|
-
'@typescript-eslint/member-ordering': [
|
|
18
|
-
'warn',
|
|
19
|
-
{
|
|
20
|
-
default: {
|
|
21
|
-
memberTypes: orderingRule.defaultOrder,
|
|
22
|
-
order: 'alphabetically',
|
|
23
|
-
},
|
|
24
|
-
},
|
|
25
|
-
],
|
|
26
|
-
'@typescript-eslint/consistent-type-imports': 'warn',
|
|
27
|
-
},
|
|
28
|
-
},
|
|
29
|
-
recommended: {
|
|
30
|
-
plugins: ['gb'],
|
|
31
|
-
extends: ['plugin:gb/base'],
|
|
32
|
-
},
|
|
33
|
-
'recommended-with-type-checking': {
|
|
34
|
-
plugins: ['gb'],
|
|
35
|
-
extends: ['plugin:gb/recommended'],
|
|
36
|
-
rules: {
|
|
37
|
-
'@typescript-eslint/unbound-method': ['error', { ignoreStatic: true }],
|
|
38
|
-
'@typescript-eslint/no-floating-promises': 'warn',
|
|
39
|
-
},
|
|
40
|
-
},
|
|
41
|
-
all: {
|
|
42
|
-
env: {
|
|
43
|
-
node: true,
|
|
44
|
-
es2021: true,
|
|
45
|
-
jest: true,
|
|
46
|
-
},
|
|
47
|
-
plugins: ['@typescript-eslint', 'jest'],
|
|
48
|
-
extends: [
|
|
49
|
-
'eslint:recommended',
|
|
50
|
-
'plugin:@typescript-eslint/recommended',
|
|
51
|
-
'plugin:@typescript-eslint/recommended-requiring-type-checking',
|
|
52
|
-
'plugin:prettier/recommended',
|
|
53
|
-
],
|
|
54
|
-
overrides: [
|
|
55
|
-
{
|
|
56
|
-
files: ['**/*.spec.ts'],
|
|
57
|
-
rules: {
|
|
58
|
-
'@typescript-eslint/unbound-method': 'off',
|
|
59
|
-
'jest/unbound-method': 'error',
|
|
60
|
-
},
|
|
61
|
-
},
|
|
62
|
-
],
|
|
63
|
-
rules: {
|
|
64
|
-
'prettier/prettier': 'warn',
|
|
65
|
-
'@typescript-eslint/explicit-member-accessibility': 'warn',
|
|
66
|
-
'@typescript-eslint/no-unused-vars': 'off',
|
|
67
|
-
'@typescript-eslint/member-ordering': [
|
|
68
|
-
'warn',
|
|
69
|
-
{
|
|
70
|
-
default: {
|
|
71
|
-
memberTypes: orderingRule.defaultOrder,
|
|
72
|
-
order: 'alphabetically',
|
|
73
|
-
},
|
|
74
|
-
},
|
|
75
|
-
],
|
|
76
|
-
},
|
|
77
|
-
},
|
|
78
|
-
},
|
|
79
|
-
};
|
|
80
|
-
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,uDAAuD;AAEvD,MAAM,YAAY,GAChB,OAAO,CAAC,6DAA6D,CAEpE,CAAC;AAEJ,MAAM,CAAC,OAAO,GAAG;IACf,OAAO,EAAE;QACP,IAAI,EAAE;YACJ,GAAG,EAAE;gBACH,IAAI,EAAE,IAAI;gBACV,MAAM,EAAE,IAAI;aACb;YACD,OAAO,EAAE,CAAC,oBAAoB,CAAC;YAC/B,OAAO,EAAE,CAAC,oBAAoB,EAAE,uCAAuC,CAAC;YACxE,KAAK,EAAE;gBACL,kDAAkD,EAAE,MAAM;gBAC1D,mDAAmD,EAAE,MAAM;gBAC3D,mCAAmC,EAAE,KAAK;gBAC1C,oCAAoC,EAAE;oBACpC,MAAM;oBACN;wBACE,OAAO,EAAE;4BACP,WAAW,EAAE,YAAY,CAAC,YAAY;4BACtC,KAAK,EAAE,gBAAgB;yBACxB;qBACF;iBACF;gBACD,4CAA4C,EAAE,MAAM;aACrD;SACF;QACD,WAAW,EAAE;YACX,OAAO,EAAE,CAAC,IAAI,CAAC;YACf,OAAO,EAAE,CAAC,gBAAgB,CAAC;SAC5B;QACD,gCAAgC,EAAE;YAChC,OAAO,EAAE,CAAC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