Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.

Commit 5915702

Browse files
authored
Merge pull request #356 from oae/update_types
chore: update GNOME 48 types
2 parents b4e483b + b76bd20 commit 5915702

File tree

3 files changed

+1005
-1009
lines changed

3 files changed

+1005
-1009
lines changed

package.json

Lines changed: 33 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -38,69 +38,67 @@
3838
},
3939
"engineStrict": true,
4040
"devDependencies": {
41-
"@commitlint/cli": "^19.7.1",
42-
"@commitlint/config-conventional": "^19.7.1",
43-
"@girs/adw-1": "1.7.0-4.0.0-beta.21",
44-
"@girs/clutter-16": "^16.0.0-4.0.0-beta.21",
45-
"@girs/gda-5.0": "5.0.0-4.0.0-beta.21",
46-
"@girs/gda-6.0": "6.0.0-4.0.0-beta.21",
47-
"@girs/gdk-4.0": "4.0.0-4.0.0-beta.21",
48-
"@girs/gdkpixbuf-2.0": "2.0.0-4.0.0-beta.21",
49-
"@girs/gio-2.0": "2.83.3-4.0.0-beta.21",
50-
"@girs/glib-2.0": "2.83.3-4.0.0-beta.21",
51-
"@girs/gnome-shell": "48.0.0-next.2",
52-
"@girs/gobject-2.0": "2.83.3-4.0.0-beta.21",
53-
"@girs/graphene-1.0": "1.0.0-4.0.0-beta.21",
54-
"@girs/gsound-1.0": "1.0.0-4.0.0-beta.21",
55-
"@girs/gtk-4.0": "4.17.5-4.0.0-beta.21",
56-
"@girs/meta-16": "^16.0.0-4.0.0-beta.21",
57-
"@girs/pango-1.0": "1.56.0-4.0.0-beta.21",
58-
"@girs/shell-16": "^16.0.0-4.0.0-beta.21",
59-
"@girs/soup-3.0": "3.6.4-4.0.0-beta.21",
60-
"@girs/st-16": "16.0.0-4.0.0-beta.21",
61-
"@rollup/plugin-commonjs": "^28.0.2",
62-
"@rollup/plugin-node-resolve": "^16.0.0",
41+
"@commitlint/cli": "^19.8.0",
42+
"@commitlint/config-conventional": "^19.8.0",
43+
"@girs/adw-1": "1.8.0-4.0.0-beta.23",
44+
"@girs/clutter-16": "^16.0.0-4.0.0-beta.23",
45+
"@girs/gda-5.0": "5.0.0-4.0.0-beta.23",
46+
"@girs/gda-6.0": "6.0.0-4.0.0-beta.23",
47+
"@girs/gdk-4.0": "4.0.0-4.0.0-beta.23",
48+
"@girs/gdkpixbuf-2.0": "2.0.0-4.0.0-beta.23",
49+
"@girs/gio-2.0": "2.84.0-4.0.0-beta.23",
50+
"@girs/glib-2.0": "2.84.0-4.0.0-beta.23",
51+
"@girs/gnome-shell": "48.0.1",
52+
"@girs/gobject-2.0": "2.84.0-4.0.0-beta.23",
53+
"@girs/graphene-1.0": "1.0.0-4.0.0-beta.23",
54+
"@girs/gsound-1.0": "1.0.0-4.0.0-beta.23",
55+
"@girs/gtk-4.0": "4.18.3-4.0.0-beta.23",
56+
"@girs/meta-16": "^16.0.0-4.0.0-beta.23",
57+
"@girs/pango-1.0": "1.56.4-4.0.0-beta.23",
58+
"@girs/shell-16": "^16.0.0-4.0.0-beta.23",
59+
"@girs/soup-3.0": "3.6.4-4.0.0-beta.23",
60+
"@girs/st-16": "16.0.0-4.0.0-beta.23",
61+
"@rollup/plugin-commonjs": "^28.0.3",
62+
"@rollup/plugin-node-resolve": "^16.0.1",
6363
"@rollup/plugin-typescript": "^12.1.2",
6464
"@tsconfig/strictest": "^2.0.5",
6565
"@types/eslint": "^9.6.1",
66-
"@types/eslint__js": "^8.42.3",
67-
"@types/eslint__eslintrc": "^2.1.2",
6866
"@types/events": "^3.0.3",
6967
"@types/gettext-parser": "^8.0.0",
7068
"@types/highlight.js": "^10.1.0",
7169
"@types/is-url": "^1.2.32",
72-
"@types/jasmine": "^5.1.6",
70+
"@types/jasmine": "^5.1.7",
7371
"@types/prismjs": "^1.26.5",
74-
"@typescript-eslint/eslint-plugin": "^8.24.1",
75-
"@typescript-eslint/parser": "^8.24.1",
76-
"@types/node": "^22.13.4",
72+
"@typescript-eslint/eslint-plugin": "^8.27.0",
73+
"@typescript-eslint/parser": "^8.27.0",
74+
"@types/node": "^22.13.11",
7775
"cross-env": "^7.0.3",
78-
"eslint": "^9.20.1",
79-
"eslint-config-prettier": "^10.0.1",
76+
"eslint": "^9.23.0",
77+
"eslint-config-prettier": "^10.1.1",
8078
"eslint-plugin-prettier": "^5.2.3",
8179
"eslint-plugin-simple-import-sort": "^12.1.1",
8280
"fill-pot-po": "^4.0.2",
8381
"gettext-extractor": "^3.8.0",
8482
"gettext-parser": "^8.0.0",
8583
"glob": "^11.0.1",
8684
"husky": "^9.1.7",
87-
"prettier": "^3.5.1",
88-
"rollup": "^4.34.8",
85+
"prettier": "^3.5.3",
86+
"rollup": "^4.37.0",
8987
"rollup-plugin-cleanup": "^3.2.1",
9088
"rollup-plugin-copy": "^3.5.0",
9189
"rollup-plugin-styler": "^2.0.0",
9290
"ts-node": "^10.9.2",
93-
"typescript": "^5.7.3",
91+
"typescript": "^5.8.2",
9492
"chalk": "4.1.2"
9593
},
9694
"dependencies": {
9795
"date-fns": "^2.30.0",
9896
"hex-color-converter": "^0.2.1",
99-
"highlight.js": "^11.9.0",
97+
"highlight.js": "^11.11.1",
10098
"htmlparser2": "^9.1.0",
10199
"is-url": "^1.2.4",
102100
"pretty-bytes": "^6.1.1",
103-
"prismjs": "^1.29.0",
101+
"prismjs": "^1.30.0",
104102
"validate-color": "https://gitpkg.now.sh/dreamyguy/validate-color/src/validate-color"
105103
},
106104
"packageManager": "yarn@1.22.22"

src/utils/shell_compatibility.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,18 @@ function metaSupportsUnredirectForDisplay() {
2424

2525
// Meta.Cursor.POINTING_HAND was renamed to Meta.Cursor.POINTER in GNOME 48 (Meta 16)
2626

27-
interface NewMetaCursor {
28-
POINTER: Meta.Cursor | null | undefined;
27+
interface LegacyMetaCursor {
28+
POINTING_HAND: Meta.Cursor | null | undefined;
2929
}
3030

3131
export const MetaCursorPointer: Meta.Cursor = (() => {
32-
const pointer = (Meta.Cursor as unknown as NewMetaCursor).POINTER;
32+
const pointer = (Meta.Cursor as unknown as LegacyMetaCursor).POINTING_HAND;
3333

3434
if (pointer !== undefined && pointer !== null) {
3535
return pointer;
3636
}
3737

38-
return Meta.Cursor.POINTING_HAND;
38+
return Meta.Cursor.POINTER;
3939
})();
4040

4141
// actual compatibility functions

0 commit comments

Comments
 (0)