puvox-library 1.0.65 → 1.0.67
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/library_standard.js +10 -10
- package/package.json +1 -2
package/library_standard.js
CHANGED
@@ -3181,26 +3181,26 @@ const puvox_library =
|
|
3181
3181
|
// }
|
3182
3182
|
// },
|
3183
3183
|
file: {
|
3184
|
-
set_Fs(module) { this.
|
3185
|
-
set_Path(module) { this.
|
3186
|
-
set_Os(module) { this.
|
3184
|
+
set_Fs(module) { this.module_fs = module;},
|
3185
|
+
set_Path(module) { this.module_path = module;},
|
3186
|
+
set_Os(module) { this.module_os = module;},
|
3187
3187
|
fs() {
|
3188
|
-
if(!this.
|
3188
|
+
if(!this.module_fs) {
|
3189
3189
|
throw new Error ('at first, set puvox_library.set_FS(require("fs"))');
|
3190
3190
|
}
|
3191
|
-
return this.
|
3191
|
+
return this.module_fs;
|
3192
3192
|
},
|
3193
3193
|
os() {
|
3194
|
-
if(!this.
|
3194
|
+
if(!this.module_os) {
|
3195
3195
|
throw new Error ('at first, set puvox_library.set_FS(require("os"))');
|
3196
3196
|
}
|
3197
|
-
return this.
|
3197
|
+
return this.module_os;
|
3198
3198
|
},
|
3199
3199
|
path() {
|
3200
|
-
if(!this.
|
3200
|
+
if(!this.module_path) {
|
3201
3201
|
throw new Error ('at first, set puvox_library.set_FS(require("path"))');
|
3202
3202
|
}
|
3203
|
-
return this.
|
3203
|
+
return this.module_path;
|
3204
3204
|
},
|
3205
3205
|
// ends with slash
|
3206
3206
|
tempDir(){ return puvox_library.trailingSlash(this.os().tmpdir()); },
|
@@ -3500,4 +3500,4 @@ if (typeof window != 'undefined') {
|
|
3500
3500
|
window['PuvoxLibrary'] = puvox_library;
|
3501
3501
|
}
|
3502
3502
|
|
3503
|
-
export default puvox_library;
|
3503
|
+
// export default puvox_library;
|