crash-js 0.1.21 → 0.1.23
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/crash-js/crash-js +2 -2
- package/crash-js/fs-utils +12 -6
- package/package.json +1 -1
package/crash-js/crash-js
CHANGED
package/crash-js/fs-utils
CHANGED
|
@@ -190,13 +190,19 @@ function
|
|
|
190
190
|
|
|
191
191
|
function
|
|
192
192
|
_fs_worker_new(
|
|
193
|
-
) {
|
|
193
|
+
_import_meta_url) {
|
|
194
194
|
let
|
|
195
|
-
|
|
196
|
-
|
|
195
|
+
_worker,
|
|
196
|
+
_url;
|
|
197
|
+
_url =
|
|
198
|
+
new URL(
|
|
199
|
+
"fs-worker",
|
|
200
|
+
_import_meta_url);
|
|
201
|
+
_worker =
|
|
197
202
|
new Worker(
|
|
203
|
+
_url
|
|
198
204
|
"./fs-worker",
|
|
199
|
-
|
|
205
|
+
_import_meta_url);
|
|
200
206
|
return _crash_js_worker;
|
|
201
207
|
}
|
|
202
208
|
|
|
@@ -207,14 +213,14 @@ module.exports = {
|
|
|
207
213
|
_dirname,
|
|
208
214
|
_ext_rm:
|
|
209
215
|
_ext_rm,
|
|
210
|
-
_fs_worker_new:
|
|
211
|
-
_fs_worker_new,
|
|
212
216
|
_file_exists:
|
|
213
217
|
_file_exists,
|
|
214
218
|
_file_read:
|
|
215
219
|
_file_read,
|
|
216
220
|
_file_write:
|
|
217
221
|
_file_write,
|
|
222
|
+
_fs_worker_new:
|
|
223
|
+
_fs_worker_new,
|
|
218
224
|
_path_join:
|
|
219
225
|
_path_join,
|
|
220
226
|
_json_display:
|