@visulima/fs 4.0.1 → 4.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,37 @@
1
+ ## @visulima/fs [4.0.3](https://github.com/visulima/visulima/compare/@visulima/fs@4.0.2...@visulima/fs@4.0.3) (2025-11-05)
2
+
3
+ ### Bug Fixes
4
+
5
+ * update dependencies across multiple packages ([36a47f2](https://github.com/visulima/visulima/commit/36a47f26d65d25a7b4d8371186710e7d0ab61a2b))
6
+ * Upgraded `type-fest` to version `5.2.0` ([bd6cd53](https://github.com/visulima/visulima/commit/bd6cd5367ff102a7487372dc1ca7742a41c69ea9))
7
+
8
+ ### Miscellaneous Chores
9
+
10
+ * update package dependencies and configurations ([7bfe7e7](https://github.com/visulima/visulima/commit/7bfe7e71869580900aab50efb064b4293994ed9a))
11
+
12
+
13
+ ### Dependencies
14
+
15
+ * **@visulima/path:** upgraded to 2.0.2
16
+ * **@visulima/error:** upgraded to 5.0.3
17
+
18
+ ## @visulima/fs [4.0.2](https://github.com/visulima/visulima/compare/@visulima/fs@4.0.1...@visulima/fs@4.0.2) (2025-10-21)
19
+
20
+ ### Bug Fixes
21
+
22
+ * allow node v25 and updated dev deps ([8158cc5](https://github.com/visulima/visulima/commit/8158cc53ec92bd0331e8c6bd0fcbc8ab61b9320f))
23
+
24
+ ### Miscellaneous Chores
25
+
26
+ * update copyright year in LICENSE.md files ([c46a28d](https://github.com/visulima/visulima/commit/c46a28d2afb4cc7d73a7edde9a271a7156f87eae))
27
+ * update license years and add validation rules ([b97811e](https://github.com/visulima/visulima/commit/b97811ed2d253d908c0d86b4579a0a6bc33673a8))
28
+
29
+
30
+ ### Dependencies
31
+
32
+ * **@visulima/path:** upgraded to 2.0.1
33
+ * **@visulima/error:** upgraded to 5.0.2
34
+
1
35
  ## @visulima/fs [4.0.1](https://github.com/visulima/visulima/compare/@visulima/fs@4.0.0...@visulima/fs@4.0.1) (2025-10-20)
2
36
 
3
37
  ### Bug Fixes
@@ -27,7 +61,7 @@
27
61
 
28
62
  ### Bug Fixes
29
63
 
30
- * update @visulima/packem to 2.0.0-alpha.30 across multiple packages for improved compatibility ([27b346e](https://github.com/visulima/visulima/commit/27b346eaa1c0fb0e420d9a9824482028307f4249))
64
+ * update @visulima/packem to 2.0.0-alpha.32 across multiple packages for improved compatibility ([27b346e](https://github.com/visulima/visulima/commit/27b346eaa1c0fb0e420d9a9824482028307f4249))
31
65
 
32
66
  ### Miscellaneous Chores
33
67
 
package/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2024 visulima
3
+ Copyright (c) 2025 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
@@ -34,7 +34,7 @@ Repository: git+https://github.com/visulima/visulima.git
34
34
 
35
35
  > MIT License
36
36
  >
37
- > Copyright (c) 2024 visulima
37
+ > Copyright (c) 2025 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
package/dist/eol.js CHANGED
@@ -1,3 +1,3 @@
1
- var u=Object.defineProperty;var n=(t,e)=>u(t,"name",{value:e,configurable:!0});import{createRequire as f}from"node:module";const h=f(import.meta.url),p=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process;const{platform:d}=p;var m=Object.defineProperty,s=n((t,e)=>m(t,"name",{value:e,configurable:!0}),"r");const i=/\r?\n/g,c=`
1
+ var f=Object.defineProperty;var c=(t,e)=>f(t,"name",{value:e,configurable:!0});import{createRequire as u}from"node:module";const h=u(import.meta.url),p=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,{platform:g}=p;var m=Object.defineProperty,n=c((t,e)=>m(t,"name",{value:e,configurable:!0}),"r");const s=/\r?\n/g,l=`
2
2
  `,r=`\r
3
- `,b=d==="win32"?r:c,j=s(t=>{const e=t.match(i);if(!e||e.length===0)return null;const o=e.filter(a=>a===r).length,l=e.length-o;return o>l?r:c},"detect"),v=s((t,e)=>t.replaceAll(i,e),"format");export{r as CRLF,b as EOL,c as LF,j as detect,v as format};
3
+ `,b=g==="win32"?r:l,j=n(t=>{const e=t.match(s);if(!e||e.length===0)return null;const o=e.filter(i=>i===r).length,a=e.length-o;return o>a?r:l},"detect"),q=n((t,e)=>t.replaceAll(s,e),"format");export{r as CRLF,b as EOL,l as LF,j as detect,q as format};
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import{FIND_UP_STOP as o,F_OK as t,R_OK as a,W_OK as f,X_OK as s}from"./packem_shared/F_OK-CAwY1qU7.js";import{default as m}from"./packem_shared/ensureDir-CwcwvbZ0.js";import{default as p}from"./packem_shared/ensureDirSync-DsFhH5oQ.js";import{default as d}from"./packem_shared/ensureFile-DwcEQVDX.js";import{default as i}from"./packem_shared/ensureFileSync-KnrH51Ox.js";import{default as y}from"./packem_shared/ensureLink-5rjQGEBb.js";import{default as F}from"./packem_shared/ensureLinkSync-CYXpscf2.js";import{default as w}from"./packem_shared/ensureSymlink-BMLtwpf2.js";import{default as _}from"./packem_shared/ensureSymlinkSync-CyAnZg8r.js";import{CRLF as D,EOL as L,LF as J,detect as K,format as U}from"./eol.js";import{default as A}from"./packem_shared/collect-DO31RsLs.js";import{default as P}from"./packem_shared/collectSync-Cy7ULmjZ.js";import{default as E}from"./packem_shared/findUp-Di7Az07S.js";import{default as N}from"./packem_shared/findUpSync-iV97v14Q.js";import{default as W}from"./packem_shared/walk-ZrZngpc4.js";import{default as g}from"./packem_shared/walkSync-BQa4NKSG.js";import{default as j}from"./packem_shared/isAccessible-CDFxsAAo.js";import{default as z}from"./packem_shared/isAccessibleSync-5nzZWgin.js";import{move as G,moveSync as H,rename as M,renameSync as Q}from"./packem_shared/move-Bz4gSIjp.js";import{default as Y}from"./packem_shared/readFile-CbxFM_zp.js";import{default as $}from"./packem_shared/readFileSync-B9iv2Sb8.js";import{default as re}from"./packem_shared/readJson-BgC3msx-.js";import{default as te}from"./packem_shared/readJsonSync-DHO1vjAG.js";import{default as fe}from"./packem_shared/emptyDir-zBLHyPsJ.js";import{default as le}from"./packem_shared/emptyDirSync-DZ8nTo6g.js";import{default as ne}from"./packem_shared/remove-BUqZUj1W.js";import{default as ue}from"./packem_shared/removeSync-BbT4vmDi.js";import{default as xe}from"./packem_shared/writeFile-D5OYEMHu.js";import{default as ce}from"./packem_shared/writeFileSync-CO4ySqUn.js";import{default as Se}from"./packem_shared/writeJson-DfmgiY_s.js";import{default as ke}from"./packem_shared/writeJsonSync-Ck1pmmj_.js";import{isFsCaseSensitive as Oe}from"./packem_shared/isFsCaseSensitive-Drl8fHLV.js";export{D as CRLF,L as EOL,o as FIND_UP_STOP,t as F_OK,J as LF,a as R_OK,f as W_OK,s as X_OK,A as collect,P as collectSync,K as detect,fe as emptyDir,le as emptyDirSync,m as ensureDir,p as ensureDirSync,d as ensureFile,i as ensureFileSync,y as ensureLink,F as ensureLinkSync,w as ensureSymlink,_ as ensureSymlinkSync,E as findUp,N as findUpSync,U as format,j as isAccessible,z as isAccessibleSync,Oe as isFsCaseSensitive,G as move,H as moveSync,Y as readFile,$ as readFileSync,re as readJson,te as readJsonSync,ne as remove,ue as removeSync,M as rename,Q as renameSync,W as walk,g as walkSync,xe as writeFile,ce as writeFileSync,Se as writeJson,ke as writeJsonSync};
1
+ import{FIND_UP_STOP as o,F_OK as t,R_OK as a,W_OK as f,X_OK as s}from"./packem_shared/F_OK-CAwY1qU7.js";import{default as m}from"./packem_shared/ensureDir-CwcwvbZ0.js";import{default as p}from"./packem_shared/ensureDirSync-DsFhH5oQ.js";import{default as d}from"./packem_shared/ensureFile-DwcEQVDX.js";import{default as i}from"./packem_shared/ensureFileSync-KnrH51Ox.js";import{default as y}from"./packem_shared/ensureLink-5rjQGEBb.js";import{default as F}from"./packem_shared/ensureLinkSync-CYXpscf2.js";import{default as w}from"./packem_shared/ensureSymlink-GATTbE5c.js";import{default as _}from"./packem_shared/ensureSymlinkSync-CvXgTFrl.js";import{CRLF as D,EOL as L,LF as J,detect as K,format as U}from"./eol.js";import{default as A}from"./packem_shared/collect-DO31RsLs.js";import{default as P}from"./packem_shared/collectSync-Cy7ULmjZ.js";import{default as E}from"./packem_shared/findUp-Di7Az07S.js";import{default as N}from"./packem_shared/findUpSync-iV97v14Q.js";import{default as W}from"./packem_shared/walk-ZrZngpc4.js";import{default as g}from"./packem_shared/walkSync-BQa4NKSG.js";import{default as j}from"./packem_shared/isAccessible-CDFxsAAo.js";import{default as z}from"./packem_shared/isAccessibleSync-5nzZWgin.js";import{move as G,moveSync as H,rename as M,renameSync as Q}from"./packem_shared/move-Bz4gSIjp.js";import{default as Y}from"./packem_shared/readFile-CbxFM_zp.js";import{default as $}from"./packem_shared/readFileSync-B9iv2Sb8.js";import{default as re}from"./packem_shared/readJson-BgC3msx-.js";import{default as te}from"./packem_shared/readJsonSync-DHO1vjAG.js";import{default as fe}from"./packem_shared/emptyDir-zBLHyPsJ.js";import{default as le}from"./packem_shared/emptyDirSync-DZ8nTo6g.js";import{default as ne}from"./packem_shared/remove-BUqZUj1W.js";import{default as ue}from"./packem_shared/removeSync-BbT4vmDi.js";import{default as xe}from"./packem_shared/writeFile-D5OYEMHu.js";import{default as ce}from"./packem_shared/writeFileSync-CO4ySqUn.js";import{default as Se}from"./packem_shared/writeJson-DfmgiY_s.js";import{default as ke}from"./packem_shared/writeJsonSync-Ck1pmmj_.js";import{isFsCaseSensitive as Oe}from"./packem_shared/isFsCaseSensitive-Drl8fHLV.js";export{D as CRLF,L as EOL,o as FIND_UP_STOP,t as F_OK,J as LF,a as R_OK,f as W_OK,s as X_OK,A as collect,P as collectSync,K as detect,fe as emptyDir,le as emptyDirSync,m as ensureDir,p as ensureDirSync,d as ensureFile,i as ensureFileSync,y as ensureLink,F as ensureLinkSync,w as ensureSymlink,_ as ensureSymlinkSync,E as findUp,N as findUpSync,U as format,j as isAccessible,z as isAccessibleSync,Oe as isFsCaseSensitive,G as move,H as moveSync,Y as readFile,$ as readFileSync,re as readJson,te as readJsonSync,ne as remove,ue as removeSync,M as rename,Q as renameSync,W as walk,g as walkSync,xe as writeFile,ce as writeFileSync,Se as writeJson,ke as writeJsonSync};
@@ -1 +1 @@
1
- var v=Object.defineProperty;var c=(o,e)=>v(o,"name",{value:e,configurable:!0});import{createRequire as j}from"node:module";import{toNamespacedPath as f,dirname as T,resolve as x}from"@visulima/path";import{toPath as p}from"@visulima/path/utils";import d from"./AlreadyExistsError-CEu6_Tjb.js";import u from"./assertValidFileOrDirectoryPath-DgPIPmZT.js";import q from"./ensureDir-CwcwvbZ0.js";import{g as y}from"./get-file-info-type-CaWGXRjY.js";import{l as w}from"./is-stats-identical-CohsLtWy.js";import{o as E}from"./resolve-symlink-target-BofZSDIc.js";const P=j(import.meta.url),i=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,$=c(o=>{if(typeof i<"u"&&i.versions&&i.versions.node){const[e,t]=i.versions.node.split(".").map(Number);if(e>22||e===22&&t>=3||e===20&&t>=16)return i.getBuiltinModule(o)}return P(o)},"__cjs_getBuiltinModule"),{lstat:m,stat:n,symlink:k,readlink:S}=$("node:fs/promises");var L=Object.defineProperty,A=c((o,e)=>L(o,"name",{value:e,configurable:!0}),"f");const B=process.platform==="win32"||/^(?:msys|cygwin)$/.test(process.env.OSTYPE),D=A(async(o,e,t)=>{u(o),u(e);const r=E(o,e);e=f(p(e));try{if((await m(e)).isSymbolicLink()&&w(await n(r),await n(e))){const[s,a]=await Promise.all([n(r),n(e)]);if(w(s,a))return}}catch{}const g=await m(r),h=y(g);await q(T(e));const _=t??(B?"junction":h==="dir"?"dir":"file");try{await k(f(p(r)),e,_)}catch(s){if(s.code!=="EEXIST")throw s;const a=await m(e);if(!a.isSymbolicLink())throw new d(`A ${y(a)} already exists at the path: ${e}`);const b=await S(e),l=f(x(b));if(l!==r)throw new d(`A symlink targeting to an undesired path already exists: ${e} -> ${l}`)}},"ensureSymlink");export{D as default};
1
+ var v=Object.defineProperty;var c=(o,e)=>v(o,"name",{value:e,configurable:!0});import{createRequire as j}from"node:module";import{toNamespacedPath as f,dirname as T,resolve as x}from"@visulima/path";import{toPath as p}from"@visulima/path/utils";import d from"./assertValidFileOrDirectoryPath-DgPIPmZT.js";import q from"./ensureDir-CwcwvbZ0.js";import{g as u}from"./get-file-info-type-CaWGXRjY.js";import{l as y}from"./is-stats-identical-CohsLtWy.js";import{o as E}from"./resolve-symlink-target-BofZSDIc.js";import w from"./AlreadyExistsError-CEu6_Tjb.js";const P=j(import.meta.url),i=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,$=c(o=>{if(typeof i<"u"&&i.versions&&i.versions.node){const[e,t]=i.versions.node.split(".").map(Number);if(e>22||e===22&&t>=3||e===20&&t>=16)return i.getBuiltinModule(o)}return P(o)},"__cjs_getBuiltinModule"),{lstat:m,stat:n,symlink:k,readlink:S}=$("node:fs/promises");var L=Object.defineProperty,A=c((o,e)=>L(o,"name",{value:e,configurable:!0}),"f");const B=process.platform==="win32"||/^(?:msys|cygwin)$/.test(process.env.OSTYPE),D=A(async(o,e,t)=>{d(o),d(e);const r=E(o,e);e=f(p(e));try{if((await m(e)).isSymbolicLink()&&y(await n(r),await n(e))){const[s,a]=await Promise.all([n(r),n(e)]);if(y(s,a))return}}catch{}const g=await m(r),h=u(g);await q(T(e));const _=t??(B?"junction":h==="dir"?"dir":"file");try{await k(f(p(r)),e,_)}catch(s){if(s.code!=="EEXIST")throw s;const a=await m(e);if(!a.isSymbolicLink())throw new w(`A ${u(a)} already exists at the path: ${e}`);const b=await S(e),l=f(x(b));if(l!==r)throw new w(`A symlink targeting to an undesired path already exists: ${e} -> ${l}`)}},"ensureSymlink");export{D as default};
@@ -1 +1 @@
1
- var v=Object.defineProperty;var a=(o,e)=>v(o,"name",{value:e,configurable:!0});import{createRequire as w}from"node:module";import{toNamespacedPath as f,dirname as $,resolve as x}from"@visulima/path";import{toPath as p}from"@visulima/path/utils";import d from"./AlreadyExistsError-CEu6_Tjb.js";import u from"./assertValidFileOrDirectoryPath-DgPIPmZT.js";import q from"./ensureDirSync-DsFhH5oQ.js";import{g as y}from"./get-file-info-type-CaWGXRjY.js";import{l as g}from"./is-stats-identical-CohsLtWy.js";import{o as E}from"./resolve-symlink-target-BofZSDIc.js";const j=w(import.meta.url),s=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,k=a(o=>{if(typeof s<"u"&&s.versions&&s.versions.node){const[e,i]=s.versions.node.split(".").map(Number);if(e>22||e===22&&i>=3||e===20&&i>=16)return s.getBuiltinModule(o)}return j(o)},"__cjs_getBuiltinModule"),{lstatSync:m,statSync:c,symlinkSync:P,readlinkSync:T}=k("node:fs");var L=Object.defineProperty,A=a((o,e)=>L(o,"name",{value:e,configurable:!0}),"f");const B=process.platform==="win32"||/^(?:msys|cygwin)$/.test(process.env.OSTYPE),D=A((o,e,i)=>{u(o),u(e);const r=E(o,e);e=f(p(e));try{if(m(e).isSymbolicLink()&&g(c(r),c(e))){const n=c(r),t=c(e);if(g(n,t))return}}catch{}const h=m(r),_=y(h);q($(e));const S=i??(B?"junction":_==="dir"?"dir":"file");try{P(f(p(r)),e,S)}catch(n){if(n.code!=="EEXIST")throw n;const t=m(e);if(!t.isSymbolicLink())throw new d(`A ${y(t)} already exists at the path: ${e}`);const b=T(e),l=f(x(b));if(l!==r)throw new d(`A symlink targeting to an undesired path already exists: ${e} -> ${l}`)}},"ensureSymlinkSync");export{D as default};
1
+ var v=Object.defineProperty;var a=(o,e)=>v(o,"name",{value:e,configurable:!0});import{createRequire as w}from"node:module";import{toNamespacedPath as f,dirname as $,resolve as x}from"@visulima/path";import{toPath as p}from"@visulima/path/utils";import d from"./assertValidFileOrDirectoryPath-DgPIPmZT.js";import q from"./ensureDirSync-DsFhH5oQ.js";import{g as u}from"./get-file-info-type-CaWGXRjY.js";import{l as y}from"./is-stats-identical-CohsLtWy.js";import{o as E}from"./resolve-symlink-target-BofZSDIc.js";import g from"./AlreadyExistsError-CEu6_Tjb.js";const j=w(import.meta.url),s=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,k=a(o=>{if(typeof s<"u"&&s.versions&&s.versions.node){const[e,i]=s.versions.node.split(".").map(Number);if(e>22||e===22&&i>=3||e===20&&i>=16)return s.getBuiltinModule(o)}return j(o)},"__cjs_getBuiltinModule"),{lstatSync:m,statSync:c,symlinkSync:P,readlinkSync:T}=k("node:fs");var L=Object.defineProperty,A=a((o,e)=>L(o,"name",{value:e,configurable:!0}),"f");const B=process.platform==="win32"||/^(?:msys|cygwin)$/.test(process.env.OSTYPE),D=A((o,e,i)=>{d(o),d(e);const r=E(o,e);e=f(p(e));try{if(m(e).isSymbolicLink()&&y(c(r),c(e))){const n=c(r),t=c(e);if(y(n,t))return}}catch{}const h=m(r),_=u(h);q($(e));const S=i??(B?"junction":_==="dir"?"dir":"file");try{P(f(p(r)),e,S)}catch(n){if(n.code!=="EEXIST")throw n;const t=m(e);if(!t.isSymbolicLink())throw new g(`A ${u(t)} already exists at the path: ${e}`);const b=T(e),l=f(x(b));if(l!==r)throw new g(`A symlink targeting to an undesired path already exists: ${e} -> ${l}`)}},"ensureSymlinkSync");export{D as default};
@@ -0,0 +1 @@
1
+ var p=Object.defineProperty;var o=(r,e)=>p(r,"name",{value:e,configurable:!0});import{parse as n}from"yaml";import s from"./readFile-CbxFM_zp.js";var l=Object.defineProperty,d=o((r,e)=>l(r,"name",{value:e,configurable:!0}),"e");async function g(r,e,t){const{buffer:i,compression:c,encoding:u="utf8",flag:m,...a}=t??{},f=await s(r,{buffer:i,compression:c,encoding:u,flag:m});return typeof e=="function"?n(f,e,a):n(f,a)}o(g,"d");d(g,"readYaml");export{g as default};
@@ -0,0 +1 @@
1
+ var p=Object.defineProperty;var o=(r,e)=>p(r,"name",{value:e,configurable:!0});import{parse as t}from"yaml";import s from"./readFileSync-B9iv2Sb8.js";var l=Object.defineProperty,d=o((r,e)=>l(r,"name",{value:e,configurable:!0}),"i");function g(r,e,a){const{buffer:i,compression:c,encoding:u="utf8",flag:m,...f}=a??{},n=s(r,{buffer:i,compression:c,encoding:u,flag:m});return typeof e=="function"?t(n,e,f):t(n,f)}o(g,"d");d(g,"readYamlSync");export{g as default};
@@ -0,0 +1 @@
1
+ var p=Object.defineProperty;var f=(a,t)=>p(a,"name",{value:t,configurable:!0});import{stringify as l}from"yaml";import y from"./writeFile-D5OYEMHu.js";var u=Object.defineProperty,m=f((a,t)=>u(a,"name",{value:t,configurable:!0}),"l");async function s(a,t,r,o){let e,n,i;typeof r=="object"&&r!==null&&!Array.isArray(r)&&typeof r!="function"?(e=r,n=e.replacer,i=e.space):typeof o=="object"&&o!==null?(e=o,n=r,i=e.space??(typeof o=="number"||typeof o=="string"?o:void 0)):(n=r,i=o);const c=l(t,n,i??e);await y(a,c,e)}f(s,"c");m(s,"writeYaml");export{s as default};
@@ -0,0 +1 @@
1
+ var p=Object.defineProperty;var i=(n,t)=>p(n,"name",{value:t,configurable:!0});import{stringify as l}from"yaml";import y from"./writeFileSync-CO4ySqUn.js";var u=Object.defineProperty,m=i((n,t)=>u(n,"name",{value:t,configurable:!0}),"s");function s(n,t,r,o){let e,a,f;typeof r=="object"&&r!==null&&!Array.isArray(r)&&typeof r!="function"?(e=r,a=e.replacer,f=e.space):typeof o=="object"&&o!==null?(e=o,a=r,f=e.space??(typeof o=="number"||typeof o=="string"?o:void 0)):(a=r,f=o);const c=l(t,a,f??e);y(n,c,e)}i(s,"c");m(s,"writeYamlSync");export{s as default};
package/dist/yaml.js CHANGED
@@ -1 +1 @@
1
- import{default as r}from"./packem_shared/readYaml-C8QlsEFe.js";import{default as f}from"./packem_shared/readYamlSync-BIuoBHUt.js";import{default as m}from"./packem_shared/writeYaml-a_cglLPV.js";import{default as d}from"./packem_shared/writeYamlSync-vSQIN6OR.js";export{r as readYaml,f as readYamlSync,m as writeYaml,d as writeYamlSync};
1
+ import{default as r}from"./packem_shared/readYaml-D5mtfANg.js";import{default as f}from"./packem_shared/readYamlSync-D0igCVDE.js";import{default as m}from"./packem_shared/writeYaml-BJeyUpyY.js";import{default as d}from"./packem_shared/writeYamlSync-D87XCS7Y.js";export{r as readYaml,f as readYamlSync,m as writeYaml,d as writeYamlSync};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visulima/fs",
3
- "version": "4.0.1",
3
+ "version": "4.0.3",
4
4
  "description": "Human friendly file system utilities for Node.js",
5
5
  "keywords": [
6
6
  "anolilab",
@@ -113,8 +113,8 @@
113
113
  "LICENSE.md"
114
114
  ],
115
115
  "dependencies": {
116
- "@visulima/path": "2.0.0",
117
- "type-fest": "^5.1.0"
116
+ "@visulima/path": "2.0.2",
117
+ "type-fest": "^5.2.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 <=24.x"
128
+ "node": ">=20.19 <=25.x"
129
129
  },
130
130
  "os": [
131
131
  "darwin",
@@ -1 +0,0 @@
1
- var l=Object.defineProperty;var r=(o,e)=>l(o,"name",{value:e,configurable:!0});import{createRequire as p}from"node:module";import m from"./readFile-CbxFM_zp.js";const d=p(import.meta.url),v=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process;const{parse:t}=d("yaml");var _=Object.defineProperty,g=r((o,e)=>_(o,"name",{value:e,configurable:!0}),"e");async function b(o,e,i){const{buffer:a,compression:c,encoding:f="utf8",flag:u,...s}=i??{},n=await m(o,{buffer:a,compression:c,encoding:f,flag:u});return typeof e=="function"?t(n,e,s):t(n,s)}r(b,"d");g(b,"readYaml");export{b as default};
@@ -1 +0,0 @@
1
- var l=Object.defineProperty;var r=(o,e)=>l(o,"name",{value:e,configurable:!0});import{createRequire as p}from"node:module";import m from"./readFileSync-B9iv2Sb8.js";const d=p(import.meta.url),v=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process;const{parse:t}=d("yaml");var g=Object.defineProperty,_=r((o,e)=>g(o,"name",{value:e,configurable:!0}),"i");function b(o,e,i){const{buffer:c,compression:f,encoding:u="utf8",flag:a,...n}=i??{},s=m(o,{buffer:c,compression:f,encoding:u,flag:a});return typeof e=="function"?t(s,e,n):t(s,n)}r(b,"d");_(b,"readYamlSync");export{b as default};
@@ -1 +0,0 @@
1
- var l=Object.defineProperty;var a=(n,s)=>l(n,"name",{value:s,configurable:!0});import{createRequire as u}from"node:module";import m from"./writeFile-D5OYEMHu.js";const f=u(import.meta.url),j=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process;const{stringify:p}=f("yaml");var y=Object.defineProperty,d=a((n,s)=>y(n,"name",{value:s,configurable:!0}),"l");async function _(n,s,e,o){let r,t,i;typeof e=="object"&&e!==null&&!Array.isArray(e)&&typeof e!="function"?(r=e,t=r.replacer,i=r.space):typeof o=="object"&&o!==null?(r=o,t=e,i=r.space??(typeof o=="number"||typeof o=="string"?o:void 0)):(t=e,i=o);const c=p(s,t,i??r);await m(n,c,r)}a(_,"c");d(_,"writeYaml");export{_ as default};
@@ -1 +0,0 @@
1
- var l=Object.defineProperty;var c=(n,s)=>l(n,"name",{value:s,configurable:!0});import{createRequire as u}from"node:module";import m from"./writeFileSync-CO4ySqUn.js";const f=u(import.meta.url),j=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process;const{stringify:p}=f("yaml");var y=Object.defineProperty,d=c((n,s)=>y(n,"name",{value:s,configurable:!0}),"s");function _(n,s,e,o){let r,t,i;typeof e=="object"&&e!==null&&!Array.isArray(e)&&typeof e!="function"?(r=e,t=r.replacer,i=r.space):typeof o=="object"&&o!==null?(r=o,t=e,i=r.space??(typeof o=="number"||typeof o=="string"?o:void 0)):(t=e,i=o);const a=p(s,t,i??r);m(n,a,r)}c(_,"c");d(_,"writeYamlSync");export{_ as default};