@alwatr/node-fs 5.5.4 → 5.5.6
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 +24 -0
- package/LICENSE +373 -661
- package/README.md +0 -2
- package/dist/main.cjs +2 -2
- package/dist/main.mjs +2 -2
- package/package.json +56 -58
package/README.md
CHANGED
|
@@ -44,6 +44,4 @@ The following companies, organizations, and individuals support Nanolib ongoing
|
|
|
44
44
|
|
|
45
45
|
Contributions are welcome! Please read our [contribution guidelines](https://github.com/Alwatr/.github/blob/next/CONTRIBUTING.md) before submitting a pull request.
|
|
46
46
|
|
|
47
|
-
### License
|
|
48
47
|
|
|
49
|
-
This project is licensed under the [AGPL-3.0 License](LICENSE).
|
package/dist/main.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @alwatr/node-fs v5.5.
|
|
1
|
+
/* @alwatr/node-fs v5.5.6 */
|
|
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.5.
|
|
46
|
+
__dev_mode__: import_package_tracer.packageTracer.add("@alwatr/node-fs", "5.5.6");
|
|
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.5.
|
|
1
|
+
/* @alwatr/node-fs v5.5.6 */
|
|
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.5.
|
|
12
|
+
__dev_mode__: packageTracer.add("@alwatr/node-fs", "5.5.6");
|
|
13
13
|
var logger = /* @__PURE__ */ createLogger("@alwatr/node-fs");
|
|
14
14
|
var asyncQueue = /* @__PURE__ */ new AsyncQueue();
|
|
15
15
|
|
package/package.json
CHANGED
|
@@ -1,38 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alwatr/node-fs",
|
|
3
|
-
"version": "5.5.4",
|
|
4
3
|
"description": "Enhanced file system operations in Node.js with asynchronous queue to prevent parallel writes.",
|
|
4
|
+
"version": "5.5.6",
|
|
5
5
|
"author": "S. Ali Mihandoost <ali.mihandoost@gmail.com>",
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
"javascript",
|
|
22
|
-
"node",
|
|
23
|
-
"nodejs",
|
|
24
|
-
"esm",
|
|
25
|
-
"module",
|
|
26
|
-
"utility",
|
|
27
|
-
"util",
|
|
28
|
-
"utils",
|
|
29
|
-
"nanolib",
|
|
30
|
-
"alwatr"
|
|
31
|
-
],
|
|
32
|
-
"type": "module",
|
|
33
|
-
"main": "./dist/main.cjs",
|
|
34
|
-
"module": "./dist/main.mjs",
|
|
35
|
-
"types": "./dist/main.d.ts",
|
|
6
|
+
"bugs": "https://github.com/Alwatr/nanolib/issues",
|
|
7
|
+
"dependencies": {
|
|
8
|
+
"@alwatr/async-queue": "5.5.6",
|
|
9
|
+
"@alwatr/flat-string": "5.5.6",
|
|
10
|
+
"@alwatr/logger": "5.5.6",
|
|
11
|
+
"@alwatr/package-tracer": "5.5.6"
|
|
12
|
+
},
|
|
13
|
+
"devDependencies": {
|
|
14
|
+
"@alwatr/nano-build": "6.0.1",
|
|
15
|
+
"@alwatr/prettier-config": "5.0.2",
|
|
16
|
+
"@alwatr/tsconfig-base": "5.0.2",
|
|
17
|
+
"@alwatr/type-helper": "5.4.4",
|
|
18
|
+
"@types/node": "^22.17.2",
|
|
19
|
+
"typescript": "^5.9.2"
|
|
20
|
+
},
|
|
36
21
|
"exports": {
|
|
37
22
|
".": {
|
|
38
23
|
"types": "./dist/main.d.ts",
|
|
@@ -40,12 +25,42 @@
|
|
|
40
25
|
"require": "./dist/main.cjs"
|
|
41
26
|
}
|
|
42
27
|
},
|
|
43
|
-
"license": "AGPL-3.0-only",
|
|
44
28
|
"files": [
|
|
45
29
|
"**/*.{js,mjs,cjs,map,d.ts,html,md,LEGAL.txt}",
|
|
46
30
|
"LICENSE",
|
|
47
31
|
"!demo/**/*"
|
|
48
32
|
],
|
|
33
|
+
"homepage": "https://github.com/Alwatr/nanolib/tree/next/packages/node-fs#readme",
|
|
34
|
+
"keywords": [
|
|
35
|
+
"alwatr",
|
|
36
|
+
"async",
|
|
37
|
+
"cross-platform",
|
|
38
|
+
"ECMAScript",
|
|
39
|
+
"esm",
|
|
40
|
+
"file",
|
|
41
|
+
"filesystem",
|
|
42
|
+
"fs",
|
|
43
|
+
"javascript",
|
|
44
|
+
"JSON",
|
|
45
|
+
"module",
|
|
46
|
+
"nanolib",
|
|
47
|
+
"node",
|
|
48
|
+
"node-fs",
|
|
49
|
+
"nodejs",
|
|
50
|
+
"queue",
|
|
51
|
+
"readFile",
|
|
52
|
+
"readJson",
|
|
53
|
+
"typescript",
|
|
54
|
+
"util",
|
|
55
|
+
"utility",
|
|
56
|
+
"utils",
|
|
57
|
+
"writeFile",
|
|
58
|
+
"writeJson"
|
|
59
|
+
],
|
|
60
|
+
"license": "MPL-2.0",
|
|
61
|
+
"main": "./dist/main.cjs",
|
|
62
|
+
"module": "./dist/main.mjs",
|
|
63
|
+
"prettier": "@alwatr/prettier-config",
|
|
49
64
|
"publishConfig": {
|
|
50
65
|
"access": "public"
|
|
51
66
|
},
|
|
@@ -54,38 +69,21 @@
|
|
|
54
69
|
"url": "https://github.com/Alwatr/nanolib",
|
|
55
70
|
"directory": "packages/node-fs"
|
|
56
71
|
},
|
|
57
|
-
"homepage": "https://github.com/Alwatr/nanolib/tree/next/packages/node-fs#readme",
|
|
58
|
-
"bugs": {
|
|
59
|
-
"url": "https://github.com/Alwatr/nanolib/issues"
|
|
60
|
-
},
|
|
61
|
-
"prettier": "@alwatr/prettier-config",
|
|
62
72
|
"scripts": {
|
|
63
73
|
"b": "yarn run build",
|
|
64
|
-
"w": "yarn run watch",
|
|
65
|
-
"c": "yarn run clean",
|
|
66
|
-
"cb": "yarn run clean && yarn run build",
|
|
67
|
-
"d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings",
|
|
68
74
|
"build": "yarn run build:ts && yarn run build:es",
|
|
69
75
|
"build:es": "nano-build --preset=module",
|
|
70
76
|
"build:ts": "tsc --build",
|
|
77
|
+
"c": "yarn run clean",
|
|
78
|
+
"cb": "yarn run clean && yarn run build",
|
|
79
|
+
"clean": "rm -rfv dist *.tsbuildinfo",
|
|
80
|
+
"d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings",
|
|
81
|
+
"w": "yarn run watch",
|
|
71
82
|
"watch": "yarn run watch:ts & yarn run watch:es",
|
|
72
83
|
"watch:es": "yarn run build:es --watch",
|
|
73
|
-
"watch:ts": "yarn run build:ts --watch --preserveWatchOutput"
|
|
74
|
-
"clean": "rm -rfv dist *.tsbuildinfo"
|
|
75
|
-
},
|
|
76
|
-
"dependencies": {
|
|
77
|
-
"@alwatr/async-queue": "5.5.4",
|
|
78
|
-
"@alwatr/flat-string": "5.5.4",
|
|
79
|
-
"@alwatr/logger": "5.5.4",
|
|
80
|
-
"@alwatr/package-tracer": "5.5.4"
|
|
84
|
+
"watch:ts": "yarn run build:ts --watch --preserveWatchOutput"
|
|
81
85
|
},
|
|
82
|
-
"
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
"@alwatr/tsconfig-base": "5.0.0",
|
|
86
|
-
"@alwatr/type-helper": "5.4.2",
|
|
87
|
-
"@types/node": "^22.14.1",
|
|
88
|
-
"typescript": "^5.8.3"
|
|
89
|
-
},
|
|
90
|
-
"gitHead": "dd749e0b9adecdefa8e906669858c014b53bdab0"
|
|
86
|
+
"type": "module",
|
|
87
|
+
"types": "./dist/main.d.ts",
|
|
88
|
+
"gitHead": "be87ff1a4a783c0707e0b06efe728a54b5348b38"
|
|
91
89
|
}
|