@cloudflare/workers-types 4.20250204.0 → 4.20250214.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/2021-11-03/index.d.ts +1 -1
- package/2021-11-03/index.ts +1 -1
- package/2022-01-31/index.d.ts +1 -1
- package/2022-01-31/index.ts +1 -1
- package/2022-03-21/index.d.ts +2 -2
- package/2022-03-21/index.ts +2 -2
- package/2022-08-04/index.d.ts +2 -2
- package/2022-08-04/index.ts +2 -2
- package/2022-10-31/index.d.ts +2 -2
- package/2022-10-31/index.ts +2 -2
- package/2022-11-30/index.d.ts +2 -2
- package/2022-11-30/index.ts +2 -2
- package/2023-03-01/index.d.ts +2 -2
- package/2023-03-01/index.ts +2 -2
- package/2023-07-01/index.d.ts +2 -2
- package/2023-07-01/index.ts +2 -2
- package/experimental/index.d.ts +4 -2
- package/experimental/index.ts +4 -2
- package/index.d.ts +1 -1
- package/index.ts +1 -1
- package/oldest/index.d.ts +1 -1
- package/oldest/index.ts +1 -1
- package/package.json +1 -1
package/2021-11-03/index.d.ts
CHANGED
|
@@ -2625,7 +2625,7 @@ declare class URLSearchParams {
|
|
|
2625
2625
|
declare class URLPattern {
|
|
2626
2626
|
constructor(
|
|
2627
2627
|
input?: string | URLPatternURLPatternInit,
|
|
2628
|
-
baseURL?: string,
|
|
2628
|
+
baseURL?: string | URLPatternURLPatternOptions,
|
|
2629
2629
|
patternOptions?: URLPatternURLPatternOptions,
|
|
2630
2630
|
);
|
|
2631
2631
|
get protocol(): string;
|
package/2021-11-03/index.ts
CHANGED
|
@@ -2637,7 +2637,7 @@ export declare class URLSearchParams {
|
|
|
2637
2637
|
export declare class URLPattern {
|
|
2638
2638
|
constructor(
|
|
2639
2639
|
input?: string | URLPatternURLPatternInit,
|
|
2640
|
-
baseURL?: string,
|
|
2640
|
+
baseURL?: string | URLPatternURLPatternOptions,
|
|
2641
2641
|
patternOptions?: URLPatternURLPatternOptions,
|
|
2642
2642
|
);
|
|
2643
2643
|
get protocol(): string;
|
package/2022-01-31/index.d.ts
CHANGED
|
@@ -2651,7 +2651,7 @@ declare class URLSearchParams {
|
|
|
2651
2651
|
declare class URLPattern {
|
|
2652
2652
|
constructor(
|
|
2653
2653
|
input?: string | URLPatternURLPatternInit,
|
|
2654
|
-
baseURL?: string,
|
|
2654
|
+
baseURL?: string | URLPatternURLPatternOptions,
|
|
2655
2655
|
patternOptions?: URLPatternURLPatternOptions,
|
|
2656
2656
|
);
|
|
2657
2657
|
get protocol(): string;
|
package/2022-01-31/index.ts
CHANGED
|
@@ -2663,7 +2663,7 @@ export declare class URLSearchParams {
|
|
|
2663
2663
|
export declare class URLPattern {
|
|
2664
2664
|
constructor(
|
|
2665
2665
|
input?: string | URLPatternURLPatternInit,
|
|
2666
|
-
baseURL?: string,
|
|
2666
|
+
baseURL?: string | URLPatternURLPatternOptions,
|
|
2667
2667
|
patternOptions?: URLPatternURLPatternOptions,
|
|
2668
2668
|
);
|
|
2669
2669
|
get protocol(): string;
|
package/2022-03-21/index.d.ts
CHANGED
|
@@ -469,7 +469,7 @@ declare abstract class Navigator {
|
|
|
469
469
|
| URLSearchParams,
|
|
470
470
|
): boolean;
|
|
471
471
|
readonly userAgent: string;
|
|
472
|
-
readonly gpu
|
|
472
|
+
readonly gpu?: GPU;
|
|
473
473
|
}
|
|
474
474
|
/**
|
|
475
475
|
* The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
|
|
@@ -2669,7 +2669,7 @@ declare class URLSearchParams {
|
|
|
2669
2669
|
declare class URLPattern {
|
|
2670
2670
|
constructor(
|
|
2671
2671
|
input?: string | URLPatternURLPatternInit,
|
|
2672
|
-
baseURL?: string,
|
|
2672
|
+
baseURL?: string | URLPatternURLPatternOptions,
|
|
2673
2673
|
patternOptions?: URLPatternURLPatternOptions,
|
|
2674
2674
|
);
|
|
2675
2675
|
get protocol(): string;
|
package/2022-03-21/index.ts
CHANGED
|
@@ -474,7 +474,7 @@ export declare abstract class Navigator {
|
|
|
474
474
|
| URLSearchParams,
|
|
475
475
|
): boolean;
|
|
476
476
|
readonly userAgent: string;
|
|
477
|
-
readonly gpu
|
|
477
|
+
readonly gpu?: GPU;
|
|
478
478
|
}
|
|
479
479
|
/**
|
|
480
480
|
* The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
|
|
@@ -2681,7 +2681,7 @@ export declare class URLSearchParams {
|
|
|
2681
2681
|
export declare class URLPattern {
|
|
2682
2682
|
constructor(
|
|
2683
2683
|
input?: string | URLPatternURLPatternInit,
|
|
2684
|
-
baseURL?: string,
|
|
2684
|
+
baseURL?: string | URLPatternURLPatternOptions,
|
|
2685
2685
|
patternOptions?: URLPatternURLPatternOptions,
|
|
2686
2686
|
);
|
|
2687
2687
|
get protocol(): string;
|
package/2022-08-04/index.d.ts
CHANGED
|
@@ -469,7 +469,7 @@ declare abstract class Navigator {
|
|
|
469
469
|
| URLSearchParams,
|
|
470
470
|
): boolean;
|
|
471
471
|
readonly userAgent: string;
|
|
472
|
-
readonly gpu
|
|
472
|
+
readonly gpu?: GPU;
|
|
473
473
|
}
|
|
474
474
|
/**
|
|
475
475
|
* The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
|
|
@@ -2670,7 +2670,7 @@ declare class URLSearchParams {
|
|
|
2670
2670
|
declare class URLPattern {
|
|
2671
2671
|
constructor(
|
|
2672
2672
|
input?: string | URLPatternURLPatternInit,
|
|
2673
|
-
baseURL?: string,
|
|
2673
|
+
baseURL?: string | URLPatternURLPatternOptions,
|
|
2674
2674
|
patternOptions?: URLPatternURLPatternOptions,
|
|
2675
2675
|
);
|
|
2676
2676
|
get protocol(): string;
|
package/2022-08-04/index.ts
CHANGED
|
@@ -474,7 +474,7 @@ export declare abstract class Navigator {
|
|
|
474
474
|
| URLSearchParams,
|
|
475
475
|
): boolean;
|
|
476
476
|
readonly userAgent: string;
|
|
477
|
-
readonly gpu
|
|
477
|
+
readonly gpu?: GPU;
|
|
478
478
|
}
|
|
479
479
|
/**
|
|
480
480
|
* The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
|
|
@@ -2682,7 +2682,7 @@ export declare class URLSearchParams {
|
|
|
2682
2682
|
export declare class URLPattern {
|
|
2683
2683
|
constructor(
|
|
2684
2684
|
input?: string | URLPatternURLPatternInit,
|
|
2685
|
-
baseURL?: string,
|
|
2685
|
+
baseURL?: string | URLPatternURLPatternOptions,
|
|
2686
2686
|
patternOptions?: URLPatternURLPatternOptions,
|
|
2687
2687
|
);
|
|
2688
2688
|
get protocol(): string;
|
package/2022-10-31/index.d.ts
CHANGED
|
@@ -469,7 +469,7 @@ declare abstract class Navigator {
|
|
|
469
469
|
| URLSearchParams,
|
|
470
470
|
): boolean;
|
|
471
471
|
readonly userAgent: string;
|
|
472
|
-
readonly gpu
|
|
472
|
+
readonly gpu?: GPU;
|
|
473
473
|
}
|
|
474
474
|
/**
|
|
475
475
|
* The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
|
|
@@ -2673,7 +2673,7 @@ declare class URLSearchParams {
|
|
|
2673
2673
|
declare class URLPattern {
|
|
2674
2674
|
constructor(
|
|
2675
2675
|
input?: string | URLPatternURLPatternInit,
|
|
2676
|
-
baseURL?: string,
|
|
2676
|
+
baseURL?: string | URLPatternURLPatternOptions,
|
|
2677
2677
|
patternOptions?: URLPatternURLPatternOptions,
|
|
2678
2678
|
);
|
|
2679
2679
|
get protocol(): string;
|
package/2022-10-31/index.ts
CHANGED
|
@@ -474,7 +474,7 @@ export declare abstract class Navigator {
|
|
|
474
474
|
| URLSearchParams,
|
|
475
475
|
): boolean;
|
|
476
476
|
readonly userAgent: string;
|
|
477
|
-
readonly gpu
|
|
477
|
+
readonly gpu?: GPU;
|
|
478
478
|
}
|
|
479
479
|
/**
|
|
480
480
|
* The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
|
|
@@ -2685,7 +2685,7 @@ export declare class URLSearchParams {
|
|
|
2685
2685
|
export declare class URLPattern {
|
|
2686
2686
|
constructor(
|
|
2687
2687
|
input?: string | URLPatternURLPatternInit,
|
|
2688
|
-
baseURL?: string,
|
|
2688
|
+
baseURL?: string | URLPatternURLPatternOptions,
|
|
2689
2689
|
patternOptions?: URLPatternURLPatternOptions,
|
|
2690
2690
|
);
|
|
2691
2691
|
get protocol(): string;
|
package/2022-11-30/index.d.ts
CHANGED
|
@@ -474,7 +474,7 @@ declare abstract class Navigator {
|
|
|
474
474
|
| URLSearchParams,
|
|
475
475
|
): boolean;
|
|
476
476
|
readonly userAgent: string;
|
|
477
|
-
readonly gpu
|
|
477
|
+
readonly gpu?: GPU;
|
|
478
478
|
}
|
|
479
479
|
/**
|
|
480
480
|
* The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
|
|
@@ -2678,7 +2678,7 @@ declare class URLSearchParams {
|
|
|
2678
2678
|
declare class URLPattern {
|
|
2679
2679
|
constructor(
|
|
2680
2680
|
input?: string | URLPatternURLPatternInit,
|
|
2681
|
-
baseURL?: string,
|
|
2681
|
+
baseURL?: string | URLPatternURLPatternOptions,
|
|
2682
2682
|
patternOptions?: URLPatternURLPatternOptions,
|
|
2683
2683
|
);
|
|
2684
2684
|
get protocol(): string;
|
package/2022-11-30/index.ts
CHANGED
|
@@ -479,7 +479,7 @@ export declare abstract class Navigator {
|
|
|
479
479
|
| URLSearchParams,
|
|
480
480
|
): boolean;
|
|
481
481
|
readonly userAgent: string;
|
|
482
|
-
readonly gpu
|
|
482
|
+
readonly gpu?: GPU;
|
|
483
483
|
}
|
|
484
484
|
/**
|
|
485
485
|
* The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
|
|
@@ -2690,7 +2690,7 @@ export declare class URLSearchParams {
|
|
|
2690
2690
|
export declare class URLPattern {
|
|
2691
2691
|
constructor(
|
|
2692
2692
|
input?: string | URLPatternURLPatternInit,
|
|
2693
|
-
baseURL?: string,
|
|
2693
|
+
baseURL?: string | URLPatternURLPatternOptions,
|
|
2694
2694
|
patternOptions?: URLPatternURLPatternOptions,
|
|
2695
2695
|
);
|
|
2696
2696
|
get protocol(): string;
|
package/2023-03-01/index.d.ts
CHANGED
|
@@ -474,7 +474,7 @@ declare abstract class Navigator {
|
|
|
474
474
|
| URLSearchParams,
|
|
475
475
|
): boolean;
|
|
476
476
|
readonly userAgent: string;
|
|
477
|
-
readonly gpu
|
|
477
|
+
readonly gpu?: GPU;
|
|
478
478
|
}
|
|
479
479
|
/**
|
|
480
480
|
* The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
|
|
@@ -2680,7 +2680,7 @@ declare class URLSearchParams {
|
|
|
2680
2680
|
declare class URLPattern {
|
|
2681
2681
|
constructor(
|
|
2682
2682
|
input?: string | URLPatternURLPatternInit,
|
|
2683
|
-
baseURL?: string,
|
|
2683
|
+
baseURL?: string | URLPatternURLPatternOptions,
|
|
2684
2684
|
patternOptions?: URLPatternURLPatternOptions,
|
|
2685
2685
|
);
|
|
2686
2686
|
get protocol(): string;
|
package/2023-03-01/index.ts
CHANGED
|
@@ -479,7 +479,7 @@ export declare abstract class Navigator {
|
|
|
479
479
|
| URLSearchParams,
|
|
480
480
|
): boolean;
|
|
481
481
|
readonly userAgent: string;
|
|
482
|
-
readonly gpu
|
|
482
|
+
readonly gpu?: GPU;
|
|
483
483
|
}
|
|
484
484
|
/**
|
|
485
485
|
* The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
|
|
@@ -2692,7 +2692,7 @@ export declare class URLSearchParams {
|
|
|
2692
2692
|
export declare class URLPattern {
|
|
2693
2693
|
constructor(
|
|
2694
2694
|
input?: string | URLPatternURLPatternInit,
|
|
2695
|
-
baseURL?: string,
|
|
2695
|
+
baseURL?: string | URLPatternURLPatternOptions,
|
|
2696
2696
|
patternOptions?: URLPatternURLPatternOptions,
|
|
2697
2697
|
);
|
|
2698
2698
|
get protocol(): string;
|
package/2023-07-01/index.d.ts
CHANGED
|
@@ -474,7 +474,7 @@ declare abstract class Navigator {
|
|
|
474
474
|
| URLSearchParams,
|
|
475
475
|
): boolean;
|
|
476
476
|
readonly userAgent: string;
|
|
477
|
-
readonly gpu
|
|
477
|
+
readonly gpu?: GPU;
|
|
478
478
|
}
|
|
479
479
|
/**
|
|
480
480
|
* The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
|
|
@@ -2680,7 +2680,7 @@ declare class URLSearchParams {
|
|
|
2680
2680
|
declare class URLPattern {
|
|
2681
2681
|
constructor(
|
|
2682
2682
|
input?: string | URLPatternURLPatternInit,
|
|
2683
|
-
baseURL?: string,
|
|
2683
|
+
baseURL?: string | URLPatternURLPatternOptions,
|
|
2684
2684
|
patternOptions?: URLPatternURLPatternOptions,
|
|
2685
2685
|
);
|
|
2686
2686
|
get protocol(): string;
|
package/2023-07-01/index.ts
CHANGED
|
@@ -479,7 +479,7 @@ export declare abstract class Navigator {
|
|
|
479
479
|
| URLSearchParams,
|
|
480
480
|
): boolean;
|
|
481
481
|
readonly userAgent: string;
|
|
482
|
-
readonly gpu
|
|
482
|
+
readonly gpu?: GPU;
|
|
483
483
|
}
|
|
484
484
|
/**
|
|
485
485
|
* The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
|
|
@@ -2692,7 +2692,7 @@ export declare class URLSearchParams {
|
|
|
2692
2692
|
export declare class URLPattern {
|
|
2693
2693
|
constructor(
|
|
2694
2694
|
input?: string | URLPatternURLPatternInit,
|
|
2695
|
-
baseURL?: string,
|
|
2695
|
+
baseURL?: string | URLPatternURLPatternOptions,
|
|
2696
2696
|
patternOptions?: URLPatternURLPatternOptions,
|
|
2697
2697
|
);
|
|
2698
2698
|
get protocol(): string;
|
package/experimental/index.d.ts
CHANGED
|
@@ -400,6 +400,7 @@ interface TestController {}
|
|
|
400
400
|
interface ExecutionContext {
|
|
401
401
|
waitUntil(promise: Promise<any>): void;
|
|
402
402
|
passThroughOnException(): void;
|
|
403
|
+
exports: any;
|
|
403
404
|
props: any;
|
|
404
405
|
abort(reason?: any): void;
|
|
405
406
|
}
|
|
@@ -475,7 +476,7 @@ declare abstract class Navigator {
|
|
|
475
476
|
| URLSearchParams,
|
|
476
477
|
): boolean;
|
|
477
478
|
readonly userAgent: string;
|
|
478
|
-
readonly gpu
|
|
479
|
+
readonly gpu?: GPU;
|
|
479
480
|
}
|
|
480
481
|
/**
|
|
481
482
|
* The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
|
|
@@ -564,6 +565,7 @@ interface DurableObjectNamespaceGetDurableObjectOptions {
|
|
|
564
565
|
}
|
|
565
566
|
interface DurableObjectState {
|
|
566
567
|
waitUntil(promise: Promise<any>): void;
|
|
568
|
+
exports: any;
|
|
567
569
|
readonly id: DurableObjectId;
|
|
568
570
|
readonly storage: DurableObjectStorage;
|
|
569
571
|
container?: Container;
|
|
@@ -2750,7 +2752,7 @@ declare class URLSearchParams {
|
|
|
2750
2752
|
declare class URLPattern {
|
|
2751
2753
|
constructor(
|
|
2752
2754
|
input?: string | URLPatternURLPatternInit,
|
|
2753
|
-
baseURL?: string,
|
|
2755
|
+
baseURL?: string | URLPatternURLPatternOptions,
|
|
2754
2756
|
patternOptions?: URLPatternURLPatternOptions,
|
|
2755
2757
|
);
|
|
2756
2758
|
get protocol(): string;
|
package/experimental/index.ts
CHANGED
|
@@ -402,6 +402,7 @@ export interface TestController {}
|
|
|
402
402
|
export interface ExecutionContext {
|
|
403
403
|
waitUntil(promise: Promise<any>): void;
|
|
404
404
|
passThroughOnException(): void;
|
|
405
|
+
exports: any;
|
|
405
406
|
props: any;
|
|
406
407
|
abort(reason?: any): void;
|
|
407
408
|
}
|
|
@@ -480,7 +481,7 @@ export declare abstract class Navigator {
|
|
|
480
481
|
| URLSearchParams,
|
|
481
482
|
): boolean;
|
|
482
483
|
readonly userAgent: string;
|
|
483
|
-
readonly gpu
|
|
484
|
+
readonly gpu?: GPU;
|
|
484
485
|
}
|
|
485
486
|
/**
|
|
486
487
|
* The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
|
|
@@ -569,6 +570,7 @@ export interface DurableObjectNamespaceGetDurableObjectOptions {
|
|
|
569
570
|
}
|
|
570
571
|
export interface DurableObjectState {
|
|
571
572
|
waitUntil(promise: Promise<any>): void;
|
|
573
|
+
exports: any;
|
|
572
574
|
readonly id: DurableObjectId;
|
|
573
575
|
readonly storage: DurableObjectStorage;
|
|
574
576
|
container?: Container;
|
|
@@ -2762,7 +2764,7 @@ export declare class URLSearchParams {
|
|
|
2762
2764
|
export declare class URLPattern {
|
|
2763
2765
|
constructor(
|
|
2764
2766
|
input?: string | URLPatternURLPatternInit,
|
|
2765
|
-
baseURL?: string,
|
|
2767
|
+
baseURL?: string | URLPatternURLPatternOptions,
|
|
2766
2768
|
patternOptions?: URLPatternURLPatternOptions,
|
|
2767
2769
|
);
|
|
2768
2770
|
get protocol(): string;
|
package/index.d.ts
CHANGED
|
@@ -2625,7 +2625,7 @@ declare class URLSearchParams {
|
|
|
2625
2625
|
declare class URLPattern {
|
|
2626
2626
|
constructor(
|
|
2627
2627
|
input?: string | URLPatternURLPatternInit,
|
|
2628
|
-
baseURL?: string,
|
|
2628
|
+
baseURL?: string | URLPatternURLPatternOptions,
|
|
2629
2629
|
patternOptions?: URLPatternURLPatternOptions,
|
|
2630
2630
|
);
|
|
2631
2631
|
get protocol(): string;
|
package/index.ts
CHANGED
|
@@ -2637,7 +2637,7 @@ export declare class URLSearchParams {
|
|
|
2637
2637
|
export declare class URLPattern {
|
|
2638
2638
|
constructor(
|
|
2639
2639
|
input?: string | URLPatternURLPatternInit,
|
|
2640
|
-
baseURL?: string,
|
|
2640
|
+
baseURL?: string | URLPatternURLPatternOptions,
|
|
2641
2641
|
patternOptions?: URLPatternURLPatternOptions,
|
|
2642
2642
|
);
|
|
2643
2643
|
get protocol(): string;
|
package/oldest/index.d.ts
CHANGED
|
@@ -2625,7 +2625,7 @@ declare class URLSearchParams {
|
|
|
2625
2625
|
declare class URLPattern {
|
|
2626
2626
|
constructor(
|
|
2627
2627
|
input?: string | URLPatternURLPatternInit,
|
|
2628
|
-
baseURL?: string,
|
|
2628
|
+
baseURL?: string | URLPatternURLPatternOptions,
|
|
2629
2629
|
patternOptions?: URLPatternURLPatternOptions,
|
|
2630
2630
|
);
|
|
2631
2631
|
get protocol(): string;
|
package/oldest/index.ts
CHANGED
|
@@ -2637,7 +2637,7 @@ export declare class URLSearchParams {
|
|
|
2637
2637
|
export declare class URLPattern {
|
|
2638
2638
|
constructor(
|
|
2639
2639
|
input?: string | URLPatternURLPatternInit,
|
|
2640
|
-
baseURL?: string,
|
|
2640
|
+
baseURL?: string | URLPatternURLPatternOptions,
|
|
2641
2641
|
patternOptions?: URLPatternURLPatternOptions,
|
|
2642
2642
|
);
|
|
2643
2643
|
get protocol(): string;
|
package/package.json
CHANGED