module-replacements 2.2.0 → 2.3.1-beta.1
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/README.md +2 -2
- package/manifests/micro-utilities.json +32 -38
- package/manifests/native.json +210 -218
- package/manifests/preferred.json +65 -65
- package/package.json +13 -6
package/README.md
CHANGED
|
@@ -72,8 +72,8 @@ This is a very opinionated list of modules with preferred replacements. Often
|
|
|
72
72
|
these replacements are much lighter or more modern than the modules they are
|
|
73
73
|
replacing.
|
|
74
74
|
|
|
75
|
-
Sometimes these may also be forks of older
|
|
76
|
-
|
|
75
|
+
Sometimes these may also be actively maintained forks of older, unmaintained
|
|
76
|
+
source packages.
|
|
77
77
|
|
|
78
78
|
# Contributing
|
|
79
79
|
|
|
@@ -6,6 +6,12 @@
|
|
|
6
6
|
"replacement": "Use Function.call.bind(v)",
|
|
7
7
|
"category": "micro-utilities"
|
|
8
8
|
},
|
|
9
|
+
{
|
|
10
|
+
"type": "simple",
|
|
11
|
+
"moduleName": "clone-regexp",
|
|
12
|
+
"replacement": "Use new RegExp(regexpToCopy)",
|
|
13
|
+
"category": "micro-utilities"
|
|
14
|
+
},
|
|
9
15
|
{
|
|
10
16
|
"type": "simple",
|
|
11
17
|
"moduleName": "es-get-iterator",
|
|
@@ -36,12 +42,24 @@
|
|
|
36
42
|
"replacement": "Use v instanceof Date, or if cross-realm, use Object.prototype.toString.call(v) === \"[object Date]\"",
|
|
37
43
|
"category": "micro-utilities"
|
|
38
44
|
},
|
|
45
|
+
{
|
|
46
|
+
"type": "simple",
|
|
47
|
+
"moduleName": "is-even",
|
|
48
|
+
"replacement": "Use (n % 2) === 0",
|
|
49
|
+
"category": "micro-utilities"
|
|
50
|
+
},
|
|
39
51
|
{
|
|
40
52
|
"type": "simple",
|
|
41
53
|
"moduleName": "is-negative-zero",
|
|
42
54
|
"replacement": "Use Object.is(v, -0)",
|
|
43
55
|
"category": "micro-utilities"
|
|
44
56
|
},
|
|
57
|
+
{
|
|
58
|
+
"type": "simple",
|
|
59
|
+
"moduleName": "is-npm",
|
|
60
|
+
"replacement": "Use process.env.npm_config_user_agent?.startsWith(\"npm\")",
|
|
61
|
+
"category": "micro-utilities"
|
|
62
|
+
},
|
|
45
63
|
{
|
|
46
64
|
"type": "simple",
|
|
47
65
|
"moduleName": "is-number",
|
|
@@ -54,15 +72,21 @@
|
|
|
54
72
|
"replacement": "Use Object.prototype.toString.call(v) === \"[object Number]\"",
|
|
55
73
|
"category": "micro-utilities"
|
|
56
74
|
},
|
|
75
|
+
{
|
|
76
|
+
"type": "simple",
|
|
77
|
+
"moduleName": "is-odd",
|
|
78
|
+
"replacement": "Use (n % 2) === 1",
|
|
79
|
+
"category": "micro-utilities"
|
|
80
|
+
},
|
|
57
81
|
{
|
|
58
82
|
"type": "simple",
|
|
59
83
|
"moduleName": "is-plain-object",
|
|
60
|
-
"replacement": "Use typeof v === \"object\" && v
|
|
84
|
+
"replacement": "Use v && typeof v === \"object\" && (Object.getPrototypeOf(v) === null || Object.getPrototypeOf(v) === Object.prototype)",
|
|
61
85
|
"category": "micro-utilities"
|
|
62
86
|
},
|
|
63
87
|
{
|
|
64
88
|
"type": "simple",
|
|
65
|
-
"moduleName": "is-
|
|
89
|
+
"moduleName": "is-primitive",
|
|
66
90
|
"replacement": "Use v === null || (typeof v !== \"function\" && typeof v !== \"object\")",
|
|
67
91
|
"category": "micro-utilities"
|
|
68
92
|
},
|
|
@@ -75,7 +99,7 @@
|
|
|
75
99
|
{
|
|
76
100
|
"type": "simple",
|
|
77
101
|
"moduleName": "is-string",
|
|
78
|
-
"replacement": "Use
|
|
102
|
+
"replacement": "Use typeof str === \"string\"",
|
|
79
103
|
"category": "micro-utilities"
|
|
80
104
|
},
|
|
81
105
|
{
|
|
@@ -84,30 +108,6 @@
|
|
|
84
108
|
"replacement": "Use (\"TRAVIS\" in process.env)",
|
|
85
109
|
"category": "micro-utilities"
|
|
86
110
|
},
|
|
87
|
-
{
|
|
88
|
-
"type": "simple",
|
|
89
|
-
"moduleName": "is-npm",
|
|
90
|
-
"replacement": "Use process.env.npm_config_user_agent?.startsWith(\"npm\")",
|
|
91
|
-
"category": "micro-utilities"
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
"type": "simple",
|
|
95
|
-
"moduleName": "clone-regexp",
|
|
96
|
-
"replacement": "Use new RegExp(regexpToCopy)",
|
|
97
|
-
"category": "micro-utilities"
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
"type": "simple",
|
|
101
|
-
"moduleName": "split-lines",
|
|
102
|
-
"replacement": "Use str.split(/\\r?\\n/)",
|
|
103
|
-
"category": "micro-utilities"
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
"type": "simple",
|
|
107
|
-
"moduleName": "is-windows",
|
|
108
|
-
"replacement": "Use process.platform === \"win32\"",
|
|
109
|
-
"category": "micro-utilities"
|
|
110
|
-
},
|
|
111
111
|
{
|
|
112
112
|
"type": "simple",
|
|
113
113
|
"moduleName": "is-whitespace",
|
|
@@ -116,21 +116,15 @@
|
|
|
116
116
|
},
|
|
117
117
|
{
|
|
118
118
|
"type": "simple",
|
|
119
|
-
"moduleName": "is-
|
|
120
|
-
"replacement": "Use
|
|
121
|
-
"category": "micro-utilities"
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
"type": "simple",
|
|
125
|
-
"moduleName": "is-odd",
|
|
126
|
-
"replacement": "Use (n % 2) === 1",
|
|
119
|
+
"moduleName": "is-windows",
|
|
120
|
+
"replacement": "Use process.platform === \"win32\"",
|
|
127
121
|
"category": "micro-utilities"
|
|
128
122
|
},
|
|
129
123
|
{
|
|
130
124
|
"type": "simple",
|
|
131
|
-
"moduleName": "
|
|
132
|
-
"replacement": "Use (n
|
|
125
|
+
"moduleName": "split-lines",
|
|
126
|
+
"replacement": "Use str.split(/\\r?\\n/)",
|
|
133
127
|
"category": "micro-utilities"
|
|
134
128
|
}
|
|
135
129
|
]
|
|
136
|
-
}
|
|
130
|
+
}
|
package/manifests/native.json
CHANGED
|
@@ -2,42 +2,50 @@
|
|
|
2
2
|
"moduleReplacements": [
|
|
3
3
|
{
|
|
4
4
|
"type": "native",
|
|
5
|
-
"moduleName": "
|
|
5
|
+
"moduleName": "array-buffer-byte-length",
|
|
6
6
|
"nodeVersion": "0.10.0",
|
|
7
|
-
"replacement": "
|
|
8
|
-
"mdnPath": "Global_Objects/
|
|
7
|
+
"replacement": "ArrayBuffer.prototype.byteLength",
|
|
8
|
+
"mdnPath": "Global_Objects/ArrayBuffer/byteLength",
|
|
9
9
|
"category": "native"
|
|
10
10
|
},
|
|
11
11
|
{
|
|
12
12
|
"type": "native",
|
|
13
|
-
"moduleName": "
|
|
14
|
-
"nodeVersion": "0.
|
|
15
|
-
"replacement": "
|
|
16
|
-
"mdnPath": "
|
|
13
|
+
"moduleName": "array-every",
|
|
14
|
+
"nodeVersion": "0.10.0",
|
|
15
|
+
"replacement": "Array.prototype.every",
|
|
16
|
+
"mdnPath": "Global_Objects/Array/every",
|
|
17
17
|
"category": "native"
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
20
|
"type": "native",
|
|
21
|
-
"moduleName": "
|
|
22
|
-
"nodeVersion": "0.
|
|
23
|
-
"replacement": "
|
|
24
|
-
"mdnPath": "
|
|
21
|
+
"moduleName": "array-includes",
|
|
22
|
+
"nodeVersion": "6.0.0",
|
|
23
|
+
"replacement": "Array.prototype.includes",
|
|
24
|
+
"mdnPath": "Global_Objects/Array/includes",
|
|
25
25
|
"category": "native"
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
28
|
"type": "native",
|
|
29
|
-
"moduleName": "
|
|
30
|
-
"nodeVersion": "0.
|
|
31
|
-
"replacement": "
|
|
32
|
-
"mdnPath": "
|
|
29
|
+
"moduleName": "array-map",
|
|
30
|
+
"nodeVersion": "0.10.0",
|
|
31
|
+
"replacement": "Array.prototype.map",
|
|
32
|
+
"mdnPath": "Global_Objects/Array/map",
|
|
33
33
|
"category": "native"
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
"type": "native",
|
|
37
|
-
"moduleName": "array
|
|
38
|
-
"nodeVersion": "
|
|
39
|
-
"replacement": "Array.
|
|
40
|
-
"mdnPath": "Global_Objects/Array/
|
|
37
|
+
"moduleName": "array.from",
|
|
38
|
+
"nodeVersion": "4.0.0",
|
|
39
|
+
"replacement": "Array.from",
|
|
40
|
+
"mdnPath": "Global_Objects/Array/from",
|
|
41
|
+
"category": "native"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"type": "native",
|
|
45
|
+
"moduleName": "array.of",
|
|
46
|
+
"nodeVersion": "4.0.0",
|
|
47
|
+
"replacement": "Array.of",
|
|
48
|
+
"mdnPath": "Global_Objects/Array/of",
|
|
41
49
|
"category": "native"
|
|
42
50
|
},
|
|
43
51
|
{
|
|
@@ -128,14 +136,6 @@
|
|
|
128
136
|
"mdnPath": "Global_Objects/Array/forEach",
|
|
129
137
|
"category": "native"
|
|
130
138
|
},
|
|
131
|
-
{
|
|
132
|
-
"type": "native",
|
|
133
|
-
"moduleName": "array.from",
|
|
134
|
-
"nodeVersion": "4.0.0",
|
|
135
|
-
"replacement": "Array.from",
|
|
136
|
-
"mdnPath": "Global_Objects/Array/from",
|
|
137
|
-
"category": "native"
|
|
138
|
-
},
|
|
139
139
|
{
|
|
140
140
|
"type": "native",
|
|
141
141
|
"moduleName": "array.prototype.indexof",
|
|
@@ -176,14 +176,6 @@
|
|
|
176
176
|
"mdnPath": "Global_Objects/Array/map",
|
|
177
177
|
"category": "native"
|
|
178
178
|
},
|
|
179
|
-
{
|
|
180
|
-
"type": "native",
|
|
181
|
-
"moduleName": "array.of",
|
|
182
|
-
"nodeVersion": "4.0.0",
|
|
183
|
-
"replacement": "Array.of",
|
|
184
|
-
"mdnPath": "Global_Objects/Array/of",
|
|
185
|
-
"category": "native"
|
|
186
|
-
},
|
|
187
179
|
{
|
|
188
180
|
"type": "native",
|
|
189
181
|
"moduleName": "array.prototype.push",
|
|
@@ -248,14 +240,6 @@
|
|
|
248
240
|
"mdnPath": "Global_Objects/Array/values",
|
|
249
241
|
"category": "native"
|
|
250
242
|
},
|
|
251
|
-
{
|
|
252
|
-
"type": "native",
|
|
253
|
-
"moduleName": "array-buffer-byte-length",
|
|
254
|
-
"nodeVersion": "0.10.0",
|
|
255
|
-
"replacement": "ArrayBuffer.prototype.byteLength",
|
|
256
|
-
"mdnPath": "Global_Objects/ArrayBuffer/byteLength",
|
|
257
|
-
"category": "native"
|
|
258
|
-
},
|
|
259
243
|
{
|
|
260
244
|
"type": "native",
|
|
261
245
|
"moduleName": "arraybuffer.prototype.slice",
|
|
@@ -264,14 +248,6 @@
|
|
|
264
248
|
"mdnPath": "Global_Objects/ArrayBuffer/slice",
|
|
265
249
|
"category": "native"
|
|
266
250
|
},
|
|
267
|
-
{
|
|
268
|
-
"type": "native",
|
|
269
|
-
"moduleName": "data-view-buffer",
|
|
270
|
-
"nodeVersion": "0.10.0",
|
|
271
|
-
"replacement": "DataView.prototype.buffer",
|
|
272
|
-
"mdnPath": "Global_Objects/DataView/buffer",
|
|
273
|
-
"category": "native"
|
|
274
|
-
},
|
|
275
251
|
{
|
|
276
252
|
"type": "native",
|
|
277
253
|
"moduleName": "concat-map",
|
|
@@ -280,6 +256,14 @@
|
|
|
280
256
|
"mdnPath": "Global_Objects/Array/flatMap",
|
|
281
257
|
"category": "native"
|
|
282
258
|
},
|
|
259
|
+
{
|
|
260
|
+
"type": "native",
|
|
261
|
+
"moduleName": "data-view-buffer",
|
|
262
|
+
"nodeVersion": "0.10.0",
|
|
263
|
+
"replacement": "DataView.prototype.buffer",
|
|
264
|
+
"mdnPath": "Global_Objects/DataView/buffer",
|
|
265
|
+
"category": "native"
|
|
266
|
+
},
|
|
283
267
|
{
|
|
284
268
|
"type": "native",
|
|
285
269
|
"moduleName": "data-view-byte-length",
|
|
@@ -296,6 +280,22 @@
|
|
|
296
280
|
"mdnPath": "Global_Objects/DataView/byteOffset",
|
|
297
281
|
"category": "native"
|
|
298
282
|
},
|
|
283
|
+
{
|
|
284
|
+
"type": "native",
|
|
285
|
+
"moduleName": "date",
|
|
286
|
+
"nodeVersion": "0.10.0",
|
|
287
|
+
"replacement": "Date",
|
|
288
|
+
"mdnPath": "Global_Objects/Date",
|
|
289
|
+
"category": "native"
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"type": "native",
|
|
293
|
+
"moduleName": "defaults",
|
|
294
|
+
"nodeVersion": "4.0.0",
|
|
295
|
+
"replacement": "Object.assign, or if deep clones are needed, use structuredClone",
|
|
296
|
+
"mdnPath": "Global_Objects/Object/assign",
|
|
297
|
+
"category": "native"
|
|
298
|
+
},
|
|
299
299
|
{
|
|
300
300
|
"type": "native",
|
|
301
301
|
"moduleName": "define-accessor-property",
|
|
@@ -314,10 +314,10 @@
|
|
|
314
314
|
},
|
|
315
315
|
{
|
|
316
316
|
"type": "native",
|
|
317
|
-
"moduleName": "
|
|
318
|
-
"nodeVersion": "
|
|
319
|
-
"replacement": "
|
|
320
|
-
"mdnPath": "Global_Objects/
|
|
317
|
+
"moduleName": "define-properties",
|
|
318
|
+
"nodeVersion": "0.10.0",
|
|
319
|
+
"replacement": "Object.defineProperties",
|
|
320
|
+
"mdnPath": "Global_Objects/Object/defineProperties",
|
|
321
321
|
"category": "native"
|
|
322
322
|
},
|
|
323
323
|
{
|
|
@@ -328,6 +328,14 @@
|
|
|
328
328
|
"mdnPath": "Global_Objects/Error/cause",
|
|
329
329
|
"category": "native"
|
|
330
330
|
},
|
|
331
|
+
{
|
|
332
|
+
"type": "native",
|
|
333
|
+
"moduleName": "es-aggregate-error",
|
|
334
|
+
"nodeVersion": "15.0.0",
|
|
335
|
+
"replacement": "AggregateError",
|
|
336
|
+
"mdnPath": "Global_Objects/AggregateError",
|
|
337
|
+
"category": "native"
|
|
338
|
+
},
|
|
331
339
|
{
|
|
332
340
|
"type": "native",
|
|
333
341
|
"moduleName": "es-create-array-iterator",
|
|
@@ -370,10 +378,34 @@
|
|
|
370
378
|
},
|
|
371
379
|
{
|
|
372
380
|
"type": "native",
|
|
373
|
-
"moduleName": "
|
|
381
|
+
"moduleName": "extend-shallow",
|
|
382
|
+
"nodeVersion": "4.0.0",
|
|
383
|
+
"replacement": "Object.assign, or if deep clones are needed, use structuredClone",
|
|
384
|
+
"mdnPath": "Global_Objects/Object/assign",
|
|
385
|
+
"category": "native"
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"type": "native",
|
|
389
|
+
"moduleName": "filter-array",
|
|
374
390
|
"nodeVersion": "0.10.0",
|
|
375
|
-
"replacement": "
|
|
376
|
-
"mdnPath": "Global_Objects/
|
|
391
|
+
"replacement": "Array.prototype.filter",
|
|
392
|
+
"mdnPath": "Global_Objects/Array/filter",
|
|
393
|
+
"category": "native"
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
"type": "native",
|
|
397
|
+
"moduleName": "for-each",
|
|
398
|
+
"nodeVersion": "0.12.0",
|
|
399
|
+
"replacement": "for...of (using \"Object.entries\" if dealing with objects)",
|
|
400
|
+
"mdnPath": "Statements/for...of",
|
|
401
|
+
"category": "native"
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
"type": "native",
|
|
405
|
+
"moduleName": "function-bind",
|
|
406
|
+
"nodeVersion": "0.10.0",
|
|
407
|
+
"replacement": "Function.prototype.bind",
|
|
408
|
+
"mdnPath": "Global_Objects/Function/bind",
|
|
377
409
|
"category": "native"
|
|
378
410
|
},
|
|
379
411
|
{
|
|
@@ -386,10 +418,10 @@
|
|
|
386
418
|
},
|
|
387
419
|
{
|
|
388
420
|
"type": "native",
|
|
389
|
-
"moduleName": "
|
|
390
|
-
"nodeVersion": "
|
|
391
|
-
"replacement": "
|
|
392
|
-
"mdnPath": "Global_Objects/
|
|
421
|
+
"moduleName": "functions-have-names",
|
|
422
|
+
"nodeVersion": "0.10.0",
|
|
423
|
+
"replacement": "Always `true`",
|
|
424
|
+
"mdnPath": "Global_Objects/Function/name",
|
|
393
425
|
"category": "native"
|
|
394
426
|
},
|
|
395
427
|
{
|
|
@@ -400,6 +432,14 @@
|
|
|
400
432
|
"mdnPath": "Global_Objects/Symbol/description",
|
|
401
433
|
"category": "native"
|
|
402
434
|
},
|
|
435
|
+
{
|
|
436
|
+
"type": "native",
|
|
437
|
+
"moduleName": "global",
|
|
438
|
+
"nodeVersion": "12.0.0",
|
|
439
|
+
"replacement": "globalThis",
|
|
440
|
+
"mdnPath": "Global_Objects/globalThis",
|
|
441
|
+
"category": "native"
|
|
442
|
+
},
|
|
403
443
|
{
|
|
404
444
|
"type": "native",
|
|
405
445
|
"moduleName": "globalthis",
|
|
@@ -416,6 +456,22 @@
|
|
|
416
456
|
"mdnPath": "Global_Objects/Object/getOwnPropertyDescriptor",
|
|
417
457
|
"category": "native"
|
|
418
458
|
},
|
|
459
|
+
{
|
|
460
|
+
"type": "native",
|
|
461
|
+
"moduleName": "has",
|
|
462
|
+
"nodeVersion": "0.10.0",
|
|
463
|
+
"replacement": "Object.prototype.hasOwnProperty.call(obj, prop) (or in later versions of node, \"Object.hasOwn(obj, prop)\")",
|
|
464
|
+
"mdnPath": "Global_Objects/Object/hasOwnProperty",
|
|
465
|
+
"category": "native"
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
"type": "native",
|
|
469
|
+
"moduleName": "has-own-prop",
|
|
470
|
+
"nodeVersion": "0.10.0",
|
|
471
|
+
"replacement": "Object.prototype.hasOwnProperty.call(obj, prop) (or in later versions of node, \"Object.hasOwn(obj, prop)\")",
|
|
472
|
+
"mdnPath": "Global_Objects/Object/hasOwnProperty",
|
|
473
|
+
"category": "native"
|
|
474
|
+
},
|
|
419
475
|
{
|
|
420
476
|
"type": "native",
|
|
421
477
|
"moduleName": "has-proto",
|
|
@@ -440,6 +496,62 @@
|
|
|
440
496
|
"mdnPath": "Global_Objects/Symbol/toStringTag",
|
|
441
497
|
"category": "native"
|
|
442
498
|
},
|
|
499
|
+
{
|
|
500
|
+
"type": "native",
|
|
501
|
+
"moduleName": "hasown",
|
|
502
|
+
"nodeVersion": "0.10.0",
|
|
503
|
+
"replacement": "Object.prototype.hasOwnProperty.call(obj, prop) (or in later versions of node, \"Object.hasOwn(obj, prop)\")",
|
|
504
|
+
"mdnPath": "Global_Objects/Object/hasOwnProperty",
|
|
505
|
+
"category": "native"
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
"type": "native",
|
|
509
|
+
"moduleName": "index-of",
|
|
510
|
+
"nodeVersion": "0.10.0",
|
|
511
|
+
"replacement": "Array.prototype.indexOf",
|
|
512
|
+
"mdnPath": "Global_Objects/Array/indexOf",
|
|
513
|
+
"category": "native"
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
"type": "native",
|
|
517
|
+
"moduleName": "is-nan",
|
|
518
|
+
"nodeVersion": "0.10.0",
|
|
519
|
+
"replacement": "Number.isNaN",
|
|
520
|
+
"mdnPath": "Global_Objects/Number/isNaN",
|
|
521
|
+
"category": "native"
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
"type": "native",
|
|
525
|
+
"moduleName": "iterate-iterator",
|
|
526
|
+
"nodeVersion": "0.12.0",
|
|
527
|
+
"replacement": "for...of",
|
|
528
|
+
"mdnPath": "Statements/for...of",
|
|
529
|
+
"category": "native"
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
"type": "native",
|
|
533
|
+
"moduleName": "iterate-value",
|
|
534
|
+
"nodeVersion": "0.12.0",
|
|
535
|
+
"replacement": "for...of",
|
|
536
|
+
"mdnPath": "Statements/for...of",
|
|
537
|
+
"category": "native"
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
"type": "native",
|
|
541
|
+
"moduleName": "last-index-of",
|
|
542
|
+
"nodeVersion": "0.10.0",
|
|
543
|
+
"replacement": "Array.prototype.lastIndexOf",
|
|
544
|
+
"mdnPath": "Global_Objects/Array/lastIndexOf",
|
|
545
|
+
"category": "native"
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
"type": "native",
|
|
549
|
+
"moduleName": "left-pad",
|
|
550
|
+
"nodeVersion": "8.0.0",
|
|
551
|
+
"replacement": "String.prototype.padStart",
|
|
552
|
+
"mdnPath": "Global_Objects/String/padStart",
|
|
553
|
+
"category": "native"
|
|
554
|
+
},
|
|
443
555
|
{
|
|
444
556
|
"type": "native",
|
|
445
557
|
"moduleName": "math.acosh",
|
|
@@ -522,10 +634,10 @@
|
|
|
522
634
|
},
|
|
523
635
|
{
|
|
524
636
|
"type": "native",
|
|
525
|
-
"moduleName": "
|
|
526
|
-
"nodeVersion": "0.
|
|
527
|
-
"replacement": "
|
|
528
|
-
"mdnPath": "Global_Objects/
|
|
637
|
+
"moduleName": "node.extend",
|
|
638
|
+
"nodeVersion": "4.0.0",
|
|
639
|
+
"replacement": "Object.assign, or if deep clones are needed, use structuredClone",
|
|
640
|
+
"mdnPath": "Global_Objects/Object/assign",
|
|
529
641
|
"category": "native"
|
|
530
642
|
},
|
|
531
643
|
{
|
|
@@ -578,12 +690,20 @@
|
|
|
578
690
|
},
|
|
579
691
|
{
|
|
580
692
|
"type": "native",
|
|
581
|
-
"moduleName": "number.prototype.
|
|
693
|
+
"moduleName": "number.prototype.toexponential",
|
|
582
694
|
"nodeVersion": "0.10.0",
|
|
583
695
|
"replacement": "Number.prototype.toExponential",
|
|
584
696
|
"mdnPath": "Global_Objects/Number/toExponential",
|
|
585
697
|
"category": "native"
|
|
586
698
|
},
|
|
699
|
+
{
|
|
700
|
+
"type": "native",
|
|
701
|
+
"moduleName": "object-assign",
|
|
702
|
+
"nodeVersion": "4.0.0",
|
|
703
|
+
"replacement": "Object.assign",
|
|
704
|
+
"mdnPath": "Global_Objects/Object/assign",
|
|
705
|
+
"category": "native"
|
|
706
|
+
},
|
|
587
707
|
{
|
|
588
708
|
"type": "native",
|
|
589
709
|
"moduleName": "object-is",
|
|
@@ -594,15 +714,15 @@
|
|
|
594
714
|
},
|
|
595
715
|
{
|
|
596
716
|
"type": "native",
|
|
597
|
-
"moduleName": "object
|
|
598
|
-
"nodeVersion": "
|
|
599
|
-
"replacement": "Object.
|
|
600
|
-
"mdnPath": "Global_Objects/Object/
|
|
717
|
+
"moduleName": "object-keys",
|
|
718
|
+
"nodeVersion": "0.10.0",
|
|
719
|
+
"replacement": "Object.keys(obj)",
|
|
720
|
+
"mdnPath": "Global_Objects/Object/keys",
|
|
601
721
|
"category": "native"
|
|
602
722
|
},
|
|
603
723
|
{
|
|
604
724
|
"type": "native",
|
|
605
|
-
"moduleName": "object
|
|
725
|
+
"moduleName": "object.assign",
|
|
606
726
|
"nodeVersion": "4.0.0",
|
|
607
727
|
"replacement": "Object.assign",
|
|
608
728
|
"mdnPath": "Global_Objects/Object/assign",
|
|
@@ -656,14 +776,6 @@
|
|
|
656
776
|
"mdnPath": "Global_Objects/Object/hasOwn",
|
|
657
777
|
"category": "native"
|
|
658
778
|
},
|
|
659
|
-
{
|
|
660
|
-
"type": "native",
|
|
661
|
-
"moduleName": "object-keys",
|
|
662
|
-
"nodeVersion": "0.10.0",
|
|
663
|
-
"replacement": "Object.keys(obj)",
|
|
664
|
-
"mdnPath": "Global_Objects/Object/keys",
|
|
665
|
-
"category": "native"
|
|
666
|
-
},
|
|
667
779
|
{
|
|
668
780
|
"type": "native",
|
|
669
781
|
"moduleName": "object.keys",
|
|
@@ -680,6 +792,14 @@
|
|
|
680
792
|
"mdnPath": "Global_Objects/Object/values",
|
|
681
793
|
"category": "native"
|
|
682
794
|
},
|
|
795
|
+
{
|
|
796
|
+
"type": "native",
|
|
797
|
+
"moduleName": "pad-left",
|
|
798
|
+
"nodeVersion": "8.0.0",
|
|
799
|
+
"replacement": "String.prototype.padStart",
|
|
800
|
+
"mdnPath": "Global_Objects/String/padStart",
|
|
801
|
+
"category": "native"
|
|
802
|
+
},
|
|
683
803
|
{
|
|
684
804
|
"type": "native",
|
|
685
805
|
"moduleName": "parseint",
|
|
@@ -728,6 +848,14 @@
|
|
|
728
848
|
"mdnPath": "Global_Objects/Reflect/ownKeys",
|
|
729
849
|
"category": "native"
|
|
730
850
|
},
|
|
851
|
+
{
|
|
852
|
+
"type": "native",
|
|
853
|
+
"moduleName": "regexp.prototype.flags",
|
|
854
|
+
"nodeVersion": "6.0.0",
|
|
855
|
+
"replacement": "RegExp.prototype.flags (e.g. \"/foo/g.flags\")",
|
|
856
|
+
"mdnPath": "Global_Objects/RegExp/flags",
|
|
857
|
+
"category": "native"
|
|
858
|
+
},
|
|
731
859
|
{
|
|
732
860
|
"type": "native",
|
|
733
861
|
"moduleName": "string.prototype.at",
|
|
@@ -842,7 +970,7 @@
|
|
|
842
970
|
},
|
|
843
971
|
{
|
|
844
972
|
"type": "native",
|
|
845
|
-
"moduleName": "string.prototype.
|
|
973
|
+
"moduleName": "string.prototype.trimstart",
|
|
846
974
|
"nodeVersion": "10.0.0",
|
|
847
975
|
"replacement": "String.prototype.trimStart",
|
|
848
976
|
"mdnPath": "Global_Objects/String/trimStart",
|
|
@@ -904,62 +1032,6 @@
|
|
|
904
1032
|
"mdnPath": "Global_Objects/TypedArray/slice",
|
|
905
1033
|
"category": "native"
|
|
906
1034
|
},
|
|
907
|
-
{
|
|
908
|
-
"type": "native",
|
|
909
|
-
"moduleName": "has",
|
|
910
|
-
"nodeVersion": "0.10.0",
|
|
911
|
-
"replacement": "Object.prototype.hasOwnProperty.call(obj, prop) (or in later versions of node, \"Object.hasOwn(obj, prop)\")",
|
|
912
|
-
"mdnPath": "Global_Objects/Object/hasOwnProperty",
|
|
913
|
-
"category": "native"
|
|
914
|
-
},
|
|
915
|
-
{
|
|
916
|
-
"type": "native",
|
|
917
|
-
"moduleName": "hasown",
|
|
918
|
-
"nodeVersion": "0.10.0",
|
|
919
|
-
"replacement": "Object.prototype.hasOwnProperty.call(obj, prop) (or in later versions of node, \"Object.hasOwn(obj, prop)\")",
|
|
920
|
-
"mdnPath": "Global_Objects/Object/hasOwnProperty",
|
|
921
|
-
"category": "native"
|
|
922
|
-
},
|
|
923
|
-
{
|
|
924
|
-
"type": "native",
|
|
925
|
-
"moduleName": "has-own-prop",
|
|
926
|
-
"nodeVersion": "0.10.0",
|
|
927
|
-
"replacement": "Object.prototype.hasOwnProperty.call(obj, prop) (or in later versions of node, \"Object.hasOwn(obj, prop)\")",
|
|
928
|
-
"mdnPath": "Global_Objects/Object/hasOwnProperty",
|
|
929
|
-
"category": "native"
|
|
930
|
-
},
|
|
931
|
-
{
|
|
932
|
-
"type": "native",
|
|
933
|
-
"moduleName": "array-map",
|
|
934
|
-
"nodeVersion": "0.10.0",
|
|
935
|
-
"replacement": "Array.prototype.map",
|
|
936
|
-
"mdnPath": "Global_Objects/Array/map",
|
|
937
|
-
"category": "native"
|
|
938
|
-
},
|
|
939
|
-
{
|
|
940
|
-
"type": "native",
|
|
941
|
-
"moduleName": "is-nan",
|
|
942
|
-
"nodeVersion": "0.10.0",
|
|
943
|
-
"replacement": "Number.isNaN",
|
|
944
|
-
"mdnPath": "Global_Objects/Number/isNaN",
|
|
945
|
-
"category": "native"
|
|
946
|
-
},
|
|
947
|
-
{
|
|
948
|
-
"type": "native",
|
|
949
|
-
"moduleName": "node.extend",
|
|
950
|
-
"nodeVersion": "4.0.0",
|
|
951
|
-
"replacement": "Object.assign, or if deep clones are needed, use structuredClone",
|
|
952
|
-
"mdnPath": "Global_Objects/Object/assign",
|
|
953
|
-
"category": "native"
|
|
954
|
-
},
|
|
955
|
-
{
|
|
956
|
-
"type": "native",
|
|
957
|
-
"moduleName": "extend-shallow",
|
|
958
|
-
"nodeVersion": "4.0.0",
|
|
959
|
-
"replacement": "Object.assign, or if deep clones are needed, use structuredClone",
|
|
960
|
-
"mdnPath": "Global_Objects/Object/assign",
|
|
961
|
-
"category": "native"
|
|
962
|
-
},
|
|
963
1035
|
{
|
|
964
1036
|
"type": "native",
|
|
965
1037
|
"moduleName": "xtend",
|
|
@@ -967,86 +1039,6 @@
|
|
|
967
1039
|
"replacement": "Object.assign, or if deep clones are needed, use structuredClone",
|
|
968
1040
|
"mdnPath": "Global_Objects/Object/assign",
|
|
969
1041
|
"category": "native"
|
|
970
|
-
},
|
|
971
|
-
{
|
|
972
|
-
"type": "native",
|
|
973
|
-
"moduleName": "defaults",
|
|
974
|
-
"nodeVersion": "4.0.0",
|
|
975
|
-
"replacement": "Object.assign, or if deep clones are needed, use structuredClone",
|
|
976
|
-
"mdnPath": "Global_Objects/Object/assign",
|
|
977
|
-
"category": "native"
|
|
978
|
-
},
|
|
979
|
-
{
|
|
980
|
-
"type": "native",
|
|
981
|
-
"moduleName": "function-bind",
|
|
982
|
-
"nodeVersion": "0.10.0",
|
|
983
|
-
"replacement": "Function.prototype.bind",
|
|
984
|
-
"mdnPath": "Global_Objects/Function/bind",
|
|
985
|
-
"category": "native"
|
|
986
|
-
},
|
|
987
|
-
{
|
|
988
|
-
"type": "native",
|
|
989
|
-
"moduleName": "regexp.prototype.flags",
|
|
990
|
-
"nodeVersion": "6.0.0",
|
|
991
|
-
"replacement": "RegExp.prototype.flags (e.g. \"/foo/g.flags\")",
|
|
992
|
-
"mdnPath": "Global_Objects/RegExp/flags",
|
|
993
|
-
"category": "native"
|
|
994
|
-
},
|
|
995
|
-
{
|
|
996
|
-
"type": "native",
|
|
997
|
-
"moduleName": "define-properties",
|
|
998
|
-
"nodeVersion": "0.10.0",
|
|
999
|
-
"replacement": "Object.defineProperties",
|
|
1000
|
-
"mdnPath": "Global_Objects/Object/defineProperties",
|
|
1001
|
-
"category": "native"
|
|
1002
|
-
},
|
|
1003
|
-
{
|
|
1004
|
-
"type": "native",
|
|
1005
|
-
"moduleName": "left-pad",
|
|
1006
|
-
"nodeVersion": "8.0.0",
|
|
1007
|
-
"replacement": "String.prototype.padStart",
|
|
1008
|
-
"mdnPath": "Global_Objects/String/padStart",
|
|
1009
|
-
"category": "native"
|
|
1010
|
-
},
|
|
1011
|
-
{
|
|
1012
|
-
"type": "native",
|
|
1013
|
-
"moduleName": "pad-left",
|
|
1014
|
-
"nodeVersion": "8.0.0",
|
|
1015
|
-
"replacement": "String.prototype.padStart",
|
|
1016
|
-
"mdnPath": "Global_Objects/String/padStart",
|
|
1017
|
-
"category": "native"
|
|
1018
|
-
},
|
|
1019
|
-
{
|
|
1020
|
-
"type": "native",
|
|
1021
|
-
"moduleName": "filter-array",
|
|
1022
|
-
"nodeVersion": "0.10.0",
|
|
1023
|
-
"replacement": "Array.prototype.filter",
|
|
1024
|
-
"mdnPath": "Global_Objects/Array/filter",
|
|
1025
|
-
"category": "native"
|
|
1026
|
-
},
|
|
1027
|
-
{
|
|
1028
|
-
"type": "native",
|
|
1029
|
-
"moduleName": "array-every",
|
|
1030
|
-
"nodeVersion": "0.10.0",
|
|
1031
|
-
"replacement": "Array.prototype.every",
|
|
1032
|
-
"mdnPath": "Global_Objects/Array/every",
|
|
1033
|
-
"category": "native"
|
|
1034
|
-
},
|
|
1035
|
-
{
|
|
1036
|
-
"type": "native",
|
|
1037
|
-
"moduleName": "index-of",
|
|
1038
|
-
"nodeVersion": "0.10.0",
|
|
1039
|
-
"replacement": "Array.prototype.indexOf",
|
|
1040
|
-
"mdnPath": "Global_Objects/Array/indexOf",
|
|
1041
|
-
"category": "native"
|
|
1042
|
-
},
|
|
1043
|
-
{
|
|
1044
|
-
"type": "native",
|
|
1045
|
-
"moduleName": "last-index-of",
|
|
1046
|
-
"nodeVersion": "0.10.0",
|
|
1047
|
-
"replacement": "Array.prototype.lastIndexOf",
|
|
1048
|
-
"mdnPath": "Global_Objects/Array/lastIndexOf",
|
|
1049
|
-
"category": "native"
|
|
1050
1042
|
}
|
|
1051
1043
|
]
|
|
1052
|
-
}
|
|
1044
|
+
}
|
package/manifests/preferred.json
CHANGED
|
@@ -6,6 +6,12 @@
|
|
|
6
6
|
"docPath": "bluebird-q",
|
|
7
7
|
"category": "preferred"
|
|
8
8
|
},
|
|
9
|
+
{
|
|
10
|
+
"type": "documented",
|
|
11
|
+
"moduleName": "builtin-modules",
|
|
12
|
+
"docPath": "is-builtin-module",
|
|
13
|
+
"category": "preferred"
|
|
14
|
+
},
|
|
9
15
|
{
|
|
10
16
|
"type": "documented",
|
|
11
17
|
"moduleName": "cpx",
|
|
@@ -24,12 +30,6 @@
|
|
|
24
30
|
"docPath": "eslint-plugin-es",
|
|
25
31
|
"category": "preferred"
|
|
26
32
|
},
|
|
27
|
-
{
|
|
28
|
-
"type": "documented",
|
|
29
|
-
"moduleName": "eslint-plugin-react",
|
|
30
|
-
"docPath": "eslint-plugin-react",
|
|
31
|
-
"category": "preferred"
|
|
32
|
-
},
|
|
33
33
|
{
|
|
34
34
|
"type": "documented",
|
|
35
35
|
"moduleName": "eslint-plugin-eslint-comments",
|
|
@@ -50,13 +50,13 @@
|
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
52
|
"type": "documented",
|
|
53
|
-
"moduleName": "
|
|
54
|
-
"docPath": "
|
|
53
|
+
"moduleName": "eslint-plugin-react",
|
|
54
|
+
"docPath": "eslint-plugin-react",
|
|
55
55
|
"category": "preferred"
|
|
56
56
|
},
|
|
57
57
|
{
|
|
58
58
|
"type": "documented",
|
|
59
|
-
"moduleName": "builtin-
|
|
59
|
+
"moduleName": "is-builtin-module",
|
|
60
60
|
"docPath": "is-builtin-module",
|
|
61
61
|
"category": "preferred"
|
|
62
62
|
},
|
|
@@ -72,6 +72,36 @@
|
|
|
72
72
|
"docPath": "lodash-underscore",
|
|
73
73
|
"category": "preferred"
|
|
74
74
|
},
|
|
75
|
+
{
|
|
76
|
+
"type": "documented",
|
|
77
|
+
"moduleName": "lodash-amd",
|
|
78
|
+
"docPath": "lodash-underscore",
|
|
79
|
+
"category": "preferred"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"type": "documented",
|
|
83
|
+
"moduleName": "lodash-compat",
|
|
84
|
+
"docPath": "lodash-underscore",
|
|
85
|
+
"category": "preferred"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"type": "documented",
|
|
89
|
+
"moduleName": "lodash-es",
|
|
90
|
+
"docPath": "lodash-underscore",
|
|
91
|
+
"category": "preferred"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"type": "documented",
|
|
95
|
+
"moduleName": "lodash-fp",
|
|
96
|
+
"docPath": "lodash-underscore",
|
|
97
|
+
"category": "preferred"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"type": "documented",
|
|
101
|
+
"moduleName": "lodash-node",
|
|
102
|
+
"docPath": "lodash-underscore",
|
|
103
|
+
"category": "preferred"
|
|
104
|
+
},
|
|
75
105
|
{
|
|
76
106
|
"type": "documented",
|
|
77
107
|
"moduleName": "lodash.add",
|
|
@@ -314,13 +344,13 @@
|
|
|
314
344
|
},
|
|
315
345
|
{
|
|
316
346
|
"type": "documented",
|
|
317
|
-
"moduleName": "lodash.
|
|
347
|
+
"moduleName": "lodash.defaultsdeep",
|
|
318
348
|
"docPath": "lodash-underscore",
|
|
319
349
|
"category": "preferred"
|
|
320
350
|
},
|
|
321
351
|
{
|
|
322
352
|
"type": "documented",
|
|
323
|
-
"moduleName": "lodash.
|
|
353
|
+
"moduleName": "lodash.defaultto",
|
|
324
354
|
"docPath": "lodash-underscore",
|
|
325
355
|
"category": "preferred"
|
|
326
356
|
},
|
|
@@ -500,13 +530,13 @@
|
|
|
500
530
|
},
|
|
501
531
|
{
|
|
502
532
|
"type": "documented",
|
|
503
|
-
"moduleName": "lodash.
|
|
533
|
+
"moduleName": "lodash.flattendeep",
|
|
504
534
|
"docPath": "lodash-underscore",
|
|
505
535
|
"category": "preferred"
|
|
506
536
|
},
|
|
507
537
|
{
|
|
508
538
|
"type": "documented",
|
|
509
|
-
"moduleName": "lodash.
|
|
539
|
+
"moduleName": "lodash.flattendepth",
|
|
510
540
|
"docPath": "lodash-underscore",
|
|
511
541
|
"category": "preferred"
|
|
512
542
|
},
|
|
@@ -542,13 +572,13 @@
|
|
|
542
572
|
},
|
|
543
573
|
{
|
|
544
574
|
"type": "documented",
|
|
545
|
-
"moduleName": "lodash.
|
|
575
|
+
"moduleName": "lodash.foreachright",
|
|
546
576
|
"docPath": "lodash-underscore",
|
|
547
577
|
"category": "preferred"
|
|
548
578
|
},
|
|
549
579
|
{
|
|
550
580
|
"type": "documented",
|
|
551
|
-
"moduleName": "lodash.
|
|
581
|
+
"moduleName": "lodash.forin",
|
|
552
582
|
"docPath": "lodash-underscore",
|
|
553
583
|
"category": "preferred"
|
|
554
584
|
},
|
|
@@ -1304,13 +1334,13 @@
|
|
|
1304
1334
|
},
|
|
1305
1335
|
{
|
|
1306
1336
|
"type": "documented",
|
|
1307
|
-
"moduleName": "lodash.
|
|
1337
|
+
"moduleName": "lodash.pullat",
|
|
1308
1338
|
"docPath": "lodash-underscore",
|
|
1309
1339
|
"category": "preferred"
|
|
1310
1340
|
},
|
|
1311
1341
|
{
|
|
1312
1342
|
"type": "documented",
|
|
1313
|
-
"moduleName": "lodash.
|
|
1343
|
+
"moduleName": "lodash.pullby",
|
|
1314
1344
|
"docPath": "lodash-underscore",
|
|
1315
1345
|
"category": "preferred"
|
|
1316
1346
|
},
|
|
@@ -1956,12 +1986,6 @@
|
|
|
1956
1986
|
"docPath": "lodash-underscore",
|
|
1957
1987
|
"category": "preferred"
|
|
1958
1988
|
},
|
|
1959
|
-
{
|
|
1960
|
-
"type": "documented",
|
|
1961
|
-
"moduleName": "lodash.zipwith",
|
|
1962
|
-
"docPath": "lodash-underscore",
|
|
1963
|
-
"category": "preferred"
|
|
1964
|
-
},
|
|
1965
1989
|
{
|
|
1966
1990
|
"type": "documented",
|
|
1967
1991
|
"moduleName": "lodash.zipobject",
|
|
@@ -1976,38 +2000,38 @@
|
|
|
1976
2000
|
},
|
|
1977
2001
|
{
|
|
1978
2002
|
"type": "documented",
|
|
1979
|
-
"moduleName": "lodash
|
|
2003
|
+
"moduleName": "lodash.zipwith",
|
|
1980
2004
|
"docPath": "lodash-underscore",
|
|
1981
2005
|
"category": "preferred"
|
|
1982
2006
|
},
|
|
1983
2007
|
{
|
|
1984
2008
|
"type": "documented",
|
|
1985
|
-
"moduleName": "
|
|
1986
|
-
"docPath": "
|
|
2009
|
+
"moduleName": "make-dir",
|
|
2010
|
+
"docPath": "mkdirp",
|
|
1987
2011
|
"category": "preferred"
|
|
1988
2012
|
},
|
|
1989
2013
|
{
|
|
1990
2014
|
"type": "documented",
|
|
1991
|
-
"moduleName": "
|
|
1992
|
-
"docPath": "
|
|
2015
|
+
"moduleName": "mkdirp",
|
|
2016
|
+
"docPath": "mkdirp",
|
|
1993
2017
|
"category": "preferred"
|
|
1994
2018
|
},
|
|
1995
2019
|
{
|
|
1996
2020
|
"type": "documented",
|
|
1997
|
-
"moduleName": "
|
|
1998
|
-
"docPath": "
|
|
2021
|
+
"moduleName": "moment",
|
|
2022
|
+
"docPath": "momentjs",
|
|
1999
2023
|
"category": "preferred"
|
|
2000
2024
|
},
|
|
2001
2025
|
{
|
|
2002
2026
|
"type": "documented",
|
|
2003
|
-
"moduleName": "
|
|
2004
|
-
"docPath": "
|
|
2027
|
+
"moduleName": "npm-run-all",
|
|
2028
|
+
"docPath": "npm-run-all",
|
|
2005
2029
|
"category": "preferred"
|
|
2006
2030
|
},
|
|
2007
2031
|
{
|
|
2008
2032
|
"type": "documented",
|
|
2009
|
-
"moduleName": "
|
|
2010
|
-
"docPath": "
|
|
2033
|
+
"moduleName": "q",
|
|
2034
|
+
"docPath": "bluebird-q",
|
|
2011
2035
|
"category": "preferred"
|
|
2012
2036
|
},
|
|
2013
2037
|
{
|
|
@@ -2018,8 +2042,8 @@
|
|
|
2018
2042
|
},
|
|
2019
2043
|
{
|
|
2020
2044
|
"type": "documented",
|
|
2021
|
-
"moduleName": "
|
|
2022
|
-
"docPath": "
|
|
2045
|
+
"moduleName": "readable-stream",
|
|
2046
|
+
"docPath": "readable-stream",
|
|
2023
2047
|
"category": "preferred"
|
|
2024
2048
|
},
|
|
2025
2049
|
{
|
|
@@ -2030,32 +2054,14 @@
|
|
|
2030
2054
|
},
|
|
2031
2055
|
{
|
|
2032
2056
|
"type": "documented",
|
|
2033
|
-
"moduleName": "
|
|
2034
|
-
"docPath": "
|
|
2035
|
-
"category": "preferred"
|
|
2036
|
-
},
|
|
2037
|
-
{
|
|
2038
|
-
"type": "documented",
|
|
2039
|
-
"moduleName": "mkdirp",
|
|
2040
|
-
"docPath": "mkdirp",
|
|
2041
|
-
"category": "preferred"
|
|
2042
|
-
},
|
|
2043
|
-
{
|
|
2044
|
-
"type": "documented",
|
|
2045
|
-
"moduleName": "moment",
|
|
2046
|
-
"docPath": "momentjs",
|
|
2047
|
-
"category": "preferred"
|
|
2048
|
-
},
|
|
2049
|
-
{
|
|
2050
|
-
"type": "documented",
|
|
2051
|
-
"moduleName": "q",
|
|
2052
|
-
"docPath": "bluebird-q",
|
|
2057
|
+
"moduleName": "sort-object",
|
|
2058
|
+
"docPath": "sort-object",
|
|
2053
2059
|
"category": "preferred"
|
|
2054
2060
|
},
|
|
2055
2061
|
{
|
|
2056
2062
|
"type": "documented",
|
|
2057
|
-
"moduleName": "
|
|
2058
|
-
"docPath": "
|
|
2063
|
+
"moduleName": "tempy",
|
|
2064
|
+
"docPath": "tempy",
|
|
2059
2065
|
"category": "preferred"
|
|
2060
2066
|
},
|
|
2061
2067
|
{
|
|
@@ -2069,12 +2075,6 @@
|
|
|
2069
2075
|
"moduleName": "uri-js",
|
|
2070
2076
|
"docPath": "uri-js",
|
|
2071
2077
|
"category": "preferred"
|
|
2072
|
-
},
|
|
2073
|
-
{
|
|
2074
|
-
"type": "documented",
|
|
2075
|
-
"moduleName": "readable-stream",
|
|
2076
|
-
"docPath": "readable-stream",
|
|
2077
|
-
"category": "preferred"
|
|
2078
2078
|
}
|
|
2079
2079
|
]
|
|
2080
|
-
}
|
|
2080
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "module-replacements",
|
|
3
3
|
"description": "This package provides a set of manifests which each define a mapping of JS modules to their suggested replacements.",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.3.1-beta.1",
|
|
5
5
|
"main": "./dist/commonjs/main.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"build": "npm run clean && npm run build:types",
|
|
@@ -11,13 +11,16 @@
|
|
|
11
11
|
"format": "prettier --write \"./src/**/*.ts\" \"./manifests/**/*.json\"",
|
|
12
12
|
"generate-schema": "node scripts/generate-schema.js",
|
|
13
13
|
"prepare": "tshy && npm run build:update-manifest-paths",
|
|
14
|
-
"test:validate": "
|
|
15
|
-
"
|
|
16
|
-
"validate-module-list": "node scripts/validate-module-list.js"
|
|
14
|
+
"test:validate": "node scripts/validate-modules.js",
|
|
15
|
+
"sort-manifests": "node scripts/sort-manifests.js"
|
|
17
16
|
},
|
|
18
17
|
"tshy": {
|
|
19
18
|
"exports": {
|
|
20
|
-
".": "./src/main.ts"
|
|
19
|
+
".": "./src/main.ts",
|
|
20
|
+
"./package.json": "./package.json",
|
|
21
|
+
"./manifests/micro-utilities.json": "./manifests/micro-utilities.json",
|
|
22
|
+
"./manifests/native.json": "./manifests/native.json",
|
|
23
|
+
"./manifests/preferred.json": "./manifests/preferred.json"
|
|
21
24
|
}
|
|
22
25
|
},
|
|
23
26
|
"files": [
|
|
@@ -52,7 +55,11 @@
|
|
|
52
55
|
"types": "./dist/commonjs/main.d.ts",
|
|
53
56
|
"default": "./dist/commonjs/main.js"
|
|
54
57
|
}
|
|
55
|
-
}
|
|
58
|
+
},
|
|
59
|
+
"./package.json": "./package.json",
|
|
60
|
+
"./manifests/micro-utilities.json": "./manifests/micro-utilities.json",
|
|
61
|
+
"./manifests/native.json": "./manifests/native.json",
|
|
62
|
+
"./manifests/preferred.json": "./manifests/preferred.json"
|
|
56
63
|
},
|
|
57
64
|
"types": "./dist/commonjs/main.d.ts",
|
|
58
65
|
"type": "module"
|