@gjsify/node-gi 0.27.1 → 0.28.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.
package/README.md CHANGED
@@ -721,7 +721,10 @@ property get/set through `org.freedesktop.DBus.Properties`, a throwing method
721
721
  returning a DBus error, `emit_signal`, `emit_property_changed` updating a
722
722
  proxy's cached property, and unexport — runs byte-identical to gjs
723
723
  (`dbus/export-scenario.mjs`, cross-checked against `gjs -m` under
724
- `dbus-run-session` by `npm run test:dbus`). Lifetime: the registration ref+sinks
724
+ `dbus-run-session` by `npm run test:dbus`, which passes
725
+ `--config-file=test/session.conf` — a plain `unix:tmpdir=/tmp` bus, because
726
+ dbus-run-session's DEFAULT config cannot start on macOS, where Homebrew's dbus
727
+ listens on launchd). Lifetime: the registration ref+sinks
725
728
  its closures, so the service object lives exactly as long as the registration
726
729
  (surviving GC with no JS references) and becomes collectable after
727
730
  `unexport()` — guarded by the `--expose-gc` leg of the dbus suite. A method
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gjsify/node-gi",
3
- "version": "0.27.1",
3
+ "version": "0.28.0",
4
4
  "description": "GObject-Introspection runtime for Node.js — load gi:// namespaces (GLib/GObject/Gio/…) with GJS-compatible semantics. Vendored + rewritten from node-gtk under MIT.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -88,7 +88,7 @@
88
88
  "test": "NODE_GI_NATIVE=build node --test",
89
89
  "test:node": "NODE_GI_NATIVE=build node --test",
90
90
  "test:gc": "NODE_GI_NATIVE=build node --test --expose-gc",
91
- "test:dbus": "dbus-run-session -- env NODE_GI_NATIVE=build node --test --expose-gc test/dbus.test.mjs test/dbus-async.test.mjs",
91
+ "test:dbus": "dbus-run-session --config-file=test/session.conf -- env NODE_GI_NATIVE=build node --test --expose-gc test/dbus.test.mjs test/dbus-async.test.mjs",
92
92
  "test:bun": "node scripts/cross-runtime.mjs bun",
93
93
  "test:conformance": "node scripts/conformance.mjs",
94
94
  "test:conformance:gjs-napi": "node scripts/conformance.mjs --runtimes=gjs-napi",
Binary file
Binary file
Binary file