inferred-types 0.18.1 → 0.18.2
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/.tsbuildinfo +1 -1
- package/dist/index.d.ts +37 -24
- package/dist/index.js +47 -19
- package/dist/index.mjs +32 -6
- package/on-hold/Builder/index.ts +15 -21
- package/on-hold/types/index.ts +15 -20
- package/package.json +5 -5
- package/pnpm-lock.yaml +61 -276
- package/src/Mutation/index.ts +16 -18
- package/src/index.ts +15 -19
- package/src/shared/index.ts +16 -18
- package/src/types/alphabetic/index.ts +10 -18
- package/src/types/dictionary/index.ts +16 -18
- package/src/types/fluent/index.ts +10 -17
- package/src/types/index.ts +10 -19
- package/src/types/kv/index.ts +16 -18
- package/src/types/lists/index.ts +16 -18
- package/src/types/string-literals/index.ts +16 -18
- package/src/types/tuples/index.ts +16 -18
- package/src/types/type-conversion/index.ts +10 -17
- package/src/utility/api/index.ts +16 -18
- package/src/utility/dictionary/index.ts +16 -20
- package/src/utility/dictionary/kv/index.ts +16 -18
- package/src/utility/index.ts +16 -20
- package/src/utility/lists/index.ts +16 -18
- package/src/utility/literals/index.ts +16 -18
- package/src/utility/map-reduce/index.ts +16 -18
- package/src/utility/modelling/index.ts +16 -18
- package/src/utility/runtime/conditions/index.ts +16 -18
- package/src/utility/runtime/ifTypeOf.ts +1 -5
- package/src/utility/runtime/index.ts +16 -20
- package/src/utility/state/index.ts +16 -18
- package/tests/data/index.ts +9 -14
- package/tests/kv/dict-to-kv-and-back.spec.ts +6 -2
- package/src/errors/InferenceError.ts +0 -3
- package/src/errors/index.ts +0 -37
package/pnpm-lock.yaml
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
lockfileVersion: 5.3
|
|
2
2
|
|
|
3
3
|
specifiers:
|
|
4
|
-
'@antfu/eslint-config-ts': ^0.11.0
|
|
5
4
|
'@type-challenges/utils': ~0.1.1
|
|
6
5
|
'@types/jest': ^27.0.3
|
|
7
6
|
'@types/node': ^14.18.3
|
|
@@ -10,16 +9,17 @@ specifiers:
|
|
|
10
9
|
brilliant-errors: ^0.5.4
|
|
11
10
|
common-types: ^1.31.0
|
|
12
11
|
cross-env: ^7.0.3
|
|
13
|
-
dd: ^0.16.
|
|
12
|
+
dd: ^0.16.7
|
|
14
13
|
dotenv: ^10.0.0
|
|
15
14
|
eslint: ^8.5.0
|
|
16
15
|
eslint-config-prettier: ^8.3.0
|
|
17
16
|
eslint-plugin-import: ^2.25.3
|
|
18
17
|
eslint-plugin-prettier: ^4.0.0
|
|
19
18
|
eslint-plugin-promise: ^6.0.0
|
|
19
|
+
eslint-plugin-unicorn: ^39.0.0
|
|
20
20
|
jest: ^27.4.5
|
|
21
21
|
jest-extended: ~1.2.0
|
|
22
|
-
native-dash: ^1.21.
|
|
22
|
+
native-dash: ^1.21.2
|
|
23
23
|
npm-run-all: ~4.1.5
|
|
24
24
|
prettier: ~2.5.1
|
|
25
25
|
rimraf: ^3.0.2
|
|
@@ -31,23 +31,23 @@ specifiers:
|
|
|
31
31
|
dependencies:
|
|
32
32
|
brilliant-errors: 0.5.4
|
|
33
33
|
common-types: 1.31.0
|
|
34
|
-
native-dash: 1.21.
|
|
34
|
+
native-dash: 1.21.2
|
|
35
35
|
|
|
36
36
|
devDependencies:
|
|
37
|
-
'@antfu/eslint-config-ts': 0.11.0_eslint@8.5.0+typescript@4.5.4
|
|
38
37
|
'@type-challenges/utils': 0.1.1
|
|
39
38
|
'@types/jest': 27.0.3
|
|
40
39
|
'@types/node': 14.18.3
|
|
41
40
|
'@typescript-eslint/eslint-plugin': 5.8.0_836011a006f4f5d67178564baf2b6d34
|
|
42
41
|
'@typescript-eslint/parser': 5.8.0_eslint@8.5.0+typescript@4.5.4
|
|
43
42
|
cross-env: 7.0.3
|
|
44
|
-
dd: 0.16.
|
|
43
|
+
dd: 0.16.7_typescript@4.5.4
|
|
45
44
|
dotenv: 10.0.0
|
|
46
45
|
eslint: 8.5.0
|
|
47
46
|
eslint-config-prettier: 8.3.0_eslint@8.5.0
|
|
48
47
|
eslint-plugin-import: 2.25.3_eslint@8.5.0
|
|
49
48
|
eslint-plugin-prettier: 4.0.0_94e1b6d3ce6ea916847122712570e9ae
|
|
50
49
|
eslint-plugin-promise: 6.0.0_eslint@8.5.0
|
|
50
|
+
eslint-plugin-unicorn: 39.0.0_eslint@8.5.0
|
|
51
51
|
jest: 27.4.5_ts-node@10.4.0
|
|
52
52
|
jest-extended: 1.2.0
|
|
53
53
|
npm-run-all: 4.1.5
|
|
@@ -60,42 +60,6 @@ devDependencies:
|
|
|
60
60
|
|
|
61
61
|
packages:
|
|
62
62
|
|
|
63
|
-
/@antfu/eslint-config-basic/0.11.0_eslint@8.5.0:
|
|
64
|
-
resolution: {integrity: sha512-xImG3R2Q4+mnGBK0n4FEKVW3ceHodbTZP6O6LyBg0N1XsyeRxNZ2kIkAc2zoOPcxejfxN/eH8UoHaPtErw/Tzg==}
|
|
65
|
-
peerDependencies:
|
|
66
|
-
eslint: '>=7.4.0'
|
|
67
|
-
dependencies:
|
|
68
|
-
eslint: 8.5.0
|
|
69
|
-
eslint-config-standard: 16.0.3_72c8a59d61ea280e4bd230741483b2d1
|
|
70
|
-
eslint-plugin-eslint-comments: 3.2.0_eslint@8.5.0
|
|
71
|
-
eslint-plugin-html: 6.2.0
|
|
72
|
-
eslint-plugin-import: 2.25.3_eslint@8.5.0
|
|
73
|
-
eslint-plugin-jsonc: 2.0.0_eslint@8.5.0
|
|
74
|
-
eslint-plugin-node: 11.1.0_eslint@8.5.0
|
|
75
|
-
eslint-plugin-promise: 5.2.0_eslint@8.5.0
|
|
76
|
-
eslint-plugin-unicorn: 39.0.0_eslint@8.5.0
|
|
77
|
-
eslint-plugin-yml: 0.12.0_eslint@8.5.0
|
|
78
|
-
jsonc-eslint-parser: 2.0.4_eslint@8.5.0
|
|
79
|
-
yaml-eslint-parser: 0.5.0
|
|
80
|
-
transitivePeerDependencies:
|
|
81
|
-
- supports-color
|
|
82
|
-
dev: true
|
|
83
|
-
|
|
84
|
-
/@antfu/eslint-config-ts/0.11.0_eslint@8.5.0+typescript@4.5.4:
|
|
85
|
-
resolution: {integrity: sha512-Cz5+8JLYpLT4ad924Om5laakXFpJisCVMlIrnYjD4hQVyO4R1krJegWqtkO4zwDfDcLggwH+meDphpVmMmeTKw==}
|
|
86
|
-
peerDependencies:
|
|
87
|
-
eslint: '>=7.4.0'
|
|
88
|
-
typescript: '>=3.9'
|
|
89
|
-
dependencies:
|
|
90
|
-
'@antfu/eslint-config-basic': 0.11.0_eslint@8.5.0
|
|
91
|
-
'@typescript-eslint/eslint-plugin': 5.8.0_836011a006f4f5d67178564baf2b6d34
|
|
92
|
-
'@typescript-eslint/parser': 5.8.0_eslint@8.5.0+typescript@4.5.4
|
|
93
|
-
eslint: 8.5.0
|
|
94
|
-
typescript: 4.5.4
|
|
95
|
-
transitivePeerDependencies:
|
|
96
|
-
- supports-color
|
|
97
|
-
dev: true
|
|
98
|
-
|
|
99
63
|
/@babel/code-frame/7.16.0:
|
|
100
64
|
resolution: {integrity: sha512-IF4EOMEV+bfYwOmNxGzSnjR2EmQod7f1UXOpZM3l4i4o4QNwzjtJAu/HxdjHq0aYBvdqMuQEY1eg0nqW9ZPORA==}
|
|
101
65
|
engines: {node: '>=6.9.0'}
|
|
@@ -1435,39 +1399,13 @@ packages:
|
|
|
1435
1399
|
engines: {node: '>=12.0.0'}
|
|
1436
1400
|
dev: true
|
|
1437
1401
|
|
|
1438
|
-
/brilliant-errors/0.4.3_20d24a6661ded2cee08f9ae714a3d23b:
|
|
1439
|
-
resolution: {integrity: sha512-bDgIn5JFahgb7AEOIQjw4IhD6J2EEBd3Q+36+dymWk9Wsyyxirs9M8ArU758SLJnrCIAcEdmtaO7q56bNnnZeA==}
|
|
1440
|
-
engines: {node: '>=12.0.0'}
|
|
1441
|
-
peerDependencies:
|
|
1442
|
-
callsites: ^3.1.0
|
|
1443
|
-
common-types: ^1.29.0
|
|
1444
|
-
inferred-types: ^0.17.0
|
|
1445
|
-
dependencies:
|
|
1446
|
-
callsites: 3.1.0
|
|
1447
|
-
common-types: 1.31.0
|
|
1448
|
-
inferred-types: 0.18.0_callsites@3.1.0
|
|
1449
|
-
|
|
1450
|
-
/brilliant-errors/0.4.3_aa81510f69af8b9c36fd6a13cbb4ad4a:
|
|
1451
|
-
resolution: {integrity: sha512-bDgIn5JFahgb7AEOIQjw4IhD6J2EEBd3Q+36+dymWk9Wsyyxirs9M8ArU758SLJnrCIAcEdmtaO7q56bNnnZeA==}
|
|
1452
|
-
engines: {node: '>=12.0.0'}
|
|
1453
|
-
peerDependencies:
|
|
1454
|
-
callsites: ^3.1.0
|
|
1455
|
-
common-types: ^1.29.0
|
|
1456
|
-
inferred-types: ^0.17.0
|
|
1457
|
-
dependencies:
|
|
1458
|
-
common-types: 1.31.0
|
|
1459
|
-
inferred-types: 0.18.0
|
|
1460
|
-
dev: false
|
|
1461
|
-
optional: true
|
|
1462
|
-
|
|
1463
1402
|
/brilliant-errors/0.5.4:
|
|
1464
1403
|
resolution: {integrity: sha512-+ELzuojdJIcsviRhc7+TIHgZyqEfGPeRtDZgzi1lJr8fyoV2apxhWisGYxeIZlhuXdtl3rL/ZCPEUCBQu+vBJA==}
|
|
1465
1404
|
engines: {node: '>=12.0.0'}
|
|
1466
1405
|
dependencies:
|
|
1467
1406
|
callsites: 3.1.0
|
|
1468
1407
|
common-types: 1.31.0
|
|
1469
|
-
inferred-types: 0.18.
|
|
1470
|
-
dev: false
|
|
1408
|
+
inferred-types: 0.18.1
|
|
1471
1409
|
|
|
1472
1410
|
/browser-process-hrtime/1.0.0:
|
|
1473
1411
|
resolution: {integrity: sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow==}
|
|
@@ -1871,8 +1809,8 @@ packages:
|
|
|
1871
1809
|
engines: {node: '>=0.11'}
|
|
1872
1810
|
dev: true
|
|
1873
1811
|
|
|
1874
|
-
/dd/0.16.
|
|
1875
|
-
resolution: {integrity: sha512-
|
|
1812
|
+
/dd/0.16.7_typescript@4.5.4:
|
|
1813
|
+
resolution: {integrity: sha512-DtuSSZrUpOj5prj9ii2a7lMTQlQMahoxOu7bWZiQYlLcbT1Lqo6nsO/8oAgUq2GxD5DNy5fwrHVEVNfelxEvCg==}
|
|
1876
1814
|
hasBin: true
|
|
1877
1815
|
dependencies:
|
|
1878
1816
|
ast-types: 0.14.2
|
|
@@ -1893,24 +1831,28 @@ packages:
|
|
|
1893
1831
|
exiftool-vendored: 15.9.1
|
|
1894
1832
|
find-up: 5.0.0
|
|
1895
1833
|
globby: 11.0.4
|
|
1896
|
-
inferred-types: 0.18.
|
|
1834
|
+
inferred-types: 0.18.1
|
|
1897
1835
|
inquirer: 8.2.0
|
|
1898
1836
|
js-yaml: 4.1.0
|
|
1899
1837
|
madge: 5.0.1
|
|
1900
1838
|
matcher: 4.0.0
|
|
1901
|
-
native-dash: 1.21.
|
|
1839
|
+
native-dash: 1.21.2
|
|
1902
1840
|
play-sound: 1.1.3
|
|
1903
1841
|
pnpm: 6.24.3
|
|
1904
1842
|
recast: 0.20.5
|
|
1905
1843
|
sharp: 0.29.3
|
|
1844
|
+
shelljs: 0.8.4
|
|
1906
1845
|
simple-git: 2.48.0
|
|
1907
1846
|
smartwrap: 2.0.2
|
|
1908
1847
|
table: 6.7.5
|
|
1909
1848
|
ts-morph: 13.0.2
|
|
1849
|
+
ts-patch: 2.0.1_typescript@4.5.4
|
|
1910
1850
|
typed-mapper: 0.4.1
|
|
1851
|
+
typescript-transform-paths: 3.3.1_typescript@4.5.4
|
|
1911
1852
|
xxhash: 0.3.0
|
|
1912
1853
|
transitivePeerDependencies:
|
|
1913
1854
|
- supports-color
|
|
1855
|
+
- typescript
|
|
1914
1856
|
dev: true
|
|
1915
1857
|
|
|
1916
1858
|
/debug/2.6.9:
|
|
@@ -2169,18 +2111,6 @@ packages:
|
|
|
2169
2111
|
esutils: 2.0.3
|
|
2170
2112
|
dev: true
|
|
2171
2113
|
|
|
2172
|
-
/dom-serializer/1.3.2:
|
|
2173
|
-
resolution: {integrity: sha512-5c54Bk5Dw4qAxNOI1pFEizPSjVsx5+bpJKmL2kPn8JhBUq2q09tTCa3mjijun2NfK78NMouDYNMBkOrPZiS+ig==}
|
|
2174
|
-
dependencies:
|
|
2175
|
-
domelementtype: 2.2.0
|
|
2176
|
-
domhandler: 4.3.0
|
|
2177
|
-
entities: 2.2.0
|
|
2178
|
-
dev: true
|
|
2179
|
-
|
|
2180
|
-
/domelementtype/2.2.0:
|
|
2181
|
-
resolution: {integrity: sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A==}
|
|
2182
|
-
dev: true
|
|
2183
|
-
|
|
2184
2114
|
/domexception/2.0.1:
|
|
2185
2115
|
resolution: {integrity: sha512-yxJ2mFy/sibVQlu5qHjOkf9J3K6zgmCxgJ94u2EdvDOV09H+32LtRswEcUsmUWN72pVLOEnTSRaIVVzVQgS0dg==}
|
|
2186
2116
|
engines: {node: '>=8'}
|
|
@@ -2188,21 +2118,6 @@ packages:
|
|
|
2188
2118
|
webidl-conversions: 5.0.0
|
|
2189
2119
|
dev: true
|
|
2190
2120
|
|
|
2191
|
-
/domhandler/4.3.0:
|
|
2192
|
-
resolution: {integrity: sha512-fC0aXNQXqKSFTr2wDNZDhsEYjCiYsDWl3D01kwt25hm1YIPyDGHvvi3rw+PLqHAl/m71MaiF7d5zvBr0p5UB2g==}
|
|
2193
|
-
engines: {node: '>= 4'}
|
|
2194
|
-
dependencies:
|
|
2195
|
-
domelementtype: 2.2.0
|
|
2196
|
-
dev: true
|
|
2197
|
-
|
|
2198
|
-
/domutils/2.8.0:
|
|
2199
|
-
resolution: {integrity: sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==}
|
|
2200
|
-
dependencies:
|
|
2201
|
-
dom-serializer: 1.3.2
|
|
2202
|
-
domelementtype: 2.2.0
|
|
2203
|
-
domhandler: 4.3.0
|
|
2204
|
-
dev: true
|
|
2205
|
-
|
|
2206
2121
|
/dotenv/10.0.0:
|
|
2207
2122
|
resolution: {integrity: sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q==}
|
|
2208
2123
|
engines: {node: '>=10'}
|
|
@@ -2242,15 +2157,6 @@ packages:
|
|
|
2242
2157
|
ansi-colors: 4.1.1
|
|
2243
2158
|
dev: true
|
|
2244
2159
|
|
|
2245
|
-
/entities/2.2.0:
|
|
2246
|
-
resolution: {integrity: sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==}
|
|
2247
|
-
dev: true
|
|
2248
|
-
|
|
2249
|
-
/entities/3.0.1:
|
|
2250
|
-
resolution: {integrity: sha512-WiyBqoomrwMdFG1e0kqvASYfnlb0lp8M5o5Fw2OFq1hNZxxcNk8Ik0Xm7LxzBhuidnZB/UtBqVCgUz3kBOP51Q==}
|
|
2251
|
-
engines: {node: '>=0.12'}
|
|
2252
|
-
dev: true
|
|
2253
|
-
|
|
2254
2160
|
/error-ex/1.3.2:
|
|
2255
2161
|
resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==}
|
|
2256
2162
|
dependencies:
|
|
@@ -2503,20 +2409,6 @@ packages:
|
|
|
2503
2409
|
eslint: 8.5.0
|
|
2504
2410
|
dev: true
|
|
2505
2411
|
|
|
2506
|
-
/eslint-config-standard/16.0.3_72c8a59d61ea280e4bd230741483b2d1:
|
|
2507
|
-
resolution: {integrity: sha512-x4fmJL5hGqNJKGHSjnLdgA6U6h1YW/G2dW9fA+cyVur4SK6lyue8+UgNKWlZtUDTXvgKDD/Oa3GQjmB5kjtVvg==}
|
|
2508
|
-
peerDependencies:
|
|
2509
|
-
eslint: ^7.12.1
|
|
2510
|
-
eslint-plugin-import: ^2.22.1
|
|
2511
|
-
eslint-plugin-node: ^11.1.0
|
|
2512
|
-
eslint-plugin-promise: ^4.2.1 || ^5.0.0
|
|
2513
|
-
dependencies:
|
|
2514
|
-
eslint: 8.5.0
|
|
2515
|
-
eslint-plugin-import: 2.25.3_eslint@8.5.0
|
|
2516
|
-
eslint-plugin-node: 11.1.0_eslint@8.5.0
|
|
2517
|
-
eslint-plugin-promise: 5.2.0_eslint@8.5.0
|
|
2518
|
-
dev: true
|
|
2519
|
-
|
|
2520
2412
|
/eslint-import-resolver-node/0.3.6:
|
|
2521
2413
|
resolution: {integrity: sha512-0En0w03NRVMn9Uiyn8YRPDKvWjxCWkslUEhGNTdGx15RvPJYQ+lbOlqrlNI2vEAs4pDYK4f/HN2TbDmk5TP0iw==}
|
|
2522
2414
|
dependencies:
|
|
@@ -2533,34 +2425,6 @@ packages:
|
|
|
2533
2425
|
pkg-dir: 2.0.0
|
|
2534
2426
|
dev: true
|
|
2535
2427
|
|
|
2536
|
-
/eslint-plugin-es/3.0.1_eslint@8.5.0:
|
|
2537
|
-
resolution: {integrity: sha512-GUmAsJaN4Fc7Gbtl8uOBlayo2DqhwWvEzykMHSCZHU3XdJ+NSzzZcVhXh3VxX5icqQ+oQdIEawXX8xkR3mIFmQ==}
|
|
2538
|
-
engines: {node: '>=8.10.0'}
|
|
2539
|
-
peerDependencies:
|
|
2540
|
-
eslint: '>=4.19.1'
|
|
2541
|
-
dependencies:
|
|
2542
|
-
eslint: 8.5.0
|
|
2543
|
-
eslint-utils: 2.1.0
|
|
2544
|
-
regexpp: 3.2.0
|
|
2545
|
-
dev: true
|
|
2546
|
-
|
|
2547
|
-
/eslint-plugin-eslint-comments/3.2.0_eslint@8.5.0:
|
|
2548
|
-
resolution: {integrity: sha512-0jkOl0hfojIHHmEHgmNdqv4fmh7300NdpA9FFpF7zaoLvB/QeXOGNLIo86oAveJFrfB1p05kC8hpEMHM8DwWVQ==}
|
|
2549
|
-
engines: {node: '>=6.5.0'}
|
|
2550
|
-
peerDependencies:
|
|
2551
|
-
eslint: '>=4.19.1'
|
|
2552
|
-
dependencies:
|
|
2553
|
-
escape-string-regexp: 1.0.5
|
|
2554
|
-
eslint: 8.5.0
|
|
2555
|
-
ignore: 5.2.0
|
|
2556
|
-
dev: true
|
|
2557
|
-
|
|
2558
|
-
/eslint-plugin-html/6.2.0:
|
|
2559
|
-
resolution: {integrity: sha512-vi3NW0E8AJombTvt8beMwkL1R/fdRWl4QSNRNMhVQKWm36/X0KF0unGNAY4mqUF06mnwVWZcIcerrCnfn9025g==}
|
|
2560
|
-
dependencies:
|
|
2561
|
-
htmlparser2: 7.2.0
|
|
2562
|
-
dev: true
|
|
2563
|
-
|
|
2564
2428
|
/eslint-plugin-import/2.25.3_eslint@8.5.0:
|
|
2565
2429
|
resolution: {integrity: sha512-RzAVbby+72IB3iOEL8clzPLzL3wpDrlwjsTBAQXgyp5SeTqqY+0bFubwuo+y/HLhNZcXV4XqTBO4LGsfyHIDXg==}
|
|
2566
2430
|
engines: {node: '>=4'}
|
|
@@ -2583,33 +2447,6 @@ packages:
|
|
|
2583
2447
|
tsconfig-paths: 3.12.0
|
|
2584
2448
|
dev: true
|
|
2585
2449
|
|
|
2586
|
-
/eslint-plugin-jsonc/2.0.0_eslint@8.5.0:
|
|
2587
|
-
resolution: {integrity: sha512-5UbUUvx4gUVeF9hJ+SHDW9a4OPQ8vJWu12rttQ76qGO2tlH17OC103CLq+vrmjo5VQULeVzSJ0u4s+jUATJyWQ==}
|
|
2588
|
-
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
|
2589
|
-
peerDependencies:
|
|
2590
|
-
eslint: '>=6.0.0'
|
|
2591
|
-
dependencies:
|
|
2592
|
-
eslint: 8.5.0
|
|
2593
|
-
eslint-utils: 3.0.0_eslint@8.5.0
|
|
2594
|
-
jsonc-eslint-parser: 2.0.4_eslint@8.5.0
|
|
2595
|
-
natural-compare: 1.4.0
|
|
2596
|
-
dev: true
|
|
2597
|
-
|
|
2598
|
-
/eslint-plugin-node/11.1.0_eslint@8.5.0:
|
|
2599
|
-
resolution: {integrity: sha512-oUwtPJ1W0SKD0Tr+wqu92c5xuCeQqB3hSCHasn/ZgjFdA9iDGNkNf2Zi9ztY7X+hNuMib23LNGRm6+uN+KLE3g==}
|
|
2600
|
-
engines: {node: '>=8.10.0'}
|
|
2601
|
-
peerDependencies:
|
|
2602
|
-
eslint: '>=5.16.0'
|
|
2603
|
-
dependencies:
|
|
2604
|
-
eslint: 8.5.0
|
|
2605
|
-
eslint-plugin-es: 3.0.1_eslint@8.5.0
|
|
2606
|
-
eslint-utils: 2.1.0
|
|
2607
|
-
ignore: 5.2.0
|
|
2608
|
-
minimatch: 3.0.4
|
|
2609
|
-
resolve: 1.20.0
|
|
2610
|
-
semver: 6.3.0
|
|
2611
|
-
dev: true
|
|
2612
|
-
|
|
2613
2450
|
/eslint-plugin-prettier/4.0.0_94e1b6d3ce6ea916847122712570e9ae:
|
|
2614
2451
|
resolution: {integrity: sha512-98MqmCJ7vJodoQK359bqQWaxOE0CS8paAz/GgjaZLyex4TTk3g9HugoO89EqWCrFiOqn9EVvcoo7gZzONCWVwQ==}
|
|
2615
2452
|
engines: {node: '>=6.0.0'}
|
|
@@ -2627,15 +2464,6 @@ packages:
|
|
|
2627
2464
|
prettier-linter-helpers: 1.0.0
|
|
2628
2465
|
dev: true
|
|
2629
2466
|
|
|
2630
|
-
/eslint-plugin-promise/5.2.0_eslint@8.5.0:
|
|
2631
|
-
resolution: {integrity: sha512-SftLb1pUG01QYq2A/hGAWfDRXqYD82zE7j7TopDOyNdU+7SvvoXREls/+PRTY17vUXzXnZA/zfnyKgRH6x4JJw==}
|
|
2632
|
-
engines: {node: ^10.12.0 || >=12.0.0}
|
|
2633
|
-
peerDependencies:
|
|
2634
|
-
eslint: ^7.0.0
|
|
2635
|
-
dependencies:
|
|
2636
|
-
eslint: 8.5.0
|
|
2637
|
-
dev: true
|
|
2638
|
-
|
|
2639
2467
|
/eslint-plugin-promise/6.0.0_eslint@8.5.0:
|
|
2640
2468
|
resolution: {integrity: sha512-7GPezalm5Bfi/E22PnQxDWH2iW9GTvAlUNTztemeHb6c1BniSyoeTrM87JkC0wYdi6aQrZX9p2qEiAno8aTcbw==}
|
|
2641
2469
|
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
|
@@ -2671,21 +2499,6 @@ packages:
|
|
|
2671
2499
|
- supports-color
|
|
2672
2500
|
dev: true
|
|
2673
2501
|
|
|
2674
|
-
/eslint-plugin-yml/0.12.0_eslint@8.5.0:
|
|
2675
|
-
resolution: {integrity: sha512-aS82M+diohZTusadiByzh/bKDrfi+Y6VBQkD3ym/7JH+KF9WUB9qKCizLfTaCACwtRrHpqaLz3G8GKmslshyiw==}
|
|
2676
|
-
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
|
2677
|
-
peerDependencies:
|
|
2678
|
-
eslint: '>=6.0.0'
|
|
2679
|
-
dependencies:
|
|
2680
|
-
debug: 4.3.3
|
|
2681
|
-
eslint: 8.5.0
|
|
2682
|
-
lodash: 4.17.21
|
|
2683
|
-
natural-compare: 1.4.0
|
|
2684
|
-
yaml-eslint-parser: 0.5.0
|
|
2685
|
-
transitivePeerDependencies:
|
|
2686
|
-
- supports-color
|
|
2687
|
-
dev: true
|
|
2688
|
-
|
|
2689
2502
|
/eslint-scope/5.1.1:
|
|
2690
2503
|
resolution: {integrity: sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==}
|
|
2691
2504
|
engines: {node: '>=8.0.0'}
|
|
@@ -2717,13 +2530,6 @@ packages:
|
|
|
2717
2530
|
- supports-color
|
|
2718
2531
|
dev: true
|
|
2719
2532
|
|
|
2720
|
-
/eslint-utils/2.1.0:
|
|
2721
|
-
resolution: {integrity: sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg==}
|
|
2722
|
-
engines: {node: '>=6'}
|
|
2723
|
-
dependencies:
|
|
2724
|
-
eslint-visitor-keys: 1.3.0
|
|
2725
|
-
dev: true
|
|
2726
|
-
|
|
2727
2533
|
/eslint-utils/3.0.0_eslint@8.5.0:
|
|
2728
2534
|
resolution: {integrity: sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==}
|
|
2729
2535
|
engines: {node: ^10.0.0 || ^12.0.0 || >= 14.0.0}
|
|
@@ -2734,11 +2540,6 @@ packages:
|
|
|
2734
2540
|
eslint-visitor-keys: 2.1.0
|
|
2735
2541
|
dev: true
|
|
2736
2542
|
|
|
2737
|
-
/eslint-visitor-keys/1.3.0:
|
|
2738
|
-
resolution: {integrity: sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==}
|
|
2739
|
-
engines: {node: '>=4'}
|
|
2740
|
-
dev: true
|
|
2741
|
-
|
|
2742
2543
|
/eslint-visitor-keys/2.1.0:
|
|
2743
2544
|
resolution: {integrity: sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==}
|
|
2744
2545
|
engines: {node: '>=10'}
|
|
@@ -3088,6 +2889,7 @@ packages:
|
|
|
3088
2889
|
resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==}
|
|
3089
2890
|
engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}
|
|
3090
2891
|
os: [darwin]
|
|
2892
|
+
requiresBuild: true
|
|
3091
2893
|
dev: true
|
|
3092
2894
|
optional: true
|
|
3093
2895
|
|
|
@@ -3200,6 +3002,15 @@ packages:
|
|
|
3200
3002
|
path-is-absolute: 1.0.1
|
|
3201
3003
|
dev: true
|
|
3202
3004
|
|
|
3005
|
+
/global-prefix/3.0.0:
|
|
3006
|
+
resolution: {integrity: sha512-awConJSVCHVGND6x3tmMaKcQvwXLhjdkmomy2W+Goaui8YPgYgXJZewhg3fWC+DlfqqQuWg8AwqjGTD2nAPVWg==}
|
|
3007
|
+
engines: {node: '>=6'}
|
|
3008
|
+
dependencies:
|
|
3009
|
+
ini: 1.3.8
|
|
3010
|
+
kind-of: 6.0.3
|
|
3011
|
+
which: 1.3.1
|
|
3012
|
+
dev: true
|
|
3013
|
+
|
|
3203
3014
|
/globals/11.12.0:
|
|
3204
3015
|
resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==}
|
|
3205
3016
|
engines: {node: '>=4'}
|
|
@@ -3304,15 +3115,6 @@ packages:
|
|
|
3304
3115
|
resolution: {integrity: sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==}
|
|
3305
3116
|
dev: true
|
|
3306
3117
|
|
|
3307
|
-
/htmlparser2/7.2.0:
|
|
3308
|
-
resolution: {integrity: sha512-H7MImA4MS6cw7nbyURtLPO1Tms7C5H602LRETv95z1MxO/7CP7rDVROehUYeYBUYEON94NXXDEPmZuq+hX4sog==}
|
|
3309
|
-
dependencies:
|
|
3310
|
-
domelementtype: 2.2.0
|
|
3311
|
-
domhandler: 4.3.0
|
|
3312
|
-
domutils: 2.8.0
|
|
3313
|
-
entities: 3.0.1
|
|
3314
|
-
dev: true
|
|
3315
|
-
|
|
3316
3118
|
/http-proxy-agent/4.0.1:
|
|
3317
3119
|
resolution: {integrity: sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==}
|
|
3318
3120
|
engines: {node: '>= 6'}
|
|
@@ -3409,27 +3211,12 @@ packages:
|
|
|
3409
3211
|
resolution: {integrity: sha1-8w9xbI4r00bHtn0985FVZqfAVgc=}
|
|
3410
3212
|
dev: true
|
|
3411
3213
|
|
|
3412
|
-
/inferred-types/0.18.
|
|
3413
|
-
resolution: {integrity: sha512-
|
|
3414
|
-
dependencies:
|
|
3415
|
-
brilliant-errors: 0.4.3_aa81510f69af8b9c36fd6a13cbb4ad4a
|
|
3416
|
-
native-dash: 1.21.1
|
|
3417
|
-
optionalDependencies:
|
|
3418
|
-
common-types: 1.31.0
|
|
3419
|
-
transitivePeerDependencies:
|
|
3420
|
-
- callsites
|
|
3421
|
-
dev: false
|
|
3422
|
-
optional: true
|
|
3423
|
-
|
|
3424
|
-
/inferred-types/0.18.0_callsites@3.1.0:
|
|
3425
|
-
resolution: {integrity: sha512-yLOmuT2UeycEom5aP1/dmb7GwNOTQ+senxVSd7vlXPKXHoXWe6b12fmNdvftDd293oR/BpZ8YBmZ8Xk04b+s1A==}
|
|
3214
|
+
/inferred-types/0.18.1:
|
|
3215
|
+
resolution: {integrity: sha512-FMfMidQTZNcJCSXO2EIchZ8HatYx/Wy4j0aUJKvmCz1soK7tpP983/PVF1yhqRveWefmBBVnPB2Dbnop0/hA1A==}
|
|
3426
3216
|
dependencies:
|
|
3427
|
-
brilliant-errors: 0.4
|
|
3428
|
-
native-dash: 1.21.1_callsites@3.1.0
|
|
3429
|
-
optionalDependencies:
|
|
3217
|
+
brilliant-errors: 0.5.4
|
|
3430
3218
|
common-types: 1.31.0
|
|
3431
|
-
|
|
3432
|
-
- callsites
|
|
3219
|
+
native-dash: 1.21.2
|
|
3433
3220
|
|
|
3434
3221
|
/inflight/1.0.6:
|
|
3435
3222
|
resolution: {integrity: sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=}
|
|
@@ -4364,17 +4151,9 @@ packages:
|
|
|
4364
4151
|
minimist: 1.2.5
|
|
4365
4152
|
dev: true
|
|
4366
4153
|
|
|
4367
|
-
/
|
|
4368
|
-
resolution: {integrity: sha512-
|
|
4369
|
-
engines: {node:
|
|
4370
|
-
dependencies:
|
|
4371
|
-
acorn: 8.7.0
|
|
4372
|
-
eslint-utils: 3.0.0_eslint@8.5.0
|
|
4373
|
-
eslint-visitor-keys: 3.1.0
|
|
4374
|
-
espree: 9.2.0
|
|
4375
|
-
semver: 7.3.5
|
|
4376
|
-
transitivePeerDependencies:
|
|
4377
|
-
- eslint
|
|
4154
|
+
/kind-of/6.0.3:
|
|
4155
|
+
resolution: {integrity: sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==}
|
|
4156
|
+
engines: {node: '>=0.10.0'}
|
|
4378
4157
|
dev: true
|
|
4379
4158
|
|
|
4380
4159
|
/kleur/3.0.3:
|
|
@@ -4700,20 +4479,10 @@ packages:
|
|
|
4700
4479
|
resolution: {integrity: sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg==}
|
|
4701
4480
|
dev: true
|
|
4702
4481
|
|
|
4703
|
-
/native-dash/1.21.
|
|
4704
|
-
resolution: {integrity: sha512-
|
|
4705
|
-
|
|
4706
|
-
inferred-types: 0.18.
|
|
4707
|
-
transitivePeerDependencies:
|
|
4708
|
-
- callsites
|
|
4709
|
-
dev: false
|
|
4710
|
-
|
|
4711
|
-
/native-dash/1.21.1_callsites@3.1.0:
|
|
4712
|
-
resolution: {integrity: sha512-55cCX27FbbzNrEu9M/YKAwuHi5VBWiOy07lcz9/3cBsjy40CZQ9oXvldPREMUwcqYvahMClPb6eozj+ao/Pm0A==}
|
|
4713
|
-
optionalDependencies:
|
|
4714
|
-
inferred-types: 0.18.0_callsites@3.1.0
|
|
4715
|
-
transitivePeerDependencies:
|
|
4716
|
-
- callsites
|
|
4482
|
+
/native-dash/1.21.2:
|
|
4483
|
+
resolution: {integrity: sha512-menLmtQJpewbIKq3UctBv+Awwo2e+cybFq6K3mtmhvsaeEHZlJQqkmV/pDYpECBm+ORz1BL+jWp8Y7jOoBtggg==}
|
|
4484
|
+
dependencies:
|
|
4485
|
+
inferred-types: 0.18.1
|
|
4717
4486
|
|
|
4718
4487
|
/natural-compare/1.4.0:
|
|
4719
4488
|
resolution: {integrity: sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=}
|
|
@@ -6118,6 +5887,22 @@ packages:
|
|
|
6118
5887
|
yn: 3.1.1
|
|
6119
5888
|
dev: true
|
|
6120
5889
|
|
|
5890
|
+
/ts-patch/2.0.1_typescript@4.5.4:
|
|
5891
|
+
resolution: {integrity: sha512-mP7beU1QkmyDs1+SzXYVaSTD6Xo7ZCibOJ3sZkb/xsQjoAQXvn4oPjk0keC2LfCNAgilqtqgjiWp3pQri1uz4w==}
|
|
5892
|
+
hasBin: true
|
|
5893
|
+
peerDependencies:
|
|
5894
|
+
typescript: '>=4.0.0'
|
|
5895
|
+
dependencies:
|
|
5896
|
+
chalk: 4.1.2
|
|
5897
|
+
glob: 7.2.0
|
|
5898
|
+
global-prefix: 3.0.0
|
|
5899
|
+
minimist: 1.2.5
|
|
5900
|
+
resolve: 1.20.0
|
|
5901
|
+
shelljs: 0.8.4
|
|
5902
|
+
strip-ansi: 6.0.1
|
|
5903
|
+
typescript: 4.5.4
|
|
5904
|
+
dev: true
|
|
5905
|
+
|
|
6121
5906
|
/tsconfig-paths/3.12.0:
|
|
6122
5907
|
resolution: {integrity: sha512-e5adrnOYT6zqVnWqZu7i/BQ3BnhzvGbjEjejFXO20lKIKpwTaupkCPgEfv4GZK1IBciJUEhYs3J3p75FdaTFVg==}
|
|
6123
5908
|
dependencies:
|
|
@@ -6247,6 +6032,15 @@ packages:
|
|
|
6247
6032
|
is-typedarray: 1.0.0
|
|
6248
6033
|
dev: true
|
|
6249
6034
|
|
|
6035
|
+
/typescript-transform-paths/3.3.1_typescript@4.5.4:
|
|
6036
|
+
resolution: {integrity: sha512-c+8Cqd2rsRtTU68rJI0NX/OtqgBDddNs1fIxm1nCNyhn0WpoyqtpUxc1w9Ke5c5kgE4/OT5xYbKf2cf694RYEg==}
|
|
6037
|
+
peerDependencies:
|
|
6038
|
+
typescript: '>=3.6.5'
|
|
6039
|
+
dependencies:
|
|
6040
|
+
minimatch: 3.0.4
|
|
6041
|
+
typescript: 4.5.4
|
|
6042
|
+
dev: true
|
|
6043
|
+
|
|
6250
6044
|
/typescript/3.9.10:
|
|
6251
6045
|
resolution: {integrity: sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q==}
|
|
6252
6046
|
engines: {node: '>=4.2.0'}
|
|
@@ -6526,15 +6320,6 @@ packages:
|
|
|
6526
6320
|
resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==}
|
|
6527
6321
|
dev: true
|
|
6528
6322
|
|
|
6529
|
-
/yaml-eslint-parser/0.5.0:
|
|
6530
|
-
resolution: {integrity: sha512-nJeyLA3YHAzhBTZbRAbu3W6xrSCucyxExmA+ZDtEdUFpGllxAZpto2Zxo2IG0r0eiuEiBM4e+wiAdxTziTq94g==}
|
|
6531
|
-
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
|
6532
|
-
dependencies:
|
|
6533
|
-
eslint-visitor-keys: 3.1.0
|
|
6534
|
-
lodash: 4.17.21
|
|
6535
|
-
yaml: 1.10.2
|
|
6536
|
-
dev: true
|
|
6537
|
-
|
|
6538
6323
|
/yaml/1.10.2:
|
|
6539
6324
|
resolution: {integrity: sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==}
|
|
6540
6325
|
engines: {node: '>= 6'}
|
package/src/Mutation/index.ts
CHANGED
|
@@ -1,39 +1,37 @@
|
|
|
1
1
|
// #autoindex
|
|
2
2
|
|
|
3
3
|
// #region autoindexed files
|
|
4
|
+
// index last changed at: 12th Dec, 2021, 09:28 AM ( GMT-8 )
|
|
5
|
+
// hash-code: 4139440866
|
|
4
6
|
|
|
5
|
-
//
|
|
6
|
-
// export: named; exclusions: index, private.
|
|
7
|
-
// files: MutationFunction, MutationIdentity.
|
|
8
|
-
|
|
9
|
-
// local file exports
|
|
7
|
+
// file exports
|
|
10
8
|
export * from "./MutationFunction";
|
|
11
9
|
export * from "./MutationIdentity";
|
|
12
10
|
|
|
13
|
-
//
|
|
14
|
-
|
|
15
|
-
// This file was created by running: "dd
|
|
16
|
-
// the 'do-devops' pkg installed as a dev dep.
|
|
11
|
+
// #endregion
|
|
12
|
+
|
|
13
|
+
// This file was created by running: "dd autoindex"; it assumes you have
|
|
14
|
+
// the 'do-devops' pkg (that's "dd" on npm) installed as a dev dep.
|
|
17
15
|
//
|
|
18
16
|
// By default it assumes that exports are named exports but this can be changed by
|
|
19
17
|
// adding a modifier to the '// #autoindex' syntax:
|
|
20
18
|
//
|
|
21
19
|
// - autoindex:named same as default, exports "named symbols"
|
|
22
|
-
// - autoindex:default assumes each file is exporting a default export
|
|
23
|
-
//
|
|
24
|
-
// file
|
|
20
|
+
// - autoindex:default assumes each file is exporting a default export and
|
|
21
|
+
// converts the default export to the name of the file
|
|
25
22
|
// - autoindex:offset assumes files export "named symbols" but that each
|
|
26
23
|
// file's symbols should be offset by the file's name
|
|
27
|
-
// (useful for files which might symbols which collide
|
|
28
|
-
// or where the namespacing helps consumers)
|
|
29
24
|
//
|
|
30
25
|
// You may also exclude certain files or directories by adding it to the
|
|
31
26
|
// autoindex command. As an example:
|
|
32
27
|
//
|
|
33
28
|
// - autoindex:named, exclude: foo,bar,baz
|
|
34
29
|
//
|
|
35
|
-
//
|
|
36
|
-
//
|
|
30
|
+
// Inversely, if you state a file to be an "orphan" then autoindex files
|
|
31
|
+
// below this file will not reference this autoindex file:
|
|
32
|
+
//
|
|
33
|
+
// - autoindex:named, orphan
|
|
34
|
+
//
|
|
35
|
+
// All content outside the "// #region" section in this file will be
|
|
36
|
+
// preserved in situations where you need to do something paricularly awesome.
|
|
37
37
|
// Keep on being awesome.
|
|
38
|
-
|
|
39
|
-
// #endregion
|
package/src/index.ts
CHANGED
|
@@ -1,43 +1,39 @@
|
|
|
1
1
|
// #autoindex
|
|
2
2
|
|
|
3
3
|
// #region autoindexed files
|
|
4
|
-
|
|
5
|
-
//
|
|
6
|
-
// export: named; exclusions: index, private.
|
|
7
|
-
// directories: Mutation, errors, types, utility.
|
|
4
|
+
// index last changed at: 12th Dec, 2021, 09:30 AM ( GMT-8 )
|
|
5
|
+
// hash-code: 1064662042
|
|
8
6
|
|
|
9
7
|
// directory exports
|
|
10
8
|
export * from "./Mutation/index";
|
|
11
|
-
export * from "./
|
|
9
|
+
export * from "./shared/index";
|
|
12
10
|
export * from "./types/index";
|
|
13
11
|
export * from "./utility/index";
|
|
14
12
|
|
|
15
|
-
//
|
|
13
|
+
// #endregion
|
|
16
14
|
|
|
17
|
-
//
|
|
18
|
-
//
|
|
19
|
-
// This file was created by running: "dd devops autoindex"; it assumes you have
|
|
20
|
-
// the 'do-devops' pkg installed as a dev dep.
|
|
15
|
+
// This file was created by running: "dd autoindex"; it assumes you have
|
|
16
|
+
// the 'do-devops' pkg (that's "dd" on npm) installed as a dev dep.
|
|
21
17
|
//
|
|
22
18
|
// By default it assumes that exports are named exports but this can be changed by
|
|
23
19
|
// adding a modifier to the '// #autoindex' syntax:
|
|
24
20
|
//
|
|
25
21
|
// - autoindex:named same as default, exports "named symbols"
|
|
26
|
-
// - autoindex:default assumes each file is exporting a default export
|
|
27
|
-
//
|
|
28
|
-
// file
|
|
22
|
+
// - autoindex:default assumes each file is exporting a default export and
|
|
23
|
+
// converts the default export to the name of the file
|
|
29
24
|
// - autoindex:offset assumes files export "named symbols" but that each
|
|
30
25
|
// file's symbols should be offset by the file's name
|
|
31
|
-
// (useful for files which might symbols which collide
|
|
32
|
-
// or where the namespacing helps consumers)
|
|
33
26
|
//
|
|
34
27
|
// You may also exclude certain files or directories by adding it to the
|
|
35
28
|
// autoindex command. As an example:
|
|
36
29
|
//
|
|
37
30
|
// - autoindex:named, exclude: foo,bar,baz
|
|
38
31
|
//
|
|
39
|
-
//
|
|
40
|
-
//
|
|
32
|
+
// Inversely, if you state a file to be an "orphan" then autoindex files
|
|
33
|
+
// below this file will not reference this autoindex file:
|
|
34
|
+
//
|
|
35
|
+
// - autoindex:named, orphan
|
|
36
|
+
//
|
|
37
|
+
// All content outside the "// #region" section in this file will be
|
|
38
|
+
// preserved in situations where you need to do something paricularly awesome.
|
|
41
39
|
// Keep on being awesome.
|
|
42
|
-
|
|
43
|
-
// #endregion
|