@visulima/fs 4.1.0 → 5.0.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/README.md +32 -14
  3. package/dist/index.js +14 -14
  4. package/dist/packem_shared/{F_OK-BalxCn9n.js → F_OK-MldBaGxb.js} +1 -1
  5. package/dist/packem_shared/{findUp-Lv9mZCIQ.js → findUp-BSnyGqer.js} +1 -1
  6. package/dist/packem_shared/{findUpSync-BsK4Nrrq.js → findUpSync-jRHbSCMV.js} +1 -1
  7. package/dist/packem_shared/{isAccessible-iOp0Bou6.js → isAccessible-DuVrTNFV.js} +1 -1
  8. package/dist/packem_shared/{isAccessibleSync-38BmiIcx.js → isAccessibleSync-DI8mM0fA.js} +1 -1
  9. package/dist/packem_shared/{move-BD6JbYSu.js → move-DbpW5_vA.js} +2 -2
  10. package/dist/packem_shared/{readFile-BcK0rkht.js → readFile-Iz7kvCCk.js} +2 -2
  11. package/dist/packem_shared/{readFileSync-BDgEnnqT.js → readFileSync-6GEIrOnl.js} +2 -2
  12. package/dist/packem_shared/{readJson-ac6N9-5G.js → readJson-vddQ97Ll.js} +1 -1
  13. package/dist/packem_shared/{readJsonSync-BTlwqLNV.js → readJsonSync-DzeAdYZl.js} +1 -1
  14. package/dist/packem_shared/{readYaml-Cj6HxRoa.js → readYaml-D5q2a0e1.js} +1 -1
  15. package/dist/packem_shared/{readYamlSync-D3_iAKVv.js → readYamlSync-DMV4U-gi.js} +1 -1
  16. package/dist/packem_shared/{stripJsonComments-21XWVDwP.js → stripJsonComments-vo4k0mpF.js} +1 -1
  17. package/dist/packem_shared/{writeFile-NT1fLEEe.js → writeFile-DSHERs0Z.js} +2 -2
  18. package/dist/packem_shared/{writeFileSync-Bj5UDSf0.js → writeFileSync-CJp1kXQR.js} +2 -2
  19. package/dist/packem_shared/{writeJson-DQLdAi0d.js → writeJson-C0OfLDbe.js} +3 -3
  20. package/dist/packem_shared/{writeJsonSync-DvTCjVUi.js → writeJsonSync-Cs21FE7v.js} +3 -3
  21. package/dist/packem_shared/{writeYaml-BMY0kOPf.js → writeYaml-n4xzYN9a.js} +1 -1
  22. package/dist/packem_shared/{writeYamlSync-DqPu8cCd.js → writeYamlSync-DnOEnP10.js} +1 -1
  23. package/dist/utils.js +1 -1
  24. package/dist/yaml.js +4 -4
  25. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -1,3 +1,37 @@
1
+ ## @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)
2
+
3
+ ### Bug Fixes
4
+
5
+ * update package OG images across multiple packages ([f08e4dd](https://github.com/visulima/visulima/commit/f08e4dd2b105ccb29c8412020a9c2be36d6c1e9e))
6
+
7
+
8
+ ### Dependencies
9
+
10
+ * **@visulima/path:** upgraded to 3.0.0-alpha.3
11
+ * **@visulima/error:** upgraded to 6.0.0-alpha.2
12
+
13
+ ## @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)
14
+
15
+ ### ⚠ BREAKING CHANGES
16
+
17
+ * change min node version to 22.13
18
+
19
+ ### Bug Fixes
20
+
21
+ * add new package image, fixed readme rendering on npm, fixed building of packages ([b790ba2](https://github.com/visulima/visulima/commit/b790ba253ea07fef83528fd822a678facf021b5f))
22
+ * 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))
23
+
24
+ ### Miscellaneous Chores
25
+
26
+ * moved all packages into groups ([0615e9d](https://github.com/visulima/visulima/commit/0615e9d14a8a886e11da529ce150cf31ca973c10))
27
+ * 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))
28
+ * 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))
29
+
30
+
31
+ ### Dependencies
32
+
33
+ * **@visulima/error:** upgraded to 6.0.0-alpha.1
34
+
1
35
  ## @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
