@themartiancompany/fs 0.0.7 → 0.0.8
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 +21 -0
- package/package.json +1 -1
package/fs
CHANGED
|
@@ -115,7 +115,28 @@ const
|
|
|
115
115
|
_fs =
|
|
116
116
|
_fs_module_auto_detect();
|
|
117
117
|
|
|
118
|
+
function
|
|
119
|
+
_fs_worker_start_get() {
|
|
120
|
+
let
|
|
121
|
+
_fs_worker_start_fun;
|
|
122
|
+
_fs_worker_start_fun =
|
|
123
|
+
_fs._fs_worker_start;
|
|
124
|
+
const
|
|
125
|
+
_fs_worker_start_fun_type =
|
|
126
|
+
typeof(
|
|
127
|
+
_fs_worker_start_fun);
|
|
128
|
+
if ( _fs_worker_start_fun_type == "undefined" ) {
|
|
129
|
+
_fs_worker_start_fun =
|
|
130
|
+
function () {
|
|
131
|
+
true;
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
return _fs_worker_start_fun;
|
|
135
|
+
}
|
|
136
|
+
|
|
118
137
|
module.exports =
|
|
119
138
|
_fs;
|
|
120
139
|
module.exports.getModule =
|
|
121
140
|
_fs_module_get;
|
|
141
|
+
module.exports._fs_worker_start =
|
|
142
|
+
_fs_worker_start_get();
|