@stryke/fs 0.33.20 → 0.33.21

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 (494) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/{chunk-Bmb41Sf3.cjs → _virtual/rolldown_runtime.cjs} +1 -1
  3. package/dist/buffer.cjs +1 -1
  4. package/dist/buffer.d.cts +32 -2
  5. package/dist/buffer.d.cts.map +1 -0
  6. package/dist/buffer.d.mts +32 -2
  7. package/dist/buffer.d.mts.map +1 -0
  8. package/dist/buffer.mjs +2 -1
  9. package/dist/buffer.mjs.map +1 -0
  10. package/dist/chmod-x.cjs +1 -1
  11. package/dist/chmod-x.d.cts +44 -2
  12. package/dist/chmod-x.d.cts.map +1 -0
  13. package/dist/chmod-x.d.mts +44 -2
  14. package/dist/chmod-x.d.mts.map +1 -0
  15. package/dist/chmod-x.mjs +2 -1
  16. package/dist/chmod-x.mjs.map +1 -0
  17. package/dist/command-exists.cjs +1 -1
  18. package/dist/command-exists.d.cts +22 -2
  19. package/dist/command-exists.d.cts.map +1 -0
  20. package/dist/command-exists.d.mts +22 -2
  21. package/dist/command-exists.d.mts.map +1 -0
  22. package/dist/command-exists.mjs +2 -1
  23. package/dist/command-exists.mjs.map +1 -0
  24. package/dist/compress.cjs +1 -1
  25. package/dist/compress.d.cts +16 -2
  26. package/dist/compress.d.cts.map +1 -0
  27. package/dist/compress.d.mts +16 -2
  28. package/dist/compress.d.mts.map +1 -0
  29. package/dist/compress.mjs +2 -1
  30. package/dist/compress.mjs.map +1 -0
  31. package/dist/constants.d.cts +5 -2
  32. package/dist/constants.d.cts.map +1 -0
  33. package/dist/constants.d.mts +5 -2
  34. package/dist/constants.d.mts.map +1 -0
  35. package/dist/convert/src/array-buffer-to-string.cjs +1 -0
  36. package/dist/convert/src/array-buffer-to-string.mjs +2 -0
  37. package/dist/convert/src/array-buffer-to-string.mjs.map +1 -0
  38. package/dist/convert/src/to-array.cjs +1 -0
  39. package/dist/convert/src/to-array.mjs +2 -0
  40. package/dist/convert/src/to-array.mjs.map +1 -0
  41. package/dist/convert/src/uint8-array-to-string.cjs +1 -0
  42. package/dist/convert/src/uint8-array-to-string.mjs +2 -0
  43. package/dist/convert/src/uint8-array-to-string.mjs.map +1 -0
  44. package/dist/copy-file.cjs +1 -1
  45. package/dist/copy-file.d.cts +39 -2
  46. package/dist/copy-file.d.cts.map +1 -0
  47. package/dist/copy-file.d.mts +39 -2
  48. package/dist/copy-file.d.mts.map +1 -0
  49. package/dist/copy-file.mjs +2 -1
  50. package/dist/copy-file.mjs.map +1 -0
  51. package/dist/exists.cjs +1 -1
  52. package/dist/exists.d.cts +18 -2
  53. package/dist/exists.d.cts.map +1 -0
  54. package/dist/exists.d.mts +18 -2
  55. package/dist/exists.d.mts.map +1 -0
  56. package/dist/exists.mjs +2 -1
  57. package/dist/exists.mjs.map +1 -0
  58. package/dist/get-parent-path.cjs +1 -1
  59. package/dist/get-parent-path.d.cts +32 -2
  60. package/dist/get-parent-path.d.cts.map +1 -0
  61. package/dist/get-parent-path.d.mts +32 -2
  62. package/dist/get-parent-path.d.mts.map +1 -0
  63. package/dist/get-parent-path.mjs +2 -1
  64. package/dist/get-parent-path.mjs.map +1 -0
  65. package/dist/get-workspace-root.cjs +1 -1
  66. package/dist/get-workspace-root.d.cts +48 -2
  67. package/dist/get-workspace-root.d.cts.map +1 -0
  68. package/dist/get-workspace-root.d.mts +48 -2
  69. package/dist/get-workspace-root.d.mts.map +1 -0
  70. package/dist/get-workspace-root.mjs +2 -1
  71. package/dist/get-workspace-root.mjs.map +1 -0
  72. package/dist/helpers/src/get-unique.cjs +1 -0
  73. package/dist/helpers/src/get-unique.mjs +2 -0
  74. package/dist/helpers/src/get-unique.mjs.map +1 -0
  75. package/dist/helpers.cjs +1 -1
  76. package/dist/helpers.d.cts +50 -2
  77. package/dist/helpers.d.cts.map +1 -0
  78. package/dist/helpers.d.mts +50 -2
  79. package/dist/helpers.d.mts.map +1 -0
  80. package/dist/helpers.mjs +2 -1
  81. package/dist/helpers.mjs.map +1 -0
  82. package/dist/index.cjs +1 -1
  83. package/dist/index.d.cts +24 -24
  84. package/dist/index.d.mts +24 -24
  85. package/dist/index.mjs +1 -1
  86. package/dist/install.cjs +1 -1
  87. package/dist/install.d.cts +28 -2
  88. package/dist/install.d.cts.map +1 -0
  89. package/dist/install.d.mts +29 -2
  90. package/dist/install.d.mts.map +1 -0
  91. package/dist/install.mjs +2 -1
  92. package/dist/install.mjs.map +1 -0
  93. package/dist/is-file.cjs +1 -1
  94. package/dist/is-file.d.cts +36 -2
  95. package/dist/is-file.d.cts.map +1 -0
  96. package/dist/is-file.d.mts +36 -2
  97. package/dist/is-file.d.mts.map +1 -0
  98. package/dist/is-file.mjs +2 -1
  99. package/dist/is-file.mjs.map +1 -0
  100. package/dist/json/src/storm-json.cjs +1 -0
  101. package/dist/json/src/storm-json.mjs +2 -0
  102. package/dist/json/src/storm-json.mjs.map +1 -0
  103. package/dist/json/src/types.d.cts +33 -0
  104. package/dist/json/src/types.d.cts.map +1 -0
  105. package/dist/json/src/types.d.mts +33 -0
  106. package/dist/json/src/types.d.mts.map +1 -0
  107. package/dist/json/src/utils/code-frames.cjs +3 -0
  108. package/dist/json/src/utils/code-frames.mjs +4 -0
  109. package/dist/json/src/utils/code-frames.mjs.map +1 -0
  110. package/dist/json/src/utils/parse-error.cjs +1 -0
  111. package/dist/json/src/utils/parse-error.mjs +2 -0
  112. package/dist/json/src/utils/parse-error.mjs.map +1 -0
  113. package/dist/json/src/utils/parse.cjs +1 -0
  114. package/dist/json/src/utils/parse.mjs +2 -0
  115. package/dist/json/src/utils/parse.mjs.map +1 -0
  116. package/dist/json/src/utils/stringify.cjs +1 -0
  117. package/dist/json/src/utils/stringify.mjs +2 -0
  118. package/dist/json/src/utils/stringify.mjs.map +1 -0
  119. package/dist/json/src/utils/strip-comments.cjs +4 -0
  120. package/dist/json/src/utils/strip-comments.mjs +5 -0
  121. package/dist/json/src/utils/strip-comments.mjs.map +1 -0
  122. package/dist/json.cjs +1 -1
  123. package/dist/json.d.cts +54 -2
  124. package/dist/json.d.cts.map +1 -0
  125. package/dist/json.d.mts +54 -2
  126. package/dist/json.d.mts.map +1 -0
  127. package/dist/json.mjs +2 -1
  128. package/dist/json.mjs.map +1 -0
  129. package/dist/list-files.cjs +1 -1
  130. package/dist/list-files.d.cts +51 -2
  131. package/dist/list-files.d.cts.map +1 -0
  132. package/dist/list-files.d.mts +51 -2
  133. package/dist/list-files.d.mts.map +1 -0
  134. package/dist/list-files.mjs +2 -1
  135. package/dist/list-files.mjs.map +1 -0
  136. package/dist/package-fns.cjs +1 -1
  137. package/dist/package-fns.d.cts +95 -2
  138. package/dist/package-fns.d.cts.map +1 -0
  139. package/dist/package-fns.d.mts +95 -2
  140. package/dist/package-fns.d.mts.map +1 -0
  141. package/dist/package-fns.mjs +2 -1
  142. package/dist/package-fns.mjs.map +1 -0
  143. package/dist/path/src/append.cjs +1 -0
  144. package/dist/path/src/append.mjs +2 -0
  145. package/dist/path/src/append.mjs.map +1 -0
  146. package/dist/path/src/correct-path.cjs +1 -0
  147. package/dist/path/src/correct-path.mjs +2 -0
  148. package/dist/path/src/correct-path.mjs.map +1 -0
  149. package/dist/path/src/cwd.cjs +1 -0
  150. package/dist/path/src/cwd.mjs +2 -0
  151. package/dist/path/src/cwd.mjs.map +1 -0
  152. package/dist/path/src/file-path-fns.cjs +1 -0
  153. package/dist/path/src/file-path-fns.mjs +2 -0
  154. package/dist/path/src/file-path-fns.mjs.map +1 -0
  155. package/dist/path/src/is-parent-path.cjs +1 -0
  156. package/dist/path/src/is-parent-path.mjs +2 -0
  157. package/dist/path/src/is-parent-path.mjs.map +1 -0
  158. package/dist/path/src/is-root-dir.cjs +1 -0
  159. package/dist/path/src/is-root-dir.mjs +2 -0
  160. package/dist/path/src/is-root-dir.mjs.map +1 -0
  161. package/dist/path/src/is-type.cjs +1 -0
  162. package/dist/path/src/is-type.mjs +2 -0
  163. package/dist/path/src/is-type.mjs.map +1 -0
  164. package/dist/path/src/join-paths.cjs +1 -0
  165. package/dist/path/src/join-paths.mjs +2 -0
  166. package/dist/path/src/join-paths.mjs.map +1 -0
  167. package/dist/path/src/regex.cjs +1 -0
  168. package/dist/path/src/regex.mjs +2 -0
  169. package/dist/path/src/regex.mjs.map +1 -0
  170. package/dist/path/src/replace.cjs +1 -0
  171. package/dist/path/src/replace.mjs +2 -0
  172. package/dist/path/src/replace.mjs.map +1 -0
  173. package/dist/path/src/resolve-parent-path.cjs +1 -0
  174. package/dist/path/src/resolve-parent-path.mjs +2 -0
  175. package/dist/path/src/resolve-parent-path.mjs.map +1 -0
  176. package/dist/path/src/slash.cjs +1 -0
  177. package/dist/path/src/slash.mjs +2 -0
  178. package/dist/path/src/slash.mjs.map +1 -0
  179. package/dist/read-file.cjs +1 -1
  180. package/dist/read-file.d.cts +30 -2
  181. package/dist/read-file.d.cts.map +1 -0
  182. package/dist/read-file.d.mts +30 -2
  183. package/dist/read-file.d.mts.map +1 -0
  184. package/dist/read-file.mjs +2 -1
  185. package/dist/read-file.mjs.map +1 -0
  186. package/dist/registry.cjs +1 -1
  187. package/dist/registry.d.cts +53 -2
  188. package/dist/registry.d.cts.map +1 -0
  189. package/dist/registry.d.mts +53 -2
  190. package/dist/registry.d.mts.map +1 -0
  191. package/dist/registry.mjs +2 -1
  192. package/dist/registry.mjs.map +1 -0
  193. package/dist/remove-file.cjs +1 -1
  194. package/dist/remove-file.d.cts +16 -2
  195. package/dist/remove-file.d.cts.map +1 -0
  196. package/dist/remove-file.d.mts +16 -2
  197. package/dist/remove-file.d.mts.map +1 -0
  198. package/dist/remove-file.mjs +2 -1
  199. package/dist/remove-file.mjs.map +1 -0
  200. package/dist/resolve.cjs +3 -1
  201. package/dist/resolve.d.cts +106 -2
  202. package/dist/resolve.d.cts.map +1 -0
  203. package/dist/resolve.d.mts +106 -2
  204. package/dist/resolve.d.mts.map +1 -0
  205. package/dist/resolve.mjs +4 -1
  206. package/dist/resolve.mjs.map +1 -0
  207. package/dist/semver-fns.cjs +1 -1
  208. package/dist/semver-fns.d.cts +92 -2
  209. package/dist/semver-fns.d.cts.map +1 -0
  210. package/dist/semver-fns.d.mts +92 -2
  211. package/dist/semver-fns.d.mts.map +1 -0
  212. package/dist/semver-fns.mjs +2 -1
  213. package/dist/semver-fns.mjs.map +1 -0
  214. package/dist/string-format/src/package.cjs +1 -0
  215. package/dist/string-format/src/package.mjs +2 -0
  216. package/dist/string-format/src/package.mjs.map +1 -0
  217. package/dist/toml.cjs +3 -1
  218. package/dist/toml.d.cts +81 -2
  219. package/dist/toml.d.cts.map +1 -0
  220. package/dist/toml.d.mts +81 -2
  221. package/dist/toml.d.mts.map +1 -0
  222. package/dist/toml.mjs +4 -1
  223. package/dist/toml.mjs.map +1 -0
  224. package/dist/tsconfig.cjs +1 -1
  225. package/dist/tsconfig.d.cts +14 -2
  226. package/dist/tsconfig.d.cts.map +1 -0
  227. package/dist/tsconfig.d.mts +14 -2
  228. package/dist/tsconfig.d.mts.map +1 -0
  229. package/dist/tsconfig.mjs +2 -1
  230. package/dist/tsconfig.mjs.map +1 -0
  231. package/dist/type-checks/src/get-object-tag.cjs +1 -0
  232. package/dist/type-checks/src/get-object-tag.mjs +2 -0
  233. package/dist/type-checks/src/get-object-tag.mjs.map +1 -0
  234. package/dist/type-checks/src/index.cjs +1 -0
  235. package/dist/type-checks/src/index.mjs +1 -0
  236. package/dist/type-checks/src/is-buffer.cjs +1 -0
  237. package/dist/type-checks/src/is-buffer.mjs +2 -0
  238. package/dist/type-checks/src/is-buffer.mjs.map +1 -0
  239. package/dist/type-checks/src/is-collection.cjs +1 -0
  240. package/dist/type-checks/src/is-collection.mjs +1 -0
  241. package/dist/type-checks/src/is-empty.cjs +1 -0
  242. package/dist/type-checks/src/is-empty.mjs +2 -0
  243. package/dist/type-checks/src/is-empty.mjs.map +1 -0
  244. package/dist/type-checks/src/is-error.cjs +1 -0
  245. package/dist/type-checks/src/is-error.mjs +2 -0
  246. package/dist/type-checks/src/is-error.mjs.map +1 -0
  247. package/dist/type-checks/src/is-null.cjs +1 -0
  248. package/dist/type-checks/src/is-null.mjs +2 -0
  249. package/dist/type-checks/src/is-null.mjs.map +1 -0
  250. package/dist/type-checks/src/is-number.cjs +1 -0
  251. package/dist/type-checks/src/is-number.mjs +2 -0
  252. package/dist/type-checks/src/is-number.mjs.map +1 -0
  253. package/dist/type-checks/src/is-object.cjs +1 -0
  254. package/dist/type-checks/src/is-object.mjs +2 -0
  255. package/dist/type-checks/src/is-object.mjs.map +1 -0
  256. package/dist/type-checks/src/is-plain-object.cjs +1 -0
  257. package/dist/type-checks/src/is-plain-object.mjs +2 -0
  258. package/dist/type-checks/src/is-plain-object.mjs.map +1 -0
  259. package/dist/type-checks/src/is-set-string.cjs +1 -0
  260. package/dist/type-checks/src/is-set-string.mjs +2 -0
  261. package/dist/type-checks/src/is-set-string.mjs.map +1 -0
  262. package/dist/type-checks/src/is-set.cjs +1 -0
  263. package/dist/type-checks/src/is-set.mjs +2 -0
  264. package/dist/type-checks/src/is-set.mjs.map +1 -0
  265. package/dist/type-checks/src/is-string.cjs +1 -0
  266. package/dist/type-checks/src/is-string.mjs +2 -0
  267. package/dist/type-checks/src/is-string.mjs.map +1 -0
  268. package/dist/type-checks/src/is-undefined.cjs +1 -0
  269. package/dist/type-checks/src/is-undefined.mjs +2 -0
  270. package/dist/type-checks/src/is-undefined.mjs.map +1 -0
  271. package/dist/type-checks/src/type-detect.cjs +1 -0
  272. package/dist/type-checks/src/type-detect.mjs +2 -0
  273. package/dist/type-checks/src/type-detect.mjs.map +1 -0
  274. package/dist/types/src/base.cjs +1 -0
  275. package/dist/types/src/base.mjs +2 -0
  276. package/dist/types/src/base.mjs.map +1 -0
  277. package/dist/{file-D1uBqkpP.d.cts → types/src/file.d.cts} +2 -2
  278. package/dist/types/src/file.d.cts.map +1 -0
  279. package/dist/{file-DauFFmfh.d.mts → types/src/file.d.mts} +2 -2
  280. package/dist/types/src/file.d.mts.map +1 -0
  281. package/dist/{package-fns-CxokaGDY.d.mts → types/src/package-json.d.cts} +2 -95
  282. package/dist/types/src/package-json.d.cts.map +1 -0
  283. package/dist/{package-fns-BNRi_Rpc.d.cts → types/src/package-json.d.mts} +2 -95
  284. package/dist/types/src/package-json.d.mts.map +1 -0
  285. package/dist/types/src/package-manager.d.cts +5 -0
  286. package/dist/types/src/package-manager.d.cts.map +1 -0
  287. package/dist/types/src/package-manager.d.mts +5 -0
  288. package/dist/types/src/package-manager.d.mts.map +1 -0
  289. package/dist/{tsconfig-B13IMV_0.d.mts → types/src/tsconfig.d.cts} +3 -12
  290. package/dist/types/src/tsconfig.d.cts.map +1 -0
  291. package/dist/{tsconfig-C8ecu1-0.d.cts → types/src/tsconfig.d.mts} +3 -12
  292. package/dist/types/src/tsconfig.d.mts.map +1 -0
  293. package/dist/write-file.cjs +1 -1
  294. package/dist/write-file.d.cts +35 -2
  295. package/dist/write-file.d.cts.map +1 -0
  296. package/dist/write-file.d.mts +35 -2
  297. package/dist/write-file.d.mts.map +1 -0
  298. package/dist/write-file.mjs +2 -1
  299. package/dist/write-file.mjs.map +1 -0
  300. package/dist/yaml.cjs +1 -1
  301. package/dist/yaml.d.cts +23 -2
  302. package/dist/yaml.d.cts.map +1 -0
  303. package/dist/yaml.d.mts +23 -2
  304. package/dist/yaml.d.mts.map +1 -0
  305. package/dist/yaml.mjs +2 -1
  306. package/dist/yaml.mjs.map +1 -0
  307. package/package.json +11 -11
  308. package/dist/buffer-Ch164vki.cjs +0 -1
  309. package/dist/buffer-DDq-CW4J.mjs +0 -2
  310. package/dist/buffer-DDq-CW4J.mjs.map +0 -1
  311. package/dist/buffer-DgfUmhrc.d.mts +0 -32
  312. package/dist/buffer-DgfUmhrc.d.mts.map +0 -1
  313. package/dist/buffer-DvCjrjQH.d.cts +0 -32
  314. package/dist/buffer-DvCjrjQH.d.cts.map +0 -1
  315. package/dist/chmod-x-BPr4tt2-.d.cts +0 -44
  316. package/dist/chmod-x-BPr4tt2-.d.cts.map +0 -1
  317. package/dist/chmod-x-FOy3sak8.cjs +0 -1
  318. package/dist/chmod-x-QCk1GmQJ.d.mts +0 -44
  319. package/dist/chmod-x-QCk1GmQJ.d.mts.map +0 -1
  320. package/dist/chmod-x-q-TWdus7.mjs +0 -2
  321. package/dist/chmod-x-q-TWdus7.mjs.map +0 -1
  322. package/dist/command-exists-CuieR7rx.d.cts +0 -22
  323. package/dist/command-exists-CuieR7rx.d.cts.map +0 -1
  324. package/dist/command-exists-D1bV-wSk.cjs +0 -1
  325. package/dist/command-exists-Dzb2kKT4.mjs +0 -2
  326. package/dist/command-exists-Dzb2kKT4.mjs.map +0 -1
  327. package/dist/command-exists-dBdtR0xj.d.mts +0 -22
  328. package/dist/command-exists-dBdtR0xj.d.mts.map +0 -1
  329. package/dist/compress-BiTxso15.mjs +0 -2
  330. package/dist/compress-BiTxso15.mjs.map +0 -1
  331. package/dist/compress-BjGbQqs_.cjs +0 -1
  332. package/dist/compress-CLAaOwH3.d.mts +0 -16
  333. package/dist/compress-CLAaOwH3.d.mts.map +0 -1
  334. package/dist/compress-CQve2a6h.d.cts +0 -16
  335. package/dist/compress-CQve2a6h.d.cts.map +0 -1
  336. package/dist/constants-D58o2CiO.d.cts +0 -5
  337. package/dist/constants-D58o2CiO.d.cts.map +0 -1
  338. package/dist/constants-DZz9LJgo.d.mts +0 -5
  339. package/dist/constants-DZz9LJgo.d.mts.map +0 -1
  340. package/dist/copy-file-B5FJHiIK.d.mts +0 -39
  341. package/dist/copy-file-B5FJHiIK.d.mts.map +0 -1
  342. package/dist/copy-file-Bot2YNtT.mjs +0 -2
  343. package/dist/copy-file-Bot2YNtT.mjs.map +0 -1
  344. package/dist/copy-file-DjH2Ho5e.d.cts +0 -39
  345. package/dist/copy-file-DjH2Ho5e.d.cts.map +0 -1
  346. package/dist/copy-file-Y1ilzocZ.cjs +0 -1
  347. package/dist/cwd-YTg9Cx6C.mjs +0 -2
  348. package/dist/cwd-YTg9Cx6C.mjs.map +0 -1
  349. package/dist/cwd-o2vq8Tk9.cjs +0 -1
  350. package/dist/exists-175EN367.d.mts +0 -18
  351. package/dist/exists-175EN367.d.mts.map +0 -1
  352. package/dist/exists-B31lSRFp.cjs +0 -1
  353. package/dist/exists-CVlDImzc.d.cts +0 -18
  354. package/dist/exists-CVlDImzc.d.cts.map +0 -1
  355. package/dist/exists-Ci-9lYmi.mjs +0 -2
  356. package/dist/exists-Ci-9lYmi.mjs.map +0 -1
  357. package/dist/file-D1uBqkpP.d.cts.map +0 -1
  358. package/dist/file-DauFFmfh.d.mts.map +0 -1
  359. package/dist/file-path-fns-7aKacdLg.cjs +0 -1
  360. package/dist/file-path-fns-BDzC2SIV.mjs +0 -2
  361. package/dist/file-path-fns-BDzC2SIV.mjs.map +0 -1
  362. package/dist/get-parent-path-COkh6Pvl.d.mts +0 -32
  363. package/dist/get-parent-path-COkh6Pvl.d.mts.map +0 -1
  364. package/dist/get-parent-path-Cbqs2km7.d.cts +0 -32
  365. package/dist/get-parent-path-Cbqs2km7.d.cts.map +0 -1
  366. package/dist/get-parent-path-CfRkaB4R.cjs +0 -1
  367. package/dist/get-parent-path-DLFSyxSW.mjs +0 -2
  368. package/dist/get-parent-path-DLFSyxSW.mjs.map +0 -1
  369. package/dist/get-workspace-root-CCNjjZGY.cjs +0 -1
  370. package/dist/get-workspace-root-DQBvBd8X.d.mts +0 -48
  371. package/dist/get-workspace-root-DQBvBd8X.d.mts.map +0 -1
  372. package/dist/get-workspace-root-eTfm1jII.d.cts +0 -48
  373. package/dist/get-workspace-root-eTfm1jII.d.cts.map +0 -1
  374. package/dist/get-workspace-root-k66w-wLW.mjs +0 -2
  375. package/dist/get-workspace-root-k66w-wLW.mjs.map +0 -1
  376. package/dist/helpers-BSEQb1fp.mjs +0 -2
  377. package/dist/helpers-BSEQb1fp.mjs.map +0 -1
  378. package/dist/helpers-CYWFZ-Uv.d.mts +0 -50
  379. package/dist/helpers-CYWFZ-Uv.d.mts.map +0 -1
  380. package/dist/helpers-CgMOExPa.d.cts +0 -50
  381. package/dist/helpers-CgMOExPa.d.cts.map +0 -1
  382. package/dist/helpers-_MJ6PR-g.cjs +0 -1
  383. package/dist/install-B3bIjHoU.mjs +0 -2
  384. package/dist/install-B3bIjHoU.mjs.map +0 -1
  385. package/dist/install-CZ_S7NHm.cjs +0 -1
  386. package/dist/install-CxPsLO2t.d.cts +0 -28
  387. package/dist/install-CxPsLO2t.d.cts.map +0 -1
  388. package/dist/install-dYt7hlQn.d.mts +0 -29
  389. package/dist/install-dYt7hlQn.d.mts.map +0 -1
  390. package/dist/is-error-CjEyTRps.cjs +0 -1
  391. package/dist/is-error-CjVXmD_8.mjs +0 -2
  392. package/dist/is-error-CjVXmD_8.mjs.map +0 -1
  393. package/dist/is-file-BkFQev3M.cjs +0 -1
  394. package/dist/is-file-CNooe8Wz.mjs +0 -2
  395. package/dist/is-file-CNooe8Wz.mjs.map +0 -1
  396. package/dist/is-file-DjqOQrqY.d.mts +0 -36
  397. package/dist/is-file-DjqOQrqY.d.mts.map +0 -1
  398. package/dist/is-file-DoBi2FN9.d.cts +0 -36
  399. package/dist/is-file-DoBi2FN9.d.cts.map +0 -1
  400. package/dist/is-object-FBXmvehR.cjs +0 -1
  401. package/dist/is-object-UsKYhyC5.mjs +0 -2
  402. package/dist/is-object-UsKYhyC5.mjs.map +0 -1
  403. package/dist/is-set-string-CLeu8BKX.cjs +0 -1
  404. package/dist/is-set-string-Cj0g4gsG.mjs +0 -2
  405. package/dist/is-set-string-Cj0g4gsG.mjs.map +0 -1
  406. package/dist/is-string-91Z3dOKQ.mjs +0 -2
  407. package/dist/is-string-91Z3dOKQ.mjs.map +0 -1
  408. package/dist/is-string-DKgNS0jA.cjs +0 -1
  409. package/dist/join-paths-BHepkhAj.mjs +0 -2
  410. package/dist/join-paths-BHepkhAj.mjs.map +0 -1
  411. package/dist/join-paths-DUdaieID.cjs +0 -1
  412. package/dist/json-CYenVxvr.d.cts +0 -83
  413. package/dist/json-CYenVxvr.d.cts.map +0 -1
  414. package/dist/json-DH7Q6Ftp.d.mts +0 -83
  415. package/dist/json-DH7Q6Ftp.d.mts.map +0 -1
  416. package/dist/json-DKhqPjHB.cjs +0 -6
  417. package/dist/json-Dp4PSH2i.mjs +0 -7
  418. package/dist/json-Dp4PSH2i.mjs.map +0 -1
  419. package/dist/list-files-Cn_UVruo.cjs +0 -1
  420. package/dist/list-files-D3dQOljX.d.cts +0 -51
  421. package/dist/list-files-D3dQOljX.d.cts.map +0 -1
  422. package/dist/list-files-D3iJzEQw.d.mts +0 -51
  423. package/dist/list-files-D3iJzEQw.d.mts.map +0 -1
  424. package/dist/list-files-D__uh3tQ.mjs +0 -2
  425. package/dist/list-files-D__uh3tQ.mjs.map +0 -1
  426. package/dist/package-fns-BNRi_Rpc.d.cts.map +0 -1
  427. package/dist/package-fns-C7-MKgBR.mjs +0 -2
  428. package/dist/package-fns-C7-MKgBR.mjs.map +0 -1
  429. package/dist/package-fns-CxokaGDY.d.mts.map +0 -1
  430. package/dist/package-fns-YTCdMAXr.cjs +0 -1
  431. package/dist/read-file-B091zB64.mjs +0 -2
  432. package/dist/read-file-B091zB64.mjs.map +0 -1
  433. package/dist/read-file-BB2WzW-N.cjs +0 -1
  434. package/dist/read-file-Bxn1VHKv.d.cts +0 -30
  435. package/dist/read-file-Bxn1VHKv.d.cts.map +0 -1
  436. package/dist/read-file-CRVW-wcE.d.mts +0 -30
  437. package/dist/read-file-CRVW-wcE.d.mts.map +0 -1
  438. package/dist/registry-B1taIPKm.mjs +0 -2
  439. package/dist/registry-B1taIPKm.mjs.map +0 -1
  440. package/dist/registry-BQ3JXRFA.d.mts +0 -53
  441. package/dist/registry-BQ3JXRFA.d.mts.map +0 -1
  442. package/dist/registry-BYwvM92u.cjs +0 -1
  443. package/dist/registry-C2A0Kau7.d.cts +0 -53
  444. package/dist/registry-C2A0Kau7.d.cts.map +0 -1
  445. package/dist/remove-file-BM64Brdf.mjs +0 -2
  446. package/dist/remove-file-BM64Brdf.mjs.map +0 -1
  447. package/dist/remove-file-BqlkL_Df.d.mts +0 -16
  448. package/dist/remove-file-BqlkL_Df.d.mts.map +0 -1
  449. package/dist/remove-file-XHFKELQN.cjs +0 -1
  450. package/dist/remove-file-lQOlxDwr.d.cts +0 -16
  451. package/dist/remove-file-lQOlxDwr.d.cts.map +0 -1
  452. package/dist/resolve-C_YsCFne.mjs +0 -4
  453. package/dist/resolve-C_YsCFne.mjs.map +0 -1
  454. package/dist/resolve-D66oIwjf.d.mts +0 -106
  455. package/dist/resolve-D66oIwjf.d.mts.map +0 -1
  456. package/dist/resolve-DTkLQekH.cjs +0 -3
  457. package/dist/resolve-DubH-8qd.d.cts +0 -106
  458. package/dist/resolve-DubH-8qd.d.cts.map +0 -1
  459. package/dist/resolve-parent-path-CR8av8WP.mjs +0 -2
  460. package/dist/resolve-parent-path-CR8av8WP.mjs.map +0 -1
  461. package/dist/resolve-parent-path-D0AaW2PB.cjs +0 -1
  462. package/dist/semver-fns-B0e5zB6C.d.mts +0 -92
  463. package/dist/semver-fns-B0e5zB6C.d.mts.map +0 -1
  464. package/dist/semver-fns-Btrm1dIF.cjs +0 -1
  465. package/dist/semver-fns-DjhZXnUw.d.cts +0 -92
  466. package/dist/semver-fns-DjhZXnUw.d.cts.map +0 -1
  467. package/dist/semver-fns-F_rYnwDq.mjs +0 -2
  468. package/dist/semver-fns-F_rYnwDq.mjs.map +0 -1
  469. package/dist/toml-CIgLQmP3.mjs +0 -4
  470. package/dist/toml-CIgLQmP3.mjs.map +0 -1
  471. package/dist/toml-D3X2QoaL.d.cts +0 -81
  472. package/dist/toml-D3X2QoaL.d.cts.map +0 -1
  473. package/dist/toml-DgVyNp_y.cjs +0 -3
  474. package/dist/toml-Djau1M6n.d.mts +0 -81
  475. package/dist/toml-Djau1M6n.d.mts.map +0 -1
  476. package/dist/tsconfig-B13IMV_0.d.mts.map +0 -1
  477. package/dist/tsconfig-B6WtgD1c.cjs +0 -1
  478. package/dist/tsconfig-C8ecu1-0.d.cts.map +0 -1
  479. package/dist/tsconfig-CqvvSVuX.mjs +0 -2
  480. package/dist/tsconfig-CqvvSVuX.mjs.map +0 -1
  481. package/dist/write-file-BmvbsmMj.d.cts +0 -35
  482. package/dist/write-file-BmvbsmMj.d.cts.map +0 -1
  483. package/dist/write-file-CFByoJkN.mjs +0 -2
  484. package/dist/write-file-CFByoJkN.mjs.map +0 -1
  485. package/dist/write-file-CWTzQpb2.d.mts +0 -35
  486. package/dist/write-file-CWTzQpb2.d.mts.map +0 -1
  487. package/dist/write-file-CqokudVp.cjs +0 -1
  488. package/dist/yaml-6uuLoSfT.d.cts +0 -23
  489. package/dist/yaml-6uuLoSfT.d.cts.map +0 -1
  490. package/dist/yaml-CLMo56UG.mjs +0 -2
  491. package/dist/yaml-CLMo56UG.mjs.map +0 -1
  492. package/dist/yaml-Ddslc5NK.d.mts +0 -23
  493. package/dist/yaml-Ddslc5NK.d.mts.map +0 -1
  494. package/dist/yaml-q2k-BjIM.cjs +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"package-json.d.cts","names":[],"sources":["../../../../types/src/package-json.ts"],"sourcesContent":[],"mappings":";;AAqBA;;AAgEW,UAhEM,WAAA,SAAoB,MAgE1B,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA;EAIM;;;;;;;;EA+EmB,IAAA,CAAA,EAAA,MAAA;EAAxB;;;EA4FR,OAAA,CAAA,EAAA,MAAA;EADE;;;EA2BD,WAAA,CAAA,EAAA,MAAiB;EAQjB;AAAoB;;EAanB,QAAA,CAAA,EAAA,MAAA,EAAA;EACe;;;EAGhB,QAAA,CAAA,EAAA,MAAA;EAED;;;EACK,IAAA,CAAA,EAAA,MAAA,GAAA;;;;;;;;;;;;;;;;;;;;;;;YA7OG;;;;;;;;WAQD;;;;iBAIM;;;;;;;;;;;;;;qBAcI;;;;;;;;iBAQJ;;;;;;;;iBAQA;;;;;oBAKG;;;;yBAIK;;;;qBAIJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA+BT;;;;;YAKA,wBAAwB;;;;;;;;;;;;kBAYlB,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA+E3B,KACF;;;;;;;;;;;;KA0BC,iBAAA;;;;;KAQA,oBAAA;KAUA,wBAAA,WACG,iCAEF,2BACA,eAAe;KAGhB,kBAAA,YAED,2BACA,eAAe"}
