@visulima/fs 4.1.0 → 5.0.0-alpha.10

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 (156) hide show
  1. package/CHANGELOG.md +188 -0
  2. package/LICENSE.md +157 -128
  3. package/README.md +32 -14
  4. package/dist/eol.d.ts +6 -35
  5. package/dist/error.d.ts +43 -7
  6. package/dist/error.js +1 -1
  7. package/dist/glob-parent.d.ts +5 -0
  8. package/dist/glob-parent.js +90 -0
  9. package/dist/glob.d.ts +5 -0
  10. package/dist/glob.js +2 -0
  11. package/dist/index.d.ts +81 -36
  12. package/dist/index.js +37 -32
  13. package/dist/ini.d.ts +10 -0
  14. package/dist/ini.js +4 -0
  15. package/dist/is-glob.d.ts +5 -0
  16. package/dist/is-glob.js +9 -0
  17. package/dist/json5.d.ts +12 -0
  18. package/dist/json5.js +4 -0
  19. package/dist/jsonc.d.ts +10 -0
  20. package/dist/jsonc.js +4 -0
  21. package/dist/match.d.ts +5 -0
  22. package/dist/match.js +15 -0
  23. package/dist/packem_shared/{F_OK-BalxCn9n.js → F_OK-MldBaGxb.js} +1 -1
  24. package/dist/packem_shared/{WalkError-DUdQd6FT.js → WalkError-DER5A43G.js} +1 -1
  25. package/dist/packem_shared/_commonjsHelpers-BqLXS_qQ.js +5 -0
  26. package/dist/packem_shared/build-rm-options-Cl3VDY4O.js +12 -0
  27. package/dist/packem_shared/{collect-DcBwsYYd.js → collect-CqQ3eVab.js} +1 -1
  28. package/dist/packem_shared/{collectSync-Bkjf9Dbm.js → collectSync-noE08NNv.js} +1 -1
  29. package/dist/packem_shared/{emptyDir-CYB5Tict.js → emptyDir-DnwENOaV.js} +5 -2
  30. package/dist/packem_shared/{emptyDirSync-BD8-1Ytl.js → emptyDirSync-6WiHBo8a.js} +3 -1
  31. package/dist/packem_shared/{ensureDir-C_kuQ5Ik.js → ensureDir-DNlPftys.js} +2 -2
  32. package/dist/packem_shared/{ensureDirSync-CI5g-uBI.js → ensureDirSync-DcPZFMy5.js} +2 -2
  33. package/dist/packem_shared/{ensureFile-BUtXGlGT.js → ensureFile-BRQpUOUM.js} +2 -2
  34. package/dist/packem_shared/{ensureFileSync-C8hASR-1.js → ensureFileSync-SBY7A9-C.js} +2 -2
  35. package/dist/packem_shared/{ensureLink-BPnAG5-P.js → ensureLink-DJQeauEn.js} +4 -3
  36. package/dist/packem_shared/{ensureLinkSync-B-Z7X0ub.js → ensureLinkSync-D9RVAglV.js} +4 -3
  37. package/dist/packem_shared/{ensureSymlink-U5B6J0BN.js → ensureSymlink-CoRYDRwr.js} +10 -3
  38. package/dist/packem_shared/{ensureSymlinkSync-DHnZj-9F.js → ensureSymlinkSync-CFimFlgh.js} +10 -3
  39. package/dist/packem_shared/{findUp-Lv9mZCIQ.js → findUp-YcNLKdfV.js} +4 -5
  40. package/dist/packem_shared/{findUpSync-BsK4Nrrq.js → findUpSync-BfA5fheN.js} +2 -4
  41. package/dist/packem_shared/glob-DY8l7izD.js +5 -0
  42. package/dist/packem_shared/glob-sync.d-CYiamQIr.d.ts +4 -0
  43. package/dist/packem_shared/globSync-5P2KJf_g.js +5 -0
  44. package/dist/packem_shared/index-C8W8sfzP.js +830 -0
  45. package/dist/packem_shared/index-bhgnhm4u.js +167 -0
  46. package/dist/packem_shared/index-xe4o3cYi.js +1784 -0
  47. package/dist/packem_shared/{parseJson-C8xb-3LR.js → indexToLineColumn-BUb0GPKl-BF770uX7.js} +8 -68
  48. package/dist/packem_shared/ini-preserve-Dq_Q_Jgb.js +251 -0
  49. package/dist/packem_shared/{isAccessible-iOp0Bou6.js → isAccessible-DuVrTNFV.js} +1 -1
  50. package/dist/packem_shared/{isAccessibleSync-38BmiIcx.js → isAccessibleSync-DI8mM0fA.js} +1 -1
  51. package/dist/packem_shared/{isFsCaseSensitive-D-ayleCy.js → isFsCaseSensitive-DunL7Iry.js} +6 -6
  52. package/dist/packem_shared/json-error.d-DgKaeuIf.d.ts +10 -0
  53. package/dist/packem_shared/jsonc-merge-C6jWcfWh.js +72 -0
  54. package/dist/packem_shared/{move-BD6JbYSu.js → move-DbpW5_vA.js} +2 -2
  55. package/dist/packem_shared/parseJson-BIp89Xjo.js +63 -0
  56. package/dist/packem_shared/{readFile-BcK0rkht.js → readFile-Iz7kvCCk.js} +2 -2
  57. package/dist/packem_shared/{readFileSync-BDgEnnqT.js → readFileSync-gm9yfIhh.js} +4 -3
  58. package/dist/packem_shared/readIni-CJ2xfpjB.js +10 -0
  59. package/dist/packem_shared/readIniSync-9LUjaSSp.js +10 -0
  60. package/dist/packem_shared/{readJson-ac6N9-5G.js → readJson-C_rwm-wq.js} +2 -2
  61. package/dist/packem_shared/readJson5-mBoTZppy.js +15 -0
  62. package/dist/packem_shared/readJson5Sync-8WS2yUok.js +15 -0
  63. package/dist/packem_shared/{readJsonSync-BTlwqLNV.js → readJsonSync-BMEmCcJ6.js} +2 -2
  64. package/dist/packem_shared/readJsonc-j-OS-APg.js +28 -0
  65. package/dist/packem_shared/readJsoncSync-Aw6EMlWO.js +16 -0
  66. package/dist/packem_shared/readToml-B2MHaSes.js +9 -0
  67. package/dist/packem_shared/readTomlSync-DNbK8NEb.js +9 -0
  68. package/dist/packem_shared/{readYaml-Cj6HxRoa.js → readYaml-D5q2a0e1.js} +1 -1
  69. package/dist/packem_shared/{readYamlSync-D3_iAKVv.js → readYamlSync-BKX-PAfq.js} +1 -1
  70. package/dist/packem_shared/{remove-_oDY3uKo.js → remove-C8_gl3jF.js} +2 -1
  71. package/dist/packem_shared/{removeSync-DETRj7Qn.js → removeSync-BJR_wTwN.js} +2 -1
  72. package/dist/packem_shared/{sanitize-lOzE6k2A.js → sanitize-BZoLN9Fg.js} +3 -3
  73. package/dist/packem_shared/{stripJsonComments-21XWVDwP.js → stripJsonComments-vo4k0mpF.js} +1 -1
  74. package/dist/packem_shared/types.d-BrSrwTmO.d.ts +145 -0
  75. package/dist/packem_shared/{walk-BhTbpr3y.js → walk-CSZgCuDx.js} +19 -10
  76. package/dist/packem_shared/{walkSync-DDBq95s8.js → walkSync-C4Cy28xb.js} +25 -16
  77. package/dist/packem_shared/{writeFile-NT1fLEEe.js → writeFile-B8HX0JIQ.js} +3 -5
  78. package/dist/packem_shared/{writeFileSync-Bj5UDSf0.js → writeFileSync-DB8vv8xR.js} +3 -5
  79. package/dist/packem_shared/writeIni-i55QrL8y.js +65 -0
  80. package/dist/packem_shared/writeIniSync-CLqJE5t3.js +64 -0
  81. package/dist/packem_shared/{writeJson-DQLdAi0d.js → writeJson-Bo7C2UHw.js} +3 -3
  82. package/dist/packem_shared/writeJson5-vVmHUQOd.js +53 -0
  83. package/dist/packem_shared/writeJson5Sync-oJ546h5k.js +53 -0
  84. package/dist/packem_shared/{writeJsonSync-DvTCjVUi.js → writeJsonSync-BKZ_9Acr.js} +3 -3
  85. package/dist/packem_shared/writeJsonc-BufH_oC5.js +60 -0
  86. package/dist/packem_shared/writeJsoncSync-DB9be1YL.js +59 -0
  87. package/dist/packem_shared/writeToml-DgTW_-7F.js +8 -0
  88. package/dist/packem_shared/writeTomlSync-DiBiE9ja.js +8 -0
  89. package/dist/packem_shared/{writeYaml-BMY0kOPf.js → writeYaml-BWCOome-.js} +3 -3
  90. package/dist/packem_shared/{writeYamlSync-DqPu8cCd.js → writeYamlSync-DBVnXmuY.js} +3 -3
  91. package/dist/size.d.ts +10 -254
  92. package/dist/size.js +6 -4
  93. package/dist/toml.d.ts +9 -0
  94. package/dist/toml.js +4 -0
  95. package/dist/utils.d.ts +15 -6
  96. package/dist/utils.js +2 -2
  97. package/dist/yaml.d.ts +14 -5
  98. package/dist/yaml.js +4 -4
  99. package/package.json +61 -7
  100. package/dist/constants.d.ts +0 -42
  101. package/dist/ensure/ensure-dir-sync.d.ts +0 -14
  102. package/dist/ensure/ensure-dir.d.ts +0 -14
  103. package/dist/ensure/ensure-file-sync.d.ts +0 -15
  104. package/dist/ensure/ensure-file.d.ts +0 -27
  105. package/dist/ensure/ensure-link-sync.d.ts +0 -16
  106. package/dist/ensure/ensure-link.d.ts +0 -16
  107. package/dist/ensure/ensure-symlink-sync.d.ts +0 -23
  108. package/dist/ensure/ensure-symlink.d.ts +0 -23
  109. package/dist/ensure/utils/get-file-info-type.d.ts +0 -7
  110. package/dist/ensure/utils/is-stats-identical.d.ts +0 -3
  111. package/dist/ensure/utils/resolve-symlink-target.d.ts +0 -2
  112. package/dist/error/already-exists-error.d.ts +0 -39
  113. package/dist/error/directory-error.d.ts +0 -47
  114. package/dist/error/json-error.d.ts +0 -52
  115. package/dist/error/not-empty-error.d.ts +0 -51
  116. package/dist/error/not-found-error.d.ts +0 -44
  117. package/dist/error/permission-error.d.ts +0 -45
  118. package/dist/error/walk-error.d.ts +0 -51
  119. package/dist/find/collect-sync.d.ts +0 -31
  120. package/dist/find/collect.d.ts +0 -35
  121. package/dist/find/find-up-sync.d.ts +0 -42
  122. package/dist/find/find-up.d.ts +0 -46
  123. package/dist/find/utils/glob-to-regexp.d.ts +0 -2
  124. package/dist/find/utils/walk-include.d.ts +0 -2
  125. package/dist/find/walk-sync.d.ts +0 -34
  126. package/dist/find/walk.d.ts +0 -37
  127. package/dist/is-accessible-sync.d.ts +0 -3
  128. package/dist/is-accessible.d.ts +0 -29
  129. package/dist/move/index.d.ts +0 -68
  130. package/dist/move/types.d.ts +0 -36
  131. package/dist/move/utils/internal-move-file-sync.d.ts +0 -3
  132. package/dist/move/utils/internal-move-file.d.ts +0 -3
  133. package/dist/move/utils/validate-same-directory.d.ts +0 -2
  134. package/dist/read/read-file-sync.d.ts +0 -37
  135. package/dist/read/read-file.d.ts +0 -41
  136. package/dist/read/read-json-sync.d.ts +0 -5
  137. package/dist/read/read-json.d.ts +0 -5
  138. package/dist/read/read-yaml-sync.d.ts +0 -4
  139. package/dist/read/read-yaml.d.ts +0 -4
  140. package/dist/remove/empty-dir-sync.d.ts +0 -23
  141. package/dist/remove/empty-dir.d.ts +0 -28
  142. package/dist/remove/remove-sync.d.ts +0 -27
  143. package/dist/remove/remove.d.ts +0 -32
  144. package/dist/sanitize.d.ts +0 -31
  145. package/dist/types.d.ts +0 -304
  146. package/dist/utils/assert-valid-file-contents.d.ts +0 -27
  147. package/dist/utils/assert-valid-file-or-directory-path.d.ts +0 -26
  148. package/dist/utils/parse-json.d.ts +0 -5
  149. package/dist/utils/strip-json-comments.d.ts +0 -44
  150. package/dist/write/utils/to-uint-8-array.d.ts +0 -2
  151. package/dist/write/write-file-sync.d.ts +0 -30
  152. package/dist/write/write-file.d.ts +0 -30
  153. package/dist/write/write-json-sync.d.ts +0 -29
  154. package/dist/write/write-json.d.ts +0 -30
  155. package/dist/write/write-yaml-sync.d.ts +0 -4
  156. package/dist/write/write-yaml.d.ts +0 -4
