@wtasnorg/node-lib 0.0.7 → 0.0.8
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.txt +14 -0
- package/dev_checklist.txt +56 -0
- package/docs/README.md +8 -35
- package/docs/docs.json +448 -205
- package/docs/functions/createFindDirectories.md +2 -2
- package/docs/functions/hello.md +2 -2
- package/docs/functions/parseUserAgent.md +42 -0
- package/docs/functions/pojo.md +2 -2
- package/docs/interfaces/FileSystemDependencies.md +9 -9
- package/docs/interfaces/FindDirectoriesOptions.md +8 -8
- package/docs/interfaces/UserAgentInfo.md +61 -0
- package/eslint.config.js +7 -2
- package/gen-docs/001_commands.txt +44 -0
- package/gen-docs/001_coverage.txt +43 -0
- package/gen-docs/001_env.txt +33 -0
- package/gen-docs/001_lint.txt +40 -0
- package/gen-docs/001_state.txt +58 -0
- package/gen-docs/002_api.txt +34 -0
- package/gen-docs/002_deps.txt +46 -0
- package/gen-docs/002_errors.txt +34 -0
- package/gen-docs/002_naming.txt +36 -0
- package/gen-docs/002_notes.txt +20 -0
- package/gen-docs/002_purity.txt +36 -0
- package/gen-docs/002_scope.txt +28 -0
- package/gen-docs/002_srp.txt +34 -0
- package/gen-sec/001_commands.txt +65 -0
- package/gen-sec/001_env.txt +28 -0
- package/gen-sec/001_findings.txt +63 -0
- package/gen-sec/001_inventory.txt +41 -0
- package/gen-sec/001_owasp.txt +78 -0
- package/gen-sec/001_scope.txt +44 -0
- package/package.json +3 -2
- package/{README.md → readme.txt} +2 -1
- package/src/find.d.ts +4 -4
- package/src/find.js +12 -6
- package/src/find.ts +10 -10
- package/src/index.d.ts +4 -2
- package/src/index.js +2 -1
- package/src/index.ts +5 -1
- package/src/pojo.js +1 -1
- package/src/pojo.test.js +1 -3
- package/src/pojo.test.ts +2 -1
- package/src/pojo.ts +1 -1
- package/src/user-agent.d.ts +48 -0
- package/src/user-agent.js +189 -0
- package/src/user-agent.test.d.ts +2 -0
- package/src/user-agent.test.js +54 -0
- package/src/user-agent.test.ts +60 -0
- package/src/user-agent.ts +199 -0
- package/DEV_CHECKLIST.md +0 -15
- package/docs/_media/LICENSE +0 -21
- package/docs/globals.md +0 -16
package/docs/docs.json
CHANGED
|
@@ -7,14 +7,14 @@
|
|
|
7
7
|
"flags": {},
|
|
8
8
|
"children": [
|
|
9
9
|
{
|
|
10
|
-
"id":
|
|
10
|
+
"id": 30,
|
|
11
11
|
"name": "FileSystemDependencies",
|
|
12
12
|
"variant": "declaration",
|
|
13
13
|
"kind": 256,
|
|
14
14
|
"flags": {},
|
|
15
15
|
"children": [
|
|
16
16
|
{
|
|
17
|
-
"id":
|
|
17
|
+
"id": 31,
|
|
18
18
|
"name": "readdir",
|
|
19
19
|
"variant": "declaration",
|
|
20
20
|
"kind": 1024,
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
"fileName": "find.ts",
|
|
25
25
|
"line": 4,
|
|
26
26
|
"character": 4,
|
|
27
|
-
"url": "https://github.com/wtasg/node-lib/blob/
|
|
27
|
+
"url": "https://github.com/wtasg/node-lib/blob/ac07f7b7be8233cfd945908394ac10daf671e6a9/src/find.ts#L4"
|
|
28
28
|
}
|
|
29
29
|
],
|
|
30
30
|
"type": {
|
|
31
31
|
"type": "reflection",
|
|
32
32
|
"declaration": {
|
|
33
|
-
"id":
|
|
33
|
+
"id": 32,
|
|
34
34
|
"name": "__type",
|
|
35
35
|
"variant": "declaration",
|
|
36
36
|
"kind": 65536,
|
|
@@ -40,12 +40,12 @@
|
|
|
40
40
|
"fileName": "find.ts",
|
|
41
41
|
"line": 4,
|
|
42
42
|
"character": 13,
|
|
43
|
-
"url": "https://github.com/wtasg/node-lib/blob/
|
|
43
|
+
"url": "https://github.com/wtasg/node-lib/blob/ac07f7b7be8233cfd945908394ac10daf671e6a9/src/find.ts#L4"
|
|
44
44
|
}
|
|
45
45
|
],
|
|
46
46
|
"signatures": [
|
|
47
47
|
{
|
|
48
|
-
"id":
|
|
48
|
+
"id": 33,
|
|
49
49
|
"name": "__type",
|
|
50
50
|
"variant": "signature",
|
|
51
51
|
"kind": 4096,
|
|
@@ -55,13 +55,13 @@
|
|
|
55
55
|
"fileName": "find.ts",
|
|
56
56
|
"line": 4,
|
|
57
57
|
"character": 13,
|
|
58
|
-
"url": "https://github.com/wtasg/node-lib/blob/
|
|
58
|
+
"url": "https://github.com/wtasg/node-lib/blob/ac07f7b7be8233cfd945908394ac10daf671e6a9/src/find.ts#L4"
|
|
59
59
|
}
|
|
60
60
|
],
|
|
61
61
|
"parameters": [
|
|
62
62
|
{
|
|
63
|
-
"id":
|
|
64
|
-
"name": "
|
|
63
|
+
"id": 34,
|
|
64
|
+
"name": "_path",
|
|
65
65
|
"variant": "param",
|
|
66
66
|
"kind": 32768,
|
|
67
67
|
"flags": {},
|
|
@@ -71,22 +71,22 @@
|
|
|
71
71
|
}
|
|
72
72
|
},
|
|
73
73
|
{
|
|
74
|
-
"id":
|
|
75
|
-
"name": "
|
|
74
|
+
"id": 35,
|
|
75
|
+
"name": "_opts",
|
|
76
76
|
"variant": "param",
|
|
77
77
|
"kind": 32768,
|
|
78
78
|
"flags": {},
|
|
79
79
|
"type": {
|
|
80
80
|
"type": "reflection",
|
|
81
81
|
"declaration": {
|
|
82
|
-
"id":
|
|
82
|
+
"id": 36,
|
|
83
83
|
"name": "__type",
|
|
84
84
|
"variant": "declaration",
|
|
85
85
|
"kind": 65536,
|
|
86
86
|
"flags": {},
|
|
87
87
|
"children": [
|
|
88
88
|
{
|
|
89
|
-
"id":
|
|
89
|
+
"id": 37,
|
|
90
90
|
"name": "withFileTypes",
|
|
91
91
|
"variant": "declaration",
|
|
92
92
|
"kind": 1024,
|
|
@@ -95,8 +95,8 @@
|
|
|
95
95
|
{
|
|
96
96
|
"fileName": "find.ts",
|
|
97
97
|
"line": 4,
|
|
98
|
-
"character":
|
|
99
|
-
"url": "https://github.com/wtasg/node-lib/blob/
|
|
98
|
+
"character": 38,
|
|
99
|
+
"url": "https://github.com/wtasg/node-lib/blob/ac07f7b7be8233cfd945908394ac10daf671e6a9/src/find.ts#L4"
|
|
100
100
|
}
|
|
101
101
|
],
|
|
102
102
|
"type": {
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
{
|
|
110
110
|
"title": "Properties",
|
|
111
111
|
"children": [
|
|
112
|
-
|
|
112
|
+
37
|
|
113
113
|
]
|
|
114
114
|
}
|
|
115
115
|
],
|
|
@@ -117,8 +117,8 @@
|
|
|
117
117
|
{
|
|
118
118
|
"fileName": "find.ts",
|
|
119
119
|
"line": 4,
|
|
120
|
-
"character":
|
|
121
|
-
"url": "https://github.com/wtasg/node-lib/blob/
|
|
120
|
+
"character": 36,
|
|
121
|
+
"url": "https://github.com/wtasg/node-lib/blob/ac07f7b7be8233cfd945908394ac10daf671e6a9/src/find.ts#L4"
|
|
122
122
|
}
|
|
123
123
|
]
|
|
124
124
|
}
|
|
@@ -138,14 +138,14 @@
|
|
|
138
138
|
"elementType": {
|
|
139
139
|
"type": "reflection",
|
|
140
140
|
"declaration": {
|
|
141
|
-
"id":
|
|
141
|
+
"id": 38,
|
|
142
142
|
"name": "__type",
|
|
143
143
|
"variant": "declaration",
|
|
144
144
|
"kind": 65536,
|
|
145
145
|
"flags": {},
|
|
146
146
|
"children": [
|
|
147
147
|
{
|
|
148
|
-
"id":
|
|
148
|
+
"id": 39,
|
|
149
149
|
"name": "name",
|
|
150
150
|
"variant": "declaration",
|
|
151
151
|
"kind": 1024,
|
|
@@ -154,8 +154,8 @@
|
|
|
154
154
|
{
|
|
155
155
|
"fileName": "find.ts",
|
|
156
156
|
"line": 4,
|
|
157
|
-
"character":
|
|
158
|
-
"url": "https://github.com/wtasg/node-lib/blob/
|
|
157
|
+
"character": 74,
|
|
158
|
+
"url": "https://github.com/wtasg/node-lib/blob/ac07f7b7be8233cfd945908394ac10daf671e6a9/src/find.ts#L4"
|
|
159
159
|
}
|
|
160
160
|
],
|
|
161
161
|
"type": {
|
|
@@ -164,7 +164,7 @@
|
|
|
164
164
|
}
|
|
165
165
|
},
|
|
166
166
|
{
|
|
167
|
-
"id":
|
|
167
|
+
"id": 40,
|
|
168
168
|
"name": "isDirectory",
|
|
169
169
|
"variant": "declaration",
|
|
170
170
|
"kind": 2048,
|
|
@@ -173,13 +173,13 @@
|
|
|
173
173
|
{
|
|
174
174
|
"fileName": "find.ts",
|
|
175
175
|
"line": 4,
|
|
176
|
-
"character":
|
|
177
|
-
"url": "https://github.com/wtasg/node-lib/blob/
|
|
176
|
+
"character": 88,
|
|
177
|
+
"url": "https://github.com/wtasg/node-lib/blob/ac07f7b7be8233cfd945908394ac10daf671e6a9/src/find.ts#L4"
|
|
178
178
|
}
|
|
179
179
|
],
|
|
180
180
|
"signatures": [
|
|
181
181
|
{
|
|
182
|
-
"id":
|
|
182
|
+
"id": 41,
|
|
183
183
|
"name": "isDirectory",
|
|
184
184
|
"variant": "signature",
|
|
185
185
|
"kind": 4096,
|
|
@@ -188,8 +188,8 @@
|
|
|
188
188
|
{
|
|
189
189
|
"fileName": "find.ts",
|
|
190
190
|
"line": 4,
|
|
191
|
-
"character":
|
|
192
|
-
"url": "https://github.com/wtasg/node-lib/blob/
|
|
191
|
+
"character": 88,
|
|
192
|
+
"url": "https://github.com/wtasg/node-lib/blob/ac07f7b7be8233cfd945908394ac10daf671e6a9/src/find.ts#L4"
|
|
193
193
|
}
|
|
194
194
|
],
|
|
195
195
|
"type": {
|
|
@@ -204,13 +204,13 @@
|
|
|
204
204
|
{
|
|
205
205
|
"title": "Properties",
|
|
206
206
|
"children": [
|
|
207
|
-
|
|
207
|
+
39
|
|
208
208
|
]
|
|
209
209
|
},
|
|
210
210
|
{
|
|
211
211
|
"title": "Methods",
|
|
212
212
|
"children": [
|
|
213
|
-
|
|
213
|
+
40
|
|
214
214
|
]
|
|
215
215
|
}
|
|
216
216
|
],
|
|
@@ -218,8 +218,8 @@
|
|
|
218
218
|
{
|
|
219
219
|
"fileName": "find.ts",
|
|
220
220
|
"line": 4,
|
|
221
|
-
"character":
|
|
222
|
-
"url": "https://github.com/wtasg/node-lib/blob/
|
|
221
|
+
"character": 72,
|
|
222
|
+
"url": "https://github.com/wtasg/node-lib/blob/ac07f7b7be8233cfd945908394ac10daf671e6a9/src/find.ts#L4"
|
|
223
223
|
}
|
|
224
224
|
]
|
|
225
225
|
}
|
|
@@ -235,7 +235,7 @@
|
|
|
235
235
|
}
|
|
236
236
|
},
|
|
237
237
|
{
|
|
238
|
-
"id":
|
|
238
|
+
"id": 42,
|
|
239
239
|
"name": "stat",
|
|
240
240
|
"variant": "declaration",
|
|
241
241
|
"kind": 1024,
|
|
@@ -245,13 +245,13 @@
|
|
|
245
245
|
"fileName": "find.ts",
|
|
246
246
|
"line": 5,
|
|
247
247
|
"character": 4,
|
|
248
|
-
"url": "https://github.com/wtasg/node-lib/blob/
|
|
248
|
+
"url": "https://github.com/wtasg/node-lib/blob/ac07f7b7be8233cfd945908394ac10daf671e6a9/src/find.ts#L5"
|
|
249
249
|
}
|
|
250
250
|
],
|
|
251
251
|
"type": {
|
|
252
252
|
"type": "reflection",
|
|
253
253
|
"declaration": {
|
|
254
|
-
"id":
|
|
254
|
+
"id": 43,
|
|
255
255
|
"name": "__type",
|
|
256
256
|
"variant": "declaration",
|
|
257
257
|
"kind": 65536,
|
|
@@ -261,12 +261,12 @@
|
|
|
261
261
|
"fileName": "find.ts",
|
|
262
262
|
"line": 5,
|
|
263
263
|
"character": 10,
|
|
264
|
-
"url": "https://github.com/wtasg/node-lib/blob/
|
|
264
|
+
"url": "https://github.com/wtasg/node-lib/blob/ac07f7b7be8233cfd945908394ac10daf671e6a9/src/find.ts#L5"
|
|
265
265
|
}
|
|
266
266
|
],
|
|
267
267
|
"signatures": [
|
|
268
268
|
{
|
|
269
|
-
"id":
|
|
269
|
+
"id": 44,
|
|
270
270
|
"name": "__type",
|
|
271
271
|
"variant": "signature",
|
|
272
272
|
"kind": 4096,
|
|
@@ -276,13 +276,13 @@
|
|
|
276
276
|
"fileName": "find.ts",
|
|
277
277
|
"line": 5,
|
|
278
278
|
"character": 10,
|
|
279
|
-
"url": "https://github.com/wtasg/node-lib/blob/
|
|
279
|
+
"url": "https://github.com/wtasg/node-lib/blob/ac07f7b7be8233cfd945908394ac10daf671e6a9/src/find.ts#L5"
|
|
280
280
|
}
|
|
281
281
|
],
|
|
282
282
|
"parameters": [
|
|
283
283
|
{
|
|
284
|
-
"id":
|
|
285
|
-
"name": "
|
|
284
|
+
"id": 45,
|
|
285
|
+
"name": "_path",
|
|
286
286
|
"variant": "param",
|
|
287
287
|
"kind": 32768,
|
|
288
288
|
"flags": {},
|
|
@@ -303,14 +303,14 @@
|
|
|
303
303
|
{
|
|
304
304
|
"type": "reflection",
|
|
305
305
|
"declaration": {
|
|
306
|
-
"id":
|
|
306
|
+
"id": 46,
|
|
307
307
|
"name": "__type",
|
|
308
308
|
"variant": "declaration",
|
|
309
309
|
"kind": 65536,
|
|
310
310
|
"flags": {},
|
|
311
311
|
"children": [
|
|
312
312
|
{
|
|
313
|
-
"id":
|
|
313
|
+
"id": 47,
|
|
314
314
|
"name": "isDirectory",
|
|
315
315
|
"variant": "declaration",
|
|
316
316
|
"kind": 2048,
|
|
@@ -319,13 +319,13 @@
|
|
|
319
319
|
{
|
|
320
320
|
"fileName": "find.ts",
|
|
321
321
|
"line": 5,
|
|
322
|
-
"character":
|
|
323
|
-
"url": "https://github.com/wtasg/node-lib/blob/
|
|
322
|
+
"character": 39,
|
|
323
|
+
"url": "https://github.com/wtasg/node-lib/blob/ac07f7b7be8233cfd945908394ac10daf671e6a9/src/find.ts#L5"
|
|
324
324
|
}
|
|
325
325
|
],
|
|
326
326
|
"signatures": [
|
|
327
327
|
{
|
|
328
|
-
"id":
|
|
328
|
+
"id": 48,
|
|
329
329
|
"name": "isDirectory",
|
|
330
330
|
"variant": "signature",
|
|
331
331
|
"kind": 4096,
|
|
@@ -334,8 +334,8 @@
|
|
|
334
334
|
{
|
|
335
335
|
"fileName": "find.ts",
|
|
336
336
|
"line": 5,
|
|
337
|
-
"character":
|
|
338
|
-
"url": "https://github.com/wtasg/node-lib/blob/
|
|
337
|
+
"character": 39,
|
|
338
|
+
"url": "https://github.com/wtasg/node-lib/blob/ac07f7b7be8233cfd945908394ac10daf671e6a9/src/find.ts#L5"
|
|
339
339
|
}
|
|
340
340
|
],
|
|
341
341
|
"type": {
|
|
@@ -350,7 +350,7 @@
|
|
|
350
350
|
{
|
|
351
351
|
"title": "Methods",
|
|
352
352
|
"children": [
|
|
353
|
-
|
|
353
|
+
47
|
|
354
354
|
]
|
|
355
355
|
}
|
|
356
356
|
],
|
|
@@ -358,8 +358,8 @@
|
|
|
358
358
|
{
|
|
359
359
|
"fileName": "find.ts",
|
|
360
360
|
"line": 5,
|
|
361
|
-
"character":
|
|
362
|
-
"url": "https://github.com/wtasg/node-lib/blob/
|
|
361
|
+
"character": 37,
|
|
362
|
+
"url": "https://github.com/wtasg/node-lib/blob/ac07f7b7be8233cfd945908394ac10daf671e6a9/src/find.ts#L5"
|
|
363
363
|
}
|
|
364
364
|
]
|
|
365
365
|
}
|
|
@@ -378,8 +378,8 @@
|
|
|
378
378
|
{
|
|
379
379
|
"title": "Properties",
|
|
380
380
|
"children": [
|
|
381
|
-
|
|
382
|
-
|
|
381
|
+
31,
|
|
382
|
+
42
|
|
383
383
|
]
|
|
384
384
|
}
|
|
385
385
|
],
|
|
@@ -388,19 +388,19 @@
|
|
|
388
388
|
"fileName": "find.ts",
|
|
389
389
|
"line": 3,
|
|
390
390
|
"character": 10,
|
|
391
|
-
"url": "https://github.com/wtasg/node-lib/blob/
|
|
391
|
+
"url": "https://github.com/wtasg/node-lib/blob/ac07f7b7be8233cfd945908394ac10daf671e6a9/src/find.ts#L3"
|
|
392
392
|
}
|
|
393
393
|
]
|
|
394
394
|
},
|
|
395
395
|
{
|
|
396
|
-
"id":
|
|
396
|
+
"id": 17,
|
|
397
397
|
"name": "FindDirectoriesOptions",
|
|
398
398
|
"variant": "declaration",
|
|
399
399
|
"kind": 256,
|
|
400
400
|
"flags": {},
|
|
401
401
|
"children": [
|
|
402
402
|
{
|
|
403
|
-
"id":
|
|
403
|
+
"id": 20,
|
|
404
404
|
"name": "allowlist",
|
|
405
405
|
"variant": "declaration",
|
|
406
406
|
"kind": 1024,
|
|
@@ -412,7 +412,7 @@
|
|
|
412
412
|
"fileName": "find.ts",
|
|
413
413
|
"line": 11,
|
|
414
414
|
"character": 4,
|
|
415
|
-
"url": "https://github.com/wtasg/node-lib/blob/
|
|
415
|
+
"url": "https://github.com/wtasg/node-lib/blob/ac07f7b7be8233cfd945908394ac10daf671e6a9/src/find.ts#L11"
|
|
416
416
|
}
|
|
417
417
|
],
|
|
418
418
|
"type": {
|
|
@@ -428,7 +428,7 @@
|
|
|
428
428
|
{
|
|
429
429
|
"type": "reflection",
|
|
430
430
|
"declaration": {
|
|
431
|
-
"id":
|
|
431
|
+
"id": 21,
|
|
432
432
|
"name": "__type",
|
|
433
433
|
"variant": "declaration",
|
|
434
434
|
"kind": 65536,
|
|
@@ -438,12 +438,12 @@
|
|
|
438
438
|
"fileName": "find.ts",
|
|
439
439
|
"line": 11,
|
|
440
440
|
"character": 28,
|
|
441
|
-
"url": "https://github.com/wtasg/node-lib/blob/
|
|
441
|
+
"url": "https://github.com/wtasg/node-lib/blob/ac07f7b7be8233cfd945908394ac10daf671e6a9/src/find.ts#L11"
|
|
442
442
|
}
|
|
443
443
|
],
|
|
444
444
|
"signatures": [
|
|
445
445
|
{
|
|
446
|
-
"id":
|
|
446
|
+
"id": 22,
|
|
447
447
|
"name": "__type",
|
|
448
448
|
"variant": "signature",
|
|
449
449
|
"kind": 4096,
|
|
@@ -453,13 +453,13 @@
|
|
|
453
453
|
"fileName": "find.ts",
|
|
454
454
|
"line": 11,
|
|
455
455
|
"character": 28,
|
|
456
|
-
"url": "https://github.com/wtasg/node-lib/blob/
|
|
456
|
+
"url": "https://github.com/wtasg/node-lib/blob/ac07f7b7be8233cfd945908394ac10daf671e6a9/src/find.ts#L11"
|
|
457
457
|
}
|
|
458
458
|
],
|
|
459
459
|
"parameters": [
|
|
460
460
|
{
|
|
461
|
-
"id":
|
|
462
|
-
"name": "
|
|
461
|
+
"id": 23,
|
|
462
|
+
"name": "_absPath",
|
|
463
463
|
"variant": "param",
|
|
464
464
|
"kind": 32768,
|
|
465
465
|
"flags": {},
|
|
@@ -469,8 +469,8 @@
|
|
|
469
469
|
}
|
|
470
470
|
},
|
|
471
471
|
{
|
|
472
|
-
"id":
|
|
473
|
-
"name": "
|
|
472
|
+
"id": 24,
|
|
473
|
+
"name": "_name",
|
|
474
474
|
"variant": "param",
|
|
475
475
|
"kind": 32768,
|
|
476
476
|
"flags": {},
|
|
@@ -492,7 +492,7 @@
|
|
|
492
492
|
}
|
|
493
493
|
},
|
|
494
494
|
{
|
|
495
|
-
"id":
|
|
495
|
+
"id": 25,
|
|
496
496
|
"name": "blocklist",
|
|
497
497
|
"variant": "declaration",
|
|
498
498
|
"kind": 1024,
|
|
@@ -504,7 +504,7 @@
|
|
|
504
504
|
"fileName": "find.ts",
|
|
505
505
|
"line": 12,
|
|
506
506
|
"character": 4,
|
|
507
|
-
"url": "https://github.com/wtasg/node-lib/blob/
|
|
507
|
+
"url": "https://github.com/wtasg/node-lib/blob/ac07f7b7be8233cfd945908394ac10daf671e6a9/src/find.ts#L12"
|
|
508
508
|
}
|
|
509
509
|
],
|
|
510
510
|
"type": {
|
|
@@ -520,7 +520,7 @@
|
|
|
520
520
|
{
|
|
521
521
|
"type": "reflection",
|
|
522
522
|
"declaration": {
|
|
523
|
-
"id":
|
|
523
|
+
"id": 26,
|
|
524
524
|
"name": "__type",
|
|
525
525
|
"variant": "declaration",
|
|
526
526
|
"kind": 65536,
|
|
@@ -530,12 +530,12 @@
|
|
|
530
530
|
"fileName": "find.ts",
|
|
531
531
|
"line": 12,
|
|
532
532
|
"character": 28,
|
|
533
|
-
"url": "https://github.com/wtasg/node-lib/blob/
|
|
533
|
+
"url": "https://github.com/wtasg/node-lib/blob/ac07f7b7be8233cfd945908394ac10daf671e6a9/src/find.ts#L12"
|
|
534
534
|
}
|
|
535
535
|
],
|
|
536
536
|
"signatures": [
|
|
537
537
|
{
|
|
538
|
-
"id":
|
|
538
|
+
"id": 27,
|
|
539
539
|
"name": "__type",
|
|
540
540
|
"variant": "signature",
|
|
541
541
|
"kind": 4096,
|
|
@@ -545,13 +545,13 @@
|
|
|
545
545
|
"fileName": "find.ts",
|
|
546
546
|
"line": 12,
|
|
547
547
|
"character": 28,
|
|
548
|
-
"url": "https://github.com/wtasg/node-lib/blob/
|
|
548
|
+
"url": "https://github.com/wtasg/node-lib/blob/ac07f7b7be8233cfd945908394ac10daf671e6a9/src/find.ts#L12"
|
|
549
549
|
}
|
|
550
550
|
],
|
|
551
551
|
"parameters": [
|
|
552
552
|
{
|
|
553
|
-
"id":
|
|
554
|
-
"name": "
|
|
553
|
+
"id": 28,
|
|
554
|
+
"name": "_absPath",
|
|
555
555
|
"variant": "param",
|
|
556
556
|
"kind": 32768,
|
|
557
557
|
"flags": {},
|
|
@@ -561,8 +561,8 @@
|
|
|
561
561
|
}
|
|
562
562
|
},
|
|
563
563
|
{
|
|
564
|
-
"id":
|
|
565
|
-
"name": "
|
|
564
|
+
"id": 29,
|
|
565
|
+
"name": "_name",
|
|
566
566
|
"variant": "param",
|
|
567
567
|
"kind": 32768,
|
|
568
568
|
"flags": {},
|
|
@@ -584,7 +584,7 @@
|
|
|
584
584
|
}
|
|
585
585
|
},
|
|
586
586
|
{
|
|
587
|
-
"id":
|
|
587
|
+
"id": 19,
|
|
588
588
|
"name": "followSymlinks",
|
|
589
589
|
"variant": "declaration",
|
|
590
590
|
"kind": 1024,
|
|
@@ -596,7 +596,7 @@
|
|
|
596
596
|
"fileName": "find.ts",
|
|
597
597
|
"line": 10,
|
|
598
598
|
"character": 4,
|
|
599
|
-
"url": "https://github.com/wtasg/node-lib/blob/
|
|
599
|
+
"url": "https://github.com/wtasg/node-lib/blob/ac07f7b7be8233cfd945908394ac10daf671e6a9/src/find.ts#L10"
|
|
600
600
|
}
|
|
601
601
|
],
|
|
602
602
|
"type": {
|
|
@@ -605,7 +605,7 @@
|
|
|
605
605
|
}
|
|
606
606
|
},
|
|
607
607
|
{
|
|
608
|
-
"id":
|
|
608
|
+
"id": 18,
|
|
609
609
|
"name": "maxDepth",
|
|
610
610
|
"variant": "declaration",
|
|
611
611
|
"kind": 1024,
|
|
@@ -617,7 +617,7 @@
|
|
|
617
617
|
"fileName": "find.ts",
|
|
618
618
|
"line": 9,
|
|
619
619
|
"character": 4,
|
|
620
|
-
"url": "https://github.com/wtasg/node-lib/blob/
|
|
620
|
+
"url": "https://github.com/wtasg/node-lib/blob/ac07f7b7be8233cfd945908394ac10daf671e6a9/src/find.ts#L9"
|
|
621
621
|
}
|
|
622
622
|
],
|
|
623
623
|
"type": {
|
|
@@ -630,10 +630,10 @@
|
|
|
630
630
|
{
|
|
631
631
|
"title": "Properties",
|
|
632
632
|
"children": [
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
633
|
+
20,
|
|
634
|
+
25,
|
|
635
|
+
19,
|
|
636
|
+
18
|
|
637
637
|
]
|
|
638
638
|
}
|
|
639
639
|
],
|
|
@@ -642,7 +642,179 @@
|
|
|
642
642
|
"fileName": "find.ts",
|
|
643
643
|
"line": 8,
|
|
644
644
|
"character": 10,
|
|
645
|
-
"url": "https://github.com/wtasg/node-lib/blob/
|
|
645
|
+
"url": "https://github.com/wtasg/node-lib/blob/ac07f7b7be8233cfd945908394ac10daf671e6a9/src/find.ts#L8"
|
|
646
|
+
}
|
|
647
|
+
]
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
"id": 49,
|
|
651
|
+
"name": "UserAgentInfo",
|
|
652
|
+
"variant": "declaration",
|
|
653
|
+
"kind": 256,
|
|
654
|
+
"flags": {},
|
|
655
|
+
"comment": {
|
|
656
|
+
"summary": [
|
|
657
|
+
{
|
|
658
|
+
"kind": "text",
|
|
659
|
+
"text": "Information extracted from a user-agent string."
|
|
660
|
+
}
|
|
661
|
+
]
|
|
662
|
+
},
|
|
663
|
+
"children": [
|
|
664
|
+
{
|
|
665
|
+
"id": 50,
|
|
666
|
+
"name": "browser",
|
|
667
|
+
"variant": "declaration",
|
|
668
|
+
"kind": 1024,
|
|
669
|
+
"flags": {},
|
|
670
|
+
"comment": {
|
|
671
|
+
"summary": [
|
|
672
|
+
{
|
|
673
|
+
"kind": "text",
|
|
674
|
+
"text": "Browser name (e.g., Chrome, Firefox, Safari, Edge, Opera, Other)."
|
|
675
|
+
}
|
|
676
|
+
]
|
|
677
|
+
},
|
|
678
|
+
"sources": [
|
|
679
|
+
{
|
|
680
|
+
"fileName": "user-agent.ts",
|
|
681
|
+
"line": 8,
|
|
682
|
+
"character": 4,
|
|
683
|
+
"url": "https://github.com/wtasg/node-lib/blob/ac07f7b7be8233cfd945908394ac10daf671e6a9/src/user-agent.ts#L8"
|
|
684
|
+
}
|
|
685
|
+
],
|
|
686
|
+
"type": {
|
|
687
|
+
"type": "intrinsic",
|
|
688
|
+
"name": "string"
|
|
689
|
+
}
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
"id": 53,
|
|
693
|
+
"name": "device",
|
|
694
|
+
"variant": "declaration",
|
|
695
|
+
"kind": 1024,
|
|
696
|
+
"flags": {},
|
|
697
|
+
"comment": {
|
|
698
|
+
"summary": [
|
|
699
|
+
{
|
|
700
|
+
"kind": "text",
|
|
701
|
+
"text": "Device type (e.g., Mobile, Tablet, Desktop, Other)."
|
|
702
|
+
}
|
|
703
|
+
]
|
|
704
|
+
},
|
|
705
|
+
"sources": [
|
|
706
|
+
{
|
|
707
|
+
"fileName": "user-agent.ts",
|
|
708
|
+
"line": 20,
|
|
709
|
+
"character": 4,
|
|
710
|
+
"url": "https://github.com/wtasg/node-lib/blob/ac07f7b7be8233cfd945908394ac10daf671e6a9/src/user-agent.ts#L20"
|
|
711
|
+
}
|
|
712
|
+
],
|
|
713
|
+
"type": {
|
|
714
|
+
"type": "intrinsic",
|
|
715
|
+
"name": "string"
|
|
716
|
+
}
|
|
717
|
+
},
|
|
718
|
+
{
|
|
719
|
+
"id": 54,
|
|
720
|
+
"name": "engine",
|
|
721
|
+
"variant": "declaration",
|
|
722
|
+
"kind": 1024,
|
|
723
|
+
"flags": {},
|
|
724
|
+
"comment": {
|
|
725
|
+
"summary": [
|
|
726
|
+
{
|
|
727
|
+
"kind": "text",
|
|
728
|
+
"text": "Rendering engine (e.g., Blink, WebKit, Gecko, Presto, Other)."
|
|
729
|
+
}
|
|
730
|
+
]
|
|
731
|
+
},
|
|
732
|
+
"sources": [
|
|
733
|
+
{
|
|
734
|
+
"fileName": "user-agent.ts",
|
|
735
|
+
"line": 24,
|
|
736
|
+
"character": 4,
|
|
737
|
+
"url": "https://github.com/wtasg/node-lib/blob/ac07f7b7be8233cfd945908394ac10daf671e6a9/src/user-agent.ts#L24"
|
|
738
|
+
}
|
|
739
|
+
],
|
|
740
|
+
"type": {
|
|
741
|
+
"type": "intrinsic",
|
|
742
|
+
"name": "string"
|
|
743
|
+
}
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
"id": 52,
|
|
747
|
+
"name": "os",
|
|
748
|
+
"variant": "declaration",
|
|
749
|
+
"kind": 1024,
|
|
750
|
+
"flags": {},
|
|
751
|
+
"comment": {
|
|
752
|
+
"summary": [
|
|
753
|
+
{
|
|
754
|
+
"kind": "text",
|
|
755
|
+
"text": "Operating system (e.g., Windows, macOS, Linux, iOS, Android, Other)."
|
|
756
|
+
}
|
|
757
|
+
]
|
|
758
|
+
},
|
|
759
|
+
"sources": [
|
|
760
|
+
{
|
|
761
|
+
"fileName": "user-agent.ts",
|
|
762
|
+
"line": 16,
|
|
763
|
+
"character": 4,
|
|
764
|
+
"url": "https://github.com/wtasg/node-lib/blob/ac07f7b7be8233cfd945908394ac10daf671e6a9/src/user-agent.ts#L16"
|
|
765
|
+
}
|
|
766
|
+
],
|
|
767
|
+
"type": {
|
|
768
|
+
"type": "intrinsic",
|
|
769
|
+
"name": "string"
|
|
770
|
+
}
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
"id": 51,
|
|
774
|
+
"name": "version",
|
|
775
|
+
"variant": "declaration",
|
|
776
|
+
"kind": 1024,
|
|
777
|
+
"flags": {},
|
|
778
|
+
"comment": {
|
|
779
|
+
"summary": [
|
|
780
|
+
{
|
|
781
|
+
"kind": "text",
|
|
782
|
+
"text": "Browser version (e.g., 120.0.0.0)."
|
|
783
|
+
}
|
|
784
|
+
]
|
|
785
|
+
},
|
|
786
|
+
"sources": [
|
|
787
|
+
{
|
|
788
|
+
"fileName": "user-agent.ts",
|
|
789
|
+
"line": 12,
|
|
790
|
+
"character": 4,
|
|
791
|
+
"url": "https://github.com/wtasg/node-lib/blob/ac07f7b7be8233cfd945908394ac10daf671e6a9/src/user-agent.ts#L12"
|
|
792
|
+
}
|
|
793
|
+
],
|
|
794
|
+
"type": {
|
|
795
|
+
"type": "intrinsic",
|
|
796
|
+
"name": "string"
|
|
797
|
+
}
|
|
798
|
+
}
|
|
799
|
+
],
|
|
800
|
+
"groups": [
|
|
801
|
+
{
|
|
802
|
+
"title": "Properties",
|
|
803
|
+
"children": [
|
|
804
|
+
50,
|
|
805
|
+
53,
|
|
806
|
+
54,
|
|
807
|
+
52,
|
|
808
|
+
51
|
|
809
|
+
]
|
|
810
|
+
}
|
|
811
|
+
],
|
|
812
|
+
"sources": [
|
|
813
|
+
{
|
|
814
|
+
"fileName": "user-agent.ts",
|
|
815
|
+
"line": 4,
|
|
816
|
+
"character": 17,
|
|
817
|
+
"url": "https://github.com/wtasg/node-lib/blob/ac07f7b7be8233cfd945908394ac10daf671e6a9/src/user-agent.ts#L4"
|
|
646
818
|
}
|
|
647
819
|
]
|
|
648
820
|
},
|
|
@@ -657,7 +829,7 @@
|
|
|
657
829
|
"fileName": "find.ts",
|
|
658
830
|
"line": 19,
|
|
659
831
|
"character": 9,
|
|
660
|
-
"url": "https://github.com/wtasg/node-lib/blob/
|
|
832
|
+
"url": "https://github.com/wtasg/node-lib/blob/ac07f7b7be8233cfd945908394ac10daf671e6a9/src/find.ts#L19"
|
|
661
833
|
}
|
|
662
834
|
],
|
|
663
835
|
"signatures": [
|
|
@@ -680,7 +852,7 @@
|
|
|
680
852
|
"fileName": "find.ts",
|
|
681
853
|
"line": 19,
|
|
682
854
|
"character": 9,
|
|
683
|
-
"url": "https://github.com/wtasg/node-lib/blob/
|
|
855
|
+
"url": "https://github.com/wtasg/node-lib/blob/ac07f7b7be8233cfd945908394ac10daf671e6a9/src/find.ts#L19"
|
|
684
856
|
}
|
|
685
857
|
],
|
|
686
858
|
"parameters": [
|
|
@@ -692,7 +864,7 @@
|
|
|
692
864
|
"flags": {},
|
|
693
865
|
"type": {
|
|
694
866
|
"type": "reference",
|
|
695
|
-
"target":
|
|
867
|
+
"target": 30,
|
|
696
868
|
"name": "FileSystemDependencies",
|
|
697
869
|
"package": "@wtasnorg/node-lib"
|
|
698
870
|
}
|
|
@@ -711,7 +883,7 @@
|
|
|
711
883
|
"fileName": "find.ts",
|
|
712
884
|
"line": 23,
|
|
713
885
|
"character": 26,
|
|
714
|
-
"url": "https://github.com/wtasg/node-lib/blob/
|
|
886
|
+
"url": "https://github.com/wtasg/node-lib/blob/ac07f7b7be8233cfd945908394ac10daf671e6a9/src/find.ts#L23"
|
|
715
887
|
}
|
|
716
888
|
],
|
|
717
889
|
"signatures": [
|
|
@@ -726,7 +898,7 @@
|
|
|
726
898
|
"fileName": "find.ts",
|
|
727
899
|
"line": 23,
|
|
728
900
|
"character": 26,
|
|
729
|
-
"url": "https://github.com/wtasg/node-lib/blob/
|
|
901
|
+
"url": "https://github.com/wtasg/node-lib/blob/ac07f7b7be8233cfd945908394ac10daf671e6a9/src/find.ts#L23"
|
|
730
902
|
}
|
|
731
903
|
],
|
|
732
904
|
"parameters": [
|
|
@@ -749,7 +921,7 @@
|
|
|
749
921
|
"flags": {},
|
|
750
922
|
"type": {
|
|
751
923
|
"type": "reference",
|
|
752
|
-
"target":
|
|
924
|
+
"target": 17,
|
|
753
925
|
"name": "FindDirectoriesOptions",
|
|
754
926
|
"package": "@wtasnorg/node-lib"
|
|
755
927
|
},
|
|
@@ -793,7 +965,7 @@
|
|
|
793
965
|
"fileName": "hello.ts",
|
|
794
966
|
"line": 6,
|
|
795
967
|
"character": 15,
|
|
796
|
-
"url": "https://github.com/wtasg/node-lib/blob/
|
|
968
|
+
"url": "https://github.com/wtasg/node-lib/blob/ac07f7b7be8233cfd945908394ac10daf671e6a9/src/hello.ts#L6"
|
|
797
969
|
}
|
|
798
970
|
],
|
|
799
971
|
"signatures": [
|
|
@@ -827,7 +999,7 @@
|
|
|
827
999
|
"fileName": "hello.ts",
|
|
828
1000
|
"line": 6,
|
|
829
1001
|
"character": 15,
|
|
830
|
-
"url": "https://github.com/wtasg/node-lib/blob/
|
|
1002
|
+
"url": "https://github.com/wtasg/node-lib/blob/ac07f7b7be8233cfd945908394ac10daf671e6a9/src/hello.ts#L6"
|
|
831
1003
|
}
|
|
832
1004
|
],
|
|
833
1005
|
"type": {
|
|
@@ -849,6 +1021,106 @@
|
|
|
849
1021
|
}
|
|
850
1022
|
]
|
|
851
1023
|
},
|
|
1024
|
+
{
|
|
1025
|
+
"id": 14,
|
|
1026
|
+
"name": "parseUserAgent",
|
|
1027
|
+
"variant": "declaration",
|
|
1028
|
+
"kind": 64,
|
|
1029
|
+
"flags": {},
|
|
1030
|
+
"sources": [
|
|
1031
|
+
{
|
|
1032
|
+
"fileName": "user-agent.ts",
|
|
1033
|
+
"line": 48,
|
|
1034
|
+
"character": 16,
|
|
1035
|
+
"url": "https://github.com/wtasg/node-lib/blob/ac07f7b7be8233cfd945908394ac10daf671e6a9/src/user-agent.ts#L48"
|
|
1036
|
+
}
|
|
1037
|
+
],
|
|
1038
|
+
"signatures": [
|
|
1039
|
+
{
|
|
1040
|
+
"id": 15,
|
|
1041
|
+
"name": "parseUserAgent",
|
|
1042
|
+
"variant": "signature",
|
|
1043
|
+
"kind": 4096,
|
|
1044
|
+
"flags": {},
|
|
1045
|
+
"comment": {
|
|
1046
|
+
"summary": [
|
|
1047
|
+
{
|
|
1048
|
+
"kind": "text",
|
|
1049
|
+
"text": "Parses a user-agent string into a UserAgentInfo object."
|
|
1050
|
+
}
|
|
1051
|
+
],
|
|
1052
|
+
"blockTags": [
|
|
1053
|
+
{
|
|
1054
|
+
"tag": "@returns",
|
|
1055
|
+
"content": [
|
|
1056
|
+
{
|
|
1057
|
+
"kind": "text",
|
|
1058
|
+
"text": "An object containing the extracted information."
|
|
1059
|
+
}
|
|
1060
|
+
]
|
|
1061
|
+
},
|
|
1062
|
+
{
|
|
1063
|
+
"tag": "@example",
|
|
1064
|
+
"content": [
|
|
1065
|
+
{
|
|
1066
|
+
"kind": "code",
|
|
1067
|
+
"text": "```typescript\n// Success Example (Chrome on Windows)\nconst ua = \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36\";\nconst info = parseUserAgent(ua);\n// { browser: \"Chrome\", version: \"120.0.0.0\", os: \"Windows\", device: \"Desktop\", engine: \"Blink\" }\n```"
|
|
1068
|
+
}
|
|
1069
|
+
]
|
|
1070
|
+
},
|
|
1071
|
+
{
|
|
1072
|
+
"tag": "@example",
|
|
1073
|
+
"content": [
|
|
1074
|
+
{
|
|
1075
|
+
"kind": "text",
|
|
1076
|
+
"text": "\n\n"
|
|
1077
|
+
},
|
|
1078
|
+
{
|
|
1079
|
+
"kind": "code",
|
|
1080
|
+
"text": "```typescript\n// Error/Fallback Example (Empty string)\nconst info = parseUserAgent(\"\");\n// { browser: \"Other\", version: \"0\", os: \"Other\", device: \"Desktop\", engine: \"Other\" }\n```"
|
|
1081
|
+
}
|
|
1082
|
+
]
|
|
1083
|
+
}
|
|
1084
|
+
]
|
|
1085
|
+
},
|
|
1086
|
+
"sources": [
|
|
1087
|
+
{
|
|
1088
|
+
"fileName": "user-agent.ts",
|
|
1089
|
+
"line": 48,
|
|
1090
|
+
"character": 16,
|
|
1091
|
+
"url": "https://github.com/wtasg/node-lib/blob/ac07f7b7be8233cfd945908394ac10daf671e6a9/src/user-agent.ts#L48"
|
|
1092
|
+
}
|
|
1093
|
+
],
|
|
1094
|
+
"parameters": [
|
|
1095
|
+
{
|
|
1096
|
+
"id": 16,
|
|
1097
|
+
"name": "ua",
|
|
1098
|
+
"variant": "param",
|
|
1099
|
+
"kind": 32768,
|
|
1100
|
+
"flags": {},
|
|
1101
|
+
"comment": {
|
|
1102
|
+
"summary": [
|
|
1103
|
+
{
|
|
1104
|
+
"kind": "text",
|
|
1105
|
+
"text": "The user-agent string to parse."
|
|
1106
|
+
}
|
|
1107
|
+
]
|
|
1108
|
+
},
|
|
1109
|
+
"type": {
|
|
1110
|
+
"type": "intrinsic",
|
|
1111
|
+
"name": "string"
|
|
1112
|
+
}
|
|
1113
|
+
}
|
|
1114
|
+
],
|
|
1115
|
+
"type": {
|
|
1116
|
+
"type": "reference",
|
|
1117
|
+
"target": 49,
|
|
1118
|
+
"name": "UserAgentInfo",
|
|
1119
|
+
"package": "@wtasnorg/node-lib"
|
|
1120
|
+
}
|
|
1121
|
+
}
|
|
1122
|
+
]
|
|
1123
|
+
},
|
|
852
1124
|
{
|
|
853
1125
|
"id": 3,
|
|
854
1126
|
"name": "pojo",
|
|
@@ -860,7 +1132,7 @@
|
|
|
860
1132
|
"fileName": "pojo.ts",
|
|
861
1133
|
"line": 10,
|
|
862
1134
|
"character": 9,
|
|
863
|
-
"url": "https://github.com/wtasg/node-lib/blob/
|
|
1135
|
+
"url": "https://github.com/wtasg/node-lib/blob/ac07f7b7be8233cfd945908394ac10daf671e6a9/src/pojo.ts#L10"
|
|
864
1136
|
}
|
|
865
1137
|
],
|
|
866
1138
|
"signatures": [
|
|
@@ -894,7 +1166,7 @@
|
|
|
894
1166
|
"fileName": "pojo.ts",
|
|
895
1167
|
"line": 10,
|
|
896
1168
|
"character": 9,
|
|
897
|
-
"url": "https://github.com/wtasg/node-lib/blob/
|
|
1169
|
+
"url": "https://github.com/wtasg/node-lib/blob/ac07f7b7be8233cfd945908394ac10daf671e6a9/src/pojo.ts#L10"
|
|
898
1170
|
}
|
|
899
1171
|
],
|
|
900
1172
|
"typeParameters": [
|
|
@@ -962,8 +1234,9 @@
|
|
|
962
1234
|
{
|
|
963
1235
|
"title": "Interfaces",
|
|
964
1236
|
"children": [
|
|
965
|
-
|
|
966
|
-
|
|
1237
|
+
30,
|
|
1238
|
+
17,
|
|
1239
|
+
49
|
|
967
1240
|
]
|
|
968
1241
|
},
|
|
969
1242
|
{
|
|
@@ -971,82 +1244,12 @@
|
|
|
971
1244
|
"children": [
|
|
972
1245
|
7,
|
|
973
1246
|
1,
|
|
1247
|
+
14,
|
|
974
1248
|
3
|
|
975
1249
|
]
|
|
976
1250
|
}
|
|
977
1251
|
],
|
|
978
1252
|
"packageName": "@wtasnorg/node-lib",
|
|
979
|
-
"readme": [
|
|
980
|
-
{
|
|
981
|
-
"kind": "text",
|
|
982
|
-
"text": "# @wtasnorg/node-lib\n\nA library project for nodejs. #nodejs #typescript #library\n\n- [npm org](https://www.npmjs.com/org/wtasnorg)\n- [github repo](https://github.com/wtasg/node-lib)\n\n## Functions\n\n1. hello (for debugging)\n2. "
|
|
983
|
-
},
|
|
984
|
-
{
|
|
985
|
-
"kind": "code",
|
|
986
|
-
"text": "`pojo`"
|
|
987
|
-
},
|
|
988
|
-
{
|
|
989
|
-
"kind": "text",
|
|
990
|
-
"text": " for converting class objects to Plain Old Javascript Objects.\n3. "
|
|
991
|
-
},
|
|
992
|
-
{
|
|
993
|
-
"kind": "code",
|
|
994
|
-
"text": "`createFindDirectories`"
|
|
995
|
-
},
|
|
996
|
-
{
|
|
997
|
-
"kind": "text",
|
|
998
|
-
"text": " as a factory for finding directories; think "
|
|
999
|
-
},
|
|
1000
|
-
{
|
|
1001
|
-
"kind": "code",
|
|
1002
|
-
"text": "`find path -type d`"
|
|
1003
|
-
},
|
|
1004
|
-
{
|
|
1005
|
-
"kind": "text",
|
|
1006
|
-
"text": ".\n\n## Develop\n\n"
|
|
1007
|
-
},
|
|
1008
|
-
{
|
|
1009
|
-
"kind": "code",
|
|
1010
|
-
"text": "```bash\ngit clone git@github.com:wtasg/node-lib.git\nnpm run build\nnpm run test\n# make changes...\n```"
|
|
1011
|
-
},
|
|
1012
|
-
{
|
|
1013
|
-
"kind": "text",
|
|
1014
|
-
"text": "\n\nWe are using "
|
|
1015
|
-
},
|
|
1016
|
-
{
|
|
1017
|
-
"kind": "code",
|
|
1018
|
-
"text": "`node --test`"
|
|
1019
|
-
},
|
|
1020
|
-
{
|
|
1021
|
-
"kind": "text",
|
|
1022
|
-
"text": " for testing.\n\n## Install and Usage\n\n"
|
|
1023
|
-
},
|
|
1024
|
-
{
|
|
1025
|
-
"kind": "code",
|
|
1026
|
-
"text": "```bash\nnpm install @wtasnorg/node-lib\n```"
|
|
1027
|
-
},
|
|
1028
|
-
{
|
|
1029
|
-
"kind": "text",
|
|
1030
|
-
"text": "\n\n"
|
|
1031
|
-
},
|
|
1032
|
-
{
|
|
1033
|
-
"kind": "code",
|
|
1034
|
-
"text": "```typescript\n# check if you can run code\nimport {hello} from \"@wtasnorg/node-lib\";\n\nawait hello(); \n// \"hello from @wtasnorg/node-lib\"\n```"
|
|
1035
|
-
},
|
|
1036
|
-
{
|
|
1037
|
-
"kind": "text",
|
|
1038
|
-
"text": "\n\n## License: MIT\n\n[MIT License file]("
|
|
1039
|
-
},
|
|
1040
|
-
{
|
|
1041
|
-
"kind": "relative-link",
|
|
1042
|
-
"text": "LICENSE",
|
|
1043
|
-
"target": 2
|
|
1044
|
-
},
|
|
1045
|
-
{
|
|
1046
|
-
"kind": "text",
|
|
1047
|
-
"text": ")"
|
|
1048
|
-
}
|
|
1049
|
-
],
|
|
1050
1253
|
"symbolIdMap": {
|
|
1051
1254
|
"0": {
|
|
1052
1255
|
"packageName": "@wtasnorg/node-lib",
|
|
@@ -1120,98 +1323,98 @@
|
|
|
1120
1323
|
},
|
|
1121
1324
|
"14": {
|
|
1122
1325
|
"packageName": "@wtasnorg/node-lib",
|
|
1123
|
-
"packagePath": "src/
|
|
1124
|
-
"qualifiedName": "
|
|
1326
|
+
"packagePath": "src/user-agent.ts",
|
|
1327
|
+
"qualifiedName": "parseUserAgent"
|
|
1125
1328
|
},
|
|
1126
1329
|
"15": {
|
|
1127
1330
|
"packageName": "@wtasnorg/node-lib",
|
|
1128
|
-
"packagePath": "src/
|
|
1129
|
-
"qualifiedName": "
|
|
1331
|
+
"packagePath": "src/user-agent.ts",
|
|
1332
|
+
"qualifiedName": "parseUserAgent"
|
|
1130
1333
|
},
|
|
1131
1334
|
"16": {
|
|
1132
1335
|
"packageName": "@wtasnorg/node-lib",
|
|
1133
|
-
"packagePath": "src/
|
|
1134
|
-
"qualifiedName": "
|
|
1336
|
+
"packagePath": "src/user-agent.ts",
|
|
1337
|
+
"qualifiedName": "ua"
|
|
1135
1338
|
},
|
|
1136
1339
|
"17": {
|
|
1137
1340
|
"packageName": "@wtasnorg/node-lib",
|
|
1138
1341
|
"packagePath": "src/find.ts",
|
|
1139
|
-
"qualifiedName": "FindDirectoriesOptions
|
|
1342
|
+
"qualifiedName": "FindDirectoriesOptions"
|
|
1140
1343
|
},
|
|
1141
1344
|
"18": {
|
|
1142
1345
|
"packageName": "@wtasnorg/node-lib",
|
|
1143
1346
|
"packagePath": "src/find.ts",
|
|
1144
|
-
"qualifiedName": "
|
|
1347
|
+
"qualifiedName": "FindDirectoriesOptions.maxDepth"
|
|
1145
1348
|
},
|
|
1146
1349
|
"19": {
|
|
1147
1350
|
"packageName": "@wtasnorg/node-lib",
|
|
1148
1351
|
"packagePath": "src/find.ts",
|
|
1149
|
-
"qualifiedName": "
|
|
1352
|
+
"qualifiedName": "FindDirectoriesOptions.followSymlinks"
|
|
1150
1353
|
},
|
|
1151
1354
|
"20": {
|
|
1152
1355
|
"packageName": "@wtasnorg/node-lib",
|
|
1153
1356
|
"packagePath": "src/find.ts",
|
|
1154
|
-
"qualifiedName": "
|
|
1357
|
+
"qualifiedName": "FindDirectoriesOptions.allowlist"
|
|
1155
1358
|
},
|
|
1156
1359
|
"21": {
|
|
1157
1360
|
"packageName": "@wtasnorg/node-lib",
|
|
1158
1361
|
"packagePath": "src/find.ts",
|
|
1159
|
-
"qualifiedName": "
|
|
1362
|
+
"qualifiedName": "__type"
|
|
1160
1363
|
},
|
|
1161
1364
|
"22": {
|
|
1162
1365
|
"packageName": "@wtasnorg/node-lib",
|
|
1163
1366
|
"packagePath": "src/find.ts",
|
|
1164
|
-
"qualifiedName": "
|
|
1367
|
+
"qualifiedName": "__type"
|
|
1165
1368
|
},
|
|
1166
1369
|
"23": {
|
|
1167
1370
|
"packageName": "@wtasnorg/node-lib",
|
|
1168
1371
|
"packagePath": "src/find.ts",
|
|
1169
|
-
"qualifiedName": "
|
|
1372
|
+
"qualifiedName": "_absPath"
|
|
1170
1373
|
},
|
|
1171
1374
|
"24": {
|
|
1172
1375
|
"packageName": "@wtasnorg/node-lib",
|
|
1173
1376
|
"packagePath": "src/find.ts",
|
|
1174
|
-
"qualifiedName": "
|
|
1377
|
+
"qualifiedName": "_name"
|
|
1175
1378
|
},
|
|
1176
1379
|
"25": {
|
|
1177
1380
|
"packageName": "@wtasnorg/node-lib",
|
|
1178
1381
|
"packagePath": "src/find.ts",
|
|
1179
|
-
"qualifiedName": "
|
|
1382
|
+
"qualifiedName": "FindDirectoriesOptions.blocklist"
|
|
1180
1383
|
},
|
|
1181
1384
|
"26": {
|
|
1182
1385
|
"packageName": "@wtasnorg/node-lib",
|
|
1183
1386
|
"packagePath": "src/find.ts",
|
|
1184
|
-
"qualifiedName": "
|
|
1387
|
+
"qualifiedName": "__type"
|
|
1185
1388
|
},
|
|
1186
1389
|
"27": {
|
|
1187
1390
|
"packageName": "@wtasnorg/node-lib",
|
|
1188
1391
|
"packagePath": "src/find.ts",
|
|
1189
|
-
"qualifiedName": "
|
|
1392
|
+
"qualifiedName": "__type"
|
|
1190
1393
|
},
|
|
1191
1394
|
"28": {
|
|
1192
1395
|
"packageName": "@wtasnorg/node-lib",
|
|
1193
1396
|
"packagePath": "src/find.ts",
|
|
1194
|
-
"qualifiedName": "
|
|
1397
|
+
"qualifiedName": "_absPath"
|
|
1195
1398
|
},
|
|
1196
1399
|
"29": {
|
|
1197
1400
|
"packageName": "@wtasnorg/node-lib",
|
|
1198
1401
|
"packagePath": "src/find.ts",
|
|
1199
|
-
"qualifiedName": "
|
|
1402
|
+
"qualifiedName": "_name"
|
|
1200
1403
|
},
|
|
1201
1404
|
"30": {
|
|
1202
1405
|
"packageName": "@wtasnorg/node-lib",
|
|
1203
1406
|
"packagePath": "src/find.ts",
|
|
1204
|
-
"qualifiedName": "
|
|
1407
|
+
"qualifiedName": "FileSystemDependencies"
|
|
1205
1408
|
},
|
|
1206
1409
|
"31": {
|
|
1207
1410
|
"packageName": "@wtasnorg/node-lib",
|
|
1208
1411
|
"packagePath": "src/find.ts",
|
|
1209
|
-
"qualifiedName": "
|
|
1412
|
+
"qualifiedName": "FileSystemDependencies.readdir"
|
|
1210
1413
|
},
|
|
1211
1414
|
"32": {
|
|
1212
1415
|
"packageName": "@wtasnorg/node-lib",
|
|
1213
1416
|
"packagePath": "src/find.ts",
|
|
1214
|
-
"qualifiedName": "
|
|
1417
|
+
"qualifiedName": "__type"
|
|
1215
1418
|
},
|
|
1216
1419
|
"33": {
|
|
1217
1420
|
"packageName": "@wtasnorg/node-lib",
|
|
@@ -1221,47 +1424,47 @@
|
|
|
1221
1424
|
"34": {
|
|
1222
1425
|
"packageName": "@wtasnorg/node-lib",
|
|
1223
1426
|
"packagePath": "src/find.ts",
|
|
1224
|
-
"qualifiedName": "
|
|
1427
|
+
"qualifiedName": "_path"
|
|
1225
1428
|
},
|
|
1226
1429
|
"35": {
|
|
1227
1430
|
"packageName": "@wtasnorg/node-lib",
|
|
1228
1431
|
"packagePath": "src/find.ts",
|
|
1229
|
-
"qualifiedName": "
|
|
1432
|
+
"qualifiedName": "_opts"
|
|
1230
1433
|
},
|
|
1231
1434
|
"36": {
|
|
1232
1435
|
"packageName": "@wtasnorg/node-lib",
|
|
1233
1436
|
"packagePath": "src/find.ts",
|
|
1234
|
-
"qualifiedName": "__type
|
|
1437
|
+
"qualifiedName": "__type"
|
|
1235
1438
|
},
|
|
1236
1439
|
"37": {
|
|
1237
1440
|
"packageName": "@wtasnorg/node-lib",
|
|
1238
1441
|
"packagePath": "src/find.ts",
|
|
1239
|
-
"qualifiedName": "__type.
|
|
1442
|
+
"qualifiedName": "__type.withFileTypes"
|
|
1240
1443
|
},
|
|
1241
1444
|
"38": {
|
|
1242
1445
|
"packageName": "@wtasnorg/node-lib",
|
|
1243
1446
|
"packagePath": "src/find.ts",
|
|
1244
|
-
"qualifiedName": "__type
|
|
1447
|
+
"qualifiedName": "__type"
|
|
1245
1448
|
},
|
|
1246
1449
|
"39": {
|
|
1247
1450
|
"packageName": "@wtasnorg/node-lib",
|
|
1248
1451
|
"packagePath": "src/find.ts",
|
|
1249
|
-
"qualifiedName": "
|
|
1452
|
+
"qualifiedName": "__type.name"
|
|
1250
1453
|
},
|
|
1251
1454
|
"40": {
|
|
1252
1455
|
"packageName": "@wtasnorg/node-lib",
|
|
1253
1456
|
"packagePath": "src/find.ts",
|
|
1254
|
-
"qualifiedName": "__type"
|
|
1457
|
+
"qualifiedName": "__type.isDirectory"
|
|
1255
1458
|
},
|
|
1256
1459
|
"41": {
|
|
1257
1460
|
"packageName": "@wtasnorg/node-lib",
|
|
1258
1461
|
"packagePath": "src/find.ts",
|
|
1259
|
-
"qualifiedName": "__type"
|
|
1462
|
+
"qualifiedName": "__type.isDirectory"
|
|
1260
1463
|
},
|
|
1261
1464
|
"42": {
|
|
1262
1465
|
"packageName": "@wtasnorg/node-lib",
|
|
1263
1466
|
"packagePath": "src/find.ts",
|
|
1264
|
-
"qualifiedName": "
|
|
1467
|
+
"qualifiedName": "FileSystemDependencies.stat"
|
|
1265
1468
|
},
|
|
1266
1469
|
"43": {
|
|
1267
1470
|
"packageName": "@wtasnorg/node-lib",
|
|
@@ -1271,25 +1474,65 @@
|
|
|
1271
1474
|
"44": {
|
|
1272
1475
|
"packageName": "@wtasnorg/node-lib",
|
|
1273
1476
|
"packagePath": "src/find.ts",
|
|
1274
|
-
"qualifiedName": "__type
|
|
1477
|
+
"qualifiedName": "__type"
|
|
1275
1478
|
},
|
|
1276
1479
|
"45": {
|
|
1480
|
+
"packageName": "@wtasnorg/node-lib",
|
|
1481
|
+
"packagePath": "src/find.ts",
|
|
1482
|
+
"qualifiedName": "_path"
|
|
1483
|
+
},
|
|
1484
|
+
"46": {
|
|
1485
|
+
"packageName": "@wtasnorg/node-lib",
|
|
1486
|
+
"packagePath": "src/find.ts",
|
|
1487
|
+
"qualifiedName": "__type"
|
|
1488
|
+
},
|
|
1489
|
+
"47": {
|
|
1277
1490
|
"packageName": "@wtasnorg/node-lib",
|
|
1278
1491
|
"packagePath": "src/find.ts",
|
|
1279
1492
|
"qualifiedName": "__type.isDirectory"
|
|
1493
|
+
},
|
|
1494
|
+
"48": {
|
|
1495
|
+
"packageName": "@wtasnorg/node-lib",
|
|
1496
|
+
"packagePath": "src/find.ts",
|
|
1497
|
+
"qualifiedName": "__type.isDirectory"
|
|
1498
|
+
},
|
|
1499
|
+
"49": {
|
|
1500
|
+
"packageName": "@wtasnorg/node-lib",
|
|
1501
|
+
"packagePath": "src/user-agent.ts",
|
|
1502
|
+
"qualifiedName": "UserAgentInfo"
|
|
1503
|
+
},
|
|
1504
|
+
"50": {
|
|
1505
|
+
"packageName": "@wtasnorg/node-lib",
|
|
1506
|
+
"packagePath": "src/user-agent.ts",
|
|
1507
|
+
"qualifiedName": "UserAgentInfo.browser"
|
|
1508
|
+
},
|
|
1509
|
+
"51": {
|
|
1510
|
+
"packageName": "@wtasnorg/node-lib",
|
|
1511
|
+
"packagePath": "src/user-agent.ts",
|
|
1512
|
+
"qualifiedName": "UserAgentInfo.version"
|
|
1513
|
+
},
|
|
1514
|
+
"52": {
|
|
1515
|
+
"packageName": "@wtasnorg/node-lib",
|
|
1516
|
+
"packagePath": "src/user-agent.ts",
|
|
1517
|
+
"qualifiedName": "UserAgentInfo.os"
|
|
1518
|
+
},
|
|
1519
|
+
"53": {
|
|
1520
|
+
"packageName": "@wtasnorg/node-lib",
|
|
1521
|
+
"packagePath": "src/user-agent.ts",
|
|
1522
|
+
"qualifiedName": "UserAgentInfo.device"
|
|
1523
|
+
},
|
|
1524
|
+
"54": {
|
|
1525
|
+
"packageName": "@wtasnorg/node-lib",
|
|
1526
|
+
"packagePath": "src/user-agent.ts",
|
|
1527
|
+
"qualifiedName": "UserAgentInfo.engine"
|
|
1280
1528
|
}
|
|
1281
1529
|
},
|
|
1282
1530
|
"files": {
|
|
1283
1531
|
"entries": {
|
|
1284
|
-
"1": "src/index.ts"
|
|
1285
|
-
"2": "LICENSE",
|
|
1286
|
-
"3": "README.md",
|
|
1287
|
-
"4": ""
|
|
1532
|
+
"1": "src/index.ts"
|
|
1288
1533
|
},
|
|
1289
1534
|
"reflections": {
|
|
1290
|
-
"1": 0
|
|
1291
|
-
"3": 0,
|
|
1292
|
-
"4": 0
|
|
1535
|
+
"1": 0
|
|
1293
1536
|
}
|
|
1294
1537
|
}
|
|
1295
1538
|
}
|