@@ -1,6 +1,3 @@
1
- import { n as ResolveOptions } from "./resolve-DubH-8qd.cjs";
2
- import { Range } from "semver";
3
-
4
1
  //#region ../types/src/package-json.d.ts
5
2
  /**
6
3
  * The `package.json` file is the only required file in a package. It must be located at the root of a package, and can contain the following fields.
@@ -260,95 +257,5 @@ type PackageJsonExportKey = "." | "import" | "require" | "types" | "node" | "bro
260
257
  type PackageJsonExportsObject = { [P in PackageJsonExportKey]?: string | PackageJsonExportsObject | Array<string | PackageJsonExportsObject> };
261
258
  type PackageJsonExports = string | PackageJsonExportsObject | Array<string | PackageJsonExportsObject>;
262
259
  //#endregion
263
- //#region ../types/src/package-manager.d.ts
264
- type PackageManager = "npm" | "yarn" | "pnpm" | "bun";
265
- //#endregion
266
- //#region src/package-fns.d.ts
267
- /**
268
- * Get the package manager used in the project
269
- *
270
- * @param dir - The path to the project
271
- * @returns The package manager used in the project
272
- */
273
- declare function getPackageManager(dir?: string): PackageManager;
274
- /**
275
- * Get package info
276
- *
277
- * @param name - The name of the package
278
- * @param options - The options to use when resolving the package
279
- * @returns The package info
280
- */
281
- declare function getPackageInfo(name: string, options?: ResolveOptions): Promise<{
282
- name: string;
283
- version: string | undefined;
284
- rootPath: string;
285
- packageJsonPath: string;
286
- packageJson: PackageJson;
287
- } | undefined>;
288
- /**
289
- * Get the package info from the package.json file
290
- *
291
- * @param cwd - The current working directory
292
- * @returns The package info
293
- */
294
- declare function loadPackageJson(cwd?: string): Promise<PackageJson | null>;
295
- interface PackageExistsOptions {
296
- /**
297
- * The current working directory
298
- */
299
- cwd?: string;
300
- }
301
- interface PackageMatchesOptions extends PackageExistsOptions {
302
- /**
303
- * The version range of the package to check
304
- */
305
- version?: string | Range;
306
- }
307
- /**
308
- * Check if a package is listed in the package.json file
309
- *
310
- * @param name - The name of the package
311
- * @param cwd - The current working directory
312
- * @returns An indicator specifying if the package is listed
313
- */
314
- declare function isPackageListed(name: string, cwd?: string): Promise<boolean>;
315
- /**
316
- * Check if a package is listed in the package.json file
317
- *
318
- * @param name - The name of the package
319
- * @param options - The options to use when checking if the package is listed
320
- * @returns An indicator specifying if the package is listed
321
- */
322
- declare function isPackageListed(name: string, options?: PackageExistsOptions): Promise<boolean>;
323
- interface GetPackageListingReturn {
324
- version: string;
325
- type: "dependencies" | "devDependencies";
326
- }
327
- /**
328
- * Return the package version and dependency type listed in the package.json file
329
- *
330
- * @param name - The name of the package
331
- * @param cwdOrOptions - The current working directory or options to use when checking if the package is listed
332
- * @returns The version and type of the package if listed, otherwise undefined
333
- */
334
- declare function getPackageListing(name: string, cwdOrOptions?: string | PackageExistsOptions): Promise<GetPackageListingReturn | undefined>;
335
- /**
336
- * Check if a package version matches a specific version range
337
- *
338
- * @param name - The name of the package
339
- * @param version - The version to check against
340
- * @param cwd - The current working directory
341
- * @returns An indicator specifying if the package version matches the range
342
- */
343
- declare function doesPackageMatch(name: string, version: string, cwd?: string): Promise<boolean>;
344
- /**
345
- * Check if a package exists
346
- *
347
- * @param name - The name of the package
348
- * @param options - The options to use when resolving the package
349
- * @returns An indicator specifying if the package exists
350
- */
351
- declare function isPackageExists(name: string, options?: ResolveOptions): boolean;
352
- //#endregion
353
- export { getPackageInfo as a, isPackageExists as c, doesPackageMatch as i, isPackageListed as l, PackageExistsOptions as n, getPackageListing as o, PackageMatchesOptions as r, getPackageManager as s, GetPackageListingReturn as t, loadPackageJson as u };
354
- //# sourceMappingURL=package-fns-BNRi_Rpc.d.cts.map
260
+ export { PackageJson };
261
+ //# sourceMappingURL=package-json.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"package-json.d.mts","names":[],"sources":["../../../../types/src/package-json.ts"],"sourcesContent":[],"mappings":";;AAqBA;;AAgEW,UAhEM,WAAA,SAAoB,MAgE1B,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA;EAIM;;;;;;;;EA+EmB,IAAA,CAAA,EAAA,MAAA;EAAxB;;;EA4FR,OAAA,CAAA,EAAA,MAAA;EADE;;;EA2BD,WAAA,CAAA,EAAA,MAAiB;EAQjB;AAAoB;;EAanB,QAAA,CAAA,EAAA,MAAA,EAAA;EACe;;;EAGhB,QAAA,CAAA,EAAA,MAAA;EAED;;;EACK,IAAA,CAAA,EAAA,MAAA,GAAA;;;;;;;;;;;;;;;;;;;;;;;YA7OG;;;;;;;;WAQD;;;;iBAIM;;;;;;;;;;;;;;qBAcI;;;;;;;;iBAQJ;;;;;;;;iBAQA;;;;;oBAKG;;;;yBAIK;;;;qBAIJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA+BT;;;;;YAKA,wBAAwB;;;;;;;;;;;;kBAYlB,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA+E3B,KACF;;;;;;;;;;;;KA0BC,iBAAA;;;;;KAQA,oBAAA;KAUA,wBAAA,WACG,iCAEF,2BACA,eAAe;KAGhB,kBAAA,YAED,2BACA,eAAe"}
@@ -0,0 +1,5 @@
1
+ //#region ../types/src/package-manager.d.ts
2
+ type PackageManager = "npm" | "yarn" | "pnpm" | "bun";
3
+ //#endregion
4
+ export { PackageManager };
5
+ //# sourceMappingURL=package-manager.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"package-manager.d.cts","names":[],"sources":["../../../../types/src/package-manager.ts"],"sourcesContent":[],"mappings":";KAkBY,cAAA"}
@@ -0,0 +1,5 @@
1
+ //#region ../types/src/package-manager.d.ts
2
+ type PackageManager = "npm" | "yarn" | "pnpm" | "bun";
3
+ //#endregion
4
+ export { PackageManager };
5
+ //# sourceMappingURL=package-manager.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"package-manager.d.mts","names":[],"sources":["../../../../types/src/package-manager.ts"],"sourcesContent":[],"mappings":";KAkBY,cAAA"}
@@ -1,4 +1,4 @@
1
- import { n as FilterPattern } from "./file-DauFFmfh.mjs";
1
+ import { FilterPattern } from "./file.cjs";
2
2
 
