@visulima/fs 5.0.0-alpha.23 → 5.0.0-alpha.25
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 +14 -0
- package/dist/glob.d.ts +2 -2
- package/dist/index.d.ts +3 -3
- package/dist/ini.d.ts +2 -2
- package/dist/json5.d.ts +2 -2
- package/dist/jsonc.d.ts +2 -2
- package/dist/packem_shared/{glob-sync.d-tgfVsBT1.d.ts → glob-sync.d-B1qc6GUi.d.ts} +1 -1
- package/dist/packem_shared/{types.d-DBsXQloX.d.ts → types.d-CXTDvktU.d.ts} +26 -26
- package/dist/toml.d.ts +1 -1
- package/dist/utils.d.ts +1 -1
- package/dist/yaml.d.ts +2 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## @visulima/fs [5.0.0-alpha.25](https://github.com/visulima/visulima/compare/@visulima/fs@5.0.0-alpha.24...@visulima/fs@5.0.0-alpha.25) (2026-05-20)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Dependencies
|
|
5
|
+
|
|
6
|
+
* **@visulima/error:** upgraded to 6.0.0-alpha.27
|
|
7
|
+
|
|
8
|
+
## @visulima/fs [5.0.0-alpha.24](https://github.com/visulima/visulima/compare/@visulima/fs@5.0.0-alpha.23...@visulima/fs@5.0.0-alpha.24) (2026-05-19)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* **@visulima/error:** upgraded to 6.0.0-alpha.26
|
|
14
|
+
|
|
1
15
|
## @visulima/fs [5.0.0-alpha.23](https://github.com/visulima/visulima/compare/@visulima/fs@5.0.0-alpha.22...@visulima/fs@5.0.0-alpha.23) (2026-05-16)
|
|
2
16
|
|
|
3
17
|
|
package/dist/glob.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { g as glob, a as globSync } from "./packem_shared/glob-sync.d-
|
|
2
|
-
export { type G as GlobOptions } from "./packem_shared/types.d-
|
|
1
|
+
export { g as glob, a as globSync } from "./packem_shared/glob-sync.d-B1qc6GUi.js";
|
|
2
|
+
export { type G as GlobOptions } from "./packem_shared/types.d-CXTDvktU.js";
|
|
3
3
|
import 'node:fs';
|
|
4
4
|
import 'tinyglobby';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { q as WalkOptions, F as FindUpName, r as FindUpOptions, s as FindUpNameSync, t as WalkEntry, u as ReadFileOptions, v as ContentType, w as ReadJsonOptions, J as JsonReviver, x as RetryOptions, y as WriteFileOptions, z as WriteJsonOptions } from "./packem_shared/types.d-
|
|
2
|
-
export { type A as CodeFrameLocation, type C as CodeFrameOptions, B as FIND_UP_STOP, D as F_OK, type E as FindUpNameFnResult, type H as FindUpNameSyncFnResult, type G as GlobOptions, type b as JsonReplacer, K as R_OK, type L as ReadFileEncoding, M as W_OK, X as X_OK } from "./packem_shared/types.d-
|
|
1
|
+
import { q as WalkOptions, F as FindUpName, r as FindUpOptions, s as FindUpNameSync, t as WalkEntry, u as ReadFileOptions, v as ContentType, w as ReadJsonOptions, J as JsonReviver, x as RetryOptions, y as WriteFileOptions, z as WriteJsonOptions } from "./packem_shared/types.d-CXTDvktU.js";
|
|
2
|
+
export { type A as CodeFrameLocation, type C as CodeFrameOptions, B as FIND_UP_STOP, D as F_OK, type E as FindUpNameFnResult, type H as FindUpNameSyncFnResult, type G as GlobOptions, type b as JsonReplacer, K as R_OK, type L as ReadFileEncoding, M as W_OK, X as X_OK } from "./packem_shared/types.d-CXTDvktU.js";
|
|
3
3
|
import { symlink } from 'node:fs';
|
|
4
4
|
export { CRLF, EOL, LF, detect, format } from "./eol.js";
|
|
5
|
-
export { g as glob, a as globSync } from "./packem_shared/glob-sync.d-
|
|
5
|
+
export { g as glob, a as globSync } from "./packem_shared/glob-sync.d-B1qc6GUi.js";
|
|
6
6
|
export { type GlobParentOptions, default as globParent } from "./glob-parent.js";
|
|
7
7
|
export { type IsGlobOptions, default as isGlob } from "./is-glob.js";
|
|
8
8
|
export { type MatchOptions, match, matcher } from "./match.js";
|
package/dist/ini.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as CompressionType,
|
|
2
|
-
export { type I as IniEncodeOptions, type
|
|
1
|
+
import { a as CompressionType, h as ReadIniOptions, i as WriteIniOptions } from "./packem_shared/types.d-CXTDvktU.js";
|
|
2
|
+
export { type I as IniEncodeOptions, type j as IniLineEnding } from "./packem_shared/types.d-CXTDvktU.js";
|
|
3
3
|
import 'node:fs';
|
|
4
4
|
import 'tinyglobby';
|
|
5
5
|
/**
|
package/dist/json5.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as CompressionType,
|
|
2
|
-
export { type
|
|
1
|
+
import { a as CompressionType, d as ReadJson5Options, e as Json5Reviver, f as WriteJson5Options } from "./packem_shared/types.d-CXTDvktU.js";
|
|
2
|
+
export { type g as Json5Replacer } from "./packem_shared/types.d-CXTDvktU.js";
|
|
3
3
|
import 'node:fs';
|
|
4
4
|
import 'tinyglobby';
|
|
5
5
|
declare function readJson5<R = unknown>(path: URL | string, options?: ReadJson5Options<CompressionType>): Promise<R>;
|
package/dist/jsonc.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as CompressionType,
|
|
2
|
-
export { type
|
|
1
|
+
import { a as CompressionType, k as ReadJsoncOptions, l as WriteJsoncOptions } from "./packem_shared/types.d-CXTDvktU.js";
|
|
2
|
+
export { type m as JsoncFormattingOptions, type n as JsoncParseOptions } from "./packem_shared/types.d-CXTDvktU.js";
|
|
3
3
|
import 'node:fs';
|
|
4
4
|
import 'tinyglobby';
|
|
5
5
|
/**
|
|
@@ -1,30 +1,5 @@
|
|
|
1
1
|
import { PathLike, Dirent } from 'node:fs';
|
|
2
2
|
import { GlobOptions as GlobOptions$1 } from 'tinyglobby';
|
|
3
|
-
/**
|
|
4
|
-
* Constant to check if the path is visible to the calling process.
|
|
5
|
-
* Corresponds to `node:fs.constants.F_OK`.
|
|
6
|
-
*/
|
|
7
|
-
declare const F_OK: number;
|
|
8
|
-
/**
|
|
9
|
-
* Constant to check if the path is readable to the calling process.
|
|
10
|
-
* Corresponds to `node:fs.constants.R_OK`.
|
|
11
|
-
*/
|
|
12
|
-
declare const R_OK: number;
|
|
13
|
-
/**
|
|
14
|
-
* Constant to check if the path is writable to the calling process.
|
|
15
|
-
* Corresponds to `node:fs.constants.W_OK`.
|
|
16
|
-
*/
|
|
17
|
-
declare const W_OK: number;
|
|
18
|
-
/**
|
|
19
|
-
* Constant to check if the path is executable by the calling process.
|
|
20
|
-
* Corresponds to `node:fs.constants.X_OK`.
|
|
21
|
-
*/
|
|
22
|
-
declare const X_OK: number;
|
|
23
|
-
/**
|
|
24
|
-
* A special symbol that can be returned by the matcher function in `findUp` or `findUpSync`
|
|
25
|
-
* to stop the search process prematurely.
|
|
26
|
-
*/
|
|
27
|
-
declare const FIND_UP_STOP: symbol;
|
|
28
3
|
/**
|
|
29
4
|
* Tracks newlines during parsing in order to provide an efficient API for
|
|
30
5
|
* determining the one-indexed `{ line, col }` position for any offset
|
|
@@ -1138,6 +1113,31 @@ declare class Directives {
|
|
|
1138
1113
|
tagString(tag: string): string;
|
|
1139
1114
|
toString(doc?: Document): string;
|
|
1140
1115
|
}
|
|
1116
|
+
/**
|
|
1117
|
+
* Constant to check if the path is visible to the calling process.
|
|
1118
|
+
* Corresponds to `node:fs.constants.F_OK`.
|
|
1119
|
+
*/
|
|
1120
|
+
declare const F_OK: number;
|
|
1121
|
+
/**
|
|
1122
|
+
* Constant to check if the path is readable to the calling process.
|
|
1123
|
+
* Corresponds to `node:fs.constants.R_OK`.
|
|
1124
|
+
*/
|
|
1125
|
+
declare const R_OK: number;
|
|
1126
|
+
/**
|
|
1127
|
+
* Constant to check if the path is writable to the calling process.
|
|
1128
|
+
* Corresponds to `node:fs.constants.W_OK`.
|
|
1129
|
+
*/
|
|
1130
|
+
declare const W_OK: number;
|
|
1131
|
+
/**
|
|
1132
|
+
* Constant to check if the path is executable by the calling process.
|
|
1133
|
+
* Corresponds to `node:fs.constants.X_OK`.
|
|
1134
|
+
*/
|
|
1135
|
+
declare const X_OK: number;
|
|
1136
|
+
/**
|
|
1137
|
+
* A special symbol that can be returned by the matcher function in `findUp` or `findUpSync`
|
|
1138
|
+
* to stop the search process prematurely.
|
|
1139
|
+
*/
|
|
1140
|
+
declare const FIND_UP_STOP: symbol;
|
|
1141
1141
|
type ColorizeMethod = (value: string) => string;
|
|
1142
1142
|
/**
|
|
1143
1143
|
* Options accepted by `jsonc-parser`'s `parse` function.
|
|
@@ -1657,4 +1657,4 @@ type WriteIniExtras = {
|
|
|
1657
1657
|
* whitespace and inline `;` / `#` comments) for unchanged values.
|
|
1658
1658
|
*/
|
|
1659
1659
|
type WriteIniOptions = IniEncodeOptions & WriteFileOptions & WriteIniExtras;
|
|
1660
|
-
export { CodeFrameLocation as A, FIND_UP_STOP as B, CodeFrameOptions as C, F_OK as D, FindUpNameFnResult as E, FindUpName as F, GlobOptions as G, FindUpNameSyncFnResult as H, IniEncodeOptions as I, JsonReviver as J, R_OK as K, ReadFileEncoding as L, W_OK as M, ReadYamlOptions as R, WriteYamlOptions as W, X_OK as X, YamlReviver as Y, CompressionType as a, JsonReplacer as b, YamlReplacer as c,
|
|
1660
|
+
export { CodeFrameLocation as A, FIND_UP_STOP as B, CodeFrameOptions as C, F_OK as D, FindUpNameFnResult as E, FindUpName as F, GlobOptions as G, FindUpNameSyncFnResult as H, IniEncodeOptions as I, JsonReviver as J, R_OK as K, ReadFileEncoding as L, W_OK as M, ReadYamlOptions as R, WriteYamlOptions as W, X_OK as X, YamlReviver as Y, CompressionType as a, JsonReplacer as b, YamlReplacer as c, ReadJson5Options as d, Json5Reviver as e, WriteJson5Options as f, Json5Replacer as g, ReadIniOptions as h, WriteIniOptions as i, IniLineEnding as j, ReadJsoncOptions as k, WriteJsoncOptions as l, JsoncFormattingOptions as m, JsoncParseOptions as n, ReadTomlOptions as o, WriteTomlOptions as p, WalkOptions as q, FindUpOptions as r, FindUpNameSync as s, WalkEntry as t, ReadFileOptions as u, ContentType as v, ReadJsonOptions as w, RetryOptions as x, WriteFileOptions as y, WriteJsonOptions as z };
|
package/dist/toml.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as CompressionType,
|
|
1
|
+
import { a as CompressionType, o as ReadTomlOptions, p as WriteTomlOptions } from "./packem_shared/types.d-CXTDvktU.js";
|
|
2
2
|
import 'node:fs';
|
|
3
3
|
import 'tinyglobby';
|
|
4
4
|
/**
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { J as JSONError } from "./packem_shared/json-error.d-DVILOyHc.js";
|
|
2
2
|
import { JsonValue } from 'type-fest';
|
|
3
|
-
import { C as CodeFrameOptions, J as JsonReviver } from "./packem_shared/types.d-
|
|
3
|
+
import { C as CodeFrameOptions, J as JsonReviver } from "./packem_shared/types.d-CXTDvktU.js";
|
|
4
4
|
export { toPath } from '@visulima/path/utils';
|
|
5
5
|
import 'node:fs';
|
|
6
6
|
import 'tinyglobby';
|
package/dist/yaml.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as CompressionType, R as ReadYamlOptions, Y as YamlReviver, W as WriteYamlOptions, b as JsonReplacer } from "./packem_shared/types.d-
|
|
2
|
-
export { type c as YamlReplacer } from "./packem_shared/types.d-
|
|
1
|
+
import { a as CompressionType, R as ReadYamlOptions, Y as YamlReviver, W as WriteYamlOptions, b as JsonReplacer } from "./packem_shared/types.d-CXTDvktU.js";
|
|
2
|
+
export { type c as YamlReplacer } from "./packem_shared/types.d-CXTDvktU.js";
|
|
3
3
|
import 'node:fs';
|
|
4
4
|
import 'tinyglobby';
|
|
5
5
|
declare function readYaml<R = Record<string, unknown>>(path: URL | string, options?: ReadYamlOptions<CompressionType>): Promise<R>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@visulima/fs",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.25",
|
|
4
4
|
"description": "Human friendly file system utilities for Node.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"anolilab",
|
|
@@ -163,11 +163,11 @@
|
|
|
163
163
|
"@visulima/path": "3.0.0-alpha.10"
|
|
164
164
|
},
|
|
165
165
|
"peerDependencies": {
|
|
166
|
-
"ini": "^
|
|
166
|
+
"ini": "^7.0.0",
|
|
167
167
|
"json5": "^2.2.3",
|
|
168
168
|
"jsonc-parser": "^3.3.1",
|
|
169
169
|
"smol-toml": "^1.6.1",
|
|
170
|
-
"yaml": "2.
|
|
170
|
+
"yaml": "2.9.0"
|
|
171
171
|
},
|
|
172
172
|
"peerDependenciesMeta": {
|
|
173
173
|
"ini": {
|