@alwatr/node-fs 5.4.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 +31 -21
- package/dist/main.cjs +2 -2
- package/dist/main.mjs +2 -2
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
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
|
+
|
|
6
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)
|
|
7
17
|
|
|
8
18
|
### Dependencies update
|
|
@@ -51,7 +61,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
51
61
|
|
|
52
62
|
### Features
|
|
53
63
|
|
|
54
|
-
* **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
|
|
55
65
|
|
|
56
66
|
## 5.0.0 (2024-11-02)
|
|
57
67
|
|
|
@@ -129,7 +139,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
129
139
|
|
|
130
140
|
### Dependencies update
|
|
131
141
|
|
|
132
|
-
* update ([4434ba6](https://github.com/Alwatr/nanolib/commit/4434ba67c3f576bb1a0c307fbdb263c43cd9733a)) by @
|
|
142
|
+
* update ([4434ba6](https://github.com/Alwatr/nanolib/commit/4434ba67c3f576bb1a0c307fbdb263c43cd9733a)) by @alimd
|
|
133
143
|
|
|
134
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)
|
|
135
145
|
|
|
@@ -152,7 +162,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
152
162
|
|
|
153
163
|
### Miscellaneous Chores
|
|
154
164
|
|
|
155
|
-
- 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
|
|
156
166
|
|
|
157
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)
|
|
158
168
|
|
|
@@ -181,14 +191,14 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
181
191
|
|
|
182
192
|
### Code Refactoring
|
|
183
193
|
|
|
184
|
-
- **node-fs:** remove unused import from common module ([496a338](https://github.com/Alwatr/nanolib/commit/496a338a6366aa12dc32bbed07a3e14bd5315bd2)) by @
|
|
185
|
-
- **node-fs:** Update logger import and initialization ([0f89c0f](https://github.com/Alwatr/nanolib/commit/0f89c0f7bc24e79c20d3d5d3fc3f906f12cf7161)) by @
|
|
186
|
-
- 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
|
|
187
197
|
|
|
188
198
|
### Miscellaneous Chores
|
|
189
199
|
|
|
190
200
|
- **node-fs:** change the license to AGPL-3.0 ([9728276](https://github.com/Alwatr/nanolib/commit/97282764bfdb15ef1de25704012f1628a5d0c112)) by @ArmanAsadian
|
|
191
|
-
- 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
|
|
192
202
|
|
|
193
203
|
### Dependencies update
|
|
194
204
|
|
|
@@ -203,7 +213,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
203
213
|
### Dependencies update
|
|
204
214
|
|
|
205
215
|
- bump the development-dependencies group across 1 directory with 10 updates ([9ed98ff](https://github.com/Alwatr/nanolib/commit/9ed98ffd0668d5a36e255c82edab3af53bffda8f)) by @dependabot[bot]
|
|
206
|
-
- update ([c36ed50](https://github.com/Alwatr/nanolib/commit/c36ed50f68da2f5608ccd96119963a16cfacb4ce)) by @
|
|
216
|
+
- update ([c36ed50](https://github.com/Alwatr/nanolib/commit/c36ed50f68da2f5608ccd96119963a16cfacb4ce)) by @alimd
|
|
207
217
|
|
|
208
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)
|
|
209
219
|
|
|
@@ -219,7 +229,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
219
229
|
|
|
220
230
|
### Dependencies update
|
|
221
231
|
|
|
222
|
-
- 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
|
|
223
233
|
|
|
224
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)
|
|
225
235
|
|
|
@@ -231,7 +241,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
231
241
|
|
|
232
242
|
### Dependencies update
|
|
233
243
|
|
|
234
|
-
- upgrade ([6dbd300](https://github.com/Alwatr/nanolib/commit/6dbd300642c9bcc9e7d0b281e244bf1b06eb1c38)) by @
|
|
244
|
+
- upgrade ([6dbd300](https://github.com/Alwatr/nanolib/commit/6dbd300642c9bcc9e7d0b281e244bf1b06eb1c38)) by @alimd
|
|
235
245
|
|
|
236
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)
|
|
237
247
|
|
|
@@ -245,11 +255,11 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
245
255
|
|
|
246
256
|
### Bug Fixes
|
|
247
257
|
|
|
248
|
-
- 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
|
|
249
259
|
|
|
250
260
|
### Miscellaneous Chores
|
|
251
261
|
|
|
252
|
-
- **deps:** update ([1a45030](https://github.com/Alwatr/nanolib/commit/1a450305440b710a300787d4ca24b1ed8c6a39d7)) by @
|
|
262
|
+
- **deps:** update ([1a45030](https://github.com/Alwatr/nanolib/commit/1a450305440b710a300787d4ca24b1ed8c6a39d7)) by @alimd
|
|
253
263
|
|
|
254
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)
|
|
255
265
|
|
|
@@ -267,25 +277,25 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
267
277
|
|
|
268
278
|
### Features
|
|
269
279
|
|
|
270
|
-
- **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
|
|
271
281
|
|
|
272
282
|
# 1.0.0-beta.0 (2024-01-08)
|
|
273
283
|
|
|
274
284
|
### Bug Fixes
|
|
275
285
|
|
|
276
|
-
- **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
|
|
277
287
|
|
|
278
288
|
### Features
|
|
279
289
|
|
|
280
|
-
- **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
|
|
281
291
|
- **node-fs:** base package ([74cbe48](https://github.com/Alwatr/nanolib/commit/74cbe4821c991d1f6c3d5805b29602b922c3f505)) by @njfamirm
|
|
282
292
|
- **node-fs:** copy from store ([5c23e01](https://github.com/Alwatr/nanolib/commit/5c23e01e42d438c15dcd272d2cc351527865c86c)) by @njfamirm
|
|
283
293
|
- **node-fs:** definePackage and logger ([3880703](https://github.com/Alwatr/nanolib/commit/38807039895c784be6168111506b0721980cbb29)) by @njfamirm
|
|
284
294
|
- **node-fs:** demo ([31f3740](https://github.com/Alwatr/nanolib/commit/31f37405a7bb2b4b02440de7f96f5cc8a474aba9)) by @njfamirm
|
|
285
|
-
- **node-fs:** enhance json types ([e85d927](https://github.com/Alwatr/nanolib/commit/e85d9276374a8c5171901791a3a43acad64843a6)) by @
|
|
286
|
-
- **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
|
|
287
297
|
- **node-fs:** makeFile ([186ba09](https://github.com/Alwatr/nanolib/commit/186ba09822bddfe200a0ac4725063785cadd0999)) by @njfamirm
|
|
288
|
-
- **node-fs:** readFile under asyncQueue ([ab12153](https://github.com/Alwatr/nanolib/commit/ab12153281600a4ac90ef627811b430a95140ddd)) by @
|
|
289
|
-
- **node-fs:** rewrite new writeFile method ([7534ed1](https://github.com/Alwatr/nanolib/commit/7534ed158cdfe1ee593050255c17449960b13001)) by @
|
|
290
|
-
- **node-fs:** writeFile under asyncQueue ([6d8b3d7](https://github.com/Alwatr/nanolib/commit/6d8b3d7953938fc954e8ce350206555030560978)) by @
|
|
291
|
-
- **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
|
|
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
|
|
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
|
}
|