@visulima/fs 4.0.4 → 4.0.5

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 (89) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/LICENSE.md +3 -0
  3. package/dist/constants.d.ts +42 -0
  4. package/dist/ensure/ensure-dir-sync.d.ts +14 -0
  5. package/dist/ensure/ensure-dir.d.ts +14 -0
  6. package/dist/ensure/ensure-file-sync.d.ts +15 -0
  7. package/dist/ensure/ensure-file.d.ts +27 -0
  8. package/dist/ensure/ensure-link-sync.d.ts +16 -0
  9. package/dist/ensure/ensure-link.d.ts +16 -0
  10. package/dist/ensure/ensure-symlink-sync.d.ts +23 -0
  11. package/dist/ensure/ensure-symlink.d.ts +23 -0
  12. package/dist/ensure/utils/get-file-info-type.d.ts +7 -0
  13. package/dist/ensure/utils/is-stats-identical.d.ts +3 -0
  14. package/dist/ensure/utils/resolve-symlink-target.d.ts +2 -0
  15. package/dist/eol.d.ts +35 -7
  16. package/dist/error/already-exists-error.d.ts +39 -0
  17. package/dist/error/directory-error.d.ts +47 -0
  18. package/dist/error/json-error.d.ts +52 -0
  19. package/dist/error/not-empty-error.d.ts +51 -0
  20. package/dist/error/not-found-error.d.ts +44 -0
  21. package/dist/error/permission-error.d.ts +45 -0
  22. package/dist/error/walk-error.d.ts +51 -0
  23. package/dist/error.d.ts +7 -50
  24. package/dist/find/collect-sync.d.ts +31 -0
  25. package/dist/find/collect.d.ts +35 -0
  26. package/dist/find/find-up-sync.d.ts +42 -0
  27. package/dist/find/find-up.d.ts +46 -0
  28. package/dist/find/utils/glob-to-regex.d.ts +2 -0
  29. package/dist/find/utils/walk-include.d.ts +2 -0
  30. package/dist/find/walk-sync.d.ts +26 -0
  31. package/dist/find/walk.d.ts +29 -0
  32. package/dist/index.d.ts +34 -136
  33. package/dist/index.js +14 -14
  34. package/dist/is-accessible-sync.d.ts +3 -0
  35. package/dist/is-accessible.d.ts +29 -0
  36. package/dist/move/index.d.ts +70 -0
  37. package/dist/move/types.d.ts +38 -0
  38. package/dist/move/utils/internal-move-file-sync.d.ts +3 -0
  39. package/dist/move/utils/internal-move-file.d.ts +3 -0
  40. package/dist/move/utils/validate-same-directory.d.ts +2 -0
  41. package/dist/packem_shared/{F_OK-MldBaGxb.js → F_OK-BalxCn9n.js} +1 -1
  42. package/dist/packem_shared/{findUp-BSnyGqer.js → findUp-Lv9mZCIQ.js} +1 -1
  43. package/dist/packem_shared/{findUpSync-jRHbSCMV.js → findUpSync-BsK4Nrrq.js} +1 -1
  44. package/dist/packem_shared/{isAccessible-DuVrTNFV.js → isAccessible-iOp0Bou6.js} +1 -1
  45. package/dist/packem_shared/{isAccessibleSync-DI8mM0fA.js → isAccessibleSync-38BmiIcx.js} +1 -1
  46. package/dist/packem_shared/{move-DbpW5_vA.js → move-BD6JbYSu.js} +2 -2
  47. package/dist/packem_shared/{readFile-iHOVXeH-.js → readFile-XVOjAw8r.js} +11 -14
  48. package/dist/packem_shared/{readFileSync-BkEj9BQY.js → readFileSync-B9Zg5PSF.js} +2 -2
  49. package/dist/packem_shared/{readJson-pdfQBWDR.js → readJson-Dra2m6s-.js} +1 -1
  50. package/dist/packem_shared/{readJsonSync-BZqGcA5d.js → readJsonSync-B6Dl1I_6.js} +1 -1
  51. package/dist/packem_shared/{readYaml-BQXTlR2p.js → readYaml-Bu1nsexB.js} +1 -1
  52. package/dist/packem_shared/{readYamlSync-BBBQ5ujx.js → readYamlSync-Di88aMME.js} +1 -1
  53. package/dist/packem_shared/{stripJsonComments-vo4k0mpF.js → stripJsonComments-21XWVDwP.js} +1 -1
  54. package/dist/packem_shared/{writeFile-DSHERs0Z.js → writeFile-NT1fLEEe.js} +2 -2
  55. package/dist/packem_shared/{writeFileSync-CJp1kXQR.js → writeFileSync-Bj5UDSf0.js} +2 -2
  56. package/dist/packem_shared/{writeJson-C0OfLDbe.js → writeJson-DQLdAi0d.js} +3 -3
  57. package/dist/packem_shared/{writeJsonSync-Cs21FE7v.js → writeJsonSync-DvTCjVUi.js} +3 -3
  58. package/dist/packem_shared/{writeYaml-n4xzYN9a.js → writeYaml-BMY0kOPf.js} +1 -1
  59. package/dist/packem_shared/{writeYamlSync-DnOEnP10.js → writeYamlSync-DqPu8cCd.js} +1 -1
  60. package/dist/read/read-file-sync.d.ts +37 -0
  61. package/dist/read/read-file.d.ts +41 -0
  62. package/dist/read/read-json-sync.d.ts +5 -0
  63. package/dist/read/read-json.d.ts +5 -0
  64. package/dist/read/read-yaml-sync.d.ts +4 -0
  65. package/dist/read/read-yaml.d.ts +4 -0
  66. package/dist/remove/empty-dir-sync.d.ts +24 -0
  67. package/dist/remove/empty-dir.d.ts +28 -0
  68. package/dist/remove/remove-sync.d.ts +28 -0
  69. package/dist/remove/remove.d.ts +32 -0
  70. package/dist/size.d.ts +245 -12
  71. package/dist/types.d.ts +299 -0
  72. package/dist/utils/assert-valid-file-contents.d.ts +27 -0
  73. package/dist/utils/assert-valid-file-or-directory-path.d.ts +26 -0
  74. package/dist/utils/parse-json.d.ts +5 -0
  75. package/dist/utils/strip-json-comments.d.ts +44 -0
  76. package/dist/utils.d.ts +6 -19
  77. package/dist/utils.js +1 -1
  78. package/dist/write/utils/to-uint-8-array.d.ts +2 -0
  79. package/dist/write/write-file-sync.d.ts +30 -0
  80. package/dist/write/write-file.d.ts +30 -0
  81. package/dist/write/write-json-sync.d.ts +30 -0
  82. package/dist/write/write-json.d.ts +30 -0
  83. package/dist/write/write-yaml-sync.d.ts +4 -0
  84. package/dist/write/write-yaml.d.ts +4 -0
  85. package/dist/yaml.d.ts +5 -17
  86. package/dist/yaml.js +4 -4
  87. package/package.json +2 -3
  88. package/dist/packem_shared/json-error-ZPgZIXcg.d.ts +0 -11
  89. package/dist/packem_shared/types-T308NKwz.d.ts +0 -90