3
3
  //#region ../types/src/tsconfig.d.ts
4
4
  type JSX = "preserve" | "react" | "react-jsx" | "react-jsxdev" | "react-native";
@@ -799,14 +799,5 @@ interface TsConfigJson {
799
799
  references?: References[];
800
800
  }
801
801
  //#endregion
802
- //#region src/tsconfig.d.ts
803
- /**
804
- * Loads a tsconfig.json file and returns the parsed JSON object.
805
- *
806
- * @param filePath - The directory to start searching for the tsconfig.json file.
807
- * @returns The parsed tsconfig.json object or null if not found.
808
- */
809
- declare function loadTsConfig(filePath?: string): Promise<TsConfigJson>;
810
- //#endregion
811
- export { loadTsConfig as t };
812
- //# sourceMappingURL=tsconfig-B13IMV_0.d.mts.map
802
+ export { TsConfigJson };
803
+ //# sourceMappingURL=tsconfig.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tsconfig.d.cts","names":[],"sources":["../../../../types/src/tsconfig.ts"],"sourcesContent":[],"mappings":";;;KAoBY,GAAA;KAOA,MAAA;AAPA,KAoCA,OAAA,GApCG,MAAA,GAAA,IAAA,GAAA,MAAA,GAAA,IAAA;AAOH,KAoCA,MAAA,GApCM,KAAA,GAAA,KAAA,GAAA,KAAA,GAAA,QAAA,GAAA,QAAA,GAAA,QAAA,GAAA,QAAA,GAAA,QAAA,GAAA,QAAA,GAAA,QAAA,GAAA,QAAA,GAAA,QAAA,GAAA,KAAA,GAAA,KAAA,GAAA,KAAA,GAAA,QAAA,GAAA,QAAA,GAAA,QAAA,GAAA,QAAA,GAAA,QAAA,GAAA,QAAA,GAAA,QAA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;;;;;;;;;;;;UAiBA,UAAA;;;;;;;;;;;;;;;;;;;;;;;;UA4BA,YAAA;;;;oBAIG;;;;iBAKH;;;;oBAKG;;;;;;;;;;;;;;;;;;;;;;YA2BR;;;;;;YAOA;;;;eAKG"}
@@ -1,4 +1,4 @@
1
- import { n as FilterPattern } from "./file-D1uBqkpP.cjs";
1
+ import { FilterPattern } from "./file.mjs";
2
2
 
