tmcsplit 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/dist/libtmcsplit/fs-worker.js +1 -1
- package/dist/libtmcsplit/libtmcsplit.js +1 -2
- package/dist/tmcsplit/fs-worker.js +1 -1
- package/dist/tmcsplit/tmcsplit.js +1 -1
- package/fs-worker.webpack.config.cjs +2 -2
- package/libtmcsplit +49 -17
- package/package.json +8 -8
- package/webpack.config.cjs +5 -1
|
@@ -49,11 +49,11 @@ module.exports = {
|
|
|
49
49
|
"fs":
|
|
50
50
|
_path.resolve(
|
|
51
51
|
__dirname,
|
|
52
|
-
'node_modules/
|
|
52
|
+
'node_modules/tmcfs/fs'),
|
|
53
53
|
"opfs":
|
|
54
54
|
_path.resolve(
|
|
55
55
|
__dirname,
|
|
56
|
-
'node_modules/
|
|
56
|
+
'node_modules/opfs/opfs'),
|
|
57
57
|
"path":
|
|
58
58
|
_path.resolve(
|
|
59
59
|
__dirname,
|
package/libtmcsplit
CHANGED
|
@@ -33,37 +33,61 @@
|
|
|
33
33
|
"local" } ] */
|
|
34
34
|
|
|
35
35
|
const
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
const
|
|
40
|
-
_split_file =
|
|
41
|
-
_split_file_module._split_file;
|
|
42
|
-
const
|
|
43
|
-
_split_file_by_size =
|
|
44
|
-
_split_file_module._split_file_by_size;
|
|
36
|
+
_libcrash_module =
|
|
37
|
+
await import(
|
|
38
|
+
"libcrash-js");
|
|
45
39
|
const
|
|
46
40
|
_libcrash =
|
|
47
|
-
|
|
48
|
-
|
|
41
|
+
_libcrash_module.default;
|
|
42
|
+
/* global
|
|
43
|
+
_basename */
|
|
49
44
|
const
|
|
50
45
|
_basename =
|
|
51
46
|
_libcrash._basename;
|
|
47
|
+
/* global
|
|
48
|
+
_dirname */
|
|
52
49
|
const
|
|
53
50
|
_dirname =
|
|
54
51
|
_libcrash._dirname;
|
|
52
|
+
/* global
|
|
53
|
+
_ls */
|
|
55
54
|
const
|
|
56
55
|
_ls =
|
|
57
56
|
_libcrash._ls;
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
_libcrash._msg_info;
|
|
57
|
+
/* global
|
|
58
|
+
_msg_error */
|
|
61
59
|
const
|
|
62
60
|
_msg_error =
|
|
63
61
|
_libcrash._msg_error;
|
|
62
|
+
/* global
|
|
63
|
+
_msg_info */
|
|
64
|
+
const
|
|
65
|
+
_msg_info =
|
|
66
|
+
_libcrash._msg_info;
|
|
67
|
+
/* global
|
|
68
|
+
_mv */
|
|
64
69
|
const
|
|
65
70
|
_mv =
|
|
66
71
|
_libcrash._mv;
|
|
72
|
+
/* global
|
|
73
|
+
_require */
|
|
74
|
+
const
|
|
75
|
+
_require =
|
|
76
|
+
_libcrash._require;
|
|
77
|
+
const
|
|
78
|
+
_split_file_module =
|
|
79
|
+
await _require(
|
|
80
|
+
"split-file");
|
|
81
|
+
/* global
|
|
82
|
+
_split_file */
|
|
83
|
+
const
|
|
84
|
+
_split_file =
|
|
85
|
+
_split_file_module._split_file;
|
|
86
|
+
/* global
|
|
87
|
+
_split_file_by_size */
|
|
88
|
+
const
|
|
89
|
+
_split_file_by_size =
|
|
90
|
+
_split_file_module._split_file_by_size;
|
|
67
91
|
|
|
68
92
|
async function
|
|
69
93
|
_output_files_get(
|
|
@@ -161,7 +185,15 @@ async function
|
|
|
161
185
|
return _output_files;
|
|
162
186
|
}
|
|
163
187
|
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
188
|
+
// ES exports
|
|
189
|
+
|
|
190
|
+
export {
|
|
191
|
+
_split
|
|
167
192
|
};
|
|
193
|
+
|
|
194
|
+
// Common Javascript exports
|
|
195
|
+
|
|
196
|
+
// module.exports = {
|
|
197
|
+
// _split:
|
|
198
|
+
// _split
|
|
199
|
+
// };
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name":
|
|
3
3
|
"tmcsplit",
|
|
4
4
|
"version":
|
|
5
|
-
"0.0.
|
|
5
|
+
"0.0.12",
|
|
6
6
|
"description":
|
|
7
7
|
"Basic Javascript implementation of GNU Split.",
|
|
8
8
|
"funding": {
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"crash-js-webpack":
|
|
60
|
-
"^0.0.
|
|
60
|
+
"^0.0.56",
|
|
61
61
|
"eslint":
|
|
62
62
|
"^10.0.3",
|
|
63
63
|
"globals":
|
|
@@ -65,20 +65,20 @@
|
|
|
65
65
|
"@eslint/js":
|
|
66
66
|
"^10.0.1",
|
|
67
67
|
"safely-serve":
|
|
68
|
-
"^0.0.
|
|
68
|
+
"^0.0.14",
|
|
69
69
|
"webpack":
|
|
70
|
-
"^5.
|
|
70
|
+
"^5.109.2",
|
|
71
71
|
"webpack-cli":
|
|
72
|
-
"^
|
|
72
|
+
"^7.2.2"
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
|
-
"
|
|
76
|
-
"
|
|
75
|
+
"libcrash-js":
|
|
76
|
+
"npm:crash-js@^11.1000000000000001.1000000000000001",
|
|
77
77
|
"split-file":
|
|
78
78
|
"npm:@themartiancompany/split-file@2.3.15"
|
|
79
79
|
},
|
|
80
80
|
"type":
|
|
81
|
-
"
|
|
81
|
+
"module",
|
|
82
82
|
"main":
|
|
83
83
|
"libtmcsplit",
|
|
84
84
|
"bin":
|
package/webpack.config.cjs
CHANGED