@visulima/fs 3.1.0 → 3.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/README.md +166 -165
  3. package/dist/error.d.ts +1 -1
  4. package/dist/index.cjs +20 -20
  5. package/dist/index.d.cts +2 -2
  6. package/dist/index.d.mts +2 -2
  7. package/dist/index.d.ts +3 -3
  8. package/dist/index.mjs +22 -22
  9. package/dist/packem_shared/{collect-BtDVJEOm.mjs → collect-B615pR8z.mjs} +1 -1
  10. package/dist/packem_shared/{collect-DxUriHCH.cjs → collect-DHldhy_s.cjs} +1 -1
  11. package/dist/packem_shared/{collectSync-CGjdb50I.mjs → collectSync-CYuBdXWI.mjs} +1 -1
  12. package/dist/packem_shared/{collectSync-BaA0s001.cjs → collectSync-zahGoTi-.cjs} +1 -1
  13. package/dist/packem_shared/{ensureDir-iUK2ga5M.cjs → ensureDir-BOfUZlxG.cjs} +1 -1
  14. package/dist/packem_shared/{ensureDir-XiBlkOLR.mjs → ensureDir-BnA_fY1A.mjs} +1 -1
  15. package/dist/packem_shared/{ensureDirSync-CXdMkg0Y.cjs → ensureDirSync-DHmWi3CF.cjs} +1 -1
  16. package/dist/packem_shared/{ensureDirSync-2IFUHFK2.mjs → ensureDirSync-Dm4az3YF.mjs} +1 -1
  17. package/dist/packem_shared/{ensureFile-C2bWlBEa.mjs → ensureFile-BKrJMHfr.mjs} +2 -2
  18. package/dist/packem_shared/{ensureFile-Br8tFUJ7.cjs → ensureFile-CeGryLJI.cjs} +2 -2
  19. package/dist/packem_shared/{ensureFileSync-CZzSkNGC.cjs → ensureFileSync-B7THM1sN.cjs} +2 -2
  20. package/dist/packem_shared/{ensureFileSync-DkFfhOEs.mjs → ensureFileSync-BnhFBXaR.mjs} +2 -2
  21. package/dist/packem_shared/{ensureLink-CFiabAD3.mjs → ensureLink-ChsWDTK5.mjs} +1 -1
  22. package/dist/packem_shared/{ensureLink-Dqw5GBDq.cjs → ensureLink-CrxLNmHE.cjs} +1 -1
  23. package/dist/packem_shared/{ensureLinkSync-Dk-YeRg6.mjs → ensureLinkSync-CG-DTUoV.mjs} +1 -1
  24. package/dist/packem_shared/{ensureLinkSync-BVw3h6sK.cjs → ensureLinkSync-D8uMqLh4.cjs} +1 -1
  25. package/dist/packem_shared/{ensureSymlink-CSqngPoI.mjs → ensureSymlink-BwJ_QhzJ.mjs} +2 -2
  26. package/dist/packem_shared/{ensureSymlink-CFSfreco.cjs → ensureSymlink-D_ieOVYa.cjs} +2 -2
  27. package/dist/packem_shared/{ensureSymlinkSync-QRaNZX2E.mjs → ensureSymlinkSync-BamG29QK.mjs} +2 -2
  28. package/dist/packem_shared/{ensureSymlinkSync-BCd9bzsx.cjs → ensureSymlinkSync-DTMvUYZD.cjs} +2 -2
  29. package/dist/packem_shared/{findUp-C8_QpAtD.mjs → findUp-D5W-MTpT.mjs} +4 -4
  30. package/dist/packem_shared/{findUp-DA511Swp.cjs → findUp-DVIYN2wV.cjs} +4 -4
  31. package/dist/packem_shared/{findUpSync-u1rGibzw.cjs → findUpSync-BOiVyUOx.cjs} +4 -4
  32. package/dist/packem_shared/{findUpSync-DVOd3V-q.mjs → findUpSync-DL3NPCYg.mjs} +4 -4
  33. package/dist/packem_shared/{get-file-info-type-BpRzQHvd.cjs → get-file-info-type-BlryFnpp.cjs} +1 -1
  34. package/dist/packem_shared/{get-file-info-type-CeiZ6n6g.mjs → get-file-info-type-ButUVD6d.mjs} +1 -1
  35. package/dist/packem_shared/{index-ngvEMjBI.cjs → index-BVZL6YMm.cjs} +2 -2
  36. package/dist/packem_shared/{index-ajT9ecry.mjs → index-r9Pk9gBe.mjs} +2 -2
  37. package/dist/packem_shared/{parseJson-DcUo4Rpt.cjs → parseJson-5geAXtlm.cjs} +3 -4
  38. package/dist/packem_shared/{parseJson-n9THWOFI.mjs → parseJson-D7XcVuDD.mjs} +3 -4
  39. package/dist/packem_shared/{readFile-DUM-xNoB.mjs → readFile-b7UBVv17.mjs} +1 -1
  40. package/dist/packem_shared/{readFileSync-Cck96_o0.mjs → readFileSync-CkEJBqZB.mjs} +1 -1
  41. package/dist/packem_shared/{readJson-JrCHMN3m.cjs → readJson-CG6Pm3bL.cjs} +3 -3
  42. package/dist/packem_shared/{readJson-DIHRleEE.mjs → readJson-Ddq4aS0W.mjs} +4 -4
  43. package/dist/packem_shared/{readJsonSync-BPfxTuQL.mjs → readJsonSync-C1IyJccj.mjs} +4 -4
  44. package/dist/packem_shared/{readJsonSync-o_MAOlUv.cjs → readJsonSync-DXVlgWNf.cjs} +3 -3
  45. package/dist/packem_shared/{readYaml-vVKK8ZzY.mjs → readYaml-C5MSs2GE.mjs} +1 -1
  46. package/dist/packem_shared/{readYamlSync-MOLH4gXB.mjs → readYamlSync-CPjA-DLv.mjs} +1 -1
  47. package/dist/packem_shared/{types-CiwAWOQj.d.mts → types-Crz-rGlC.d.cts} +1 -1
  48. package/dist/packem_shared/{types-CiwAWOQj.d.cts → types-Crz-rGlC.d.mts} +1 -1
  49. package/dist/packem_shared/{types-CiwAWOQj.d.mjs → types-Crz-rGlC.d.ts} +1 -1
  50. package/dist/packem_shared/{walk-CNcSYQVq.mjs → walk-BIh3_ljI.mjs} +9 -15
  51. package/dist/packem_shared/{walk-BW7b4GXI.cjs → walk-PpNwjtjX.cjs} +9 -15
  52. package/dist/packem_shared/{walkSync-DgPj93NL.cjs → walkSync-BidUqvMI.cjs} +3 -3
  53. package/dist/packem_shared/{walkSync-BzxdFWLU.mjs → walkSync-CFwkbDz9.mjs} +3 -3
  54. package/dist/packem_shared/{writeFile-CzpkxDqy.mjs → writeFile-BZ4JBQxc.mjs} +1 -1
  55. package/dist/packem_shared/{writeFile-CnWc2ZOW.cjs → writeFile-DgCFRCe5.cjs} +1 -1
  56. package/dist/packem_shared/{writeFileSync-DYRpumrj.mjs → writeFileSync-Ctw5pNQH.mjs} +1 -1
  57. package/dist/packem_shared/{writeFileSync-da4qD9Nz.cjs → writeFileSync-DzXhx1pF.cjs} +1 -1
  58. package/dist/packem_shared/{writeJson-9_C3v2B3.cjs → writeJson-Bh4sU1Ly.cjs} +2 -2
  59. package/dist/packem_shared/{writeJson-V9KBXfw2.mjs → writeJson-axO_14yL.mjs} +2 -2
  60. package/dist/packem_shared/{writeJsonSync-CyaXNy3X.mjs → writeJsonSync-CzngmuKb.mjs} +2 -2
  61. package/dist/packem_shared/{writeJsonSync-C5kkxqE7.cjs → writeJsonSync-HFdHjunl.cjs} +2 -2
  62. package/dist/packem_shared/{writeYaml-DDLK7NDr.cjs → writeYaml-C0YnZ1bp.cjs} +1 -1
  63. package/dist/packem_shared/{writeYaml-DJ17fqNj.mjs → writeYaml-Cuj4H9ut.mjs} +1 -1
  64. package/dist/packem_shared/{writeYamlSync-DST-W6N7.cjs → writeYamlSync-BBNLBbQK.cjs} +1 -1
  65. package/dist/packem_shared/{writeYamlSync-C6nrcP2e.mjs → writeYamlSync-cL8f07FV.mjs} +1 -1
  66. package/dist/size.mjs +1 -1
  67. package/dist/utils.cjs +1 -1
  68. package/dist/utils.d.cts +1 -1
  69. package/dist/utils.d.mts +1 -1
  70. package/dist/utils.d.ts +3 -3
  71. package/dist/utils.mjs +1 -1
  72. package/dist/yaml.cjs +2 -2
  73. package/dist/yaml.d.cts +1 -1
  74. package/dist/yaml.d.mts +1 -1
  75. package/dist/yaml.d.ts +1 -1
  76. package/dist/yaml.mjs +4 -4
  77. package/package.json +2 -2
  78. /package/dist/packem_shared/{json-error-ZPgZIXcg.d.mjs → json-error-ZPgZIXcg.d.ts} +0 -0
  79. /package/dist/packem_shared/{observable-like.d-BlD8q22s.d.mjs → observable-like.d-BlD8q22s.d.ts} +0 -0