3
3
  //#region ../types/src/tsconfig.d.ts
4
4
  type JSX = "preserve" | "react" | "react-jsx" | "react-jsxdev" | "react-native";
@@ -799,14 +799,5 @@ interface TsConfigJson {
799
799
  references?: References[];
800
800
  }
801
801
  //#endregion
802
- //#region src/tsconfig.d.ts
803
- /**
804
- * Loads a tsconfig.json file and returns the parsed JSON object.
805
- *
806
- * @param filePath - The directory to start searching for the tsconfig.json file.
807
- * @returns The parsed tsconfig.json object or null if not found.
808
- */
809
- declare function loadTsConfig(filePath?: string): Promise<TsConfigJson>;
810
- //#endregion
811
- export { loadTsConfig as t };
812
- //# sourceMappingURL=tsconfig-C8ecu1-0.d.cts.map
802
+ export { TsConfigJson };
803
+ //# sourceMappingURL=tsconfig.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tsconfig.d.mts","names":[],"sources":["../../../../types/src/tsconfig.ts"],"sourcesContent":[],"mappings":";;;KAoBY,GAAA;KAOA,MAAA;AAPA,KAoCA,OAAA,GApCG,MAAA,GAAA,IAAA,GAAA,MAAA,GAAA,IAAA;AAOH,KAoCA,MAAA,GApCM,KAAA,GAAA,KAAA,GAAA,KAAA,GAAA,QAAA,GAAA,QAAA,GAAA,QAAA,GAAA,QAAA,GAAA,QAAA,GAAA,QAAA,GAAA,QAAA,GAAA,QAAA,GAAA,QAAA,GAAA,KAAA,GAAA,KAAA,GAAA,KAAA,GAAA,QAAA,GAAA,QAAA,GAAA,QAAA,GAAA,QAAA,GAAA,QAAA,GAAA,QAAA,GAAA,QAAA,GAAA,QAAA,GAAA,QAAA;AA6BN,KAkCA,GA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;;;;;;;;;;UA4BA,YAAA;;;;oBAIG;;;;iBAKH;;;;oBAKG;;;;;;;;;;;;;;;;;;;;;;YA2BR;;;;;;YAOA;;;;eAKG"}
@@ -1 +1 @@
1
- require(`./helpers-_MJ6PR-g.cjs`);const e=require(`./write-file-CqokudVp.cjs`);exports.writeFile=e.t,exports.writeFileSync=e.n;
1
+ const e=require(`./_virtual/rolldown_runtime.cjs`),t=require(`./path/src/correct-path.cjs`),n=require(`./path/src/file-path-fns.cjs`),r=require(`./exists.cjs`),i=require(`./helpers.cjs`);let a=require(`node:fs`),o=require(`node:fs/promises`);const s=(e,o=``,s={})=>{if(!e)throw Error(`No file path provided to write data`);let c=n.findFilePath(t.correctPath(e));if(!r.existsSync(c))if(s.createDirectory!==!1)i.createDirectorySync(c);else throw Error(`Directory ${c} does not exist`);(0,a.writeFileSync)(e,o||``,s)},c=async(e,a=``,s={})=>{if(!e)throw Error(`No file path provided to read data`);let c=n.findFilePath(t.correctPath(e));if(!r.existsSync(c))if(s.createDirectory!==!1)await i.createDirectory(c);else throw Error(`Directory ${c} does not exist`);return(0,o.writeFile)(e,a||``,s)};exports.writeFile=c,exports.writeFileSync=s;
@@ -1,2 +1,35 @@
1
- import { n as writeFile, r as writeFileSync, t as WriteFileOptions } from "./write-file-BmvbsmMj.cjs";
2
- export { WriteFileOptions, writeFile, writeFileSync };
1
+ import { Encoding } from "./constants.cjs";
2
+ import { Abortable } from "node:events";
3
+ import { Mode, ObjectEncodingOptions, OpenMode, WriteFileOptions as WriteFileOptions$1 } from "node:fs";
4
+
5
+ //#region src/write-file.d.ts
6
+ interface WriteFileOptions {
7
+ /**
8
+ * Whether to create the directory if it does not exist
9
+ *
10
+ * @defaultValue true
11
+ */
12
+ createDirectory?: boolean;
13
+ }
14
+ /**
15
+ * Write the given content to the given file path
16
+ *
17
+ * @param filePath - The file path to write to
18
+ * @param content - The content to write to the file
19
+ */
20
+ declare const writeFileSync: (filePath: string, content?: string, options?: WriteFileOptions & WriteFileOptions$1) => void;
21
+ /**
22
+ * Read the given content to the given file path
23
+ *
24
+ * @param filePath - The file path to read to
25
+ * @param content - The content to write to the file
26
+ * @returns The content of the file
27
+ */
28
+ declare const writeFile: (filePath: string, content?: string, options?: WriteFileOptions & ((ObjectEncodingOptions & {
29
+ mode?: Mode | undefined;
30
+ flag?: OpenMode | undefined;
31
+ flush?: boolean | undefined;
32
+ } & Abortable) | Encoding)) => Promise<void>;
33
+ //#endregion
34
+ export { WriteFileOptions, writeFile, writeFileSync };
35
+ //# sourceMappingURL=write-file.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"write-file.d.cts","names":[],"sources":["../src/write-file.ts"],"sourcesContent":[],"mappings":";;;;;UAiCiB,gBAAA;;AAAjB;AAeA;AA4BA;;EAKS,eAAA,CAAA,EAAA,OAAA;;;;;;;;cAjCI,8DAGF,mBAAmB;;;;;;;;cAyBjB,0DAGF,qBAEF;SACQ;SACA;;IAEL,aACJ,cAEL"}
@@ -1,2 +1,35 @@
1
- import { n as writeFile, r as writeFileSync, t as WriteFileOptions } from "./write-file-CWTzQpb2.mjs";
2
- export { WriteFileOptions, writeFile, writeFileSync };
1
+ import { Encoding } from "./constants.mjs";
2
+ import { Mode, ObjectEncodingOptions, OpenMode, WriteFileOptions as WriteFileOptions$1 } from "node:fs";
3
+ import { Abortable } from "node:events";
4
+
5
+ //#region src/write-file.d.ts
6
+ interface WriteFileOptions {
7
+ /**
8
+ * Whether to create the directory if it does not exist
9
+ *
10
+ * @defaultValue true
11
+ */
12
+ createDirectory?: boolean;
13
+ }
14
+ /**
15
+ * Write the given content to the given file path
16
+ *
17
+ * @param filePath - The file path to write to
18
+ * @param content - The content to write to the file
19
+ */
20
+ declare const writeFileSync: (filePath: string, content?: string, options?: WriteFileOptions & WriteFileOptions$1) => void;
21
+ /**
22
+ * Read the given content to the given file path
23
+ *
24
+ * @param filePath - The file path to read to
25
+ * @param content - The content to write to the file
26
+ * @returns The content of the file
27
+ */
28
+ declare const writeFile: (filePath: string, content?: string, options?: WriteFileOptions & ((ObjectEncodingOptions & {
29
+ mode?: Mode | undefined;
30
+ flag?: OpenMode | undefined;
31
+ flush?: boolean | undefined;
32
+ } & Abortable) | Encoding)) => Promise<void>;
33
+ //#endregion
34
+ export { WriteFileOptions, writeFile, writeFileSync };
35
+ //# sourceMappingURL=write-file.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"write-file.d.mts","names":[],"sources":["../src/write-file.ts"],"sourcesContent":[],"mappings":";;;;;UAiCiB,gBAAA;;AAAjB;AAeA;AA4BA;;EAKS,eAAA,CAAA,EAAA,OAAA;;;;;;;;cAjCI,8DAGF,mBAAmB;;;;;;;;cAyBjB,0DAGF,qBAEF;SACQ;SACA;;IAEL,aACJ,cAEL"}
@@ -1 +1,2 @@
1
- import"./helpers-BSEQb1fp.mjs";import{n as e,t}from"./write-file-CFByoJkN.mjs";export{t as writeFile,e as writeFileSync};
1
+ import{correctPath as e}from"./path/src/correct-path.mjs";import{findFilePath as t}from"./path/src/file-path-fns.mjs";import{existsSync as n}from"./exists.mjs";import{createDirectory as r,createDirectorySync as i}from"./helpers.mjs";import{writeFileSync as a}from"node:fs";import{writeFile as o}from"node:fs/promises";const s=(r,o=``,s={})=>{if(!r)throw Error(`No file path provided to write data`);let c=t(e(r));if(!n(c))if(s.createDirectory!==!1)i(c);else throw Error(`Directory ${c} does not exist`);a(r,o||``,s)},c=async(i,a=``,s={})=>{if(!i)throw Error(`No file path provided to read data`);let c=t(e(i));if(!n(c))if(s.createDirectory!==!1)await r(c);else throw Error(`Directory ${c} does not exist`);return o(i,a||``,s)};export{c as writeFile,s as writeFileSync};
2
+ //# sourceMappingURL=write-file.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"write-file.mjs","names":["existsSync","writeFileFs"],"sources":["../src/write-file.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { correctPath } from \"@stryke/path/correct-path\";\nimport { findFilePath } from \"@stryke/path/file-path-fns\";\nimport type { Abortable } from \"node:events\";\nimport type {\n WriteFileOptions as FSWriteFileOptions,\n Mode,\n ObjectEncodingOptions,\n OpenMode\n} from \"node:fs\";\nimport { writeFileSync as writeFileSyncFs } from \"node:fs\";\nimport { writeFile as writeFileFs } from \"node:fs/promises\";\nimport type { Encoding } from \"./constants\";\nimport { existsSync } from \"./exists\";\nimport { createDirectory, createDirectorySync } from \"./helpers\";\n\nexport interface WriteFileOptions {\n /**\n * Whether to create the directory if it does not exist\n *\n * @defaultValue true\n */\n createDirectory?: boolean;\n}\n\n/**\n * Write the given content to the given file path\n *\n * @param filePath - The file path to write to\n * @param content - The content to write to the file\n */\nexport const writeFileSync = (\n filePath: string,\n content = \"\",\n options: WriteFileOptions & FSWriteFileOptions = {}\n): void => {\n if (!filePath) {\n throw new Error(\"No file path provided to write data\");\n }\n\n const directory = findFilePath(correctPath(filePath));\n if (!existsSync(directory)) {\n if (options.createDirectory !== false) {\n createDirectorySync(directory);\n } else {\n throw new Error(`Directory ${directory} does not exist`);\n }\n }\n\n writeFileSyncFs(filePath, content || \"\", options);\n};\n\n/**\n * Read the given content to the given file path\n *\n * @param filePath - The file path to read to\n * @param content - The content to write to the file\n * @returns The content of the file\n */\nexport const writeFile = async (\n filePath: string,\n content = \"\",\n options: WriteFileOptions &\n (\n | (ObjectEncodingOptions & {\n mode?: Mode | undefined;\n flag?: OpenMode | undefined;\n flush?: boolean | undefined;\n } & Abortable)\n | Encoding\n ) = {}\n): Promise<void> => {\n if (!filePath) {\n throw new Error(\"No file path provided to read data\");\n }\n\n const directory = findFilePath(correctPath(filePath));\n if (!existsSync(directory)) {\n if (options.createDirectory !== false) {\n await createDirectory(directory);\n } else {\n throw new Error(`Directory ${directory} does not exist`);\n }\n }\n\n return writeFileFs(filePath, content || \"\", options);\n};\n"],"mappings":"8TAgDA,MAAa,GACX,EACA,EAAU,GACV,EAAiD,EAAE,GAC1C,CACT,GAAI,CAAC,EACH,MAAU,MAAM,sCAAsC,CAGxD,IAAM,EAAY,EAAa,EAAY,EAAS,CAAC,CACrD,GAAI,CAACA,EAAW,EAAU,CACxB,GAAI,EAAQ,kBAAoB,GAC9B,EAAoB,EAAU,MAE9B,MAAU,MAAM,aAAa,EAAU,iBAAiB,CAI5D,EAAgB,EAAU,GAAW,GAAI,EAAQ,EAUtC,EAAY,MACvB,EACA,EAAU,GACV,EAQM,EAAE,GACU,CAClB,GAAI,CAAC,EACH,MAAU,MAAM,qCAAqC,CAGvD,IAAM,EAAY,EAAa,EAAY,EAAS,CAAC,CACrD,GAAI,CAACA,EAAW,EAAU,CACxB,GAAI,EAAQ,kBAAoB,GAC9B,MAAM,EAAgB,EAAU,MAEhC,MAAU,MAAM,aAAa,EAAU,iBAAiB,CAI5D,OAAOC,EAAY,EAAU,GAAW,GAAI,EAAQ"}
package/dist/yaml.cjs CHANGED
@@ -1 +1 @@
1
- const e=require(`./yaml-q2k-BjIM.cjs`);exports.readYamlFile=e.t,exports.readYamlFileSync=e.n;
1
+ const e=require(`./_virtual/rolldown_runtime.cjs`),t=require(`./read-file.cjs`);let n=require(`yaml`);function r(e,r){return(0,n.parse)(t.readFileSync(e),r)}async function i(e,r={}){return(0,n.parse)(await t.readFile(e),r)}exports.readYamlFile=i,exports.readYamlFileSync=r;
package/dist/yaml.d.cts CHANGED
@@ -1,2 +1,23 @@
1
- import { n as readYamlFile, r as readYamlFileSync, t as YamlReadOptions } from "./yaml-6uuLoSfT.cjs";
2
- export { YamlReadOptions, readYamlFile, readYamlFileSync };
1
+ import { DocumentOptions, ParseOptions, SchemaOptions, ToJSOptions } from "yaml";
2
+
3
+ //#region src/yaml.d.ts
4
+ type YamlReadOptions = ParseOptions & DocumentOptions & SchemaOptions & ToJSOptions;
5
+ /**
6
+ * Reads a YAML file and returns the object the YAML content represents.
7
+ *
8
+ * @param path - A path to a file.
9
+ * @param options - YAML parse options
10
+ * @returns Object the YAML content of the file represents
11
+ */
12
+ declare function readYamlFileSync<T extends object = any>(path: string, options?: YamlReadOptions): T;
13
+ /**
14
+ * Reads a YAML file and returns the object the YAML content represents.
15
+ *
16
+ * @param path - A path to a file.
17
+ * @param options - YAML parse options
18
+ * @returns Object the YAML content of the file represents
19
+ */
20
+ declare function readYamlFile<T extends object = any>(path: string, options?: YamlReadOptions): Promise<T>;
21
+ //#endregion
22
+ export { YamlReadOptions, readYamlFile, readYamlFileSync };
23
+ //# sourceMappingURL=yaml.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"yaml.d.cts","names":[],"sources":["../src/yaml.ts"],"sourcesContent":[],"mappings":";;;KA2BY,eAAA,GAAkB,eAC5B,kBACA,gBACA;;AAHF;;;;;;AAYgB,iBAAA,gBAEJ,CAAA,UAAA,MACR,GAAA,GAAA,CAAA,CAAA,IAAA,EAAA,MAAA,EAAA,OAAA,CAAA,EADQ,eACR,CAAA,EAAD,CAAC;AAWJ;;;;;;;iBAAsB,6DAEX,kBACR,QAAQ"}
package/dist/yaml.d.mts CHANGED
@@ -1,2 +1,23 @@
1
- import { n as readYamlFile, r as readYamlFileSync, t as YamlReadOptions } from "./yaml-Ddslc5NK.mjs";
2
- export { YamlReadOptions, readYamlFile, readYamlFileSync };
1
+ import { DocumentOptions, ParseOptions, SchemaOptions, ToJSOptions } from "yaml";
2
+
3
+ //#region src/yaml.d.ts
4
+ type YamlReadOptions = ParseOptions & DocumentOptions & SchemaOptions & ToJSOptions;
5
+ /**
6
+ * Reads a YAML file and returns the object the YAML content represents.
7
+ *
8
+ * @param path - A path to a file.
9
+ * @param options - YAML parse options
10
+ * @returns Object the YAML content of the file represents
11
+ */
12
+ declare function readYamlFileSync<T extends object = any>(path: string, options?: YamlReadOptions): T;
13
+ /**
14
+ * Reads a YAML file and returns the object the YAML content represents.
15
+ *
16
+ * @param path - A path to a file.
17
+ * @param options - YAML parse options
18
+ * @returns Object the YAML content of the file represents
19
+ */
20
+ declare function readYamlFile<T extends object = any>(path: string, options?: YamlReadOptions): Promise<T>;
21
+ //#endregion
22
+ export { YamlReadOptions, readYamlFile, readYamlFileSync };
23
+ //# sourceMappingURL=yaml.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"yaml.d.mts","names":[],"sources":["../src/yaml.ts"],"sourcesContent":[],"mappings":";;;KA2BY,eAAA,GAAkB,eAC5B,kBACA,gBACA;;AAHF;;;;;;AAYgB,iBAAA,gBAEJ,CAAA,UAAA,MACR,GAAA,GAAA,CAAA,CAAA,IAAA,EAAA,MAAA,EAAA,OAAA,CAAA,EADQ,eACR,CAAA,EAAD,CAAC;AAWJ;;;;;;;iBAAsB,6DAEX,kBACR,QAAQ"}
package/dist/yaml.mjs CHANGED
@@ -1 +1,2 @@
1
- import{n as e,t}from"./yaml-CLMo56UG.mjs";export{t as readYamlFile,e as readYamlFileSync};
1
+ import{readFile as e,readFileSync as t}from"./read-file.mjs";import{parse as n}from"yaml";function r(e,r){return n(t(e),r)}async function i(t,r={}){return n(await e(t),r)}export{i as readYamlFile,r as readYamlFileSync};
2
+ //# sourceMappingURL=yaml.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"yaml.mjs","names":[],"sources":["../src/yaml.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport type {\n DocumentOptions,\n ParseOptions,\n SchemaOptions,\n ToJSOptions\n} from \"yaml\";\nimport { parse } from \"yaml\";\nimport { readFile, readFileSync } from \"./read-file\";\n\nexport type YamlReadOptions = ParseOptions &\n DocumentOptions &\n SchemaOptions &\n ToJSOptions;\n\n/**\n * Reads a YAML file and returns the object the YAML content represents.\n *\n * @param path - A path to a file.\n * @param options - YAML parse options\n * @returns Object the YAML content of the file represents\n */\nexport function readYamlFileSync<T extends object = any>(\n path: string,\n options?: YamlReadOptions\n): T {\n return parse(readFileSync(path), options) as T;\n}\n\n/**\n * Reads a YAML file and returns the object the YAML content represents.\n *\n * @param path - A path to a file.\n * @param options - YAML parse options\n * @returns Object the YAML content of the file represents\n */\nexport async function readYamlFile<T extends object = any>(\n path: string,\n options: YamlReadOptions = {}\n): Promise<T> {\n return parse(await readFile(path), options) as T;\n}\n"],"mappings":"0FAuCA,SAAgB,EACd,EACA,EACG,CACH,OAAO,EAAM,EAAa,EAAK,CAAE,EAAQ,CAU3C,eAAsB,EACpB,EACA,EAA2B,EAAE,CACjB,CACZ,OAAO,EAAM,MAAM,EAAS,EAAK,CAAE,EAAQ"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stryke/fs",
3
- "version": "0.33.20",
3
+ "version": "0.33.21",
4
4
  "type": "module",
