puvox-library 1.0.61 → 1.0.62
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 +2 -1
- package/package.json +1 -1
package/library_standard.js
CHANGED
@@ -3456,7 +3456,8 @@ const puvox_library =
|
|
3456
3456
|
isElectron: typeof process !== 'undefined' && typeof process.versions !== 'undefined' && typeof process.versions.electron !== 'undefined',
|
3457
3457
|
isWebWorker: typeof WorkerGlobalScope !== 'undefined' && (self instanceof WorkerGlobalScope),
|
3458
3458
|
isWindows: typeof process !== 'undefined' && process.platform === "win32",
|
3459
|
-
isNode
|
3459
|
+
// isNode when it's not browser, neither webworker
|
3460
|
+
isNode: typeof window === 'undefined' && !(typeof WorkerGlobalScope !== 'undefined' && (self instanceof WorkerGlobalScope)),
|
3460
3461
|
defaultFetch: fetch,
|
3461
3462
|
//string
|
3462
3463
|
uuid (a) { return a ? (a ^ Math.random () * 16 >> a / 4).toString (16) : ([1e7]+-1e3+-4e3+-8e3+-1e11).replace (/[018]/g, uuid);},
|