From 42add34ec8dca2c400cc9555ca472d7e61d34296 Mon Sep 17 00:00:00 2001 From: Matthew Pietz Date: Tue, 2 Sep 2025 22:08:45 -0700 Subject: [PATCH 01/15] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#73575=20[mss?= =?UTF-8?q?ql]=20Add=20`getTypeByValue`=20by=20@sirlancelot?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/mssql/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/mssql/index.d.ts b/types/mssql/index.d.ts index a4c9a8313859d9..27afb14bcfecee 100644 --- a/types/mssql/index.d.ts +++ b/types/mssql/index.d.ts @@ -121,6 +121,8 @@ export declare var TYPES: { Variant: ISqlTypeFactoryWithNoParams; }; +export declare function getTypeByValue(value: unknown): ISqlType; + export declare var MAX: number; export declare var fix: boolean; export declare var Promise: any; From 91f69a170adf322188e3ff7a2d47fbbd880e5d13 Mon Sep 17 00:00:00 2001 From: Mykyta <114003900+Nikita0x@users.noreply.github.com> Date: Wed, 3 Sep 2025 08:10:03 +0300 Subject: [PATCH 02/15] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#73556=20[@ty?= =?UTF-8?q?pes/facebook-nodejs-business-sdk]:=20added=20LooseAutocomplete?= =?UTF-8?q?=20for=20ServerEvents=20by=20@Nikita0x?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/objects/serverside/server-event.d.ts | 11 ++++---- .../objects/serverside/standard-events.d.ts | 26 +++++++++++++++++++ 2 files changed, 32 insertions(+), 5 deletions(-) create mode 100644 types/facebook-nodejs-business-sdk/src/objects/serverside/standard-events.d.ts diff --git a/types/facebook-nodejs-business-sdk/src/objects/serverside/server-event.d.ts b/types/facebook-nodejs-business-sdk/src/objects/serverside/server-event.d.ts index 73198d79b4e312..2561a455c9a82d 100644 --- a/types/facebook-nodejs-business-sdk/src/objects/serverside/server-event.d.ts +++ b/types/facebook-nodejs-business-sdk/src/objects/serverside/server-event.d.ts @@ -3,12 +3,13 @@ import AttributionData from "./attribution-data"; import CustomData from "./custom-data"; import OriginalEventData from "./original-event-data"; import UserData from "./user-data"; +import type {StandardEvents} from './standard-events' /** * ServerEvent * @see {@link https://developers.facebook.com/docs/marketing-api/conversions-api/parameters/server-event} */ export default class ServerEvent { - _event_name: string; + _event_name: StandardEvents; _event_time: number; _event_source_url: string; _event_id: string; @@ -43,21 +44,21 @@ export default class ServerEvent { * @param {OriginalEventData} original_event_data Contains original event info used for attribution passback event or generalized value optimization(GVO). * @param {AttributionData} attribution_data Used for attribution passback event to optimize the performance. */ - constructor(event_name?: string, event_time?: number, event_source_url?: string, user_data?: UserData, custom_data?: CustomData, app_data?: AppData, event_id?: string, opt_out?: boolean, action_source?: string, data_processing_options?: string[], data_processing_options_country?: number, data_processing_options_state?: number, advanced_measurement_table?: string, advertiser_tracking_enabled?: boolean, messaging_channel?: string, original_event_data?: OriginalEventData, attribution_data?: AttributionData); + constructor(event_name?: StandardEvents, event_time?: number, event_source_url?: string, user_data?: UserData, custom_data?: CustomData, app_data?: AppData, event_id?: string, opt_out?: boolean, action_source?: string, data_processing_options?: string[], data_processing_options_country?: number, data_processing_options_state?: number, advanced_measurement_table?: string, advertiser_tracking_enabled?: boolean, messaging_channel?: string, original_event_data?: OriginalEventData, attribution_data?: AttributionData); /** * Gets the Event Name for the current Event. */ - get event_name(): string; + get event_name(): StandardEvents; /** * Sets the Event Name for the current Event. * @param {String} event_name a Facebook pixel Standard Event or Custom Event name. */ - set event_name(event_name: string); + set event_name(event_name: StandardEvents); /** * Sets the Event Name for the current Event. * @param {String} event_name Facebook pixel Standard Event or Custom Event name. */ - setEventName(event_name: string): ServerEvent; + setEventName(event_name: StandardEvents): ServerEvent; /** * Gets the Event Time when the current Event happened. */ diff --git a/types/facebook-nodejs-business-sdk/src/objects/serverside/standard-events.d.ts b/types/facebook-nodejs-business-sdk/src/objects/serverside/standard-events.d.ts new file mode 100644 index 00000000000000..4430bfc45213b9 --- /dev/null +++ b/types/facebook-nodejs-business-sdk/src/objects/serverside/standard-events.d.ts @@ -0,0 +1,26 @@ +/** + * StandardEvents + * + * Represents the standard Facebook Pixel events. Allows any string but provides autocomplete for known standard events. + * + * Reference: https://developers.facebook.com/docs/meta-pixel/reference + */ +export type StandardEvents = + | "AddPaymentInfo" + | "AddToCart" + | "AddToWishlist" + | "CompleteRegistration" + | "Contact" + | "CustomizeProduct" + | "Donate" + | "FindLocation" + | "InitiateCheckout" + | "Lead" + | "Purchase" + | "Schedule" + | "Search" + | "StartTrial" + | "SubmitApplication" + | "Subscribe" + | "ViewContent" + | (string & {}); From 71c9d498fbfa76f575a18f38d43e3e83b5195f5b Mon Sep 17 00:00:00 2001 From: Filip Skokan Date: Wed, 3 Sep 2025 07:24:37 +0200 Subject: [PATCH 03/15] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#73577=20[oid?= =?UTF-8?q?c-provider]=20v9.5.0=20bump=20by=20@panva?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/oidc-provider/index.d.ts | 20 +++++++++++++++ types/oidc-provider/oidc-provider-tests.ts | 30 +++++++++++++++++----- types/oidc-provider/package.json | 2 +- 3 files changed, 45 insertions(+), 7 deletions(-) diff --git a/types/oidc-provider/index.d.ts b/types/oidc-provider/index.d.ts index 7e8030f962c350..7119b0885dd77e 100644 --- a/types/oidc-provider/index.d.ts +++ b/types/oidc-provider/index.d.ts @@ -42,6 +42,8 @@ export interface JWK { q?: string | undefined; qi?: string | undefined; use?: string | undefined; + pub?: string | undefined; + priv?: string | undefined; x?: string | undefined; y?: string | undefined; } @@ -1044,6 +1046,13 @@ export interface Configuration { revocation?: | { enabled?: boolean | undefined; + allowedPolicy?: + | (( + ctx: KoaContextWithOIDC, + client: Client, + token: AccessToken | ClientCredentials | RefreshToken, + ) => CanBePromise) + | undefined; } | undefined; @@ -1287,6 +1296,13 @@ export interface Configuration { /* experimental features are mostly explicit any */ [key: string]: any; } | undefined; + + attestClientAuth?: { + enabled?: boolean | undefined; + ack?: string | undefined; + /* experimental features are mostly explicit any */ + [key: string]: any; + }; } | undefined; @@ -1445,6 +1461,9 @@ export type AsymmetricSigningAlgorithm = | "RS256" | "RS384" | "RS512" + | "ML-DSA-44" + | "ML-DSA-65" + | "ML-DSA-87" | "EdDSA"; export type SymmetricSigningAlgorithm = "HS256" | "HS384" | "HS512"; export type SigningAlgorithm = AsymmetricSigningAlgorithm | SymmetricSigningAlgorithm; @@ -2371,6 +2390,7 @@ export class ExternalSigningKey { get kid(): string | undefined; get kty(): string; get n(): string | undefined; + get pub(): string | undefined; get use(): "sig"; get x(): string | undefined; get x5c(): string[] | undefined; diff --git a/types/oidc-provider/oidc-provider-tests.ts b/types/oidc-provider/oidc-provider-tests.ts index fe16d9a71441b7..0588acc8483cff 100644 --- a/types/oidc-provider/oidc-provider-tests.ts +++ b/types/oidc-provider/oidc-provider-tests.ts @@ -124,6 +124,24 @@ const jwks: oidc.JWKS = { new oidc.Provider("https://op.example.com", { jwks }); +new oidc.Provider("https://op.example.com", { + features: { + revocation: { + enabled: true, + allowedPolicy( + ctx: oidc.KoaContextWithOIDC, + client: oidc.Client, + token: oidc.AccessToken | oidc.ClientCredentials | oidc.RefreshToken, + ) { + ctx.oidc.issuer.substring(0); + token.jti.substring(0); + client.clientId.substring(0); + return true; + }, + }, + }, +}); + new oidc.Provider("https://op.example.com", { features: { mTLS: { @@ -560,12 +578,12 @@ const provider = new oidc.Provider("https://op.example.com", { }, }, enabledJWA: { - clientAuthSigningAlgValues: ["HS256", "RS256", "PS256", "ES256", "EdDSA"], - idTokenSigningAlgValues: ["HS256", "RS256", "PS256", "ES256", "EdDSA"], - requestObjectSigningAlgValues: ["HS256", "RS256", "PS256", "ES256", "EdDSA"], - userinfoSigningAlgValues: ["HS256", "RS256", "PS256", "ES256", "EdDSA"], - introspectionSigningAlgValues: ["HS256", "RS256", "PS256", "ES256", "EdDSA"], - authorizationSigningAlgValues: ["HS256", "RS256", "PS256", "ES256", "EdDSA"], + clientAuthSigningAlgValues: ["HS256", "RS256", "PS256", "ES256", "EdDSA", "ML-DSA-44"], + idTokenSigningAlgValues: ["HS256", "RS256", "PS256", "ES256", "EdDSA", "ML-DSA-44"], + requestObjectSigningAlgValues: ["HS256", "RS256", "PS256", "ES256", "EdDSA", "ML-DSA-44"], + userinfoSigningAlgValues: ["HS256", "RS256", "PS256", "ES256", "EdDSA", "ML-DSA-44"], + introspectionSigningAlgValues: ["HS256", "RS256", "PS256", "ES256", "EdDSA", "ML-DSA-44"], + authorizationSigningAlgValues: ["HS256", "RS256", "PS256", "ES256", "EdDSA", "ML-DSA-44"], idTokenEncryptionAlgValues: ["A128KW", "A256KW", "ECDH-ES", "ECDH-ES+A128KW", "ECDH-ES+A256KW", "RSA-OAEP"], requestObjectEncryptionAlgValues: [ "A128KW", diff --git a/types/oidc-provider/package.json b/types/oidc-provider/package.json index af375b16cd24d7..25b583c238eed0 100644 --- a/types/oidc-provider/package.json +++ b/types/oidc-provider/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@types/oidc-provider", - "version": "9.1.9999", + "version": "9.5.9999", "projects": [ "https://github.com/panva/node-oidc-provider" ], From 2ccd449c7476a389c075e1026be9940994e96c38 Mon Sep 17 00:00:00 2001 From: "Pt. Prashant tripathi" <26687933+PtPrashantTripathi@users.noreply.github.com> Date: Wed, 3 Sep 2025 11:06:04 +0530 Subject: [PATCH 04/15] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#73505=20feat?= =?UTF-8?q?(Emscripten):=20Add=20BigInt=20support=20to=20type=20definition?= =?UTF-8?q?s=20by=20@PtPrashantTripathi?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/emscripten/emscripten-tests.ts | 7 +++++++ types/emscripten/index.d.ts | 16 +++++++++++++--- types/emscripten/package.json | 6 +++++- types/emscripten/tsconfig.json | 2 +- 4 files changed, 26 insertions(+), 5 deletions(-) diff --git a/types/emscripten/emscripten-tests.ts b/types/emscripten/emscripten-tests.ts index 0e17b0c70ff622..06f7c5e43690a5 100644 --- a/types/emscripten/emscripten-tests.ts +++ b/types/emscripten/emscripten-tests.ts @@ -51,6 +51,13 @@ function ModuleTest(): void { Module.cwrap("my_function", null, ["number"]); Module.cwrap("my_function", "string", ["number", "boolean", "array"], { async: true }); Module._free(buf); + + // big int test case + const bigint_buf = Module._malloc(8); // size of i64 = 8 + Module.setValue(bigint_buf, 1000000000000000000n, "i64"); + const bigintX = Module.getValue(bigint_buf, "i64") + 100n; + Module._free(bigint_buf); + Module.destroy({}); } diff --git a/types/emscripten/index.d.ts b/types/emscripten/index.d.ts index 0af2e4a03674f4..0b9ab6b90d8e10 100644 --- a/types/emscripten/index.d.ts +++ b/types/emscripten/index.d.ts @@ -10,7 +10,7 @@ declare namespace Emscripten { } type EnvironmentType = "WEB" | "NODE" | "SHELL" | "WORKER"; - type JSType = "number" | "string" | "array" | "boolean"; + type JSType = "number" | "string" | "array" | "boolean" | "bigint"; type TypeCompatibleWithC = number | string | any[] | boolean; type CIntType = "i8" | "i16" | "i32" | "i64"; @@ -377,6 +377,7 @@ type StringToType = R extends Emscripten.JSType ? { string: string; array: number[] | string[] | boolean[] | Uint8Array | Int8Array; boolean: boolean; + bigint: bigint; null: null; }[R] : never; @@ -419,8 +420,17 @@ declare function ccall | [], R extends opts?: Emscripten.CCallOpts, ): ReturnToType; -declare function setValue(ptr: number, value: any, type: Emscripten.CType, noSafe?: boolean): void; -declare function getValue(ptr: number, type: Emscripten.CType, noSafe?: boolean): number; +declare function setValue( + ptr: number, + value: T extends "i64" | "i64*" ? bigint : number, + type: T, + noSafe?: boolean, +): void; +declare function getValue( + ptr: number, + type: T, + noSafe?: boolean, +): T extends "i64" | "i64*" ? bigint : number; declare function allocate( slab: number[] | ArrayBufferView | number, diff --git a/types/emscripten/package.json b/types/emscripten/package.json index 3bdabd93eb6834..0ae29154c88882 100644 --- a/types/emscripten/package.json +++ b/types/emscripten/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@types/emscripten", - "version": "1.40.9999", + "version": "1.41.9999", "projects": [ "https://emscripten.org" ], @@ -26,6 +26,10 @@ { "name": "Louis DeScioli", "githubUsername": "lourd" + }, + { + "name": "Pt. Prashant Tripathi", + "githubUsername": "ptprashanttripathi" } ] } diff --git a/types/emscripten/tsconfig.json b/types/emscripten/tsconfig.json index 0215002eab7cb7..265e26c35b2807 100644 --- a/types/emscripten/tsconfig.json +++ b/types/emscripten/tsconfig.json @@ -1,8 +1,8 @@ { "compilerOptions": { + "target": "es2020", "module": "commonjs", "lib": [ - "es6", "es2020", "dom" ], From 0ddec5a163a8a5f08a66205541ccfab62a88cad6 Mon Sep 17 00:00:00 2001 From: AliReza Seyfpour <39882738+aseyfpour@users.noreply.github.com> Date: Wed, 3 Sep 2025 09:50:42 +0330 Subject: [PATCH 05/15] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#73576=20[val?= =?UTF-8?q?idator]=20add=20padding=20option=20to=20base64=20options=20by?= =?UTF-8?q?=20@aseyfpour?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Alex S <49695018+alexs-mparticle@users.noreply.github.com> Co-authored-by: TypeScript Bot --- types/validator/index.d.ts | 5 +++++ types/validator/validator-tests.ts | 12 ++++++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/types/validator/index.d.ts b/types/validator/index.d.ts index c7dca202a47b2a..5988c9e3b7b331 100644 --- a/types/validator/index.d.ts +++ b/types/validator/index.d.ts @@ -217,6 +217,11 @@ declare namespace validator { * @default false */ urlSafe?: boolean | undefined; + + /** + * @default !urlSafe + */ + padding?: boolean | undefined; } /** diff --git a/types/validator/validator-tests.ts b/types/validator/validator-tests.ts index 7aa4e4cd35dea9..500a552f11ccab 100644 --- a/types/validator/validator-tests.ts +++ b/types/validator/validator-tests.ts @@ -641,9 +641,17 @@ const any: any = null; result = validator.isAscii("sample"); isBase58Func("sample"); // $ExpectType boolean - const isBase64Options: validator.IsBase64Options = {}; + result = validator.isBase64("sample"); - result = validator.isBase64("sample", isBase64Options); + result = validator.isBase64("sample", {}); + result = validator.isBase64("sample", { urlSafe: false }); + result = validator.isBase64("sample", { urlSafe: true }); + result = validator.isBase64("sample", { padding: false }); + result = validator.isBase64("sample", { padding: true }); + result = validator.isBase64("sample", { urlSafe: false, padding: false }); + result = validator.isBase64("sample", { urlSafe: false, padding: true }); + result = validator.isBase64("sample", { urlSafe: true, padding: false }); + result = validator.isBase64("sample", { urlSafe: true, padding: true }); result = validator.isBefore("sample"); result = validator.isBefore("sample", new Date().toString()); From 34ec5bb55c8c5d28c35d4e3d1013a7363eece5f3 Mon Sep 17 00:00:00 2001 From: diogopxrnextday <159882035+diogopxrnextday@users.noreply.github.com> Date: Wed, 3 Sep 2025 07:41:40 +0100 Subject: [PATCH 06/15] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#73597=20Add?= =?UTF-8?q?=20setBettingCookie=20method=20to=20OneLine=20interface=20by=20?= =?UTF-8?q?@diogopxrnextday?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/pxr-oneline/index.d.ts | 1 + types/pxr-oneline/oneline-tests.ts | 9 +++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/types/pxr-oneline/index.d.ts b/types/pxr-oneline/index.d.ts index d761aa927e02f9..b31ba4936ed603 100644 --- a/types/pxr-oneline/index.d.ts +++ b/types/pxr-oneline/index.d.ts @@ -30,6 +30,7 @@ declare namespace OneLine { * @param adUnitIds - Array of ad unit IDs to request */ requestSpecificAdUnits(adUnitIds: string[]): void; + setBettingCookie(betting: boolean): void; } interface VideoCustomParameters { [key: string]: number | string | undefined; diff --git a/types/pxr-oneline/oneline-tests.ts b/types/pxr-oneline/oneline-tests.ts index de42115c71410c..53cbb4ab4c0e3c 100644 --- a/types/pxr-oneline/oneline-tests.ts +++ b/types/pxr-oneline/oneline-tests.ts @@ -1,5 +1,4 @@ -import * as OneLine from "pxr-oneline"; - +import * as OneLine from "pxr-oneline" interface BidderParams { placementId: string; } @@ -123,6 +122,11 @@ const ndOne: OneLine.OneLine = { requestSpecificAdUnits: function(adUnitIds: string[]) { this.adUnitRequest(adUnitIds, false); }, + + setBettingCookie: function(betting: boolean) { + // Mock implementation for setBettingCookie + this.setBettingCookie(betting); + } }; // Test cases @@ -133,3 +137,4 @@ ndOne.buildVideoUrl([{ bidder: "testBidder", params: { placementId: "testPlaceme ndOne.requestVideoPlayerAds(() => { console.log("Video player ads bidding complete"); }); +ndOne.setBettingCookie(true); From 42a2e7e8b2d1ff20271ef3049410a43c35ffff10 Mon Sep 17 00:00:00 2001 From: TypeScript Bot Date: Wed, 3 Sep 2025 06:42:12 +0000 Subject: [PATCH 07/15] =?UTF-8?q?=F0=9F=A4=96=20dprint=20fmt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/pxr-oneline/oneline-tests.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/pxr-oneline/oneline-tests.ts b/types/pxr-oneline/oneline-tests.ts index 53cbb4ab4c0e3c..b7714342ad1503 100644 --- a/types/pxr-oneline/oneline-tests.ts +++ b/types/pxr-oneline/oneline-tests.ts @@ -1,4 +1,4 @@ -import * as OneLine from "pxr-oneline" +import * as OneLine from "pxr-oneline"; interface BidderParams { placementId: string; } @@ -126,7 +126,7 @@ const ndOne: OneLine.OneLine = { setBettingCookie: function(betting: boolean) { // Mock implementation for setBettingCookie this.setBettingCookie(betting); - } + }, }; // Test cases From 0238d08d417b93cc2cfc72f789705f8b5d03a8ec Mon Sep 17 00:00:00 2001 From: changsun Date: Wed, 3 Sep 2025 15:56:41 +0900 Subject: [PATCH 08/15] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#73562=20[tiz?= =?UTF-8?q?en-tv-webapis]=20add=20missing=20types=20for=20AvInfoManager=20?= =?UTF-8?q?and=20ProductInfo=20by=20@ckdtjs505?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 소니아_오창선 --- types/tizen-tv-webapis/index.d.ts | 149 ++++++++++++++++++++++++++++++ 1 file changed, 149 insertions(+) diff --git a/types/tizen-tv-webapis/index.d.ts b/types/tizen-tv-webapis/index.d.ts index 4fe7ae2015e9bb..f00c9ef9ba800e 100644 --- a/types/tizen-tv-webapis/index.d.ts +++ b/types/tizen-tv-webapis/index.d.ts @@ -240,6 +240,37 @@ export enum AvInfoDigitalCompMode { DOLBY_DIGITAL_COMP_MODE_RF = 1, } +/** + * SubAmp Mode values + * NO_EXT_AUDIO : SubAmp Mode 0: No External Audio Output + * EXT_AUDIO_TV : SubAmp Mode 1: External Audio out follows the TV Speakers. + * EXT_AUDIO_SWITCH : SubAmp Mode 2: Audio output is controlled by an external switch connected to TV. + * EXT_HEALTHCARE : SubAmp Mode 3: Special mode to better support the Healthcare interface. + * + * @since 6.0 + */ +export type AvInfoSubAmpMode = "NO_EXT_AUDIO" | "EXT_AUDIO_TV" | "EXT_AUDIO_SWITCH" | "EXT_HEALTHCARE"; + +/** + * Energy Savings Type Enum + * OFF : Energy Saving is OFF + * LOW : Energy Saving is LOW + * MEDIUM : Energy Saving is MEDIUM + * HIGH : Energy Saving is HIGH + * + * @since 6.5 + */ +export type EnergySavingType = "OFF" | "LOW" | "MEDIUM" | "HIGH"; + +/** + * Eco Sensor Type Enum + * OFF : Eco Sensor is OFF + * ON : Eco sensor is ON + * + * @since 6.5 + */ +export type EcoSensorType = "OFF" | "ON"; + /** * This module defines the TV audio and video settings functionalities provided by the Tizen Samsung TV Product API. * @@ -318,6 +349,77 @@ export interface AvInfoManager { * @version 1.0 */ isHdrTvSupport: () => boolean; + + /** + * This method sets the sub amp mode + * + * @param mode the sub amp mode that want to set up + * + * @throws WebAPIException with error type TypeMismatchError, if any input parameter is not compatible with the expected type for that parameter. + * + * @throws WebAPIException with error type InvalidValuesError, If any of the input parameter contains an invalid value. (since plugin version 3.0) + * + * @throws WebAPIException with error type NotSupportedError, if this API is called in any product other than Hotel TV. + * + * @since 6.0 + */ + setSubAmpMode: (mode: AvInfoSubAmpMode) => void; + + /** + * This method is to get energy saving values. Valid only for "Samsung" product. + * + * @returns return value of energy saving (OFF, LOW, MEDIUM, HIGH) + * + * @throws WebAPIException with error type NotSupportedError, if this API is called for non Samsung Products or called in an emulator and AV + * + * @throws WebAPIException with error type UnknownError, if the information is not passed to AvInfo successfully due to some unexpected internal error + * + * @since 6.5 + */ + getEnergySaving: () => EnergySavingType; + + /** + * This method is to set the energy saving values. Valid only for "Samsung" product. + * + * @param value Energy Saving value to set (OFF, LOW, MEDIUM, HIGH) + * + * @throws WebAPIException with error type TypeMismatchError, if any input parameter is not compatible with the expected type for that parameter. + * + * @throws WebAPIException with error type InvalidValuesError, If any of the input parameter contains an invalid value. (since plugin version 3.0) + * + * @throws WebAPIException error type NotSupportedError, if this API is called for non Samsung Products or called in an emulator and AV + * + * @since 6.5 + */ + setEnergySaving: (value: EnergySavingType) => void; + + /** + * This method is to get eco sensor values. Valid only for "Samsung" product. + * + * @returns EcoSensorType : return value of eco sensor (OFF, ON) + * + * @throws WebAPIException with error type NotSupportedError, if this API is called for non Samsung Products or called in an emulator and AV + * + * @throws WebAPIException with error type UnknownError, if the information is not passed to AvInfo successfully due to some unexpected internal error. + * + * @since 6.5 + */ + getEcoSensor: () => EcoSensorType; + + /** + * This method is to set the eco sensor values. Valid only for "Samsung" product. + * + * @param value : eco sensor value to set (OFF, ON) + * + * @throws WebAPIException with error type TypeMismatchError, if any input parameter is not compatible with the expected type for that parameter. + * + * @throws WebAPIException with error type InvalidValuesError, If any of the input parameter contains an invalid value. (since plugin version 3.0) + * + * @throws WebAPIException with error type NotSupportedError, if this API is called for non Samsung Products or called in an emulator and AV + * + * @since 6.5 + */ + setEcoSensor: (value: EcoSensorType) => void; } /** @@ -4250,6 +4352,23 @@ export interface ProductInfoManager { */ getModel: () => string; + /** + * Retrieves the brand information, Valid only for licensing product. + * + * @returns Brand information + * + * @privilegeLevel Public + * + * @privilegeName http://developer.samsung.com/privilege/productinfo + * + * @throws WebAPIException with error type SecurityError, if the application does not have the privilege to call this method. + * + * @throws WebAPIException with error type NotSupportedError, if this API is called for "Samsung" products. + * + * @since 7.0 + */ + getLicensedBrand: () => string; + /** * Retrieves the infolink server type. * @@ -4606,6 +4725,36 @@ export interface ProductInfoManager { * @version 3.3 */ isDisplayRotatorSupported: () => boolean; + + /** + * This method get an actual manufacturer's information + * + * @returns Actual manufacturer information + * + * @privilegeLevel Public + * + * @privilegeName http://developer.samsung.com/privilege/productinfo + * + * @throws WebAPIException with error type SecurityError, if the application does not have the privilege to call this method. + * + * @since 6.0 + */ + getLicensedVendor: () => string; + + /** + * Checks whether OledPanel is supported. + * + * @returns Boolean value true: Supported, false: Not supported + * + * @privilegeLevel Public + * + * @privilegeName http://developer.samsung.com/privilege/productinfo + * + * @throws WebAPIException with error type SecurityError, if the application does not have the privilege to call this method. + * + * @since 8.0 + */ + isOledPanelSupported: () => boolean; } /** * Defines constants for login status. From c6f85cfbf3991245209da82eafaebc03c340321d Mon Sep 17 00:00:00 2001 From: Erwan Jugand <47392755+erwanjugand@users.noreply.github.com> Date: Wed, 3 Sep 2025 08:58:29 +0200 Subject: [PATCH 09/15] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#73472=20[chr?= =?UTF-8?q?ome]=20fix=20conflict=20with=20chrome=20package=20by=20@erwanju?= =?UTF-8?q?gand?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/chrome/package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/chrome/package.json b/types/chrome/package.json index 84105507591034..c043d0ad49af5e 100644 --- a/types/chrome/package.json +++ b/types/chrome/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/chrome", "version": "0.1.9999", + "nonNpm": "conflict", + "nonNpmDescription": "The complete reference to all APIs made available to Chrome Extensions", "projects": [ "https://developer.chrome.com/docs/extensions" ], From b69a5983aca7380e70c12b73e4d8ebfc2b2df55e Mon Sep 17 00:00:00 2001 From: Erwan Jugand <47392755+erwanjugand@users.noreply.github.com> Date: Wed, 3 Sep 2025 08:58:47 +0200 Subject: [PATCH 10/15] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#73471=20[chr?= =?UTF-8?q?ome]=20update=20enterprise.deviceAttributes=20namespace=20by=20?= =?UTF-8?q?@erwanjugand?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/chrome/index.d.ts | 45 ++++++++++++++++++++------------------ types/chrome/test/index.ts | 41 +++++++++++++++++++++++++++++----- 2 files changed, 59 insertions(+), 27 deletions(-) diff --git a/types/chrome/index.d.ts b/types/chrome/index.d.ts index 4052459d53ad52..d94e4b473bd777 100644 --- a/types/chrome/index.d.ts +++ b/types/chrome/index.d.ts @@ -4198,44 +4198,47 @@ declare namespace chrome { */ export namespace enterprise.deviceAttributes { /** - * @description Fetches the value of the device identifier of the directory API, that is generated by the server and identifies the cloud record of the device for querying in the cloud directory API. - * @param callback Called with the device identifier of the directory API when received. + * Fetches the value of the device identifier of the directory API, that is generated by the server and identifies the cloud record of the device for querying in the cloud directory API. If the current user is not affiliated, returns an empty string. + * + * Can return its result via Promise in Manifest V3 or later since Chrome 96. */ + export function getDirectoryDeviceId(): Promise; export function getDirectoryDeviceId(callback: (deviceId: string) => void): void; + /** + * Fetches the device's serial number. Please note the purpose of this API is to administrate the device (e.g. generating Certificate Sign Requests for device-wide certificates). This API may not be used for tracking devices without the consent of the device's administrator. If the current user is not affiliated, returns an empty string. + * + * Can return its result via Promise in Manifest V3 or later since Chrome 96. * @since Chrome 66 - * @description - * Fetches the device's serial number. - * Please note the purpose of this API is to administrate the device - * (e.g. generating Certificate Sign Requests for device-wide certificates). - * This API may not be used for tracking devices without the consent of the device's administrator. - * If the current user is not affiliated, returns an empty string. - * @param callback Called with the serial number of the device. */ + export function getDeviceSerialNumber(): Promise; export function getDeviceSerialNumber(callback: (serialNumber: string) => void): void; + /** + * Fetches the administrator-annotated Asset Id. If the current user is not affiliated or no Asset Id has been set by the administrator, returns an empty string. + * + * Can return its result via Promise in Manifest V3 or later since Chrome 96. * @since Chrome 66 - * @description - * Fetches the administrator-annotated Asset Id. - * If the current user is not affiliated or no Asset Id has been set by the administrator, returns an empty string. - * @param callback Called with the Asset ID of the device. */ + export function getDeviceAssetId(): Promise; export function getDeviceAssetId(callback: (assetId: string) => void): void; + /** + * Fetches the administrator-annotated Location. If the current user is not affiliated or no Annotated Location has been set by the administrator, returns an empty string. + * + * Can return its result via Promise in Manifest V3 or later since Chrome 96. * @since Chrome 66 - * @description - * Fetches the administrator-annotated Location. - * If the current user is not affiliated or no Annotated Location has been set by the administrator, returns an empty string. - * @param callback Called with the Annotated Location of the device. */ + export function getDeviceAnnotatedLocation(): Promise; export function getDeviceAnnotatedLocation(callback: (annotatedLocation: string) => void): void; + /** + * Fetches the device's hostname as set by DeviceHostnameTemplate policy. If the current user is not affiliated or no hostname has been set by the enterprise policy, returns an empty string. + * + * Can return its result via Promise in Manifest V3 or later since Chrome 96. * @since Chrome 82 - * @description - * Fetches the device's hostname as set by DeviceHostnameTemplate policy. - * If the current user is not affiliated or no hostname has been set by the enterprise policy, returns an empty string. - * @param callback Called with the hostname of the device. */ + export function getDeviceHostname(): Promise; export function getDeviceHostname(callback: (hostname: string) => void): void; } diff --git a/types/chrome/test/index.ts b/types/chrome/test/index.ts index 57e231dc4e2278..651f9458487c70 100644 --- a/types/chrome/test/index.ts +++ b/types/chrome/test/index.ts @@ -3660,13 +3660,42 @@ function testDocumentScan() { }); } -// https://developer.chrome.com/docs/extensions/reference/enterprise_deviceAttributes +// https://developer.chrome.com/docs/extensions/reference/api/enterprise/deviceAttributes function testEnterpriseDeviceAttributes() { - chrome.enterprise.deviceAttributes.getDirectoryDeviceId((deviceId) => {}); - chrome.enterprise.deviceAttributes.getDeviceSerialNumber((serialNumber) => {}); - chrome.enterprise.deviceAttributes.getDeviceAssetId((assetId) => {}); - chrome.enterprise.deviceAttributes.getDeviceAnnotatedLocation((annotatedLocation) => {}); - chrome.enterprise.deviceAttributes.getDeviceHostname((hostName) => {}); + chrome.enterprise.deviceAttributes.getDeviceAnnotatedLocation(); // $ExpectType Promise + chrome.enterprise.deviceAttributes.getDeviceAnnotatedLocation(annotatedLocation => { // $ExpectType void + annotatedLocation; // $ExpectType string + }); + // @ts-expect-error + chrome.enterprise.deviceAttributes.getDeviceAnnotatedLocation(() => {}).then(() => {}); + + chrome.enterprise.deviceAttributes.getDeviceAssetId(); // $ExpectType Promise + chrome.enterprise.deviceAttributes.getDeviceAssetId((assetId) => { // $ExpectType void + assetId; // $ExpectType string + }); + // @ts-expect-error + chrome.enterprise.deviceAttributes.getDeviceAssetId(() => {}).then(() => {}); + + chrome.enterprise.deviceAttributes.getDeviceHostname(); // $ExpectType Promise + chrome.enterprise.deviceAttributes.getDeviceHostname((hostName) => { // $ExpectType void + hostName; // $ExpectType string + }); + // @ts-expect-error + chrome.enterprise.deviceAttributes.getDeviceHostname(() => {}).then(() => {}); + + chrome.enterprise.deviceAttributes.getDeviceSerialNumber(); // $ExpectType Promise + chrome.enterprise.deviceAttributes.getDeviceSerialNumber((serialNumber) => { // $ExpectType void + serialNumber; // $ExpectType string + }); + // @ts-expect-error + chrome.enterprise.deviceAttributes.getDeviceSerialNumber(() => {}).then(() => {}); + + chrome.enterprise.deviceAttributes.getDirectoryDeviceId(); // $ExpectType Promise + chrome.enterprise.deviceAttributes.getDirectoryDeviceId((deviceId) => { // $ExpectType void + deviceId; // $ExpectType string + }); + // @ts-expect-error + chrome.enterprise.deviceAttributes.getDirectoryDeviceId(() => {}).then(() => {}); } // https://developer.chrome.com/docs/extensions/reference/api/enterprise/hardwarePlatform From 108b62d75802f46af00909aa67d4623bf0dc73fe Mon Sep 17 00:00:00 2001 From: Erwan Jugand <47392755+erwanjugand@users.noreply.github.com> Date: Wed, 3 Sep 2025 08:59:30 +0200 Subject: [PATCH 11/15] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#73473=20[chr?= =?UTF-8?q?ome]=20update=20devtools.inspectedWindows=20namespace=20by=20@e?= =?UTF-8?q?rwanjugand?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/chrome/index.d.ts | 77 +++++++++++++------------------------- types/chrome/test/index.ts | 64 +++++++++++++++++++++++++------ 2 files changed, 79 insertions(+), 62 deletions(-) diff --git a/types/chrome/index.d.ts b/types/chrome/index.d.ts index d94e4b473bd777..0877bb81b81536 100644 --- a/types/chrome/index.d.ts +++ b/types/chrome/index.d.ts @@ -2670,15 +2670,12 @@ declare namespace chrome { export interface Resource { /** The URL of the resource. */ url: string; - /** - * Gets the content of the resource. - * @param callback A function that receives resource content when the request completes. - */ + /** Gets the content of the resource. */ getContent( callback: ( - /** Content of the resource (potentially encoded) */ + /** Content of the resource (potentially encoded). */ content: string, - /** Empty if content is not encoded, encoding name otherwise. Currently, only base64 is supported. */ + /** Empty if the content is not encoded, encoding name otherwise. Currently, only base64 is supported. */ encoding: string, ) => void, ): void; @@ -2686,33 +2683,24 @@ declare namespace chrome { * Sets the content of the resource. * @param content New content of the resource. Only resources with the text type are currently supported. * @param commit True if the user has finished editing the resource, and the new content of the resource should be persisted; false if this is a minor change sent in progress of the user editing the resource. - * @param callback A function called upon request completion. */ setContent( content: string, commit: boolean, callback?: ( - /** - * Set to undefined if the resource content was set successfully; describes error otherwise. - */ + /** Set to undefined if the resource content was set successfully; describes error otherwise. */ error?: object, ) => void, ): void; } export interface ReloadOptions { - /** Optional. If specified, the string will override the value of the User-Agent HTTP header that's sent while loading the resources of the inspected page. The string will also override the value of the navigator.userAgent property that's returned to any scripts that are running within the inspected page. */ + /** If specified, the string will override the value of the `User-Agent` HTTP header that's sent while loading the resources of the inspected page. The string will also override the value of the `navigator.userAgent` property that's returned to any scripts that are running within the inspected page. */ userAgent?: string | undefined; - /** Optional. When true, the loader will ignore the cache for all inspected page resources loaded before the load event is fired. The effect is similar to pressing Ctrl+Shift+R in the inspected window or within the Developer Tools window. */ + /** When true, the loader will bypass the cache for all inspected page resources loaded before the `load` event is fired. The effect is similar to pressing Ctrl+Shift+R in the inspected window or within the Developer Tools window. */ ignoreCache?: boolean | undefined; - /** Optional. If specified, the script will be injected into every frame of the inspected page immediately upon load, before any of the frame's scripts. The script will not be injected after subsequent reloads—for example, if the user presses Ctrl+R. */ + /** If specified, the script will be injected into every frame of the inspected page immediately upon load, before any of the frame's scripts. The script will not be injected after subsequent reloads—for example, if the user presses Ctrl+R. */ injectedScript?: string | undefined; - /** - * Optional. - * If specified, this script evaluates into a function that accepts three string arguments: the source to preprocess, the URL of the source, and a function name if the source is an DOM event handler. The preprocessorerScript function should return a string to be compiled by Chrome in place of the input source. In the case that the source is a DOM event handler, the returned source must compile to a single JS function. - * @deprecated Deprecated since Chrome 41. Please avoid using this parameter, it will be removed soon. - */ - preprocessorScript?: string | undefined; } export interface EvaluationExceptionInfo { @@ -2730,59 +2718,48 @@ declare namespace chrome { value: string; } - export interface ResourceAddedEvent extends chrome.events.Event<(resource: Resource) => void> {} - - export interface ResourceContentCommittedEvent - extends chrome.events.Event<(resource: Resource, content: string) => void> - {} - - /** The ID of the tab being inspected. This ID may be used with chrome.tabs.* API. */ - export var tabId: number; + /** The ID of the tab being inspected. This ID may be used with {@link chrome.tabs} API. */ + export const tabId: number; /** Reloads the inspected page. */ export function reload(reloadOptions?: ReloadOptions): void; + /** - * Evaluates a JavaScript expression in the context of the main frame of the inspected page. The expression must evaluate to a JSON-compliant object, otherwise an exception is thrown. The eval function can report either a DevTools-side error or a JavaScript exception that occurs during evaluation. In either case, the result parameter of the callback is undefined. In the case of a DevTools-side error, the isException parameter is non-null and has isError set to true and code set to an error code. In the case of a JavaScript error, isException is set to true and value is set to the string value of thrown object. + * Evaluates a JavaScript expression in the context of the main frame of the inspected page. The expression must evaluate to a JSON-compliant object, otherwise an exception is thrown. The eval function can report either a DevTools-side error or a JavaScript exception that occurs during evaluation. In either case, the `result` parameter of the callback is `undefined`. In the case of a DevTools-side error, the `isException` parameter is non-null and has `isError` set to true and `code` set to an error code. In the case of a JavaScript error, `isException` is set to true and `value` is set to the string value of thrown object. + * * @param expression An expression to evaluate. + * @param options The options parameter can contain one or more options. * @param callback A function called when evaluation completes. - * Parameter result: The result of evaluation. - * Parameter exceptionInfo: An object providing details if an exception occurred while evaluating the expression. */ - export function eval( + export function eval( expression: string, callback?: (result: T, exceptionInfo: EvaluationExceptionInfo) => void, ): void; - /** - * Evaluates a JavaScript expression in the context of the main frame of the inspected page. The expression must evaluate to a JSON-compliant object, otherwise an exception is thrown. The eval function can report either a DevTools-side error or a JavaScript exception that occurs during evaluation. In either case, the result parameter of the callback is undefined. In the case of a DevTools-side error, the isException parameter is non-null and has isError set to true and code set to an error code. In the case of a JavaScript error, isException is set to true and value is set to the string value of thrown object. - * @param expression An expression to evaluate. - * @param options The options parameter can contain one or more options. - * @param callback A function called when evaluation completes. - * Parameter result: The result of evaluation. - * Parameter exceptionInfo: An object providing details if an exception occurred while evaluating the expression. - */ - export function eval( + export function eval( expression: string, - options?: EvalOptions, + options: EvalOptions | undefined, callback?: (result: T, exceptionInfo: EvaluationExceptionInfo) => void, ): void; - /** - * Retrieves the list of resources from the inspected page. - * @param callback A function that receives the list of resources when the request completes. - */ + + /** Retrieves the list of resources from the inspected page. */ export function getResources(callback: (resources: Resource[]) => void): void; /** Fired when a new resource is added to the inspected page. */ - export var onResourceAdded: ResourceAddedEvent; + export const onResourceAdded: events.Event<(resource: Resource) => void>; + /** Fired when a new revision of the resource is committed (e.g. user saves an edited version of the resource in the Developer Tools). */ - export var onResourceContentCommitted: ResourceContentCommittedEvent; + export const onResourceContentCommitted: events.Event<(resource: Resource, content: string) => void>; export interface EvalOptions { /** If specified, the expression is evaluated on the iframe whose URL matches the one specified. By default, the expression is evaluated in the top frame of the inspected page. */ frameURL?: string | undefined; - /** Evaluate the expression in the context of the content script of the calling extension, provided that the content script is already injected into the inspected page. If not, the expression is not evaluated and the callback is invoked with the exception parameter set to an object that has the isError field set to true and the code field set to E_NOTFOUND. */ + /** Evaluate the expression in the context of the content script of the calling extension, provided that the content script is already injected into the inspected page. If not, the expression is not evaluated and the callback is invoked with the exception parameter set to an object that has the `isError` field set to true and the `code` field set to `E_NOTFOUND`. */ useContentScriptContext?: boolean | undefined; - /** Evaluate the expression in the context of a content script of an extension that matches the specified origin. If given, contextSecurityOrigin overrides the 'true' setting on userContentScriptContext. */ - contextSecurityOrigin?: string | undefined; + /** + * Evaluate the expression in the context of a content script of an extension that matches the specified origin. If given, scriptExecutionContext overrides the 'true' setting on useContentScriptContext. + * @since Chrome 107 + */ + scriptExecutionContext?: string | undefined; } } diff --git a/types/chrome/test/index.ts b/types/chrome/test/index.ts index 651f9458487c70..fcf3e28396ea07 100644 --- a/types/chrome/test/index.ts +++ b/types/chrome/test/index.ts @@ -1343,18 +1343,6 @@ function testDevtools() { console.log("harLog: ", harLog); }); - chrome.devtools.inspectedWindow.eval("1+1", undefined, result => { - console.log(result); - }); - - chrome.devtools.inspectedWindow.reload(); - chrome.devtools.inspectedWindow.reload({}); - chrome.devtools.inspectedWindow.reload({ - userAgent: "Best Browser", - ignoreCache: true, - injectedScript: "console.log(\"Hello World!\")", - }); - const view = chrome.devtools.recorder.createView("title", "replay.html"); // $ExpectType RecorderView checkChromeEvent(view.onHidden, () => void 0); checkChromeEvent(view.onShown, () => void 0); @@ -1374,6 +1362,58 @@ function testDevtools() { }); } +// https://developer.chrome.com/docs/extensions/reference/api/devtools/inspectedWindow +function testDevtoolsInspectedWindow() { + const expression = "expression"; + + const evalOptions: chrome.devtools.inspectedWindow.EvalOptions = { + frameURL: "https://example.com", + scriptExecutionContext: "script", + useContentScriptContext: true, + }; + + chrome.devtools.inspectedWindow.eval(expression); // $ExpectType void + chrome.devtools.inspectedWindow.eval(expression, evalOptions); // $ExpectType void + chrome.devtools.inspectedWindow.eval(expression, evalOptions, (result, exceptionInfo) => { // $ExpectType void + result; // ExpectType object + + exceptionInfo.code; // ExpectType string + exceptionInfo.description; // ExpectType string + exceptionInfo.details; // ExpectType unknown[] + exceptionInfo.isError; // ExpectType boolean + exceptionInfo.isException; // ExpectType boolean + exceptionInfo.value; // ExpectType string + }); + chrome.devtools.inspectedWindow.eval(expression, (result) => { // $ExpectType void + result; // ExpectType object + }); + chrome.devtools.inspectedWindow.eval<{ title: string }>(expression, evalOptions, (result) => { // $ExpectType void + result.title; // ExpectType string + }); + + chrome.devtools.inspectedWindow.getResources((resources) => { // $ExpectType void + resources; // ExpectType Resource[] + }); + + const reloadOptions: chrome.devtools.inspectedWindow.ReloadOptions = { + ignoreCache: true, + injectedScript: "script", + userAgent: "userAgent", + }; + + chrome.devtools.inspectedWindow.reload(); // $ExpectType void + chrome.devtools.inspectedWindow.reload(reloadOptions); // $ExpectType void + + checkChromeEvent(chrome.devtools.inspectedWindow.onResourceAdded, (resource) => { + resource; // ExpectType Resource + }); + + checkChromeEvent(chrome.devtools.inspectedWindow.onResourceContentCommitted, (resource, content) => { + resource; // ExpectType Resource + content; // ExpectType string + }); +} + function testAssistiveWindow() { chrome.input.ime.setAssistiveWindowProperties({ contextID: 0, From 468a8a202b64dfb036827d1a467fa5ed19056a1c Mon Sep 17 00:00:00 2001 From: Henry Thasler Date: Wed, 3 Sep 2025 09:54:20 +0200 Subject: [PATCH 12/15] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#73539=20pin?= =?UTF-8?q?=20leaflet=20typings=20to=20current=20major.minor=20version=20t?= =?UTF-8?q?o=20unblock=20the=20release=20of=20new=20leaflet=20typings=20by?= =?UTF-8?q?=20@henrythasler?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/dynmap/package.json | 2 +- types/esri-leaflet-geocoder/package.json | 2 +- types/esri-leaflet/package.json | 2 +- types/esri-leaflet/v2/package.json | 2 +- types/iitc/package.json | 2 +- types/leaflet-areaselect/package.json | 2 +- types/leaflet-boundary-canvas/package.json | 2 +- types/leaflet-contextmenu/package.json | 2 +- types/leaflet-curve/package.json | 2 +- types/leaflet-deepzoom/package.json | 2 +- types/leaflet-draw/package.json | 2 +- types/leaflet-editable/package.json | 2 +- types/leaflet-freedraw/package.json | 2 +- types/leaflet-freehandshapes/package.json | 2 +- types/leaflet-fullscreen/package.json | 2 +- types/leaflet-gpx/package.json | 2 +- types/leaflet-groupedlayercontrol/package.json | 2 +- types/leaflet-imageoverlay-rotated/package.json | 2 +- types/leaflet-loading/package.json | 2 +- types/leaflet-mouse-position/package.json | 2 +- types/leaflet-pixi-overlay/package.json | 2 +- types/leaflet-polylinedecorator/package.json | 2 +- types/leaflet-providers/package.json | 2 +- types/leaflet-rastercoords/package.json | 2 +- types/leaflet-responsive-popup/package.json | 2 +- types/leaflet-rotate/package.json | 2 +- types/leaflet-rotatedmarker/package.json | 2 +- types/leaflet-routing-machine/package.json | 2 +- types/leaflet-side-by-side/package.json | 2 +- types/leaflet-textpath/package.json | 2 +- types/leaflet.awesome-markers/package.json | 2 +- types/leaflet.chinatmsproviders/package.json | 2 +- types/leaflet.featuregroup.subgroup/package.json | 2 +- types/leaflet.fullscreen/package.json | 2 +- types/leaflet.gridlayer.googlemutant/package.json | 2 +- types/leaflet.heat/package.json | 2 +- types/leaflet.icon.glyph/package.json | 2 +- types/leaflet.locatecontrol/package.json | 2 +- types/leaflet.markercluster.layersupport/package.json | 2 +- types/leaflet.markercluster/package.json | 2 +- types/leaflet.pancontrol/package.json | 2 +- types/leaflet.pattern/package.json | 2 +- types/leaflet.pm/package.json | 2 +- types/leaflet.polylinemeasure/package.json | 2 +- types/leaflet.sync/package.json | 2 +- types/leaflet.utm/package.json | 2 +- types/leaflet.vectorgrid/package.json | 2 +- types/leaflet.wms/package.json | 2 +- types/mapbox-gl-leaflet/package.json | 2 +- types/proj4leaflet/package.json | 2 +- types/svelte-leafletjs/package.json | 2 +- 51 files changed, 51 insertions(+), 51 deletions(-) diff --git a/types/dynmap/package.json b/types/dynmap/package.json index fea3505d11659c..834fca7d5bc9f8 100644 --- a/types/dynmap/package.json +++ b/types/dynmap/package.json @@ -10,7 +10,7 @@ "dependencies": { "@types/jquery": "*", "@types/jquery-mousewheel": "*", - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/dynmap": "workspace:." diff --git a/types/esri-leaflet-geocoder/package.json b/types/esri-leaflet-geocoder/package.json index c7bf913f3630c2..064308c1bcc458 100644 --- a/types/esri-leaflet-geocoder/package.json +++ b/types/esri-leaflet-geocoder/package.json @@ -7,7 +7,7 @@ ], "dependencies": { "@types/esri-leaflet": "*", - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/esri-leaflet-geocoder": "workspace:." diff --git a/types/esri-leaflet/package.json b/types/esri-leaflet/package.json index eb1f5233cf99b3..e444d99dce6d4f 100644 --- a/types/esri-leaflet/package.json +++ b/types/esri-leaflet/package.json @@ -6,7 +6,7 @@ "http://esri.github.io/esri-leaflet" ], "dependencies": { - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/esri-leaflet": "workspace:." diff --git a/types/esri-leaflet/v2/package.json b/types/esri-leaflet/v2/package.json index 1c714894b7bbe7..62a677763a6d39 100644 --- a/types/esri-leaflet/v2/package.json +++ b/types/esri-leaflet/v2/package.json @@ -6,7 +6,7 @@ "http://esri.github.io/esri-leaflet" ], "dependencies": { - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/esri-leaflet": "workspace:." diff --git a/types/iitc/package.json b/types/iitc/package.json index 5048ee33f4aa53..3d02ae712b8388 100644 --- a/types/iitc/package.json +++ b/types/iitc/package.json @@ -8,7 +8,7 @@ "dependencies": { "@types/jquery": "*", "@types/jqueryui": "*", - "@types/leaflet": "*", + "@types/leaflet": "^1.9", "@types/spectrum": "*" }, "devDependencies": { diff --git a/types/leaflet-areaselect/package.json b/types/leaflet-areaselect/package.json index e3389e34a4acb1..025aeb32f8836c 100644 --- a/types/leaflet-areaselect/package.json +++ b/types/leaflet-areaselect/package.json @@ -8,7 +8,7 @@ "https://github.com/heyman/leaflet-areaselect" ], "dependencies": { - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/leaflet-areaselect": "workspace:." diff --git a/types/leaflet-boundary-canvas/package.json b/types/leaflet-boundary-canvas/package.json index 25c716f7e70b8c..f55be250292ddc 100644 --- a/types/leaflet-boundary-canvas/package.json +++ b/types/leaflet-boundary-canvas/package.json @@ -7,7 +7,7 @@ ], "dependencies": { "@types/geojson": "*", - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/leaflet-boundary-canvas": "workspace:." diff --git a/types/leaflet-contextmenu/package.json b/types/leaflet-contextmenu/package.json index 839ee433e4b594..53503bff9f43b3 100644 --- a/types/leaflet-contextmenu/package.json +++ b/types/leaflet-contextmenu/package.json @@ -6,7 +6,7 @@ "https://github.com/aratcliffe/Leaflet.contextmenu" ], "dependencies": { - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/leaflet-contextmenu": "workspace:." diff --git a/types/leaflet-curve/package.json b/types/leaflet-curve/package.json index b8109e9c814ab7..6c2b4be81d6995 100644 --- a/types/leaflet-curve/package.json +++ b/types/leaflet-curve/package.json @@ -6,7 +6,7 @@ "https://github.com/onikiienko/Leaflet.curve" ], "dependencies": { - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/leaflet-curve": "workspace:." diff --git a/types/leaflet-deepzoom/package.json b/types/leaflet-deepzoom/package.json index d516efc27d90e2..535ccc3c4c4c07 100644 --- a/types/leaflet-deepzoom/package.json +++ b/types/leaflet-deepzoom/package.json @@ -6,7 +6,7 @@ "https://github.com/alfarisi/leaflet-deepzoom/" ], "dependencies": { - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/leaflet-deepzoom": "workspace:." diff --git a/types/leaflet-draw/package.json b/types/leaflet-draw/package.json index 2937caca531da5..cad15a393a8107 100644 --- a/types/leaflet-draw/package.json +++ b/types/leaflet-draw/package.json @@ -6,7 +6,7 @@ "https://github.com/Leaflet/Leaflet.draw" ], "dependencies": { - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/leaflet-draw": "workspace:." diff --git a/types/leaflet-editable/package.json b/types/leaflet-editable/package.json index bb7aba1ab5f434..413d5b2527cedb 100644 --- a/types/leaflet-editable/package.json +++ b/types/leaflet-editable/package.json @@ -6,7 +6,7 @@ "https://github.com/leaflet/leaflet.editable" ], "dependencies": { - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/leaflet-editable": "workspace:." diff --git a/types/leaflet-freedraw/package.json b/types/leaflet-freedraw/package.json index 62d2fe1a1353dc..ad6031cb0d1151 100644 --- a/types/leaflet-freedraw/package.json +++ b/types/leaflet-freedraw/package.json @@ -6,7 +6,7 @@ "https://github.com/Wildhoney/Leaflet.FreeDraw" ], "dependencies": { - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/leaflet-freedraw": "workspace:." diff --git a/types/leaflet-freehandshapes/package.json b/types/leaflet-freehandshapes/package.json index f3af23cd107d26..bcc377a1e82ddf 100644 --- a/types/leaflet-freehandshapes/package.json +++ b/types/leaflet-freehandshapes/package.json @@ -7,7 +7,7 @@ ], "dependencies": { "@types/geojson": "*", - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/leaflet-freehandshapes": "workspace:." diff --git a/types/leaflet-fullscreen/package.json b/types/leaflet-fullscreen/package.json index ac9663eae9b700..2de037294f4561 100644 --- a/types/leaflet-fullscreen/package.json +++ b/types/leaflet-fullscreen/package.json @@ -6,7 +6,7 @@ "https://github.com/Leaflet/Leaflet.fullscreen" ], "dependencies": { - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/leaflet-fullscreen": "workspace:." diff --git a/types/leaflet-gpx/package.json b/types/leaflet-gpx/package.json index bbe87d181c7d71..938f7d113acee6 100644 --- a/types/leaflet-gpx/package.json +++ b/types/leaflet-gpx/package.json @@ -6,7 +6,7 @@ "https://github.com/mpetazzoni/leaflet-gpx" ], "dependencies": { - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/leaflet-gpx": "workspace:." diff --git a/types/leaflet-groupedlayercontrol/package.json b/types/leaflet-groupedlayercontrol/package.json index bd2aa3bb12bcf5..6c58f8fe2f3ba3 100644 --- a/types/leaflet-groupedlayercontrol/package.json +++ b/types/leaflet-groupedlayercontrol/package.json @@ -6,7 +6,7 @@ "https://github.com/ismyrnow/leaflet-groupedlayercontrol" ], "dependencies": { - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/leaflet-groupedlayercontrol": "workspace:." diff --git a/types/leaflet-imageoverlay-rotated/package.json b/types/leaflet-imageoverlay-rotated/package.json index 991b0e7ce6f4d2..5ae9440370c4a6 100644 --- a/types/leaflet-imageoverlay-rotated/package.json +++ b/types/leaflet-imageoverlay-rotated/package.json @@ -6,7 +6,7 @@ "https://github.com/IvanSanchez/Leaflet.ImageOverlay.Rotated" ], "dependencies": { - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/leaflet-imageoverlay-rotated": "workspace:." diff --git a/types/leaflet-loading/package.json b/types/leaflet-loading/package.json index da620a3a75712c..2d39beb2b751ee 100644 --- a/types/leaflet-loading/package.json +++ b/types/leaflet-loading/package.json @@ -6,7 +6,7 @@ "https://github.com/ebrelsford/Leaflet.loading" ], "dependencies": { - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/leaflet-loading": "workspace:." diff --git a/types/leaflet-mouse-position/package.json b/types/leaflet-mouse-position/package.json index 7591204e2a88e6..a8d32c9b869cfa 100644 --- a/types/leaflet-mouse-position/package.json +++ b/types/leaflet-mouse-position/package.json @@ -6,7 +6,7 @@ "https://github.com/danwild/Leaflet.MousePosition" ], "dependencies": { - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/leaflet-mouse-position": "workspace:." diff --git a/types/leaflet-pixi-overlay/package.json b/types/leaflet-pixi-overlay/package.json index 2674b33e30c8c0..7ecd12e882cadb 100644 --- a/types/leaflet-pixi-overlay/package.json +++ b/types/leaflet-pixi-overlay/package.json @@ -9,7 +9,7 @@ "pixi.js": "4.6 - 7" }, "dependencies": { - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/leaflet-pixi-overlay": "workspace:." diff --git a/types/leaflet-polylinedecorator/package.json b/types/leaflet-polylinedecorator/package.json index fab9e8b66a308f..6ae0880f1e0d9e 100644 --- a/types/leaflet-polylinedecorator/package.json +++ b/types/leaflet-polylinedecorator/package.json @@ -6,7 +6,7 @@ "https://github.com/bbecquet/Leaflet.PolylineDecorator#readme" ], "dependencies": { - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/leaflet-polylinedecorator": "workspace:." diff --git a/types/leaflet-providers/package.json b/types/leaflet-providers/package.json index 7f7e0d99a378d2..d409264c354190 100644 --- a/types/leaflet-providers/package.json +++ b/types/leaflet-providers/package.json @@ -6,7 +6,7 @@ "https://github.com/leaflet-extras/leaflet-providers#readme" ], "dependencies": { - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/leaflet-providers": "workspace:." diff --git a/types/leaflet-rastercoords/package.json b/types/leaflet-rastercoords/package.json index bd18bf099031c5..89e6d4b233aa30 100644 --- a/types/leaflet-rastercoords/package.json +++ b/types/leaflet-rastercoords/package.json @@ -6,7 +6,7 @@ "https://github.com/commenthol/leaflet-rastercoords" ], "dependencies": { - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/leaflet-rastercoords": "workspace:." diff --git a/types/leaflet-responsive-popup/package.json b/types/leaflet-responsive-popup/package.json index cbe484f0ea0930..ac1c9266240cdb 100644 --- a/types/leaflet-responsive-popup/package.json +++ b/types/leaflet-responsive-popup/package.json @@ -6,7 +6,7 @@ "https://github.com/yafred/leaflet-responsive-popup" ], "dependencies": { - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/leaflet-responsive-popup": "workspace:." diff --git a/types/leaflet-rotate/package.json b/types/leaflet-rotate/package.json index 49e521730b70fc..268ea7e243095b 100644 --- a/types/leaflet-rotate/package.json +++ b/types/leaflet-rotate/package.json @@ -6,7 +6,7 @@ "https://github.com//Raruto/leaflet-rotate" ], "dependencies": { - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/leaflet-rotate": "workspace:." diff --git a/types/leaflet-rotatedmarker/package.json b/types/leaflet-rotatedmarker/package.json index 69c85879550d70..60736fcc9c2134 100644 --- a/types/leaflet-rotatedmarker/package.json +++ b/types/leaflet-rotatedmarker/package.json @@ -6,7 +6,7 @@ "https://github.com/bbecquet/Leaflet.RotatedMarker" ], "dependencies": { - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/leaflet-rotatedmarker": "workspace:." diff --git a/types/leaflet-routing-machine/package.json b/types/leaflet-routing-machine/package.json index ab4bcb180bb3ec..5c9f1490e8d5c1 100644 --- a/types/leaflet-routing-machine/package.json +++ b/types/leaflet-routing-machine/package.json @@ -6,7 +6,7 @@ "https://github.com/perliedman/leaflet-routing-machine#readme" ], "dependencies": { - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/leaflet-routing-machine": "workspace:." diff --git a/types/leaflet-side-by-side/package.json b/types/leaflet-side-by-side/package.json index bfc6948a2da7ff..56229094405ab2 100644 --- a/types/leaflet-side-by-side/package.json +++ b/types/leaflet-side-by-side/package.json @@ -6,7 +6,7 @@ "https://github.com/digidem/leaflet-side-by-side" ], "dependencies": { - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/leaflet-side-by-side": "workspace:." diff --git a/types/leaflet-textpath/package.json b/types/leaflet-textpath/package.json index 67a44581de7f12..c9ae53cfb964f2 100644 --- a/types/leaflet-textpath/package.json +++ b/types/leaflet-textpath/package.json @@ -6,7 +6,7 @@ "https://github.com/makinacorpus/Leaflet.TextPath" ], "dependencies": { - "@types/leaflet": "*", + "@types/leaflet": "^1.9", "@types/react": "*" }, "devDependencies": { diff --git a/types/leaflet.awesome-markers/package.json b/types/leaflet.awesome-markers/package.json index 681717c98922f6..a510b028253e8d 100644 --- a/types/leaflet.awesome-markers/package.json +++ b/types/leaflet.awesome-markers/package.json @@ -6,7 +6,7 @@ "https://github.com/sigma-geosistemas/leaflet.awesome-markers" ], "dependencies": { - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/leaflet.awesome-markers": "workspace:." diff --git a/types/leaflet.chinatmsproviders/package.json b/types/leaflet.chinatmsproviders/package.json index 3db7ab244dc78d..2c99052b328910 100644 --- a/types/leaflet.chinatmsproviders/package.json +++ b/types/leaflet.chinatmsproviders/package.json @@ -6,7 +6,7 @@ "https://github.com/htoooth/Leaflet.ChineseTmsProviders" ], "dependencies": { - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/leaflet.chinatmsproviders": "workspace:." diff --git a/types/leaflet.featuregroup.subgroup/package.json b/types/leaflet.featuregroup.subgroup/package.json index f4f67ba35412df..772aae4689e1df 100644 --- a/types/leaflet.featuregroup.subgroup/package.json +++ b/types/leaflet.featuregroup.subgroup/package.json @@ -6,7 +6,7 @@ "https://github.com/ghybs/Leaflet.FeatureGroup.SubGroup" ], "dependencies": { - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/leaflet.featuregroup.subgroup": "workspace:." diff --git a/types/leaflet.fullscreen/package.json b/types/leaflet.fullscreen/package.json index dfee2618c88e69..542f3cf98aa764 100644 --- a/types/leaflet.fullscreen/package.json +++ b/types/leaflet.fullscreen/package.json @@ -6,7 +6,7 @@ "https://github.com/brunob/leaflet.fullscreen" ], "dependencies": { - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/leaflet.fullscreen": "workspace:." diff --git a/types/leaflet.gridlayer.googlemutant/package.json b/types/leaflet.gridlayer.googlemutant/package.json index 5eaebd7d0fe69b..bdb904e5ee03b0 100644 --- a/types/leaflet.gridlayer.googlemutant/package.json +++ b/types/leaflet.gridlayer.googlemutant/package.json @@ -6,7 +6,7 @@ "https://gitlab.com/IvanSanchez/Leaflet.GridLayer.GoogleMutant#README" ], "dependencies": { - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/leaflet.gridlayer.googlemutant": "workspace:." diff --git a/types/leaflet.heat/package.json b/types/leaflet.heat/package.json index bd9b7b4d491743..c1501f25eafaa3 100644 --- a/types/leaflet.heat/package.json +++ b/types/leaflet.heat/package.json @@ -6,7 +6,7 @@ "https://github.com/Leaflet/Leaflet.heat" ], "dependencies": { - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/leaflet.heat": "workspace:." diff --git a/types/leaflet.icon.glyph/package.json b/types/leaflet.icon.glyph/package.json index 8ff8e6db47b2d5..d29b6b2bc4b8db 100644 --- a/types/leaflet.icon.glyph/package.json +++ b/types/leaflet.icon.glyph/package.json @@ -6,7 +6,7 @@ "https://github.com/Leaflet/Leaflet.Icon.Glyph" ], "dependencies": { - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/leaflet.icon.glyph": "workspace:." diff --git a/types/leaflet.locatecontrol/package.json b/types/leaflet.locatecontrol/package.json index cc114c42adc067..7a2cb4f0085684 100644 --- a/types/leaflet.locatecontrol/package.json +++ b/types/leaflet.locatecontrol/package.json @@ -6,7 +6,7 @@ "https://github.com/domoritz/leaflet-locatecontrol" ], "dependencies": { - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/leaflet.locatecontrol": "workspace:." diff --git a/types/leaflet.markercluster.layersupport/package.json b/types/leaflet.markercluster.layersupport/package.json index 50dbfba38b561e..cb5c6558eefe6b 100644 --- a/types/leaflet.markercluster.layersupport/package.json +++ b/types/leaflet.markercluster.layersupport/package.json @@ -6,7 +6,7 @@ "https://github.com/ghybs/Leaflet.MarkerCluster.LayerSupport" ], "dependencies": { - "@types/leaflet": "*", + "@types/leaflet": "^1.9", "@types/leaflet.markercluster": "*" }, "devDependencies": { diff --git a/types/leaflet.markercluster/package.json b/types/leaflet.markercluster/package.json index dfcc37e5e581fc..4187ae6c0a4759 100644 --- a/types/leaflet.markercluster/package.json +++ b/types/leaflet.markercluster/package.json @@ -6,7 +6,7 @@ "https://github.com/Leaflet/Leaflet.markercluster" ], "dependencies": { - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/leaflet.markercluster": "workspace:." diff --git a/types/leaflet.pancontrol/package.json b/types/leaflet.pancontrol/package.json index 281b72b7f6afdb..1d2761f72ba071 100644 --- a/types/leaflet.pancontrol/package.json +++ b/types/leaflet.pancontrol/package.json @@ -6,7 +6,7 @@ "https://github.com/kartena/Leaflet.Pancontrol" ], "dependencies": { - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/leaflet.pancontrol": "workspace:." diff --git a/types/leaflet.pattern/package.json b/types/leaflet.pattern/package.json index dbfe18a8a008b0..219b057bf8f716 100644 --- a/types/leaflet.pattern/package.json +++ b/types/leaflet.pattern/package.json @@ -6,7 +6,7 @@ "https://github.com/pixelizedPeanut/Leaflet.pattern#leafletpattern" ], "dependencies": { - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/leaflet.pattern": "workspace:." diff --git a/types/leaflet.pm/package.json b/types/leaflet.pm/package.json index 0e5c5ab9daab3c..afc6d3243f9d31 100644 --- a/types/leaflet.pm/package.json +++ b/types/leaflet.pm/package.json @@ -7,7 +7,7 @@ "https://leafletpm.now.sh" ], "dependencies": { - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/leaflet.pm": "workspace:." diff --git a/types/leaflet.polylinemeasure/package.json b/types/leaflet.polylinemeasure/package.json index 8c3d632f737d37..0c8cc6ed62fd13 100644 --- a/types/leaflet.polylinemeasure/package.json +++ b/types/leaflet.polylinemeasure/package.json @@ -6,7 +6,7 @@ "https://github.com/ppete2/Leaflet.PolylineMeasure#readme" ], "dependencies": { - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/leaflet.polylinemeasure": "workspace:." diff --git a/types/leaflet.sync/package.json b/types/leaflet.sync/package.json index 9414d19a59ab5e..5c3c8c75cb34d7 100644 --- a/types/leaflet.sync/package.json +++ b/types/leaflet.sync/package.json @@ -6,7 +6,7 @@ "https://github.com/jieter/Leaflet.Sync" ], "dependencies": { - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/leaflet.sync": "workspace:." diff --git a/types/leaflet.utm/package.json b/types/leaflet.utm/package.json index 88c4f8f3d560d9..d78348d3b2af90 100644 --- a/types/leaflet.utm/package.json +++ b/types/leaflet.utm/package.json @@ -6,7 +6,7 @@ "https://github.com/jjimenezshaw/Leaflet.UTM" ], "dependencies": { - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/leaflet.utm": "workspace:." diff --git a/types/leaflet.vectorgrid/package.json b/types/leaflet.vectorgrid/package.json index ce6040bfd65b60..9f34185e30b921 100644 --- a/types/leaflet.vectorgrid/package.json +++ b/types/leaflet.vectorgrid/package.json @@ -8,7 +8,7 @@ "dependencies": { "@types/geojson": "*", "@types/geojson-vt": "*", - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/leaflet.vectorgrid": "workspace:." diff --git a/types/leaflet.wms/package.json b/types/leaflet.wms/package.json index 172de700319016..31f41a4a5efaf9 100644 --- a/types/leaflet.wms/package.json +++ b/types/leaflet.wms/package.json @@ -6,7 +6,7 @@ "https://github.com/heigeo/leaflet.wms" ], "dependencies": { - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/leaflet.wms": "workspace:." diff --git a/types/mapbox-gl-leaflet/package.json b/types/mapbox-gl-leaflet/package.json index a99a142e337072..413fbc4d2b6ec0 100644 --- a/types/mapbox-gl-leaflet/package.json +++ b/types/mapbox-gl-leaflet/package.json @@ -6,7 +6,7 @@ "https://github.com/mapbox/mapbox-gl-leaflet" ], "dependencies": { - "@types/leaflet": "*" + "@types/leaflet": "^1.9" }, "devDependencies": { "@types/mapbox-gl-leaflet": "workspace:." diff --git a/types/proj4leaflet/package.json b/types/proj4leaflet/package.json index de6b3433f5b6fe..0b15e99fb74884 100644 --- a/types/proj4leaflet/package.json +++ b/types/proj4leaflet/package.json @@ -7,7 +7,7 @@ ], "dependencies": { "@types/geojson": "*", - "@types/leaflet": "*", + "@types/leaflet": "^1.9", "proj4": "^2.19.0" }, "devDependencies": { diff --git a/types/svelte-leafletjs/package.json b/types/svelte-leafletjs/package.json index 7bcc3b7aa44d42..786c8518f21f9b 100644 --- a/types/svelte-leafletjs/package.json +++ b/types/svelte-leafletjs/package.json @@ -6,7 +6,7 @@ "https://github.com/ngyewch/svelte-leaflet" ], "dependencies": { - "@types/leaflet": "*", + "@types/leaflet": "^1.9", "svelte": "^3.48.0" }, "devDependencies": { From 897caf853882c10a2eeee70ea0e3fc1ebfb99c6b Mon Sep 17 00:00:00 2001 From: Oghenetefa Okotete <93017833+everurstruly@users.noreply.github.com> Date: Wed, 3 Sep 2025 10:42:37 +0100 Subject: [PATCH 13/15] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#73542=20Add?= =?UTF-8?q?=20type=20definitions=20for=20notifme-sdk=20by=20@everurstruly?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/notifme-sdk/.npmignore | 5 + types/notifme-sdk/index.d.ts | 147 +++++++++++++++++++++++++ types/notifme-sdk/notifme-sdk-tests.ts | 94 ++++++++++++++++ types/notifme-sdk/package.json | 17 +++ types/notifme-sdk/tsconfig.json | 19 ++++ 5 files changed, 282 insertions(+) create mode 100644 types/notifme-sdk/.npmignore create mode 100644 types/notifme-sdk/index.d.ts create mode 100644 types/notifme-sdk/notifme-sdk-tests.ts create mode 100644 types/notifme-sdk/package.json create mode 100644 types/notifme-sdk/tsconfig.json diff --git a/types/notifme-sdk/.npmignore b/types/notifme-sdk/.npmignore new file mode 100644 index 00000000000000..93e307400a5456 --- /dev/null +++ b/types/notifme-sdk/.npmignore @@ -0,0 +1,5 @@ +* +!**/*.d.ts +!**/*.d.cts +!**/*.d.mts +!**/*.d.*.ts diff --git a/types/notifme-sdk/index.d.ts b/types/notifme-sdk/index.d.ts new file mode 100644 index 00000000000000..68c67e1d6241c6 --- /dev/null +++ b/types/notifme-sdk/index.d.ts @@ -0,0 +1,147 @@ +// NOTE: package metadata (name/version/owners) should be placed in package.json per DT guidelines. +// This file should only contain the type declarations. +export type MultiProviderStrategy = "fallback" | "roundrobin" | "no-fallback" | string; + +export interface SmsProviderConfig { + type: + | "logger" + | "twilio" + | "nexmo" + | "plivo" + | "ovh" + | "callr" + | "clickatell" + | "infobip" + | "seven" + | "46elks" + | "custom" + | string; + // Provider-specific options + accountSid?: string; + authToken?: string; + apiKey?: string; + apiSecret?: string; + [key: string]: any; +} + +export interface EmailProviderConfig { + type: "logger" | "smtp" | "mailgun" | "mandrill" | "sendgrid" | "ses" | "sparkpost" | "custom" | string; + // Provider-specific options + apiKey?: string; + domain?: string; + [key: string]: any; +} + +export interface PushProviderConfig { + type: "logger" | "apn" | "fcm" | "wns" | "adm" | "custom" | string; + [key: string]: any; +} + +export interface WebpushProviderConfig { + type: "logger" | "gcm" | "custom" | string; + [key: string]: any; +} + +export interface SlackProviderConfig { + type: "logger" | "slack" | "custom" | string; + webhookUrl?: string; + [key: string]: any; +} + +export interface VoiceProviderConfig { + type: "logger" | "twilio" | "custom" | string; + [key: string]: any; +} + +export interface ChannelConfig { + multiProviderStrategy?: MultiProviderStrategy; + providers: TProviderConfig[]; +} + +export interface NotifmeSdkOptions { + channels?: { + sms?: ChannelConfig; + email?: ChannelConfig; + push?: ChannelConfig; + webpush?: ChannelConfig; + slack?: ChannelConfig; + voice?: ChannelConfig; + // Add more channels as needed + }; + useNotificationCatcher?: boolean; + [key: string]: any; +} + +export interface SmsNotification { + from: string; + to: string; + text: string; +} + +export interface EmailNotification { + from: string; + to: string; + subject: string; + html?: string; + text?: string; + // Add more fields as needed +} + +export interface PushNotification { + title: string; + body: string; + token: string; + // Add more fields as needed +} + +export interface WebpushNotification { + title: string; + body: string; + endpoint: string; + // Add more fields as needed +} + +export interface SlackNotification { + text: string; + channel?: string; + // Add more fields as needed +} + +export interface VoiceNotification { + from: string; + to: string; + text: string; + // Add more fields as needed +} + +export interface NotificationRequest { + sms?: SmsNotification; + email?: EmailNotification; + push?: PushNotification; + webpush?: WebpushNotification; + slack?: SlackNotification; + voice?: VoiceNotification; + // Add more channels as needed +} + +export interface NotificationStatusType { + status: "success" | "error"; + channels?: { + [channel: string]: { + id: string; + providerId?: string; + }; + }; + errors?: { + [channel: string]: Error; + }; +} + +export default class NotifmeSdk { + constructor(options?: NotifmeSdkOptions); + send(notification: NotificationRequest): Promise; + logger: { + mute(): void; + configure(transports: any[]): void; + }; +} diff --git a/types/notifme-sdk/notifme-sdk-tests.ts b/types/notifme-sdk/notifme-sdk-tests.ts new file mode 100644 index 00000000000000..a1cad8c8192d40 --- /dev/null +++ b/types/notifme-sdk/notifme-sdk-tests.ts @@ -0,0 +1,94 @@ +import NotifmeSdk, { NotificationRequest, NotificationStatusType, NotifmeSdkOptions } from "notifme-sdk"; + +const options: NotifmeSdkOptions = { + useNotificationCatcher: true, + channels: { + sms: { + multiProviderStrategy: "fallback", + providers: [ + { type: "twilio", accountSid: "ACxxx", authToken: "token" }, + { type: "nexmo", apiKey: "key", apiSecret: "secret" }, + ], + }, + email: { + multiProviderStrategy: "roundrobin", + providers: [ + { type: "smtp", domain: "example.com" }, + { type: "mailgun", apiKey: "mg-key" }, + ], + }, + }, +}; + +const notifmeSdk = new NotifmeSdk(options); + +const notification: NotificationRequest = { + sms: { from: "+15000000000", to: "+15000000001", text: "Hello, SMS!" }, + email: { from: "me@example.com", to: "you@example.com", subject: "Hello", text: "Email body" }, + push: { title: "Push Title", body: "Push Body", token: "push-token" }, + webpush: { title: "Webpush Title", body: "Webpush Body", endpoint: "webpush-endpoint" }, + slack: { text: "Slack message", channel: "#general" }, + voice: { from: "+15000000000", to: "+15000000001", text: "Voice message" }, +}; + +// Scenario: Only SMS +// $ExpectType Promise +const smsResult = notifmeSdk.send({ sms: { from: "+1234567890", to: "+0987654321", text: "Single SMS" } }); + +// Scenario: Only Email +// $ExpectType Promise +const emailResult = notifmeSdk.send({ email: { from: "a@b.com", to: "c@d.com", subject: "Subject", text: "Body" } }); + +// Scenario: Only Push +// $ExpectType Promise +const pushResult = notifmeSdk.send({ push: { title: "Push Title", body: "Push Body", token: "push-token" } }); + +// Scenario: Only Webpush +// $ExpectType Promise +const webpushResult = notifmeSdk.send({ + webpush: { title: "Webpush Title", body: "Webpush Body", endpoint: "webpush-endpoint" }, +}); + +// Scenario: Only Slack +// $ExpectType Promise +const slackResult = notifmeSdk.send({ slack: { text: "Slack only" } }); + +// Scenario: Only Voice +// $ExpectType Promise +const voiceResult = notifmeSdk.send({ voice: { from: "+1234567890", to: "+0987654321", text: "Voice call" } }); + +// Scenario: SMS and Email together +// $ExpectType Promise +const smsEmailResult = notifmeSdk.send({ + sms: { from: "+1234567890", to: "+0987654321", text: "SMS+Email" }, + email: { from: "a@b.com", to: "c@d.com", subject: "Subject", text: "Body" }, +}); + +// Scenario: Custom provider config +const customOptions: NotifmeSdkOptions = { + channels: { + sms: { + providers: [ + { type: "custom", customField: "customValue" }, + ], + }, + }, +}; +const customSdk = new NotifmeSdk(customOptions); +// $ExpectType Promise +const customResult = customSdk.send({ sms: { from: "+1", to: "+2", text: "Custom provider" } }); + +// Scenario: Notification catcher only +const catcherSdk = new NotifmeSdk({ useNotificationCatcher: true }); +// $ExpectType Promise +const catcherResult = catcherSdk.send({ sms: { from: "+1", to: "+2", text: "Catcher only" } }); + +// Logger helpers +// $ExpectType void +const muteRes = notifmeSdk.logger.mute(); +// $ExpectType void +const configureRes = notifmeSdk.logger.configure([]); + +// Negative tests - ensure type errors when using wrong shapes +// @ts-expect-error -- 'from' must be a string +notifmeSdk.send({ sms: { from: 123, to: "+1", text: "bad" } }); diff --git a/types/notifme-sdk/package.json b/types/notifme-sdk/package.json new file mode 100644 index 00000000000000..abfbb7cf04374a --- /dev/null +++ b/types/notifme-sdk/package.json @@ -0,0 +1,17 @@ +{ + "private": true, + "name": "@types/notifme-sdk", + "version": "1.16.9999", + "projects": [ + "https://github.com/notifme/notifme-sdk#readme" + ], + "devDependencies": { + "@types/notifme-sdk": "workspace:." + }, + "owners": [ + { + "name": "Oghenetefa Oluwatofunmi", + "githubUsername": "everurstruly" + } + ] +} diff --git a/types/notifme-sdk/tsconfig.json b/types/notifme-sdk/tsconfig.json new file mode 100644 index 00000000000000..3d5c7dc565bc9e --- /dev/null +++ b/types/notifme-sdk/tsconfig.json @@ -0,0 +1,19 @@ +{ + "compilerOptions": { + "module": "node16", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictFunctionTypes": true, + "strictNullChecks": true, + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "notifme-sdk-tests.ts" + ] +} From ed749d116505eea59dffc6df8b6af74f59883efc Mon Sep 17 00:00:00 2001 From: Vadim Piven Date: Wed, 3 Sep 2025 11:51:49 +0200 Subject: [PATCH 14/15] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#73563=20node?= =?UTF-8?q?:fs/promises=20filehandle.createReadStream([options])=20options?= =?UTF-8?q?.signal=20by=20@vadimpiven?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/node/v20/fs/promises.d.ts | 2 +- types/node/v20/test/fs.ts | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/types/node/v20/fs/promises.d.ts b/types/node/v20/fs/promises.d.ts index 628ac329be8767..52f979baccc820 100644 --- a/types/node/v20/fs/promises.d.ts +++ b/types/node/v20/fs/promises.d.ts @@ -68,7 +68,7 @@ declare module "fs/promises" { length?: number | null; position?: number | null; } - interface CreateReadStreamOptions { + interface CreateReadStreamOptions extends Abortable { encoding?: BufferEncoding | null | undefined; autoClose?: boolean | undefined; emitClose?: boolean | undefined; diff --git a/types/node/v20/test/fs.ts b/types/node/v20/test/fs.ts index d3ab658c297269..0333354bd04b2c 100644 --- a/types/node/v20/test/fs.ts +++ b/types/node/v20/test/fs.ts @@ -883,6 +883,11 @@ const anyStatFs: fs.StatsFs | fs.BigIntStatsFs = fs.statfsSync(".", { bigint: Ma stream.push(null); stream.read(0); }); + fs.promises.open("/dev/input/event0").then(fd => { + // Create a stream from some character device. + const stream = fd.createReadStream({ signal: new AbortSignal() }); // $ExpectType ReadStream + stream.close(); + }); fs.promises.open("/dev/input/event0", "r").then(fd => { // Create a stream from some character device. const stream = fd.createReadStream(); // $ExpectType ReadStream From 126af798865756152e67401453031a50c187eaea Mon Sep 17 00:00:00 2001 From: Christian Rackerseder Date: Wed, 3 Sep 2025 12:36:20 +0200 Subject: [PATCH 15/15] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#73499=20[uma?= =?UTF-8?q?mi-browser]=20update=20identify()=20function=20by=20@screendriv?= =?UTF-8?q?er?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/umami-browser/index.d.ts | 14 ++++++++------ types/umami-browser/package.json | 2 +- types/umami-browser/umami-browser-tests.ts | 2 ++ 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/types/umami-browser/index.d.ts b/types/umami-browser/index.d.ts index 19eee6c6f04d1d..cc61c07d8f13b3 100644 --- a/types/umami-browser/index.d.ts +++ b/types/umami-browser/index.d.ts @@ -33,15 +33,17 @@ declare namespace umami { interface umami { track: { - (): Promise; - (eventName: string): Promise; - (eventName: string, eventData: EventData): Promise; - (props: CustomPayload): Promise; + (): Promise; + (eventName: string): Promise; + (eventName: string, eventData: EventData): Promise; + (props: CustomPayload): Promise; ( callback: (props: PageViewProperties) => CustomPayload, - ): Promise; + ): Promise; }; - identify(data: EventData): Promise; + identify(uniqueId: string): Promise; + identify(uniqueId: string, data: EventData): Promise; + identify(data: EventData): Promise; } } diff --git a/types/umami-browser/package.json b/types/umami-browser/package.json index cca097b221b70b..57aebb5c87afb9 100644 --- a/types/umami-browser/package.json +++ b/types/umami-browser/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@types/umami-browser", - "version": "2.13.9999", + "version": "2.18.9999", "nonNpm": true, "nonNpmDescription": "umami-browser", "projects": [ diff --git a/types/umami-browser/umami-browser-tests.ts b/types/umami-browser/umami-browser-tests.ts index a4d6761a7bc609..c0b05ac7f6e683 100644 --- a/types/umami-browser/umami-browser-tests.ts +++ b/types/umami-browser/umami-browser-tests.ts @@ -21,4 +21,6 @@ umami.track((props) => ({ }, })); +umami.identify("test-id"); +umami.identify("test-id", { email: "test@example.com" }); umami.identify({ email: "bob@aol.com" });