5
5
  "description": "A package containing various file system utilities that expand the functionality of NodeJs's built-in `fs` module.",
6
6
  "repository": {
@@ -103,16 +103,16 @@
103
103
  "./*": "./*"
104
104
  },
105
105
  "types": "./dist/index.d.cts",
106
- "peerDependencies": { "nx": "^22.1.3" },
106
+ "peerDependencies": { "nx": "^22.2.7" },
107
107
  "peerDependenciesMeta": { "nx": { "optional": true } },
108
108
  "dependencies": {
109
109
  "@antfu/install-pkg": "^1.1.0",
110
110
  "@ltd/j-toml": "^1.38.0",
111
- "@storm-software/config-tools": "^1.188.60",
112
- "@stryke/convert": "^0.6.24",
113
- "@stryke/helpers": "^0.9.26",
114
- "@stryke/path": "^0.22.11",
115
- "@stryke/string-format": "^0.12.24",
111
+ "@storm-software/config-tools": "^1.188.68",
112
+ "@stryke/convert": "^0.6.25",
113
+ "@stryke/helpers": "^0.9.27",
114
+ "@stryke/path": "^0.22.12",
115
+ "@stryke/string-format": "^0.12.25",
116
116
  "chalk": "^5.6.2",
117
117
  "defu": "^6.1.4",
118
118
  "glob": "^11.1.0",
@@ -122,12 +122,12 @@
122
122
  "yaml": "^2.8.2"
123
123
  },
