wrangler 0.0.0-eec0a6459 → 0.0.0-eec2a7074

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 CHANGED
@@ -8,6 +8,10 @@
8
8
 
9
9
  `wrangler` is a command line tool for building [Cloudflare Workers](https://workers.cloudflare.com/).
10
10
 
11
+ > [!WARNING]
12
+ >
13
+ > Wrangler v2 is **only receiving critical security updates.** We recommend you [migrate to Wrangler v3](https://developers.cloudflare.com/workers/wrangler/migration/update-v2-to-v3/) if you can.
14
+
11
15
  ## Quick Start
12
16
 
13
17
  ```bash
@@ -2,6 +2,39 @@
2
2
  "$ref": "#/definitions/RawConfig",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "definitions": {
5
+ "Assets": {
6
+ "additionalProperties": false,
7
+ "properties": {
8
+ "binding": {
9
+ "type": "string"
10
+ },
11
+ "directory": {
12
+ "description": "Absolute path to assets directory",
13
+ "type": "string"
14
+ },
15
+ "html_handling": {
16
+ "enum": [
17
+ "auto-trailing-slash",
18
+ "force-trailing-slash",
19
+ "drop-trailing-slash",
20
+ "none"
21
+ ],
22
+ "type": "string"
23
+ },
24
+ "not_found_handling": {
25
+ "enum": [
26
+ "single-page-application",
27
+ "404-page",
28
+ "none"
29
+ ],
30
+ "type": "string"
31
+ }
32
+ },
33
+ "required": [
34
+ "directory"
35
+ ],
36
+ "type": "object"
37
+ },
5
38
  "CloudchamberConfig": {
6
39
  "additionalProperties": false,
7
40
  "description": "Configuration in wrangler for Cloudchamber",
@@ -137,6 +170,61 @@
137
170
  },
138
171
  "type": "array"
139
172
  },
173
+ "DurableObjectMigration": {
174
+ "additionalProperties": false,
175
+ "description": "Configuration in wrangler for Durable Object Migrations",
176
+ "properties": {
177
+ "deleted_classes": {
178
+ "description": "The Durable Objects being removed.",
179
+ "items": {
180
+ "type": "string"
181
+ },
182
+ "type": "array"
183
+ },
184
+ "new_classes": {
185
+ "description": "The new Durable Objects being defined.",
186
+ "items": {
187
+ "type": "string"
188
+ },
189
+ "type": "array"
190
+ },
191
+ "new_sqlite_classes": {
192
+ "description": "The new SQLite Durable Objects being defined.",
193
+ "items": {
194
+ "type": "string"
195
+ },
196
+ "type": "array"
197
+ },
198
+ "renamed_classes": {
199
+ "description": "The Durable Objects being renamed.",
200
+ "items": {
201
+ "additionalProperties": false,
202
+ "properties": {
203
+ "from": {
204
+ "type": "string"
205
+ },
206
+ "to": {
207
+ "type": "string"
208
+ }
209
+ },
210
+ "required": [
211
+ "from",
212
+ "to"
213
+ ],
214
+ "type": "object"
215
+ },
216
+ "type": "array"
217
+ },
218
+ "tag": {
219
+ "description": "A unique identifier for this migration.",
220
+ "type": "string"
221
+ }
222
+ },
223
+ "required": [
224
+ "tag"
225
+ ],
226
+ "type": "object"
227
+ },
140
228
  "Environment": {
141
229
  "additionalProperties": false,
142
230
  "description": "The `Environment` interface declares all the configuration fields that can be specified for an environment.\n\nThis could be the top-level default environment, or a specific named environment.",
@@ -184,6 +272,10 @@
184
272
  },
185
273
  "type": "array"
186
274
  },
275
+ "assets": {
276
+ "$ref": "#/definitions/Assets",
277
+ "description": "Specify the directory of static assets to deploy/serve\n\nMore details at https://developers.cloudflare.com/workers/frameworks/"
278
+ },
187
279
  "base_dir": {
188
280
  "description": "The directory in which module rules should be evaluated when including additional files into a Worker deployment. This defaults to the directory containing the `main` entry point of the Worker if not specified.",
189
281
  "type": "string"
@@ -349,10 +441,6 @@
349
441
  ],
350
442
  "type": "object"
351
443
  },
352
- "experimental_assets": {
353
- "$ref": "#/definitions/ExperimentalAssets",
354
- "description": "Specify the directory of static assets to deploy/serve"
355
- },
356
444
  "find_additional_modules": {
357
445
  "description": "If true then Wrangler will traverse the file tree below `base_dir`; Any files that match `rules` will be included in the deployed Worker. Defaults to true if `no_bundle` is true, otherwise false.",
358
446
  "type": "boolean"
@@ -473,51 +561,7 @@
473
561
  "default": [],
474
562
  "description": "A list of migrations that should be uploaded with your Worker.\n\nThese define changes in your Durable Object declarations.\n\nMore details at https://developers.cloudflare.com/workers/learning/using-durable-objects#configuring-durable-object-classes-with-migrations",
475
563
  "items": {
476
- "additionalProperties": false,
477
- "properties": {
478
- "deleted_classes": {
479
- "description": "The Durable Objects being removed.",
480
- "items": {
481
- "type": "string"
482
- },
483
- "type": "array"
484
- },
485
- "new_classes": {
486
- "description": "The new Durable Objects being defined.",
487
- "items": {
488
- "type": "string"
489
- },
490
- "type": "array"
491
- },
492
- "renamed_classes": {
493
- "description": "The Durable Objects being renamed.",
494
- "items": {
495
- "additionalProperties": false,
496
- "properties": {
497
- "from": {
498
- "type": "string"
499
- },
500
- "to": {
501
- "type": "string"
502
- }
503
- },
504
- "required": [
505
- "from",
506
- "to"
507
- ],
508
- "type": "object"
509
- },
510
- "type": "array"
511
- },
512
- "tag": {
513
- "description": "A unique identifier for this migration.",
514
- "type": "string"
515
- }
516
- },
517
- "required": [
518
- "tag"
519
- ],
520
- "type": "object"
564
+ "$ref": "#/definitions/DurableObjectMigration"
521
565
  },
522
566
  "type": "array"
523
567
  },
@@ -560,10 +604,40 @@
560
604
  "description": "Add polyfills for node builtin modules and globals",
561
605
  "type": "boolean"
562
606
  },
607
+ "observability": {
608
+ "$ref": "#/definitions/Observability",
609
+ "description": "Specify the observability behavior of the Worker."
610
+ },
611
+ "pipelines": {
612
+ "default": "`[]`",
613
+ "description": "Specifies list of Pipelines bound to this Worker environment\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
614
+ "items": {
615
+ "additionalProperties": false,
616
+ "properties": {
617
+ "binding": {
618
+ "description": "The binding name used to refer to the bound service.",
619
+ "type": "string"
620
+ },
621
+ "pipeline": {
622
+ "description": "Name of the Pipeline to bind",
623
+ "type": "string"
624
+ }
625
+ },
626
+ "required": [
627
+ "binding",
628
+ "pipeline"
629
+ ],
630
+ "type": "object"
631
+ },
632
+ "type": "array"
633
+ },
563
634
  "placement": {
564
635
  "additionalProperties": false,
565
636
  "description": "Specify how the Worker should be located to minimize round-trip time.\n\nMore details: https://developers.cloudflare.com/workers/platform/smart-placement/",
566
637
  "properties": {
638
+ "hint": {
639
+ "type": "string"
640
+ },
567
641
  "mode": {
568
642
  "enum": [
569
643
  "off",
@@ -939,7 +1013,7 @@
939
1013
  },
940
1014
  "workers_dev": {
941
1015
  "default": "`true` (This is a breaking change from Wrangler v1)",
942
- "description": "Whether we use <name>.<subdomain>.workers.dev to test and deploy your Worker.\n\n// Carmen according to our tests the default is undefined",
1016
+ "description": "Whether we use <name>.<subdomain>.workers.dev to test and deploy your Worker.\n\n// Carmen according to our tests the default is undefined // warning: you must force \"workers_dev: true\" in tests to match expected behavior",
943
1017
  "type": "boolean"
944
1018
  },
945
1019
  "workflows": {
@@ -971,6 +1045,7 @@
971
1045
  "logfwdr",
972
1046
  "migrations",
973
1047
  "mtls_certificates",
1048
+ "pipelines",
974
1049
  "queues",
975
1050
  "r2_buckets",
976
1051
  "rules",
@@ -983,22 +1058,6 @@
983
1058
  ],
984
1059
  "type": "object"
985
1060
  },
986
- "ExperimentalAssets": {
987
- "additionalProperties": false,
988
- "properties": {
989
- "binding": {
990
- "type": "string"
991
- },
992
- "directory": {
993
- "description": "Absolute path to assets directory",
994
- "type": "string"
995
- }
996
- },
997
- "required": [
998
- "directory"
999
- ],
1000
- "type": "object"
1001
- },
1002
1061
  "Json": {
1003
1062
  "anyOf": [
1004
1063
  {
@@ -1021,6 +1080,23 @@
1021
1080
  "Literal": {
1022
1081
  "$ref": "#/definitions/TypeOf%3CZodUnion%3C%5Bdef-class-1315922706-6501-8772-1315922706-0-54395%2Cdef-class-1315922706-9299-10989-1315922706-0-54395%2Cdef-class-1315922706-12937-13365-1315922706-0-54395%2Cdef-class-1315922706-15083-15273-1315922706-0-54395%5D%3E%3E"
1023
1082
  },
1083
+ "Observability": {
1084
+ "additionalProperties": false,
1085
+ "properties": {
1086
+ "enabled": {
1087
+ "description": "If observability is enabled for this Worker",
1088
+ "type": "boolean"
1089
+ },
1090
+ "head_sampling_rate": {
1091
+ "description": "The sampling rate",
1092
+ "type": "number"
1093
+ }
1094
+ },
1095
+ "required": [
1096
+ "enabled"
1097
+ ],
1098
+ "type": "object"
1099
+ },
1024
1100
  "RawConfig": {
1025
1101
  "additionalProperties": false,
1026
1102
  "properties": {
@@ -1078,45 +1154,8 @@
1078
1154
  "type": "array"
1079
1155
  },
1080
1156
  "assets": {
1081
- "anyOf": [
1082
- {
1083
- "additionalProperties": false,
1084
- "properties": {
1085
- "browser_TTL": {
1086
- "type": "number"
1087
- },
1088
- "bucket": {
1089
- "type": "string"
1090
- },
1091
- "exclude": {
1092
- "items": {
1093
- "type": "string"
1094
- },
1095
- "type": "array"
1096
- },
1097
- "include": {
1098
- "items": {
1099
- "type": "string"
1100
- },
1101
- "type": "array"
1102
- },
1103
- "serve_single_page_app": {
1104
- "type": "boolean"
1105
- }
1106
- },
1107
- "required": [
1108
- "bucket",
1109
- "include",
1110
- "exclude",
1111
- "serve_single_page_app"
1112
- ],
1113
- "type": "object"
1114
- },
1115
- {
1116
- "type": "string"
1117
- }
1118
- ],
1119
- "description": "Serve a folder of static assets with your Worker, without any additional code. This can either be a string, or an object with additional config fields. Only one of assets and legacy_assets can be used."
1157
+ "$ref": "#/definitions/Assets",
1158
+ "description": "Specify the directory of static assets to deploy/serve\n\nMore details at https://developers.cloudflare.com/workers/frameworks/"
1120
1159
  },
1121
1160
  "base_dir": {
1122
1161
  "description": "The directory in which module rules should be evaluated when including additional files into a Worker deployment. This defaults to the directory containing the `main` entry point of the Worker if not specified.",
@@ -1305,10 +1344,6 @@
1305
1344
  "description": "The `env` section defines overrides for the configuration for different environments.\n\nAll environment fields can be specified at the top level of the config indicating the default environment settings.\n\n- Some fields are inherited and overridable in each environment.\n- But some are not inherited and must be explicitly specified in every environment, if they are specified at the top level.\n\nFor more information, see the documentation at https://developers.cloudflare.com/workers/cli-wrangler/configuration#environments",
1306
1345
  "type": "object"
1307
1346
  },
1308
- "experimental_assets": {
1309
- "$ref": "#/definitions/ExperimentalAssets",
1310
- "description": "Specify the directory of static assets to deploy/serve"
1311
- },
1312
1347
  "experimental_services": {
1313
1348
  "default": "`[]`",
1314
1349
  "deprecated": "DO NOT USE. We'd added this to test the new service binding system, but the proper way to test experimental features is to use `unsafe.bindings` configuration.",
@@ -1459,7 +1494,7 @@
1459
1494
  "type": "string"
1460
1495
  }
1461
1496
  ],
1462
- "description": "Serve a folder of static assets with your Worker, without any additional code. This can either be a string, or an object with additional config fields. Only one of assets and legacy_assets can be used."
1497
+ "description": "Old behaviour of serving a folder of static assets with your Worker, without any additional code. This can either be a string, or an object with additional config fields. Will be deprecated in the near future in favor of `assets`."
1463
1498
  },
1464
1499
  "legacy_env": {
1465
1500
  "description": "A boolean to enable \"legacy\" style wrangler environments (from Wrangler v1). These have been superseded by Services, but there may be projects that won't (or can't) use them. If you're using a legacy environment, you can set this to `true` to enable it.",
@@ -1513,51 +1548,7 @@
1513
1548
  "default": [],
1514
1549
  "description": "A list of migrations that should be uploaded with your Worker.\n\nThese define changes in your Durable Object declarations.\n\nMore details at https://developers.cloudflare.com/workers/learning/using-durable-objects#configuring-durable-object-classes-with-migrations",
1515
1550
  "items": {
1516
- "additionalProperties": false,
1517
- "properties": {
1518
- "deleted_classes": {
1519
- "description": "The Durable Objects being removed.",
1520
- "items": {
1521
- "type": "string"
1522
- },
1523
- "type": "array"
1524
- },
1525
- "new_classes": {
1526
- "description": "The new Durable Objects being defined.",
1527
- "items": {
1528
- "type": "string"
1529
- },
1530
- "type": "array"
1531
- },
1532
- "renamed_classes": {
1533
- "description": "The Durable Objects being renamed.",
1534
- "items": {
1535
- "additionalProperties": false,
1536
- "properties": {
1537
- "from": {
1538
- "type": "string"
1539
- },
1540
- "to": {
1541
- "type": "string"
1542
- }
1543
- },
1544
- "required": [
1545
- "from",
1546
- "to"
1547
- ],
1548
- "type": "object"
1549
- },
1550
- "type": "array"
1551
- },
1552
- "tag": {
1553
- "description": "A unique identifier for this migration.",
1554
- "type": "string"
1555
- }
1556
- },
1557
- "required": [
1558
- "tag"
1559
- ],
1560
- "type": "object"
1551
+ "$ref": "#/definitions/DurableObjectMigration"
1561
1552
  },
1562
1553
  "type": "array"
1563
1554
  },
@@ -1604,14 +1595,44 @@
1604
1595
  "description": "Add polyfills for node builtin modules and globals",
1605
1596
  "type": "boolean"
1606
1597
  },
1598
+ "observability": {
1599
+ "$ref": "#/definitions/Observability",
1600
+ "description": "Specify the observability behavior of the Worker."
1601
+ },
1607
1602
  "pages_build_output_dir": {
1608
1603
  "description": "The directory of static assets to serve.\n\nThe presence of this field in `wrangler.toml` indicates a Pages project, and will prompt the handling of the configuration file according to the Pages-specific validation rules.",
1609
1604
  "type": "string"
1610
1605
  },
1606
+ "pipelines": {
1607
+ "default": "`[]`",
1608
+ "description": "Specifies list of Pipelines bound to this Worker environment\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
1609
+ "items": {
1610
+ "additionalProperties": false,
1611
+ "properties": {
1612
+ "binding": {
1613
+ "description": "The binding name used to refer to the bound service.",
1614
+ "type": "string"
1615
+ },
1616
+ "pipeline": {
1617
+ "description": "Name of the Pipeline to bind",
1618
+ "type": "string"
1619
+ }
1620
+ },
1621
+ "required": [
1622
+ "binding",
1623
+ "pipeline"
1624
+ ],
1625
+ "type": "object"
1626
+ },
1627
+ "type": "array"
1628
+ },
1611
1629
  "placement": {
1612
1630
  "additionalProperties": false,
1613
1631
  "description": "Specify how the Worker should be located to minimize round-trip time.\n\nMore details: https://developers.cloudflare.com/workers/platform/smart-placement/",
1614
1632
  "properties": {
1633
+ "hint": {
1634
+ "type": "string"
1635
+ },
1615
1636
  "mode": {
1616
1637
  "enum": [
1617
1638
  "off",
@@ -2055,7 +2076,7 @@
2055
2076
  },
2056
2077
  "workers_dev": {
2057
2078
  "default": "`true` (This is a breaking change from Wrangler v1)",
2058
- "description": "Whether we use <name>.<subdomain>.workers.dev to test and deploy your Worker.\n\n// Carmen according to our tests the default is undefined",
2079
+ "description": "Whether we use <name>.<subdomain>.workers.dev to test and deploy your Worker.\n\n// Carmen according to our tests the default is undefined // warning: you must force \"workers_dev: true\" in tests to match expected behavior",
2059
2080
  "type": "boolean"
2060
2081
  },
2061
2082
  "workflows": {
@@ -2163,6 +2184,10 @@
2163
2184
  },
2164
2185
  "type": "array"
2165
2186
  },
2187
+ "assets": {
2188
+ "$ref": "#/definitions/Assets",
2189
+ "description": "Specify the directory of static assets to deploy/serve\n\nMore details at https://developers.cloudflare.com/workers/frameworks/"
2190
+ },
2166
2191
  "base_dir": {
2167
2192
  "description": "The directory in which module rules should be evaluated when including additional files into a Worker deployment. This defaults to the directory containing the `main` entry point of the Worker if not specified.",
2168
2193
  "type": "string"
@@ -2328,10 +2353,6 @@
2328
2353
  ],
2329
2354
  "type": "object"
2330
2355
  },
2331
- "experimental_assets": {
2332
- "$ref": "#/definitions/ExperimentalAssets",
2333
- "description": "Specify the directory of static assets to deploy/serve"
2334
- },
2335
2356
  "experimental_services": {
2336
2357
  "default": "`[]`",
2337
2358
  "deprecated": "DO NOT USE. We'd added this to test the new service binding system, but the proper way to test experimental features is to use `unsafe.bindings` configuration.",
@@ -2486,51 +2507,7 @@
2486
2507
  "default": [],
2487
2508
  "description": "A list of migrations that should be uploaded with your Worker.\n\nThese define changes in your Durable Object declarations.\n\nMore details at https://developers.cloudflare.com/workers/learning/using-durable-objects#configuring-durable-object-classes-with-migrations",
2488
2509
  "items": {
2489
- "additionalProperties": false,
2490
- "properties": {
2491
- "deleted_classes": {
2492
- "description": "The Durable Objects being removed.",
2493
- "items": {
2494
- "type": "string"
2495
- },
2496
- "type": "array"
2497
- },
2498
- "new_classes": {
2499
- "description": "The new Durable Objects being defined.",
2500
- "items": {
2501
- "type": "string"
2502
- },
2503
- "type": "array"
2504
- },
2505
- "renamed_classes": {
2506
- "description": "The Durable Objects being renamed.",
2507
- "items": {
2508
- "additionalProperties": false,
2509
- "properties": {
2510
- "from": {
2511
- "type": "string"
2512
- },
2513
- "to": {
2514
- "type": "string"
2515
- }
2516
- },
2517
- "required": [
2518
- "from",
2519
- "to"
2520
- ],
2521
- "type": "object"
2522
- },
2523
- "type": "array"
2524
- },
2525
- "tag": {
2526
- "description": "A unique identifier for this migration.",
2527
- "type": "string"
2528
- }
2529
- },
2530
- "required": [
2531
- "tag"
2532
- ],
2533
- "type": "object"
2510
+ "$ref": "#/definitions/DurableObjectMigration"
2534
2511
  },
2535
2512
  "type": "array"
2536
2513
  },
@@ -2573,10 +2550,40 @@
2573
2550
  "description": "Add polyfills for node builtin modules and globals",
2574
2551
  "type": "boolean"
2575
2552
  },
2553
+ "observability": {
2554
+ "$ref": "#/definitions/Observability",
2555
+ "description": "Specify the observability behavior of the Worker."
2556
+ },
2557
+ "pipelines": {
2558
+ "default": "`[]`",
2559
+ "description": "Specifies list of Pipelines bound to this Worker environment\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
2560
+ "items": {
2561
+ "additionalProperties": false,
2562
+ "properties": {
2563
+ "binding": {
2564
+ "description": "The binding name used to refer to the bound service.",
2565
+ "type": "string"
2566
+ },
2567
+ "pipeline": {
2568
+ "description": "Name of the Pipeline to bind",
2569
+ "type": "string"
2570
+ }
2571
+ },
2572
+ "required": [
2573
+ "binding",
2574
+ "pipeline"
2575
+ ],
2576
+ "type": "object"
2577
+ },
2578
+ "type": "array"
2579
+ },
2576
2580
  "placement": {
2577
2581
  "additionalProperties": false,
2578
2582
  "description": "Specify how the Worker should be located to minimize round-trip time.\n\nMore details: https://developers.cloudflare.com/workers/platform/smart-placement/",
2579
2583
  "properties": {
2584
+ "hint": {
2585
+ "type": "string"
2586
+ },
2580
2587
  "mode": {
2581
2588
  "enum": [
2582
2589
  "off",
@@ -2952,7 +2959,7 @@
2952
2959
  },
2953
2960
  "workers_dev": {
2954
2961
  "default": "`true` (This is a breaking change from Wrangler v1)",
2955
- "description": "Whether we use <name>.<subdomain>.workers.dev to test and deploy your Worker.\n\n// Carmen according to our tests the default is undefined",
2962
+ "description": "Whether we use <name>.<subdomain>.workers.dev to test and deploy your Worker.\n\n// Carmen according to our tests the default is undefined // warning: you must force \"workers_dev: true\" in tests to match expected behavior",
2956
2963
  "type": "boolean"
2957
2964
  },
2958
2965
  "workflows": {
@@ -3061,10 +3068,6 @@
3061
3068
  "description": "The exported class name of the Workflow",
3062
3069
  "type": "string"
3063
3070
  },
3064
- "environment": {
3065
- "description": "The service environment of the script_name to bind to",
3066
- "type": "string"
3067
- },
3068
3071
  "name": {
3069
3072
  "description": "The name of the Workflow",
3070
3073
  "type": "string"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wrangler",
3
- "version": "0.0.0-eec0a6459",
3
+ "version": "0.0.0-eec2a7074",
4
4
  "description": "Command-line interface for all things Cloudflare Workers",
5
5
  "keywords": [
6
6
  "wrangler",
@@ -54,24 +54,25 @@
54
54
  "@esbuild-plugins/node-modules-polyfill": "^0.2.2",
55
55
  "blake3-wasm": "^2.1.5",
56
56
  "chokidar": "^3.5.3",
57
- "date-fns": "^3.6.0",
57
+ "date-fns": "^4.1.0",
58
58
  "esbuild": "0.17.19",
59
+ "itty-time": "^1.0.6",
59
60
  "nanoid": "^3.3.3",
60
- "path-to-regexp": "^6.2.0",
61
+ "path-to-regexp": "^6.3.0",
61
62
  "resolve": "^1.22.8",
62
63
  "resolve.exports": "^2.0.2",
63
64
  "selfsigned": "^2.0.1",
64
65
  "source-map": "^0.6.1",
65
- "unenv": "npm:unenv-nightly@1.10.0-1717606461.a117952",
66
- "workerd": "1.20240806.0",
66
+ "unenv": "npm:unenv-nightly@2.0.0-20241024-111401-d4156ac",
67
+ "workerd": "1.20241022.0",
67
68
  "xxhash-wasm": "^1.0.1",
68
69
  "@cloudflare/kv-asset-handler": "0.3.4",
69
- "@cloudflare/workers-shared": "0.2.0",
70
- "miniflare": "3.20240806.1"
70
+ "@cloudflare/workers-shared": "0.0.0-eec2a7074",
71
+ "miniflare": "0.0.0-eec2a7074"
71
72
  },
72
73
  "devDependencies": {
73
- "@cloudflare/types": "^6.18.4",
74
- "@cloudflare/workers-types": "^4.20240806.0",
74
+ "@cloudflare/types": "6.18.4",
75
+ "@cloudflare/workers-types": "^4.20241022.0",
75
76
  "@cspotcode/source-map-support": "0.8.1",
76
77
  "@iarna/toml": "^3.0.0",
77
78
  "@microsoft/api-extractor": "^7.47.0",
@@ -106,7 +107,6 @@
106
107
  "concurrently": "^8.2.2",
107
108
  "devtools-protocol": "^0.0.1182435",
108
109
  "dotenv": "^16.0.0",
109
- "es-module-lexer": "^1.3.0",
110
110
  "execa": "^6.1.0",
111
111
  "express": "^4.18.1",
112
112
  "find-up": "^6.3.0",
@@ -146,19 +146,19 @@
146
146
  "ts-json-schema-generator": "^1.5.0",
147
147
  "undici": "^5.28.4",
148
148
  "update-check": "^1.5.4",
149
- "vitest": "^1.6.0",
149
+ "vitest": "~2.1.1",
150
150
  "vitest-websocket-mock": "^0.3.0",
151
151
  "ws": "^8.17.1",
152
152
  "xdg-app-paths": "^8.3.0",
153
153
  "yargs": "^17.7.2",
154
154
  "yoga-layout": "file:../../vendor/yoga-layout-2.0.0-beta.1.tgz",
155
- "@cloudflare/cli": "1.1.1",
156
155
  "@cloudflare/eslint-config-worker": "1.1.0",
157
- "@cloudflare/pages-shared": "^0.11.52",
156
+ "@cloudflare/cli": "1.1.1",
157
+ "@cloudflare/pages-shared": "^0.11.67",
158
158
  "@cloudflare/workers-tsconfig": "0.0.0"
159
159
  },
160
160
  "peerDependencies": {
161
- "@cloudflare/workers-types": "^4.20240806.0"
161
+ "@cloudflare/workers-types": "^4.20241022.0"
162
162
  },
163
163
  "peerDependenciesMeta": {
164
164
  "@cloudflare/workers-types": {
@@ -0,0 +1,3 @@
1
+ declare module "config:middleware/mock-analytics-engine" {
2
+ export const bindings: string[];
3
+ }