@gjsify/sqlite 0.63.0 → 0.63.1-next.236
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/errors.d.ts +5 -5
- package/package.json +6 -5
package/lib/types/errors.d.ts
CHANGED
|
@@ -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`,
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
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.63.
|
|
3
|
+
"version": "0.63.1-next.236",
|
|
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": "
|
|
43
|
+
"@gjsify/cli": "0.63.1-next.236",
|
|
44
44
|
"@gjsify/node-gi": "file:../../../packages/node-gi/node-gi",
|
|
45
|
-
"@gjsify/unit": "
|
|
45
|
+
"@gjsify/unit": "0.63.1-next.236",
|
|
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": "
|
|
54
|
+
"@gjsify/utils": "0.63.1-next.236"
|
|
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": "d4ae412daabae9cb89f4fa11ee7279a308c9e4be"
|
|
75
76
|
}
|