@sergdudko/stripe-js 1.1.41 → 1.2.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/CHANGELOG.md +59 -0
- package/ignoreUpdatesModules.json +2 -2
- package/lib/methods/confirmPaymentIntentByPaymentMethod.d.ts +1 -1
- package/lib/methods/index.d.ts +2 -2
- package/lib/utils/constants.d.ts +1 -1
- package/lib/utils/constants.js +1 -1
- package/package.json +12 -16
- package/.eslintrc.js +0 -117
package/CHANGELOG.md
CHANGED
|
@@ -1,206 +1,265 @@
|
|
|
1
|
+
# 1.2.0 / 2024-08-20
|
|
2
|
+
|
|
3
|
+
### :tada: Enhancements
|
|
4
|
+
|
|
5
|
+
- Updated dependencies
|
|
6
|
+
|
|
7
|
+
# 1.1.43 / 2024-06-21
|
|
8
|
+
|
|
9
|
+
### :tada: Enhancements
|
|
10
|
+
|
|
11
|
+
- Updated dependencies: typescript
|
|
12
|
+
|
|
13
|
+
# 1.1.42 / 2024-06-18
|
|
14
|
+
|
|
15
|
+
### :tada: Enhancements
|
|
16
|
+
|
|
17
|
+
- Updated dependencies: @stripe/stripe-js, @typescript-eslint/eslint-plugin, @typescript-eslint/parser, stripe
|
|
18
|
+
|
|
1
19
|
# 1.1.41 / 2024-06-14
|
|
2
20
|
|
|
3
21
|
### :tada: Enhancements
|
|
22
|
+
|
|
4
23
|
- Updated dependencies: stripe
|
|
5
24
|
|
|
6
25
|
# 1.1.40 / 2024-06-12
|
|
7
26
|
|
|
8
27
|
### :tada: Enhancements
|
|
28
|
+
|
|
9
29
|
- Updated dependencies: @stripe/stripe-js, @typescript-eslint/eslint-plugin, @typescript-eslint/parser, chai, jsdom, nyc, stripe, typedoc, typescript
|
|
10
30
|
|
|
11
31
|
# 1.1.39 / 2024-04-05
|
|
12
32
|
|
|
13
33
|
### :tada: Enhancements
|
|
34
|
+
|
|
14
35
|
- Updated dependencies: stripe, typescript
|
|
15
36
|
|
|
16
37
|
# 1.1.38 / 2024-04-02
|
|
17
38
|
|
|
18
39
|
### :tada: Enhancements
|
|
40
|
+
|
|
19
41
|
- Updated dependencies: @stripe/stripe-js, @typescript-eslint/eslint-plugin, @typescript-eslint/parser
|
|
20
42
|
|
|
21
43
|
# 1.1.37 / 2024-03-29
|
|
22
44
|
|
|
23
45
|
### :tada: Enhancements
|
|
46
|
+
|
|
24
47
|
- Updated dependencies: stripe
|
|
25
48
|
|
|
26
49
|
# 1.1.36 / 2024-03-27
|
|
27
50
|
|
|
28
51
|
### :tada: Enhancements
|
|
52
|
+
|
|
29
53
|
- Updated dependencies: mocha
|
|
30
54
|
|
|
31
55
|
# 1.1.35 / 2024-03-26
|
|
32
56
|
|
|
33
57
|
### :tada: Enhancements
|
|
58
|
+
|
|
34
59
|
- Updated dependencies: @stripe/stripe-js, @typescript-eslint/eslint-plugin, @typescript-eslint/parser
|
|
35
60
|
|
|
36
61
|
# 1.1.34 / 2024-03-22
|
|
37
62
|
|
|
38
63
|
### :tada: Enhancements
|
|
64
|
+
|
|
39
65
|
- Updated dependencies: stripe
|
|
40
66
|
|
|
41
67
|
# 1.1.33 / 2024-03-21
|
|
42
68
|
|
|
43
69
|
### :tada: Enhancements
|
|
70
|
+
|
|
44
71
|
- Updated dependencies: typescript
|
|
45
72
|
|
|
46
73
|
# 1.1.32 / 2024-03-19
|
|
47
74
|
|
|
48
75
|
### :tada: Enhancements
|
|
76
|
+
|
|
49
77
|
- Updated dependencies: @typescript-eslint/eslint-plugin, @typescript-eslint/parser
|
|
50
78
|
|
|
51
79
|
# 1.1.31 / 2024-03-15
|
|
52
80
|
|
|
53
81
|
### :tada: Enhancements
|
|
82
|
+
|
|
54
83
|
- Updated dependencies: @stripe/stripe-js, stripe
|
|
55
84
|
|
|
56
85
|
# 1.1.30 / 2024-03-12
|
|
57
86
|
|
|
58
87
|
### :tada: Enhancements
|
|
88
|
+
|
|
59
89
|
- Updated dependencies: @stripe/stripe-js, @typescript-eslint/eslint-plugin, @typescript-eslint/parser
|
|
60
90
|
|
|
61
91
|
# 1.1.29 / 2024-03-11
|
|
62
92
|
|
|
63
93
|
### :tada: Enhancements
|
|
94
|
+
|
|
64
95
|
- Updated dependencies: stripe, typedoc, typescript
|
|
65
96
|
|
|
66
97
|
# 1.1.28 / 2024-03-05
|
|
67
98
|
|
|
68
99
|
### :tada: Enhancements
|
|
100
|
+
|
|
69
101
|
- Updated dependencies: @stripe/stripe-js, @typescript-eslint/eslint-plugin, @typescript-eslint/parser
|
|
70
102
|
|
|
71
103
|
# 1.1.27 / 2024-03-04
|
|
72
104
|
|
|
73
105
|
### :tada: Enhancements
|
|
106
|
+
|
|
74
107
|
- Updated dependencies: typedoc
|
|
75
108
|
|
|
76
109
|
# 1.1.26 / 2024-03-01
|
|
77
110
|
|
|
78
111
|
### :tada: Enhancements
|
|
112
|
+
|
|
79
113
|
- Updated dependencies: stripe
|
|
80
114
|
|
|
81
115
|
# 1.1.25 / 2024-02-27
|
|
82
116
|
|
|
83
117
|
### :tada: Enhancements
|
|
118
|
+
|
|
84
119
|
- Updated dependencies: @stripe/stripe-js, @typescript-eslint/eslint-plugin, @typescript-eslint/parser, typedoc
|
|
85
120
|
|
|
86
121
|
# 1.1.24 / 2024-02-24
|
|
87
122
|
|
|
88
123
|
### :tada: Enhancements
|
|
124
|
+
|
|
89
125
|
- Updated dependencies: eslint
|
|
90
126
|
|
|
91
127
|
# 1.1.23 / 2024-02-23
|
|
92
128
|
|
|
93
129
|
### :tada: Enhancements
|
|
130
|
+
|
|
94
131
|
- Updated dependencies: stripe
|
|
95
132
|
|
|
96
133
|
# 1.1.22 / 2024-02-22
|
|
97
134
|
|
|
98
135
|
### :tada: Enhancements
|
|
136
|
+
|
|
99
137
|
- Updated dependencies: @stripe/stripe-js
|
|
100
138
|
|
|
101
139
|
# 1.1.21 / 2024-02-20
|
|
102
140
|
|
|
103
141
|
### :tada: Enhancements
|
|
142
|
+
|
|
104
143
|
- Updated dependencies: @typescript-eslint/eslint-plugin, @typescript-eslint/parser
|
|
105
144
|
|
|
106
145
|
# 1.1.20 / 2024-02-16
|
|
107
146
|
|
|
108
147
|
### :tada: Enhancements
|
|
148
|
+
|
|
109
149
|
- Updated dependencies: @stripe/stripe-js, stripe
|
|
110
150
|
|
|
111
151
|
# 1.1.19 / 2024-02-15
|
|
112
152
|
|
|
113
153
|
### :tada: Enhancements
|
|
154
|
+
|
|
114
155
|
- Updated dependencies: @stripe/stripe-js
|
|
115
156
|
|
|
116
157
|
# 1.1.18 / 2024-02-14
|
|
117
158
|
|
|
118
159
|
### :tada: Enhancements
|
|
160
|
+
|
|
119
161
|
- Updated dependencies: @stripe/stripe-js
|
|
120
162
|
|
|
121
163
|
# 1.1.17 / 2024-02-13
|
|
122
164
|
|
|
123
165
|
### :tada: Enhancements
|
|
166
|
+
|
|
124
167
|
- Updated dependencies: @stripe/stripe-js, @typescript-eslint/eslint-plugin, @typescript-eslint/parser, chai
|
|
125
168
|
|
|
126
169
|
# 1.1.16 / 2024-02-10
|
|
127
170
|
|
|
128
171
|
### :tada: Enhancements
|
|
172
|
+
|
|
129
173
|
- Updated dependencies: typedoc
|
|
130
174
|
|
|
131
175
|
# 1.1.15 / 2024-02-09
|
|
132
176
|
|
|
133
177
|
### :tada: Enhancements
|
|
178
|
+
|
|
134
179
|
- Updated dependencies: mocha, stripe
|
|
135
180
|
|
|
136
181
|
# 1.1.14 / 2024-02-08
|
|
137
182
|
|
|
138
183
|
### :tada: Enhancements
|
|
184
|
+
|
|
139
185
|
- Updated dependencies: @typescript-eslint/eslint-plugin, @typescript-eslint/parser, stripe
|
|
140
186
|
|
|
141
187
|
# 1.1.13 / 2023-11-21
|
|
142
188
|
|
|
143
189
|
### :tada: Enhancements
|
|
190
|
+
|
|
144
191
|
- Updated dependencies: @stripe/stripe-js, @typescript-eslint/eslint-plugin, @typescript-eslint/parser, typescript
|
|
145
192
|
|
|
146
193
|
# 1.1.12 / 2023-11-18
|
|
147
194
|
|
|
148
195
|
### :tada: Enhancements
|
|
196
|
+
|
|
149
197
|
- Updated dependencies: eslint
|
|
150
198
|
|
|
151
199
|
# 1.1.11 / 2023-11-17
|
|
152
200
|
|
|
153
201
|
### :tada: Enhancements
|
|
202
|
+
|
|
154
203
|
- Updated dependencies: stripe
|
|
155
204
|
|
|
156
205
|
# 1.1.10 / 2023-11-14
|
|
157
206
|
|
|
158
207
|
### :tada: Enhancements
|
|
208
|
+
|
|
159
209
|
- Updated dependencies: @typescript-eslint/eslint-plugin, @typescript-eslint/parser
|
|
160
210
|
|
|
161
211
|
# 1.1.9 / 2023-11-10
|
|
162
212
|
|
|
163
213
|
### :tada: Enhancements
|
|
214
|
+
|
|
164
215
|
- Updated dependencies: stripe
|
|
165
216
|
|
|
166
217
|
# 1.1.8 / 2023-11-07
|
|
167
218
|
|
|
168
219
|
### :tada: Enhancements
|
|
220
|
+
|
|
169
221
|
- Updated dependencies: @typescript-eslint/eslint-plugin, @typescript-eslint/parser
|
|
170
222
|
|
|
171
223
|
# 1.1.7 / 2023-11-04
|
|
172
224
|
|
|
173
225
|
### :tada: Enhancements
|
|
226
|
+
|
|
174
227
|
- Updated dependencies: eslint
|
|
175
228
|
|
|
176
229
|
# 1.1.6 / 2023-11-03
|
|
177
230
|
|
|
178
231
|
### :tada: Enhancements
|
|
232
|
+
|
|
179
233
|
- Updated dependencies: @stripe/stripe-js, stripe
|
|
180
234
|
|
|
181
235
|
# 1.1.5 / 2023-10-31
|
|
182
236
|
|
|
183
237
|
### :tada: Enhancements
|
|
238
|
+
|
|
184
239
|
- Updated dependencies: @typescript-eslint/eslint-plugin, @typescript-eslint/parser
|
|
185
240
|
|
|
186
241
|
# 1.1.4 / 2023-10-30
|
|
187
242
|
|
|
188
243
|
### :tada: Enhancements
|
|
244
|
+
|
|
189
245
|
- Updated dependencies: typedoc
|
|
190
246
|
|
|
191
247
|
# 1.1.3 / 2023-10-27
|
|
192
248
|
|
|
193
249
|
### :tada: Enhancements
|
|
250
|
+
|
|
194
251
|
- Updated dependencies: stripe
|
|
195
252
|
|
|
196
253
|
# 1.1.2 / 2023-10-24
|
|
197
254
|
|
|
198
255
|
### :tada: Enhancements
|
|
256
|
+
|
|
199
257
|
- Updated dependencies: @stripe/stripe-js, @typescript-eslint/eslint-plugin, @typescript-eslint/parser, eslint-plugin-import
|
|
200
258
|
|
|
201
259
|
# 1.1.1 / 2023-10-21
|
|
202
260
|
|
|
203
261
|
### :tada: Enhancements
|
|
262
|
+
|
|
204
263
|
- Updated dependencies: eslint
|
|
205
264
|
|
|
206
265
|
# 1.1.0 / 2023-10-18
|
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* @param paymentMethodId - stripe customer payment method id (see: https://stripe.com/docs/api/cards/object#card_object-id)
|
|
6
6
|
* @returns
|
|
7
7
|
*/
|
|
8
|
-
export declare const confirmPaymentIntentByPaymentMethod: (this: import(".").StripeExtension, paymentIntentSecret: string, paymentMethodId: string, returnUrl?: string
|
|
8
|
+
export declare const confirmPaymentIntentByPaymentMethod: (this: import(".").StripeExtension, paymentIntentSecret: string, paymentMethodId: string, returnUrl?: string) => Promise<import("@stripe/stripe-js").PaymentIntentResult["paymentIntent"] | undefined>;
|
package/lib/methods/index.d.ts
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
export declare class StripeExtension {
|
|
5
5
|
constructor(apiKey: string);
|
|
6
6
|
_apiKey: string;
|
|
7
|
-
confirmPaymentIntentByCard: (this: StripeExtension, paymentIntentSecret: string, paymentMethodId: string, returnUrl?: string
|
|
8
|
-
confirmPaymentIntentByPaymentMethod: (this: StripeExtension, paymentIntentSecret: string, paymentMethodId: string, returnUrl?: string
|
|
7
|
+
confirmPaymentIntentByCard: (this: StripeExtension, paymentIntentSecret: string, paymentMethodId: string, returnUrl?: string) => Promise<import("@stripe/stripe-js").PaymentIntentResult["paymentIntent"] | undefined>;
|
|
8
|
+
confirmPaymentIntentByPaymentMethod: (this: StripeExtension, paymentIntentSecret: string, paymentMethodId: string, returnUrl?: string) => Promise<import("@stripe/stripe-js").PaymentIntentResult["paymentIntent"] | undefined>;
|
|
9
9
|
addSourceToCustomer: (this: StripeExtension, token: string, customerId: string, ephemeralKey: string) => Promise<import("@stripe/stripe-js").Card | undefined>;
|
|
10
10
|
deleteSourceFromCustomer: (this: StripeExtension, sourceId: string, customerId: string, ephemeralKey: string) => Promise<import("@stripe/stripe-js").Card | undefined>;
|
|
11
11
|
getAllCards: (this: StripeExtension, customerId: string, ephemeralKey: string) => Promise<any>;
|
package/lib/utils/constants.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare const stripeApiUrl = "https://api.stripe.com/v1";
|
|
2
|
-
export declare const stripeApiVersion = "
|
|
2
|
+
export declare const stripeApiVersion = "2024-06-20";
|
package/lib/utils/constants.js
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.stripeApiVersion = exports.stripeApiUrl = void 0;
|
|
4
4
|
exports.stripeApiUrl = "https://api.stripe.com/v1";
|
|
5
|
-
exports.stripeApiVersion = "
|
|
5
|
+
exports.stripeApiVersion = "2024-06-20";
|
|
6
6
|
//# sourceMappingURL=constants.js.map
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sergdudko/stripe-js",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "Additional methods for working with stripe-js",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
|
-
"lint": "./node_modules/.bin/eslint
|
|
8
|
+
"lint": "./node_modules/.bin/eslint src/**/*.ts",
|
|
9
9
|
"prebuild": "npm run lint",
|
|
10
10
|
"build": "./node_modules/.bin/tsc --declaration",
|
|
11
|
-
"test": "./node_modules/.bin/nyc
|
|
11
|
+
"test": "./node_modules/.bin/nyc node --test ./test/*.test.js",
|
|
12
12
|
"doc": "./node_modules/.bin/typedoc --entryPointStrategy expand src",
|
|
13
13
|
"update": "eval \"$(node -e 'const t = require(`./package.json`);const ignore = require(`./ignoreUpdatesModules.json`);console.log(`npm i ${(Object.keys(t.dependencies||{}).filter((e)=>ignore.base.indexOf(e) === -1).map((e)=>(`${e}@latest`)).join(` `))} --save&&npm i ${(Object.keys(t.devDependencies||{}).filter((e)=>ignore.dev.indexOf(e) === -1).map((e)=>(`${e}@latest`)).join(` `))} --save-dev`);')\""
|
|
14
14
|
},
|
|
@@ -50,22 +50,18 @@
|
|
|
50
50
|
},
|
|
51
51
|
"homepage": "https://github.com/siarheidudko/stripe-js#readme",
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"eslint": "^8.57.0",
|
|
57
|
-
"eslint-config-prettier": "^9.1.0",
|
|
58
|
-
"eslint-plugin-import": "^2.29.1",
|
|
59
|
-
"jsdom": "^24.1.0",
|
|
53
|
+
"@eslint/js": "^9.9.0",
|
|
54
|
+
"eslint": "^9.9.0",
|
|
55
|
+
"jsdom": "^24.1.1",
|
|
60
56
|
"jsdom-global": "^3.0.2",
|
|
61
|
-
"mocha": "^10.4.0",
|
|
62
|
-
"node-fetch": "^2.7.0",
|
|
63
57
|
"nyc": "^17.0.0",
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
58
|
+
"prettier": "^3.3.3",
|
|
59
|
+
"stripe": "^16.8.0",
|
|
60
|
+
"typedoc": "^0.26.6",
|
|
61
|
+
"typescript": "^5.5.4",
|
|
62
|
+
"typescript-eslint": "^8.2.0"
|
|
67
63
|
},
|
|
68
64
|
"dependencies": {
|
|
69
|
-
"@stripe/stripe-js": "^3.
|
|
65
|
+
"@stripe/stripe-js": "^4.3.0"
|
|
70
66
|
}
|
|
71
67
|
}
|
package/.eslintrc.js
DELETED
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
env: {
|
|
3
|
-
browser: true,
|
|
4
|
-
es6: true,
|
|
5
|
-
node: true,
|
|
6
|
-
},
|
|
7
|
-
extends: [
|
|
8
|
-
"eslint:recommended",
|
|
9
|
-
"prettier",
|
|
10
|
-
"plugin:import/errors",
|
|
11
|
-
"plugin:import/warnings",
|
|
12
|
-
"plugin:import/typescript",
|
|
13
|
-
],
|
|
14
|
-
globals: {
|
|
15
|
-
Atomics: "readonly",
|
|
16
|
-
SharedArrayBuffer: "readonly",
|
|
17
|
-
},
|
|
18
|
-
parser: "@typescript-eslint/parser",
|
|
19
|
-
parserOptions: {
|
|
20
|
-
project: "tsconfig.json",
|
|
21
|
-
sourceType: "module",
|
|
22
|
-
},
|
|
23
|
-
plugins: ["@typescript-eslint"],
|
|
24
|
-
rules: {
|
|
25
|
-
"@typescript-eslint/adjacent-overload-signatures": "error",
|
|
26
|
-
"@typescript-eslint/no-empty-function": "error",
|
|
27
|
-
"@typescript-eslint/no-empty-interface": "off",
|
|
28
|
-
"@typescript-eslint/no-floating-promises": "error",
|
|
29
|
-
"@typescript-eslint/no-namespace": "error",
|
|
30
|
-
"@typescript-eslint/no-unnecessary-type-assertion": "error",
|
|
31
|
-
"@typescript-eslint/prefer-for-of": "warn",
|
|
32
|
-
"@typescript-eslint/triple-slash-reference": "error",
|
|
33
|
-
"@typescript-eslint/unified-signatures": "warn",
|
|
34
|
-
"comma-dangle": ["warn", "only-multiline"],
|
|
35
|
-
"constructor-super": "error",
|
|
36
|
-
eqeqeq: ["warn", "always"],
|
|
37
|
-
"for-direction": "error",
|
|
38
|
-
"getter-return": "error",
|
|
39
|
-
"import/no-deprecated": "warn",
|
|
40
|
-
"import/no-extraneous-dependencies": "error",
|
|
41
|
-
"import/no-unassigned-import": "warn",
|
|
42
|
-
"no-async-promise-executor": "error",
|
|
43
|
-
"no-case-declarations": "error",
|
|
44
|
-
"no-class-assign": "error",
|
|
45
|
-
"no-compare-neg-zero": "error",
|
|
46
|
-
"no-cond-assign": "error",
|
|
47
|
-
"no-const-assign": "error",
|
|
48
|
-
"no-constant-condition": "error",
|
|
49
|
-
"no-control-regex": "error",
|
|
50
|
-
"no-debugger": "error",
|
|
51
|
-
"no-delete-var": "error",
|
|
52
|
-
"no-dupe-args": "error",
|
|
53
|
-
"no-dupe-class-members": "error",
|
|
54
|
-
"no-dupe-else-if": "error",
|
|
55
|
-
"no-dupe-keys": "error",
|
|
56
|
-
"no-duplicate-case": "error",
|
|
57
|
-
"no-duplicate-imports": "error",
|
|
58
|
-
"no-empty": [
|
|
59
|
-
"error",
|
|
60
|
-
{
|
|
61
|
-
allowEmptyCatch: true,
|
|
62
|
-
},
|
|
63
|
-
],
|
|
64
|
-
"no-empty-character-class": "error",
|
|
65
|
-
"no-empty-pattern": "error",
|
|
66
|
-
"no-ex-assign": "error",
|
|
67
|
-
"no-extra-boolean-cast": "error",
|
|
68
|
-
"no-extra-semi": "error",
|
|
69
|
-
"no-fallthrough": "error",
|
|
70
|
-
"no-func-assign": "error",
|
|
71
|
-
"no-global-assign": "error",
|
|
72
|
-
"no-import-assign": "error",
|
|
73
|
-
"no-inner-declarations": "error",
|
|
74
|
-
"no-invalid-regexp": "error",
|
|
75
|
-
"no-invalid-this": "error",
|
|
76
|
-
"no-irregular-whitespace": "error",
|
|
77
|
-
"no-misleading-character-class": "error",
|
|
78
|
-
"no-mixed-spaces-and-tabs": "error",
|
|
79
|
-
"no-new-symbol": "error",
|
|
80
|
-
"no-new-wrappers": "error",
|
|
81
|
-
"no-obj-calls": "error",
|
|
82
|
-
"no-octal": "error",
|
|
83
|
-
"no-param-reassign": "error",
|
|
84
|
-
"no-prototype-builtins": "error",
|
|
85
|
-
"no-redeclare": "error",
|
|
86
|
-
"no-regex-spaces": "error",
|
|
87
|
-
"no-self-assign": "error",
|
|
88
|
-
"no-sequences": "error",
|
|
89
|
-
"no-setter-return": "error",
|
|
90
|
-
"no-shadow": [
|
|
91
|
-
"error",
|
|
92
|
-
{
|
|
93
|
-
hoist: "all",
|
|
94
|
-
},
|
|
95
|
-
],
|
|
96
|
-
"no-shadow-restricted-names": "error",
|
|
97
|
-
"no-sparse-arrays": "error",
|
|
98
|
-
"no-this-before-super": "error",
|
|
99
|
-
"no-throw-literal": "error",
|
|
100
|
-
"no-undef": "error",
|
|
101
|
-
"no-unexpected-multiline": "error",
|
|
102
|
-
"no-unreachable": "error",
|
|
103
|
-
"no-unsafe-finally": "error",
|
|
104
|
-
"no-unsafe-negation": "error",
|
|
105
|
-
"no-unused-labels": "error",
|
|
106
|
-
"no-unused-vars": "off",
|
|
107
|
-
"no-useless-catch": "error",
|
|
108
|
-
"no-useless-escape": "error",
|
|
109
|
-
"no-var": "warn",
|
|
110
|
-
"no-void": "error",
|
|
111
|
-
"no-with": "error",
|
|
112
|
-
"prefer-const": "warn",
|
|
113
|
-
"require-yield": "error",
|
|
114
|
-
"use-isnan": "error",
|
|
115
|
-
"valid-typeof": "error",
|
|
116
|
-
},
|
|
117
|
-
};
|