Skip to content

Commit d60b47c

Browse files
committed
Update Source packages and TS version
1 parent 39f3608 commit d60b47c

3 files changed

Lines changed: 492 additions & 525 deletions

File tree

dotcom-rendering/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
"@guardian/ophan-tracker-js": "2.8.0",
4242
"@guardian/react-crossword": "11.1.0",
4343
"@guardian/shimport": "1.0.2",
44-
"@guardian/source": "11.3.0",
45-
"@guardian/source-development-kitchen": "18.1.1",
44+
"@guardian/source": "12.2.0",
45+
"@guardian/source-development-kitchen": "23.0.0",
4646
"@guardian/support-dotcom-components": "8.3.1",
4747
"@guardian/tsconfig": "0.2.0",
4848
"@playwright/test": "1.58.0",
@@ -151,10 +151,10 @@
151151
"trusted-types": "2.0.0",
152152
"ts-loader": "9.5.4",
153153
"ts-unused-exports": "10.1.0",
154-
"tslib": "2.6.2",
154+
"tslib": "2.8.1",
155155
"tsx": "4.6.2",
156156
"type-fest": "4.21.0",
157-
"typescript": "5.5.3",
157+
"typescript": "5.9.3",
158158
"typescript-json-schema": "0.64.0",
159159
"unified": "11.0.5",
160160
"valibot": "0.28.1",

dotcom-rendering/scripts/jest/setup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ if (!isServer) {
107107
* DOM and NodeJS versions of `TextDecoder`. This affect the running of the application and
108108
* allows us to update jsdom.
109109
*/
110-
global.TextEncoder = TextEncoder;
110+
global.TextEncoder = TextEncoder as unknown as typeof global.TextEncoder;
111111
global.TextDecoder = TextDecoder as unknown as typeof global.TextDecoder;
112112

113113
// Mocks the version number used by CDK, we don't want our tests to fail every time we update our cdk dependency.

0 commit comments

Comments
 (0)