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.
@@ -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: !(this.isBrowser || this.isWebWorker),
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);},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "puvox-library",
3
- "version": "1.0.61",
3
+ "version": "1.0.62",
4
4
  "description": "library-class-javascript",
5
5
  "main": "library_standard.js",
6
6
  "type": "module",