Skip to content

Commit 70917df

Browse files
authored
chore: pin typescript version (#572)
Pins the typescript version down to 5.7.3, because 5.9.2 throws an ``` Type 'Uint8Array<ArrayBufferLike>' is not assignable to type 'ArrayBuffer'. ```
1 parent 09b5fb7 commit 70917df

File tree

6 files changed

+20
-22
lines changed

6 files changed

+20
-22
lines changed

example/floating-inbox/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@
2727
"@types/react-dom": "^18.2.17",
2828
"vite": "latest",
2929
"vite-preset-react": "latest",
30-
"typescript": "^5.7.3"
30+
"typescript": "5.7.3"
3131
}
3232
}

example/nextjs-webpush/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@
2525
"eslint": "^9",
2626
"eslint-config-next": "15.4.1",
2727
"tailwindcss": "^4",
28-
"typescript": "^5"
28+
"typescript": "5.7.3"
2929
}
3030
}

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,15 @@
103103
"tslib": "^2.8.0",
104104
"tsx": "^4.19.0",
105105
"turbo": "^2.3.1",
106-
"typescript": "^5.7.3",
106+
"typescript": "5.7.3",
107107
"vite": "^5.4.0",
108108
"vite-plugin-banner": "^0.8.0",
109109
"vite-plugin-replace": "^0.1.1",
110110
"vitest": "^3.1.1",
111111
"vitest-github-actions-reporter": "^0.11.1",
112112
"zx": "^8.5.0"
113+
},
114+
"resolutions": {
115+
"typescript": "5.7.3"
113116
}
114117
}

packages/magicbell-js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
},
7373
"devDependencies": {
7474
"@magicbell/codegen": "^0.4.0",
75-
"typescript": "^5.7.3"
75+
"typescript": "5.7.3"
7676
},
7777
"docs": {
7878
"name": "JavaScript SDK"

packages/playground/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"scripts": {
66
"clean": "rimraf .next .turbo",
7-
"build": "next build",
7+
"_build": "next build",
88
"start": "next-remote-watch ./examples"
99
},
1010
"dependencies": {
@@ -15,7 +15,7 @@
1515
"clsx": "^2.1.0",
1616
"glob": "^8.1.0",
1717
"next": "15.4.1",
18-
"next-runtime": "^2.4.1",
18+
"next-runtime": "^2.4.4",
1919
"react": "^18.3.1",
2020
"react-dom": "^18.3.1",
2121
"react-popper": "^2.3.0",

yarn.lock

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3733,9 +3733,9 @@
37333733
integrity sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==
37343734

37353735
"@types/node@^20.17.11":
3736-
version "20.19.10"
3737-
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.19.10.tgz#8bee5d6fa97221d50d767fa5707a3dd6503e8f19"
3738-
integrity sha512-iAFpG6DokED3roLSP0K+ybeDdIX6Bc0Vd3mLW5uDqThPWtNos3E+EqOM11mPQHKzfWHqEBuLjIlsBQQ8CsISmQ==
3736+
version "20.19.11"
3737+
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.19.11.tgz#728cab53092bd5f143beed7fbba7ba99de3c16c4"
3738+
integrity sha512-uug3FEEGv0r+jrecvUUpbY8lLisvIjg6AAic6a2bSP5OEOLeJsDSnvhCDov7ipFFMXS3orMpzlmi0ZcuGkBbow==
37393739
dependencies:
37403740
undici-types "~6.21.0"
37413741

@@ -8438,10 +8438,10 @@ next-remote-watch@^1.0.0:
84388438
commander "^5.0.0"
84398439
express "^4.17.1"
84408440

8441-
next-runtime@^2.4.1:
8442-
version "2.4.3"
8443-
resolved "https://registry.yarnpkg.com/next-runtime/-/next-runtime-2.4.3.tgz#2972d8e40801eb244d29dbb204ad6344f7fa067f"
8444-
integrity sha512-8xH8pNhN2CRhm8WznG9ItumV98ugoUcxkG9bN/wutQSt34re+Uk3nAGIZnvOENZpL1XUA/o3q1suIE/E+YxyPw==
8441+
next-runtime@^2.4.4:
8442+
version "2.4.4"
8443+
resolved "https://registry.yarnpkg.com/next-runtime/-/next-runtime-2.4.4.tgz#f8f6949be62d620e9697bc2099495e70a2f38a4c"
8444+
integrity sha512-sjnZakRzVfW99B7r28QiwhT7qW7Gyb8YF6PS6CHupA9N4K/Z5TFk6nwZ+/uH8X/oiLQUiZodyi37kIMGhsqfhQ==
84458445
dependencies:
84468446
"@types/accepts" "^1"
84478447
"@types/body-parser" "^1"
@@ -10878,15 +10878,10 @@ typed-styles@^0.0.7:
1087810878
resolved "https://registry.yarnpkg.com/typed-styles/-/typed-styles-0.0.7.tgz#93392a008794c4595119ff62dde6809dbc40a3d9"
1087910879
integrity sha512-pzP0PWoZUhsECYjABgCGQlRGL1n7tOHsgwYv3oIiEpJwGhFTuty/YNeduxQYzXXa3Ge5BdT6sHYIQYpl4uJ+5Q==
1088010880

10881-
10882-
version "5.6.1-rc"
10883-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.6.1-rc.tgz#d5e4d7d8170174fed607b74cc32aba3d77018e02"
10884-
integrity sha512-E3b2+1zEFu84jB0YQi9BORDjz9+jGbwwy1Zi3G0LUNw7a7cePUrHMRNy8aPh53nXpkFGVHSxIZo5vKTfYaFiBQ==
10885-
10886-
typescript@^5.5.3, typescript@^5.7.3:
10887-
version "5.9.2"
10888-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.9.2.tgz#d93450cddec5154a2d5cabe3b8102b83316fb2a6"
10889-
integrity sha512-CWBzXQrc/qOkhidw1OzBTQuYRbfyxDXJMVJ1XNwUHGROVmuaeiEm3OslpZ1RV96d7SKKjZKrSJu3+t/xlw3R9A==
10881+
10882+
version "5.7.3"
10883+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.7.3.tgz#919b44a7dbb8583a9b856d162be24a54bf80073e"
10884+
integrity sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==
1089010885

1089110886
ua-parser-js@^0.7.30:
1089210887
version "0.7.40"

0 commit comments

Comments
 (0)