package/dist/utils.d.ts CHANGED
@@ -1,19 +1,6 @@
1
- export { J as JSONError } from './packem_shared/json-error-ZPgZIXcg.js';
2
- import { JsonValue } from 'type-fest';
3
- import { m as CodeFrameOptions, J as JsonReviver } from './packem_shared/types-T308NKwz.js';
4
- export { toPath } from '@visulima/path/utils';
5
- import 'node:fs';
6
- import 'yaml';
7
-
8
- declare const assertValidFileContents: (contents: any) => void;
9
-
10
- declare const assertValidFileOrDirectoryPath: (fileOrDirectoryPath: any) => void;
11
-
12
- declare function parseJson<T = JsonValue>(string: string, filename?: string, options?: CodeFrameOptions): T;
13
- declare function parseJson<T = JsonValue>(string: string, reviver: JsonReviver, fileName?: string, options?: CodeFrameOptions): T;
14
-
15
- declare const stripJsonComments: (jsonString: string, { whitespace }?: {
16
- whitespace?: boolean | undefined;
17
- }) => string;
18
-
19
- export { assertValidFileContents, assertValidFileOrDirectoryPath, parseJson, stripJsonComments };
1
+ export { default as JSONError } from "./error/json-error.d.ts";
2
+ export { default as assertValidFileContents } from "./utils/assert-valid-file-contents.d.ts";
3
+ export { default as assertValidFileOrDirectoryPath } from "./utils/assert-valid-file-or-directory-path.d.ts";
4
+ export { default as parseJson } from "./utils/parse-json.d.ts";
5
+ export { default as stripJsonComments } from "./utils/strip-json-comments.d.ts";
6
+ export { toPath } from "@visulima/path/utils";
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-CqUuRguZ.js';
5
- export { default as stripJsonComments } from './packem_shared/stripJsonComments-vo4k0mpF.js';
5
+ export { default as stripJsonComments } from './packem_shared/stripJsonComments-21XWVDwP.js';
6
6
  export { toPath } from '@visulima/path/utils';