package/dist/error.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { J as JSONError } from './packem_shared/json-error-ZPgZIXcg.d.mjs';
1
+ export { J as JSONError } from './packem_shared/json-error-ZPgZIXcg.js';
2
2
 
3
3
  declare class AlreadyExistsError extends Error {
4
4
  constructor(message: string);
package/dist/index.cjs CHANGED
@@ -3,36 +3,36 @@
3
3
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
4
4
 
5
5
  const F_OK = require('./packem_shared/F_OK-CWSqQIdF.cjs');
6
- const ensureDir = require('./packem_shared/ensureDir-iUK2ga5M.cjs');
7
- const ensureDirSync = require('./packem_shared/ensureDirSync-CXdMkg0Y.cjs');
8
- const ensureFile = require('./packem_shared/ensureFile-Br8tFUJ7.cjs');
9
- const ensureFileSync = require('./packem_shared/ensureFileSync-CZzSkNGC.cjs');
10
- const ensureLink = require('./packem_shared/ensureLink-Dqw5GBDq.cjs');
11
- const ensureLinkSync = require('./packem_shared/ensureLinkSync-BVw3h6sK.cjs');
12
- const ensureSymlink = require('./packem_shared/ensureSymlink-CFSfreco.cjs');
13
- const ensureSymlinkSync = require('./packem_shared/ensureSymlinkSync-BCd9bzsx.cjs');
6
+ const ensureDir = require('./packem_shared/ensureDir-BOfUZlxG.cjs');
7
+ const ensureDirSync = require('./packem_shared/ensureDirSync-DHmWi3CF.cjs');
8
+ const ensureFile = require('./packem_shared/ensureFile-CeGryLJI.cjs');
9
+ const ensureFileSync = require('./packem_shared/ensureFileSync-B7THM1sN.cjs');
10
+ const ensureLink = require('./packem_shared/ensureLink-CrxLNmHE.cjs');
11
+ const ensureLinkSync = require('./packem_shared/ensureLinkSync-D8uMqLh4.cjs');
12
+ const ensureSymlink = require('./packem_shared/ensureSymlink-D_ieOVYa.cjs');
13
+ const ensureSymlinkSync = require('./packem_shared/ensureSymlinkSync-DTMvUYZD.cjs');
14
14
  const LF = require('./packem_shared/LF-bB2qO80j.cjs');
15
- const collect = require('./packem_shared/collect-DxUriHCH.cjs');
16
- const collectSync = require('./packem_shared/collectSync-BaA0s001.cjs');
17
- const findUp = require('./packem_shared/findUp-DA511Swp.cjs');
18
- const findUpSync = require('./packem_shared/findUpSync-u1rGibzw.cjs');
19
- const walk = require('./packem_shared/walk-BW7b4GXI.cjs');
20
- const walkSync = require('./packem_shared/walkSync-DgPj93NL.cjs');
15
+ const collect = require('./packem_shared/collect-DHldhy_s.cjs');
16
+ const collectSync = require('./packem_shared/collectSync-zahGoTi-.cjs');
17
+ const findUp = require('./packem_shared/findUp-DVIYN2wV.cjs');
18
+ const findUpSync = require('./packem_shared/findUpSync-BOiVyUOx.cjs');
19
+ const walk = require('./packem_shared/walk-PpNwjtjX.cjs');
20
+ const walkSync = require('./packem_shared/walkSync-BidUqvMI.cjs');
21
21
  const isAccessible = require('./packem_shared/isAccessible-ZNVGsSb7.cjs');
22
22
  const isAccessibleSync = require('./packem_shared/isAccessibleSync-VWjQa-US.cjs');
23
23
  const move = require('./packem_shared/move-Dh925GL9.cjs');
24
24
  const readFile = require('./packem_shared/readFile-iFUhZHnh.cjs');
25
25
  const readFileSync = require('./packem_shared/readFileSync-B3NTOR-W.cjs');
26
- const readJson = require('./packem_shared/readJson-JrCHMN3m.cjs');
27
- const readJsonSync = require('./packem_shared/readJsonSync-o_MAOlUv.cjs');
26
+ const readJson = require('./packem_shared/readJson-CG6Pm3bL.cjs');
27
+ const readJsonSync = require('./packem_shared/readJsonSync-DXVlgWNf.cjs');
28
28
  const emptyDir = require('./packem_shared/emptyDir-DcCfiNcf.cjs');
29
29
  const emptyDirSync = require('./packem_shared/emptyDirSync-BoknkGUe.cjs');
30
30
  const remove = require('./packem_shared/remove-BpDiVPns.cjs');
31
31
  const removeSync = require('./packem_shared/removeSync-BosXW624.cjs');
32
- const writeFile = require('./packem_shared/writeFile-CnWc2ZOW.cjs');
33
- const writeFileSync = require('./packem_shared/writeFileSync-da4qD9Nz.cjs');
34
- const writeJson = require('./packem_shared/writeJson-9_C3v2B3.cjs');
35
- const writeJsonSync = require('./packem_shared/writeJsonSync-C5kkxqE7.cjs');
32
+ const writeFile = require('./packem_shared/writeFile-DgCFRCe5.cjs');
33
+ const writeFileSync = require('./packem_shared/writeFileSync-DzXhx1pF.cjs');
34
+ const writeJson = require('./packem_shared/writeJson-Bh4sU1Ly.cjs');
35
+ const writeJsonSync = require('./packem_shared/writeJsonSync-HFdHjunl.cjs');
36
36
 
37
37
 
38
38
 
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { W as WalkOptions, F as FindUpName, a as FindUpOptions, b as FindUpNameSync, c as WalkEntry, R as ReadFileOptions, C as ContentType, d as ReadJsonOptions, J as JsonReviver, E as EmptyDirOptions, e as WriteFileOptions, f as WriteJsonOptions } from './packem_shared/types-CiwAWOQj.cjs';
2
- export { k as CodeFrameLocation, h as FIND_UP_STOP, g as F_OK, l as FindUpNameFnResult, m as FindUpNameSyncFnResult, n as JsonReplacer, i as R_OK, o as ReadFileEncoding, j as W_OK, X as X_OK } from './packem_shared/types-CiwAWOQj.cjs';
1
+ import { W as WalkOptions, F as FindUpName, a as FindUpOptions, b as FindUpNameSync, c as WalkEntry, R as ReadFileOptions, C as ContentType, d as ReadJsonOptions, J as JsonReviver, E as EmptyDirOptions, e as WriteFileOptions, f as WriteJsonOptions } from './packem_shared/types-Crz-rGlC.cjs';
2
+ export { k as CodeFrameLocation, h as FIND_UP_STOP, g as F_OK, l as FindUpNameFnResult, m as FindUpNameSyncFnResult, n as JsonReplacer, i as R_OK, o as ReadFileEncoding, j as W_OK, X as X_OK } from './packem_shared/types-Crz-rGlC.cjs';
3
3
  import { symlink } from 'node:fs';
4
4
  import { brotliDecompress, unzip, brotliDecompressSync, unzipSync } from 'node:zlib';
5
5
  import { J as JsonValue } from './packem_shared/observable-like.d-BlD8q22s.cjs';
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { W as WalkOptions, F as FindUpName, a as FindUpOptions, b as FindUpNameSync, c as WalkEntry, R as ReadFileOptions, C as ContentType, d as ReadJsonOptions, J as JsonReviver, E as EmptyDirOptions, e as WriteFileOptions, f as WriteJsonOptions } from './packem_shared/types-CiwAWOQj.mjs';
2
- export { k as CodeFrameLocation, h as FIND_UP_STOP, g as F_OK, l as FindUpNameFnResult, m as FindUpNameSyncFnResult, n as JsonReplacer, i as R_OK, o as ReadFileEncoding, j as W_OK, X as X_OK } from './packem_shared/types-CiwAWOQj.mjs';
1
+ import { W as WalkOptions, F as FindUpName, a as FindUpOptions, b as FindUpNameSync, c as WalkEntry, R as ReadFileOptions, C as ContentType, d as ReadJsonOptions, J as JsonReviver, E as EmptyDirOptions, e as WriteFileOptions, f as WriteJsonOptions } from './packem_shared/types-Crz-rGlC.mjs';
2
+ export { k as CodeFrameLocation, h as FIND_UP_STOP, g as F_OK, l as FindUpNameFnResult, m as FindUpNameSyncFnResult, n as JsonReplacer, i as R_OK, o as ReadFileEncoding, j as W_OK, X as X_OK } from './packem_shared/types-Crz-rGlC.mjs';
3
3
  import { symlink } from 'node:fs';
4
4
  import { brotliDecompress, unzip, brotliDecompressSync, unzipSync } from 'node:zlib';
5
5
  import { J as JsonValue } from './packem_shared/observable-like.d-BlD8q22s.mjs';
package/dist/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- import { W as WalkOptions, F as FindUpName, a as FindUpOptions, b as FindUpNameSync, c as WalkEntry, R as ReadFileOptions, C as ContentType, d as ReadJsonOptions, J as JsonReviver, E as EmptyDirOptions, e as WriteFileOptions, f as WriteJsonOptions } from './packem_shared/types-CiwAWOQj.d.mjs';
2
- export { k as CodeFrameLocation, h as FIND_UP_STOP, g as F_OK, l as FindUpNameFnResult, m as FindUpNameSyncFnResult, n as JsonReplacer, i as R_OK, o as ReadFileEncoding, j as W_OK, X as X_OK } from './packem_shared/types-CiwAWOQj.d.mjs';
1
+ import { W as WalkOptions, F as FindUpName, a as FindUpOptions, b as FindUpNameSync, c as WalkEntry, R as ReadFileOptions, C as ContentType, d as ReadJsonOptions, J as JsonReviver, E as EmptyDirOptions, e as WriteFileOptions, f as WriteJsonOptions } from './packem_shared/types-Crz-rGlC.js';
2
+ export { k as CodeFrameLocation, h as FIND_UP_STOP, g as F_OK, l as FindUpNameFnResult, m as FindUpNameSyncFnResult, n as JsonReplacer, i as R_OK, o as ReadFileEncoding, j as W_OK, X as X_OK } from './packem_shared/types-Crz-rGlC.js';
3
3
  import { symlink } from 'node:fs';
4
4
  import { brotliDecompress, unzip, brotliDecompressSync, unzipSync } from 'node:zlib';
5
- import { J as JsonValue } from './packem_shared/observable-like.d-BlD8q22s.d.mjs';
5
+ import { J as JsonValue } from './packem_shared/observable-like.d-BlD8q22s.js';
6
6
  import 'yaml';
7
7
 
8
8
  declare const ensureDir: (directory: URL | string) => Promise<void>;
package/dist/index.mjs CHANGED
@@ -1,31 +1,31 @@
1
1
  export { FIND_UP_STOP, F_OK, R_OK, W_OK, X_OK } from './packem_shared/F_OK-JER1LjUr.mjs';
2
- export { default as ensureDir } from './packem_shared/ensureDir-XiBlkOLR.mjs';
3
- export { default as ensureDirSync } from './packem_shared/ensureDirSync-2IFUHFK2.mjs';
4
- export { default as ensureFile } from './packem_shared/ensureFile-C2bWlBEa.mjs';
5
- export { default as ensureFileSync } from './packem_shared/ensureFileSync-DkFfhOEs.mjs';
6
- export { default as ensureLink } from './packem_shared/ensureLink-CFiabAD3.mjs';
7
- export { default as ensureLinkSync } from './packem_shared/ensureLinkSync-Dk-YeRg6.mjs';
8
- export { default as ensureSymlink } from './packem_shared/ensureSymlink-CSqngPoI.mjs';
9
- export { default as ensureSymlinkSync } from './packem_shared/ensureSymlinkSync-QRaNZX2E.mjs';
2
+ export { default as ensureDir } from './packem_shared/ensureDir-BnA_fY1A.mjs';
3
+ export { default as ensureDirSync } from './packem_shared/ensureDirSync-Dm4az3YF.mjs';
4
+ export { default as ensureFile } from './packem_shared/ensureFile-BKrJMHfr.mjs';
5
+ export { default as ensureFileSync } from './packem_shared/ensureFileSync-BnhFBXaR.mjs';
6
+ export { default as ensureLink } from './packem_shared/ensureLink-ChsWDTK5.mjs';
7
+ export { default as ensureLinkSync } from './packem_shared/ensureLinkSync-CG-DTUoV.mjs';
8
+ export { default as ensureSymlink } from './packem_shared/ensureSymlink-BwJ_QhzJ.mjs';
9
+ export { default as ensureSymlinkSync } from './packem_shared/ensureSymlinkSync-BamG29QK.mjs';
10
10
  export { CRLF, EOL, LF, detect, format } from './packem_shared/LF-CU3KsvZC.mjs';
11
- export { default as collect } from './packem_shared/collect-BtDVJEOm.mjs';
12
- export { default as collectSync } from './packem_shared/collectSync-CGjdb50I.mjs';
13
- export { default as findUp } from './packem_shared/findUp-C8_QpAtD.mjs';
14
- export { default as findUpSync } from './packem_shared/findUpSync-DVOd3V-q.mjs';
15
- export { default as walk } from './packem_shared/walk-CNcSYQVq.mjs';
16
- export { default as walkSync } from './packem_shared/walkSync-BzxdFWLU.mjs';
11
+ export { default as collect } from './packem_shared/collect-B615pR8z.mjs';
12
+ export { default as collectSync } from './packem_shared/collectSync-CYuBdXWI.mjs';
13
+ export { default as findUp } from './packem_shared/findUp-D5W-MTpT.mjs';
14
+ export { default as findUpSync } from './packem_shared/findUpSync-DL3NPCYg.mjs';
15
+ export { default as walk } from './packem_shared/walk-BIh3_ljI.mjs';
16
+ export { default as walkSync } from './packem_shared/walkSync-CFwkbDz9.mjs';
17
17
  export { default as isAccessible } from './packem_shared/isAccessible-Bonsm1Ez.mjs';
18
18
  export { default as isAccessibleSync } from './packem_shared/isAccessibleSync-3gnUWUwX.mjs';
19
19
  export { move, moveSync, rename, renameSync } from './packem_shared/move-DgF7Ul9L.mjs';
20
- export { default as readFile } from './packem_shared/readFile-DUM-xNoB.mjs';
21
- export { default as readFileSync } from './packem_shared/readFileSync-Cck96_o0.mjs';
22
- export { default as readJson } from './packem_shared/readJson-DIHRleEE.mjs';
23
- export { default as readJsonSync } from './packem_shared/readJsonSync-BPfxTuQL.mjs';
20
+ export { default as readFile } from './packem_shared/readFile-b7UBVv17.mjs';
21
+ export { default as readFileSync } from './packem_shared/readFileSync-CkEJBqZB.mjs';
22
+ export { default as readJson } from './packem_shared/readJson-Ddq4aS0W.mjs';
23
+ export { default as readJsonSync } from './packem_shared/readJsonSync-C1IyJccj.mjs';
24
24
  export { default as emptyDir } from './packem_shared/emptyDir-Dw5xSBox.mjs';
25
25
  export { default as emptyDirSync } from './packem_shared/emptyDirSync-DTGPXQ3v.mjs';
26
26
  export { default as remove } from './packem_shared/remove-B2nxUObP.mjs';
27
27
  export { default as removeSync } from './packem_shared/removeSync-C87yepDI.mjs';
28
- export { default as writeFile } from './packem_shared/writeFile-CzpkxDqy.mjs';
29
- export { default as writeFileSync } from './packem_shared/writeFileSync-DYRpumrj.mjs';
30
- export { default as writeJson } from './packem_shared/writeJson-V9KBXfw2.mjs';
31
- export { default as writeJsonSync } from './packem_shared/writeJsonSync-CyaXNy3X.mjs';
28
+ export { default as writeFile } from './packem_shared/writeFile-BZ4JBQxc.mjs';
29
+ export { default as writeFileSync } from './packem_shared/writeFileSync-Ctw5pNQH.mjs';
30
+ export { default as writeJson } from './packem_shared/writeJson-axO_14yL.mjs';
31
+ export { default as writeJsonSync } from './packem_shared/writeJsonSync-CzngmuKb.mjs';
@@ -1,4 +1,4 @@
1
- import walk from './walk-CNcSYQVq.mjs';
1
+ import walk from './walk-BIh3_ljI.mjs';
2
2
 
3
3
  var __defProp = Object.defineProperty;
4
4
  var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const walk = require('./walk-BW7b4GXI.cjs');
3
+ const walk = require('./walk-PpNwjtjX.cjs');
4
4
 
5
5
  var __defProp = Object.defineProperty;
6
6
  var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
@@ -1,4 +1,4 @@
1
- import walkSync from './walkSync-BzxdFWLU.mjs';
1
+ import walkSync from './walkSync-CFwkbDz9.mjs';
2
2
 
3
3
  var __defProp = Object.defineProperty;
4
4
  var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const walkSync = require('./walkSync-DgPj93NL.cjs');
3
+ const walkSync = require('./walkSync-BidUqvMI.cjs');
4
4
 
5
5
  var __defProp = Object.defineProperty;
6
6
  var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
@@ -2,7 +2,7 @@
2
2
 
3
3
  const promises = require('node:fs/promises');
4
4
  const assertValidFileOrDirectoryPath = require('./assertValidFileOrDirectoryPath-BMbgA-eI.cjs');
5
- const getFileInfoType = require('./get-file-info-type-BpRzQHvd.cjs');
5
+ const getFileInfoType = require('./get-file-info-type-BlryFnpp.cjs');
6
6
 
7
7
  var __defProp = Object.defineProperty;
8
8
  var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
@@ -1,6 +1,6 @@
1
1
  import { lstat, mkdir } from 'node:fs/promises';
2
2
  import assertValidFileOrDirectoryPath from './assertValidFileOrDirectoryPath-BWWgA1wj.mjs';
3
- import { g as getFileInfoType } from './get-file-info-type-CeiZ6n6g.mjs';
3
+ import { g as getFileInfoType } from './get-file-info-type-ButUVD6d.mjs';
4
4
 
5
5
  var __defProp = Object.defineProperty;
6
6
  var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
@@ -2,7 +2,7 @@
2
2
 
3
3
  const node_fs = require('node:fs');
4
4
  const assertValidFileOrDirectoryPath = require('./assertValidFileOrDirectoryPath-BMbgA-eI.cjs');
5
- const getFileInfoType = require('./get-file-info-type-BpRzQHvd.cjs');
5
+ const getFileInfoType = require('./get-file-info-type-BlryFnpp.cjs');
6
6
 
7
7
  var __defProp = Object.defineProperty;
8
8
  var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
@@ -1,6 +1,6 @@
1
1
  import { lstatSync, mkdirSync } from 'node:fs';
2
2
  import assertValidFileOrDirectoryPath from './assertValidFileOrDirectoryPath-BWWgA1wj.mjs';
3
- import { g as getFileInfoType } from './get-file-info-type-CeiZ6n6g.mjs';
3
+ import { g as getFileInfoType } from './get-file-info-type-ButUVD6d.mjs';
4
4
 
5
5
  var __defProp = Object.defineProperty;
6
6
  var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
@@ -2,8 +2,8 @@ import { lstat, writeFile } from 'node:fs/promises';
2
2
  import { dirname } from '@visulima/path';
3
3
  import { toPath } from '@visulima/path/utils';
4
4
  import assertValidFileOrDirectoryPath from './assertValidFileOrDirectoryPath-BWWgA1wj.mjs';
5
- import { g as getFileInfoType } from './get-file-info-type-CeiZ6n6g.mjs';
6
- import ensureDir from './ensureDir-XiBlkOLR.mjs';
5
+ import ensureDir from './ensureDir-BnA_fY1A.mjs';
6
+ import { g as getFileInfoType } from './get-file-info-type-ButUVD6d.mjs';
7
7
 
8
8
  var __defProp = Object.defineProperty;
9
9
  var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
@@ -4,8 +4,8 @@ const promises = require('node:fs/promises');
4
4
  const path = require('@visulima/path');
5
5
  const utils = require('@visulima/path/utils');
6
6
  const assertValidFileOrDirectoryPath = require('./assertValidFileOrDirectoryPath-BMbgA-eI.cjs');
7
- const getFileInfoType = require('./get-file-info-type-BpRzQHvd.cjs');
8
- const ensureDir = require('./ensureDir-iUK2ga5M.cjs');
7
+ const ensureDir = require('./ensureDir-BOfUZlxG.cjs');
8
+ const getFileInfoType = require('./get-file-info-type-BlryFnpp.cjs');
9
9
 
10
10
  var __defProp = Object.defineProperty;
11
11
  var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
@@ -4,8 +4,8 @@ const node_fs = require('node:fs');
4
4
  const path = require('@visulima/path');
5
5
  const utils = require('@visulima/path/utils');
6
6
  const assertValidFileOrDirectoryPath = require('./assertValidFileOrDirectoryPath-BMbgA-eI.cjs');
7
- const getFileInfoType = require('./get-file-info-type-BpRzQHvd.cjs');
8
- const ensureDirSync = require('./ensureDirSync-CXdMkg0Y.cjs');
7
+ const ensureDirSync = require('./ensureDirSync-DHmWi3CF.cjs');
8
+ const getFileInfoType = require('./get-file-info-type-BlryFnpp.cjs');
9
9
 
10
10
  var __defProp = Object.defineProperty;
11
11
  var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
@@ -2,8 +2,8 @@ import { lstatSync, writeFileSync } from 'node:fs';
2
2
  import { dirname } from '@visulima/path';
3
3
  import { toPath } from '@visulima/path/utils';
4
4
  import assertValidFileOrDirectoryPath from './assertValidFileOrDirectoryPath-BWWgA1wj.mjs';
5
- import { g as getFileInfoType } from './get-file-info-type-CeiZ6n6g.mjs';
6
- import ensureDirSync from './ensureDirSync-2IFUHFK2.mjs';
5
+ import ensureDirSync from './ensureDirSync-Dm4az3YF.mjs';
6
+ import { g as getFileInfoType } from './get-file-info-type-ButUVD6d.mjs';
7
7
 
8
8
  var __defProp = Object.defineProperty;
9
9
  var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
@@ -2,8 +2,8 @@ import { lstat, link } from 'node:fs/promises';
2
2
  import { toNamespacedPath, dirname } from '@visulima/path';
3
3
  import { toPath } from '@visulima/path/utils';
4
4
  import assertValidFileOrDirectoryPath from './assertValidFileOrDirectoryPath-BWWgA1wj.mjs';
5
+ import ensureDir from './ensureDir-BnA_fY1A.mjs';
5
6
  import { i as isStatsIdentical } from './is-stats-identical-ByTYZ2Aw.mjs';
6
- import ensureDir from './ensureDir-XiBlkOLR.mjs';
7
7
 
8
8
  var __defProp = Object.defineProperty;
9
9
  var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
@@ -4,8 +4,8 @@ const promises = require('node:fs/promises');
4
4
  const path = require('@visulima/path');
5
5
  const utils = require('@visulima/path/utils');
6
6
  const assertValidFileOrDirectoryPath = require('./assertValidFileOrDirectoryPath-BMbgA-eI.cjs');
7
+ const ensureDir = require('./ensureDir-BOfUZlxG.cjs');
7
8
  const isStatsIdentical = require('./is-stats-identical-BfdEfO6i.cjs');
8
- const ensureDir = require('./ensureDir-iUK2ga5M.cjs');
9
9
 
10
10
  var __defProp = Object.defineProperty;
11
11
  var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
@@ -2,8 +2,8 @@ import { lstatSync, linkSync } from 'node:fs';
2
2
  import { toNamespacedPath, dirname } from '@visulima/path';
3
3
  import { toPath } from '@visulima/path/utils';
4
4
  import assertValidFileOrDirectoryPath from './assertValidFileOrDirectoryPath-BWWgA1wj.mjs';
5
+ import ensureDirSync from './ensureDirSync-Dm4az3YF.mjs';
5
6
  import { i as isStatsIdentical } from './is-stats-identical-ByTYZ2Aw.mjs';
6
- import ensureDirSync from './ensureDirSync-2IFUHFK2.mjs';
7
7
 
8
8
  var __defProp = Object.defineProperty;
9
9
  var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
@@ -4,8 +4,8 @@ const node_fs = require('node:fs');
4
4
  const path = require('@visulima/path');
5
5
  const utils = require('@visulima/path/utils');
6
6
  const assertValidFileOrDirectoryPath = require('./assertValidFileOrDirectoryPath-BMbgA-eI.cjs');
7
+ const ensureDirSync = require('./ensureDirSync-DHmWi3CF.cjs');
7
8
  const isStatsIdentical = require('./is-stats-identical-BfdEfO6i.cjs');
8
- const ensureDirSync = require('./ensureDirSync-CXdMkg0Y.cjs');
9
9
 
10
10
  var __defProp = Object.defineProperty;
11
11
  var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
@@ -2,10 +2,10 @@ import { lstat, stat, symlink, readlink } from 'node:fs/promises';
2
2
  import { toNamespacedPath, dirname, resolve } from '@visulima/path';
3
3
  import { toPath } from '@visulima/path/utils';
4
4
  import assertValidFileOrDirectoryPath from './assertValidFileOrDirectoryPath-BWWgA1wj.mjs';
5
- import { g as getFileInfoType } from './get-file-info-type-CeiZ6n6g.mjs';
5
+ import ensureDir from './ensureDir-BnA_fY1A.mjs';
6
+ import { g as getFileInfoType } from './get-file-info-type-ButUVD6d.mjs';
6
7
  import { i as isStatsIdentical } from './is-stats-identical-ByTYZ2Aw.mjs';
7
8
  import { r as resolveSymlinkTarget } from './resolve-symlink-target-BbpEHdU2.mjs';
8
- import ensureDir from './ensureDir-XiBlkOLR.mjs';
9
9
  import AlreadyExistsError from './AlreadyExistsError-GK7J9fVA.mjs';
10
10
 
11
11
  var __defProp = Object.defineProperty;
@@ -4,10 +4,10 @@ const promises = require('node:fs/promises');
4
4
  const path = require('@visulima/path');
5
5
  const utils = require('@visulima/path/utils');
6
6
  const assertValidFileOrDirectoryPath = require('./assertValidFileOrDirectoryPath-BMbgA-eI.cjs');
7
- const getFileInfoType = require('./get-file-info-type-BpRzQHvd.cjs');
7
+ const ensureDir = require('./ensureDir-BOfUZlxG.cjs');
8
+ const getFileInfoType = require('./get-file-info-type-BlryFnpp.cjs');
8
9
  const isStatsIdentical = require('./is-stats-identical-BfdEfO6i.cjs');
9
10
  const resolveSymlinkTarget = require('./resolve-symlink-target-DImIddt6.cjs');
10
- const ensureDir = require('./ensureDir-iUK2ga5M.cjs');
11
11
  const AlreadyExistsError = require('./AlreadyExistsError-DpxtwQot.cjs');
12
12
 
13
13
  var __defProp = Object.defineProperty;
@@ -2,10 +2,10 @@ import { lstatSync, statSync, symlinkSync, readlinkSync } from 'node:fs';
2
2
  import { toNamespacedPath, dirname, resolve } from '@visulima/path';
3
3
  import { toPath } from '@visulima/path/utils';
4
4
  import assertValidFileOrDirectoryPath from './assertValidFileOrDirectoryPath-BWWgA1wj.mjs';
5
- import { g as getFileInfoType } from './get-file-info-type-CeiZ6n6g.mjs';
5
+ import ensureDirSync from './ensureDirSync-Dm4az3YF.mjs';
6
+ import { g as getFileInfoType } from './get-file-info-type-ButUVD6d.mjs';
6
7
  import { i as isStatsIdentical } from './is-stats-identical-ByTYZ2Aw.mjs';
7
8
  import { r as resolveSymlinkTarget } from './resolve-symlink-target-BbpEHdU2.mjs';
8
- import ensureDirSync from './ensureDirSync-2IFUHFK2.mjs';
9
9
  import AlreadyExistsError from './AlreadyExistsError-GK7J9fVA.mjs';
10
10
 
11
11
  var __defProp = Object.defineProperty;
@@ -4,10 +4,10 @@ const node_fs = require('node:fs');
4
4
  const path = require('@visulima/path');
5
5
  const utils = require('@visulima/path/utils');
6
6
  const assertValidFileOrDirectoryPath = require('./assertValidFileOrDirectoryPath-BMbgA-eI.cjs');
7
- const getFileInfoType = require('./get-file-info-type-BpRzQHvd.cjs');
7
+ const ensureDirSync = require('./ensureDirSync-DHmWi3CF.cjs');
8
+ const getFileInfoType = require('./get-file-info-type-BlryFnpp.cjs');
8
9
  const isStatsIdentical = require('./is-stats-identical-BfdEfO6i.cjs');
9
10
  const resolveSymlinkTarget = require('./resolve-symlink-target-DImIddt6.cjs');
10
- const ensureDirSync = require('./ensureDirSync-CXdMkg0Y.cjs');
11
11
  const AlreadyExistsError = require('./AlreadyExistsError-DpxtwQot.cjs');
12
12
 
13
13
  var __defProp = Object.defineProperty;
@@ -29,16 +29,16 @@ const findUp = /* @__PURE__ */ __name(async (name, options = {}) => {
29
29
  }
30
30
  return [name];
31
31
  }, "getMatchers");
