@depup/cloudflare__workers-types 5.20260901.1-depup.0 → 5.20260903.1-depup.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/README.md +2 -2
- package/changes.json +1 -1
- package/experimental/index.d.ts +27 -4
- package/experimental/index.ts +27 -4
- package/index.d.ts +28 -7
- package/index.ts +28 -7
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -13,8 +13,8 @@ npm install @depup/cloudflare__workers-types
|
|
|
13
13
|
|
|
14
14
|
| Field | Value |
|
|
15
15
|
|-------|-------|
|
|
16
|
-
| Original | [@cloudflare/workers-types](https://www.npmjs.com/package/@cloudflare/workers-types) @ 5.
|
|
17
|
-
| Processed | 2026-09-
|
|
16
|
+
| Original | [@cloudflare/workers-types](https://www.npmjs.com/package/@cloudflare/workers-types) @ 5.20260903.1 |
|
|
17
|
+
| Processed | 2026-09-03 |
|
|
18
18
|
| Smoke test | failed |
|
|
19
19
|
| Deps updated | 0 |
|
|
20
20
|
|
package/changes.json
CHANGED
package/experimental/index.d.ts
CHANGED
|
@@ -4078,16 +4078,16 @@ interface Container {
|
|
|
4078
4078
|
setInactivityTimeout(durationMs: number | bigint): Promise<void>;
|
|
4079
4079
|
interceptOutboundHttp(addr: string, binding: Fetcher): Promise<void>;
|
|
4080
4080
|
interceptAllOutboundHttp(binding: Fetcher): Promise<void>;
|
|
4081
|
-
snapshotDirectory(
|
|
4082
|
-
options: ContainerDirectorySnapshotOptions,
|
|
4083
|
-
): Promise<ContainerDirectorySnapshot>;
|
|
4084
4081
|
snapshotContainer(
|
|
4085
4082
|
options: ContainerSnapshotOptions,
|
|
4086
4083
|
): Promise<ContainerSnapshot>;
|
|
4087
4084
|
interceptOutboundHttps(addr: string, binding: Fetcher): Promise<void>;
|
|
4088
4085
|
exec(cmd: string[], options?: ContainerExecOptions): Promise<ExecProcess>;
|
|
4089
|
-
interceptOutboundTcp(addr: string, binding: Fetcher): Promise<void>;
|
|
4090
4086
|
inspect(): Promise<ContainerInfo | null>;
|
|
4087
|
+
interceptOutboundTcp(addr: string, binding: Fetcher): Promise<void>;
|
|
4088
|
+
snapshotDirectory(
|
|
4089
|
+
options: ContainerDirectorySnapshotOptions,
|
|
4090
|
+
): Promise<ContainerDirectorySnapshot>;
|
|
4091
4091
|
setLabels(labels: Record<string, string>): Promise<void>;
|
|
4092
4092
|
}
|
|
4093
4093
|
interface ContainerDirectorySnapshot {
|
|
@@ -4856,6 +4856,28 @@ declare abstract class Span {
|
|
|
4856
4856
|
setAttributes(
|
|
4857
4857
|
attributes: Record<string, boolean | number | string | undefined>,
|
|
4858
4858
|
): this;
|
|
4859
|
+
recordException(
|
|
4860
|
+
exception:
|
|
4861
|
+
| string
|
|
4862
|
+
| {
|
|
4863
|
+
code: string | number;
|
|
4864
|
+
name?: string;
|
|
4865
|
+
message?: string;
|
|
4866
|
+
stack?: string;
|
|
4867
|
+
}
|
|
4868
|
+
| {
|
|
4869
|
+
code?: string | number;
|
|
4870
|
+
name: string;
|
|
4871
|
+
message?: string;
|
|
4872
|
+
stack?: string;
|
|
4873
|
+
}
|
|
4874
|
+
| {
|
|
4875
|
+
code?: string | number;
|
|
4876
|
+
name?: string;
|
|
4877
|
+
message: string;
|
|
4878
|
+
stack?: string;
|
|
4879
|
+
},
|
|
4880
|
+
): void;
|
|
4859
4881
|
end(): void;
|
|
4860
4882
|
}
|
|
4861
4883
|
/**
|
|
@@ -17098,6 +17120,7 @@ declare namespace TailStream {
|
|
|
17098
17120
|
}
|
|
17099
17121
|
interface Exception {
|
|
17100
17122
|
readonly type: "exception";
|
|
17123
|
+
readonly code?: string | number;
|
|
17101
17124
|
readonly name: string;
|
|
17102
17125
|
readonly message: string;
|
|
17103
17126
|
readonly stack?: string;
|
package/experimental/index.ts
CHANGED
|
@@ -4087,16 +4087,16 @@ export interface Container {
|
|
|
4087
4087
|
setInactivityTimeout(durationMs: number | bigint): Promise<void>;
|
|
4088
4088
|
interceptOutboundHttp(addr: string, binding: Fetcher): Promise<void>;
|
|
4089
4089
|
interceptAllOutboundHttp(binding: Fetcher): Promise<void>;
|
|
4090
|
-
snapshotDirectory(
|
|
4091
|
-
options: ContainerDirectorySnapshotOptions,
|
|
4092
|
-
): Promise<ContainerDirectorySnapshot>;
|
|
4093
4090
|
snapshotContainer(
|
|
4094
4091
|
options: ContainerSnapshotOptions,
|
|
4095
4092
|
): Promise<ContainerSnapshot>;
|
|
4096
4093
|
interceptOutboundHttps(addr: string, binding: Fetcher): Promise<void>;
|
|
4097
4094
|
exec(cmd: string[], options?: ContainerExecOptions): Promise<ExecProcess>;
|
|
4098
|
-
interceptOutboundTcp(addr: string, binding: Fetcher): Promise<void>;
|
|
4099
4095
|
inspect(): Promise<ContainerInfo | null>;
|
|
4096
|
+
interceptOutboundTcp(addr: string, binding: Fetcher): Promise<void>;
|
|
4097
|
+
snapshotDirectory(
|
|
4098
|
+
options: ContainerDirectorySnapshotOptions,
|
|
4099
|
+
): Promise<ContainerDirectorySnapshot>;
|
|
4100
4100
|
setLabels(labels: Record<string, string>): Promise<void>;
|
|
4101
4101
|
}
|
|
4102
4102
|
export interface ContainerDirectorySnapshot {
|
|
@@ -4865,6 +4865,28 @@ export declare abstract class Span {
|
|
|
4865
4865
|
setAttributes(
|
|
4866
4866
|
attributes: Record<string, boolean | number | string | undefined>,
|
|
4867
4867
|
): this;
|
|
4868
|
+
recordException(
|
|
4869
|
+
exception:
|
|
4870
|
+
| string
|
|
4871
|
+
| {
|
|
4872
|
+
code: string | number;
|
|
4873
|
+
name?: string;
|
|
4874
|
+
message?: string;
|
|
4875
|
+
stack?: string;
|
|
4876
|
+
}
|
|
4877
|
+
| {
|
|
4878
|
+
code?: string | number;
|
|
4879
|
+
name: string;
|
|
4880
|
+
message?: string;
|
|
4881
|
+
stack?: string;
|
|
4882
|
+
}
|
|
4883
|
+
| {
|
|
4884
|
+
code?: string | number;
|
|
4885
|
+
name?: string;
|
|
4886
|
+
message: string;
|
|
4887
|
+
stack?: string;
|
|
4888
|
+
},
|
|
4889
|
+
): void;
|
|
4868
4890
|
end(): void;
|
|
4869
4891
|
}
|
|
4870
4892
|
/**
|
|
@@ -17056,6 +17078,7 @@ export declare namespace TailStream {
|
|
|
17056
17078
|
}
|
|
17057
17079
|
interface Exception {
|
|
17058
17080
|
readonly type: "exception";
|
|
17081
|
+
readonly code?: string | number;
|
|
17059
17082
|
readonly name: string;
|
|
17060
17083
|
readonly message: string;
|
|
17061
17084
|
readonly stack?: string;
|
package/index.d.ts
CHANGED
|
@@ -3991,14 +3991,12 @@ interface Container {
|
|
|
3991
3991
|
setInactivityTimeout(durationMs: number | bigint): Promise<void>;
|
|
3992
3992
|
interceptOutboundHttp(addr: string, binding: Fetcher): Promise<void>;
|
|
3993
3993
|
interceptAllOutboundHttp(binding: Fetcher): Promise<void>;
|
|
3994
|
-
snapshotDirectory(
|
|
3995
|
-
options: ContainerDirectorySnapshotOptions,
|
|
3996
|
-
): Promise<ContainerDirectorySnapshot>;
|
|
3997
3994
|
snapshotContainer(
|
|
3998
3995
|
options: ContainerSnapshotOptions,
|
|
3999
3996
|
): Promise<ContainerSnapshot>;
|
|
4000
3997
|
interceptOutboundHttps(addr: string, binding: Fetcher): Promise<void>;
|
|
4001
3998
|
exec(cmd: string[], options?: ContainerExecOptions): Promise<ExecProcess>;
|
|
3999
|
+
inspect(): Promise<ContainerInfo | null>;
|
|
4002
4000
|
}
|
|
4003
4001
|
interface ContainerDirectorySnapshot {
|
|
4004
4002
|
id: string;
|
|
@@ -4006,10 +4004,6 @@ interface ContainerDirectorySnapshot {
|
|
|
4006
4004
|
dir: string;
|
|
4007
4005
|
name?: string;
|
|
4008
4006
|
}
|
|
4009
|
-
interface ContainerDirectorySnapshotOptions {
|
|
4010
|
-
dir: string;
|
|
4011
|
-
name?: string;
|
|
4012
|
-
}
|
|
4013
4007
|
type ContainerDirectorySnapshotRestoreParams =
|
|
4014
4008
|
| {
|
|
4015
4009
|
snapshot: ContainerDirectorySnapshot;
|
|
@@ -4053,6 +4047,10 @@ type ContainerStartupOptions = {
|
|
|
4053
4047
|
containerSnapshot?: ContainerSnapshotRestoreParams;
|
|
4054
4048
|
}
|
|
4055
4049
|
);
|
|
4050
|
+
interface ContainerInfo {
|
|
4051
|
+
labels: Record<string, string>;
|
|
4052
|
+
image: string;
|
|
4053
|
+
}
|
|
4056
4054
|
interface ContainerStartResources {
|
|
4057
4055
|
vcpu: number;
|
|
4058
4056
|
memoryMib: number;
|
|
@@ -4581,6 +4579,28 @@ declare abstract class Span {
|
|
|
4581
4579
|
setAttributes(
|
|
4582
4580
|
attributes: Record<string, boolean | number | string | undefined>,
|
|
4583
4581
|
): this;
|
|
4582
|
+
recordException(
|
|
4583
|
+
exception:
|
|
4584
|
+
| string
|
|
4585
|
+
| {
|
|
4586
|
+
code: string | number;
|
|
4587
|
+
name?: string;
|
|
4588
|
+
message?: string;
|
|
4589
|
+
stack?: string;
|
|
4590
|
+
}
|
|
4591
|
+
| {
|
|
4592
|
+
code?: string | number;
|
|
4593
|
+
name: string;
|
|
4594
|
+
message?: string;
|
|
4595
|
+
stack?: string;
|
|
4596
|
+
}
|
|
4597
|
+
| {
|
|
4598
|
+
code?: string | number;
|
|
4599
|
+
name?: string;
|
|
4600
|
+
message: string;
|
|
4601
|
+
stack?: string;
|
|
4602
|
+
},
|
|
4603
|
+
): void;
|
|
4584
4604
|
end(): void;
|
|
4585
4605
|
}
|
|
4586
4606
|
/**
|
|
@@ -16823,6 +16843,7 @@ declare namespace TailStream {
|
|
|
16823
16843
|
}
|
|
16824
16844
|
interface Exception {
|
|
16825
16845
|
readonly type: "exception";
|
|
16846
|
+
readonly code?: string | number;
|
|
16826
16847
|
readonly name: string;
|
|
16827
16848
|
readonly message: string;
|
|
16828
16849
|
readonly stack?: string;
|
package/index.ts
CHANGED
|
@@ -4000,14 +4000,12 @@ export interface Container {
|
|
|
4000
4000
|
setInactivityTimeout(durationMs: number | bigint): Promise<void>;
|
|
4001
4001
|
interceptOutboundHttp(addr: string, binding: Fetcher): Promise<void>;
|
|
4002
4002
|
interceptAllOutboundHttp(binding: Fetcher): Promise<void>;
|
|
4003
|
-
snapshotDirectory(
|
|
4004
|
-
options: ContainerDirectorySnapshotOptions,
|
|
4005
|
-
): Promise<ContainerDirectorySnapshot>;
|
|
4006
4003
|
snapshotContainer(
|
|
4007
4004
|
options: ContainerSnapshotOptions,
|
|
4008
4005
|
): Promise<ContainerSnapshot>;
|
|
4009
4006
|
interceptOutboundHttps(addr: string, binding: Fetcher): Promise<void>;
|
|
4010
4007
|
exec(cmd: string[], options?: ContainerExecOptions): Promise<ExecProcess>;
|
|
4008
|
+
inspect(): Promise<ContainerInfo | null>;
|
|
4011
4009
|
}
|
|
4012
4010
|
export interface ContainerDirectorySnapshot {
|
|
4013
4011
|
id: string;
|
|
@@ -4015,10 +4013,6 @@ export interface ContainerDirectorySnapshot {
|
|
|
4015
4013
|
dir: string;
|
|
4016
4014
|
name?: string;
|
|
4017
4015
|
}
|
|
4018
|
-
export interface ContainerDirectorySnapshotOptions {
|
|
4019
|
-
dir: string;
|
|
4020
|
-
name?: string;
|
|
4021
|
-
}
|
|
4022
4016
|
export type ContainerDirectorySnapshotRestoreParams =
|
|
4023
4017
|
| {
|
|
4024
4018
|
snapshot: ContainerDirectorySnapshot;
|
|
@@ -4062,6 +4056,10 @@ export type ContainerStartupOptions = {
|
|
|
4062
4056
|
containerSnapshot?: ContainerSnapshotRestoreParams;
|
|
4063
4057
|
}
|
|
4064
4058
|
);
|
|
4059
|
+
export interface ContainerInfo {
|
|
4060
|
+
labels: Record<string, string>;
|
|
4061
|
+
image: string;
|
|
4062
|
+
}
|
|
4065
4063
|
export interface ContainerStartResources {
|
|
4066
4064
|
vcpu: number;
|
|
4067
4065
|
memoryMib: number;
|
|
@@ -4590,6 +4588,28 @@ export declare abstract class Span {
|
|
|
4590
4588
|
setAttributes(
|
|
4591
4589
|
attributes: Record<string, boolean | number | string | undefined>,
|
|
4592
4590
|
): this;
|
|
4591
|
+
recordException(
|
|
4592
|
+
exception:
|
|
4593
|
+
| string
|
|
4594
|
+
| {
|
|
4595
|
+
code: string | number;
|
|
4596
|
+
name?: string;
|
|
4597
|
+
message?: string;
|
|
4598
|
+
stack?: string;
|
|
4599
|
+
}
|
|
4600
|
+
| {
|
|
4601
|
+
code?: string | number;
|
|
4602
|
+
name: string;
|
|
4603
|
+
message?: string;
|
|
4604
|
+
stack?: string;
|
|
4605
|
+
}
|
|
4606
|
+
| {
|
|
4607
|
+
code?: string | number;
|
|
4608
|
+
name?: string;
|
|
4609
|
+
message: string;
|
|
4610
|
+
stack?: string;
|
|
4611
|
+
},
|
|
4612
|
+
): void;
|
|
4593
4613
|
end(): void;
|
|
4594
4614
|
}
|
|
4595
4615
|
/**
|
|
@@ -16781,6 +16801,7 @@ export declare namespace TailStream {
|
|
|
16781
16801
|
}
|
|
16782
16802
|
interface Exception {
|
|
16783
16803
|
readonly type: "exception";
|
|
16804
|
+
readonly code?: string | number;
|
|
16784
16805
|
readonly name: string;
|
|
16785
16806
|
readonly message: string;
|
|
16786
16807
|
readonly stack?: string;
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
},
|
|
8
8
|
"author": "Cloudflare Workers DevProd Team <workers-devprod@cloudflare.com> (https://workers.cloudflare.com)",
|
|
9
9
|
"license": "MIT OR Apache-2.0",
|
|
10
|
-
"version": "5.
|
|
10
|
+
"version": "5.20260903.1-depup.0",
|
|
11
11
|
"keywords": [
|
|
12
12
|
"@cloudflare/workers-types",
|
|
13
13
|
"depup",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"changes": {},
|
|
21
21
|
"depsUpdated": 0,
|
|
22
22
|
"originalPackage": "@cloudflare/workers-types",
|
|
23
|
-
"originalVersion": "5.
|
|
24
|
-
"processedAt": "2026-09-
|
|
23
|
+
"originalVersion": "5.20260903.1",
|
|
24
|
+
"processedAt": "2026-09-03T08:12:08.125Z",
|
|
25
25
|
"smokeTest": "failed"
|
|
26
26
|
}
|
|
27
27
|
}
|