@alwatr/node-fs 5.3.0 → 5.4.0
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 +33 -0
- package/dist/main.cjs +2 -3
- package/dist/main.mjs +2 -3
- package/package.json +8 -8
- package/dist/main.cjs.LEGAL.txt +0 -0
- package/dist/main.mjs.LEGAL.txt +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,39 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [5.4.0](https://github.com/Alwatr/nanolib/compare/@alwatr/node-fs@1.1.8...@alwatr/node-fs@5.4.0) (2025-02-18)
|
|
7
|
+
|
|
8
|
+
### Dependencies update
|
|
9
|
+
|
|
10
|
+
* bump @types/node from ^22.13.0 to ^22.13.4 and prettier from 3.4.2 to 3.5.1; update eslint-import-resolver-typescript to 3.8.2 ([b9a8399](https://github.com/Alwatr/nanolib/commit/b9a8399add39509e90bfdc589fb5e2321718029d)) by @
|
|
11
|
+
|
|
12
|
+
## 5.3.0 (2025-02-03)
|
|
13
|
+
|
|
14
|
+
### Miscellaneous Chores
|
|
15
|
+
|
|
16
|
+
* edit README ([3860b3d](https://github.com/Alwatr/nanolib/commit/3860b3df48ab82dc479d5236c2e8579df614aabf)) by @
|
|
17
|
+
|
|
18
|
+
### Dependencies update
|
|
19
|
+
|
|
20
|
+
* bump the development-dependencies group across 1 directory with 11 updates ([cb79d07](https://github.com/Alwatr/nanolib/commit/cb79d072a57c79e1c01abff1a293d6757bb65350)) by @
|
|
21
|
+
* update typescript and @types/node to version 5.7.3 and 22.13.0 respectively across multiple packages ([ddab05b](https://github.com/Alwatr/nanolib/commit/ddab05b5d767c30191f36a065e4bc88744e8e3fe)) by @
|
|
22
|
+
|
|
23
|
+
## 5.1.0 (2024-11-04)
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **node-fs:** enhance makeEmptyFile to create directories recursively if they don't exist ([723a770](https://github.com/Alwatr/nanolib/commit/723a7701c60c3872fc41cb041c1044793145280f)) by @
|
|
28
|
+
|
|
29
|
+
## 5.0.0 (2024-11-02)
|
|
30
|
+
|
|
31
|
+
### ⚠ BREAKING CHANGES
|
|
32
|
+
|
|
33
|
+
* To simplify version management and ensure consistency, all nanolib packages now use the same version as @alwatr/nanolib. This may require updates to your project's dependencies.
|
|
34
|
+
|
|
35
|
+
### Code Refactoring
|
|
36
|
+
|
|
37
|
+
* use the same version as @alwatr/nanolib ([60eb860](https://github.com/Alwatr/nanolib/commit/60eb860a0e33dfffe2d1d95e63ce54c60876be06)) by @
|
|
38
|
+
|
|
6
39
|
## [5.3.0](https://github.com/Alwatr/nanolib/compare/v5.2.1...v5.3.0) (2025-02-03)
|
|
7
40
|
|
|
8
41
|
### Miscellaneous Chores
|
package/dist/main.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @alwatr/node-fs v5.
|
|
1
|
+
/* @alwatr/node-fs v5.4.0 */
|
|
2
2
|
"use strict";
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -43,7 +43,7 @@ var import_flat_string = require("@alwatr/flat-string");
|
|
|
43
43
|
var import_async_queue = require("@alwatr/async-queue");
|
|
44
44
|
var import_logger = require("@alwatr/logger");
|
|
45
45
|
var import_package_tracer = require("@alwatr/package-tracer");
|
|
46
|
-
__dev_mode__: import_package_tracer.packageTracer.add("@alwatr/node-fs", "5.
|
|
46
|
+
__dev_mode__: import_package_tracer.packageTracer.add("@alwatr/node-fs", "5.4.0");
|
|
47
47
|
var logger = /* @__PURE__ */ (0, import_logger.createLogger)("@alwatr/node-fs");
|
|
48
48
|
var asyncQueue = /* @__PURE__ */ new import_async_queue.AsyncQueue();
|
|
49
49
|
|
|
@@ -193,5 +193,4 @@ var import_promises4 = require("node:fs/promises");
|
|
|
193
193
|
writeFileSync,
|
|
194
194
|
writeJson
|
|
195
195
|
});
|
|
196
|
-
/*! For license information please see main.cjs.LEGAL.txt */
|
|
197
196
|
//# sourceMappingURL=main.cjs.map
|
package/dist/main.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @alwatr/node-fs v5.
|
|
1
|
+
/* @alwatr/node-fs v5.4.0 */
|
|
2
2
|
|
|
3
3
|
// src/read-file.ts
|
|
4
4
|
import { readFileSync as readFileSync_ } from "node:fs";
|
|
@@ -9,7 +9,7 @@ import { flatString } from "@alwatr/flat-string";
|
|
|
9
9
|
import { AsyncQueue } from "@alwatr/async-queue";
|
|
10
10
|
import { createLogger } from "@alwatr/logger";
|
|
11
11
|
import { packageTracer } from "@alwatr/package-tracer";
|
|
12
|
-
__dev_mode__: packageTracer.add("@alwatr/node-fs", "5.
|
|
12
|
+
__dev_mode__: packageTracer.add("@alwatr/node-fs", "5.4.0");
|
|
13
13
|
var logger = /* @__PURE__ */ createLogger("@alwatr/node-fs");
|
|
14
14
|
var asyncQueue = /* @__PURE__ */ new AsyncQueue();
|
|
15
15
|
|
|
@@ -158,5 +158,4 @@ export {
|
|
|
158
158
|
writeFileSync,
|
|
159
159
|
writeJson
|
|
160
160
|
};
|
|
161
|
-
/*! For license information please see main.mjs.LEGAL.txt */
|
|
162
161
|
//# sourceMappingURL=main.mjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alwatr/node-fs",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.4.0",
|
|
4
4
|
"description": "Enhanced file system operations in Node.js with asynchronous queue to prevent parallel writes.",
|
|
5
5
|
"author": "S. Ali Mihandoost <ali.mihandoost@gmail.com>",
|
|
6
6
|
"keywords": [
|
|
@@ -74,18 +74,18 @@
|
|
|
74
74
|
"clean": "rm -rfv dist *.tsbuildinfo"
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@alwatr/async-queue": "^5.
|
|
78
|
-
"@alwatr/flat-string": "^5.
|
|
79
|
-
"@alwatr/logger": "^5.
|
|
80
|
-
"@alwatr/package-tracer": "^5.
|
|
77
|
+
"@alwatr/async-queue": "^5.4.0",
|
|
78
|
+
"@alwatr/flat-string": "^5.4.0",
|
|
79
|
+
"@alwatr/logger": "^5.4.0",
|
|
80
|
+
"@alwatr/package-tracer": "^5.4.0"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
|
-
"@alwatr/nano-build": "^5.
|
|
83
|
+
"@alwatr/nano-build": "^5.4.0",
|
|
84
84
|
"@alwatr/prettier-config": "^5.0.0",
|
|
85
85
|
"@alwatr/tsconfig-base": "^5.0.0",
|
|
86
86
|
"@alwatr/type-helper": "^5.3.0",
|
|
87
|
-
"@types/node": "^22.13.
|
|
87
|
+
"@types/node": "^22.13.4",
|
|
88
88
|
"typescript": "^5.7.3"
|
|
89
89
|
},
|
|
90
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "074be0d0fe780bf929e163045f8f598cd2697636"
|
|
91
91
|
}
|
package/dist/main.cjs.LEGAL.txt
DELETED
|
File without changes
|
package/dist/main.mjs.LEGAL.txt
DELETED
|
File without changes
|