32
- if (options.allowSymlinks === undefined) {
32
+ if (options.allowSymlinks === void 0) {
33
33
  options.allowSymlinks = true;
34
34
  }
35
35
  const statFunction = options.allowSymlinks ? stat : lstat;
36
36
  while (directory && directory !== stopAt && directory !== root) {
37
37
  for await (let fileName of await getMatchers(directory)) {
38
38
  if (fileName === FIND_UP_STOP) {
39
- return undefined;
39
+ return void 0;
40
40
  }
41
- if (fileName === undefined) {
41
+ if (fileName === void 0) {
42
42
  continue;
43
43
  }
44
44
  if (Buffer.isBuffer(fileName)) {
@@ -57,7 +57,7 @@ const findUp = /* @__PURE__ */ __name(async (name, options = {}) => {
57
57
  }
58
58
  directory = dirname(directory);
59
59
  }
60
- return undefined;
60
+ return void 0;
61
61
  }, "findUp");
62
62
 
63
63
  export { findUp as default };
@@ -31,16 +31,16 @@ const findUp = /* @__PURE__ */ __name(async (name, options = {}) => {
31
31
  }
32
32
  return [name];
33
33
  }, "getMatchers");
34
- if (options.allowSymlinks === undefined) {
34
+ if (options.allowSymlinks === void 0) {
35
35
  options.allowSymlinks = true;
36
36
  }
37
37
  const statFunction = options.allowSymlinks ? promises.stat : promises.lstat;
38
38
  while (directory && directory !== stopAt && directory !== root) {
39
39
  for await (let fileName of await getMatchers(directory)) {
40
40
  if (fileName === F_OK.FIND_UP_STOP) {
41
- return undefined;
41
+ return void 0;
42
42
  }
43
- if (fileName === undefined) {
43
+ if (fileName === void 0) {
44
44
  continue;
45
45
  }
46
46
  if (Buffer.isBuffer(fileName)) {
@@ -59,7 +59,7 @@ const findUp = /* @__PURE__ */ __name(async (name, options = {}) => {
59
59
  }
60
60
  directory = path.dirname(directory);
61
61
  }
62
- return undefined;
62
+ return void 0;
63
63
  }, "findUp");
64
64
 
65
65
  module.exports = findUp;
@@ -31,16 +31,16 @@ const findUpSync = /* @__PURE__ */ __name((name, options = {}) => {
31
31
  }
32
32
  return [name];
33
33
  }, "getMatchers");
34
- if (options.allowSymlinks === undefined) {
34
+ if (options.allowSymlinks === void 0) {
35
35
  options.allowSymlinks = true;
36
36
  }
37
37
  const statFunction = options.allowSymlinks ? node_fs.statSync : node_fs.lstatSync;
38
38
  while (directory && directory !== stopAt && directory !== root) {
39
39
  for (let fileName of getMatchers(directory)) {
40
40
  if (fileName === F_OK.FIND_UP_STOP) {
41
- return undefined;
41
+ return void 0;
42
42
  }
43
- if (fileName === undefined) {
43
+ if (fileName === void 0) {
44
44
  continue;
45
45
  }
46
46
  if (Buffer.isBuffer(fileName)) {
@@ -59,7 +59,7 @@ const findUpSync = /* @__PURE__ */ __name((name, options = {}) => {
59
59
  }
60
60
  directory = path.dirname(directory);
61
61
  }
62
- return undefined;
62
+ return void 0;
63
63
  }, "findUpSync");
64
64
 
65
65
  module.exports = findUpSync;
@@ -29,16 +29,16 @@ const findUpSync = /* @__PURE__ */ __name((name, options = {}) => {
29
29
  }
30
30
  return [name];
31
31
  }, "getMatchers");
32
- if (options.allowSymlinks === undefined) {
32
+ if (options.allowSymlinks === void 0) {
33
33
  options.allowSymlinks = true;
34
34
  }
35
35
  const statFunction = options.allowSymlinks ? statSync : lstatSync;
36
36
  while (directory && directory !== stopAt && directory !== root) {
37
37
  for (let fileName of getMatchers(directory)) {
38
38
  if (fileName === FIND_UP_STOP) {
39
- return undefined;
39
+ return void 0;
40
40
  }
41
- if (fileName === undefined) {
41
+ if (fileName === void 0) {
42
42
  continue;
43
43
  }
44
44
  if (Buffer.isBuffer(fileName)) {
@@ -57,7 +57,7 @@ const findUpSync = /* @__PURE__ */ __name((name, options = {}) => {
57
57
  }
58
58
  directory = dirname(directory);
59
59
  }
60
- return undefined;
60
+ return void 0;
61
61
  }, "findUpSync");
62
62
 
63
63
  export { findUpSync as default };
@@ -12,7 +12,7 @@ const getFileInfoType = /* @__PURE__ */ __name((fileInfo) => {
12
12
  if (fileInfo.isSymbolicLink()) {
13
13
  return "symlink";
14
14
  }
15
- return undefined;
15
+ return void 0;
16
16
  }, "getFileInfoType");
17
17
 
18
18
  exports.getFileInfoType = getFileInfoType;
@@ -10,7 +10,7 @@ const getFileInfoType = /* @__PURE__ */ __name((fileInfo) => {
10
10
  if (fileInfo.isSymbolicLink()) {
11
11
  return "symlink";
12
12
  }
13
- return undefined;
13
+ return void 0;
14
14
  }, "getFileInfoType");
15
15
 
16
16
  export { getFileInfoType as g };
@@ -45,7 +45,7 @@ function makeIndentsMap(string, ignoreSingleSpaces) {
45
45
  key = encodeIndentsKey(indentType, absoluteIndentDifference);
46
46
  }
47
47
  entry = indents.get(key);
48
- entry = entry === undefined ? [1, 0] : [entry[0] + use, entry[1] + weight];
48
+ entry = entry === void 0 ? [1, 0] : [entry[0] + use, entry[1] + weight];
49
49
  indents.set(key, entry);
50
50
  }
51
51
  }
@@ -95,7 +95,7 @@ function detectIndent(string) {
95
95
  let type;
96
96
  let amount = 0;
97
97
  let indent = "";
98
- if (keyOfMostUsedIndent !== undefined) {
98
+ if (keyOfMostUsedIndent !== void 0) {
99
99
  ({ type, amount } = decodeIndentsKey(keyOfMostUsedIndent));
100
100
  indent = makeIndentString(type, amount);
101
101
  }
@@ -43,7 +43,7 @@ function makeIndentsMap(string, ignoreSingleSpaces) {
43
43
  key = encodeIndentsKey(indentType, absoluteIndentDifference);
44
44
  }
45
45
  entry = indents.get(key);
46
- entry = entry === undefined ? [1, 0] : [entry[0] + use, entry[1] + weight];
46
+ entry = entry === void 0 ? [1, 0] : [entry[0] + use, entry[1] + weight];
47
47
  indents.set(key, entry);
48
48
  }
49
49
  }
@@ -93,7 +93,7 @@ function detectIndent(string) {
93
93
  let type;
94
94
  let amount = 0;
95
95
  let indent = "";
96
- if (keyOfMostUsedIndent !== undefined) {
96
+ if (keyOfMostUsedIndent !== void 0) {
97
97
  ({ type, amount } = decodeIndentsKey(keyOfMostUsedIndent));
98
98
  indent = makeIndentString(type, amount);
99
99
  }
@@ -19,7 +19,7 @@ const process = new Proxy(_process, {
19
19
  if (property in processShims) {
20
20
  return processShims[property];
21
21
  }
22
- return undefined;
22
+ return void 0;
23
23
  }
24
24
  });
25
25
  var __defProp$1$1 = Object.defineProperty;
@@ -81,7 +81,6 @@ const codeFrame = /* @__PURE__ */ __name2$1((source, loc, options) => {
81
81
  linesBelow: 3,
82
82
  prefix: "",
83
83
  showGutter: true,
84
- showLineNumbers: true,
85
84
  tabWidth: 4,
86
85
  ...options,
87
86
  color: {
@@ -200,7 +199,7 @@ const generateCodeFrame = /* @__PURE__ */ __name((source, location, options) =>
200
199
  const getErrorLocation = /* @__PURE__ */ __name((source, message) => {
201
200
  const match = /in JSON at position (?<index>\d+)(?: \(line (?<line>\d+) column (?<column>\d+)\))?$/.exec(message);
202
201
  if (!match) {
203
- return undefined;
202
+ return void 0;
204
203
  }
205
204
  let { column, index, line } = match.groups;
206
205
  if (line && column) {
@@ -224,7 +223,7 @@ function parseJson(string, reviver, fileName, options) {
224
223
  options = fileName;
225
224
  }
226
225
  fileName = reviver;
227
- reviver = undefined;
226
+ reviver = void 0;
228
227
  }
229
228
  let message;
230
229
  try {