@@ -0,0 +1,2 @@
1
+ declare const toUint8Array: (contents: any) => Uint8Array;
2
+ export default toUint8Array;
@@ -0,0 +1,30 @@
1
+ import type { WriteFileOptions } from "../types.d.ts";
2
+ /**
3
+ * Synchronously writes data to a file, replacing the file if it already exists.
4
+ * This function includes safeguards like writing to a temporary file first and then renaming, and handling permissions.
5
+ * @param path The path to the file to write. Can be a file URL or a string path.
6
+ * @param content The data to write. Can be a string, Buffer, ArrayBuffer, or ArrayBufferView.
7
+ * @param options Optional configuration for writing the file. See {@link WriteFileOptions}.
8
+ * @returns void
9
+ * @example
10
+ * ```javascript
11
+ * import { writeFileSync } from "@visulima/fs";
12
+ * import { join } from "node:path";
13
+ *
14
+ * const writeMyFileSync = () => {
15
+ * try {
16
+ * writeFileSync(join("/tmp", "my-new-file-sync.txt"), "Hello World Synchronously!");
17
+ * console.log("File written successfully (sync).");
18
+ *
19
+ * writeFileSync(join("/tmp", "another-file-sync.txt"), "Some other sync content", { encoding: 'utf16le', mode: 0o600 });
20
+ * console.log("Another file written with specific options (sync).");
21
+ * } catch (error) {
22
+ * console.error("Failed to write file (sync):", error);
23
+ * }
24
+ * };
25
+ *
26
+ * writeMyFileSync();
27
+ * ```
28
+ */
29
+ declare const writeFileSync: (path: URL | string, content: ArrayBuffer | ArrayBufferView | string, options?: WriteFileOptions) => void;
30
+ export default writeFileSync;
@@ -0,0 +1,30 @@
1
+ import type { WriteFileOptions } from "../types.d.ts";
2
+ /**
3
+ * Asynchronously writes data to a file, replacing the file if it already exists.
4
+ * This function includes safeguards like writing to a temporary file first and then renaming, and handling permissions.
5
+ * @param path The path to the file to write. Can be a file URL or a string path.
6
+ * @param content The data to write. Can be a string, Buffer, ArrayBuffer, or ArrayBufferView.
7
+ * @param options Optional configuration for writing the file. See {@link WriteFileOptions}.
8
+ * @returns A promise that resolves when the file has been written.
9
+ * @example
10
+ * ```javascript
11
+ * import { writeFile } from "@visulima/fs";
12
+ * import { join } from "node:path";
13
+ *
14
+ * const writeMyFile = async () => {
15
+ * try {
16
+ * await writeFile(join("/tmp", "my-new-file.txt"), "Hello World!");
17
+ * console.log("File written successfully.");
18
+ *
19
+ * await writeFile(join("/tmp", "another-file.txt"), "Some other content", { encoding: 'utf16le', mode: 0o600 });
20
+ * console.log("Another file written with specific options.");
21
+ * } catch (error) {
22
+ * console.error("Failed to write file:", error);
23
+ * }
24
+ * };
25
+ *
26
+ * writeMyFile();
27
+ * ```
28
+ */
29
+ declare const writeFile: (path: URL | string, content: ArrayBuffer | ArrayBufferView | string, options?: WriteFileOptions) => Promise<void>;
30
+ export default writeFile;
@@ -0,0 +1,30 @@
1
+ import type { WriteJsonOptions } from "../types.d.ts";
2
+ /**
3
+ * Synchronously writes an object to a JSON file.
4
+ * Handles indentation detection, custom stringifiers, and gracefully manages existing files.
5
+ * @param path The path to the JSON file to write. Can be a file URL or a string path.
6
+ * @param data The data to serialize and write. Can be any JavaScript value that can be stringified by `JSON.stringify` or a custom stringifier.
7
+ * @param options Optional configuration for writing the JSON file. See {@link WriteJsonOptions}.
8
+ * @returns void
9
+ * @example
10
+ * ```javascript
11
+ * import { writeJsonSync } from "@visulima/fs";
12
+ * import { join } from "node:path";
13
+ *
14
+ * const writeMyJsonSync = () => {
15
+ * try {
16
+ * writeJsonSync(join("/tmp", "my-config-sync.json"), { setting: "enabled", value: 456 });
17
+ * console.log("JSON file written successfully (sync).");
18
+ *
19
+ * writeJsonSync(join("/tmp", "another-config-sync.json"), { user: "testSync", id: "def" }, { indent: 4, replacer: ["id"] });
20
+ * console.log("Another JSON file written with specific options (sync, indent 4, only 'id' key).");
21
+ * } catch (error) {
22
+ * console.error("Failed to write JSON file (sync):", error);
23
+ * }
24
+ * };
25
+ *
26
+ * writeMyJsonSync();
27
+ * ```
28
+ */
29
+ declare const writeJsonSync: (path: URL | string, data: unknown, options?: WriteJsonOptions) => void;
30
+ export default writeJsonSync;
@@ -0,0 +1,30 @@
1
+ import type { WriteJsonOptions } from "../types.d.ts";
2
+ /**
3
+ * Asynchronously writes an object to a JSON file.
4
+ * Handles indentation detection, custom stringifiers, and gracefully manages existing files.
5
+ * @param path The path to the JSON file to write. Can be a file URL or a string path.
6
+ * @param data The data to serialize and write. Can be any JavaScript value that can be stringified by `JSON.stringify` or a custom stringifier.
7
+ * @param options Optional configuration for writing the JSON file. See {@link WriteJsonOptions}.
8
+ * @returns A promise that resolves when the JSON file has been written.
9
+ * @example
10
+ * ```javascript
11
+ * import { writeJson } from "@visulima/fs";
12
+ * import { join } from "node:path";
13
+ *
14
+ * const writeMyJson = async () => {
15
+ * try {
16
+ * await writeJson(join("/tmp", "my-config.json"), { setting: "enabled", value: 123 });
17
+ * console.log("JSON file written successfully.");
18
+ *
19
+ * await writeJson(join("/tmp", "another-config.json"), { user: "test", id: "abc" }, { indent: 2, replacer: ["user"] });
20
+ * console.log("Another JSON file written with specific options (indent 2, only 'user' key).");
21
+ * } catch (error) {
22
+ * console.error("Failed to write JSON file:", error);
23
+ * }
24
+ * };
25
+ *
26
+ * writeMyJson();
27
+ * ```
28
+ */
29
+ declare const writeJson: (path: URL | string, data: unknown, options?: WriteJsonOptions) => Promise<void>;
30
+ export default writeJson;
@@ -0,0 +1,4 @@
1
+ import type { WriteYamlOptions, YamlReplacer } from "../types.d.ts";
2
+ declare function writeYamlSync(path: URL | string, data: any, options?: WriteYamlOptions): void;
3
+ declare function writeYamlSync(path: URL | string, data: any, replacer?: YamlReplacer, options?: WriteYamlOptions | number | string): void;
4
+ export default writeYamlSync;
@@ -0,0 +1,4 @@
1
+ import type { WriteYamlOptions, YamlReplacer } from "../types.d.ts";
2
+ declare function writeYaml(path: URL | string, data: any, options?: WriteYamlOptions): Promise<void>;
3
+ declare function writeYaml(path: URL | string, data: any, replacer?: YamlReplacer, options?: WriteYamlOptions | number | string): Promise<void>;
4
+ export default writeYaml;
package/dist/yaml.d.ts CHANGED
@@ -1,17 +1,5 @@
1
- import { r as ReadYamlOptions, Y as YamlReviver, s as WriteYamlOptions, t as YamlReplacer } from './packem_shared/types-T308NKwz.js';
2
- import 'node:fs';
3
- import 'yaml';
4
-
5
- declare function readYaml<R = Record<string, unknown>>(path: URL | string, options?: ReadYamlOptions<"brotli" | "gzip" | "none">): Promise<R>;
6
- declare function readYaml<R = Record<string, unknown>>(path: URL | string, reviver?: YamlReviver, options?: ReadYamlOptions<"brotli" | "gzip" | "none">): Promise<R>;
7
-
8
- declare function readYamlSync<R = Record<string, unknown>>(path: URL | string, options?: ReadYamlOptions<"brotli" | "gzip" | "none">): R;
9
- declare function readYamlSync<R = Record<string, unknown>>(path: URL | string, reviver?: YamlReviver, options?: ReadYamlOptions<"brotli" | "gzip" | "none">): R;
10
-
11
- declare function writeYaml(path: URL | string, data: any, options?: WriteYamlOptions): Promise<void>;
12
- declare function writeYaml(path: URL | string, data: any, replacer?: YamlReplacer, options?: WriteYamlOptions | number | string): Promise<void>;
13
-
14
- declare function writeYamlSync(path: URL | string, data: any, options?: WriteYamlOptions): void;
15
- declare function writeYamlSync(path: URL | string, data: any, replacer?: YamlReplacer, options?: WriteYamlOptions | number | string): void;
16
-
17
- export { YamlReplacer, readYaml, readYamlSync, writeYaml, writeYamlSync };
1
+ export { default as readYaml } from "./read/read-yaml.d.ts";
2
+ export { default as readYamlSync } from "./read/read-yaml-sync.d.ts";
3
+ export type { YamlReplacer } from "./types.d.ts";
4
+ export { default as writeYaml } from "./write/write-yaml.d.ts";
5
+ export { default as writeYamlSync } from "./write/write-yaml-sync.d.ts";
package/dist/yaml.js CHANGED
@@ -1,4 +1,4 @@
1
- export { default as readYaml } from './packem_shared/readYaml-BQXTlR2p.js';
2
- export { default as readYamlSync } from './packem_shared/readYamlSync-BBBQ5ujx.js';
3
- export { default as writeYaml } from './packem_shared/writeYaml-n4xzYN9a.js';
4
- export { default as writeYamlSync } from './packem_shared/writeYamlSync-DnOEnP10.js';
1
+ export { default as readYaml } from './packem_shared/readYaml-Bu1nsexB.js';
2
+ export { default as readYamlSync } from './packem_shared/readYamlSync-Di88aMME.js';
3
+ export { default as writeYaml } from './packem_shared/writeYaml-BMY0kOPf.js';
4
+ export { default as writeYamlSync } from './packem_shared/writeYamlSync-DqPu8cCd.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visulima/fs",
3
- "version": "4.0.4",
3
+ "version": "4.0.5",
4
4
  "description": "Human friendly file system utilities for Node.js",
