@gjsify/web-globals 0.4.20 → 0.4.22

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.
@@ -1 +1 @@
1
- import{PerformanceObserver as e,performance as t}from"@gjsify/perf_hooks";globalThis.performance===void 0&&(globalThis.performance=t),typeof globalThis.PerformanceObserver!=`function`&&(globalThis.PerformanceObserver=e);
1
+ import{PerformanceObserver as e,performance as t}from"@gjsify/perf_hooks";const n=globalThis;globalThis.performance===void 0&&(n.performance=t),typeof n.PerformanceObserver!=`function`&&(n.PerformanceObserver=e);
@@ -1 +1 @@
1
- import{URL as e,URLSearchParams as t}from"@gjsify/url";import{FormData as n}from"@gjsify/formdata";import{PerformanceObserver as r,performance as i}from"@gjsify/perf_hooks";import"@gjsify/dom-exception/register";import"@gjsify/dom-events/register";import"@gjsify/abort-controller/register";import"@gjsify/web-streams/register";import"@gjsify/compression-streams/register";import"@gjsify/webcrypto/register";import"@gjsify/eventsource/register";import"@gjsify/buffer/register";import"@gjsify/webaudio/register";import"@gjsify/gamepad/register";typeof globalThis.URL!=`function`&&(globalThis.URL=e),typeof globalThis.URLSearchParams!=`function`&&(globalThis.URLSearchParams=t),typeof globalThis.FormData!=`function`&&(globalThis.FormData=n),globalThis.performance===void 0&&(globalThis.performance=i),typeof globalThis.PerformanceObserver!=`function`&&(globalThis.PerformanceObserver=r);
1
+ import{URL as e,URLSearchParams as t}from"@gjsify/url";import{FormData as n}from"@gjsify/formdata";import{PerformanceObserver as r,performance as i}from"@gjsify/perf_hooks";import"@gjsify/dom-exception/register";import"@gjsify/dom-events/register";import"@gjsify/abort-controller/register";import"@gjsify/web-streams/register";import"@gjsify/compression-streams/register";import"@gjsify/webcrypto/register";import"@gjsify/eventsource/register";import"@gjsify/buffer/register";import"@gjsify/webaudio/register";import"@gjsify/gamepad/register";const a=globalThis;typeof globalThis.URL!=`function`&&(a.URL=e),typeof globalThis.URLSearchParams!=`function`&&(a.URLSearchParams=t),typeof globalThis.FormData!=`function`&&(a.FormData=n),globalThis.performance===void 0&&(a.performance=i),typeof a.PerformanceObserver!=`function`&&(a.PerformanceObserver=r);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gjsify/web-globals",
3
- "version": "0.4.20",
3
+ "version": "0.4.22",
4
4
  "description": "Unified Web API globals for GJS — single import for all Web standard polyfills",
5
5
  "module": "lib/esm/index.js",
6
6
  "types": "lib/types/index.d.ts",
@@ -45,24 +45,24 @@
45
45
  "web-apis"
46
46
  ],
47
47
  "dependencies": {
48
- "@gjsify/abort-controller": "^0.4.20",
49
- "@gjsify/buffer": "^0.4.20",
50
- "@gjsify/compression-streams": "^0.4.20",
51
- "@gjsify/dom-events": "^0.4.20",
52
- "@gjsify/dom-exception": "^0.4.20",
53
- "@gjsify/eventsource": "^0.4.20",
54
- "@gjsify/formdata": "^0.4.20",
55
- "@gjsify/gamepad": "^0.4.20",
56
- "@gjsify/perf_hooks": "^0.4.20",
57
- "@gjsify/url": "^0.4.20",
58
- "@gjsify/web-streams": "^0.4.20",
59
- "@gjsify/webaudio": "^0.4.20",
60
- "@gjsify/webcrypto": "^0.4.20"
48
+ "@gjsify/abort-controller": "^0.4.22",
49
+ "@gjsify/buffer": "^0.4.22",
50
+ "@gjsify/compression-streams": "^0.4.22",
51
+ "@gjsify/dom-events": "^0.4.22",
52
+ "@gjsify/dom-exception": "^0.4.22",
53
+ "@gjsify/eventsource": "^0.4.22",
54
+ "@gjsify/formdata": "^0.4.22",
55
+ "@gjsify/gamepad": "^0.4.22",
56
+ "@gjsify/perf_hooks": "^0.4.22",
57
+ "@gjsify/url": "^0.4.22",
58
+ "@gjsify/web-streams": "^0.4.22",
59
+ "@gjsify/webaudio": "^0.4.22",
60
+ "@gjsify/webcrypto": "^0.4.22"
61
61
  },
62
62
  "devDependencies": {
63
- "@gjsify/cli": "^0.4.20",
64
- "@gjsify/unit": "^0.4.20",
65
- "@types/node": "^25.6.2",
63
+ "@gjsify/cli": "^0.4.22",
64
+ "@gjsify/unit": "^0.4.22",
65
+ "@types/node": "^25.9.1",
66
66
  "typescript": "^6.0.3"
67
67
  }
68
68
  }