@alwatr/node-fs 5.3.0 → 5.5.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 +64 -21
- package/dist/main.cjs +2 -3
- package/dist/main.mjs +2 -3
- package/package.json +10 -10
- package/dist/main.cjs.LEGAL.txt +0 -0
- package/dist/main.mjs.LEGAL.txt +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,49 @@
|
|
|
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.5.0](https://github.com/Alwatr/nanolib/compare/@alwatr/node-fs@5.4.0...@alwatr/node-fs@5.5.0) (2025-03-06)
|
|
7
|
+
|
|
8
|
+
### Miscellaneous Chores
|
|
9
|
+
|
|
10
|
+
* update username casing in changelog entries ([9722ac9](https://github.com/Alwatr/nanolib/commit/9722ac9a078438a4e8ebfa5826ea70e0e3a52ca6)) by @
|
|
11
|
+
|
|
12
|
+
### Dependencies update
|
|
13
|
+
|
|
14
|
+
* bump the development-dependencies group across 1 directory with 11 updates ([720c395](https://github.com/Alwatr/nanolib/commit/720c3954da55c929fe8fb16957121f4c51fb7f0c)) by @dependabot[bot]
|
|
15
|
+
|
|
16
|
+
## [5.4.0](https://github.com/Alwatr/nanolib/compare/@alwatr/node-fs@1.1.8...@alwatr/node-fs@5.4.0) (2025-02-18)
|
|
17
|
+
|
|
18
|
+
### Dependencies update
|
|
19
|
+
|
|
20
|
+
* 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 @
|
|
21
|
+
|
|
22
|
+
## 5.3.0 (2025-02-03)
|
|
23
|
+
|
|
24
|
+
### Miscellaneous Chores
|
|
25
|
+
|
|
26
|
+
* edit README ([3860b3d](https://github.com/Alwatr/nanolib/commit/3860b3df48ab82dc479d5236c2e8579df614aabf)) by @
|
|
27
|
+
|
|
28
|
+
### Dependencies update
|
|
29
|
+
|
|
30
|
+
* bump the development-dependencies group across 1 directory with 11 updates ([cb79d07](https://github.com/Alwatr/nanolib/commit/cb79d072a57c79e1c01abff1a293d6757bb65350)) by @
|
|
31
|
+
* 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 @
|
|
32
|
+
|
|
33
|
+
## 5.1.0 (2024-11-04)
|
|
34
|
+
|
|
35
|
+
### Features
|
|
36
|
+
|
|
37
|
+
* **node-fs:** enhance makeEmptyFile to create directories recursively if they don't exist ([723a770](https://github.com/Alwatr/nanolib/commit/723a7701c60c3872fc41cb041c1044793145280f)) by @
|
|
38
|
+
|
|
39
|
+
## 5.0.0 (2024-11-02)
|
|
40
|
+
|
|
41
|
+
### ⚠ BREAKING CHANGES
|
|
42
|
+
|
|
43
|
+
* 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.
|
|
44
|
+
|
|
45
|
+
### Code Refactoring
|
|
46
|
+
|
|
47
|
+
* use the same version as @alwatr/nanolib ([60eb860](https://github.com/Alwatr/nanolib/commit/60eb860a0e33dfffe2d1d95e63ce54c60876be06)) by @
|
|
48
|
+
|
|
6
49
|
## [5.3.0](https://github.com/Alwatr/nanolib/compare/v5.2.1...v5.3.0) (2025-02-03)
|
|
7
50
|
|
|
8
51
|
### Miscellaneous Chores
|
|
@@ -18,7 +61,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
18
61
|
|
|
19
62
|
### Features
|
|
20
63
|
|
|
21
|
-
* **node-fs:** enhance makeEmptyFile to create directories recursively if they don't exist ([723a770](https://github.com/Alwatr/nanolib/commit/723a7701c60c3872fc41cb041c1044793145280f)) by @
|
|
64
|
+
* **node-fs:** enhance makeEmptyFile to create directories recursively if they don't exist ([723a770](https://github.com/Alwatr/nanolib/commit/723a7701c60c3872fc41cb041c1044793145280f)) by @alimd
|
|
22
65
|
|
|
23
66
|
## 5.0.0 (2024-11-02)
|
|
24
67
|
|
|
@@ -96,7 +139,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
96
139
|
|
|
97
140
|
### Dependencies update
|
|
98
141
|
|
|
99
|
-
* update ([4434ba6](https://github.com/Alwatr/nanolib/commit/4434ba67c3f576bb1a0c307fbdb263c43cd9733a)) by @
|
|
142
|
+
* update ([4434ba6](https://github.com/Alwatr/nanolib/commit/4434ba67c3f576bb1a0c307fbdb263c43cd9733a)) by @alimd
|
|
100
143
|
|
|
101
144
|
## [1.1.7](https://github.com/Alwatr/nanolib/compare/@alwatr/node-fs@1.1.6...@alwatr/node-fs@1.1.7) (2024-10-25)
|
|
102
145
|
|
|
@@ -119,7 +162,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
119
162
|
|
|
120
163
|
### Miscellaneous Chores
|
|
121
164
|
|
|
122
|
-
- include LICENSE and LEGAL files to publish ([09f366f](https://github.com/Alwatr/nanolib/commit/09f366f680bfa9fb26acb2cd1ccbc68c5a9e9ad8)) by @
|
|
165
|
+
- include LICENSE and LEGAL files to publish ([09f366f](https://github.com/Alwatr/nanolib/commit/09f366f680bfa9fb26acb2cd1ccbc68c5a9e9ad8)) by @alimd
|
|
123
166
|
|
|
124
167
|
## [1.1.3](https://github.com/Alwatr/nanolib/compare/@alwatr/node-fs@1.1.2...@alwatr/node-fs@1.1.3) (2024-10-11)
|
|
125
168
|
|
|
@@ -148,14 +191,14 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
148
191
|
|
|
149
192
|
### Code Refactoring
|
|
150
193
|
|
|
151
|
-
- **node-fs:** remove unused import from common module ([496a338](https://github.com/Alwatr/nanolib/commit/496a338a6366aa12dc32bbed07a3e14bd5315bd2)) by @
|
|
152
|
-
- **node-fs:** Update logger import and initialization ([0f89c0f](https://github.com/Alwatr/nanolib/commit/0f89c0f7bc24e79c20d3d5d3fc3f906f12cf7161)) by @
|
|
153
|
-
- use new type-helper global types and remove all import types ([08b5d08](https://github.com/Alwatr/nanolib/commit/08b5d08c03c7c315382337239de0426462f384b8)) by @
|
|
194
|
+
- **node-fs:** remove unused import from common module ([496a338](https://github.com/Alwatr/nanolib/commit/496a338a6366aa12dc32bbed07a3e14bd5315bd2)) by @alimd
|
|
195
|
+
- **node-fs:** Update logger import and initialization ([0f89c0f](https://github.com/Alwatr/nanolib/commit/0f89c0f7bc24e79c20d3d5d3fc3f906f12cf7161)) by @alimd
|
|
196
|
+
- use new type-helper global types and remove all import types ([08b5d08](https://github.com/Alwatr/nanolib/commit/08b5d08c03c7c315382337239de0426462f384b8)) by @alimd
|
|
154
197
|
|
|
155
198
|
### Miscellaneous Chores
|
|
156
199
|
|
|
157
200
|
- **node-fs:** change the license to AGPL-3.0 ([9728276](https://github.com/Alwatr/nanolib/commit/97282764bfdb15ef1de25704012f1628a5d0c112)) by @ArmanAsadian
|
|
158
|
-
- Update build and lint scripts ([392d0b7](https://github.com/Alwatr/nanolib/commit/392d0b71f446bce336b0256119a80f07aff794ba)) by @
|
|
201
|
+
- Update build and lint scripts ([392d0b7](https://github.com/Alwatr/nanolib/commit/392d0b71f446bce336b0256119a80f07aff794ba)) by @alimd
|
|
159
202
|
|
|
160
203
|
### Dependencies update
|
|
161
204
|
|
|
@@ -170,7 +213,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
170
213
|
### Dependencies update
|
|
171
214
|
|
|
172
215
|
- bump the development-dependencies group across 1 directory with 10 updates ([9ed98ff](https://github.com/Alwatr/nanolib/commit/9ed98ffd0668d5a36e255c82edab3af53bffda8f)) by @dependabot[bot]
|
|
173
|
-
- update ([c36ed50](https://github.com/Alwatr/nanolib/commit/c36ed50f68da2f5608ccd96119963a16cfacb4ce)) by @
|
|
216
|
+
- update ([c36ed50](https://github.com/Alwatr/nanolib/commit/c36ed50f68da2f5608ccd96119963a16cfacb4ce)) by @alimd
|
|
174
217
|
|
|
175
218
|
## [1.0.11](https://github.com/Alwatr/nanolib/compare/@alwatr/node-fs@1.0.10...@alwatr/node-fs@1.0.11) (2024-08-31)
|
|
176
219
|
|
|
@@ -186,7 +229,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
186
229
|
|
|
187
230
|
### Dependencies update
|
|
188
231
|
|
|
189
|
-
- update all dependencies ([1e0c30e](https://github.com/Alwatr/nanolib/commit/1e0c30e6a3a8e19deb5185814e24ab6c08dca573)) by @
|
|
232
|
+
- update all dependencies ([1e0c30e](https://github.com/Alwatr/nanolib/commit/1e0c30e6a3a8e19deb5185814e24ab6c08dca573)) by @alimd
|
|
190
233
|
|
|
191
234
|
## [1.0.8](https://github.com/Alwatr/nanolib/compare/@alwatr/node-fs@1.0.7...@alwatr/node-fs@1.0.8) (2024-07-04)
|
|
192
235
|
|
|
@@ -198,7 +241,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
198
241
|
|
|
199
242
|
### Dependencies update
|
|
200
243
|
|
|
201
|
-
- upgrade ([6dbd300](https://github.com/Alwatr/nanolib/commit/6dbd300642c9bcc9e7d0b281e244bf1b06eb1c38)) by @
|
|
244
|
+
- upgrade ([6dbd300](https://github.com/Alwatr/nanolib/commit/6dbd300642c9bcc9e7d0b281e244bf1b06eb1c38)) by @alimd
|
|
202
245
|
|
|
203
246
|
## [1.0.6](https://github.com/Alwatr/nanolib/compare/@alwatr/node-fs@1.0.5...@alwatr/node-fs@1.0.6) (2024-04-25)
|
|
204
247
|
|
|
@@ -212,11 +255,11 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
212
255
|
|
|
213
256
|
### Bug Fixes
|
|
214
257
|
|
|
215
|
-
- exported types by add .js extensions to all imports ([fc3d83e](https://github.com/Alwatr/nanolib/commit/fc3d83e8f375da97ba276314b2e6966aa82c9b3f)) by @
|
|
258
|
+
- exported types by add .js extensions to all imports ([fc3d83e](https://github.com/Alwatr/nanolib/commit/fc3d83e8f375da97ba276314b2e6966aa82c9b3f)) by @alimd
|
|
216
259
|
|
|
217
260
|
### Miscellaneous Chores
|
|
218
261
|
|
|
219
|
-
- **deps:** update ([1a45030](https://github.com/Alwatr/nanolib/commit/1a450305440b710a300787d4ca24b1ed8c6a39d7)) by @
|
|
262
|
+
- **deps:** update ([1a45030](https://github.com/Alwatr/nanolib/commit/1a450305440b710a300787d4ca24b1ed8c6a39d7)) by @alimd
|
|
220
263
|
|
|
221
264
|
## [1.0.3](https://github.com/Alwatr/nanolib/compare/@alwatr/node-fs@1.0.2...@alwatr/node-fs@1.0.3) (2024-01-24)
|
|
222
265
|
|
|
@@ -234,25 +277,25 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
234
277
|
|
|
235
278
|
### Features
|
|
236
279
|
|
|
237
|
-
- **node-fs:** enhance type of JSON-related functions ([69751ed](https://github.com/Alwatr/nanolib/commit/69751ed658f76eb439a9834f861c01c06542352b)) by @
|
|
280
|
+
- **node-fs:** enhance type of JSON-related functions ([69751ed](https://github.com/Alwatr/nanolib/commit/69751ed658f76eb439a9834f861c01c06542352b)) by @alimd
|
|
238
281
|
|
|
239
282
|
# 1.0.0-beta.0 (2024-01-08)
|
|
240
283
|
|
|
241
284
|
### Bug Fixes
|
|
242
285
|
|
|
243
|
-
- **node-fs:** Update import statement for make-file module ([7bddaa0](https://github.com/Alwatr/nanolib/commit/7bddaa0d629c304fedd07c4022d7503aa9b974b6)) by @
|
|
286
|
+
- **node-fs:** Update import statement for make-file module ([7bddaa0](https://github.com/Alwatr/nanolib/commit/7bddaa0d629c304fedd07c4022d7503aa9b974b6)) by @alimd
|
|
244
287
|
|
|
245
288
|
### Features
|
|
246
289
|
|
|
247
|
-
- **node-fs:** Add make-file-bench demo script ([ca3a57a](https://github.com/Alwatr/nanolib/commit/ca3a57a31de5a8b9c76c9d33cb9755809f09a335)) by @
|
|
290
|
+
- **node-fs:** Add make-file-bench demo script ([ca3a57a](https://github.com/Alwatr/nanolib/commit/ca3a57a31de5a8b9c76c9d33cb9755809f09a335)) by @alimd
|
|
248
291
|
- **node-fs:** base package ([74cbe48](https://github.com/Alwatr/nanolib/commit/74cbe4821c991d1f6c3d5805b29602b922c3f505)) by @njfamirm
|
|
249
292
|
- **node-fs:** copy from store ([5c23e01](https://github.com/Alwatr/nanolib/commit/5c23e01e42d438c15dcd272d2cc351527865c86c)) by @njfamirm
|
|
250
293
|
- **node-fs:** definePackage and logger ([3880703](https://github.com/Alwatr/nanolib/commit/38807039895c784be6168111506b0721980cbb29)) by @njfamirm
|
|
251
294
|
- **node-fs:** demo ([31f3740](https://github.com/Alwatr/nanolib/commit/31f37405a7bb2b4b02440de7f96f5cc8a474aba9)) by @njfamirm
|
|
252
|
-
- **node-fs:** enhance json types ([e85d927](https://github.com/Alwatr/nanolib/commit/e85d9276374a8c5171901791a3a43acad64843a6)) by @
|
|
253
|
-
- **node-fs:** enhance writeJson type ([9010c72](https://github.com/Alwatr/nanolib/commit/9010c723b1f34cd647f157466554b312fc84a1d3)) by @
|
|
295
|
+
- **node-fs:** enhance json types ([e85d927](https://github.com/Alwatr/nanolib/commit/e85d9276374a8c5171901791a3a43acad64843a6)) by @alimd
|
|
296
|
+
- **node-fs:** enhance writeJson type ([9010c72](https://github.com/Alwatr/nanolib/commit/9010c723b1f34cd647f157466554b312fc84a1d3)) by @alimd
|
|
254
297
|
- **node-fs:** makeFile ([186ba09](https://github.com/Alwatr/nanolib/commit/186ba09822bddfe200a0ac4725063785cadd0999)) by @njfamirm
|
|
255
|
-
- **node-fs:** readFile under asyncQueue ([ab12153](https://github.com/Alwatr/nanolib/commit/ab12153281600a4ac90ef627811b430a95140ddd)) by @
|
|
256
|
-
- **node-fs:** rewrite new writeFile method ([7534ed1](https://github.com/Alwatr/nanolib/commit/7534ed158cdfe1ee593050255c17449960b13001)) by @
|
|
257
|
-
- **node-fs:** writeFile under asyncQueue ([6d8b3d7](https://github.com/Alwatr/nanolib/commit/6d8b3d7953938fc954e8ce350206555030560978)) by @
|
|
258
|
-
- **node-fs:** writeJson method ([581d4f9](https://github.com/Alwatr/nanolib/commit/581d4f958ccb262c13f23881151616b7ec5e93ee)) by @
|
|
298
|
+
- **node-fs:** readFile under asyncQueue ([ab12153](https://github.com/Alwatr/nanolib/commit/ab12153281600a4ac90ef627811b430a95140ddd)) by @alimd
|
|
299
|
+
- **node-fs:** rewrite new writeFile method ([7534ed1](https://github.com/Alwatr/nanolib/commit/7534ed158cdfe1ee593050255c17449960b13001)) by @alimd
|
|
300
|
+
- **node-fs:** writeFile under asyncQueue ([6d8b3d7](https://github.com/Alwatr/nanolib/commit/6d8b3d7953938fc954e8ce350206555030560978)) by @alimd
|
|
301
|
+
- **node-fs:** writeJson method ([581d4f9](https://github.com/Alwatr/nanolib/commit/581d4f958ccb262c13f23881151616b7ec5e93ee)) by @alimd
|
package/dist/main.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @alwatr/node-fs v5.
|
|
1
|
+
/* @alwatr/node-fs v5.5.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.5.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.5.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.5.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.5.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.5.0",
|
|
78
|
+
"@alwatr/flat-string": "^5.5.0",
|
|
79
|
+
"@alwatr/logger": "^5.5.0",
|
|
80
|
+
"@alwatr/package-tracer": "^5.5.0"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
|
-
"@alwatr/nano-build": "^5.
|
|
83
|
+
"@alwatr/nano-build": "^5.5.0",
|
|
84
84
|
"@alwatr/prettier-config": "^5.0.0",
|
|
85
85
|
"@alwatr/tsconfig-base": "^5.0.0",
|
|
86
|
-
"@alwatr/type-helper": "^5.
|
|
87
|
-
"@types/node": "^22.13.
|
|
88
|
-
"typescript": "^5.
|
|
86
|
+
"@alwatr/type-helper": "^5.4.0",
|
|
87
|
+
"@types/node": "^22.13.9",
|
|
88
|
+
"typescript": "^5.8.2"
|
|
89
89
|
},
|
|
90
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "fdf8e6de77cca359465110a75ff18faff0649a95"
|
|
91
91
|
}
|
package/dist/main.cjs.LEGAL.txt
DELETED
|
File without changes
|
package/dist/main.mjs.LEGAL.txt
DELETED
|
File without changes
|