5
5
  "keywords": [
6
6
  "anolilab",
@@ -113,8 +113,7 @@
113
113
  "LICENSE.md"
114
114
  ],
115
115
  "dependencies": {
116
- "@visulima/path": "2.0.3",
117
- "type-fest": "^5.2.0"
116
+ "@visulima/path": "2.0.4"
118
117
  },
119
118
  "peerDependencies": {
120
119
  "yaml": "^2.7.1"
@@ -1,11 +0,0 @@
1
- declare class JSONError extends Error {
2
- #private;
3
- fileName: string | undefined;
4
- codeFrame: string | undefined;
5
- readonly name = "JSONError";
6
- constructor(message: string);
7
- get message(): string;
8
- set message(message: string);
9
- }
10
-
11
- export { JSONError as J };
@@ -1,90 +0,0 @@
1
- import { PathLike, Dirent } from 'node:fs';
2
- import { DocumentOptions, ParseOptions, SchemaOptions, ToJSOptions, CreateNodeOptions, ToStringOptions } from 'yaml';
3
-
4
- declare const F_OK = 0;
5
- declare const R_OK = 4;
6
- declare const W_OK = 2;
7
- declare const X_OK = 1;
8
- declare const FIND_UP_STOP: unique symbol;
9
-
10
- type ColorizeMethod = (value: string) => string;
11
- interface WalkOptions {
12
- extensions?: string[];
13
- followSymlinks?: boolean;
14
- includeDirs?: boolean;
15
- includeFiles?: boolean;
16
- includeSymlinks?: boolean;
17
- match?: (RegExp | string)[];
18
- maxDepth?: number;
19
- skip?: (RegExp | string)[];
20
- }
21
- interface WalkEntry extends Pick<Dirent, "isDirectory" | "isFile" | "isSymbolicLink" | "name"> {
22
- path: string;
23
- }
24
- type ReadFileEncoding = "ascii" | "base64" | "base64url" | "hex" | "latin1" | "ucs-2" | "ucs2" | "utf-8" | "utf-16le" | "utf8" | "utf16le";
25
- type ReadFileOptions<C> = {
26
- buffer?: boolean;
27
- compression?: C;
28
- encoding?: ReadFileEncoding | undefined;
29
- flag?: number | string | undefined;
30
- };
31
- type ContentType<O = undefined> = O extends {
32
- buffer: true;
33
- } ? Buffer : string;
34
- type JsonReviver = Parameters<(typeof JSON)["parse"]>["1"];
35
- type CodeFrameLocation = {
36
- column?: number;
37
- line: number;
38
- };
39
- type CodeFrameOptions = {
40
- color?: {
41
- gutter?: ColorizeMethod;
42
- marker?: ColorizeMethod;
43
- message?: ColorizeMethod;
44
- };
45
- };
46
- type ReadJsonOptions = CodeFrameOptions & {
47
- beforeParse?: (source: string) => string;
48
- };
49
- type WriteFileOptions = {
50
- chown?: {
51
- gid: number;
52
- uid: number;
53
- };
54
- encoding?: BufferEncoding | null | undefined;
55
- flag?: string | undefined;
56
- mode?: number;
57
- overwrite?: boolean;
58
- recursive?: boolean;
59
- };
60
- type JsonReplacer = (number | string)[] | ((this: unknown, key: string, value: unknown) => unknown) | null;
61
- type YamlReplacer = JsonReplacer;
62
- type WriteJsonOptions = WriteFileOptions & {
63
- detectIndent?: boolean;
64
- indent?: number | string | undefined;
65
- replacer?: JsonReplacer;
66
- stringify?: (data: unknown, replacer: JsonReplacer, space: number | string | undefined) => string;
67
- };
68
- type FindUpOptions = {
69
- allowSymlinks?: boolean;
70
- cwd?: URL | string;
71
- stopAt?: URL | string;
72
- type?: "directory" | "file";
73
- };
74
- type FindUpNameFnResult = PathLike | Promise<PathLike | typeof FIND_UP_STOP> | typeof FIND_UP_STOP | undefined;
75
- type FindUpName = string[] | string | ((directory: string) => FindUpNameFnResult);
76
- type FindUpNameSyncFnResult = PathLike | typeof FIND_UP_STOP | undefined;
77
- type FindUpNameSync = string[] | string | ((directory: string) => FindUpNameSyncFnResult);
78
- type RetryOptions = {
79
- maxRetries?: number | undefined;
80
- retryDelay?: number | undefined;
81
- };
82
- type ReadYamlOptions<C> = DocumentOptions & ParseOptions & ReadFileOptions<C> & SchemaOptions & ToJSOptions;
83
- type YamlReviver = (key: unknown, value: unknown) => unknown;
84
- type WriteYamlOptions = CreateNodeOptions & DocumentOptions & ParseOptions & SchemaOptions & ToStringOptions & WriteFileOptions & {
85
- replacer?: YamlReplacer;
86
- space?: number | string;
87
- };
88
-
89
- export { X_OK as X, F_OK as h, FIND_UP_STOP as i, R_OK as j, W_OK as k };
90
- export type { ContentType as C, FindUpName as F, JsonReviver as J, ReadFileOptions as R, WalkOptions as W, YamlReviver as Y, FindUpOptions as a, FindUpNameSync as b, WalkEntry as c, ReadJsonOptions as d, RetryOptions as e, WriteFileOptions as f, WriteJsonOptions as g, CodeFrameLocation as l, CodeFrameOptions as m, FindUpNameFnResult as n, FindUpNameSyncFnResult as o, JsonReplacer as p, ReadFileEncoding as q, ReadYamlOptions as r, WriteYamlOptions as s, YamlReplacer as t };