From 7c0127a8b7573bbe542bad8f6a4a0a065598a7a2 Mon Sep 17 00:00:00 2001 From: googlemaps-bot Date: Thu, 3 Sep 2026 10:31:15 -0700 Subject: [PATCH 1/7] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#75487=20chore:?= =?UTF-8?q?=20sync=20updates=20to=20google.maps=20by=20@googlemaps-bot?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: copybara-service[bot] --- types/google.maps/google.maps-tests.ts | 2 +- types/google.maps/index.d.ts | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/types/google.maps/google.maps-tests.ts b/types/google.maps/google.maps-tests.ts index c2de1100397e83..339e344f1a3b83 100644 --- a/types/google.maps/google.maps-tests.ts +++ b/types/google.maps/google.maps-tests.ts @@ -1,3 +1,3 @@ // No tests required for generated types -// Synced from: https://github.com/googlemaps/js-types/commit/d66e1f798b124eb03bcbc52239dfc7465cc5a0a1 +// Synced from: https://github.com/googlemaps/js-types/commit/8ee4ab4f60c853ce1f5d6201e810d16713a3f272 google.maps.Map; diff --git a/types/google.maps/index.d.ts b/types/google.maps/index.d.ts index 1f6fa2bcc33eca..410607fbba0dcd 100644 --- a/types/google.maps/index.d.ts +++ b/types/google.maps/index.d.ts @@ -17156,6 +17156,10 @@ declare namespace google.maps.routes { * Options for customizing the style of a 3D polyline. */ polylineOptions?: google.maps.maps3d.Polyline3DElementOptions | ((arg0: google.maps.maps3d.Polyline3DElementOptions, arg1: google.maps.routes.RoutePolylineDetails) => google.maps.maps3d.Polyline3DElementOptions); + /** + * Whether to disable traffic-aware polylines. Traffic aware polylines are only available when routingPreference is set to TRAFFIC_AWARE or TRAFFIC_AWARE_OPTIMAL. + */ + trafficPolylinesDisabled?: boolean; } /** * Details about a section of a route corresponding to a polyline that can be used to customize the polyline style. From 1cfc1c87b246012f42368f2e562ffd6eb57ed383 Mon Sep 17 00:00:00 2001 From: Jimmy Leung <43258070+hkleungai@users.noreply.github.com> Date: Fri, 4 Sep 2026 01:46:49 +0800 Subject: [PATCH 2/7] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#75490=20feat(r?= =?UTF-8?q?eact-scroll-sync):=20remove=20types=20by=20@hkleungai?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- notNeededPackages.json | 4 ++++ types/react-scroll-sync/.npmignore | 5 ----- types/react-scroll-sync/index.d.ts | 21 ------------------- types/react-scroll-sync/package.json | 20 ------------------ .../react-scroll-sync-tests.tsx | 16 -------------- types/react-scroll-sync/tsconfig.json | 21 ------------------- 6 files changed, 4 insertions(+), 83 deletions(-) delete mode 100644 types/react-scroll-sync/.npmignore delete mode 100644 types/react-scroll-sync/index.d.ts delete mode 100644 types/react-scroll-sync/package.json delete mode 100644 types/react-scroll-sync/react-scroll-sync-tests.tsx delete mode 100644 types/react-scroll-sync/tsconfig.json diff --git a/notNeededPackages.json b/notNeededPackages.json index fa3f716a59189d..cce7521fb1ec90 100644 --- a/notNeededPackages.json +++ b/notNeededPackages.json @@ -6571,6 +6571,10 @@ "libraryName": "react-router-native", "asOfVersion": "6.4.0" }, + "react-scroll-sync": { + "libraryName": "react-scroll-sync", + "asOfVersion": "1.0.0" + }, "react-scrollbar-size": { "libraryName": "react-scrollbar-size", "asOfVersion": "3.0.0" diff --git a/types/react-scroll-sync/.npmignore b/types/react-scroll-sync/.npmignore deleted file mode 100644 index 93e307400a5456..00000000000000 --- a/types/react-scroll-sync/.npmignore +++ /dev/null @@ -1,5 +0,0 @@ -* -!**/*.d.ts -!**/*.d.cts -!**/*.d.mts -!**/*.d.*.ts diff --git a/types/react-scroll-sync/index.d.ts b/types/react-scroll-sync/index.d.ts deleted file mode 100644 index 446fc6446e6d06..00000000000000 --- a/types/react-scroll-sync/index.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import * as React from "react"; - -export interface ScrollSyncProps { - children?: React.ReactNode; - onSync?(el: Element): void; - proportional?: boolean | undefined; - vertical?: boolean | undefined; - horizontal?: boolean | undefined; - enabled?: boolean | undefined; -} - -export interface ScrollSyncPaneProps { - attachTo?: HTMLElement | undefined; - children?: React.ReactNode; - group?: string | string[] | undefined; - enabled?: boolean | undefined; - innerRef?: React.Ref; -} - -export const ScrollSync: React.FC; -export const ScrollSyncPane: React.FC; diff --git a/types/react-scroll-sync/package.json b/types/react-scroll-sync/package.json deleted file mode 100644 index 751e4f77b54ae4..00000000000000 --- a/types/react-scroll-sync/package.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "private": true, - "name": "@types/react-scroll-sync", - "version": "0.9.9999", - "projects": [ - "https://github.com/okonet/react-scroll-sync" - ], - "dependencies": { - "@types/react": "*" - }, - "devDependencies": { - "@types/react-scroll-sync": "workspace:." - }, - "owners": [ - { - "name": "Corné Dorrestijn", - "githubUsername": "cornedor" - } - ] -} diff --git a/types/react-scroll-sync/react-scroll-sync-tests.tsx b/types/react-scroll-sync/react-scroll-sync-tests.tsx deleted file mode 100644 index ff2d5813e65cfb..00000000000000 --- a/types/react-scroll-sync/react-scroll-sync-tests.tsx +++ /dev/null @@ -1,16 +0,0 @@ -import * as React from "react"; -import { ScrollSync, ScrollSyncPane } from "react-scroll-sync"; - -(() => ( - e.childNodes} proportional vertical horizontal enabled> - -
-
- -
-
- -
-
-
-)); diff --git a/types/react-scroll-sync/tsconfig.json b/types/react-scroll-sync/tsconfig.json deleted file mode 100644 index 2277c0f260b6a9..00000000000000 --- a/types/react-scroll-sync/tsconfig.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "compilerOptions": { - "module": "node16", - "lib": [ - "es6", - "dom" - ], - "jsx": "react", - "noImplicitAny": true, - "noImplicitThis": true, - "strictFunctionTypes": true, - "strictNullChecks": true, - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "react-scroll-sync-tests.tsx" - ] -} From 9b0ba5f986d1907f4d41ed5669929bb0f052be95 Mon Sep 17 00:00:00 2001 From: Jimmy Leung <43258070+hkleungai@users.noreply.github.com> Date: Fri, 4 Sep 2026 01:47:08 +0800 Subject: [PATCH 3/7] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#75491=20feat(i?= =?UTF-8?q?nk-divider):=20remove=20types=20by=20@hkleungai?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- notNeededPackages.json | 4 ++++ types/ink-divider/.npmignore | 5 ----- types/ink-divider/index.d.ts | 13 ------------- types/ink-divider/ink-divider-tests.tsx | 16 ---------------- types/ink-divider/package.json | 20 -------------------- types/ink-divider/tsconfig.json | 20 -------------------- 6 files changed, 4 insertions(+), 74 deletions(-) delete mode 100644 types/ink-divider/.npmignore delete mode 100644 types/ink-divider/index.d.ts delete mode 100644 types/ink-divider/ink-divider-tests.tsx delete mode 100644 types/ink-divider/package.json delete mode 100644 types/ink-divider/tsconfig.json diff --git a/notNeededPackages.json b/notNeededPackages.json index cce7521fb1ec90..d36c6b281abce5 100644 --- a/notNeededPackages.json +++ b/notNeededPackages.json @@ -3173,6 +3173,10 @@ "libraryName": "ink", "asOfVersion": "2.0.2" }, + "ink-divider": { + "libraryName": "ink-divider", + "asOfVersion": "2.3.2" + }, "instabug-reactnative": { "libraryName": "instabug-reactnative", "asOfVersion": "8.1.0" diff --git a/types/ink-divider/.npmignore b/types/ink-divider/.npmignore deleted file mode 100644 index 93e307400a5456..00000000000000 --- a/types/ink-divider/.npmignore +++ /dev/null @@ -1,5 +0,0 @@ -* -!**/*.d.ts -!**/*.d.cts -!**/*.d.mts -!**/*.d.*.ts diff --git a/types/ink-divider/index.d.ts b/types/ink-divider/index.d.ts deleted file mode 100644 index ffb61194dd04fc..00000000000000 --- a/types/ink-divider/index.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import * as React from "react"; - -interface DividerProps { - title?: string | undefined; - width?: number | undefined; - padding?: number | undefined; - titlePadding?: number | undefined; - titleColor?: string | undefined; - dividerChar?: string | undefined; - dividerColor?: string | undefined; -} -declare const Divider: React.FC; -export = Divider; diff --git a/types/ink-divider/ink-divider-tests.tsx b/types/ink-divider/ink-divider-tests.tsx deleted file mode 100644 index ccdf5900ac8777..00000000000000 --- a/types/ink-divider/ink-divider-tests.tsx +++ /dev/null @@ -1,16 +0,0 @@ -import Divider from "ink-divider"; -import * as React from "react"; - -const test1 = () => { - return ( - - ); -}; diff --git a/types/ink-divider/package.json b/types/ink-divider/package.json deleted file mode 100644 index 28bb18452abd5e..00000000000000 --- a/types/ink-divider/package.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "private": true, - "name": "@types/ink-divider", - "version": "2.0.9999", - "projects": [ - "https://github.com/juresotosek/ink-divider#readme" - ], - "dependencies": { - "@types/react": "*" - }, - "devDependencies": { - "@types/ink-divider": "workspace:." - }, - "owners": [ - { - "name": "omjadas", - "githubUsername": "omjadas" - } - ] -} diff --git a/types/ink-divider/tsconfig.json b/types/ink-divider/tsconfig.json deleted file mode 100644 index dc3582edfbb9ab..00000000000000 --- a/types/ink-divider/tsconfig.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "compilerOptions": { - "module": "node16", - "jsx": "react", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictFunctionTypes": true, - "strictNullChecks": true, - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "ink-divider-tests.tsx" - ] -} From 37fa09c1b5170ae62c104783d0c24ed0297d0720 Mon Sep 17 00:00:00 2001 From: Jimmy Leung <43258070+hkleungai@users.noreply.github.com> Date: Fri, 4 Sep 2026 01:47:27 +0800 Subject: [PATCH 4/7] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#75492=20feat(r?= =?UTF-8?q?aygun4js):=20remove=20types=20by=20@hkleungai?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- attw.json | 1 - notNeededPackages.json | 4 + types/raygun4js/.npmignore | 5 - types/raygun4js/index.d.ts | 435 ----------------------------- types/raygun4js/package.json | 17 -- types/raygun4js/raygun4js-tests.ts | 113 -------- types/raygun4js/tsconfig.json | 20 -- 7 files changed, 4 insertions(+), 591 deletions(-) delete mode 100644 types/raygun4js/.npmignore delete mode 100644 types/raygun4js/index.d.ts delete mode 100644 types/raygun4js/package.json delete mode 100644 types/raygun4js/raygun4js-tests.ts delete mode 100644 types/raygun4js/tsconfig.json diff --git a/attw.json b/attw.json index 05d71bff568b4c..ef9f7a81594b1f 100644 --- a/attw.json +++ b/attw.json @@ -216,7 +216,6 @@ "radium", "raphael", "rasa-webchat", - "raygun4js", "react-add-to-calendar", "react-animals", "react-animate-on-scroll", diff --git a/notNeededPackages.json b/notNeededPackages.json index d36c6b281abce5..2d21dfab6b6c6d 100644 --- a/notNeededPackages.json +++ b/notNeededPackages.json @@ -5939,6 +5939,10 @@ "libraryName": "raygun", "asOfVersion": "0.11.0" }, + "raygun4js": { + "libraryName": "raygun4js", + "asOfVersion": "3.1.0" + }, "rc-progress": { "libraryName": "rc-progress", "asOfVersion": "2.4.0" diff --git a/types/raygun4js/.npmignore b/types/raygun4js/.npmignore deleted file mode 100644 index 93e307400a5456..00000000000000 --- a/types/raygun4js/.npmignore +++ /dev/null @@ -1,5 +0,0 @@ -* -!**/*.d.ts -!**/*.d.cts -!**/*.d.mts -!**/*.d.*.ts diff --git a/types/raygun4js/index.d.ts b/types/raygun4js/index.d.ts deleted file mode 100644 index d26e196ea27af2..00000000000000 --- a/types/raygun4js/index.d.ts +++ /dev/null @@ -1,435 +0,0 @@ -interface TracekitStackTrace { - message: string; - mode: string; - name: string; - stack: TracekitStack[]; - url: string; - useragent: string; -} - -interface TracekitStack { - column: number; - context: any; - func: string; - line: number; - url: string; -} - -interface RaygunStackTrace { - LineNumber: number; - ColumnNumber: number; - ClassName: string; - FileName: string; - MethodName: string; -} - -interface RaygunOptions { - /** - * Posts error payloads over HTTP. This allows IE8 to send JS errors. - */ - allowInsecureSubmissions?: boolean | undefined; - - /** - * User-aborted Ajax calls result in errors. If this option is true, these errors will not be sent. - */ - ignoreAjaxAbort?: boolean | undefined; - - /** - * Ajax requests that return error codes will not be sent as errors to Raygun if this options is true. - */ - ignoreAjaxError?: boolean | undefined; - - /** - * Disabling anonymous user tracking. - */ - disableAnonymousUserTracking?: boolean | undefined; - - /** - * Prevent uncaught errors from being sent. - */ - disableErrorTracking?: boolean | undefined; - - /** - * Prevent Pulse real user monitoring events from being sent. - */ - disablePulse?: boolean | undefined; - - /** - * Prevents errors from being sent from certain hostnames (domains) by providing an array of strings or RegExp objects (for partial matches). - * Each should match the hostname or TLD that you want to exclude. Note that protocols are not tested. - */ - excludedHostnames?: ReadonlyArray | undefined; - - /** - * Prevents errors from being sent from certain user agents by providing an array of strings. - * This is very helpful to exclude errors reported by certain browsers or test automation with CasperJS, PhantomJS or any other testing utility that sends a custom user agent. - * If a part of the client's navigator.userAgent matches one of the given strings in the array, then the client will be excluded from error reporting. - */ - excludedUserAgents?: ReadonlyArray | undefined; - - /** - * The maximum time a virtual page can be considered viewed, in milliseconds (defaults to 30 minutes). - */ - pulseMaxVirtualPageDuration?: number | undefined; - - /** - * Ignore URL casing when sending data to Pulse. - */ - pulseIgnoreUrlCasing?: boolean | undefined; - - /** - * If false, async callback functions triggered by setTimeout/setInterval will not be wrapped when attach() is called. Defaults to true - */ - wrapAsynchronousCallbacks?: boolean | undefined; - - /** - * Raygun4JS will log to the console when sending errors. - */ - debugMode?: boolean | undefined; - - captureUnhandledRejections?: boolean | undefined; - setCookieAsSecure?: boolean | undefined; - - /** - * Ignores any errors that have no stack trace information. This will discard any errors that occur completely within 3rd party scripts - - * if code loaded from the current domain called the 3rd party function, it will have at least one stack line and will still be sent. - */ - ignore3rdPartyErrors?: boolean | undefined; - - /** - * A string URI containing the protocol, domain and port (optional) where all payloads will be sent to. - * This can be used to proxy payloads to the Raygun API through your own server. When not set this defaults internally to the Raygun API, and for most usages you won't need to set this. - */ - apiEndpoint?: string | undefined; - - /** - * String which can be optionally set "onLoad" which will then boot the RealUserMonitoring side instead of waiting for the `load` event. - */ - from?: string | "onLoad" | undefined; - - /** - * Raygun4JS will track each window.performance.measure call as a custom timing entry. This enables developers to use a more native API for tracking performance timings. - */ - automaticPerformanceCustomTimings?: boolean | undefined; - - /** - * RUM requests will be associated to this IP address when set. - */ - clientIp?: string | undefined; - - /** - * RUM uses the window.performance API to track XHR timing information and (depending on the browser) not all non-2XX XHR timings are recorded by this API. - * This option enables the tracking of these missing XHR's calls by tracking the difference between send & success XHR handlers. - */ - captureMissingRequests?: boolean | undefined; -} - -interface RaygunPayload { - OccurredOn: Date; - Details: { - Error: { - ClassName: string; - Message: string; - StackTrace: RaygunStackTrace[]; - }; - Environment: { - UtcOffset: number; - "User-Language": string; - "Document-Mode": number; - "Browser-Width": number; - "Browser-Height": number; - "Screen-Width": number; - "Screen-Height": number; - "Color-Depth": number; - Browser: string; - "Browser-Name": string; - "Browser-Version": string; - Platform: string; - }; - Client: { - Name: string; - Version: string; - }; - UserCustomData: any; - Tags: string[]; - Request: { - Url: string; - QueryString: string; - Headers: { - "User-Agent": string; - Referer: string; - Host: string; - }; - }; - Version: string; - User: { - Identifier?: string | undefined; - IsAnonymous?: boolean | undefined; - Email?: string | undefined; - FullName?: string | undefined; - FirstName?: string | undefined; - UUID?: any; - }; - GroupingKey?: string | undefined; - }; -} - -interface RaygunStatic { - /** - * Prevents Raygun from overwriting anything bound to `window.Raygun`. - */ - noConflict(): RaygunStatic; - - /** - * Creates a new Raygun object. Allows the sending of errors to different applications. - */ - constructNewRaygun(): RaygunStatic; - - /** - * Configures the Raygun provider. - */ - init( - apiKey: string, - options?: RaygunOptions, - customdata?: any, - ): RaygunStatic; - - /** - * Attaches custom data to any errors sent to Raygun. - */ - withCustomData(customdata: any): RaygunStatic; - - /** - * Allows errors to be filtered by tag in the Raygun Dashboard. - */ - withTags(tags: string[]): RaygunStatic; - - /** - * Attaches to the `window.onerror` handler. Enables unhandled errors to be automatically tracked. - */ - attach(): RaygunStatic; - - /** - * Detaches the handler from the window.onerror method. Unhandled errors will no longer be tracked. - */ - detach(): RaygunStatic; - - /** - * Sends an error/exception to the Raygun Api. - */ - send(ex: Error, customData?: any, tags?: string[]): RaygunStatic; - - /** - * Provides additional information about the current user. - */ - setUser( - user: string, - isAnonymous?: boolean, - email?: string, - fullName?: string, - firstName?: string, - uuid?: string, - ): RaygunStatic; - - /** - * Resets the information about the current user. - */ - resetAnonymousUser(): void; - - /** - * Allows errors to be filtered by version in the Raygun Dashboard. Versions should be in the format `x.x.x` - */ - setVersion(version: string): RaygunStatic; - - /** - * Whether caught errors should be saved in Local Storage when there is no network activity. Saved errors will be send when another error occurs, and activity is regained. Disabled by default. - */ - saveIfOffline(enableOffline: boolean): RaygunStatic; - - /** - * Blacklist keys to prevent their values from being sent to Raygun. - */ - filterSensitiveData( - filteredKeys: ReadonlyArray, - ): RaygunStatic; - - /** - * Change the scope at which filters are applied. Defaults to `customData` by default. - */ - setFilterScope(scope: "all" | "customData"): RaygunStatic; - - /** - * Whitelist damains which should transmit errors to Raygun. - */ - whitelistCrossOriginDomains(whitelist: string[]): RaygunStatic; - - /** - * Executed before the payload is sent. If a truthy object is returned, Raygun will attempt to use that as the payload. Raygun will abort the send if `false` is returned. - */ - onBeforeSend( - callback: (payload: RaygunPayload) => RaygunPayload | boolean, - ): RaygunStatic; - - /** - * Overrides the default automatic grouping and instead group errors together by the string returned by the callback. - */ - groupingKey( - callback: ( - payload: RaygunPayload, - stackTrace: TracekitStackTrace, - options: any, - // eslint-disable-next-line @typescript-eslint/no-invalid-void-type - ) => string | void, - ): RaygunStatic; - onBeforeXHR(callback: (xhr: XMLHttpRequest) => void): RaygunStatic; - onAfterSend(callback: (response: XMLHttpRequest) => void): RaygunStatic; - endSession(): void; - - /** - * Track Single Page Application route events. - */ - trackEvent(type: "pageView", options: { path: string }): void; - trackEvent(type: "customTiming", options: { name: string; duration: number }): void; - - /** - * Records a manual breadcrumb with the given message and metadata passed. - */ - recordBreadcrumb(message: string, metadata?: any): void; - - /** - * Enables all breadcrumbs level or a type can be passed which will enable only that passed one. - */ - enableAutoBreadcrumbs( - type?: "XHR" | "Clicks" | "Console" | "Navigation", - ): void; - - /** - * Disables all breadcrumbs or a type can be passed to disable only that one. - */ - disableAutoBreadcrumbs( - type?: "XHR" | "Clicks" | "Console" | "Navigation", - ): void; - - /** - * Pass "breadcrumbsLevel" alongside a valid breadcrumbs level to set the current level. Passing options other than "breadcrumbsLevel" will set xhr hosts to ignore being - */ - setBreadcrumbOption( - option?: string | "breadcrumbsLevel", - value?: string | "debug" | "info" | "warning" | "error", - ): void; -} - -interface RaygunV2UserDetails { - /** - * Uniquely identifies the user within Raygun. - */ - identifier: string; - - /** - * Indicates whether the user is anonymous or has a user account. Even if this is set to true, you should still give the user a unique identifier of some kind. - */ - isAnonymous?: boolean | undefined; - - /** - * The user's email address. - */ - email?: string | undefined; - - /** - * The user's full name. - */ - fullName?: string | undefined; - - /** - * The user's first or preferred name. - */ - firstName?: string | undefined; - - /** - * Identifier of the device the app is running on. This could be used to correlate user accounts over multiple machines. - */ - uuid?: string | undefined; -} - -type BreadcrumbLevel = "debug" | "error" | "warning" | "info"; -interface RaygunV2 { - (key: "options", value: RaygunOptions): void; - (key: "setUser", value: RaygunV2UserDetails): void; - ( - key: "onBeforeSend", - callback: (payload: RaygunPayload) => RaygunPayload | boolean, - ): void; - ( - key: "onBeforeXHR" | "onAfterSend", - callback: (xhr: XMLHttpRequest) => void, - ): void; - ( - key: "groupingKey", - value: ( - payload: RaygunPayload, - stackTrace: TracekitStackTrace, - options: any, - // eslint-disable-next-line @typescript-eslint/no-invalid-void-type - ) => string | void, - ): void; - (key: "trackEvent", value: { type: string; path: string } | { type: string; name: string; duration: number }): void; - (key: "apiKey" | "setVersion" | "setFilterScope", value: string): void; - ( - key: - | "attach" - | "enableCrashReporting" - | "enablePulse" - | "enableRum" - | "logContentsOfXhrCalls" - | "noConflict" - | "saveIfOffline", - value: boolean, - ): void; - (key: "filterSensitiveData", values: Array): void; - ( - key: "whitelistCrossOriginDomains" | "withTags", - values: string[], - ): void; - (key: "send" | "withCustomData", value: any): void; - (key: "getRaygunInstance"): RaygunStatic; - ( - key: - | "boot" - | "endSession" - | "detach" - | "disableAutoBreadcrumbs" - | "enableAutoBreadcrumbs" - | "disableAutoBreadcrumbsConsole" - | "enableAutoBreadcrumbsConsole" - | "disableAutoBreadcrumbsNavigation" - | "enableAutoBreadcrumbsNavigation" - | "disableAutoBreadcrumbsClicks" - | "enableAutoBreadcrumbsClicks" - | "disableAutoBreadcrumbsXHR" - | "enableAutoBreadcrumbsXHR" - | "setAutoBreadcrumbsXHRIgnoredHosts", - ): void; - (key: "setBreadcrumbLevel", level: BreadcrumbLevel): void; - ( - key: "recordBreadcrumb", - message: - | string - | { - message: string; - metadata: any; - level: BreadcrumbLevel; - location: string; - }, - metadata: object, - ): void; -} - -declare const rg4js: RaygunV2; - -interface Window { - Raygun: RaygunStatic; -} - -export { BreadcrumbLevel, RaygunOptions, RaygunPayload, RaygunStackTrace, RaygunStatic, RaygunV2, RaygunV2UserDetails }; - -export default rg4js; diff --git a/types/raygun4js/package.json b/types/raygun4js/package.json deleted file mode 100644 index b9dd82b84604c8..00000000000000 --- a/types/raygun4js/package.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "private": true, - "name": "@types/raygun4js", - "version": "3.0.9999", - "projects": [ - "https://github.com/MindscapeHQ/raygun4js" - ], - "devDependencies": { - "@types/raygun4js": "workspace:." - }, - "owners": [ - { - "name": "Hamish Taylor", - "githubUsername": "Hamish-taylor" - } - ] -} diff --git a/types/raygun4js/raygun4js-tests.ts b/types/raygun4js/raygun4js-tests.ts deleted file mode 100644 index c02ca53c753872..00000000000000 --- a/types/raygun4js/raygun4js-tests.ts +++ /dev/null @@ -1,113 +0,0 @@ -// V2 Api -// Used in CommonJS-like environments - -import rg4js, { RaygunPayload, RaygunStatic } from "raygun4js"; - -rg4js("apiKey", "api-key"); -rg4js("boot"); -rg4js("enableCrashReporting", true); -rg4js("enablePulse", true); -rg4js("enableRum", true); -rg4js("setUser", { - identifier: "username", - firstName: "Robert", - fullName: "Robert Raygun", -}); -rg4js("trackEvent", { - type: "customTiming", - name: "testDuration", - duration: 100, -}); -rg4js("endSession"); - -try { - throw new Error("oops"); -} catch (e) { - rg4js("send", e); -} - -// V1 Api -// Used in non CommonJS enviroments -declare const Raygun: RaygunStatic; - -const client: RaygunStatic = Raygun.noConflict(); -const newClient: RaygunStatic = client.constructNewRaygun(); - -client.init("api-key"); -client.init("api-key", { - allowInsecureSubmissions: true, - disablePulse: false, - captureMissingRequests: true, - clientIp: "test", - automaticPerformanceCustomTimings: true, -}); -client.init("api-key", { allowInsecureSubmissions: true, disablePulse: false }, { some: "data" }); - -client.withCustomData({ some: "data" }); -client.withCustomData(() => { - return { some: "data" }; -}); - -client.withTags(["tag1", "tag2"]); - -client.attach().detach(); - -client.send(new Error("a error")); -client.send(new Error("a error"), { some: "data" }); -client.send(new Error("a error"), { some: "data" }, ["tag1", "tag2"]); - -try { - throw new Error("oops"); -} catch (e: any) { - client.send(e); -} - -client.setUser("username"); -client.setUser("username", true); -client.setUser("username", false, "user@email.com", "Robert Raygun"); -client.setUser("username", false, "user@email.com", "Robert Raygun", "Robert"); -client.setUser("username", false, "user@email.com", "Robert Raygun", "Robert", "8ae89fc9-1144-42d6-9629-bf085dab18d2"); - -client.resetAnonymousUser(); -client.setVersion("1.2.3.4"); -client.saveIfOffline(true); - -client.filterSensitiveData(["field1", "field2"]); - -client.setFilterScope("all"); - -client.whitelistCrossOriginDomains(["domain1", "domain2"]); - -client.onBeforeSend((payload: RaygunPayload) => { - payload.OccurredOn = new Date(); - return payload; -}); - -client.groupingKey(payload => { - return payload.Details.Error.Message; -}); - -client.onBeforeXHR(xhr => { - console.log(xhr.response); -}); - -client.onAfterSend((xhr) => { - console.log(xhr.response); -}); - -client.endSession(); - -client.trackEvent("pageView", { - path: "/url", -}); - -client.disableAutoBreadcrumbs(); - -client.enableAutoBreadcrumbs(); - -client.recordBreadcrumb("Breadcrumb Message", { custom: "data" }); - -client.trackEvent("customTiming", { - name: "static-test-duration", - duration: 200, -}); diff --git a/types/raygun4js/tsconfig.json b/types/raygun4js/tsconfig.json deleted file mode 100644 index e016adb3759b11..00000000000000 --- a/types/raygun4js/tsconfig.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "compilerOptions": { - "module": "node16", - "lib": [ - "es6", - "dom" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "strictFunctionTypes": true, - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "raygun4js-tests.ts" - ] -} From 46562a2bffd1c16cf6d78b2036cae3f6c8359e04 Mon Sep 17 00:00:00 2001 From: Jimmy Leung <43258070+hkleungai@users.noreply.github.com> Date: Fri, 4 Sep 2026 01:47:45 +0800 Subject: [PATCH 5/7] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#75493=20feat(s?= =?UTF-8?q?ales-tax):=20remove=20types=20by=20@hkleungai?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- notNeededPackages.json | 4 +++ types/sales-tax/.npmignore | 5 --- types/sales-tax/index.d.ts | 51 ------------------------------ types/sales-tax/package.json | 12 ------- types/sales-tax/sales-tax-tests.ts | 32 ------------------- types/sales-tax/tsconfig.json | 19 ----------- 6 files changed, 4 insertions(+), 119 deletions(-) delete mode 100644 types/sales-tax/.npmignore delete mode 100644 types/sales-tax/index.d.ts delete mode 100644 types/sales-tax/package.json delete mode 100644 types/sales-tax/sales-tax-tests.ts delete mode 100644 types/sales-tax/tsconfig.json diff --git a/notNeededPackages.json b/notNeededPackages.json index 2d21dfab6b6c6d..0c541084f9ffa5 100644 --- a/notNeededPackages.json +++ b/notNeededPackages.json @@ -7015,6 +7015,10 @@ "libraryName": "safe-regex-test", "asOfVersion": "1.1.0" }, + "sales-tax": { + "libraryName": "sales-tax", + "asOfVersion": "2.9.0" + }, "samchon": { "libraryName": "samchon", "asOfVersion": "2.0.22" diff --git a/types/sales-tax/.npmignore b/types/sales-tax/.npmignore deleted file mode 100644 index 93e307400a5456..00000000000000 --- a/types/sales-tax/.npmignore +++ /dev/null @@ -1,5 +0,0 @@ -* -!**/*.d.ts -!**/*.d.cts -!**/*.d.mts -!**/*.d.*.ts diff --git a/types/sales-tax/index.d.ts b/types/sales-tax/index.d.ts deleted file mode 100644 index 39e820ebda8eba..00000000000000 --- a/types/sales-tax/index.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -declare namespace SalesTax { - interface SalesTaxResult { - type: string; - rate: number; - area: "worldwide" | "national" | "regional"; - exchange: "business" | "consumer"; - charge: { - direct: boolean; - reverse: boolean; - }; - details: Array<{ type: string; rate: number }>; - } - - interface SalesTaxAmountResult extends SalesTaxResult { - price: number; - total: number; - } - - interface TaxExchangeStatus { - exchange: "business" | "consumer"; - area: "worldwide" | "national" | "regional"; - exempt: boolean; - } - - class SalesTax { - hasSalesTax(countryCode: string): boolean; - hasStateSalesTax(countryCode: string, stateCode: string): boolean; - getSalesTax(countryCode: string, stateCode?: string | null, taxNumber?: string): Promise; - getAmountWithSalesTax( - countryCode: string, - stateCode?: string | null, - amount?: number, - taxNumber?: string, - ): Promise; - getTaxExchangeStatus( - countryCode: string, - stateCode?: string | null, - taxNumber?: string, - ): Promise; - validateTaxNumber(countryCode: string, taxNumber: string): Promise; - - setTaxOriginCountry(countryCode: string, useRegionalTax?: boolean): void; - toggleEnabledTaxNumberFraudCheck(isEnabled: boolean): void; - toggleEnabledTaxNumberValidation(isEnabled: boolean): void; - } -} - -declare const salesTax: InstanceType; - -export = salesTax; -export as namespace SalesTax; diff --git a/types/sales-tax/package.json b/types/sales-tax/package.json deleted file mode 100644 index 3976fc0f85588b..00000000000000 --- a/types/sales-tax/package.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "private": true, - "name": "@types/sales-tax", - "version": "2.3.9999", - "projects": [ - "https://github.com/valeriansaliou/node-sales-tax" - ], - "devDependencies": { - "@types/sales-tax": "workspace:." - }, - "owners": [] -} diff --git a/types/sales-tax/sales-tax-tests.ts b/types/sales-tax/sales-tax-tests.ts deleted file mode 100644 index 78c017d3b71788..00000000000000 --- a/types/sales-tax/sales-tax-tests.ts +++ /dev/null @@ -1,32 +0,0 @@ -import SalesTax = require("sales-tax"); - -SalesTax.setTaxOriginCountry("US"); - -SalesTax.toggleEnabledTaxNumberFraudCheck(true); -SalesTax.toggleEnabledTaxNumberValidation(true); - -const hasSalesTax: boolean = SalesTax.hasSalesTax("GB"); -const hasStateSalesTax: boolean = SalesTax.hasStateSalesTax("US", "CA"); - -SalesTax.getSalesTax("GB"); -SalesTax.getSalesTax("US", "CA"); -SalesTax.getSalesTax("GB", null, "GB123456789"); -SalesTax.getSalesTax("US", "CA", "GB123456789"); - -async function run() { - const result = await SalesTax.getSalesTax("GB"); - // $ExpectType "worldwide" | "national" | "regional" - result.area; - // $ExpectType boolean - result.charge.direct; - // $ExpectType boolean - result.charge.reverse; - // $ExpectType number - result.details[0].rate; - // $ExpectType "business" | "consumer" - result.exchange; - // $ExpectType number - result.rate; - // $ExpectType string - result.type; -} diff --git a/types/sales-tax/tsconfig.json b/types/sales-tax/tsconfig.json deleted file mode 100644 index 0cae7141ceaa29..00000000000000 --- a/types/sales-tax/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "compilerOptions": { - "module": "node16", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictFunctionTypes": true, - "strictNullChecks": true, - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "sales-tax-tests.ts" - ] -} From d62faf629b5f50425a53224137789efdd21355dc Mon Sep 17 00:00:00 2001 From: Jimmy Leung <43258070+hkleungai@users.noreply.github.com> Date: Fri, 4 Sep 2026 01:48:01 +0800 Subject: [PATCH 6/7] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#75494=20feat(e?= =?UTF-8?q?xtenso):=20remove=20types=20by=20@hkleungai?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- notNeededPackages.json | 4 +++ types/extenso/.npmignore | 5 ---- types/extenso/extenso-tests.ts | 47 ---------------------------------- types/extenso/index.d.ts | 28 -------------------- types/extenso/package.json | 12 --------- types/extenso/tsconfig.json | 19 -------------- 6 files changed, 4 insertions(+), 111 deletions(-) delete mode 100644 types/extenso/.npmignore delete mode 100644 types/extenso/extenso-tests.ts delete mode 100644 types/extenso/index.d.ts delete mode 100644 types/extenso/package.json delete mode 100644 types/extenso/tsconfig.json diff --git a/notNeededPackages.json b/notNeededPackages.json index 0c541084f9ffa5..4d9fa6e326752f 100644 --- a/notNeededPackages.json +++ b/notNeededPackages.json @@ -2185,6 +2185,10 @@ "libraryName": "extended-listbox", "asOfVersion": "4.0.1" }, + "extenso": { + "libraryName": "extenso", + "asOfVersion": "2.1.0" + }, "extract-colors": { "libraryName": "extract-colors", "asOfVersion": "3.0.0" diff --git a/types/extenso/.npmignore b/types/extenso/.npmignore deleted file mode 100644 index 93e307400a5456..00000000000000 --- a/types/extenso/.npmignore +++ /dev/null @@ -1,5 +0,0 @@ -* -!**/*.d.ts -!**/*.d.cts -!**/*.d.mts -!**/*.d.*.ts diff --git a/types/extenso/extenso-tests.ts b/types/extenso/extenso-tests.ts deleted file mode 100644 index 7f14a0d67605a0..00000000000000 --- a/types/extenso/extenso-tests.ts +++ /dev/null @@ -1,47 +0,0 @@ -import extenso = require("extenso"); - -extenso("42"); // $ExpectType string -extenso(42); // $ExpectType string -extenso("42", { mode: "number" }); // $ExpectType string -extenso("42", { mode: "currency" }); // $ExpectType string - -extenso("42", { negative: "formal" }); // $ExpectType string -extenso("42", { negative: "informal" }); // $ExpectType string - -extenso("16", { locale: "br" }); // $ExpectType string -extenso("16", { locale: "pt" }); // $ExpectType string - -extenso(42, { mode: "currency" }); // $ExpectType string -extenso(42, { mode: "currency", currency: { type: "BRL" } }); // $ExpectType string -extenso(42, { mode: "currency", currency: { type: "EUR" } }); // $ExpectType string -// @ts-expect-error -extenso(42, { mode: "currency", currency: { type: "USD" } }); - -extenso("42", { number: { gender: "m" } }); // $ExpectType string -extenso("42", { number: { gender: "f" } }); // $ExpectType string - -extenso("3,14", { number: { decimal: "formal" } }); // $ExpectType string -extenso("3,14", { number: { decimal: "informal" } }); // $ExpectType string - -// $ExpectType string -extenso("42", { - mode: "number", - locale: "br", - negative: "formal", - scale: "short", - number: { - gender: "m", - decimal: "formal", - }, -}); - -// $ExpectType string -extenso("42", { - mode: "currency", - locale: "br", - negative: "formal", - scale: "short", - currency: { - type: "BRL", - }, -}); diff --git a/types/extenso/index.d.ts b/types/extenso/index.d.ts deleted file mode 100644 index 709b76b1c1351d..00000000000000 --- a/types/extenso/index.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace Extenso { - interface BaseOptions { - negative?: "formal" | "informal" | undefined; - locale?: "br" | "pt" | undefined; - scale?: "short" | "long" | undefined; - } - - interface NumberModeOptions extends BaseOptions { - mode?: "number" | undefined; - number?: { - gender?: "m" | "f" | undefined; - decimal?: "formal" | "informal" | undefined; - } | undefined; - } - - interface CurrencyModeOptions extends BaseOptions { - mode: "currency"; - currency?: { - type?: "BRL" | "EUR" | undefined; - } | undefined; - } - - type Options = NumberModeOptions | CurrencyModeOptions; -} - -declare function extenso(number: number | string, options?: Extenso.Options): string; - -export = extenso; diff --git a/types/extenso/package.json b/types/extenso/package.json deleted file mode 100644 index f444a60a944e4b..00000000000000 --- a/types/extenso/package.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "private": true, - "name": "@types/extenso", - "version": "2.0.9999", - "projects": [ - "https://github.com/theuves/extenso.js#readme" - ], - "devDependencies": { - "@types/extenso": "workspace:." - }, - "owners": [] -} diff --git a/types/extenso/tsconfig.json b/types/extenso/tsconfig.json deleted file mode 100644 index 3404e80f206d38..00000000000000 --- a/types/extenso/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "compilerOptions": { - "module": "node16", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictFunctionTypes": true, - "strictNullChecks": true, - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "extenso-tests.ts" - ] -} From 7e21f465af7180a15a66b9890d2bab9e0a4e2d53 Mon Sep 17 00:00:00 2001 From: Jimmy Leung <43258070+hkleungai@users.noreply.github.com> Date: Fri, 4 Sep 2026 01:50:14 +0800 Subject: [PATCH 7/7] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#75361=20feat(m?= =?UTF-8?q?arkdown-it-container):=20makes=20opts=20optional=20by=20@hkleun?= =?UTF-8?q?gai?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/markdown-it-container/index.d.ts | 2 +- types/markdown-it-container/markdown-it-container-tests.ts | 1 + types/markdown-it-container/v2/index.d.ts | 2 +- types/markdown-it-container/v2/markdown-it-container-tests.ts | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/types/markdown-it-container/index.d.ts b/types/markdown-it-container/index.d.ts index 540a3baf9adbc6..903e477e99849c 100644 --- a/types/markdown-it-container/index.d.ts +++ b/types/markdown-it-container/index.d.ts @@ -8,6 +8,6 @@ declare namespace MarkdownItContainer { } } -declare function MarkdownItContainer(md: MarkdownIt, name: string, opts: MarkdownItContainer.ContainerOpts): void; +declare function MarkdownItContainer(md: MarkdownIt, name: string, opts?: MarkdownItContainer.ContainerOpts): void; export = MarkdownItContainer; diff --git a/types/markdown-it-container/markdown-it-container-tests.ts b/types/markdown-it-container/markdown-it-container-tests.ts index 7b9e1276d3a0de..428da2cc9c6aea 100644 --- a/types/markdown-it-container/markdown-it-container-tests.ts +++ b/types/markdown-it-container/markdown-it-container-tests.ts @@ -4,6 +4,7 @@ import MarkdownItContainer = require("markdown-it-container"); const md = new MarkdownIt(); +md.use(MarkdownItContainer, "spoiler"); md.use(MarkdownItContainer, "spoiler", { validate: (params: string) => params.trim().match(/^spoiler\s+(.*)$/), render: (tokens: MarkdownIt.Token[], index: number) => { diff --git a/types/markdown-it-container/v2/index.d.ts b/types/markdown-it-container/v2/index.d.ts index 87aafd33c0def0..22fc4e277ea072 100644 --- a/types/markdown-it-container/v2/index.d.ts +++ b/types/markdown-it-container/v2/index.d.ts @@ -9,6 +9,6 @@ declare namespace MarkdownItContainer { } } -declare function MarkdownItContainer(md: MarkdownIt, name: string, opts: MarkdownItContainer.ContainerOpts): void; +declare function MarkdownItContainer(md: MarkdownIt, name: string, opts?: MarkdownItContainer.ContainerOpts): void; export = MarkdownItContainer; diff --git a/types/markdown-it-container/v2/markdown-it-container-tests.ts b/types/markdown-it-container/v2/markdown-it-container-tests.ts index 7b9e1276d3a0de..428da2cc9c6aea 100644 --- a/types/markdown-it-container/v2/markdown-it-container-tests.ts +++ b/types/markdown-it-container/v2/markdown-it-container-tests.ts @@ -4,6 +4,7 @@ import MarkdownItContainer = require("markdown-it-container"); const md = new MarkdownIt(); +md.use(MarkdownItContainer, "spoiler"); md.use(MarkdownItContainer, "spoiler", { validate: (params: string) => params.trim().match(/^spoiler\s+(.*)$/), render: (tokens: MarkdownIt.Token[], index: number) => {