36
 
3
37
  ### Features
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/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { FIND_UP_STOP, F_OK, R_OK, W_OK, X_OK } from './packem_shared/F_OK-BalxCn9n.js';
1
+ export { FIND_UP_STOP, F_OK, R_OK, W_OK, X_OK } from './packem_shared/F_OK-MldBaGxb.js';
2
2
  export { default as ensureDir } from './packem_shared/ensureDir-C_kuQ5Ik.js';
3
3
  export { default as ensureDirSync } from './packem_shared/ensureDirSync-CI5g-uBI.js';
4
4
  export { default as ensureFile } from './packem_shared/ensureFile-BUtXGlGT.js';
@@ -10,24 +10,24 @@ export { default as ensureSymlinkSync } from './packem_shared/ensureSymlinkSync-
10
10
  export { CRLF, EOL, LF, detect, format } from './eol.js';
11
11
  export { default as collect } from './packem_shared/collect-DcBwsYYd.js';
12
12
  export { default as collectSync } from './packem_shared/collectSync-Bkjf9Dbm.js';
13
- export { default as findUp } from './packem_shared/findUp-Lv9mZCIQ.js';
14
- export { default as findUpSync } from './packem_shared/findUpSync-BsK4Nrrq.js';
13
+ export { default as findUp } from './packem_shared/findUp-BSnyGqer.js';
14
+ export { default as findUpSync } from './packem_shared/findUpSync-jRHbSCMV.js';
15
15
  export { default as walk } from './packem_shared/walk-BhTbpr3y.js';
16
16
  export { default as walkSync } from './packem_shared/walkSync-DDBq95s8.js';
17
- export { default as isAccessible } from './packem_shared/isAccessible-iOp0Bou6.js';
18
- export { default as isAccessibleSync } from './packem_shared/isAccessibleSync-38BmiIcx.js';
19
- export { move, moveSync, rename, renameSync } from './packem_shared/move-BD6JbYSu.js';
20
- export { default as readFile } from './packem_shared/readFile-BcK0rkht.js';
21
- export { default as readFileSync } from './packem_shared/readFileSync-BDgEnnqT.js';
22
- export { default as readJson } from './packem_shared/readJson-ac6N9-5G.js';
23
- export { default as readJsonSync } from './packem_shared/readJsonSync-BTlwqLNV.js';
17
+ export { default as isAccessible } from './packem_shared/isAccessible-DuVrTNFV.js';
18
+ export { default as isAccessibleSync } from './packem_shared/isAccessibleSync-DI8mM0fA.js';
19
+ export { move, moveSync, rename, renameSync } from './packem_shared/move-DbpW5_vA.js';
20
+ export { default as readFile } from './packem_shared/readFile-Iz7kvCCk.js';
21
+ export { default as readFileSync } from './packem_shared/readFileSync-6GEIrOnl.js';
22
+ export { default as readJson } from './packem_shared/readJson-vddQ97Ll.js';
23
+ export { default as readJsonSync } from './packem_shared/readJsonSync-DzeAdYZl.js';
24
24
  export { default as emptyDir } from './packem_shared/emptyDir-CYB5Tict.js';
25
25
  export { default as emptyDirSync } from './packem_shared/emptyDirSync-BD8-1Ytl.js';
26
26
  export { default as remove } from './packem_shared/remove-_oDY3uKo.js';
27
27
  export { default as removeSync } from './packem_shared/removeSync-DETRj7Qn.js';
28
28
  export { sanitize } from './packem_shared/sanitize-lOzE6k2A.js';
