@themartiancompany/fs 0.0.7 → 0.0.9

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.
Files changed (2) hide show
  1. package/fs +23 -0
  2. package/package.json +1 -1
package/fs CHANGED
@@ -68,6 +68,8 @@ function
68
68
  _fs =
69
69
  require(
70
70
  "fs");
71
+ _fs._fs_worker_start =
72
+ _fs_worker_start_get();
71
73
  }
72
74
  else {
73
75
  _fs =
@@ -94,6 +96,8 @@ function
94
96
  _fs =
95
97
  require(
96
98
  "fs");
99
+ _fs._fs_worker_start =
100
+ _fs_worker_start_get();
97
101
  }
98
102
  else {
99
103
  const
@@ -115,6 +119,25 @@ const
115
119
  _fs =
116
120
  _fs_module_auto_detect();
117
121
 
122
+ function
123
+ _fs_worker_start_get() {
124
+ let
125
+ _fs_worker_start_fun;
126
+ _fs_worker_start_fun =
127
+ _fs._fs_worker_start;
128
+ const
129
+ _fs_worker_start_fun_type =
130
+ typeof(
131
+ _fs_worker_start_fun);
132
+ if ( _fs_worker_start_fun_type == "undefined" ) {
133
+ _fs_worker_start_fun =
134
+ function () {
135
+ true;
136
+ };
137
+ }
138
+ return _fs_worker_start_fun;
139
+ }
140
+
118
141
  module.exports =
119
142
  _fs;
120
143
  module.exports.getModule =
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",
7
+ "0.0.9",
8
8
  "homepage":
9
9
  "https://github.com/themartiancompany/tmcfs",
10
10
  "license":