From 333690327f13197b64edc81fb9fe880c3cfe4012 Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Wed, 1 Oct 2025 18:39:38 -0700 Subject: [PATCH 1/2] [node] Update to work with TS 6.0 DOM changes (#73799) --- types/node/url.d.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/types/node/url.d.ts b/types/node/url.d.ts index 157ae84a3b89b1..ba12c4685f8c08 100644 --- a/types/node/url.d.ts +++ b/types/node/url.d.ts @@ -1020,7 +1020,12 @@ declare module "url" { interface URLPatternInit extends _URLPatternInit {} interface URLPatternResult extends _URLPatternResult {} interface URLPattern extends _URLPattern {} - var URLPattern: typeof _URLPattern; + var URLPattern: typeof globalThis extends { + onmessage: any; + scheduler: any; // Must be a var introduced at the same time as URLPattern. + URLPattern: infer T; + } ? T + : typeof _URLPattern; } } declare module "node:url" { From b8ffd3fef428a583acd1875a219623aa4881c58d Mon Sep 17 00:00:00 2001 From: Maximilian Hofmann Date: Thu, 2 Oct 2025 06:51:33 +0200 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#73659=20upgrad?= =?UTF-8?q?e:=20update=20types=20for=20exaroton=201.12.0=20by=20@maxiicode?= =?UTF-8?q?s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/exaroton/exaroton-tests.ts | 2 ++ types/exaroton/index.d.ts | 9 +++++++++ types/exaroton/package.json | 2 +- 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/types/exaroton/exaroton-tests.ts b/types/exaroton/exaroton-tests.ts index 5e6096ca7336bc..b861a066102f01 100644 --- a/types/exaroton/exaroton-tests.ts +++ b/types/exaroton/exaroton-tests.ts @@ -23,6 +23,8 @@ const startServer = async (name: string) => { options.get("max-players")?.setValue(26); options.get("pvp")?.setValue(false); + await myServer.extendStopTime(120); + await config.save(); let pools = await client.getPools(); diff --git a/types/exaroton/index.d.ts b/types/exaroton/index.d.ts index 8925ba9f936662..81a986839c5c00 100644 --- a/types/exaroton/index.d.ts +++ b/types/exaroton/index.d.ts @@ -812,6 +812,15 @@ declare class Server extends EventEmitter { */ executeCommand(command: string): Promise; + /** + * Extend the time until the server automatically stops + * + * @param {number} time + * @return {Promise} + * @throws {RequestError} + */ + extendStopTime(time: number): Promise; + /** * Get the content of the server logs * diff --git a/types/exaroton/package.json b/types/exaroton/package.json index aa97cb7397cda7..faaacd29810b88 100644 --- a/types/exaroton/package.json +++ b/types/exaroton/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@types/exaroton", - "version": "1.11.9999", + "version": "1.12.9999", "projects": [ "https://github.com/exaroton/node-exaroton-api" ],