wrangler 2.21.1 → 2.21.3
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 +7 -1
- package/package.json +5 -5
- package/src/__tests__/generate.test.ts +1 -1
- package/src/__tests__/tsconfig.tsbuildinfo +1 -1
- package/src/index.ts +4 -1
- package/src/miniflare-cli/tsconfig.tsbuildinfo +1 -1
- package/src/pages/functions/tsconfig.tsbuildinfo +1 -1
- package/wrangler-dist/cli.js +46 -18
package/README.md
CHANGED
|
@@ -6,9 +6,15 @@
|
|
|
6
6
|
<a href="https://discord.gg/CloudflareDev"><img alt="Discord" src="https://img.shields.io/discord/595317990191398933?color=%23F48120&style=flat-square"></a>
|
|
7
7
|
</section>
|
|
8
8
|
|
|
9
|
+
`wrangler` is a command line tool for building [Cloudflare Workers](https://workers.cloudflare.com/).
|
|
10
|
+
|
|
11
|
+
> [!NOTE]
|
|
12
|
+
>
|
|
9
13
|
> This package is for wrangler v2.x, released first in May 2022. If you're looking for v1.x of the `@cloudflare/wrangler` package, visit https://www.npmjs.com/package/@cloudflare/wrangler / https://github.com/cloudflare/wrangler-legacy.
|
|
10
14
|
|
|
11
|
-
|
|
15
|
+
> [!WARNING]
|
|
16
|
+
>
|
|
17
|
+
> 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.
|
|
12
18
|
|
|
13
19
|
## Quick Start
|
|
14
20
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wrangler",
|
|
3
|
-
"version": "2.21.
|
|
3
|
+
"version": "2.21.3",
|
|
4
4
|
"description": "Command-line interface for all things Cloudflare Workers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"wrangler",
|
|
@@ -102,13 +102,13 @@
|
|
|
102
102
|
"@cloudflare/kv-asset-handler": "^0.2.0",
|
|
103
103
|
"@esbuild-plugins/node-globals-polyfill": "^0.1.1",
|
|
104
104
|
"@esbuild-plugins/node-modules-polyfill": "^0.1.4",
|
|
105
|
-
"@miniflare/core": "2.14.
|
|
106
|
-
"@miniflare/d1": "2.14.
|
|
107
|
-
"@miniflare/durable-objects": "2.14.
|
|
105
|
+
"@miniflare/core": "2.14.4",
|
|
106
|
+
"@miniflare/d1": "2.14.4",
|
|
107
|
+
"@miniflare/durable-objects": "2.14.4",
|
|
108
108
|
"blake3-wasm": "^2.1.5",
|
|
109
109
|
"chokidar": "^3.5.3",
|
|
110
110
|
"esbuild": "0.16.3",
|
|
111
|
-
"miniflare": "2.14.
|
|
111
|
+
"miniflare": "2.14.4",
|
|
112
112
|
"nanoid": "^3.3.3",
|
|
113
113
|
"path-to-regexp": "^6.2.0",
|
|
114
114
|
"selfsigned": "^2.0.1",
|
|
@@ -107,7 +107,7 @@ describe("generate", () => {
|
|
|
107
107
|
});
|
|
108
108
|
|
|
109
109
|
describe("cloning", () => {
|
|
110
|
-
it("clones a cloudflare template with sparse checkouts", async () => {
|
|
110
|
+
it.skip("clones a cloudflare template with sparse checkouts", async () => {
|
|
111
111
|
await expect(
|
|
112
112
|
runWrangler("generate my-worker worker-typescript")
|
|
113
113
|
).resolves.toBeUndefined();
|