29
- export { default as writeFile } from './packem_shared/writeFile-NT1fLEEe.js';
30
- export { default as writeFileSync } from './packem_shared/writeFileSync-Bj5UDSf0.js';
31
- export { default as writeJson } from './packem_shared/writeJson-DQLdAi0d.js';
32
- export { default as writeJsonSync } from './packem_shared/writeJsonSync-DvTCjVUi.js';
29
+ export { default as writeFile } from './packem_shared/writeFile-DSHERs0Z.js';
30
+ export { default as writeFileSync } from './packem_shared/writeFileSync-CJp1kXQR.js';
31
+ export { default as writeJson } from './packem_shared/writeJson-C0OfLDbe.js';
32
+ export { default as writeJsonSync } from './packem_shared/writeJsonSync-Cs21FE7v.js';
33
33
  export { isFsCaseSensitive } from './packem_shared/isFsCaseSensitive-D-ayleCy.js';
@@ -2,7 +2,7 @@ const F_OK = 0;
2
2
  const R_OK = 4;
3
3
  const W_OK = 2;
4
4
  const X_OK = 1;
5
- const FIND_UP_STOP = Symbol("findUpStop");
5
+ const FIND_UP_STOP = /* @__PURE__ */ Symbol("findUpStop");
6
6
  const INTERNAL_STRIP_JSON_REGEX = /"(?:[^"\\]|\\.)*"|\/\/[^\r\n]*|\/\*[\s\S]*?\*\//g;
7
7
 
8
8
  export { FIND_UP_STOP, F_OK, INTERNAL_STRIP_JSON_REGEX, R_OK, W_OK, X_OK };
@@ -26,7 +26,7 @@ const {
26
26
  } = __cjs_getBuiltinModule("node:url");
27
27
  import { resolve, parse, isAbsolute, dirname } from '@visulima/path';
28
28
  import { toPath } from '@visulima/path/utils';
29
- import { FIND_UP_STOP } from './F_OK-BalxCn9n.js';
29
+ import { FIND_UP_STOP } from './F_OK-MldBaGxb.js';
30
30
 
