@gjsify/sqlite 0.62.0 → 0.63.1-next.235

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.
@@ -37,11 +37,11 @@ export declare class IllegalConstructorError extends TypeError {
37
37
  * translates libgda's must let it through untouched.
38
38
  *
39
39
  * **The discriminator cannot be `instanceof Error`.** libgda reports through
40
- * `GLib.Error`, and that is a boxed GObject value under GJS but a real `Error`
41
- * SUBCLASS under `@gjsify/node-gi` (`class GLibError extends Error` in its `gi.js`)
42
- * — the bridge that runs this very package's suite on Node. An `instanceof Error`
43
- * test would therefore wrap on one host and pass the raw GError through on the
44
- * other, and the leg that disagreed is the one nobody runs locally.
40
+ * `GLib.Error`, which is a boxed GObject value whose prototype chain does NOT reach
41
+ * `Error.prototype` — on GJS and, since the GError identity fix, on `@gjsify/node-gi`
42
+ * too. It used to be a real `Error` subclass there, so an `instanceof Error` test
43
+ * wrapped on one host and passed the raw GError through on the other; it now agrees on
44
+ * both, and listing the Node-shaped errors by name keeps it agreeing if either moves.
45
45
  */
46
46
  export declare function isNodeSqliteError(cause: unknown): boolean;
47
47
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gjsify/sqlite",
3
- "version": "0.62.0",
3
+ "version": "0.63.1-next.235",
4
4
  "description": "Node.js sqlite module for Gjs using libgda",
5
5
  "type": "module",
6
6
  "module": "lib/esm/index.js",
@@ -40,9 +40,9 @@
40
40
  "libgda"
41
41
  ],
42
42
  "devDependencies": {
43
- "@gjsify/cli": "^0.62.0",
43
+ "@gjsify/cli": "0.63.1-next.235",
44
44
  "@gjsify/node-gi": "file:../../../packages/node-gi/node-gi",
45
- "@gjsify/unit": "^0.62.0",
45
+ "@gjsify/unit": "0.63.1-next.235",
46
46
  "@types/node": "^25.9.2",
47
47
  "typescript": "^6.0.3"
48
48
  },
@@ -51,7 +51,7 @@
51
51
  "@girs/gio-2.0": "5.4.0",
52
52
  "@girs/glib-2.0": "5.4.0",
53
53
  "@girs/gobject-2.0": "5.4.0",
54
- "@gjsify/utils": "^0.62.0"
54
+ "@gjsify/utils": "0.63.1-next.235"
55
55
  },
56
56
  "gjsify": {
57
57
  "runtimes": {
@@ -71,5 +71,6 @@
71
71
  "bugs": {
72
72
  "url": "https://github.com/gjsify/gjsify/issues"
73
73
  },
74
- "homepage": "https://github.com/gjsify/gjsify/tree/main/packages/node/sqlite#readme"
74
+ "homepage": "https://github.com/gjsify/gjsify/tree/main/packages/node/sqlite#readme",
75
+ "gitHead": "9d2cca56170a0215b3e0792e98421ed1f83e7f72"
75
76
  }