@gjsify/runtime 0.64.19 → 0.64.20
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/lib/types/detect.d.ts +2 -1
- package/package.json +3 -3
package/lib/types/detect.d.ts
CHANGED
|
@@ -36,7 +36,8 @@ export interface RuntimeIdentity {
|
|
|
36
36
|
* 1. `Bun` / `Deno` — the only globals unique to those two. Both fake
|
|
37
37
|
* `process.versions.node` for npm compatibility, so any version-table read
|
|
38
38
|
* before this point is a false Node positive on two of the four runtimes.
|
|
39
|
-
* 2. GJS via `process.versions.gjs`, which only `@gjsify/process`
|
|
39
|
+
* 2. GJS via `process.versions.gjs`, which only `@gjsify/process` and the
|
|
40
|
+
* GJS bundle banner's `process` stub set.
|
|
40
41
|
* 3. GJS via ambient `imports.gi`, but ONLY where there is no `process` at all
|
|
41
42
|
* — a bare GJS program that never pulled the Node globals in. It must not
|
|
42
43
|
* come earlier: `@gjsify/node-gi` provides `imports.gi` ON NODE, so an
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gjsify/runtime",
|
|
3
|
-
"version": "0.64.
|
|
3
|
+
"version": "0.64.20",
|
|
4
4
|
"description": "Platform-independent runtime detection for GJS, Node.js, Bun and Deno",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"gjs",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"test:cross-runtime": "gjsify run build:test:node && gjsify run test:node && gjsify run test:bun && gjsify run test:deno"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@gjsify/cli": "^0.64.
|
|
43
|
-
"@gjsify/unit": "^0.64.
|
|
42
|
+
"@gjsify/cli": "^0.64.20",
|
|
43
|
+
"@gjsify/unit": "^0.64.20",
|
|
44
44
|
"@types/node": "^25.9.2",
|
|
45
45
|
"typescript": "^6.0.3"
|
|
46
46
|
},
|