@visulima/fs 2.1.10 → 2.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +31 -0
- package/LICENSE.md +675 -0
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +16 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,34 @@
|
|
|
1
|
+
## @visulima/fs [2.1.12](https://github.com/visulima/visulima/compare/@visulima/fs@2.1.11...@visulima/fs@2.1.12) (2024-08-04)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Dependencies
|
|
5
|
+
|
|
6
|
+
* **@visulima/path:** upgraded to 1.0.4
|
|
7
|
+
* **@visulima/error:** upgraded to 4.3.2
|
|
8
|
+
|
|
9
|
+
## @visulima/fs [2.1.11](https://github.com/visulima/visulima/compare/@visulima/fs@2.1.10...@visulima/fs@2.1.11) (2024-08-01)
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* upgraded @visulima/packem ([dc0cb57](https://github.com/visulima/visulima/commit/dc0cb5701b30f3f81404346c909fd4daf891b894))
|
|
14
|
+
|
|
15
|
+
### Styles
|
|
16
|
+
|
|
17
|
+
* cs fixes ([6f727ec](https://github.com/visulima/visulima/commit/6f727ec36437384883ca4b764d920cf03ffe44df))
|
|
18
|
+
* cs fixes ([ee5ed6f](https://github.com/visulima/visulima/commit/ee5ed6f31bdabcfacdb0d1abd1eff2cc6207cefc))
|
|
19
|
+
|
|
20
|
+
### Miscellaneous Chores
|
|
21
|
+
|
|
22
|
+
* added private true into fixture package.json files ([4a9494c](https://github.com/visulima/visulima/commit/4a9494c642fa98f224505a1d231b5af4e73d6c79))
|
|
23
|
+
* updated dev dependencies ([ac67ec1](https://github.com/visulima/visulima/commit/ac67ec1bcba16175d225958e318199f60b10d179))
|
|
24
|
+
* updated dev dependencies and sorted the package.json ([9571572](https://github.com/visulima/visulima/commit/95715725a8ed053ca24fd1405a55205c79342ecb))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Dependencies
|
|
28
|
+
|
|
29
|
+
* **@visulima/path:** upgraded to 1.0.3
|
|
30
|
+
* **@visulima/error:** upgraded to 4.3.1
|
|
31
|
+
|
|
1
32
|
## @visulima/fs [2.1.10](https://github.com/visulima/visulima/compare/@visulima/fs@2.1.9...@visulima/fs@2.1.10) (2024-07-02)
|
|
2
33
|
|
|
3
34
|
### Miscellaneous Chores
|
package/LICENSE.md
CHANGED
|
@@ -220,6 +220,681 @@ Repository: sindresorhus/detect-indent
|
|
|
220
220
|
>
|
|
221
221
|
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
222
222
|
|
|
223
|
+
<!-- DEPENDENCIES -->
|
|
224
|
+
>
|
|
225
|
+
> # Licenses of bundled dependencies
|
|
226
|
+
>
|
|
227
|
+
> The published @visulima/error artifact additionally contains code with the following licenses:
|
|
228
|
+
> MIT
|
|
229
|
+
>
|
|
230
|
+
> # Bundled dependencies:
|
|
231
|
+
>
|
|
232
|
+
> ## is-plain-obj
|
|
233
|
+
>
|
|
234
|
+
> License: MIT
|
|
235
|
+
> By: Sindre Sorhus
|
|
236
|
+
> Repository: sindresorhus/is-plain-obj
|
|
237
|
+
>
|
|
238
|
+
> > MIT License
|
|
239
|
+
> >
|
|
240
|
+
> > Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
241
|
+
> >
|
|
242
|
+
> > Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
243
|
+
> >
|
|
244
|
+
> > The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
245
|
+
> >
|
|
246
|
+
> > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
247
|
+
>
|
|
248
|
+
> <!-- DEPENDENCIES -->
|
|
249
|
+
|
|
250
|
+
# Licenses of bundled dependencies
|
|
251
|
+
The published @visulima/fs artifact additionally contains code with the following licenses:
|
|
252
|
+
MIT
|
|
253
|
+
|
|
254
|
+
# Bundled dependencies:
|
|
255
|
+
## @visulima/error
|
|
256
|
+
License: MIT
|
|
257
|
+
By: Daniel Bannert
|
|
258
|
+
Repository: https://github.com/visulima/visulima.git
|
|
259
|
+
|
|
260
|
+
> MIT License
|
|
261
|
+
>
|
|
262
|
+
> Copyright (c) 2024 visulima
|
|
263
|
+
>
|
|
264
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
265
|
+
> of this software and associated documentation files (the "Software"), to deal
|
|
266
|
+
> in the Software without restriction, including without limitation the rights
|
|
267
|
+
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
268
|
+
> copies of the Software, and to permit persons to whom the Software is
|
|
269
|
+
> furnished to do so, subject to the following conditions:
|
|
270
|
+
>
|
|
271
|
+
> The above copyright notice and this permission notice shall be included in all
|
|
272
|
+
> copies or substantial portions of the Software.
|
|
273
|
+
>
|
|
274
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
275
|
+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
276
|
+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
277
|
+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
278
|
+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
279
|
+
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
280
|
+
> SOFTWARE.
|
|
281
|
+
>
|
|
282
|
+
> <!-- DEPENDENCIES -->
|
|
283
|
+
>
|
|
284
|
+
> # Licenses of bundled dependencies
|
|
285
|
+
> The published @visulima/error artifact additionally contains code with the following licenses:
|
|
286
|
+
> MIT
|
|
287
|
+
>
|
|
288
|
+
> # Bundled dependencies:
|
|
289
|
+
> ## is-plain-obj
|
|
290
|
+
> License: MIT
|
|
291
|
+
> By: Sindre Sorhus
|
|
292
|
+
> Repository: sindresorhus/is-plain-obj
|
|
293
|
+
>
|
|
294
|
+
> > MIT License
|
|
295
|
+
> >
|
|
296
|
+
> > Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
297
|
+
> >
|
|
298
|
+
> > Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
299
|
+
> >
|
|
300
|
+
> > The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
301
|
+
> >
|
|
302
|
+
> > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
303
|
+
>
|
|
304
|
+
> <!-- DEPENDENCIES -->
|
|
305
|
+
>
|
|
306
|
+
> <!-- TYPE_DEPENDENCIES -->
|
|
307
|
+
|
|
308
|
+
# Licenses of bundled types
|
|
309
|
+
The published @visulima/fs artifact additionally contains code with the following licenses:
|
|
310
|
+
(MIT OR CC0-1.0)
|
|
311
|
+
|
|
312
|
+
# Bundled types:
|
|
313
|
+
## type-fest
|
|
314
|
+
License: (MIT OR CC0-1.0)
|
|
315
|
+
By: Sindre Sorhus
|
|
316
|
+
Repository: sindresorhus/type-fest
|
|
317
|
+
|
|
318
|
+
<!-- TYPE_DEPENDENCIES -->
|
|
319
|
+
|
|
320
|
+
---------------------------------------
|
|
321
|
+
|
|
322
|
+
## detect-indent
|
|
323
|
+
License: MIT
|
|
324
|
+
By: Sindre Sorhus
|
|
325
|
+
Repository: sindresorhus/detect-indent
|
|
326
|
+
|
|
327
|
+
> MIT License
|
|
328
|
+
>
|
|
329
|
+
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
330
|
+
>
|
|
331
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
332
|
+
>
|
|
333
|
+
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
334
|
+
>
|
|
335
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
336
|
+
|
|
337
|
+
<!-- DEPENDENCIES -->
|
|
338
|
+
>
|
|
339
|
+
> # Licenses of bundled dependencies
|
|
340
|
+
> The published @visulima/error artifact additionally contains code with the following licenses:
|
|
341
|
+
> MIT
|
|
342
|
+
>
|
|
343
|
+
> # Bundled dependencies:
|
|
344
|
+
> ## is-plain-obj
|
|
345
|
+
> License: MIT
|
|
346
|
+
> By: Sindre Sorhus
|
|
347
|
+
> Repository: sindresorhus/is-plain-obj
|
|
348
|
+
>
|
|
349
|
+
> > MIT License
|
|
350
|
+
> >
|
|
351
|
+
> > Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
352
|
+
> >
|
|
353
|
+
> > Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
354
|
+
> >
|
|
355
|
+
> > The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
356
|
+
> >
|
|
357
|
+
> > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
358
|
+
>
|
|
359
|
+
> <!-- DEPENDENCIES -->
|
|
360
|
+
|
|
361
|
+
# Licenses of bundled dependencies
|
|
362
|
+
The published @visulima/fs artifact additionally contains code with the following licenses:
|
|
363
|
+
MIT
|
|
364
|
+
|
|
365
|
+
# Bundled dependencies:
|
|
366
|
+
## @visulima/error
|
|
367
|
+
License: MIT
|
|
368
|
+
By: Daniel Bannert
|
|
369
|
+
Repository: https://github.com/visulima/visulima.git
|
|
370
|
+
|
|
371
|
+
> MIT License
|
|
372
|
+
>
|
|
373
|
+
> Copyright (c) 2024 visulima
|
|
374
|
+
>
|
|
375
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
376
|
+
> of this software and associated documentation files (the "Software"), to deal
|
|
377
|
+
> in the Software without restriction, including without limitation the rights
|
|
378
|
+
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
379
|
+
> copies of the Software, and to permit persons to whom the Software is
|
|
380
|
+
> furnished to do so, subject to the following conditions:
|
|
381
|
+
>
|
|
382
|
+
> The above copyright notice and this permission notice shall be included in all
|
|
383
|
+
> copies or substantial portions of the Software.
|
|
384
|
+
>
|
|
385
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
386
|
+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
387
|
+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
388
|
+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
389
|
+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
390
|
+
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
391
|
+
> SOFTWARE.
|
|
392
|
+
>
|
|
393
|
+
> <!-- DEPENDENCIES -->
|
|
394
|
+
>
|
|
395
|
+
> # Licenses of bundled dependencies
|
|
396
|
+
> The published @visulima/error artifact additionally contains code with the following licenses:
|
|
397
|
+
> MIT
|
|
398
|
+
>
|
|
399
|
+
> # Bundled dependencies:
|
|
400
|
+
> ## is-plain-obj
|
|
401
|
+
> License: MIT
|
|
402
|
+
> By: Sindre Sorhus
|
|
403
|
+
> Repository: sindresorhus/is-plain-obj
|
|
404
|
+
>
|
|
405
|
+
> > MIT License
|
|
406
|
+
> >
|
|
407
|
+
> > Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
408
|
+
> >
|
|
409
|
+
> > Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
410
|
+
> >
|
|
411
|
+
> > The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
412
|
+
> >
|
|
413
|
+
> > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
414
|
+
>
|
|
415
|
+
> <!-- DEPENDENCIES -->
|
|
416
|
+
>
|
|
417
|
+
> <!-- TYPE_DEPENDENCIES -->
|
|
418
|
+
|
|
419
|
+
# Licenses of bundled types
|
|
420
|
+
The published @visulima/fs artifact additionally contains code with the following licenses:
|
|
421
|
+
(MIT OR CC0-1.0)
|
|
422
|
+
|
|
423
|
+
# Bundled types:
|
|
424
|
+
## type-fest
|
|
425
|
+
License: (MIT OR CC0-1.0)
|
|
426
|
+
By: Sindre Sorhus
|
|
427
|
+
Repository: sindresorhus/type-fest
|
|
428
|
+
|
|
429
|
+
<!-- TYPE_DEPENDENCIES -->
|
|
430
|
+
|
|
431
|
+
---------------------------------------
|
|
432
|
+
|
|
433
|
+
## detect-indent
|
|
434
|
+
License: MIT
|
|
435
|
+
By: Sindre Sorhus
|
|
436
|
+
Repository: sindresorhus/detect-indent
|
|
437
|
+
|
|
438
|
+
> MIT License
|
|
439
|
+
>
|
|
440
|
+
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
441
|
+
>
|
|
442
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
443
|
+
>
|
|
444
|
+
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
445
|
+
>
|
|
446
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
447
|
+
|
|
448
|
+
<!-- DEPENDENCIES -->
|
|
449
|
+
|
|
450
|
+
> # Licenses of bundled dependencies
|
|
451
|
+
>
|
|
452
|
+
> The published @visulima/error artifact additionally contains code with the following licenses:
|
|
453
|
+
> MIT
|
|
454
|
+
>
|
|
455
|
+
> # Bundled dependencies:
|
|
456
|
+
>
|
|
457
|
+
> ## is-plain-obj
|
|
458
|
+
>
|
|
459
|
+
> License: MIT
|
|
460
|
+
> By: Sindre Sorhus
|
|
461
|
+
> Repository: sindresorhus/is-plain-obj
|
|
462
|
+
>
|
|
463
|
+
> > MIT License
|
|
464
|
+
> >
|
|
465
|
+
> > Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
466
|
+
> >
|
|
467
|
+
> > Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
468
|
+
> >
|
|
469
|
+
> > The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
470
|
+
> >
|
|
471
|
+
> > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
472
|
+
>
|
|
473
|
+
> <!-- DEPENDENCIES -->
|
|
474
|
+
|
|
475
|
+
# Licenses of bundled dependencies
|
|
476
|
+
The published @visulima/fs artifact additionally contains code with the following licenses:
|
|
477
|
+
MIT
|
|
478
|
+
|
|
479
|
+
# Bundled dependencies:
|
|
480
|
+
## @visulima/error
|
|
481
|
+
License: MIT
|
|
482
|
+
By: Daniel Bannert
|
|
483
|
+
Repository: https://github.com/visulima/visulima.git
|
|
484
|
+
|
|
485
|
+
> MIT License
|
|
486
|
+
>
|
|
487
|
+
> Copyright (c) 2024 visulima
|
|
488
|
+
>
|
|
489
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
490
|
+
> of this software and associated documentation files (the "Software"), to deal
|
|
491
|
+
> in the Software without restriction, including without limitation the rights
|
|
492
|
+
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
493
|
+
> copies of the Software, and to permit persons to whom the Software is
|
|
494
|
+
> furnished to do so, subject to the following conditions:
|
|
495
|
+
>
|
|
496
|
+
> The above copyright notice and this permission notice shall be included in all
|
|
497
|
+
> copies or substantial portions of the Software.
|
|
498
|
+
>
|
|
499
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
500
|
+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
501
|
+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
502
|
+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
503
|
+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
504
|
+
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
505
|
+
> SOFTWARE.
|
|
506
|
+
>
|
|
507
|
+
> <!-- DEPENDENCIES -->
|
|
508
|
+
>
|
|
509
|
+
> # Licenses of bundled dependencies
|
|
510
|
+
> The published @visulima/error artifact additionally contains code with the following licenses:
|
|
511
|
+
> MIT
|
|
512
|
+
>
|
|
513
|
+
> # Bundled dependencies:
|
|
514
|
+
> ## is-plain-obj
|
|
515
|
+
> License: MIT
|
|
516
|
+
> By: Sindre Sorhus
|
|
517
|
+
> Repository: sindresorhus/is-plain-obj
|
|
518
|
+
>
|
|
519
|
+
> > MIT License
|
|
520
|
+
> >
|
|
521
|
+
> > Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
522
|
+
> >
|
|
523
|
+
> > Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
524
|
+
> >
|
|
525
|
+
> > The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
526
|
+
> >
|
|
527
|
+
> > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
528
|
+
>
|
|
529
|
+
> <!-- DEPENDENCIES -->
|
|
530
|
+
>
|
|
531
|
+
> <!-- TYPE_DEPENDENCIES -->
|
|
532
|
+
|
|
533
|
+
# Licenses of bundled types
|
|
534
|
+
The published @visulima/fs artifact additionally contains code with the following licenses:
|
|
535
|
+
(MIT OR CC0-1.0)
|
|
536
|
+
|
|
537
|
+
# Bundled types:
|
|
538
|
+
## type-fest
|
|
539
|
+
License: (MIT OR CC0-1.0)
|
|
540
|
+
By: Sindre Sorhus
|
|
541
|
+
Repository: sindresorhus/type-fest
|
|
542
|
+
|
|
543
|
+
<!-- TYPE_DEPENDENCIES -->
|
|
544
|
+
|
|
545
|
+
---------------------------------------
|
|
546
|
+
|
|
547
|
+
## detect-indent
|
|
548
|
+
License: MIT
|
|
549
|
+
By: Sindre Sorhus
|
|
550
|
+
Repository: sindresorhus/detect-indent
|
|
551
|
+
|
|
552
|
+
> MIT License
|
|
553
|
+
>
|
|
554
|
+
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
555
|
+
>
|
|
556
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
557
|
+
>
|
|
558
|
+
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
559
|
+
>
|
|
560
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
561
|
+
|
|
562
|
+
<!-- DEPENDENCIES -->
|
|
563
|
+
>
|
|
564
|
+
> # Licenses of bundled dependencies
|
|
565
|
+
> The published @visulima/error artifact additionally contains code with the following licenses:
|
|
566
|
+
> MIT
|
|
567
|
+
>
|
|
568
|
+
> # Bundled dependencies:
|
|
569
|
+
> ## is-plain-obj
|
|
570
|
+
> License: MIT
|
|
571
|
+
> By: Sindre Sorhus
|
|
572
|
+
> Repository: sindresorhus/is-plain-obj
|
|
573
|
+
>
|
|
574
|
+
> > MIT License
|
|
575
|
+
> >
|
|
576
|
+
> > Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
577
|
+
> >
|
|
578
|
+
> > Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
579
|
+
> >
|
|
580
|
+
> > The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
581
|
+
> >
|
|
582
|
+
> > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
583
|
+
>
|
|
584
|
+
> <!-- DEPENDENCIES -->
|
|
585
|
+
|
|
586
|
+
# Licenses of bundled dependencies
|
|
587
|
+
The published @visulima/fs artifact additionally contains code with the following licenses:
|
|
588
|
+
MIT
|
|
589
|
+
|
|
590
|
+
# Bundled dependencies:
|
|
591
|
+
## @visulima/error
|
|
592
|
+
License: MIT
|
|
593
|
+
By: Daniel Bannert
|
|
594
|
+
Repository: https://github.com/visulima/visulima.git
|
|
595
|
+
|
|
596
|
+
> MIT License
|
|
597
|
+
>
|
|
598
|
+
> Copyright (c) 2024 visulima
|
|
599
|
+
>
|
|
600
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
601
|
+
> of this software and associated documentation files (the "Software"), to deal
|
|
602
|
+
> in the Software without restriction, including without limitation the rights
|
|
603
|
+
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
604
|
+
> copies of the Software, and to permit persons to whom the Software is
|
|
605
|
+
> furnished to do so, subject to the following conditions:
|
|
606
|
+
>
|
|
607
|
+
> The above copyright notice and this permission notice shall be included in all
|
|
608
|
+
> copies or substantial portions of the Software.
|
|
609
|
+
>
|
|
610
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
611
|
+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
612
|
+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
613
|
+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
614
|
+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
615
|
+
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
616
|
+
> SOFTWARE.
|
|
617
|
+
>
|
|
618
|
+
> <!-- DEPENDENCIES -->
|
|
619
|
+
>
|
|
620
|
+
> # Licenses of bundled dependencies
|
|
621
|
+
> The published @visulima/error artifact additionally contains code with the following licenses:
|
|
622
|
+
> MIT
|
|
623
|
+
>
|
|
624
|
+
> # Bundled dependencies:
|
|
625
|
+
> ## is-plain-obj
|
|
626
|
+
> License: MIT
|
|
627
|
+
> By: Sindre Sorhus
|
|
628
|
+
> Repository: sindresorhus/is-plain-obj
|
|
629
|
+
>
|
|
630
|
+
> > MIT License
|
|
631
|
+
> >
|
|
632
|
+
> > Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
633
|
+
> >
|
|
634
|
+
> > Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
635
|
+
> >
|
|
636
|
+
> > The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
637
|
+
> >
|
|
638
|
+
> > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
639
|
+
>
|
|
640
|
+
> <!-- DEPENDENCIES -->
|
|
641
|
+
>
|
|
642
|
+
> <!-- TYPE_DEPENDENCIES -->
|
|
643
|
+
|
|
644
|
+
# Licenses of bundled types
|
|
645
|
+
The published @visulima/fs artifact additionally contains code with the following licenses:
|
|
646
|
+
(MIT OR CC0-1.0)
|
|
647
|
+
|
|
648
|
+
# Bundled types:
|
|
649
|
+
## type-fest
|
|
650
|
+
License: (MIT OR CC0-1.0)
|
|
651
|
+
By: Sindre Sorhus
|
|
652
|
+
Repository: sindresorhus/type-fest
|
|
653
|
+
|
|
654
|
+
<!-- TYPE_DEPENDENCIES -->
|
|
655
|
+
|
|
656
|
+
---------------------------------------
|
|
657
|
+
|
|
658
|
+
## detect-indent
|
|
659
|
+
License: MIT
|
|
660
|
+
By: Sindre Sorhus
|
|
661
|
+
Repository: sindresorhus/detect-indent
|
|
662
|
+
|
|
663
|
+
> MIT License
|
|
664
|
+
>
|
|
665
|
+
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
666
|
+
>
|
|
667
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
668
|
+
>
|
|
669
|
+
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
670
|
+
>
|
|
671
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
672
|
+
|
|
673
|
+
<!-- DEPENDENCIES -->
|
|
674
|
+
>
|
|
675
|
+
> # Licenses of bundled dependencies
|
|
676
|
+
>
|
|
677
|
+
> The published @visulima/error artifact additionally contains code with the following licenses:
|
|
678
|
+
> MIT
|
|
679
|
+
>
|
|
680
|
+
> # Bundled dependencies:
|
|
681
|
+
>
|
|
682
|
+
> ## is-plain-obj
|
|
683
|
+
>
|
|
684
|
+
> License: MIT
|
|
685
|
+
> By: Sindre Sorhus
|
|
686
|
+
> Repository: sindresorhus/is-plain-obj
|
|
687
|
+
>
|
|
688
|
+
> > MIT License
|
|
689
|
+
> >
|
|
690
|
+
> > Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
691
|
+
> >
|
|
692
|
+
> > Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
693
|
+
> >
|
|
694
|
+
> > The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
695
|
+
> >
|
|
696
|
+
> > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
697
|
+
>
|
|
698
|
+
> <!-- DEPENDENCIES -->
|
|
699
|
+
|
|
700
|
+
# Licenses of bundled dependencies
|
|
701
|
+
The published @visulima/fs artifact additionally contains code with the following licenses:
|
|
702
|
+
MIT
|
|
703
|
+
|
|
704
|
+
# Bundled dependencies:
|
|
705
|
+
## @visulima/error
|
|
706
|
+
License: MIT
|
|
707
|
+
By: Daniel Bannert
|
|
708
|
+
Repository: https://github.com/visulima/visulima.git
|
|
709
|
+
|
|
710
|
+
> MIT License
|
|
711
|
+
>
|
|
712
|
+
> Copyright (c) 2024 visulima
|
|
713
|
+
>
|
|
714
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
715
|
+
> of this software and associated documentation files (the "Software"), to deal
|
|
716
|
+
> in the Software without restriction, including without limitation the rights
|
|
717
|
+
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
718
|
+
> copies of the Software, and to permit persons to whom the Software is
|
|
719
|
+
> furnished to do so, subject to the following conditions:
|
|
720
|
+
>
|
|
721
|
+
> The above copyright notice and this permission notice shall be included in all
|
|
722
|
+
> copies or substantial portions of the Software.
|
|
723
|
+
>
|
|
724
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
725
|
+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
726
|
+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
727
|
+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
728
|
+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
729
|
+
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
730
|
+
> SOFTWARE.
|
|
731
|
+
>
|
|
732
|
+
> <!-- DEPENDENCIES -->
|
|
733
|
+
>
|
|
734
|
+
> # Licenses of bundled dependencies
|
|
735
|
+
> The published @visulima/error artifact additionally contains code with the following licenses:
|
|
736
|
+
> MIT
|
|
737
|
+
>
|
|
738
|
+
> # Bundled dependencies:
|
|
739
|
+
> ## is-plain-obj
|
|
740
|
+
> License: MIT
|
|
741
|
+
> By: Sindre Sorhus
|
|
742
|
+
> Repository: sindresorhus/is-plain-obj
|
|
743
|
+
>
|
|
744
|
+
> > MIT License
|
|
745
|
+
> >
|
|
746
|
+
> > Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
747
|
+
> >
|
|
748
|
+
> > Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
749
|
+
> >
|
|
750
|
+
> > The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
751
|
+
> >
|
|
752
|
+
> > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
753
|
+
>
|
|
754
|
+
> <!-- DEPENDENCIES -->
|
|
755
|
+
>
|
|
756
|
+
> <!-- TYPE_DEPENDENCIES -->
|
|
757
|
+
|
|
758
|
+
# Licenses of bundled types
|
|
759
|
+
The published @visulima/fs artifact additionally contains code with the following licenses:
|
|
760
|
+
(MIT OR CC0-1.0)
|
|
761
|
+
|
|
762
|
+
# Bundled types:
|
|
763
|
+
## type-fest
|
|
764
|
+
License: (MIT OR CC0-1.0)
|
|
765
|
+
By: Sindre Sorhus
|
|
766
|
+
Repository: sindresorhus/type-fest
|
|
767
|
+
|
|
768
|
+
<!-- TYPE_DEPENDENCIES -->
|
|
769
|
+
|
|
770
|
+
---------------------------------------
|
|
771
|
+
|
|
772
|
+
## detect-indent
|
|
773
|
+
License: MIT
|
|
774
|
+
By: Sindre Sorhus
|
|
775
|
+
Repository: sindresorhus/detect-indent
|
|
776
|
+
|
|
777
|
+
> MIT License
|
|
778
|
+
>
|
|
779
|
+
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
780
|
+
>
|
|
781
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
782
|
+
>
|
|
783
|
+
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
784
|
+
>
|
|
785
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
786
|
+
|
|
787
|
+
<!-- DEPENDENCIES -->
|
|
788
|
+
>
|
|
789
|
+
> # Licenses of bundled dependencies
|
|
790
|
+
> The published @visulima/error artifact additionally contains code with the following licenses:
|
|
791
|
+
> MIT
|
|
792
|
+
>
|
|
793
|
+
> # Bundled dependencies:
|
|
794
|
+
> ## is-plain-obj
|
|
795
|
+
> License: MIT
|
|
796
|
+
> By: Sindre Sorhus
|
|
797
|
+
> Repository: sindresorhus/is-plain-obj
|
|
798
|
+
>
|
|
799
|
+
> > MIT License
|
|
800
|
+
> >
|
|
801
|
+
> > Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
802
|
+
> >
|
|
803
|
+
> > Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
804
|
+
> >
|
|
805
|
+
> > The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
806
|
+
> >
|
|
807
|
+
> > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
808
|
+
>
|
|
809
|
+
> <!-- DEPENDENCIES -->
|
|
810
|
+
|
|
811
|
+
# Licenses of bundled dependencies
|
|
812
|
+
The published @visulima/fs artifact additionally contains code with the following licenses:
|
|
813
|
+
MIT
|
|
814
|
+
|
|
815
|
+
# Bundled dependencies:
|
|
816
|
+
## @visulima/error
|
|
817
|
+
License: MIT
|
|
818
|
+
By: Daniel Bannert
|
|
819
|
+
Repository: https://github.com/visulima/visulima.git
|
|
820
|
+
|
|
821
|
+
> MIT License
|
|
822
|
+
>
|
|
823
|
+
> Copyright (c) 2024 visulima
|
|
824
|
+
>
|
|
825
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
826
|
+
> of this software and associated documentation files (the "Software"), to deal
|
|
827
|
+
> in the Software without restriction, including without limitation the rights
|
|
828
|
+
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
829
|
+
> copies of the Software, and to permit persons to whom the Software is
|
|
830
|
+
> furnished to do so, subject to the following conditions:
|
|
831
|
+
>
|
|
832
|
+
> The above copyright notice and this permission notice shall be included in all
|
|
833
|
+
> copies or substantial portions of the Software.
|
|
834
|
+
>
|
|
835
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
836
|
+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
837
|
+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
838
|
+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
839
|
+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
840
|
+
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
841
|
+
> SOFTWARE.
|
|
842
|
+
>
|
|
843
|
+
> <!-- DEPENDENCIES -->
|
|
844
|
+
>
|
|
845
|
+
> # Licenses of bundled dependencies
|
|
846
|
+
> The published @visulima/error artifact additionally contains code with the following licenses:
|
|
847
|
+
> MIT
|
|
848
|
+
>
|
|
849
|
+
> # Bundled dependencies:
|
|
850
|
+
> ## is-plain-obj
|
|
851
|
+
> License: MIT
|
|
852
|
+
> By: Sindre Sorhus
|
|
853
|
+
> Repository: sindresorhus/is-plain-obj
|
|
854
|
+
>
|
|
855
|
+
> > MIT License
|
|
856
|
+
> >
|
|
857
|
+
> > Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
858
|
+
> >
|
|
859
|
+
> > Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
860
|
+
> >
|
|
861
|
+
> > The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
862
|
+
> >
|
|
863
|
+
> > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
864
|
+
>
|
|
865
|
+
> <!-- DEPENDENCIES -->
|
|
866
|
+
>
|
|
867
|
+
> <!-- TYPE_DEPENDENCIES -->
|
|
868
|
+
|
|
869
|
+
# Licenses of bundled types
|
|
870
|
+
The published @visulima/fs artifact additionally contains code with the following licenses:
|
|
871
|
+
(MIT OR CC0-1.0)
|
|
872
|
+
|
|
873
|
+
# Bundled types:
|
|
874
|
+
## type-fest
|
|
875
|
+
License: (MIT OR CC0-1.0)
|
|
876
|
+
By: Sindre Sorhus
|
|
877
|
+
Repository: sindresorhus/type-fest
|
|
878
|
+
|
|
879
|
+
<!-- TYPE_DEPENDENCIES -->
|
|
880
|
+
|
|
881
|
+
---------------------------------------
|
|
882
|
+
|
|
883
|
+
## detect-indent
|
|
884
|
+
License: MIT
|
|
885
|
+
By: Sindre Sorhus
|
|
886
|
+
Repository: sindresorhus/detect-indent
|
|
887
|
+
|
|
888
|
+
> MIT License
|
|
889
|
+
>
|
|
890
|
+
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
891
|
+
>
|
|
892
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
893
|
+
>
|
|
894
|
+
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
895
|
+
>
|
|
896
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
897
|
+
|
|
223
898
|
<!-- DEPENDENCIES -->
|
|
224
899
|
|
|
225
900
|
<!-- TYPE_DEPENDENCIES -->
|
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";var le=Object.defineProperty;var o=(e,t)=>le(e,"name",{value:t,configurable:!0});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("node:fs/promises"),w=require("./shared/fs.DpFCX-WT.cjs"),u=require("node:fs"),s=require("@visulima/path"),h=require("@visulima/path/utils"),g=require("./shared/fs.CjglVHda.cjs"),ye=require("node:process"),x=require("node:zlib"),k=require("yaml"),O=0,j=4,fe=2,de=1,R=Symbol("findUpStop");var ue=Object.defineProperty,me=o((e,t)=>ue(e,"name",{value:t,configurable:!0}),"i$b");const $=me(e=>{if(e.isFile())return"file";if(e.isDirectory())return"dir";if(e.isSymbolicLink())return"symlink"},"getFileInfoType");var pe=Object.defineProperty,we=o((e,t)=>pe(e,"name",{value:t,configurable:!0}),"i$a");const he=we(async e=>{w.s(e);try{const t=await m.lstat(e);if(!t.isDirectory())throw new Error(`Ensure path exists, expected 'dir', got '${$(t)}'`);return}catch(t){if(t.code!=="ENOENT")throw t}try{await m.mkdir(e,{recursive:!0})}catch(t){if(t.code!=="EEXIST")throw t;const n=await m.lstat(e);if(!n.isDirectory())throw new Error(`Ensure path exists, expected 'dir', got '${$(n)}'`)}},"ensureDir"),N=he;var ve=Object.defineProperty,ge=o((e,t)=>ve(e,"name",{value:t,configurable:!0}),"o$9");const $e=ge(e=>{w.s(e);try{const t=u.lstatSync(e);if(!t.isDirectory())throw new Error(`Ensure path exists, expected 'dir', got '${$(t)}'`);return}catch(t){if(t.code!=="ENOENT")throw t}try{u.mkdirSync(e,{recursive:!0})}catch(t){if(t.code!=="EEXIST")throw t;const n=u.lstatSync(e);if(!n.isDirectory())throw new Error(`Ensure path exists, expected 'dir', got '${$(n)}'`)}},"ensureDirSync"),L=$e;var be=Object.defineProperty,Se=o((e,t)=>be(e,"name",{value:t,configurable:!0}),"e$5");const Pe=Se(async e=>{w.s(e);try{const t=await m.lstat(e);if(!t.isFile())throw new Error(`Ensure path exists, expected 'file', got '${$(t)}'`)}catch(t){if(t.code==="ENOENT"){await N(s.dirname(h.toPath(e))),await m.writeFile(e,new Uint8Array);return}throw t}},"ensureFile"),ke=Pe;var Oe=Object.defineProperty,Fe=o((e,t)=>Oe(e,"name",{value:t,configurable:!0}),"e$4");const Ee=Fe(e=>{w.s(e);try{const t=u.lstatSync(e);if(!t.isFile())throw new Error(`Ensure path exists, expected 'file', got '${$(t)}'`)}catch(t){if(t.code==="ENOENT"){L(s.dirname(h.toPath(e))),u.writeFileSync(e,new Uint8Array);return}throw t}},"ensureFileSync"),je=Ee;var De=Object.defineProperty,xe=o((e,t)=>De(e,"name",{value:t,configurable:!0}),"d$6");const F=xe((e,t)=>!!t.ino&&!!t.dev&&t.ino===e.ino&&t.dev===e.dev,"isStatsIdentical");var Te=Object.defineProperty,Ae=o((e,t)=>Te(e,"name",{value:t,configurable:!0}),"m$8");const Ne=Ae(async(e,t)=>{w.s(e),w.s(t),e=s.toNamespacedPath(h.toPath(e)),t=s.toNamespacedPath(h.toPath(t));let n;try{n=await m.lstat(t)}catch{}let r;try{r=await m.lstat(e)}catch(i){throw i.message=i.message.replace("lstat","ensureLink"),i}n&&F(r,n)||(await N(s.dirname(t)),await m.link(e,t))},"ensureLink"),Le=Ne;var Ie=Object.defineProperty,_e=o((e,t)=>Ie(e,"name",{value:t,configurable:!0}),"o$6");const Re=_e((e,t)=>{w.s(e),w.s(t),e=s.toNamespacedPath(h.toPath(e)),t=s.toNamespacedPath(h.toPath(t));let n;try{n=u.lstatSync(t)}catch{}let r;try{r=u.lstatSync(e)}catch(i){throw i.message=i.message.replace("lstat","ensureLink"),i}n&&F(r,n)||(L(s.dirname(t)),u.linkSync(e,t))},"ensureLinkSync"),Ue=Re;var Ye=Object.defineProperty,ze=o((e,t)=>Ye(e,"name",{value:t,configurable:!0}),"i$9");const M=ze((e,t)=>typeof e!="string"?e:e.startsWith("./")?s.resolve(e):typeof t=="string"?s.resolve(s.dirname(t),e):new URL(e,t),"resolveSymlinkTarget");var Je=Object.defineProperty,Ke=o((e,t)=>Je(e,"name",{value:t,configurable:!0}),"f$4");const qe=process.platform==="win32"||/^(?:msys|cygwin)$/.test(process.env.OSTYPE),Ce=Ke(async(e,t,n)=>{w.s(e),w.s(t);const r=M(e,t);t=s.toNamespacedPath(h.toPath(t));try{if((await m.lstat(t)).isSymbolicLink()&&F(await m.stat(r),await m.stat(t))){const[y,d]=await Promise.all([m.stat(r),m.stat(t)]);if(F(y,d))return}}catch{}const i=await m.lstat(r),c=$(i);await N(s.dirname(t));const l=n??(qe?"junction":c==="dir"?"dir":"file");try{await m.symlink(s.toNamespacedPath(h.toPath(r)),t,l)}catch(y){if(y.code!=="EEXIST")throw y;const d=await m.lstat(t);if(!d.isSymbolicLink())throw new g.l("A "+$(d)+" already exists at the path: "+t);const f=await m.readlink(t),p=s.toNamespacedPath(s.resolve(f));if(p!==r)throw new g.l("A symlink targeting to an undesired path already exists: "+t+" -> "+p)}},"ensureSymlink"),We=Ce;var Me=Object.defineProperty,Xe=o((e,t)=>Me(e,"name",{value:t,configurable:!0}),"f$3");const Be=process.platform==="win32"||/^(?:msys|cygwin)$/.test(process.env.OSTYPE),Ve=Xe((e,t,n)=>{w.s(e),w.s(t);const r=M(e,t);t=s.toNamespacedPath(h.toPath(t));try{if(u.lstatSync(t).isSymbolicLink()&&F(u.statSync(r),u.statSync(t))){const y=u.statSync(r),d=u.statSync(t);if(F(y,d))return}}catch{}const i=u.lstatSync(r),c=$(i);L(s.dirname(t));const l=n??(Be?"junction":c==="dir"?"dir":"file");try{u.symlinkSync(s.toNamespacedPath(h.toPath(r)),t,l)}catch(y){if(y.code!=="EEXIST")throw y;const d=u.lstatSync(t);if(!d.isSymbolicLink())throw new g.l("A "+$(d)+" already exists at the path: "+t);const f=u.readlinkSync(t),p=s.toNamespacedPath(s.resolve(f));if(p!==r)throw new g.l("A symlink targeting to an undesired path already exists: "+t+" -> "+p)}},"ensureSymlinkSync"),He=Ve;var Ge=Object.defineProperty,X=o((e,t)=>Ge(e,"name",{value:t,configurable:!0}),"r$4");const B=/\r?\n/g,U=`
|
|
2
2
|
`,T=`\r
|
|
3
|
-
`,Qe=ye.platform==="win32"?T:U,Ze=X(e=>{const t=e.match(B);if(!t||t.length===0)return null;const n=t.filter(i=>i===T).length,r=t.length-n;return n>r?T:U},"detect"),et=X((e,t)=>e.replaceAll(B,t),"format");var tt=Object.defineProperty,nt=o((e,t)=>tt(e,"name",{value:t,configurable:!0}),"r$3");const A=nt(e=>{const t=e.replace(/\.\*/g,".([^/]*)").replace(/\*\*/g,"(.*)").replace(/(?<!\.)\*(?!\*)/g,"([^/]*)").replace(/\?/g,"[^/]").replace(/\.(?!\*)/g,"\\.").replace(/\{/g,"(").replace(/\}/g,")").replace(/,/g,"|").replace(/\[!(.*?)\]/g,"[^$1]");return new RegExp(`^${t}$`)},"globToRegExp");var rt=Object.defineProperty,it=o((e,t)=>rt(e,"name",{value:t,configurable:!0}),"t$4");const b=it((e,t,n,r)=>Array.isArray(t)&&t.length>0&&!t.some(i=>e.endsWith(i))||n&&!n.some(i=>i.test(e))?!1:!(r&&r.some(i=>i.test(e))),"walkInclude");var at=Object.defineProperty,V=o((e,t)=>at(e,"name",{value:t,configurable:!0}),"f$2");const ot=V(async e=>{const t=s.normalize(e),n=s.basename(t),r=await m.stat(t);return{isDirectory:r.isDirectory,isFile:r.isFile,isSymbolicLink:r.isSymbolicLink,name:n,path:t}},"_createWalkEntry");async function*I(e,{extensions:t,followSymlinks:n=!1,includeDirs:r=!0,includeFiles:i=!0,includeSymlinks:c=!0,match:l,maxDepth:y=Number.POSITIVE_INFINITY,skip:d}={}){if(w.s(e),y<0)return;const f=l?l.map(a=>typeof a=="string"?A(a):a):void 0,p=d?d.map(a=>typeof a=="string"?A(a):a):void 0;if(e=s.resolve(h.toPath(e)),r&&b(e,t,f,p)&&(yield await ot(e)),!(y<1||!b(e,void 0,void 0,p)))try{for await(const a of await m.readdir(e,{withFileTypes:!0})){let v=s.join(e,a.name);if(a.isSymbolicLink())if(n)v=await m.realpath(v);else if(c&&b(v,t,f,p))yield{isDirectory:a.isDirectory,isFile:a.isFile,isSymbolicLink:a.isSymbolicLink,name:a.name,path:v};else continue;a.isSymbolicLink()||a.isDirectory()?yield*I(v,{extensions:t,followSymlinks:n,includeDirs:r,includeFiles:i,includeSymlinks:c,match:f,maxDepth:y-1,skip:p}):a.isFile()&&i&&b(v,t,f,p)&&(yield{isDirectory:a.isDirectory,isFile:a.isFile,isSymbolicLink:a.isSymbolicLink,name:a.name,path:v})}}catch(a){throw a instanceof g.i?a:new g.i(a,e)}}o(I,"d$5");V(I,"walk");var ct=Object.defineProperty,st=o((e,t)=>ct(e,"name",{value:t,configurable:!0}),"e$2");const lt=st(async(e,t={})=>{Array.isArray(t.extensions)||(t.extensions=["js","mjs","cjs","ts"]);const n=[];for await(const r of I(e,t))n.push(r.path);return n},"collect"),yt=lt;var ft=Object.defineProperty,H=o((e,t)=>ft(e,"name",{value:t,configurable:!0}),"m$7");const dt=H(e=>{const t=s.normalize(e),n=u.statSync(t);return{isDirectory:n.isDirectory,isFile:n.isFile,isSymbolicLink:n.isSymbolicLink,name:s.basename(t),path:t}},"_createWalkEntry");function*_(e,{extensions:t,followSymlinks:n=!1,includeDirs:r=!0,includeFiles:i=!0,includeSymlinks:c=!0,match:l,maxDepth:y=Number.POSITIVE_INFINITY,skip:d}={}){if(w.s(e),y<0)return;const f=l?l.map(a=>typeof a=="string"?A(a):a):void 0,p=d?d.map(a=>typeof a=="string"?A(a):a):void 0;if(e=s.resolve(h.toPath(e)),r&&b(e,t,f,p)&&(yield dt(e)),!(y<1||!b(e,void 0,void 0,p)))try{for(const a of u.readdirSync(e,{withFileTypes:!0})){let v=s.join(e,a.name);if(a.isSymbolicLink())if(n)v=u.realpathSync(v);else if(c&&b(v,t,f,p))yield{isDirectory:a.isDirectory,isFile:a.isFile,isSymbolicLink:a.isSymbolicLink,name:a.name,path:s.normalize(v)};else continue;a.isSymbolicLink()||a.isDirectory()?yield*_(v,{extensions:t,followSymlinks:n,includeDirs:r,includeFiles:i,includeSymlinks:c,match:f,maxDepth:y-1,skip:p}):a.isFile()&&i&&b(v,t,f,p)&&(yield{isDirectory:a.isDirectory,isFile:a.isFile,isSymbolicLink:a.isSymbolicLink,name:a.name,path:s.normalize(v)})}}catch(a){throw a instanceof g.i?a:new g.i(a,e)}}o(_,"h$2");H(_,"walkSync");var ut=Object.defineProperty,mt=o((e,t)=>ut(e,"name",{value:t,configurable:!0}),"n$5");const pt=mt((e,t={})=>{Array.isArray(t.extensions)||(t.extensions=["js","mjs","cjs","ts"]);const n=[];for(const r of _(e,t))n.push(r.path);return n},"collectSync"),wt=pt;var ht=Object.defineProperty,q=o((e,t)=>ht(e,"name",{value:t,configurable:!0}),"n$4");const vt=q(async(e,t={})=>{if(typeof e!="string"&&!Array.isArray(e)&&typeof e!="function")throw new TypeError("The `name` argument must be of type `string` or `string[]`");const n=t.cwd?h.toPath(t.cwd):process.cwd();let r=s.resolve(n);const{root:i}=s.parse(r),c=h.toPath(t.stopAt??i),l=s.resolve(r,c),y=t.type??"file",d=q(async function(f){return typeof e=="function"?[await e(f)]:typeof e=="string"?[e]:Array.isArray(e)?e:[e]},"getMatchers");for(;r&&r!==l&&r!==i;){for await(const f of await d(r)){if(f===R)return;if(f===void 0)continue;const p=s.isAbsolute(f)?f:s.resolve(r,f);try{const a=await m.stat(p);if(y==="file"&&a.isFile()||y==="directory"&&a.isDirectory())return p}catch{}}r=s.dirname(r)}},"findUp"),gt=vt;var $t=Object.defineProperty,C=o((e,t)=>$t(e,"name",{value:t,configurable:!0}),"o$3");const bt=C((e,t={})=>{if(typeof e!="string"&&!Array.isArray(e)&&typeof e!="function")throw new TypeError("The `name` argument must be of type `string` or `string[]`");const n=t.cwd?h.toPath(t.cwd):process.cwd();let r=s.resolve(n);const{root:i}=s.parse(r),c=h.toPath(t.stopAt??i),l=s.resolve(r,c),y=t.type??"file",d=C(function(f){return typeof e=="function"?[e(f)]:typeof e=="string"?[e]:Array.isArray(e)?e:[e]},"getMatchers");for(;r&&r!==l&&r!==i;){for(const f of d(r)){if(f===R)return;if(f===void 0)continue;const p=s.isAbsolute(f)?f:s.resolve(r,f);try{const a=u.statSync(p);if(y==="file"&&a.isFile()||y==="directory"&&a.isDirectory())return p}catch{}}r=s.dirname(r)}},"findUpSync"),St=bt;var Pt=Object.defineProperty,kt=o((e,t)=>Pt(e,"name",{value:t,configurable:!0}),"o$2");async function S(e,t=O){w.s(e),e=h.toPath(e);try{return await m.access(e,t),!0}catch{return!1}}o(S,"m$6");kt(S,"isAccessible");var Ot=Object.defineProperty,Ft=o((e,t)=>Ot(e,"name",{value:t,configurable:!0}),"o$1");function P(e,t=O){w.s(e),e=h.toPath(e);try{return u.accessSync(e,t),!0}catch{return!1}}o(P,"m$5");Ft(P,"isAccessibleSync");var Et=Object.defineProperty,G=o((e,t)=>Et(e,"name",{value:t,configurable:!0}),"n$3");const jt={brotli:x.brotliDecompress,gzip:x.unzip,none:G((e,t)=>{t(null,e)},"none")},Dt=G(async(e,t)=>{if(w.s(e),e=h.toPath(e),!await S(e))throw new g.s(`unable to read the non-accessible file: ${e}`);if(!await S(e,j))throw new Error(`Unable to read the non-readable file: ${e}`);const{buffer:n,compression:r,encoding:i,flag:c}=t??{};return await m.readFile(e,c?{encoding:i,flag:c}:{encoding:i}).then(async l=>await new Promise((y,d)=>{jt[r??"none"](l,(f,p)=>{f?d(f):y(n?p:p.toString())})})).catch(l=>{throw l})},"readFile"),Y=Dt;var xt=Object.defineProperty,Q=o((e,t)=>xt(e,"name",{value:t,configurable:!0}),"n$2");const Tt={brotli:x.brotliDecompressSync,gzip:x.unzipSync,none:Q(e=>e,"none")},At=Q((e,t)=>{if(w.s(e),e=h.toPath(e),!P(e))throw new g.s(`unable to read the non-accessible file: ${e}`);if(!P(e,j))throw new g.s(`invalid access to read file at: ${e}`);const{buffer:n,compression:r,encoding:i,flag:c}=t??{},l=u.readFileSync(e,c?{encoding:i,flag:c}:{encoding:i}),y=Tt[r??"none"](l);return n?y:y.toString()},"readFileSync"),z=At;var Nt=Object.defineProperty,Lt=o((e,t)=>Nt(e,"name",{value:t,configurable:!0}),"i$7");async function Z(e,t,n){typeof t=="object"&&(n=t,t=void 0);const r=await Y(e,{buffer:!0,encoding:void 0});let i=new TextDecoder().decode(r);const{beforeParse:c,color:l}=n??{};return typeof c=="function"&&(i=c(i)),w.F(i,t,h.toPath(e),{color:l})}o(Z,"c");Lt(Z,"readJson");var It=Object.defineProperty,_t=o((e,t)=>It(e,"name",{value:t,configurable:!0}),"r$2");function ee(e,t,n){typeof t=="object"&&(n=t,t=void 0);const r=z(e,{buffer:!0,encoding:void 0});let i=new TextDecoder().decode(r);const{beforeParse:c,color:l}=n??{};return typeof c=="function"&&(i=c(i)),w.F(i,t,h.toPath(e),{color:l})}o(ee,"J");_t(ee,"readJsonSync");var Rt=Object.defineProperty,Ut=o((e,t)=>Rt(e,"name",{value:t,configurable:!0}),"e$1");async function te(e,t,n){const{buffer:r,compression:i,encoding:c="utf8",flag:l,...y}=n??{},d=await Y(e,{buffer:r,compression:i,encoding:c,flag:l});return typeof t=="function"?k.parse(d,t,y):k.parse(d,y)}o(te,"d$2");Ut(te,"readYaml");var Yt=Object.defineProperty,zt=o((e,t)=>Yt(e,"name",{value:t,configurable:!0}),"i$6");function ne(e,t,n){const{buffer:r,compression:i,encoding:c="utf8",flag:l,...y}=n??{},d=z(e,{buffer:r,compression:i,encoding:c,flag:l});return typeof t=="function"?k.parse(d,t,y):k.parse(d,y)}o(ne,"d$1");zt(ne,"readYamlSync");var Jt=Object.defineProperty,Kt=o((e,t)=>Jt(e,"name",{value:t,configurable:!0}),"i$5");const qt=Kt(async(e,t)=>{if(w.s(e),!u.existsSync(e)){await m.mkdir(e,{recursive:!0});return}for await(const n of await m.readdir(e))await m.rm(s.join(h.toPath(e),n),{...t,force:!0,recursive:!0})},"emptyDir"),Ct=qt;var Wt=Object.defineProperty,Mt=o((e,t)=>Wt(e,"name",{value:t,configurable:!0}),"o");const Xt=Mt((e,t)=>{if(w.s(e),!u.existsSync(e)){u.mkdirSync(e,{recursive:!0});return}for(const n of u.readdirSync(e))u.rmSync(s.join(h.toPath(e),n),{...t,force:!0,recursive:!0})},"emptyDir"),Bt=Xt;var Vt=Object.defineProperty,Ht=o((e,t)=>Vt(e,"name",{value:t,configurable:!0}),"t$1");const Gt=Ht(async(e,t={})=>{w.s(e);try{await m.unlink(e)}catch{}try{await m.rm(e,{force:!0,maxRetries:t?.maxRetries,recursive:!0,retryDelay:t?.retryDelay})}catch{}},"remove"),Qt=Gt;var Zt=Object.defineProperty,en=o((e,t)=>Zt(e,"name",{value:t,configurable:!0}),"t");const tn=en((e,t={})=>{w.s(e);try{u.unlinkSync(e)}catch{}try{u.rmSync(e,{force:!0,maxRetries:t?.maxRetries,recursive:!0,retryDelay:t?.retryDelay})}catch{}},"removeSync"),nn=tn;var rn=Object.defineProperty,an=o((e,t)=>rn(e,"name",{value:t,configurable:!0}),"f$1");const on=new TextEncoder,re=an(e=>{if(e instanceof Uint8Array)return e;if(typeof e=="string")return on.encode(e);if(e instanceof ArrayBuffer)return new Uint8Array(e);if(ArrayBuffer.isView(e)){const t=e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength);return new Uint8Array(t)}throw new TypeError("Invalid contents type. Expected string or ArrayBuffer.")},"toUint8Array");var cn=Object.defineProperty,sn=o((e,t)=>cn(e,"name",{value:t,configurable:!0}),"d");const ln=sn(async(e,t,n)=>{n={encoding:"utf8",flag:"w",overwrite:!0,recursive:!0,...n},w.s(e),w.v(t),e=h.toPath(e);try{const r=await S(e,O);if(!r&&n.recursive){const l=s.dirname(e);await S(l,O)||await m.mkdir(l,{recursive:!0})}let i;await m.writeFile(`${e}.tmp`,re(t),{encoding:n.encoding,flag:n.flag}),r&&!n.overwrite&&(i=await m.stat(e),n.chown===void 0&&(n.chown={gid:i.gid,uid:i.uid}),await m.rename(e,`${e}.bak`));const c=`${e}.tmp`;if(n.chown)try{await m.chown(c,n.chown.uid,n.chown.gid)}catch{}await m.chmod(c,i&&!n.mode?i.mode:n.mode??438),await m.rename(c,e)}catch(r){throw new Error(`Failed to write file at: ${e} - ${r.message}`,{cause:r})}finally{await S(`${e}.tmp`)&&await m.unlink(`${e}.tmp`)}},"writeFile"),J=ln;var yn=Object.defineProperty,fn=o((e,t)=>yn(e,"name",{value:t,configurable:!0}),"f");const dn=fn((e,t,n)=>{n={encoding:"utf8",flag:"w",overwrite:!0,recursive:!0,...n},w.s(e),w.v(t),e=h.toPath(e);try{const r=P(e,O);if(!r&&n.recursive){const l=s.dirname(e);P(l,O)||u.mkdirSync(l,{recursive:!0})}let i;u.writeFileSync(`${e}.tmp`,re(t),{encoding:n.encoding,flag:n.flag}),r&&!n.overwrite&&(i=u.statSync(e),n.chown===void 0&&(n.chown={gid:i.gid,uid:i.uid}),u.renameSync(e,`${e}.bak`));const c=`${e}.tmp`;if(n.chown)try{u.chownSync(c,n.chown.uid,n.chown.gid)}catch{}u.chmodSync(c,i&&!n.mode?i.mode:n.mode??438),u.renameSync(c,e)}catch(r){throw new Error(`Failed to write file at: ${e} - ${r.message}`,{cause:r})}finally{P(`${e}.tmp`)&&u.unlinkSync(`${e}.tmp`)}},"writeFileSync"),K=dn,un=/^(?:( )+|\t+)/,E="space",ie="tab";function W(e,t){const n=new Map;let r=0,i,c;for(const l of e.split(/\n/g)){if(!l)continue;let y,d,f,p,a;const v=l.match(un);if(v===null)r=0,i="";else{if(y=v[0].length,d=v[1]?E:ie,t&&d===E&&y===1)continue;d!==i&&(r=0),i=d,f=1,p=0;const D=y-r;if(r=y,D===0)f=0,p=1;else{const se=D>0?D:-D;c=mn(d,se)}a=n.get(c),a=a===void 0?[1,0]:[a[0]+f,a[1]+p],n.set(c,a)}}return n}o(W,"makeIndentsMap");function mn(e,t){return(e===E?"s":"t")+String(t)}o(mn,"encodeIndentsKey");function pn(e){const n=e[0]==="s"?E:ie,r=Number(e.slice(1));return{type:n,amount:r}}o(pn,"decodeIndentsKey");function wn(e){let t,n=0,r=0;for(const[i,[c,l]]of e)(c>n||c===n&&l>r)&&(n=c,r=l,t=i);return t}o(wn,"getMostUsedKey");function hn(e,t){return(e===E?" ":" ").repeat(t)}o(hn,"makeIndentString");function ae(e){if(typeof e!="string")throw new TypeError("Expected a string");let t=W(e,!0);t.size===0&&(t=W(e,!1));const n=wn(t);let r,i=0,c="";return n!==void 0&&({type:r,amount:i}=pn(n),c=hn(r,i)),{amount:i,type:r,indent:c}}o(ae,"detectIndent");var vn=Object.defineProperty,gn=o((e,t)=>vn(e,"name",{value:t,configurable:!0}),"r$1");const $n=gn(async(e,t,n={})=>{const{detectIndent:r,indent:i,replacer:c,stringify:l=JSON.stringify,...y}={indent:" ",...n};let d=i,f=`
|
|
3
|
+
`,Qe=ye.platform==="win32"?T:U,Ze=X(e=>{const t=e.match(B);if(!t||t.length===0)return null;const n=t.filter(i=>i===T).length,r=t.length-n;return n>r?T:U},"detect"),et=X((e,t)=>e.replaceAll(B,t),"format");var tt=Object.defineProperty,nt=o((e,t)=>tt(e,"name",{value:t,configurable:!0}),"r$3");const A=nt(e=>{const t=e.replace(/\.\*/g,".([^/]*)").replace(/\*\*/g,"(.*)").replace(/(?<!\.)\*(?!\*)/g,"([^/]*)").replace(/\?/g,"[^/]").replace(/\.(?!\*)/g,"\\.").replace(/\{/g,"(").replace(/\}/g,")").replace(/,/g,"|").replace(/\[!(.*?)\]/g,"[^$1]");return new RegExp(`^${t}$`)},"globToRegExp");var rt=Object.defineProperty,it=o((e,t)=>rt(e,"name",{value:t,configurable:!0}),"n$6");const b=it((e,t,n,r)=>Array.isArray(t)&&t.length>0&&!t.some(i=>e.endsWith(i))||n&&!n.some(i=>i.test(e))?!1:!r?.some(i=>i.test(e)),"walkInclude");var at=Object.defineProperty,V=o((e,t)=>at(e,"name",{value:t,configurable:!0}),"f$2");const ot=V(async e=>{const t=s.normalize(e),n=s.basename(t),r=await m.stat(t);return{isDirectory:r.isDirectory,isFile:r.isFile,isSymbolicLink:r.isSymbolicLink,name:n,path:t}},"_createWalkEntry");async function*I(e,{extensions:t,followSymlinks:n=!1,includeDirs:r=!0,includeFiles:i=!0,includeSymlinks:c=!0,match:l,maxDepth:y=Number.POSITIVE_INFINITY,skip:d}={}){if(w.s(e),y<0)return;const f=l?l.map(a=>typeof a=="string"?A(a):a):void 0,p=d?d.map(a=>typeof a=="string"?A(a):a):void 0;if(e=s.resolve(h.toPath(e)),r&&b(e,t,f,p)&&(yield await ot(e)),!(y<1||!b(e,void 0,void 0,p)))try{for await(const a of await m.readdir(e,{withFileTypes:!0})){let v=s.join(e,a.name);if(a.isSymbolicLink())if(n)v=await m.realpath(v);else if(c&&b(v,t,f,p))yield{isDirectory:a.isDirectory,isFile:a.isFile,isSymbolicLink:a.isSymbolicLink,name:a.name,path:v};else continue;a.isSymbolicLink()||a.isDirectory()?yield*I(v,{extensions:t,followSymlinks:n,includeDirs:r,includeFiles:i,includeSymlinks:c,match:f,maxDepth:y-1,skip:p}):a.isFile()&&i&&b(v,t,f,p)&&(yield{isDirectory:a.isDirectory,isFile:a.isFile,isSymbolicLink:a.isSymbolicLink,name:a.name,path:v})}}catch(a){throw a instanceof g.i?a:new g.i(a,e)}}o(I,"d$5");V(I,"walk");var ct=Object.defineProperty,st=o((e,t)=>ct(e,"name",{value:t,configurable:!0}),"e$2");const lt=st(async(e,t={})=>{Array.isArray(t.extensions)||(t.extensions=["js","mjs","cjs","ts"]);const n=[];for await(const r of I(e,t))n.push(r.path);return n},"collect"),yt=lt;var ft=Object.defineProperty,H=o((e,t)=>ft(e,"name",{value:t,configurable:!0}),"m$7");const dt=H(e=>{const t=s.normalize(e),n=u.statSync(t);return{isDirectory:n.isDirectory,isFile:n.isFile,isSymbolicLink:n.isSymbolicLink,name:s.basename(t),path:t}},"_createWalkEntry");function*_(e,{extensions:t,followSymlinks:n=!1,includeDirs:r=!0,includeFiles:i=!0,includeSymlinks:c=!0,match:l,maxDepth:y=Number.POSITIVE_INFINITY,skip:d}={}){if(w.s(e),y<0)return;const f=l?l.map(a=>typeof a=="string"?A(a):a):void 0,p=d?d.map(a=>typeof a=="string"?A(a):a):void 0;if(e=s.resolve(h.toPath(e)),r&&b(e,t,f,p)&&(yield dt(e)),!(y<1||!b(e,void 0,void 0,p)))try{for(const a of u.readdirSync(e,{withFileTypes:!0})){let v=s.join(e,a.name);if(a.isSymbolicLink())if(n)v=u.realpathSync(v);else if(c&&b(v,t,f,p))yield{isDirectory:a.isDirectory,isFile:a.isFile,isSymbolicLink:a.isSymbolicLink,name:a.name,path:s.normalize(v)};else continue;a.isSymbolicLink()||a.isDirectory()?yield*_(v,{extensions:t,followSymlinks:n,includeDirs:r,includeFiles:i,includeSymlinks:c,match:f,maxDepth:y-1,skip:p}):a.isFile()&&i&&b(v,t,f,p)&&(yield{isDirectory:a.isDirectory,isFile:a.isFile,isSymbolicLink:a.isSymbolicLink,name:a.name,path:s.normalize(v)})}}catch(a){throw a instanceof g.i?a:new g.i(a,e)}}o(_,"h$2");H(_,"walkSync");var ut=Object.defineProperty,mt=o((e,t)=>ut(e,"name",{value:t,configurable:!0}),"n$5");const pt=mt((e,t={})=>{Array.isArray(t.extensions)||(t.extensions=["js","mjs","cjs","ts"]);const n=[];for(const r of _(e,t))n.push(r.path);return n},"collectSync"),wt=pt;var ht=Object.defineProperty,q=o((e,t)=>ht(e,"name",{value:t,configurable:!0}),"n$4");const vt=q(async(e,t={})=>{if(typeof e!="string"&&!Array.isArray(e)&&typeof e!="function")throw new TypeError("The `name` argument must be of type `string` or `string[]`");const n=t.cwd?h.toPath(t.cwd):process.cwd();let r=s.resolve(n);const{root:i}=s.parse(r),c=h.toPath(t.stopAt??i),l=s.resolve(r,c),y=t.type??"file",d=q(async function(f){return typeof e=="function"?[await e(f)]:typeof e=="string"?[e]:Array.isArray(e)?e:[e]},"getMatchers");for(;r&&r!==l&&r!==i;){for await(const f of await d(r)){if(f===R)return;if(f===void 0)continue;const p=s.isAbsolute(f)?f:s.resolve(r,f);try{const a=await m.stat(p);if(y==="file"&&a.isFile()||y==="directory"&&a.isDirectory())return p}catch{}}r=s.dirname(r)}},"findUp"),gt=vt;var $t=Object.defineProperty,C=o((e,t)=>$t(e,"name",{value:t,configurable:!0}),"o$3");const bt=C((e,t={})=>{if(typeof e!="string"&&!Array.isArray(e)&&typeof e!="function")throw new TypeError("The `name` argument must be of type `string` or `string[]`");const n=t.cwd?h.toPath(t.cwd):process.cwd();let r=s.resolve(n);const{root:i}=s.parse(r),c=h.toPath(t.stopAt??i),l=s.resolve(r,c),y=t.type??"file",d=C(function(f){return typeof e=="function"?[e(f)]:typeof e=="string"?[e]:Array.isArray(e)?e:[e]},"getMatchers");for(;r&&r!==l&&r!==i;){for(const f of d(r)){if(f===R)return;if(f===void 0)continue;const p=s.isAbsolute(f)?f:s.resolve(r,f);try{const a=u.statSync(p);if(y==="file"&&a.isFile()||y==="directory"&&a.isDirectory())return p}catch{}}r=s.dirname(r)}},"findUpSync"),St=bt;var Pt=Object.defineProperty,kt=o((e,t)=>Pt(e,"name",{value:t,configurable:!0}),"o$2");async function S(e,t=O){w.s(e),e=h.toPath(e);try{return await m.access(e,t),!0}catch{return!1}}o(S,"m$6");kt(S,"isAccessible");var Ot=Object.defineProperty,Ft=o((e,t)=>Ot(e,"name",{value:t,configurable:!0}),"o$1");function P(e,t=O){w.s(e),e=h.toPath(e);try{return u.accessSync(e,t),!0}catch{return!1}}o(P,"m$5");Ft(P,"isAccessibleSync");var Et=Object.defineProperty,G=o((e,t)=>Et(e,"name",{value:t,configurable:!0}),"n$3");const jt={brotli:x.brotliDecompress,gzip:x.unzip,none:G((e,t)=>{t(null,e)},"none")},Dt=G(async(e,t)=>{if(w.s(e),e=h.toPath(e),!await S(e))throw new g.s(`unable to read the non-accessible file: ${e}`);if(!await S(e,j))throw new Error(`Unable to read the non-readable file: ${e}`);const{buffer:n,compression:r,encoding:i,flag:c}=t??{};return await m.readFile(e,c?{encoding:i,flag:c}:{encoding:i}).then(async l=>await new Promise((y,d)=>{jt[r??"none"](l,(f,p)=>{f?d(f):y(n?p:p.toString())})})).catch(l=>{throw l})},"readFile"),Y=Dt;var xt=Object.defineProperty,Q=o((e,t)=>xt(e,"name",{value:t,configurable:!0}),"n$2");const Tt={brotli:x.brotliDecompressSync,gzip:x.unzipSync,none:Q(e=>e,"none")},At=Q((e,t)=>{if(w.s(e),e=h.toPath(e),!P(e))throw new g.s(`unable to read the non-accessible file: ${e}`);if(!P(e,j))throw new g.s(`invalid access to read file at: ${e}`);const{buffer:n,compression:r,encoding:i,flag:c}=t??{},l=u.readFileSync(e,c?{encoding:i,flag:c}:{encoding:i}),y=Tt[r??"none"](l);return n?y:y.toString()},"readFileSync"),z=At;var Nt=Object.defineProperty,Lt=o((e,t)=>Nt(e,"name",{value:t,configurable:!0}),"i$7");async function Z(e,t,n){typeof t=="object"&&(n=t,t=void 0);const r=await Y(e,{buffer:!0,encoding:void 0});let i=new TextDecoder().decode(r);const{beforeParse:c,color:l}=n??{};return typeof c=="function"&&(i=c(i)),w.F(i,t,h.toPath(e),{color:l})}o(Z,"c");Lt(Z,"readJson");var It=Object.defineProperty,_t=o((e,t)=>It(e,"name",{value:t,configurable:!0}),"r$2");function ee(e,t,n){typeof t=="object"&&(n=t,t=void 0);const r=z(e,{buffer:!0,encoding:void 0});let i=new TextDecoder().decode(r);const{beforeParse:c,color:l}=n??{};return typeof c=="function"&&(i=c(i)),w.F(i,t,h.toPath(e),{color:l})}o(ee,"J");_t(ee,"readJsonSync");var Rt=Object.defineProperty,Ut=o((e,t)=>Rt(e,"name",{value:t,configurable:!0}),"e$1");async function te(e,t,n){const{buffer:r,compression:i,encoding:c="utf8",flag:l,...y}=n??{},d=await Y(e,{buffer:r,compression:i,encoding:c,flag:l});return typeof t=="function"?k.parse(d,t,y):k.parse(d,y)}o(te,"d$2");Ut(te,"readYaml");var Yt=Object.defineProperty,zt=o((e,t)=>Yt(e,"name",{value:t,configurable:!0}),"i$6");function ne(e,t,n){const{buffer:r,compression:i,encoding:c="utf8",flag:l,...y}=n??{},d=z(e,{buffer:r,compression:i,encoding:c,flag:l});return typeof t=="function"?k.parse(d,t,y):k.parse(d,y)}o(ne,"d$1");zt(ne,"readYamlSync");var Jt=Object.defineProperty,Kt=o((e,t)=>Jt(e,"name",{value:t,configurable:!0}),"i$5");const qt=Kt(async(e,t)=>{if(w.s(e),!u.existsSync(e)){await m.mkdir(e,{recursive:!0});return}for await(const n of await m.readdir(e))await m.rm(s.join(h.toPath(e),n),{...t,force:!0,recursive:!0})},"emptyDir"),Ct=qt;var Wt=Object.defineProperty,Mt=o((e,t)=>Wt(e,"name",{value:t,configurable:!0}),"o");const Xt=Mt((e,t)=>{if(w.s(e),!u.existsSync(e)){u.mkdirSync(e,{recursive:!0});return}for(const n of u.readdirSync(e))u.rmSync(s.join(h.toPath(e),n),{...t,force:!0,recursive:!0})},"emptyDir"),Bt=Xt;var Vt=Object.defineProperty,Ht=o((e,t)=>Vt(e,"name",{value:t,configurable:!0}),"t$1");const Gt=Ht(async(e,t={})=>{w.s(e);try{await m.unlink(e)}catch{}try{await m.rm(e,{force:!0,maxRetries:t?.maxRetries,recursive:!0,retryDelay:t?.retryDelay})}catch{}},"remove"),Qt=Gt;var Zt=Object.defineProperty,en=o((e,t)=>Zt(e,"name",{value:t,configurable:!0}),"t");const tn=en((e,t={})=>{w.s(e);try{u.unlinkSync(e)}catch{}try{u.rmSync(e,{force:!0,maxRetries:t?.maxRetries,recursive:!0,retryDelay:t?.retryDelay})}catch{}},"removeSync"),nn=tn;var rn=Object.defineProperty,an=o((e,t)=>rn(e,"name",{value:t,configurable:!0}),"f$1");const on=new TextEncoder,re=an(e=>{if(e instanceof Uint8Array)return e;if(typeof e=="string")return on.encode(e);if(e instanceof ArrayBuffer)return new Uint8Array(e);if(ArrayBuffer.isView(e)){const t=e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength);return new Uint8Array(t)}throw new TypeError("Invalid contents type. Expected string or ArrayBuffer.")},"toUint8Array");var cn=Object.defineProperty,sn=o((e,t)=>cn(e,"name",{value:t,configurable:!0}),"d");const ln=sn(async(e,t,n)=>{n={encoding:"utf8",flag:"w",overwrite:!0,recursive:!0,...n},w.s(e),w.v(t),e=h.toPath(e);try{const r=await S(e,O);if(!r&&n.recursive){const l=s.dirname(e);await S(l,O)||await m.mkdir(l,{recursive:!0})}let i;await m.writeFile(`${e}.tmp`,re(t),{encoding:n.encoding,flag:n.flag}),r&&!n.overwrite&&(i=await m.stat(e),n.chown===void 0&&(n.chown={gid:i.gid,uid:i.uid}),await m.rename(e,`${e}.bak`));const c=`${e}.tmp`;if(n.chown)try{await m.chown(c,n.chown.uid,n.chown.gid)}catch{}await m.chmod(c,i&&!n.mode?i.mode:n.mode??438),await m.rename(c,e)}catch(r){throw new Error(`Failed to write file at: ${e} - ${r.message}`,{cause:r})}finally{await S(`${e}.tmp`)&&await m.unlink(`${e}.tmp`)}},"writeFile"),J=ln;var yn=Object.defineProperty,fn=o((e,t)=>yn(e,"name",{value:t,configurable:!0}),"f");const dn=fn((e,t,n)=>{n={encoding:"utf8",flag:"w",overwrite:!0,recursive:!0,...n},w.s(e),w.v(t),e=h.toPath(e);try{const r=P(e,O);if(!r&&n.recursive){const l=s.dirname(e);P(l,O)||u.mkdirSync(l,{recursive:!0})}let i;u.writeFileSync(`${e}.tmp`,re(t),{encoding:n.encoding,flag:n.flag}),r&&!n.overwrite&&(i=u.statSync(e),n.chown===void 0&&(n.chown={gid:i.gid,uid:i.uid}),u.renameSync(e,`${e}.bak`));const c=`${e}.tmp`;if(n.chown)try{u.chownSync(c,n.chown.uid,n.chown.gid)}catch{}u.chmodSync(c,i&&!n.mode?i.mode:n.mode??438),u.renameSync(c,e)}catch(r){throw new Error(`Failed to write file at: ${e} - ${r.message}`,{cause:r})}finally{P(`${e}.tmp`)&&u.unlinkSync(`${e}.tmp`)}},"writeFileSync"),K=dn,un=/^(?:( )+|\t+)/,E="space",ie="tab";function W(e,t){const n=new Map;let r=0,i,c;for(const l of e.split(/\n/g)){if(!l)continue;let y,d,f,p,a;const v=l.match(un);if(v===null)r=0,i="";else{if(y=v[0].length,d=v[1]?E:ie,t&&d===E&&y===1)continue;d!==i&&(r=0),i=d,f=1,p=0;const D=y-r;if(r=y,D===0)f=0,p=1;else{const se=D>0?D:-D;c=mn(d,se)}a=n.get(c),a=a===void 0?[1,0]:[a[0]+f,a[1]+p],n.set(c,a)}}return n}o(W,"makeIndentsMap");function mn(e,t){return(e===E?"s":"t")+String(t)}o(mn,"encodeIndentsKey");function pn(e){const n=e[0]==="s"?E:ie,r=Number(e.slice(1));return{type:n,amount:r}}o(pn,"decodeIndentsKey");function wn(e){let t,n=0,r=0;for(const[i,[c,l]]of e)(c>n||c===n&&l>r)&&(n=c,r=l,t=i);return t}o(wn,"getMostUsedKey");function hn(e,t){return(e===E?" ":" ").repeat(t)}o(hn,"makeIndentString");function ae(e){if(typeof e!="string")throw new TypeError("Expected a string");let t=W(e,!0);t.size===0&&(t=W(e,!1));const n=wn(t);let r,i=0,c="";return n!==void 0&&({type:r,amount:i}=pn(n),c=hn(r,i)),{amount:i,type:r,indent:c}}o(ae,"detectIndent");var vn=Object.defineProperty,gn=o((e,t)=>vn(e,"name",{value:t,configurable:!0}),"r$1");const $n=gn(async(e,t,n={})=>{const{detectIndent:r,indent:i,replacer:c,stringify:l=JSON.stringify,...y}={indent:" ",...n};let d=i,f=`
|
|
4
4
|
`;if(await S(e,j))try{const a=await m.readFile(e,"utf8");if(r){const{indent:v}=ae(a);d=v}f=a.endsWith(`
|
|
5
5
|
`)?`
|
|
6
6
|
`:""}catch(a){if(a.code!=="ENOENT")throw a}const p=l(t,c,d);await J(e,`${p}${f}`,y)},"writeJson"),bn=$n;var Sn=Object.defineProperty,Pn=o((e,t)=>Sn(e,"name",{value:t,configurable:!0}),"r");const kn=Pn((e,t,n={})=>{const{detectIndent:r,indent:i,replacer:c,stringify:l=JSON.stringify,...y}={indent:" ",...n};let d=i,f=`
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var Te=Object.defineProperty;var o=(e,n)=>Te(e,"name",{value:n,configurable:!0});import{lstat as b,mkdir as W,writeFile as Q,link as Ae,stat as k,symlink as Le,readlink as Ie,readdir as Z,realpath as Ne,access as Re,readFile as ee,rm as ne,unlink as te,rename as B,chown as Ue,chmod as _e}from"node:fs/promises";import{s as m,F as ie,v as re}from"./shared/fs.CRRGdXGG.mjs";import{lstatSync as S,mkdirSync as z,writeFileSync as ae,linkSync as Ye,statSync as O,symlinkSync as Je,readlinkSync as We,readdirSync as oe,realpathSync as ze,accessSync as Ce,readFileSync as ce,existsSync as se,rmSync as le,unlinkSync as fe,renameSync as V,chownSync as Ke,chmodSync as Me}from"node:fs";import{dirname as v,toNamespacedPath as g,resolve as w,join as U,normalize as T,basename as ye,parse as ue,isAbsolute as de}from"@visulima/path";import{toPath as d}from"@visulima/path/utils";import{l as A,i as L,s as Y}from"./shared/fs.BMHe7vX1.mjs";import{platform as Xe}from"node:process";import{brotliDecompress as Be,unzip as Ve,brotliDecompressSync as He,unzipSync as Ge}from"node:zlib";import{parse as I,stringify as N}from"yaml";const P=0,_=4,yi=2,ui=1,me=Symbol("findUpStop");var qe=Object.defineProperty,Qe=o((e,n)=>qe(e,"name",{value:n,configurable:!0}),"i$b");const $=Qe(e=>{if(e.isFile())return"file";if(e.isDirectory())return"dir";if(e.isSymbolicLink())return"symlink"},"getFileInfoType");var Ze=Object.defineProperty,en=o((e,n)=>Ze(e,"name",{value:n,configurable:!0}),"i$a");const nn=en(async e=>{m(e);try{const n=await b(e);if(!n.isDirectory())throw new Error(`Ensure path exists, expected 'dir', got '${$(n)}'`);return}catch(n){if(n.code!=="ENOENT")throw n}try{await W(e,{recursive:!0})}catch(n){if(n.code!=="EEXIST")throw n;const t=await b(e);if(!t.isDirectory())throw new Error(`Ensure path exists, expected 'dir', got '${$(t)}'`)}},"ensureDir"),C=nn;var tn=Object.defineProperty,rn=o((e,n)=>tn(e,"name",{value:n,configurable:!0}),"o$9");const an=rn(e=>{m(e);try{const n=S(e);if(!n.isDirectory())throw new Error(`Ensure path exists, expected 'dir', got '${$(n)}'`);return}catch(n){if(n.code!=="ENOENT")throw n}try{z(e,{recursive:!0})}catch(n){if(n.code!=="EEXIST")throw n;const t=S(e);if(!t.isDirectory())throw new Error(`Ensure path exists, expected 'dir', got '${$(t)}'`)}},"ensureDirSync"),K=an;var on=Object.defineProperty,cn=o((e,n)=>on(e,"name",{value:n,configurable:!0}),"e$5");const sn=cn(async e=>{m(e);try{const n=await b(e);if(!n.isFile())throw new Error(`Ensure path exists, expected 'file', got '${$(n)}'`)}catch(n){if(n.code==="ENOENT"){await C(v(d(e))),await Q(e,new Uint8Array);return}throw n}},"ensureFile"),di=sn;var ln=Object.defineProperty,fn=o((e,n)=>ln(e,"name",{value:n,configurable:!0}),"e$4");const yn=fn(e=>{m(e);try{const n=S(e);if(!n.isFile())throw new Error(`Ensure path exists, expected 'file', got '${$(n)}'`)}catch(n){if(n.code==="ENOENT"){K(v(d(e))),ae(e,new Uint8Array);return}throw n}},"ensureFileSync"),mi=yn;var un=Object.defineProperty,dn=o((e,n)=>un(e,"name",{value:n,configurable:!0}),"d$6");const D=dn((e,n)=>!!n.ino&&!!n.dev&&n.ino===e.ino&&n.dev===e.dev,"isStatsIdentical");var mn=Object.defineProperty,pn=o((e,n)=>mn(e,"name",{value:n,configurable:!0}),"m$8");const wn=pn(async(e,n)=>{m(e),m(n),e=g(d(e)),n=g(d(n));let t;try{t=await b(n)}catch{}let i;try{i=await b(e)}catch(r){throw r.message=r.message.replace("lstat","ensureLink"),r}t&&D(i,t)||(await C(v(n)),await Ae(e,n))},"ensureLink"),pi=wn;var vn=Object.defineProperty,gn=o((e,n)=>vn(e,"name",{value:n,configurable:!0}),"o$6");const $n=gn((e,n)=>{m(e),m(n),e=g(d(e)),n=g(d(n));let t;try{t=S(n)}catch{}let i;try{i=S(e)}catch(r){throw r.message=r.message.replace("lstat","ensureLink"),r}t&&D(i,t)||(K(v(n)),Ye(e,n))},"ensureLinkSync"),wi=$n;var hn=Object.defineProperty,bn=o((e,n)=>hn(e,"name",{value:n,configurable:!0}),"i$9");const pe=bn((e,n)=>typeof e!="string"?e:e.startsWith("./")?w(e):typeof n=="string"?w(v(n),e):new URL(e,n),"resolveSymlinkTarget");var Sn=Object.defineProperty,kn=o((e,n)=>Sn(e,"name",{value:n,configurable:!0}),"f$4");const On=process.platform==="win32"||/^(?:msys|cygwin)$/.test(process.env.OSTYPE),En=kn(async(e,n,t)=>{m(e),m(n);const i=pe(e,n);n=g(d(n));try{if((await b(n)).isSymbolicLink()&&D(await k(i),await k(n))){const[l,y]=await Promise.all([k(i),k(n)]);if(D(l,y))return}}catch{}const r=await b(i),c=$(r);await C(v(n));const s=t??(On?"junction":c==="dir"?"dir":"file");try{await Le(g(d(i)),n,s)}catch(l){if(l.code!=="EEXIST")throw l;const y=await b(n);if(!y.isSymbolicLink())throw new A("A "+$(y)+" already exists at the path: "+n);const f=await Ie(n),u=g(w(f));if(u!==i)throw new A("A symlink targeting to an undesired path already exists: "+n+" -> "+u)}},"ensureSymlink"),vi=En;var Fn=Object.defineProperty,Pn=o((e,n)=>Fn(e,"name",{value:n,configurable:!0}),"f$3");const Dn=process.platform==="win32"||/^(?:msys|cygwin)$/.test(process.env.OSTYPE),jn=Pn((e,n,t)=>{m(e),m(n);const i=pe(e,n);n=g(d(n));try{if(S(n).isSymbolicLink()&&D(O(i),O(n))){const l=O(i),y=O(n);if(D(l,y))return}}catch{}const r=S(i),c=$(r);K(v(n));const s=t??(Dn?"junction":c==="dir"?"dir":"file");try{Je(g(d(i)),n,s)}catch(l){if(l.code!=="EEXIST")throw l;const y=S(n);if(!y.isSymbolicLink())throw new A("A "+$(y)+" already exists at the path: "+n);const f=We(n),u=g(w(f));if(u!==i)throw new A("A symlink targeting to an undesired path already exists: "+n+" -> "+u)}},"ensureSymlinkSync"),gi=jn;var xn=Object.defineProperty,we=o((e,n)=>xn(e,"name",{value:n,configurable:!0}),"r$4");const ve=/\r?\n/g,ge=`
|
|
2
2
|
`,J=`\r
|
|
3
|
-
`,$i=Xe==="win32"?J:ge,hi=we(e=>{const n=e.match(ve);if(!n||n.length===0)return null;const t=n.filter(r=>r===J).length,i=n.length-t;return t>i?J:ge},"detect"),bi=we((e,n)=>e.replaceAll(ve,n),"format");var Tn=Object.defineProperty,An=o((e,n)=>Tn(e,"name",{value:n,configurable:!0}),"r$3");const R=An(e=>{const n=e.replace(/\.\*/g,".([^/]*)").replace(/\*\*/g,"(.*)").replace(/(?<!\.)\*(?!\*)/g,"([^/]*)").replace(/\?/g,"[^/]").replace(/\.(?!\*)/g,"\\.").replace(/\{/g,"(").replace(/\}/g,")").replace(/,/g,"|").replace(/\[!(.*?)\]/g,"[^$1]");return new RegExp(`^${n}$`)},"globToRegExp");var Ln=Object.defineProperty,In=o((e,n)=>Ln(e,"name",{value:n,configurable:!0}),"t$4");const h=In((e,n,t,i)=>Array.isArray(n)&&n.length>0&&!n.some(r=>e.endsWith(r))||t&&!t.some(r=>r.test(e))?!1:!(i&&i.some(r=>r.test(e))),"walkInclude");var Nn=Object.defineProperty,$e=o((e,n)=>Nn(e,"name",{value:n,configurable:!0}),"f$2");const Rn=$e(async e=>{const n=T(e),t=ye(n),i=await k(n);return{isDirectory:i.isDirectory,isFile:i.isFile,isSymbolicLink:i.isSymbolicLink,name:t,path:n}},"_createWalkEntry");async function*M(e,{extensions:n,followSymlinks:t=!1,includeDirs:i=!0,includeFiles:r=!0,includeSymlinks:c=!0,match:s,maxDepth:l=Number.POSITIVE_INFINITY,skip:y}={}){if(m(e),l<0)return;const f=s?s.map(a=>typeof a=="string"?R(a):a):void 0,u=y?y.map(a=>typeof a=="string"?R(a):a):void 0;if(e=w(d(e)),i&&h(e,n,f,u)&&(yield await Rn(e)),!(l<1||!h(e,void 0,void 0,u)))try{for await(const a of await Z(e,{withFileTypes:!0})){let p=U(e,a.name);if(a.isSymbolicLink())if(t)p=await Ne(p);else if(c&&h(p,n,f,u))yield{isDirectory:a.isDirectory,isFile:a.isFile,isSymbolicLink:a.isSymbolicLink,name:a.name,path:p};else continue;a.isSymbolicLink()||a.isDirectory()?yield*M(p,{extensions:n,followSymlinks:t,includeDirs:i,includeFiles:r,includeSymlinks:c,match:f,maxDepth:l-1,skip:u}):a.isFile()&&r&&h(p,n,f,u)&&(yield{isDirectory:a.isDirectory,isFile:a.isFile,isSymbolicLink:a.isSymbolicLink,name:a.name,path:p})}}catch(a){throw a instanceof L?a:new L(a,e)}}o(M,"d$5");$e(M,"walk");var Un=Object.defineProperty,_n=o((e,n)=>Un(e,"name",{value:n,configurable:!0}),"e$2");const Yn=_n(async(e,n={})=>{Array.isArray(n.extensions)||(n.extensions=["js","mjs","cjs","ts"]);const t=[];for await(const i of M(e,n))t.push(i.path);return t},"collect"),Si=Yn;var Jn=Object.defineProperty,he=o((e,n)=>Jn(e,"name",{value:n,configurable:!0}),"m$7");const Wn=he(e=>{const n=T(e),t=O(n);return{isDirectory:t.isDirectory,isFile:t.isFile,isSymbolicLink:t.isSymbolicLink,name:ye(n),path:n}},"_createWalkEntry");function*X(e,{extensions:n,followSymlinks:t=!1,includeDirs:i=!0,includeFiles:r=!0,includeSymlinks:c=!0,match:s,maxDepth:l=Number.POSITIVE_INFINITY,skip:y}={}){if(m(e),l<0)return;const f=s?s.map(a=>typeof a=="string"?R(a):a):void 0,u=y?y.map(a=>typeof a=="string"?R(a):a):void 0;if(e=w(d(e)),i&&h(e,n,f,u)&&(yield Wn(e)),!(l<1||!h(e,void 0,void 0,u)))try{for(const a of oe(e,{withFileTypes:!0})){let p=U(e,a.name);if(a.isSymbolicLink())if(t)p=ze(p);else if(c&&h(p,n,f,u))yield{isDirectory:a.isDirectory,isFile:a.isFile,isSymbolicLink:a.isSymbolicLink,name:a.name,path:T(p)};else continue;a.isSymbolicLink()||a.isDirectory()?yield*X(p,{extensions:n,followSymlinks:t,includeDirs:i,includeFiles:r,includeSymlinks:c,match:f,maxDepth:l-1,skip:u}):a.isFile()&&r&&h(p,n,f,u)&&(yield{isDirectory:a.isDirectory,isFile:a.isFile,isSymbolicLink:a.isSymbolicLink,name:a.name,path:T(p)})}}catch(a){throw a instanceof L?a:new L(a,e)}}o(X,"h$2");he(X,"walkSync");var zn=Object.defineProperty,Cn=o((e,n)=>zn(e,"name",{value:n,configurable:!0}),"n$5");const Kn=Cn((e,n={})=>{Array.isArray(n.extensions)||(n.extensions=["js","mjs","cjs","ts"]);const t=[];for(const i of X(e,n))t.push(i.path);return t},"collectSync"),ki=Kn;var Mn=Object.defineProperty,H=o((e,n)=>Mn(e,"name",{value:n,configurable:!0}),"n$4");const Xn=H(async(e,n={})=>{if(typeof e!="string"&&!Array.isArray(e)&&typeof e!="function")throw new TypeError("The `name` argument must be of type `string` or `string[]`");const t=n.cwd?d(n.cwd):process.cwd();let i=w(t);const{root:r}=ue(i),c=d(n.stopAt??r),s=w(i,c),l=n.type??"file",y=H(async function(f){return typeof e=="function"?[await e(f)]:typeof e=="string"?[e]:Array.isArray(e)?e:[e]},"getMatchers");for(;i&&i!==s&&i!==r;){for await(const f of await y(i)){if(f===me)return;if(f===void 0)continue;const u=de(f)?f:w(i,f);try{const a=await k(u);if(l==="file"&&a.isFile()||l==="directory"&&a.isDirectory())return u}catch{}}i=v(i)}},"findUp"),Oi=Xn;var Bn=Object.defineProperty,G=o((e,n)=>Bn(e,"name",{value:n,configurable:!0}),"o$3");const Vn=G((e,n={})=>{if(typeof e!="string"&&!Array.isArray(e)&&typeof e!="function")throw new TypeError("The `name` argument must be of type `string` or `string[]`");const t=n.cwd?d(n.cwd):process.cwd();let i=w(t);const{root:r}=ue(i),c=d(n.stopAt??r),s=w(i,c),l=n.type??"file",y=G(function(f){return typeof e=="function"?[e(f)]:typeof e=="string"?[e]:Array.isArray(e)?e:[e]},"getMatchers");for(;i&&i!==s&&i!==r;){for(const f of y(i)){if(f===me)return;if(f===void 0)continue;const u=de(f)?f:w(i,f);try{const a=O(u);if(l==="file"&&a.isFile()||l==="directory"&&a.isDirectory())return u}catch{}}i=v(i)}},"findUpSync"),Ei=Vn;var Hn=Object.defineProperty,Gn=o((e,n)=>Hn(e,"name",{value:n,configurable:!0}),"o$2");async function E(e,n=P){m(e),e=d(e);try{return await Re(e,n),!0}catch{return!1}}o(E,"m$6");Gn(E,"isAccessible");var qn=Object.defineProperty,Qn=o((e,n)=>qn(e,"name",{value:n,configurable:!0}),"o$1");function F(e,n=P){m(e),e=d(e);try{return Ce(e,n),!0}catch{return!1}}o(F,"m$5");Qn(F,"isAccessibleSync");var Zn=Object.defineProperty,be=o((e,n)=>Zn(e,"name",{value:n,configurable:!0}),"n$3");const et={brotli:Be,gzip:Ve,none:be((e,n)=>{n(null,e)},"none")},nt=be(async(e,n)=>{if(m(e),e=d(e),!await E(e))throw new Y(`unable to read the non-accessible file: ${e}`);if(!await E(e,_))throw new Error(`Unable to read the non-readable file: ${e}`);const{buffer:t,compression:i,encoding:r,flag:c}=n??{};return await ee(e,c?{encoding:r,flag:c}:{encoding:r}).then(async s=>await new Promise((l,y)=>{et[i??"none"](s,(f,u)=>{f?y(f):l(t?u:u.toString())})})).catch(s=>{throw s})},"readFile"),Se=nt;var tt=Object.defineProperty,ke=o((e,n)=>tt(e,"name",{value:n,configurable:!0}),"n$2");const it={brotli:He,gzip:Ge,none:ke(e=>e,"none")},rt=ke((e,n)=>{if(m(e),e=d(e),!F(e))throw new Y(`unable to read the non-accessible file: ${e}`);if(!F(e,_))throw new Y(`invalid access to read file at: ${e}`);const{buffer:t,compression:i,encoding:r,flag:c}=n??{},s=ce(e,c?{encoding:r,flag:c}:{encoding:r}),l=it[i??"none"](s);return t?l:l.toString()},"readFileSync"),Oe=rt;var at=Object.defineProperty,ot=o((e,n)=>at(e,"name",{value:n,configurable:!0}),"i$7");async function ct(e,n,t){typeof n=="object"&&(t=n,n=void 0);const i=await Se(e,{buffer:!0,encoding:void 0});let r=new TextDecoder().decode(i);const{beforeParse:c,color:s}=t??{};return typeof c=="function"&&(r=c(r)),ie(r,n,d(e),{color:s})}o(ct,"c");ot(ct,"readJson");var st=Object.defineProperty,lt=o((e,n)=>st(e,"name",{value:n,configurable:!0}),"r$2");function ft(e,n,t){typeof n=="object"&&(t=n,n=void 0);const i=Oe(e,{buffer:!0,encoding:void 0});let r=new TextDecoder().decode(i);const{beforeParse:c,color:s}=t??{};return typeof c=="function"&&(r=c(r)),ie(r,n,d(e),{color:s})}o(ft,"J");lt(ft,"readJsonSync");var yt=Object.defineProperty,ut=o((e,n)=>yt(e,"name",{value:n,configurable:!0}),"e$1");async function dt(e,n,t){const{buffer:i,compression:r,encoding:c="utf8",flag:s,...l}=t??{},y=await Se(e,{buffer:i,compression:r,encoding:c,flag:s});return typeof n=="function"?I(y,n,l):I(y,l)}o(dt,"d$2");ut(dt,"readYaml");var mt=Object.defineProperty,pt=o((e,n)=>mt(e,"name",{value:n,configurable:!0}),"i$6");function wt(e,n,t){const{buffer:i,compression:r,encoding:c="utf8",flag:s,...l}=t??{},y=Oe(e,{buffer:i,compression:r,encoding:c,flag:s});return typeof n=="function"?I(y,n,l):I(y,l)}o(wt,"d$1");pt(wt,"readYamlSync");var vt=Object.defineProperty,gt=o((e,n)=>vt(e,"name",{value:n,configurable:!0}),"i$5");const $t=gt(async(e,n)=>{if(m(e),!se(e)){await W(e,{recursive:!0});return}for await(const t of await Z(e))await ne(U(d(e),t),{...n,force:!0,recursive:!0})},"emptyDir"),Fi=$t;var ht=Object.defineProperty,bt=o((e,n)=>ht(e,"name",{value:n,configurable:!0}),"o");const St=bt((e,n)=>{if(m(e),!se(e)){z(e,{recursive:!0});return}for(const t of oe(e))le(U(d(e),t),{...n,force:!0,recursive:!0})},"emptyDir"),Pi=St;var kt=Object.defineProperty,Ot=o((e,n)=>kt(e,"name",{value:n,configurable:!0}),"t$1");const Et=Ot(async(e,n={})=>{m(e);try{await te(e)}catch{}try{await ne(e,{force:!0,maxRetries:n?.maxRetries,recursive:!0,retryDelay:n?.retryDelay})}catch{}},"remove"),Di=Et;var Ft=Object.defineProperty,Pt=o((e,n)=>Ft(e,"name",{value:n,configurable:!0}),"t");const Dt=Pt((e,n={})=>{m(e);try{fe(e)}catch{}try{le(e,{force:!0,maxRetries:n?.maxRetries,recursive:!0,retryDelay:n?.retryDelay})}catch{}},"removeSync"),ji=Dt;var jt=Object.defineProperty,xt=o((e,n)=>jt(e,"name",{value:n,configurable:!0}),"f$1");const Tt=new TextEncoder,Ee=xt(e=>{if(e instanceof Uint8Array)return e;if(typeof e=="string")return Tt.encode(e);if(e instanceof ArrayBuffer)return new Uint8Array(e);if(ArrayBuffer.isView(e)){const n=e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength);return new Uint8Array(n)}throw new TypeError("Invalid contents type. Expected string or ArrayBuffer.")},"toUint8Array");var At=Object.defineProperty,Lt=o((e,n)=>At(e,"name",{value:n,configurable:!0}),"d");const It=Lt(async(e,n,t)=>{t={encoding:"utf8",flag:"w",overwrite:!0,recursive:!0,...t},m(e),re(n),e=d(e);try{const i=await E(e,P);if(!i&&t.recursive){const s=v(e);await E(s,P)||await W(s,{recursive:!0})}let r;await Q(`${e}.tmp`,Ee(n),{encoding:t.encoding,flag:t.flag}),i&&!t.overwrite&&(r=await k(e),t.chown===void 0&&(t.chown={gid:r.gid,uid:r.uid}),await B(e,`${e}.bak`));const c=`${e}.tmp`;if(t.chown)try{await Ue(c,t.chown.uid,t.chown.gid)}catch{}await _e(c,r&&!t.mode?r.mode:t.mode??438),await B(c,e)}catch(i){throw new Error(`Failed to write file at: ${e} - ${i.message}`,{cause:i})}finally{await E(`${e}.tmp`)&&await te(`${e}.tmp`)}},"writeFile"),Fe=It;var Nt=Object.defineProperty,Rt=o((e,n)=>Nt(e,"name",{value:n,configurable:!0}),"f");const Ut=Rt((e,n,t)=>{t={encoding:"utf8",flag:"w",overwrite:!0,recursive:!0,...t},m(e),re(n),e=d(e);try{const i=F(e,P);if(!i&&t.recursive){const s=v(e);F(s,P)||z(s,{recursive:!0})}let r;ae(`${e}.tmp`,Ee(n),{encoding:t.encoding,flag:t.flag}),i&&!t.overwrite&&(r=O(e),t.chown===void 0&&(t.chown={gid:r.gid,uid:r.uid}),V(e,`${e}.bak`));const c=`${e}.tmp`;if(t.chown)try{Ke(c,t.chown.uid,t.chown.gid)}catch{}Me(c,r&&!t.mode?r.mode:t.mode??438),V(c,e)}catch(i){throw new Error(`Failed to write file at: ${e} - ${i.message}`,{cause:i})}finally{F(`${e}.tmp`)&&fe(`${e}.tmp`)}},"writeFileSync"),Pe=Ut,_t=/^(?:( )+|\t+)/,j="space",De="tab";function q(e,n){const t=new Map;let i=0,r,c;for(const s of e.split(/\n/g)){if(!s)continue;let l,y,f,u,a;const p=s.match(_t);if(p===null)i=0,r="";else{if(l=p[0].length,y=p[1]?j:De,n&&y===j&&l===1)continue;y!==r&&(i=0),r=y,f=1,u=0;const x=l-i;if(i=l,x===0)f=0,u=1;else{const xe=x>0?x:-x;c=Yt(y,xe)}a=t.get(c),a=a===void 0?[1,0]:[a[0]+f,a[1]+u],t.set(c,a)}}return t}o(q,"makeIndentsMap");function Yt(e,n){return(e===j?"s":"t")+String(n)}o(Yt,"encodeIndentsKey");function Jt(e){const t=e[0]==="s"?j:De,i=Number(e.slice(1));return{type:t,amount:i}}o(Jt,"decodeIndentsKey");function Wt(e){let n,t=0,i=0;for(const[r,[c,s]]of e)(c>t||c===t&&s>i)&&(t=c,i=s,n=r);return n}o(Wt,"getMostUsedKey");function zt(e,n){return(e===j?" ":" ").repeat(n)}o(zt,"makeIndentString");function je(e){if(typeof e!="string")throw new TypeError("Expected a string");let n=q(e,!0);n.size===0&&(n=q(e,!1));const t=Wt(n);let i,r=0,c="";return t!==void 0&&({type:i,amount:r}=Jt(t),c=zt(i,r)),{amount:r,type:i,indent:c}}o(je,"detectIndent");var Ct=Object.defineProperty,Kt=o((e,n)=>Ct(e,"name",{value:n,configurable:!0}),"r$1");const Mt=Kt(async(e,n,t={})=>{const{detectIndent:i,indent:r,replacer:c,stringify:s=JSON.stringify,...l}={indent:" ",...t};let y=r,f=`
|
|
3
|
+
`,$i=Xe==="win32"?J:ge,hi=we(e=>{const n=e.match(ve);if(!n||n.length===0)return null;const t=n.filter(r=>r===J).length,i=n.length-t;return t>i?J:ge},"detect"),bi=we((e,n)=>e.replaceAll(ve,n),"format");var Tn=Object.defineProperty,An=o((e,n)=>Tn(e,"name",{value:n,configurable:!0}),"r$3");const R=An(e=>{const n=e.replace(/\.\*/g,".([^/]*)").replace(/\*\*/g,"(.*)").replace(/(?<!\.)\*(?!\*)/g,"([^/]*)").replace(/\?/g,"[^/]").replace(/\.(?!\*)/g,"\\.").replace(/\{/g,"(").replace(/\}/g,")").replace(/,/g,"|").replace(/\[!(.*?)\]/g,"[^$1]");return new RegExp(`^${n}$`)},"globToRegExp");var Ln=Object.defineProperty,In=o((e,n)=>Ln(e,"name",{value:n,configurable:!0}),"n$6");const h=In((e,n,t,i)=>Array.isArray(n)&&n.length>0&&!n.some(r=>e.endsWith(r))||t&&!t.some(r=>r.test(e))?!1:!i?.some(r=>r.test(e)),"walkInclude");var Nn=Object.defineProperty,$e=o((e,n)=>Nn(e,"name",{value:n,configurable:!0}),"f$2");const Rn=$e(async e=>{const n=T(e),t=ye(n),i=await k(n);return{isDirectory:i.isDirectory,isFile:i.isFile,isSymbolicLink:i.isSymbolicLink,name:t,path:n}},"_createWalkEntry");async function*M(e,{extensions:n,followSymlinks:t=!1,includeDirs:i=!0,includeFiles:r=!0,includeSymlinks:c=!0,match:s,maxDepth:l=Number.POSITIVE_INFINITY,skip:y}={}){if(m(e),l<0)return;const f=s?s.map(a=>typeof a=="string"?R(a):a):void 0,u=y?y.map(a=>typeof a=="string"?R(a):a):void 0;if(e=w(d(e)),i&&h(e,n,f,u)&&(yield await Rn(e)),!(l<1||!h(e,void 0,void 0,u)))try{for await(const a of await Z(e,{withFileTypes:!0})){let p=U(e,a.name);if(a.isSymbolicLink())if(t)p=await Ne(p);else if(c&&h(p,n,f,u))yield{isDirectory:a.isDirectory,isFile:a.isFile,isSymbolicLink:a.isSymbolicLink,name:a.name,path:p};else continue;a.isSymbolicLink()||a.isDirectory()?yield*M(p,{extensions:n,followSymlinks:t,includeDirs:i,includeFiles:r,includeSymlinks:c,match:f,maxDepth:l-1,skip:u}):a.isFile()&&r&&h(p,n,f,u)&&(yield{isDirectory:a.isDirectory,isFile:a.isFile,isSymbolicLink:a.isSymbolicLink,name:a.name,path:p})}}catch(a){throw a instanceof L?a:new L(a,e)}}o(M,"d$5");$e(M,"walk");var Un=Object.defineProperty,_n=o((e,n)=>Un(e,"name",{value:n,configurable:!0}),"e$2");const Yn=_n(async(e,n={})=>{Array.isArray(n.extensions)||(n.extensions=["js","mjs","cjs","ts"]);const t=[];for await(const i of M(e,n))t.push(i.path);return t},"collect"),Si=Yn;var Jn=Object.defineProperty,he=o((e,n)=>Jn(e,"name",{value:n,configurable:!0}),"m$7");const Wn=he(e=>{const n=T(e),t=O(n);return{isDirectory:t.isDirectory,isFile:t.isFile,isSymbolicLink:t.isSymbolicLink,name:ye(n),path:n}},"_createWalkEntry");function*X(e,{extensions:n,followSymlinks:t=!1,includeDirs:i=!0,includeFiles:r=!0,includeSymlinks:c=!0,match:s,maxDepth:l=Number.POSITIVE_INFINITY,skip:y}={}){if(m(e),l<0)return;const f=s?s.map(a=>typeof a=="string"?R(a):a):void 0,u=y?y.map(a=>typeof a=="string"?R(a):a):void 0;if(e=w(d(e)),i&&h(e,n,f,u)&&(yield Wn(e)),!(l<1||!h(e,void 0,void 0,u)))try{for(const a of oe(e,{withFileTypes:!0})){let p=U(e,a.name);if(a.isSymbolicLink())if(t)p=ze(p);else if(c&&h(p,n,f,u))yield{isDirectory:a.isDirectory,isFile:a.isFile,isSymbolicLink:a.isSymbolicLink,name:a.name,path:T(p)};else continue;a.isSymbolicLink()||a.isDirectory()?yield*X(p,{extensions:n,followSymlinks:t,includeDirs:i,includeFiles:r,includeSymlinks:c,match:f,maxDepth:l-1,skip:u}):a.isFile()&&r&&h(p,n,f,u)&&(yield{isDirectory:a.isDirectory,isFile:a.isFile,isSymbolicLink:a.isSymbolicLink,name:a.name,path:T(p)})}}catch(a){throw a instanceof L?a:new L(a,e)}}o(X,"h$2");he(X,"walkSync");var zn=Object.defineProperty,Cn=o((e,n)=>zn(e,"name",{value:n,configurable:!0}),"n$5");const Kn=Cn((e,n={})=>{Array.isArray(n.extensions)||(n.extensions=["js","mjs","cjs","ts"]);const t=[];for(const i of X(e,n))t.push(i.path);return t},"collectSync"),ki=Kn;var Mn=Object.defineProperty,H=o((e,n)=>Mn(e,"name",{value:n,configurable:!0}),"n$4");const Xn=H(async(e,n={})=>{if(typeof e!="string"&&!Array.isArray(e)&&typeof e!="function")throw new TypeError("The `name` argument must be of type `string` or `string[]`");const t=n.cwd?d(n.cwd):process.cwd();let i=w(t);const{root:r}=ue(i),c=d(n.stopAt??r),s=w(i,c),l=n.type??"file",y=H(async function(f){return typeof e=="function"?[await e(f)]:typeof e=="string"?[e]:Array.isArray(e)?e:[e]},"getMatchers");for(;i&&i!==s&&i!==r;){for await(const f of await y(i)){if(f===me)return;if(f===void 0)continue;const u=de(f)?f:w(i,f);try{const a=await k(u);if(l==="file"&&a.isFile()||l==="directory"&&a.isDirectory())return u}catch{}}i=v(i)}},"findUp"),Oi=Xn;var Bn=Object.defineProperty,G=o((e,n)=>Bn(e,"name",{value:n,configurable:!0}),"o$3");const Vn=G((e,n={})=>{if(typeof e!="string"&&!Array.isArray(e)&&typeof e!="function")throw new TypeError("The `name` argument must be of type `string` or `string[]`");const t=n.cwd?d(n.cwd):process.cwd();let i=w(t);const{root:r}=ue(i),c=d(n.stopAt??r),s=w(i,c),l=n.type??"file",y=G(function(f){return typeof e=="function"?[e(f)]:typeof e=="string"?[e]:Array.isArray(e)?e:[e]},"getMatchers");for(;i&&i!==s&&i!==r;){for(const f of y(i)){if(f===me)return;if(f===void 0)continue;const u=de(f)?f:w(i,f);try{const a=O(u);if(l==="file"&&a.isFile()||l==="directory"&&a.isDirectory())return u}catch{}}i=v(i)}},"findUpSync"),Ei=Vn;var Hn=Object.defineProperty,Gn=o((e,n)=>Hn(e,"name",{value:n,configurable:!0}),"o$2");async function E(e,n=P){m(e),e=d(e);try{return await Re(e,n),!0}catch{return!1}}o(E,"m$6");Gn(E,"isAccessible");var qn=Object.defineProperty,Qn=o((e,n)=>qn(e,"name",{value:n,configurable:!0}),"o$1");function F(e,n=P){m(e),e=d(e);try{return Ce(e,n),!0}catch{return!1}}o(F,"m$5");Qn(F,"isAccessibleSync");var Zn=Object.defineProperty,be=o((e,n)=>Zn(e,"name",{value:n,configurable:!0}),"n$3");const et={brotli:Be,gzip:Ve,none:be((e,n)=>{n(null,e)},"none")},nt=be(async(e,n)=>{if(m(e),e=d(e),!await E(e))throw new Y(`unable to read the non-accessible file: ${e}`);if(!await E(e,_))throw new Error(`Unable to read the non-readable file: ${e}`);const{buffer:t,compression:i,encoding:r,flag:c}=n??{};return await ee(e,c?{encoding:r,flag:c}:{encoding:r}).then(async s=>await new Promise((l,y)=>{et[i??"none"](s,(f,u)=>{f?y(f):l(t?u:u.toString())})})).catch(s=>{throw s})},"readFile"),Se=nt;var tt=Object.defineProperty,ke=o((e,n)=>tt(e,"name",{value:n,configurable:!0}),"n$2");const it={brotli:He,gzip:Ge,none:ke(e=>e,"none")},rt=ke((e,n)=>{if(m(e),e=d(e),!F(e))throw new Y(`unable to read the non-accessible file: ${e}`);if(!F(e,_))throw new Y(`invalid access to read file at: ${e}`);const{buffer:t,compression:i,encoding:r,flag:c}=n??{},s=ce(e,c?{encoding:r,flag:c}:{encoding:r}),l=it[i??"none"](s);return t?l:l.toString()},"readFileSync"),Oe=rt;var at=Object.defineProperty,ot=o((e,n)=>at(e,"name",{value:n,configurable:!0}),"i$7");async function ct(e,n,t){typeof n=="object"&&(t=n,n=void 0);const i=await Se(e,{buffer:!0,encoding:void 0});let r=new TextDecoder().decode(i);const{beforeParse:c,color:s}=t??{};return typeof c=="function"&&(r=c(r)),ie(r,n,d(e),{color:s})}o(ct,"c");ot(ct,"readJson");var st=Object.defineProperty,lt=o((e,n)=>st(e,"name",{value:n,configurable:!0}),"r$2");function ft(e,n,t){typeof n=="object"&&(t=n,n=void 0);const i=Oe(e,{buffer:!0,encoding:void 0});let r=new TextDecoder().decode(i);const{beforeParse:c,color:s}=t??{};return typeof c=="function"&&(r=c(r)),ie(r,n,d(e),{color:s})}o(ft,"J");lt(ft,"readJsonSync");var yt=Object.defineProperty,ut=o((e,n)=>yt(e,"name",{value:n,configurable:!0}),"e$1");async function dt(e,n,t){const{buffer:i,compression:r,encoding:c="utf8",flag:s,...l}=t??{},y=await Se(e,{buffer:i,compression:r,encoding:c,flag:s});return typeof n=="function"?I(y,n,l):I(y,l)}o(dt,"d$2");ut(dt,"readYaml");var mt=Object.defineProperty,pt=o((e,n)=>mt(e,"name",{value:n,configurable:!0}),"i$6");function wt(e,n,t){const{buffer:i,compression:r,encoding:c="utf8",flag:s,...l}=t??{},y=Oe(e,{buffer:i,compression:r,encoding:c,flag:s});return typeof n=="function"?I(y,n,l):I(y,l)}o(wt,"d$1");pt(wt,"readYamlSync");var vt=Object.defineProperty,gt=o((e,n)=>vt(e,"name",{value:n,configurable:!0}),"i$5");const $t=gt(async(e,n)=>{if(m(e),!se(e)){await W(e,{recursive:!0});return}for await(const t of await Z(e))await ne(U(d(e),t),{...n,force:!0,recursive:!0})},"emptyDir"),Fi=$t;var ht=Object.defineProperty,bt=o((e,n)=>ht(e,"name",{value:n,configurable:!0}),"o");const St=bt((e,n)=>{if(m(e),!se(e)){z(e,{recursive:!0});return}for(const t of oe(e))le(U(d(e),t),{...n,force:!0,recursive:!0})},"emptyDir"),Pi=St;var kt=Object.defineProperty,Ot=o((e,n)=>kt(e,"name",{value:n,configurable:!0}),"t$1");const Et=Ot(async(e,n={})=>{m(e);try{await te(e)}catch{}try{await ne(e,{force:!0,maxRetries:n?.maxRetries,recursive:!0,retryDelay:n?.retryDelay})}catch{}},"remove"),Di=Et;var Ft=Object.defineProperty,Pt=o((e,n)=>Ft(e,"name",{value:n,configurable:!0}),"t");const Dt=Pt((e,n={})=>{m(e);try{fe(e)}catch{}try{le(e,{force:!0,maxRetries:n?.maxRetries,recursive:!0,retryDelay:n?.retryDelay})}catch{}},"removeSync"),ji=Dt;var jt=Object.defineProperty,xt=o((e,n)=>jt(e,"name",{value:n,configurable:!0}),"f$1");const Tt=new TextEncoder,Ee=xt(e=>{if(e instanceof Uint8Array)return e;if(typeof e=="string")return Tt.encode(e);if(e instanceof ArrayBuffer)return new Uint8Array(e);if(ArrayBuffer.isView(e)){const n=e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength);return new Uint8Array(n)}throw new TypeError("Invalid contents type. Expected string or ArrayBuffer.")},"toUint8Array");var At=Object.defineProperty,Lt=o((e,n)=>At(e,"name",{value:n,configurable:!0}),"d");const It=Lt(async(e,n,t)=>{t={encoding:"utf8",flag:"w",overwrite:!0,recursive:!0,...t},m(e),re(n),e=d(e);try{const i=await E(e,P);if(!i&&t.recursive){const s=v(e);await E(s,P)||await W(s,{recursive:!0})}let r;await Q(`${e}.tmp`,Ee(n),{encoding:t.encoding,flag:t.flag}),i&&!t.overwrite&&(r=await k(e),t.chown===void 0&&(t.chown={gid:r.gid,uid:r.uid}),await B(e,`${e}.bak`));const c=`${e}.tmp`;if(t.chown)try{await Ue(c,t.chown.uid,t.chown.gid)}catch{}await _e(c,r&&!t.mode?r.mode:t.mode??438),await B(c,e)}catch(i){throw new Error(`Failed to write file at: ${e} - ${i.message}`,{cause:i})}finally{await E(`${e}.tmp`)&&await te(`${e}.tmp`)}},"writeFile"),Fe=It;var Nt=Object.defineProperty,Rt=o((e,n)=>Nt(e,"name",{value:n,configurable:!0}),"f");const Ut=Rt((e,n,t)=>{t={encoding:"utf8",flag:"w",overwrite:!0,recursive:!0,...t},m(e),re(n),e=d(e);try{const i=F(e,P);if(!i&&t.recursive){const s=v(e);F(s,P)||z(s,{recursive:!0})}let r;ae(`${e}.tmp`,Ee(n),{encoding:t.encoding,flag:t.flag}),i&&!t.overwrite&&(r=O(e),t.chown===void 0&&(t.chown={gid:r.gid,uid:r.uid}),V(e,`${e}.bak`));const c=`${e}.tmp`;if(t.chown)try{Ke(c,t.chown.uid,t.chown.gid)}catch{}Me(c,r&&!t.mode?r.mode:t.mode??438),V(c,e)}catch(i){throw new Error(`Failed to write file at: ${e} - ${i.message}`,{cause:i})}finally{F(`${e}.tmp`)&&fe(`${e}.tmp`)}},"writeFileSync"),Pe=Ut,_t=/^(?:( )+|\t+)/,j="space",De="tab";function q(e,n){const t=new Map;let i=0,r,c;for(const s of e.split(/\n/g)){if(!s)continue;let l,y,f,u,a;const p=s.match(_t);if(p===null)i=0,r="";else{if(l=p[0].length,y=p[1]?j:De,n&&y===j&&l===1)continue;y!==r&&(i=0),r=y,f=1,u=0;const x=l-i;if(i=l,x===0)f=0,u=1;else{const xe=x>0?x:-x;c=Yt(y,xe)}a=t.get(c),a=a===void 0?[1,0]:[a[0]+f,a[1]+u],t.set(c,a)}}return t}o(q,"makeIndentsMap");function Yt(e,n){return(e===j?"s":"t")+String(n)}o(Yt,"encodeIndentsKey");function Jt(e){const t=e[0]==="s"?j:De,i=Number(e.slice(1));return{type:t,amount:i}}o(Jt,"decodeIndentsKey");function Wt(e){let n,t=0,i=0;for(const[r,[c,s]]of e)(c>t||c===t&&s>i)&&(t=c,i=s,n=r);return n}o(Wt,"getMostUsedKey");function zt(e,n){return(e===j?" ":" ").repeat(n)}o(zt,"makeIndentString");function je(e){if(typeof e!="string")throw new TypeError("Expected a string");let n=q(e,!0);n.size===0&&(n=q(e,!1));const t=Wt(n);let i,r=0,c="";return t!==void 0&&({type:i,amount:r}=Jt(t),c=zt(i,r)),{amount:r,type:i,indent:c}}o(je,"detectIndent");var Ct=Object.defineProperty,Kt=o((e,n)=>Ct(e,"name",{value:n,configurable:!0}),"r$1");const Mt=Kt(async(e,n,t={})=>{const{detectIndent:i,indent:r,replacer:c,stringify:s=JSON.stringify,...l}={indent:" ",...t};let y=r,f=`
|
|
4
4
|
`;if(await E(e,_))try{const a=await ee(e,"utf8");if(i){const{indent:p}=je(a);y=p}f=a.endsWith(`
|
|
5
5
|
`)?`
|
|
6
6
|
`:""}catch(a){if(a.code!=="ENOENT")throw a}const u=s(n,c,y);await Fe(e,`${u}${f}`,l)},"writeJson"),xi=Mt;var Xt=Object.defineProperty,Bt=o((e,n)=>Xt(e,"name",{value:n,configurable:!0}),"r");const Vt=Bt((e,n,t={})=>{const{detectIndent:i,indent:r,replacer:c,stringify:s=JSON.stringify,...l}={indent:" ",...t};let y=r,f=`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@visulima/fs",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.12",
|
|
4
4
|
"description": "Human friendly file system utilities for Node.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"anolilab",
|
|
@@ -116,25 +116,25 @@
|
|
|
116
116
|
"LICENSE.md"
|
|
117
117
|
],
|
|
118
118
|
"dependencies": {
|
|
119
|
-
"@visulima/path": "1.0.
|
|
119
|
+
"@visulima/path": "1.0.4"
|
|
120
120
|
},
|
|
121
121
|
"devDependencies": {
|
|
122
122
|
"@anolilab/eslint-config": "^15.0.3",
|
|
123
123
|
"@anolilab/prettier-config": "^5.0.14",
|
|
124
124
|
"@anolilab/semantic-release-pnpm": "^1.1.3",
|
|
125
125
|
"@anolilab/semantic-release-preset": "^9.0.0",
|
|
126
|
-
"@babel/core": "^7.
|
|
127
|
-
"@rushstack/eslint-plugin-security": "^0.8.
|
|
126
|
+
"@babel/core": "^7.25.2",
|
|
127
|
+
"@rushstack/eslint-plugin-security": "^0.8.2",
|
|
128
128
|
"@types/node": "18.19.15",
|
|
129
|
-
"@visulima/error": "4.3.
|
|
130
|
-
"@visulima/packem": "^1.0.0-alpha.
|
|
131
|
-
"@vitest/coverage-v8": "^
|
|
132
|
-
"@vitest/ui": "^
|
|
129
|
+
"@visulima/error": "4.3.2",
|
|
130
|
+
"@visulima/packem": "^1.0.0-alpha.60",
|
|
131
|
+
"@vitest/coverage-v8": "^2.0.5",
|
|
132
|
+
"@vitest/ui": "^2.0.5",
|
|
133
133
|
"conventional-changelog-conventionalcommits": "8.0.0",
|
|
134
134
|
"cross-env": "^7.0.3",
|
|
135
135
|
"detect-indent": "^7.0.1",
|
|
136
|
-
"esbuild": "0.
|
|
137
|
-
"eslint": "
|
|
136
|
+
"esbuild": "0.23.0",
|
|
137
|
+
"eslint": "8.57.0",
|
|
138
138
|
"eslint-plugin-deprecation": "^3.0.0",
|
|
139
139
|
"eslint-plugin-etc": "^2.0.3",
|
|
140
140
|
"eslint-plugin-import": "npm:eslint-plugin-i@^2.29.1",
|
|
@@ -142,16 +142,16 @@
|
|
|
142
142
|
"eslint-plugin-vitest": "^0.4.1",
|
|
143
143
|
"eslint-plugin-vitest-globals": "^1.5.0",
|
|
144
144
|
"fast-safe-stringify": "2.1.1",
|
|
145
|
-
"prettier": "^3.3.
|
|
145
|
+
"prettier": "^3.3.3",
|
|
146
146
|
"redos-detector": "^5.1.0",
|
|
147
|
-
"rimraf": "
|
|
148
|
-
"safe-regex2": "^
|
|
147
|
+
"rimraf": "5.0.9",
|
|
148
|
+
"safe-regex2": "^4.0.0",
|
|
149
149
|
"semantic-release": "24.0.0",
|
|
150
150
|
"tempy": "^3.1.0",
|
|
151
|
-
"type-fest": "^4.
|
|
151
|
+
"type-fest": "^4.23.0",
|
|
152
152
|
"typescript": "5.4.5",
|
|
153
|
-
"vitest": "^
|
|
154
|
-
"yaml": "^2.
|
|
153
|
+
"vitest": "^2.0.5",
|
|
154
|
+
"yaml": "^2.5.0"
|
|
155
155
|
},
|
|
156
156
|
"peerDependencies": {
|
|
157
157
|
"yaml": "^2.4.0"
|