31
31
  const findUp = async (name, options = {}) => {
32
32
  if (typeof name !== "string" && !Array.isArray(name) && typeof name !== "function") {
@@ -26,7 +26,7 @@ const {
26
26
  } = __cjs_getBuiltinModule("node:url");
27
27
  import { resolve, parse, isAbsolute, dirname } from '@visulima/path';
28
28
  import { toPath } from '@visulima/path/utils';
29
- import { FIND_UP_STOP } from './F_OK-BalxCn9n.js';
29
+ import { FIND_UP_STOP } from './F_OK-MldBaGxb.js';
30
30
 
31
31
  const findUpSync = (name, options = {}) => {
32
32
  if (typeof name !== "string" && !Array.isArray(name) && typeof name !== "function") {
@@ -21,7 +21,7 @@ const {
21
21
  access
22
22
  } = __cjs_getBuiltinModule("node:fs/promises");
23
23
  import { toPath } from '@visulima/path/utils';
24
- import { F_OK } from './F_OK-BalxCn9n.js';
24
+ import { F_OK } from './F_OK-MldBaGxb.js';
25
25
  import assertValidFileOrDirectoryPath from './assertValidFileOrDirectoryPath-8HANmVjk.js';
26
26
 
27
27
  async function isAccessible(path, mode = F_OK) {
@@ -21,7 +21,7 @@ const {
21
21
  accessSync
22
22
  } = __cjs_getBuiltinModule("node:fs");
23
23
  import { toPath } from '@visulima/path/utils';
24
- import { F_OK } from './F_OK-BalxCn9n.js';
24
+ import { F_OK } from './F_OK-MldBaGxb.js';
25
25
  import assertValidFileOrDirectoryPath from './assertValidFileOrDirectoryPath-8HANmVjk.js';
26
26
 
27
27
  function isAccessibleSync(path, mode = F_OK) {
@@ -28,14 +28,14 @@ const {
28
28
  unlink
29
29
  } = __cjs_getBuiltinModule("node:fs/promises");
30
30
  import { dirname, resolve } from '@visulima/path';
31
- import isAccessible from './isAccessible-iOp0Bou6.js';
31
+ import isAccessible from './isAccessible-DuVrTNFV.js';
32
32
  const {
33
33
  mkdirSync,
34
34
  renameSync: renameSync$1,
35
35
  copyFileSync,
36
36
  unlinkSync
37
37
  } = __cjs_getBuiltinModule("node:fs");
38
- import isAccessibleSync from './isAccessibleSync-38BmiIcx.js';
38
+ import isAccessibleSync from './isAccessibleSync-DI8mM0fA.js';
39
39
 
40
40
  class SameDirectoryError extends Error {
41
41
  constructor(source, destination) {
@@ -25,9 +25,9 @@ const {
25
25
  brotliDecompress
26
26
  } = __cjs_getBuiltinModule("node:zlib");
27
27
  import { toPath } from '@visulima/path/utils';
28
- import { R_OK } from './F_OK-BalxCn9n.js';
28
+ import { R_OK } from './F_OK-MldBaGxb.js';
29
29
  import PermissionError from './PermissionError-CjoiJgip.js';
30
- import isAccessible from './isAccessible-iOp0Bou6.js';
30
+ import isAccessible from './isAccessible-DuVrTNFV.js';
31
31
  import assertValidFileOrDirectoryPath from './assertValidFileOrDirectoryPath-8HANmVjk.js';
32
32
 
33
33
  const decompressionMethods = {
@@ -25,9 +25,9 @@ const {
25
25
  brotliDecompressSync
26
26
  } = __cjs_getBuiltinModule("node:zlib");
27
27
  import { toPath } from '@visulima/path/utils';
28
- import { R_OK } from './F_OK-BalxCn9n.js';
28
+ import { R_OK } from './F_OK-MldBaGxb.js';
29
29
  import PermissionError from './PermissionError-CjoiJgip.js';
30
- import isAccessibleSync from './isAccessibleSync-38BmiIcx.js';
30
+ import isAccessibleSync from './isAccessibleSync-DI8mM0fA.js';
31
31
  import assertValidFileOrDirectoryPath from './assertValidFileOrDirectoryPath-8HANmVjk.js';
32
32
 
33
33
  const decompressionMethods = {
@@ -1,6 +1,6 @@
1
1
  import { toPath } from '@visulima/path/utils';
2
2
  import parseJson from './parseJson-C8xb-3LR.js';
3
- import readFile from './readFile-BcK0rkht.js';
3
+ import readFile from './readFile-Iz7kvCCk.js';
4
4
 
5
5
  async function readJson(path, reviver, options) {
6
6
  if (typeof reviver === "object") {
@@ -1,6 +1,6 @@
1
1
  import { toPath } from '@visulima/path/utils';
2
2
  import parseJson from './parseJson-C8xb-3LR.js';
3
- import readFileSync from './readFileSync-BDgEnnqT.js';
3
+ import readFileSync from './readFileSync-6GEIrOnl.js';
4
4
 
5
5
  function readJsonSync(path, reviver, options) {
6
6
  if (typeof reviver === "object") {
@@ -1,5 +1,5 @@
1
1
  import { parse } from 'yaml';
2
- import readFile from './readFile-BcK0rkht.js';
2
+ import readFile from './readFile-Iz7kvCCk.js';
3
3
 
4
4
  async function readYaml(path, reviver, options) {
5
5
  const { buffer, compression, encoding = "utf8", flag, ...parseOptions } = options ?? {};
@@ -1,5 +1,5 @@
1
1
  import { parse } from 'yaml';
2
- import readFileSync from './readFileSync-BDgEnnqT.js';
2
+ import readFileSync from './readFileSync-6GEIrOnl.js';
3
3
 
4
4
  function readYamlSync(path, reviver, options) {
5
5
  const { buffer, compression, encoding = "utf8", flag, ...parseOptions } = options ?? {};
@@ -1,4 +1,4 @@
1
- import { INTERNAL_STRIP_JSON_REGEX } from './F_OK-BalxCn9n.js';
1
+ import { INTERNAL_STRIP_JSON_REGEX } from './F_OK-MldBaGxb.js';
2
2
 
3
3
  const stripJsonComments = (jsonString, { whitespace = true } = {}) => (
4
4
  // This regular expression translates to:
@@ -28,8 +28,8 @@ const {
28
28
  } = __cjs_getBuiltinModule("node:fs/promises");
29
29
  import { dirname } from '@visulima/path';
30
30
  import { toPath } from '@visulima/path/utils';
31
- import { F_OK } from './F_OK-BalxCn9n.js';
32
- import isAccessible from './isAccessible-iOp0Bou6.js';
31
+ import { F_OK } from './F_OK-MldBaGxb.js';
32
+ import isAccessible from './isAccessible-DuVrTNFV.js';
33
33
  import assertValidFileContents from './assertValidFileContents-BmcLtsGd.js';
34
34
  import assertValidFileOrDirectoryPath from './assertValidFileOrDirectoryPath-8HANmVjk.js';
35
35
  import { t as toUint8Array } from './to-uint-8-array-Dz2nF1y1.js';
@@ -28,8 +28,8 @@ const {
28
28
  } = __cjs_getBuiltinModule("node:fs");
29
29
  import { dirname } from '@visulima/path';
30
30
  import { toPath } from '@visulima/path/utils';
31
- import { F_OK } from './F_OK-BalxCn9n.js';
32
- import isAccessibleSync from './isAccessibleSync-38BmiIcx.js';
31
+ import { F_OK } from './F_OK-MldBaGxb.js';
32
+ import isAccessibleSync from './isAccessibleSync-DI8mM0fA.js';
33
33
  import assertValidFileContents from './assertValidFileContents-BmcLtsGd.js';
34
34
  import assertValidFileOrDirectoryPath from './assertValidFileOrDirectoryPath-8HANmVjk.js';
35
35
  import { t as toUint8Array } from './to-uint-8-array-Dz2nF1y1.js';
@@ -21,9 +21,9 @@ const {
21
21
  readFile
22
22
  } = __cjs_getBuiltinModule("node:fs/promises");
23
23
  import { d as detectIndent } from './index-CHM-in-V.js';
24
- import { R_OK } from './F_OK-BalxCn9n.js';
25
- import isAccessible from './isAccessible-iOp0Bou6.js';
26
- import writeFile from './writeFile-NT1fLEEe.js';
24
+ import { R_OK } from './F_OK-MldBaGxb.js';
25
+ import isAccessible from './isAccessible-DuVrTNFV.js';
26
+ import writeFile from './writeFile-DSHERs0Z.js';
27
27
 
28
28
  const writeJson = async (path, data, options = {}) => {
29
29
  const { detectIndent: detectIndent$1, indent: indentOption, replacer, stringify = JSON.stringify, ...writeOptions } = { indent: " ", ...options };
@@ -21,9 +21,9 @@ const {
21
21
  readFileSync
22
22
  } = __cjs_getBuiltinModule("node:fs");
23
23
  import { d as detectIndent } from './index-CHM-in-V.js';
24
- import { R_OK } from './F_OK-BalxCn9n.js';
25
- import isAccessibleSync from './isAccessibleSync-38BmiIcx.js';
26
- import writeFileSync from './writeFileSync-Bj5UDSf0.js';
24
+ import { R_OK } from './F_OK-MldBaGxb.js';
25
+ import isAccessibleSync from './isAccessibleSync-DI8mM0fA.js';
26
+ import writeFileSync from './writeFileSync-CJp1kXQR.js';
27
27
 
28
28
  const writeJsonSync = (path, data, options = {}) => {
29
29
  const { detectIndent: detectIndent$1, indent: indentOption, replacer, stringify = JSON.stringify, ...writeOptions } = { indent: " ", ...options };
@@ -1,5 +1,5 @@
1
1
  import { stringify } from 'yaml';
2
- import writeFile from './writeFile-NT1fLEEe.js';
2
+ import writeFile from './writeFile-DSHERs0Z.js';
3
3
 
4
4
  async function writeYaml(path, data, replacer, options) {
5
5
  let stringifyOptions;
@@ -1,5 +1,5 @@
1
1
  import { stringify } from 'yaml';
2
- import writeFileSync from './writeFileSync-Bj5UDSf0.js';
2
+ import writeFileSync from './writeFileSync-CJp1kXQR.js';
3
3
 
4
4
  function writeYamlSync(path, data, replacer, options) {
5
5
  let stringifyOptions;
package/dist/utils.js CHANGED
@@ -2,5 +2,5 @@ export { default as JSONError } from './packem_shared/JSONError-BkHRnInH.js';
2
2
  export { default as assertValidFileContents } from './packem_shared/assertValidFileContents-BmcLtsGd.js';
3
3
  export { default as assertValidFileOrDirectoryPath } from './packem_shared/assertValidFileOrDirectoryPath-8HANmVjk.js';
4
4
  export { default as parseJson } from './packem_shared/parseJson-C8xb-3LR.js';
5
- export { default as stripJsonComments } from './packem_shared/stripJsonComments-21XWVDwP.js';
5
+ export { default as stripJsonComments } from './packem_shared/stripJsonComments-vo4k0mpF.js';
6
6
  export { toPath } from '@visulima/path/utils';
package/dist/yaml.js CHANGED
@@ -1,4 +1,4 @@
1
- export { default as readYaml } from './packem_shared/readYaml-Cj6HxRoa.js';
2
- export { default as readYamlSync } from './packem_shared/readYamlSync-D3_iAKVv.js';
3
- export { default as writeYaml } from './packem_shared/writeYaml-BMY0kOPf.js';
4
- export { default as writeYamlSync } from './packem_shared/writeYamlSync-DqPu8cCd.js';
1
+ export { default as readYaml } from './packem_shared/readYaml-D5q2a0e1.js';
2
+ export { default as readYamlSync } from './packem_shared/readYamlSync-DMV4U-gi.js';
3
+ export { default as writeYaml } from './packem_shared/writeYaml-n4xzYN9a.js';
4
+ export { default as writeYamlSync } from './packem_shared/writeYamlSync-DnOEnP10.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visulima/fs",
3
- "version": "4.1.0",
3
+ "version": "5.0.0-alpha.2",
4
4
  "description": "Human friendly file system utilities for Node.js",
5
5
  "keywords": [
6
6
  "anolilab",
@@ -60,7 +60,7 @@
60
60
  "repository": {
61
61
  "type": "git",
62
62
  "url": "git+https://github.com/visulima/visulima.git",
63
- "directory": "packages/fs"
63
+ "directory": "packages/filesystem/fs"
64
64
  },
65
65
  "funding": [
66
66
  {
@@ -113,8 +113,8 @@
113
113
  "LICENSE.md"
114
114
  ],
115
115
  "dependencies": {
116
- "type-fest": "^5.2.0",
117
- "@visulima/path": "2.0.5"
116
+ "@visulima/path": "3.0.0-alpha.3",
117
+ "type-fest": "^5.3.0"
118
118
  },
119
119
  "peerDependencies": {
120
120
  "yaml": "^2.7.1"
@@ -125,7 +125,7 @@
125
125
  }
126
126
  },
127
127
  "engines": {
128
- "node": ">=20.19 <=25.x"
128
+ "node": ">=22.13 <=25.x"
129
129
  },
130
130
  "os": [
131
131
  "darwin",