@gjsify/unit 0.41.0 → 0.43.0

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.
@@ -27,14 +27,20 @@ export declare function canRealizeSurface(os: TargetOs | undefined, env: Display
27
27
  *
28
28
  * STRICTLY narrower than {@link canRealizeSurface}, and the reason the two carry
29
29
  * different names. macOS has a window server without `DISPLAY`, so it passes the
30
- * surface gate — but CGL caps out at GL 4.1 while WebGL2 content needs
31
- * `#version 300 es` (ARB_ES3_compatibility, core in GL 4.3), which the driver
32
- * refuses outright. Answering the GL question with the surface answer turns macOS
33
- * red for a reason the WebGL suite does not own; answering the surface question
34
- * with the GL answer is what kept darwin silent. win32 is excluded for the
35
- * measured reason in #1097: the bundled GTK resolves epoxy with no GL
30
+ * surface gate — but no CI leg has ever realized a GL context there: every darwin
31
+ * GL measurement in `status/open-todos.md` was taken by hand on the test VM, with
32
+ * `DYLD_LIBRARY_PATH` exported by the operator, because the `Gtk-4.0` typelib's
33
+ * bare `libgtk-4.1.dylib` leaf does not otherwise resolve on that host (#973). So
34
+ * the darwin answer is unknown, not no. Answering the GL question with the surface
35
+ * answer turns macOS red for a reason the WebGL suite does not own; answering the
36
+ * surface question with the GL answer is what kept darwin silent. win32 is excluded
37
+ * for the measured reason in #1097: the bundled GTK resolves epoxy with no GL
36
38
  * implementation behind it.
37
39
  *
40
+ * The GL 4.1 ceiling is NOT a reason to exclude darwin any more — `shaderSource()`
41
+ * rewrites `#version 300 es` for a desktop context without ARB_ES3_compatibility,
42
+ * and WebGL2 content draws there (measured, macOS 15.7.9 / GL 4.1 core).
43
+ *
38
44
  * Widen this the day a leg proves the context — not the day it seems plausible.
39
45
  */
40
46
  export declare function canRealizeGl(os: TargetOs | undefined, env: DisplayEnv): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gjsify/unit",
3
- "version": "0.41.0",
3
+ "version": "0.43.0",
4
4
  "description": "A BDD-style testing framework for Gjs",
5
5
  "module": "lib/esm/index.js",
6
6
  "types": "lib/types/index.d.ts",
@@ -32,7 +32,8 @@
32
32
  },
33
33
  "repository": {
34
34
  "type": "git",
35
- "url": "git+https://github.com/gjsify/unit.git"
35
+ "url": "git+https://github.com/gjsify/gjsify.git",
36
+ "directory": "packages/gjs/unit"
36
37
  },
37
38
  "keywords": [
38
39
  "gjs",
@@ -49,22 +50,22 @@
49
50
  "devDependencies": {
50
51
  "@girs/gjs": "^4.1.0",
51
52
  "@girs/glib-2.0": "^4.1.0",
52
- "@gjsify/cli": "^0.41.0",
53
+ "@gjsify/cli": "^0.43.0",
53
54
  "@types/node": "^25.9.2",
54
55
  "typescript": "^6.0.3"
55
56
  },
56
57
  "dependencies": {
57
- "@gjsify/abort-controller": "^0.41.0",
58
- "@gjsify/assert": "^0.41.0",
59
- "@gjsify/buffer": "^0.41.0",
60
- "@gjsify/dom-elements": "^0.41.0",
61
- "@gjsify/dom-exception": "^0.41.0",
62
- "@gjsify/node-globals": "^0.41.0",
63
- "@gjsify/process": "^0.41.0",
64
- "@gjsify/runtime": "^0.41.0",
65
- "@gjsify/utils": "^0.41.0",
66
- "@gjsify/web-globals": "^0.41.0",
67
- "@gjsify/web-streams": "^0.41.0"
58
+ "@gjsify/abort-controller": "^0.43.0",
59
+ "@gjsify/assert": "^0.43.0",
60
+ "@gjsify/buffer": "^0.43.0",
61
+ "@gjsify/dom-elements": "^0.43.0",
62
+ "@gjsify/dom-exception": "^0.43.0",
63
+ "@gjsify/node-globals": "^0.43.0",
64
+ "@gjsify/process": "^0.43.0",
65
+ "@gjsify/runtime": "^0.43.0",
66
+ "@gjsify/utils": "^0.43.0",
67
+ "@gjsify/web-globals": "^0.43.0",
68
+ "@gjsify/web-streams": "^0.43.0"
68
69
  },
69
70
  "gjsify": {
70
71
  "tier": 1,