SlashNephy / Divination

FINAL FANTASY XIV toolkits
http://xiv.starry.blue/
MIT License
19 stars 6 forks source link

chore(deps): update dependency wrangler to v3.22.3 #569

Closed renovate[bot] closed 9 months ago

renovate[bot] commented 9 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
wrangler (source) 3.22.1 -> 3.22.3 age adoption passing confidence

Release Notes

cloudflare/workers-sdk (wrangler) ### [`v3.22.3`](https://togithub.com/cloudflare/workers-sdk/blob/HEAD/packages/wrangler/CHANGELOG.md#3223) [Compare Source](https://togithub.com/cloudflare/workers-sdk/compare/wrangler@3.22.2...wrangler@3.22.3) ##### Patch Changes - [#​4693](https://togithub.com/cloudflare/workers-sdk/pull/4693) [`93e88c43`](https://togithub.com/cloudflare/workers-sdk/commit/93e88c433fdd82db63b332559efaabef6c482e88) Thanks [@​mrbbot](https://togithub.com/mrbbot)! - fix: ensure `wrangler dev` exits with code `0` on clean exit Previously, `wrangler dev` would exit with a non-zero exit code when pressing CTRL+C or x. This change ensures `wrangler` exits with code `0` in these cases. - [#​4630](https://togithub.com/cloudflare/workers-sdk/pull/4630) [`037de5ec`](https://togithub.com/cloudflare/workers-sdk/commit/037de5ec77efc8261860c6d625bc90cd1f2fdd41) Thanks [@​petebacondarwin](https://togithub.com/petebacondarwin)! - fix: ensure User Worker gets the correct Host header in wrangler dev local mode Some full-stack frameworks, such as Next.js, check that the Host header for a server side action request matches the host where the application is expected to run. In `wrangler dev` we have a Proxy Worker in between the browser and the actual User Worker. This Proxy Worker is forwarding on the request from the browser, but then the actual User Worker is running on a different host:port combination than that which the browser thinks it should be on. This was causing the framework to think the request is malicious and blocking it. Now we update the request's Host header to that passed from the Proxy Worker in a custom `MF-Original-Url` header, but only do this if the request also contains a shared secret between the Proxy Worker and User Worker, which is passed via the `MF-Proxy-Shared-Secret` header. This last feature is to prevent a malicious website from faking the Host header in a request directly to the User Worker. Fixes [https://github.com/cloudflare/next-on-pages/issues/588](https://togithub.com/cloudflare/next-on-pages/issues/588) - [#​4695](https://togithub.com/cloudflare/workers-sdk/pull/4695) [`0f8a03c0`](https://togithub.com/cloudflare/workers-sdk/commit/0f8a03c06aa3180799cf03b1e60c348620115600) Thanks [@​mrbbot](https://togithub.com/mrbbot)! - fix: ensure API failures without additional messages logged correctly - [#​4693](https://togithub.com/cloudflare/workers-sdk/pull/4693) [`93e88c43`](https://togithub.com/cloudflare/workers-sdk/commit/93e88c433fdd82db63b332559efaabef6c482e88) Thanks [@​mrbbot](https://togithub.com/mrbbot)! - fix: ensure `wrangler pages dev` exits cleanly Previously, pressing CTRL+C or x when running `wrangler pages dev` wouldn't actually exit `wrangler`. You'd need to press CTRL+C a second time to exit the process. This change ensures `wrangler` exits the first time. - [#​4696](https://togithub.com/cloudflare/workers-sdk/pull/4696) [`624084c4`](https://togithub.com/cloudflare/workers-sdk/commit/624084c447a4898c4273c26e3ea24ea069a2900b) Thanks [@​mrbbot](https://togithub.com/mrbbot)! - fix: include additional modules in `largest dependencies` warning If your Worker fails to deploy because it's too large, Wrangler will display of list of your Worker's largest dependencies. Previously, this just included JavaScript dependencies. This change ensures additional module dependencies (e.g. WebAssembly, text blobs, etc.) are included when computing this list. - Updated dependencies \[[`037de5ec`](https://togithub.com/cloudflare/workers-sdk/commit/037de5ec77efc8261860c6d625bc90cd1f2fdd41)]: - miniflare@3.20231218.1 ### [`v3.22.2`](https://togithub.com/cloudflare/workers-sdk/blob/HEAD/packages/wrangler/CHANGELOG.md#3222) [Compare Source](https://togithub.com/cloudflare/workers-sdk/compare/wrangler@3.22.1...wrangler@3.22.2) ##### Patch Changes - [#​4600](https://togithub.com/cloudflare/workers-sdk/pull/4600) [`4233e514`](https://togithub.com/cloudflare/workers-sdk/commit/4233e5149d7dafe44c22a59b33310744fc02efc6) Thanks [@​mrbbot](https://togithub.com/mrbbot)! - fix: apply source mapping to deployment validation errors Previously if a Worker failed validation during `wrangler deploy`, the displayed error would reference locations in built JavaScript files. This made it more difficult to debug validation errors. This change ensures these errors are now source mapped, referencing locations in source files instead. - [#​4440](https://togithub.com/cloudflare/workers-sdk/pull/4440) [`15717333`](https://togithub.com/cloudflare/workers-sdk/commit/157173338a9f6a0701fd47711ff321be0dcbb037) Thanks [@​mrbbot](https://togithub.com/mrbbot)! - fix: automatically create required directories for `wrangler r2 object get` Previously, if you tried to use `wrangler r2 object get` with an object name containing a `/` or used the `--file` flag with a path containing a `/`, and the specified directory didn't exist, Wrangler would throw an `ENOENT` error. This change ensures Wrangler automatically creates required parent directories if they don't exist. - [#​4592](https://togithub.com/cloudflare/workers-sdk/pull/4592) [`20da658e`](https://togithub.com/cloudflare/workers-sdk/commit/20da658ee3cc2c6684b68fd7b7da389dd5de6a0f) Thanks [@​mrbbot](https://togithub.com/mrbbot)! - fix: throw helpful error if email validation required Previously, Wrangler would display the raw API error message and code if email validation was required during `wrangler deploy`. This change ensures a helpful error message is displayed instead, prompting users to check their emails or visit the dashboard for a verification link. - [#​4597](https://togithub.com/cloudflare/workers-sdk/pull/4597) [`e1d50407`](https://togithub.com/cloudflare/workers-sdk/commit/e1d504077ab6b0bd996df58ebda76918c2fee076) Thanks [@​mrbbot](https://togithub.com/mrbbot)! - fix: suggest checking permissions on authentication error with API token set - [#​4593](https://togithub.com/cloudflare/workers-sdk/pull/4593) [`c370026d`](https://togithub.com/cloudflare/workers-sdk/commit/c370026d3f07f7214e33aa44ad507fe1e97bdfdd) Thanks [@​mrbbot](https://togithub.com/mrbbot)! - fix: include messages from API in errors - [#​4588](https://togithub.com/cloudflare/workers-sdk/pull/4588) [`4e5ed0b2`](https://togithub.com/cloudflare/workers-sdk/commit/4e5ed0b28383602db9aa48658811a01ccfb8e5c2) Thanks [@​mrbbot](https://togithub.com/mrbbot)! - fix: require worker name for rollback Previously, Wrangler would fail with a cryptic error if you tried to run `wrangler rollback` outside of a directory containing a Wrangler configuration file with a `name` defined. This change validates that a worker name is defined, and allows you to set it from the command line using the `--name` flag. - Updated dependencies \[[`c410ea14`](https://togithub.com/cloudflare/workers-sdk/commit/c410ea141f02f808ff3dddfa9ee21ccbb530acec)]: - miniflare@3.20231218.0

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.