@ts-for-gir/cli 4.0.0-rc.8 → 4.0.0-rc.9
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/bin/ts-for-gir
CHANGED
|
@@ -7268,7 +7268,7 @@ import { dirname, join } from "node:path";
|
|
|
7268
7268
|
import { fileURLToPath } from "node:url";
|
|
7269
7269
|
function getPackageVersion() {
|
|
7270
7270
|
if (true) {
|
|
7271
|
-
return "4.0.0-rc.
|
|
7271
|
+
return "4.0.0-rc.9";
|
|
7272
7272
|
}
|
|
7273
7273
|
const currentModulePath = fileURLToPath(import.meta.url);
|
|
7274
7274
|
const currentDir = dirname(currentModulePath);
|
|
@@ -8165,7 +8165,7 @@ import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
|
8165
8165
|
var NEW_LINE_REG_EXP = /[\n\r]+/g;
|
|
8166
8166
|
function getPackageVersion2() {
|
|
8167
8167
|
if (true) {
|
|
8168
|
-
return "4.0.0-rc.
|
|
8168
|
+
return "4.0.0-rc.9";
|
|
8169
8169
|
}
|
|
8170
8170
|
try {
|
|
8171
8171
|
const currentModulePath = fileURLToPath2(import.meta.url);
|
|
@@ -15988,7 +15988,10 @@ var IntrospectedFunction = class _IntrospectedFunction extends IntrospectedNames
|
|
|
15988
15988
|
});
|
|
15989
15989
|
}
|
|
15990
15990
|
static filterParameters(parameters, length_params, user_data_params) {
|
|
15991
|
-
return parameters.filter((_, i) => !length_params.includes(i) && !user_data_params.includes(i)).filter((v) =>
|
|
15991
|
+
return parameters.filter((_, i) => !length_params.includes(i) && !user_data_params.includes(i)).filter((v) => {
|
|
15992
|
+
const unwrapped = v.type.unwrap();
|
|
15993
|
+
return !(unwrapped instanceof TypeIdentifier && unwrapped.is("GLib", "DestroyNotify"));
|
|
15994
|
+
});
|
|
15992
15995
|
}
|
|
15993
15996
|
static processOptionalParameters(parameters) {
|
|
15994
15997
|
return parameters.reverse().reduce(
|
|
@@ -27750,7 +27753,7 @@ import { fileURLToPath as fileURLToPath5 } from "node:url";
|
|
|
27750
27753
|
import { i18n, JSX as JSX8, ReflectionKind as ReflectionKind5 } from "typedoc";
|
|
27751
27754
|
function getTsForGirVersion() {
|
|
27752
27755
|
if (true) {
|
|
27753
|
-
return "4.0.0-rc.
|
|
27756
|
+
return "4.0.0-rc.9";
|
|
27754
27757
|
}
|
|
27755
27758
|
const __dirname3 = dirname8(fileURLToPath5(import.meta.url));
|
|
27756
27759
|
return JSON.parse(readFileSync7(join14(__dirname3, "..", "..", "package.json"), "utf8")).version;
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
"typescript": "^6.0.2"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@girs/adw-1": "^1.10.0-4.0.0-rc.
|
|
18
|
-
"@girs/gio-2.0": "^2.88.0-4.0.0-rc.
|
|
19
|
-
"@girs/gjs": "^4.0.0-rc.
|
|
20
|
-
"@girs/glib-2.0": "^2.88.0-4.0.0-rc.
|
|
21
|
-
"@girs/gtk-4.0": "^4.23.0-4.0.0-rc.
|
|
17
|
+
"@girs/adw-1": "^1.10.0-4.0.0-rc.8",
|
|
18
|
+
"@girs/gio-2.0": "^2.88.0-4.0.0-rc.8",
|
|
19
|
+
"@girs/gjs": "^4.0.0-rc.8",
|
|
20
|
+
"@girs/glib-2.0": "^2.88.0-4.0.0-rc.8",
|
|
21
|
+
"@girs/gtk-4.0": "^4.23.0-4.0.0-rc.8"
|
|
22
22
|
}
|
|
23
23
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ts-for-gir/cli",
|
|
3
|
-
"version": "4.0.0-rc.
|
|
3
|
+
"version": "4.0.0-rc.9",
|
|
4
4
|
"description": "TypeScript type definition generator for GObject introspection GIR files",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"module": "src/index.ts",
|
|
@@ -55,14 +55,14 @@
|
|
|
55
55
|
".": "./src/index.ts"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@gi.ts/parser": "^4.0.0-rc.
|
|
59
|
-
"@ts-for-gir/generator-base": "^4.0.0-rc.
|
|
60
|
-
"@ts-for-gir/generator-html-doc": "^4.0.0-rc.
|
|
61
|
-
"@ts-for-gir/generator-json": "^4.0.0-rc.
|
|
62
|
-
"@ts-for-gir/generator-typescript": "^4.0.0-rc.
|
|
63
|
-
"@ts-for-gir/lib": "^4.0.0-rc.
|
|
64
|
-
"@ts-for-gir/reporter": "^4.0.0-rc.
|
|
65
|
-
"@ts-for-gir/tsconfig": "^4.0.0-rc.
|
|
58
|
+
"@gi.ts/parser": "^4.0.0-rc.9",
|
|
59
|
+
"@ts-for-gir/generator-base": "^4.0.0-rc.9",
|
|
60
|
+
"@ts-for-gir/generator-html-doc": "^4.0.0-rc.9",
|
|
61
|
+
"@ts-for-gir/generator-json": "^4.0.0-rc.9",
|
|
62
|
+
"@ts-for-gir/generator-typescript": "^4.0.0-rc.9",
|
|
63
|
+
"@ts-for-gir/lib": "^4.0.0-rc.9",
|
|
64
|
+
"@ts-for-gir/reporter": "^4.0.0-rc.9",
|
|
65
|
+
"@ts-for-gir/tsconfig": "^4.0.0-rc.9",
|
|
66
66
|
"@types/ejs": "^3.1.5",
|
|
67
67
|
"@types/inquirer": "^9.0.9",
|
|
68
68
|
"@types/node": "^25.6.0",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
},
|
|
73
73
|
"dependencies": {
|
|
74
74
|
"@inquirer/prompts": "^8.4.2",
|
|
75
|
-
"@ts-for-gir/templates": "^4.0.0-rc.
|
|
75
|
+
"@ts-for-gir/templates": "^4.0.0-rc.9",
|
|
76
76
|
"colorette": "^2.0.20",
|
|
77
77
|
"cosmiconfig": "^9.0.1",
|
|
78
78
|
"ejs": "^5.0.2",
|