@themartiancompany/fs 0.0.11 → 0.0.12
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/fs +7 -5
- package/package.json +7 -1
package/fs
CHANGED
|
@@ -67,8 +67,9 @@ function
|
|
|
67
67
|
typeof __webpack_require__ !== 'function' ) {
|
|
68
68
|
_fs =
|
|
69
69
|
require(
|
|
70
|
-
"fs");
|
|
71
|
-
_fs
|
|
70
|
+
"node:fs");
|
|
71
|
+
_fs[
|
|
72
|
+
"fsWorkerStart"] =
|
|
72
73
|
_fs_worker_start_get(
|
|
73
74
|
_fs);
|
|
74
75
|
}
|
|
@@ -96,8 +97,9 @@ function
|
|
|
96
97
|
else if ( _module_name == 'fs' ) {
|
|
97
98
|
_fs =
|
|
98
99
|
require(
|
|
99
|
-
"fs");
|
|
100
|
-
_fs
|
|
100
|
+
"node:fs");
|
|
101
|
+
_fs[
|
|
102
|
+
"fsWorkerStart"] =
|
|
101
103
|
_fs_worker_start_get(
|
|
102
104
|
_fs);
|
|
103
105
|
}
|
|
@@ -127,7 +129,7 @@ function
|
|
|
127
129
|
let
|
|
128
130
|
_fs_worker_start_fun;
|
|
129
131
|
_fs_worker_start_fun =
|
|
130
|
-
_fs_module.
|
|
132
|
+
_fs_module.fsWorkerStart;
|
|
131
133
|
const
|
|
132
134
|
_fs_worker_start_fun_type =
|
|
133
135
|
typeof(
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"description":
|
|
5
5
|
"Platform-independent File System ('fs') module.",
|
|
6
6
|
"version":
|
|
7
|
-
"0.0.
|
|
7
|
+
"0.0.12",
|
|
8
8
|
"homepage":
|
|
9
9
|
"https://github.com/themartiancompany/tmcfs",
|
|
10
10
|
"license":
|
|
@@ -23,6 +23,8 @@
|
|
|
23
23
|
},
|
|
24
24
|
"keywords": [
|
|
25
25
|
"fs",
|
|
26
|
+
"tmcfs",
|
|
27
|
+
"node:fs",
|
|
26
28
|
"system",
|
|
27
29
|
"file",
|
|
28
30
|
"directory",
|
|
@@ -78,5 +80,9 @@
|
|
|
78
80
|
"optionalDependencies": {
|
|
79
81
|
"opfs":
|
|
80
82
|
"npm:@themartiancompany/opfs@^2.0.10"
|
|
83
|
+
},
|
|
84
|
+
"overrides": {
|
|
85
|
+
"fs":
|
|
86
|
+
"node:fs"
|
|
81
87
|
}
|
|
82
88
|
}
|