124
124
  "devDependencies": {
125
- "@types/node": "^24.10.1",
125
+ "@types/node": "^24.10.4",
126
126
  "@types/semver": "^7.7.1",
127
- "nx": "^22.1.3",
127
+ "nx": "^22.2.7",
128
128
  "tinyexec": "^0.3.2",
129
- "tsdown": "^0.17.1"
129
+ "tsdown": "^0.17.2"
130
130
  },
131
131
  "publishConfig": { "access": "public" },
132
- "gitHead": "fd38508c876b697a52a0e27df1478b41ae011583"
132
+ "gitHead": "8f2e484743eb3ce54929e99096ca2ea188b4730e"
133
133
  }
@@ -1 +0,0 @@
1
- const e=require(`./chunk-Bmb41Sf3.cjs`),t=require(`./file-path-fns-7aKacdLg.cjs`),n=require(`./helpers-_MJ6PR-g.cjs`);let r=require(`node:buffer`),i=require(`node:fs`),a=require(`node:fs/promises`);async function o(e){if(!e)throw Error(`No file path provided to read data`);if(!(0,i.existsSync)(e))throw Error(`File does not exist at path: ${e}`);let t=await(0,a.readFile)(e);return t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}function s(e){if(!e)throw Error(`No file path provided to read data`);if(!(0,i.existsSync)(e))throw Error(`File does not exist at path: ${e}`);let t=(0,i.readFileSync)(e);return t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}async function c(e,o){if(!e)throw Error(`No file path provided to write data`);(0,i.existsSync)(t.r(e))||await n.t(t.r(e)),await(0,a.writeFile)(e,r.Buffer.from(o))}function l(e,a){if(!e)throw Error(`No file path provided to write data`);(0,i.existsSync)(t.r(e))||n.n(t.r(e)),(0,i.writeFileSync)(e,r.Buffer.from(a))}Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return o}});
@@ -1,2 +0,0 @@
1
- import{r as e}from"./file-path-fns-BDzC2SIV.mjs";import{n as t,t as n}from"./helpers-BSEQb1fp.mjs";import{Buffer as r}from"node:buffer";import{existsSync as i,readFileSync as a,writeFileSync as o}from"node:fs";import{readFile as s,writeFile as c}from"node:fs/promises";async function l(e){if(!e)throw Error(`No file path provided to read data`);if(!i(e))throw Error(`File does not exist at path: ${e}`);let t=await s(e);return t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}function u(e){if(!e)throw Error(`No file path provided to read data`);if(!i(e))throw Error(`File does not exist at path: ${e}`);let t=a(e);return t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}async function d(t,a){if(!t)throw Error(`No file path provided to write data`);i(e(t))||await n(e(t)),await c(t,r.from(a))}function f(n,a){if(!n)throw Error(`No file path provided to write data`);i(e(n))||t(e(n)),o(n,r.from(a))}export{f as i,u as n,d as r,l as t};
2
- //# sourceMappingURL=buffer-DDq-CW4J.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"buffer-DDq-CW4J.mjs","names":[],"sources":["../src/buffer.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { findFilePath } from \"@stryke/path\";\nimport { Buffer } from \"node:buffer\";\nimport { existsSync, readFileSync, writeFileSync } from \"node:fs\";\nimport { readFile, writeFile } from \"node:fs/promises\";\nimport { createDirectory, createDirectorySync } from \"./helpers\";\n\n/**\n * Reads a file from the given path and returns its content as an ArrayBuffer. The file is expected to be located relative to the current directory of this module.\n *\n * @param filePath - The path to the file to read.\n * @returns The content of the file as an ArrayBuffer.\n */\nexport async function readFileBuffer(filePath: string): Promise<ArrayBuffer> {\n if (!filePath) {\n throw new Error(\"No file path provided to read data\");\n }\n if (!existsSync(filePath)) {\n throw new Error(`File does not exist at path: ${filePath}`);\n }\n\n const b = await readFile(filePath);\n\n return b.buffer.slice(\n b.byteOffset,\n b.byteOffset + b.byteLength\n ) as ArrayBuffer;\n}\n\n/**\n * Reads a file from the given path and returns its content as an ArrayBuffer. The file is expected to be located relative to the current directory of this module.\n *\n * @param filePath - The path to the file to read.\n * @returns The content of the file as an ArrayBuffer.\n */\nexport function readFileBufferSync(filePath: string): ArrayBuffer {\n if (!filePath) {\n throw new Error(\"No file path provided to read data\");\n }\n if (!existsSync(filePath)) {\n throw new Error(`File does not exist at path: ${filePath}`);\n }\n\n const b = readFileSync(filePath);\n\n return b.buffer.slice(b.byteOffset, b.byteOffset + b.byteLength);\n}\n\n/**\n * Writes an ArrayBuffer to a file at the specified path.\n *\n * @param filePath - The path to the file where the data should be written.\n * @param data - The ArrayBuffer containing the data to write.\n */\nexport async function writeFileBuffer(filePath: string, data: ArrayBuffer) {\n if (!filePath) {\n throw new Error(\"No file path provided to write data\");\n }\n if (!existsSync(findFilePath(filePath))) {\n await createDirectory(findFilePath(filePath));\n }\n\n await writeFile(filePath, Buffer.from(data));\n}\n\n/**\n * Writes an ArrayBuffer to a file at the specified path.\n *\n * @param filePath - The path to the file where the data should be written.\n * @param data - The ArrayBuffer containing the data to write.\n */\nexport function writeFileBufferSync(filePath: string, data: ArrayBuffer) {\n if (!filePath) {\n throw new Error(\"No file path provided to write data\");\n }\n if (!existsSync(findFilePath(filePath))) {\n createDirectorySync(findFilePath(filePath));\n }\n\n writeFileSync(filePath, Buffer.from(data));\n}\n"],"mappings":"6QA8BA,eAAsB,EAAe,EAAwC,CAC3E,GAAI,CAAC,EACH,MAAU,MAAM,qCAAqC,CAEvD,GAAI,CAAC,EAAW,EAAS,CACvB,MAAU,MAAM,gCAAgC,IAAW,CAG7D,IAAM,EAAI,MAAM,EAAS,EAAS,CAElC,OAAO,EAAE,OAAO,MACd,EAAE,WACF,EAAE,WAAa,EAAE,WAClB,CASH,SAAgB,EAAmB,EAA+B,CAChE,GAAI,CAAC,EACH,MAAU,MAAM,qCAAqC,CAEvD,GAAI,CAAC,EAAW,EAAS,CACvB,MAAU,MAAM,gCAAgC,IAAW,CAG7D,IAAM,EAAI,EAAa,EAAS,CAEhC,OAAO,EAAE,OAAO,MAAM,EAAE,WAAY,EAAE,WAAa,EAAE,WAAW,CASlE,eAAsB,EAAgB,EAAkB,EAAmB,CACzE,GAAI,CAAC,EACH,MAAU,MAAM,sCAAsC,CAEnD,EAAW,EAAa,EAAS,CAAC,EACrC,MAAM,EAAgB,EAAa,EAAS,CAAC,CAG/C,MAAM,EAAU,EAAU,EAAO,KAAK,EAAK,CAAC,CAS9C,SAAgB,EAAoB,EAAkB,EAAmB,CACvE,GAAI,CAAC,EACH,MAAU,MAAM,sCAAsC,CAEnD,EAAW,EAAa,EAAS,CAAC,EACrC,EAAoB,EAAa,EAAS,CAAC,CAG7C,EAAc,EAAU,EAAO,KAAK,EAAK,CAAC"}
@@ -1,32 +0,0 @@
1
- //#region src/buffer.d.ts
2
- /**
3
- * Reads a file from the given path and returns its content as an ArrayBuffer. The file is expected to be located relative to the current directory of this module.
4
- *
5
- * @param filePath - The path to the file to read.
6
- * @returns The content of the file as an ArrayBuffer.
7
- */
8
- declare function readFileBuffer(filePath: string): Promise<ArrayBuffer>;
9
- /**
10
- * Reads a file from the given path and returns its content as an ArrayBuffer. The file is expected to be located relative to the current directory of this module.
11
- *
12
- * @param filePath - The path to the file to read.
13
- * @returns The content of the file as an ArrayBuffer.
14
- */
15
- declare function readFileBufferSync(filePath: string): ArrayBuffer;
16
- /**
17
- * Writes an ArrayBuffer to a file at the specified path.
18
- *
19
- * @param filePath - The path to the file where the data should be written.
20
- * @param data - The ArrayBuffer containing the data to write.
21
- */
22
- declare function writeFileBuffer(filePath: string, data: ArrayBuffer): Promise<void>;
23
- /**
24
- * Writes an ArrayBuffer to a file at the specified path.
25
- *
26
- * @param filePath - The path to the file where the data should be written.
27
- * @param data - The ArrayBuffer containing the data to write.
28
- */
29
- declare function writeFileBufferSync(filePath: string, data: ArrayBuffer): void;
30
- //#endregion
31
- export { writeFileBufferSync as i, readFileBufferSync as n, writeFileBuffer as r, readFileBuffer as t };
32
- //# sourceMappingURL=buffer-DgfUmhrc.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"buffer-DgfUmhrc.d.mts","names":[],"sources":["../src/buffer.ts"],"sourcesContent":[],"mappings":";;AA8BA;AAsBA;AAmBA;AAiBA;;iBA1DsB,cAAA,oBAAkC,QAAQ;;;;;;;iBAsBhD,kBAAA,oBAAsC;;;;;;;iBAmBhC,eAAA,yBAAwC,cAAW;;;;;;;iBAiBzD,mBAAA,yBAA4C"}
@@ -1,32 +0,0 @@
1
- //#region src/buffer.d.ts
2
- /**
3
- * Reads a file from the given path and returns its content as an ArrayBuffer. The file is expected to be located relative to the current directory of this module.
4
- *
5
- * @param filePath - The path to the file to read.
6
- * @returns The content of the file as an ArrayBuffer.
7
- */
8
- declare function readFileBuffer(filePath: string): Promise<ArrayBuffer>;
9
- /**
10
- * Reads a file from the given path and returns its content as an ArrayBuffer. The file is expected to be located relative to the current directory of this module.
11
- *
12
- * @param filePath - The path to the file to read.
13
- * @returns The content of the file as an ArrayBuffer.
14
- */
15
- declare function readFileBufferSync(filePath: string): ArrayBuffer;
16
- /**
17
- * Writes an ArrayBuffer to a file at the specified path.
18
- *
19
- * @param filePath - The path to the file where the data should be written.
20
- * @param data - The ArrayBuffer containing the data to write.
21
- */
22
- declare function writeFileBuffer(filePath: string, data: ArrayBuffer): Promise<void>;
23
- /**
24
- * Writes an ArrayBuffer to a file at the specified path.
25
- *
26
- * @param filePath - The path to the file where the data should be written.
27
- * @param data - The ArrayBuffer containing the data to write.
28
- */
29
- declare function writeFileBufferSync(filePath: string, data: ArrayBuffer): void;
30
- //#endregion
31
- export { writeFileBufferSync as i, readFileBufferSync as n, writeFileBuffer as r, readFileBuffer as t };
32
- //# sourceMappingURL=buffer-DvCjrjQH.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"buffer-DvCjrjQH.d.cts","names":[],"sources":["../src/buffer.ts"],"sourcesContent":[],"mappings":";;AA8BA;AAsBA;AAmBA;AAiBA;;iBA1DsB,cAAA,oBAAkC,QAAQ;;;;;;;iBAsBhD,kBAAA,oBAAsC;;;;;;;iBAmBhC,eAAA,yBAAwC,cAAW;;;;;;;iBAiBzD,mBAAA,yBAA4C"}
@@ -1,44 +0,0 @@
1
- //#region src/chmod-x.d.ts
2
- /**
3
- * Adds execute permissions to a file
4
- *
5
- * @param file - The file to add execute permissions to
6
- */
7
- declare function chmodXSync(file: string): void;
8
- /**
9
- * Adds execute permissions to a file
10
- *
11
- * @param file - The file to add execute permissions to
12
- */
13
- declare function chmodX(file: string): Promise<void>;
14
- /**
15
- * Checks the write permission of a file
16
- *
17
- * @param filename - The file to check the permission of
18
- * @returns A promise that resolves to true if the file is writable, false otherwise
19
- */
20
- declare function isWritable(filename: string): Promise<boolean>;
21
- /**
22
- * Checks the write permission of a file
23
- *
24
- * @param filename - The file to check the permission of
25
- * @returns True if the file is writable, false otherwise
26
- */
27
- declare function isWritableSync(filename: string): boolean;
28
- /**
29
- * Checks the execute permission of a file
30
- *
31
- * @param filename - The file to check the permission of
32
- * @returns A promise that resolves to true if the file is executable, false otherwise
33
- */
34
- declare function isExecutable(filename: string): Promise<boolean>;
35
- /**
36
- * Checks the execute permission of a file
37
- *
38
- * @param filename - The file to check the permission of
39
- * @returns True if the file is executable, false otherwise
40
- */
41
- declare function isExecutableSync(filename: string): boolean;
42
- //#endregion
43
- export { isWritable as a, isExecutableSync as i, chmodXSync as n, isWritableSync as o, isExecutable as r, chmodX as t };
44
- //# sourceMappingURL=chmod-x-BPr4tt2-.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chmod-x-BPr4tt2-.d.cts","names":[],"sources":["../src/chmod-x.ts"],"sourcesContent":[],"mappings":";;AA0BA;AAuBA;AAwBA;AAeA;AAesB,iBA7EN,UAAA,CA6EsC,IAAO,EAAA,MAAA,CAAA,EAAA,IAAA;AAe7D;;;;;iBArEsB,MAAA,gBAAmB;;;;;;;iBAwBnB,UAAA,oBAA8B;;;;;;;iBAepC,cAAA;;;;;;;iBAeM,YAAA,oBAAgC;;;;;;;iBAetC,gBAAA"}
@@ -1 +0,0 @@
1
- const e=require(`./chunk-Bmb41Sf3.cjs`);let t=require(`node:fs`),n=require(`node:fs/promises`);function r(e){if(process.platform===`win32`)return;let n=(0,t.statSync)(e),r=n.mode|73;n.mode!==r&&(0,t.chmodSync)(e,r.toString(8).slice(-3))}async function i(e){if(process.platform===`win32`)return;let r=(0,t.statSync)(e),i=r.mode|73;if(r.mode!==i)return(0,n.chmod)(e,i.toString(8).slice(-3))}async function a(e){try{return await(0,n.access)(e,t.constants.W_OK),!0}catch{return!1}}function o(e){try{return(0,t.accessSync)(e,t.constants.W_OK),!0}catch{return!1}}async function s(e){try{return await(0,n.access)(e,t.constants.X_OK),!0}catch{return!1}}function c(e){try{return(0,t.accessSync)(e,t.constants.X_OK),!0}catch{return!1}}Object.defineProperty(exports,`a`,{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return r}}),Object.defineProperty(exports,`o`,{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return i}});