package/CHANGELOG.md CHANGED
@@ -1,3 +1,191 @@
1
+ ## @visulima/fs [5.0.0-alpha.10](https://github.com/visulima/visulima/compare/@visulima/fs@5.0.0-alpha.9...@visulima/fs@5.0.0-alpha.10) (2026-04-21)
2
+
3
+ ### Miscellaneous Chores
4
+
5
+ * update the jsr.json ([864ab7e](https://github.com/visulima/visulima/commit/864ab7e71c4b5ae82f64792d1ae8debfea2c539b))
6
+
7
+
8
+ ### Dependencies
9
+
10
+ * **@visulima/error:** upgraded to 6.0.0-alpha.11
11
+
12
+ ## @visulima/fs [5.0.0-alpha.9](https://github.com/visulima/visulima/compare/@visulima/fs@5.0.0-alpha.8...@visulima/fs@5.0.0-alpha.9) (2026-04-21)
13
+
14
+ ### Features
15
+
16
+ * **fs:** add glob, isGlob, globParent, match helpers ([f0f0a2f](https://github.com/visulima/visulima/commit/f0f0a2f6f834015ba5d9915b8afb4318910225c4)), closes [micromatch/picomatch#150](https://github.com/micromatch/picomatch/issues/150) [#188](https://github.com/visulima/visulima/issues/188) [#143](https://github.com/visulima/visulima/issues/143)
17
+ * **fs:** add TOML, JSONC, JSON5, INI support with style preservation ([f07446c](https://github.com/visulima/visulima/commit/f07446c97c0b5c3a2bd05297abc7705379ad336f))
18
+
19
+ ### Bug Fixes
20
+
21
+ * **fs:** disable isolated declarations to unblock Windows CI ([e510ddf](https://github.com/visulima/visulima/commit/e510ddfd18759dff63e33badeffb7623dbe5d570))
22
+ * **fs:** drop undefined retry fields from rm options ([c937df3](https://github.com/visulima/visulima/commit/c937df37401f14a4b3a0fc8b26f4a779b3a1e26e))
23
+
24
+ ### Miscellaneous Chores
25
+
26
+ * bump engines.node to ^22.14.0 || >=24.10.0 ([c3d0931](https://github.com/visulima/visulima/commit/c3d0931d1504e4f21ebf50ea680cfa7ce4ba15ce))
27
+ * fixed jsr.json ([5d85e51](https://github.com/visulima/visulima/commit/5d85e5179de38e284ec433b14d77c71a1619c8d6))
28
+ * **fs:** apply formatter and lint fixes ([6bd7a2d](https://github.com/visulima/visulima/commit/6bd7a2d6397e38caf12b2799c5f0cdd6933db64a))
29
+ * **fs:** apply formatter and lint fixes ([f59a388](https://github.com/visulima/visulima/commit/f59a38866c232e832de00777486ed4a8f24129a9))
30
+ * **fs:** apply pending changes ([91490a8](https://github.com/visulima/visulima/commit/91490a801d4821a97e3a45c44173090f7bc8b97f))
31
+ * **fs:** apply pending lint and source updates ([9d1cf79](https://github.com/visulima/visulima/commit/9d1cf793f5ea2baa5efdc55faae0ddb6772678ad))
32
+ * **fs:** enforce curly braces and apply lint fixes ([b77fb0b](https://github.com/visulima/visulima/commit/b77fb0b3915b05fc8e3937b2866a3e23c3e58f5b))
33
+ * lock update ([4c82df0](https://github.com/visulima/visulima/commit/4c82df0f7df233b9da14cb6c8543cf15870a9008))
34
+
35
+ ### Continuous Integration
36
+
37
+ * disable isolatedDeclarationTransformer ([d5845d8](https://github.com/visulima/visulima/commit/d5845d888012fbe20a020cb2c02ec57269356e56))
38
+
39
+
40
+ ### Dependencies
41
+
42
+ * **@visulima/error:** upgraded to 6.0.0-alpha.10
43
+
44
+ ## @visulima/fs [5.0.0-alpha.8](https://github.com/visulima/visulima/compare/@visulima/fs@5.0.0-alpha.7...@visulima/fs@5.0.0-alpha.8) (2026-04-15)
45
+
46
+ ### Bug Fixes
47
+
48
+ * **filesystem:** resolve eslint issues in fs, path, and find-cache-dir ([59ad5e3](https://github.com/visulima/visulima/commit/59ad5e3051e92365eb8b1fdd73d4f4fd1f4bb547))
49
+ * **fs:** narrow walk directory type and drop unsupported parseJson generic ([2f709ba](https://github.com/visulima/visulima/commit/2f709ba9aab0ca24d56a9a1bb0d10c35bbd7505a))
50
+ * **fs:** relax no-unsafe-* rules and remove stale disable comments ([d49d900](https://github.com/visulima/visulima/commit/d49d9002bf0e07b420833531a22490c088384509))
51
+
52
+
53
+ ### Dependencies
54
+
55
+ * **@visulima/path:** upgraded to 3.0.0-alpha.9
56
+ * **@visulima/error:** upgraded to 6.0.0-alpha.9
57
+
58
+ ## @visulima/fs [5.0.0-alpha.7](https://github.com/visulima/visulima/compare/@visulima/fs@5.0.0-alpha.6...@visulima/fs@5.0.0-alpha.7) (2026-04-08)
59
+
60
+ ### Bug Fixes
61
+
62
+ * **fs:** prevent walk/walkSync from crashing on symlinks pointing to files ([e6338b0](https://github.com/visulima/visulima/commit/e6338b0c169048240762d22fe14152e370f7e862))
63
+ * **fs:** properly fix eslint errors in code ([da36de3](https://github.com/visulima/visulima/commit/da36de37493cdd65aa28505d5fbdd671ce842663))
64
+ * **fs:** remove remaining eslint suppressions with proper code fixes ([cede286](https://github.com/visulima/visulima/commit/cede2869d5a31a3b2cd020f2050dddbfd742a619))
65
+ * **fs:** resolve eslint errors ([817fd4d](https://github.com/visulima/visulima/commit/817fd4d0f5f74debaf222837b94bd1f3a16d66ae))
66
+
67
+ ### Miscellaneous Chores
68
+
69
+ * **filesystem:** remove empty dependency objects from package.json ([76ffc54](https://github.com/visulima/visulima/commit/76ffc545660695dde19130d1c01d9bd1aaf2ca98))
70
+ * **fs:** add tsconfig.eslint.json for type-aware linting ([701b2cb](https://github.com/visulima/visulima/commit/701b2cb4801dbefe12db85ff3c772c6a8a975539))
71
+ * **fs:** apply prettier formatting ([29bc3ed](https://github.com/visulima/visulima/commit/29bc3eda63666c911c8810be20e3b550eaab7377))
72
+ * **fs:** migrate .prettierrc.cjs to prettier.config.js ([fa37870](https://github.com/visulima/visulima/commit/fa37870179d8dbebe210229a9fd00296efac5f4d))
73
+
74
+
75
+ ### Dependencies
76
+
77
+ * **@visulima/path:** upgraded to 3.0.0-alpha.8
78
+ * **@visulima/error:** upgraded to 6.0.0-alpha.8
79
+
80
+ ## @visulima/fs [5.0.0-alpha.6](https://github.com/visulima/visulima/compare/@visulima/fs@5.0.0-alpha.5...@visulima/fs@5.0.0-alpha.6) (2026-03-26)
81
+
82
+ ### Features
83
+
84
+ * **web:** auto-generate packages page from workspace metadata ([623e520](https://github.com/visulima/visulima/commit/623e5207693a7fe720f5f2f179593a3654c880e3))
85
+
86
+ ### Miscellaneous Chores
87
+
88
+ * update homepage URLs to visulima.com/packages/ format ([be42968](https://github.com/visulima/visulima/commit/be42968129df85fb074224435e33135ff44cab91))
89
+
90
+
91
+ ### Dependencies
92
+
93
+ * **@visulima/path:** upgraded to 3.0.0-alpha.7
94
+ * **@visulima/error:** upgraded to 6.0.0-alpha.7
95
+
96
+ ## @visulima/fs [5.0.0-alpha.5](https://github.com/visulima/visulima/compare/@visulima/fs@5.0.0-alpha.4...@visulima/fs@5.0.0-alpha.5) (2026-03-26)
97
+
98
+ ### Bug Fixes
99
+
100
+ * **fs:** use workspace:* for internal [@visulima](https://github.com/visulima) deps ([419339e](https://github.com/visulima/visulima/commit/419339ec3b90bb2e4405b5430186e20a577dc997))
101
+ * **web:** improve build setup with incremental stats caching and prod install ([fe33e75](https://github.com/visulima/visulima/commit/fe33e75827586779b4b3a0c6d57b39f889ee6207))
102
+
103
+ ### Miscellaneous Chores
104
+
105
+ * **fs:** migrate deps to pnpm catalogs ([02ac1ae](https://github.com/visulima/visulima/commit/02ac1ae0b0b864c43ed6711aef2956a18e8fd528))
106
+ * **fs:** update dependencies ([2f21870](https://github.com/visulima/visulima/commit/2f21870e83b4eb55a80e5bbf7144ff0642fbc347))
107
+ * visulima website ([#591](https://github.com/visulima/visulima/issues/591)) ([59ab2e2](https://github.com/visulima/visulima/commit/59ab2e2befb03e51cd2088956f83d9b87de6d033))
108
+
109
+
110
+ ### Dependencies
111
+
112
+ * **@visulima/path:** upgraded to 3.0.0-alpha.6
113
+ * **@visulima/error:** upgraded to 6.0.0-alpha.6
114
+
115
+ ## @visulima/fs [5.0.0-alpha.4](https://github.com/visulima/visulima/compare/@visulima/fs@5.0.0-alpha.3...@visulima/fs@5.0.0-alpha.4) (2026-03-06)
116
+
117
+ ### Bug Fixes
118
+
119
+ * **fs:** update packem to 2.0.0-alpha.54 ([017eb8b](https://github.com/visulima/visulima/commit/017eb8bc3608d01bf78c6cb3732591d6e234cfa3))
120
+
121
+ ### Documentation
122
+
123
+ * **object,redact,colorize,path,fs:** add comprehensive Fumadocs documentation ([19c3840](https://github.com/visulima/visulima/commit/19c384041db855e1c2de41ce2067458b39737565))
124
+
125
+ ### Miscellaneous Chores
126
+
127
+ * **filesystem:** update dependencies ([d1a4591](https://github.com/visulima/visulima/commit/d1a45917ba9547a1d7f1b6f62d85ab99bc059dd4))
128
+ * **fs:** update dependencies ([5b63f2b](https://github.com/visulima/visulima/commit/5b63f2bd2a83467a54b2247dbf0c41576e31185d))
129
+ * **fs:** update dependencies ([05c4ca6](https://github.com/visulima/visulima/commit/05c4ca60f967ff859ed1d76dcdfa1c521227a533))
130
+ * update lock file maintenance ([d83e716](https://github.com/visulima/visulima/commit/d83e71697b75d24704185b66bb521a934d2db02d))
131
+ * year update ([47f4105](https://github.com/visulima/visulima/commit/47f410596ce7190cfea36a073db32e0cec50bbcd))
132
+
133
+
134
+ ### Dependencies
135
+
136
+ * **@visulima/path:** upgraded to 3.0.0-alpha.5
137
+ * **@visulima/error:** upgraded to 6.0.0-alpha.5
138
+
139
+ ## @visulima/fs [5.0.0-alpha.3](https://github.com/visulima/visulima/compare/@visulima/fs@5.0.0-alpha.2...@visulima/fs@5.0.0-alpha.3) (2025-12-27)
140
+
141
+ ### Bug Fixes
142
+
143
+ * **fs:** update package files ([be82cef](https://github.com/visulima/visulima/commit/be82cef29dfcc917ec0c4790649d7a29c90d0644))
144
+
145
+ ### Miscellaneous Chores
146
+
147
+ * fixed project.json names and schema path ([964722f](https://github.com/visulima/visulima/commit/964722f691db205c7edb9aa6db29e849a647500b))
148
+
149
+
150
+ ### Dependencies
151
+
152
+ * **@visulima/path:** upgraded to 3.0.0-alpha.4
153
+ * **@visulima/error:** upgraded to 6.0.0-alpha.3
154
+
155
+ ## @visulima/fs [5.0.0-alpha.2](https://github.com/visulima/visulima/compare/@visulima/fs@5.0.0-alpha.1...@visulima/fs@5.0.0-alpha.2) (2025-12-11)
156
+
157
+ ### Bug Fixes
158
+
159
+ * update package OG images across multiple packages ([f08e4dd](https://github.com/visulima/visulima/commit/f08e4dd2b105ccb29c8412020a9c2be36d6c1e9e))
160
+
161
+
162
+ ### Dependencies
163
+
164
+ * **@visulima/path:** upgraded to 3.0.0-alpha.3
165
+ * **@visulima/error:** upgraded to 6.0.0-alpha.2
166
+
167
+ ## @visulima/fs [5.0.0-alpha.1](https://github.com/visulima/visulima/compare/@visulima/fs@4.1.0...@visulima/fs@5.0.0-alpha.1) (2025-12-07)
168
+
169
+ ### ⚠ BREAKING CHANGES
170
+
171
+ * change min node version to 22.13
172
+
173
+ ### Bug Fixes
174
+
175
+ * add new package image, fixed readme rendering on npm, fixed building of packages ([b790ba2](https://github.com/visulima/visulima/commit/b790ba253ea07fef83528fd822a678facf021b5f))
176
+ * update Node.js engine version requirement to >=22.13 in multiple package.json files for improved compatibility ([b828e9a](https://github.com/visulima/visulima/commit/b828e9aeaebfc798eecddccd90e6ec7560c6d36a))
177
+
178
+ ### Miscellaneous Chores
179
+
180
+ * moved all packages into groups ([0615e9d](https://github.com/visulima/visulima/commit/0615e9d14a8a886e11da529ce150cf31ca973c10))
181
+ * update @anolilab/semantic-release-pnpm and @anolilab/semantic-release-preset to versions 3.2.2 and 12.1.2 across multiple package.json files for improved compatibility ([3921626](https://github.com/visulima/visulima/commit/3921626141fe5da398749bf0ba675f1596f18afb))
182
+ * update dependencies across multiple packages to improve compatibility and performance, including upgrading `@anolilab/semantic-release-pnpm` and `@anolilab/semantic-release-preset` to versions 3.2.0 and 12.1.0 respectively, and updating `react`, `react-dom`, and `next` versions to 19.2.1 and 16.0.7 in various package.json files ([aee8fcd](https://github.com/visulima/visulima/commit/aee8fcd796ae9b8d055903260e7150996ea9f53d))
183
+
184
+
185
+ ### Dependencies
186
+
187
+ * **@visulima/error:** upgraded to 6.0.0-alpha.1
188
+
1
189
  ## @visulima/fs [4.1.0](https://github.com/visulima/visulima/compare/@visulima/fs@4.0.6...@visulima/fs@4.1.0) (2025-11-19)
2
190
 
3
191
  ### Features
package/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2025 visulima
3
+ Copyright (c) 2026 visulima
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -24,7 +24,7 @@ SOFTWARE.
24
24
 
25
25
  # Licenses of bundled dependencies
26
26
  The published @visulima/fs artifact additionally contains code with the following licenses:
27
- MIT
27
+ ISC, MIT
28
28
 
29
29
  # Bundled dependencies:
30
30
  ## @visulima/error
@@ -34,7 +34,7 @@ Repository: git+https://github.com/visulima/visulima.git
34
34
 
35
35
  > MIT License
36
36
  >
37
- > Copyright (c) 2025 visulima
37
+ > Copyright (c) 2026 visulima
38
38
  >
39
39
  > Permission is hereby granted, free of charge, to any person obtaining a copy
40
40
  > of this software and associated documentation files (the "Software"), to deal
@@ -61,131 +61,6 @@ Repository: git+https://github.com/visulima/visulima.git
61
61
  > MIT
62
62
  >
63
63
  > # Bundled dependencies:
64
- > ## @visulima/path
65
- > License: MIT
66
- > By: Daniel Bannert
67
- > Repository: git+https://github.com/visulima/visulima.git
68
- >
69
- > > MIT License
70
- > >
71
- > > Copyright (c) 2025 visulima
72
- > >
73
- > > Permission is hereby granted, free of charge, to any person obtaining a copy
74
- > > of this software and associated documentation files (the "Software"), to deal
75
- > > in the Software without restriction, including without limitation the rights
76
- > > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
77
- > > copies of the Software, and to permit persons to whom the Software is
78
- > > furnished to do so, subject to the following conditions:
79
- > >
80
- > > The above copyright notice and this permission notice shall be included in all
81
- > > copies or substantial portions of the Software.
82
- > >
83
- > > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
84
- > > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
85
- > > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
86
- > > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
87
- > > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
88
- > > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
89
- > > SOFTWARE.
90
- > >
91
- > > ---
92
- > >
93
- > > MIT License
94
- > >
95
- > > Copyright (c) Pooya Parsa <pooya@pi0.io> - Daniel Roe <daniel@roe.dev>
96
- > >
97
- > > Permission is hereby granted, free of charge, to any person obtaining a copy
98
- > > of this software and associated documentation files (the "Software"), to deal
99
- > > in the Software without restriction, including without limitation the rights
100
- > > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
101
- > > copies of the Software, and to permit persons to whom the Software is
102
- > > furnished to do so, subject to the following conditions:
103
- > >
104
- > > The above copyright notice and this permission notice shall be included in all
105
- > > copies or substantial portions of the Software.
106
- > >
107
- > > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
108
- > > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
109
- > > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
110
- > > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
111
- > > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
112
- > > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
113
- > > SOFTWARE.
114
- > >
115
- > > ---
116
- > >
117
- > > Copyright Joyent, Inc. and other Node contributors.
118
- > >
119
- > > Permission is hereby granted, free of charge, to any person obtaining a
120
- > > copy of this software and associated documentation files (the
121
- > > "Software"), to deal in the Software without restriction, including
122
- > > without limitation the rights to use, copy, modify, merge, publish,
123
- > > distribute, sublicense, and/or sell copies of the Software, and to permit
124
- > > persons to whom the Software is furnished to do so, subject to the
125
- > > following conditions:
126
- > >
127
- > > The above copyright notice and this permission notice shall be included
128
- > > in all copies or substantial portions of the Software.
129
- > >
130
- > > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
131
- > > OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
132
- > > MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
133
- > > NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
134
- > > DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
135
- > > OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
136
- > > USE OR OTHER DEALINGS IN THE SOFTWARE.
137
- > >
138
- > > ---
139
- > >
140
- > > Bundled zeptomatch (https://github.com/fabiospampinato/zeptomatch)
141
- > >
142
- > > The MIT License (MIT)
143
- > >
144
- > > Copyright (c) 2023-present Fabio Spampinato
145
- > >
146
- > > Permission is hereby granted, free of charge, to any person obtaining a
147
- > > copy of this software and associated documentation files (the "Software"),
148
- > > to deal in the Software without restriction, including without limitation
149
- > > the rights to use, copy, modify, merge, publish, distribute, sublicense,
150
- > > and/or sell copies of the Software, and to permit persons to whom the
151
- > > Software is furnished to do so, subject to the following conditions:
152
- > >
153
- > > The above copyright notice and this permission notice shall be included in
154
- > > all copies or substantial portions of the Software.
155
- > >
156
- > > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
157
- > > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
158
- > > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
159
- > > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
160
- > > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
161
- > > FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
162
- > > DEALINGS IN THE SOFTWARE.
163
- > >
164
- > >
165
- > >
166
- > > # Licenses of bundled dependencies
167
- > > The published @visulima/path artifact additionally contains code with the following licenses:
168
- > > MIT
169
- > >
170
- > > # Bundled dependencies:
171
- > > ## binary-extensions
172
- > > License: MIT
173
- > > By: Sindre Sorhus
174
- > > Repository: sindresorhus/binary-extensions
175
- > >
176
- > > > MIT License
177
- > > >
178
- > > > Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
179
- > > > Copyright (c) Paul Miller (https://paulmillr.com)
180
- > > >
181
- > > > 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:
182
- > > >
183
- > > > The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
184
- > > >
185
- > > > 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.
186
- >
187
- > ---------------------------------------
188
- >
189
64
  > ## is-plain-obj
190
65
  > License: MIT
191
66
  > By: Sindre Sorhus
@@ -220,6 +95,73 @@ Repository: sindresorhus/detect-indent
220
95
 
221
96
  ---------------------------------------
222
97
 
98
+ ## fdir
99
+ License: MIT
100
+ By: thecodrr
101
+ Repository: git+https://github.com/thecodrr/fdir.git
102
+
103
+ > Copyright 2023 Abdullah Atta
104
+ >
105
+ > 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:
106
+ >
107
+ > The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
108
+ >
109
+ > 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.
110
+
111
+ ---------------------------------------
112
+
113
+ ## glob-parent
114
+ License: ISC
115
+ By: Gulp Team, Elan Shanker, Blaine Bublitz
116
+ Repository: gulpjs/glob-parent
117
+
118
+ > The ISC License
119
+ >
120
+ > Copyright (c) 2015, 2019 Elan Shanker, 2021 Blaine Bublitz <blaine.bublitz@gmail.com>, Eric Schoffstall <yo@contra.io> and other contributors
121
+ >
122
+ > Permission to use, copy, modify, and/or distribute this software for any
123
+ > purpose with or without fee is hereby granted, provided that the above
124
+ > copyright notice and this permission notice appear in all copies.
125
+ >
126
+ > THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
127
+ > WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
128
+ > MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
129
+ > ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
130
+ > WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
131
+ > ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
132
+ > IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
133
+
134
+ ---------------------------------------
135
+
136
+ ## is-extglob
137
+ License: MIT
138
+ By: Jon Schlinkert
139
+ Repository: jonschlinkert/is-extglob
140
+
141
+ > The MIT License (MIT)
142
+ >
143
+ > Copyright (c) 2014-2016, Jon Schlinkert
144
+ >
145
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
146
+ > of this software and associated documentation files (the "Software"), to deal
147
+ > in the Software without restriction, including without limitation the rights
148
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
149
+ > copies of the Software, and to permit persons to whom the Software is
150
+ > furnished to do so, subject to the following conditions:
151
+ >
152
+ > The above copyright notice and this permission notice shall be included in
153
+ > all copies or substantial portions of the Software.
154
+ >
155
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
156
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
157
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
158
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
159
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
160
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
161
+ > THE SOFTWARE.
162
+
163
+ ---------------------------------------
164
+
223
165
  ## is-fs-case-sensitive
224
166
  License: MIT
225
167
  By: Hiroki Osame
@@ -247,6 +189,93 @@ Repository: privatenumber/is-fs-case-sensitive
247
189
  > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
248
190
  > SOFTWARE.
249
191
 
192
+ ---------------------------------------
193
+
194
+ ## is-glob
195
+ License: MIT
196
+ By: Jon Schlinkert, Brian Woodward, Daniel Perez
197
+ Repository: micromatch/is-glob
198
+
199
+ > The MIT License (MIT)
200
+ >
201
+ > Copyright (c) 2014-2017, Jon Schlinkert.
202
+ >
203
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
204
+ > of this software and associated documentation files (the "Software"), to deal
205
+ > in the Software without restriction, including without limitation the rights
206
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
207
+ > copies of the Software, and to permit persons to whom the Software is
208
+ > furnished to do so, subject to the following conditions:
209
+ >
210
+ > The above copyright notice and this permission notice shall be included in
211
+ > all copies or substantial portions of the Software.
212
+ >
213
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
214
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
215
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
216
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
217
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
218
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
219
+ > THE SOFTWARE.
220
+
221
+ ---------------------------------------
222
+
223
+ ## picomatch
224
+ License: MIT
225
+ By: Jon Schlinkert
226
+ Repository: micromatch/picomatch
227
+
228
+ > The MIT License (MIT)
229
+ >
230
+ > Copyright (c) 2017-present, Jon Schlinkert.
231
+ >
232
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
233
+ > of this software and associated documentation files (the "Software"), to deal
234
+ > in the Software without restriction, including without limitation the rights
235
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
236
+ > copies of the Software, and to permit persons to whom the Software is
237
+ > furnished to do so, subject to the following conditions:
238
+ >
239
+ > The above copyright notice and this permission notice shall be included in
240
+ > all copies or substantial portions of the Software.
241
+ >
242
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
243
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
244
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
245
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
246
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
247
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
248
+ > THE SOFTWARE.
249
+
250
+ ---------------------------------------
251
+
252
+ ## tinyglobby
253
+ License: MIT
254
+ By: Superchupu
255
+ Repository: git+https://github.com/SuperchupuDev/tinyglobby.git
256
+
257
+ > MIT License
258
+ >
259
+ > Copyright (c) 2024 Madeline Gurriarán
260
+ >
261
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
262
+ > of this software and associated documentation files (the "Software"), to deal
263
+ > in the Software without restriction, including without limitation the rights
264
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
265
+ > copies of the Software, and to permit persons to whom the Software is
266
+ > furnished to do so, subject to the following conditions:
267
+ >
268
+ > The above copyright notice and this permission notice shall be included in all
269
+ > copies or substantial portions of the Software.
270
+ >
271
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
272
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
273
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
274
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
275
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
276
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
277
+ > SOFTWARE.
278
+
250
279
  <!-- /DEPENDENCIES -->
251
280
 
252
281
  <!-- TYPE_DEPENDENCIES -->
package/README.md CHANGED
@@ -1,15 +1,24 @@
1
- <div align="center">
2
- <h3>Visulima fs</h3>
3
- <p>
4
- Human friendly file system utilities for Node.js
5
- </p>
6
- </div>
1
+ <!-- START_PACKAGE_OG_IMAGE_PLACEHOLDER -->
2
+
3
+ <a href="https://www.anolilab.com/open-source" align="center">
4
+
5
+ <img src="__assets__/package-og.svg" alt="fs" />
6
+
7
+ </a>
8
+
9
+ <h3 align="center">Human friendly file system utilities for Node.js</h3>
10
+
11
+ <!-- END_PACKAGE_OG_IMAGE_PLACEHOLDER -->
7
12
 
8
13
  <br />
9
14
 
10
15
  <div align="center">
11
16
 
12
- [![typescript-image]][typescript-url] [![npm-image]][npm-url] [![license-image]][license-url]
17
+ [![typescript-image][typescript-badge]][typescript-url]
18
+ [![mit licence][license-badge]][license]
19
+ [![npm downloads][npm-downloads-badge]][npm-downloads]
20
+ [![Chat][chat-badge]][chat]
21
+ [![PRs Welcome][prs-welcome-badge]][prs-welcome]
13
22
 
14
23
  </div>
15
24
 
@@ -6462,14 +6471,23 @@ If you would like to help take a look at the [list of issues](https://github.com
6462
6471
  - [find-up](https://github.com/sindresorhus/find-up) - Find a file or directory by walking up parent directories.
6463
6472
  - [walk](https://deno.land/std/fs/walk.ts) - Walk a directory recursively and yield all files and directories.
6464
6473
 
6474
+ ## Made with ❤️ at Anolilab
6475
+
6476
+ This is an open source project and will always remain free to use. If you think it's cool, please star it 🌟. [Anolilab](https://www.anolilab.com/open-source) is a Development and AI Studio. Contact us at [hello@anolilab.com](mailto:hello@anolilab.com) if you need any help with these technologies or just want to say hi!
6477
+
6465
6478
  ## License
6466
6479
 
6467
- The visulima fs is open-sourced software licensed under the [MIT][license-url]
6480
+ The visulima fs is open-sourced software licensed under the [MIT][license]
6468
6481
 
6469
- [typescript-image]: https://img.shields.io/badge/Typescript-294E80.svg?style=for-the-badge&logo=typescript
6482
+ <!-- badges -->
6470
6483
 
6471
- [typescript-url]: https://www.typescriptlang.org/ "TypeScript" "typescript"
6472
- [license-image]: https://img.shields.io/npm/l/@visulima/fs?color=blueviolet&style=for-the-badge
6473
- [license-url]: LICENSE.md "license"
6474
- [npm-image]: https://img.shields.io/npm/v/@visulima/fs/latest.svg?style=for-the-badge&logo=npm
6475
- [npm-url]: https://www.npmjs.com/package/@visulima/fs/v/latest "npm"
6484
+ [license-badge]: https://img.shields.io/npm/l/@visulima/fs?style=for-the-badge
6485
+ [license]: https://github.com/visulima/visulima/blob/main/LICENSE
6486
+ [npm-downloads-badge]: https://img.shields.io/npm/dm/@visulima/fs?style=for-the-badge
6487
+ [npm-downloads]: https://www.npmjs.com/package/@visulima/fs
6488
+ [prs-welcome-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=for-the-badge
6489
+ [prs-welcome]: https://github.com/visulima/visulima/blob/main/.github/CONTRIBUTING.md
6490
+ [chat-badge]: https://img.shields.io/discord/932323359193186354.svg?style=for-the-badge
6491
+ [chat]: https://discord.gg/TtFJY8xkFK
6492
+ [typescript-badge]: https://img.shields.io/badge/Typescript-294E80.svg?style=for-the-badge&logo=typescript
6493
+ [typescript-url]: https://www.typescriptlang.org/
package/dist/eol.d.ts CHANGED
@@ -1,35 +1,6 @@
1
- /** End-of-line character for POSIX platforms such as macOS and Linux. */
2
- export declare const LF: "\n";
3
- /** End-of-line character for Windows platforms. */
4
- export declare const CRLF: "\r\n";
5
- /**
6
- * End-of-line character evaluated for the current platform.
7
- */
8
- export declare const EOL: "\n" | "\r\n";
9
- /**
10
- * Detect the EOL character for string input.
11
- * Returns null if no newline.
12
- * @param content The string content to detect the EOL from.
13
- * @example
14
- * ```javascript
15
- * import { detect } from "@visulima/fs/eol";
16
- *
17
- * detect("Hello\r\nWorld"); // "\r\n"
18
- * detect("Hello\nWorld"); // "\n"
19
- * detect("HelloWorld"); // null
20
- * ```
21
- */
22
- export declare const detect: (content: string) => typeof EOL | null;
23
- /**
24
- * Format the file to the targeted EOL.
25
- * @param content The string content to format.
26
- * @param eol The target EOL character.
27
- * @example
28
- * ```javascript
29
- * import { format, LF, CRLF } from "@visulima/fs/eol";
30
- *
31
- * format("Hello\r\nWorld\nUnix", LF); // "Hello\nWorld\nUnix"
32
- * format("Hello\nWorld\r\nWindows", CRLF); // "Hello\r\nWorld\r\nWindows"
33
- * ```
34
- */
35
- export declare const format: (content: string, eol: typeof EOL) => string;
1
+ declare const LF: "\n";
2
+ declare const CRLF: "\r\n";
3
+ declare const EOL: "\n" | "\r\n";
4
+ declare const detect: (content: string) => typeof EOL | null;
5
+ declare const format: (content: string, eol: typeof EOL) => string;
6
+ export { CRLF, EOL, LF, detect, format };