@reliverse/relifso 1.1.2 → 1.1.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.
@@ -19,7 +19,12 @@ export { mapStructure, mapStructureOrdered } from "./fs/map-structure.js";
19
19
  export { readLines, readLinesSync } from "./fs/read-lines.js";
20
20
  export { readText, readTextSync } from "./fs/read-text.js";
21
21
  export { writeFile } from "./fs/write-file.js";
22
- export * from "./json.js";
22
+ export { readJson, readJson as readJSON, // Alias
23
+ readJsonSync, readJsonSync as readJSONSync, // Alias
24
+ writeJson, writeJson as writeJSON, // Alias
25
+ writeJsonSync, writeJsonSync as writeJSONSync, // Alias
26
+ outputJson, outputJson as outputJSON, // Alias
27
+ outputJsonSync, outputJsonSync as outputJSONSync } from "./json.js";
23
28
  /**
24
29
  * Resolve a child file of a folder.
25
30
  * @param path The parent folder path
@@ -118,7 +118,20 @@ export { readLines, readLinesSync } from "./fs/read-lines.js";
118
118
  export { readText, readTextSync } from "./fs/read-text.js";
119
119
  export { writeFile } from "./fs/write-file.js";
120
120
  import * as fs from "./fs/index.js";
121
- export * from "./json.js";
121
+ export {
122
+ readJson,
123
+ readJson as readJSON,
124
+ readJsonSync,
125
+ readJsonSync as readJSONSync,
126
+ writeJson,
127
+ writeJson as writeJSON,
128
+ writeJsonSync,
129
+ writeJsonSync as writeJSONSync,
130
+ outputJson,
131
+ outputJson as outputJSON,
132
+ outputJsonSync,
133
+ outputJsonSync as outputJSONSync
134
+ } from "./json.js";
122
135
  export function resolve(path, child) {
123
136
  if (path.endsWith("/") || path.endsWith("\\")) {
124
137
  return path + child;
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "license": "MIT",
9
9
  "name": "@reliverse/relifso",
10
10
  "type": "module",
11
- "version": "1.1.2",
11
+ "version": "1.1.3",
12
12
  "keywords": [
13
13
  "fs",
14
14
  "file",
@@ -39,7 +39,7 @@
39
39
  "@cspotcode/source-map-support": "^0.8.1",
40
40
  "@eslint/js": "^9.26.0",
41
41
  "@reliverse/cli-cfg": "^1.6.5",
42
- "@reliverse/dler": "^1.2.5",
42
+ "@reliverse/dler": "^1.2.6",
43
43
  "@reliverse/relidler-cfg": "^1.1.3",
44
44
  "@rollup/plugin-alias": "^5.1.1",
45
45
  "@rollup/plugin-babel": "^6.0.4",
@@ -73,7 +73,7 @@
73
73
  "klaw-sync": "^7.0.0",
74
74
  "knip": "^5.56.0",
75
75
  "minimist": "^1.2.8",
76
- "mocha": "^11.2.2",
76
+ "mocha": "^11.3.0",
77
77
  "nyc": "^17.1.0",
78
78
  "proxyquire": "^2.1.3",
79
79
  "read-dir-files": "^0.1.1",