fix(defineEnv): fallback support for unenv-nightly#378
Merged
Conversation
vicb
approved these changes
Dec 18, 2024
Contributor
|
Thanks a lot β€οΈ |
Contributor
|
@pi0 Can you think of a test that would fail reliably to test this? (I'd like to add this to wrangler) |
9 tasks
9 tasks
renovate bot
added a commit
to zenobi-us/zenobi-us
that referenced
this pull request
Jan 9, 2025
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [wrangler](https://redirect.github.com/cloudflare/workers-sdk) ([source](https://redirect.github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler)) | [`3.99.0` -> `3.100.0`](https://renovatebot.com/diffs/npm/wrangler/3.99.0/3.100.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>cloudflare/workers-sdk (wrangler)</summary> ### [`v3.100.0`](https://redirect.github.com/cloudflare/workers-sdk/blob/HEAD/packages/wrangler/CHANGELOG.md#31000) [Compare Source](https://redirect.github.com/cloudflare/workers-sdk/compare/wrangler@3.99.0...wrangler@3.100.0) ##### Minor Changes - [#​7604](https://redirect.github.com/cloudflare/workers-sdk/pull/7604) [`6c2f173`](https://redirect.github.com/cloudflare/workers-sdk/commit/6c2f17341037962bdf675e7008a4d91059465e16) Thanks [@​CarmenPopoviciu](https://redirect.github.com/CarmenPopoviciu)! - feat: Capture Workers with static assets in the telemetry data We want to measure accurately what this number of Workers + Assets projects running in remote mode is, as this number will be a very helpful data point down the road, when more decisions around remote mode will have to be taken. These changes add this kind of insight to our telemetry data, by capturing whether the command running is in the context of a Workers + Assets project. N.B. With these changes in place we will be capturing the Workers + Assets context for all commands, not just wrangler dev --remote. ##### Patch Changes - [#​7581](https://redirect.github.com/cloudflare/workers-sdk/pull/7581) [`cac7fa6`](https://redirect.github.com/cloudflare/workers-sdk/commit/cac7fa6160ecc70d8f188de1f494a07c0e1e9626) Thanks [@​vicb](https://redirect.github.com/vicb)! - chore(wrangler): update unenv dependency version unenv now uses the workerd implementation on node:dns See the [unjs/unenv#376](https://redirect.github.com/unjs/unenv/pull/376) - [#​7625](https://redirect.github.com/cloudflare/workers-sdk/pull/7625) [`d8fb032`](https://redirect.github.com/cloudflare/workers-sdk/commit/d8fb032ba24ac284147dc481c28ab8dbcf7a9d72) Thanks [@​vicb](https://redirect.github.com/vicb)! - feat(wrangler): use unenv builtin dependency resolution Moving away from `require.resolve()` to handle unenv aliased packages. Using the unenv builtin resolution will allow us to drop the .cjs file from the preset and to override the base path so that we can test the dev version of the preset. - [#​7533](https://redirect.github.com/cloudflare/workers-sdk/pull/7533) [`755a27c`](https://redirect.github.com/cloudflare/workers-sdk/commit/755a27c7a5d7f35cb5f05ab2e12af6d64ce323fb) Thanks [@​danielgek](https://redirect.github.com/danielgek)! - Add warning about the browser rendering not available on local - [#​7614](https://redirect.github.com/cloudflare/workers-sdk/pull/7614) [`8abb43f`](https://redirect.github.com/cloudflare/workers-sdk/commit/8abb43fcdf0c506fa6268a7f07aa31b398b7daf2) Thanks [@​vicb](https://redirect.github.com/vicb)! - chore(wrangler): update unenv dependency version The updated unenv contains a fix for the module resolution, see [unjs/unenv#378](https://redirect.github.com/unjs/unenv/pull/378). That bug prevented us from using unenv module resolution, see [#​7583](https://redirect.github.com/cloudflare/workers-sdk/pull/7583). - Updated dependencies \[[`b4e0af1`](https://redirect.github.com/cloudflare/workers-sdk/commit/b4e0af163548ee8cc0aefc9165f67a0f83ea94d4)]: - miniflare@3.20241230.0 </details> --- ### Configuration π **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). π¦ **Automerge**: Enabled. β» **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. π **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/zenobi-us/zenobi-us). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS45Mi4wIiwidXBkYXRlZEluVmVyIjoiMzkuOTIuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Brooooooklyn
pushed a commit
to toeverything/affine-workers
that referenced
this pull request
Jan 27, 2025
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@cloudflare/workers-types](https://redirect.github.com/cloudflare/workerd) | [`4.20241230.0` -> `4.20250124.3`](https://renovatebot.com/diffs/npm/@cloudflare%2fworkers-types/4.20241230.0/4.20250124.3) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@oxc-node/core](https://redirect.github.com/oxc-project/oxc-node) | [`^0.0.16` -> `^0.0.19`](https://renovatebot.com/diffs/npm/@oxc-node%2fcore/0.0.16/0.0.19) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@types/node](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`22.10.5` -> `22.10.10`](https://renovatebot.com/diffs/npm/@types%2fnode/22.10.5/22.10.10) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [pnpm](https://pnpm.io) ([source](https://redirect.github.com/pnpm/pnpm/tree/HEAD/pnpm)) | [`9.15.2` -> `9.15.4`](https://renovatebot.com/diffs/npm/pnpm/9.15.2/9.15.4) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [tldts](https://redirect.github.com/remusao/tldts) | [`6.1.70` -> `6.1.75`](https://renovatebot.com/diffs/npm/tldts/6.1.70/6.1.75) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [typescript](https://www.typescriptlang.org/) ([source](https://redirect.github.com/microsoft/TypeScript)) | [`5.7.2` -> `5.7.3`](https://renovatebot.com/diffs/npm/typescript/5.7.2/5.7.3) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [wrangler](https://redirect.github.com/cloudflare/workers-sdk) ([source](https://redirect.github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler)) | [`3.99.0` -> `3.105.1`](https://renovatebot.com/diffs/npm/wrangler/3.99.0/3.105.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>cloudflare/workerd (@​cloudflare/workers-types)</summary> ### [`v4.20250124.3`](https://redirect.github.com/cloudflare/workerd/compare/b982f8bce58e4f0b713e19ad328fa3471047d75c...52568feecf0b0c1c7da1a433110919f763cba658) [Compare Source](https://redirect.github.com/cloudflare/workerd/compare/b982f8bce58e4f0b713e19ad328fa3471047d75c...52568feecf0b0c1c7da1a433110919f763cba658) ### [`v4.20250121.0`](https://redirect.github.com/cloudflare/workerd/compare/3ad23dfaecf35ea967c50c64e9e45e358c6d6efd...b982f8bce58e4f0b713e19ad328fa3471047d75c) [Compare Source](https://redirect.github.com/cloudflare/workerd/compare/3ad23dfaecf35ea967c50c64e9e45e358c6d6efd...b982f8bce58e4f0b713e19ad328fa3471047d75c) ### [`v4.20250109.0`](https://redirect.github.com/cloudflare/workerd/compare/f37b4c64ddc4b61e6eee541aceea13bd43a05501...3ad23dfaecf35ea967c50c64e9e45e358c6d6efd) [Compare Source](https://redirect.github.com/cloudflare/workerd/compare/f37b4c64ddc4b61e6eee541aceea13bd43a05501...3ad23dfaecf35ea967c50c64e9e45e358c6d6efd) </details> <details> <summary>oxc-project/oxc-node (@​oxc-node/core)</summary> ### [`v0.0.19`](https://redirect.github.com/oxc-project/oxc-node/blob/HEAD/CHANGELOG.md#0019-2025-01-20) [Compare Source](https://redirect.github.com/oxc-project/oxc-node/compare/v0.0.18...v0.0.19) **Note:** Version bump only for package oxc-node ### [`v0.0.18`](https://redirect.github.com/oxc-project/oxc-node/blob/HEAD/CHANGELOG.md#0018-2025-01-20) [Compare Source](https://redirect.github.com/oxc-project/oxc-node/compare/v0.0.17...v0.0.18) ##### Bug Fixes - **core:** enfore to esm if file extensions match ([#​55](https://redirect.github.com/oxc-project/oxc-node/issues/55)) ([560ee7a](https://redirect.github.com/oxc-project/oxc-node/commit/560ee7a3e5c120a57b34fdba81e9e8f57b0826d1)) ### [`v0.0.17`](https://redirect.github.com/oxc-project/oxc-node/blob/HEAD/CHANGELOG.md#0017-2025-01-13) [Compare Source](https://redirect.github.com/oxc-project/oxc-node/compare/v0.0.16...v0.0.17) ##### Bug Fixes - **core:** resolve entry with oxc_resolver ([#​53](https://redirect.github.com/oxc-project/oxc-node/issues/53)) ([85af142](https://redirect.github.com/oxc-project/oxc-node/commit/85af1423129a582a72aea52de426f1f6cc5c091f)) </details> <details> <summary>pnpm/pnpm (pnpm)</summary> ### [`v9.15.4`](https://redirect.github.com/pnpm/pnpm/releases/tag/v9.15.4): pnpm 9.15.4 [Compare Source](https://redirect.github.com/pnpm/pnpm/compare/v9.15.3...v9.15.4) #### Patch Changes - Ensure that recursive `pnpm update --latest <pkg>` updates only the specified package, with `dedupe-peer-dependents=true`. #### Platinum Sponsors <table> <tbody> <tr> <td align="center" valign="middle"> <a href="https://bit.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/bit.svg" width="80" alt="Bit"></a> </td> <td align="center" valign="middle"> <a href="https://sanity.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/sanity.svg" width="180" alt="Bit"></a> </td> <td align="center" valign="middle"> <a href="https://figma.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/figma.svg" width="80" alt="Figma"></a> </td> </tr> </tbody> </table> #### Gold Sponsors <table> <tbody> <tr> <td align="center" valign="middle"> <a href="https://discord.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/discord.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/discord_light.svg" /> <img src="https://pnpm.io/img/users/discord.svg" width="220" alt="Discord" /> </picture> </a> </td> <td align="center" valign="middle"> <a href="https://prisma.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/prisma.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/prisma_light.svg" /> <img src="https://pnpm.io/img/users/prisma.svg" width="180" alt="Prisma" /> </picture> </a> </td> </tr> <tr> <td align="center" valign="middle"> <a href="https://uscreen.de/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/uscreen.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/uscreen_light.svg" /> <img src="https://pnpm.io/img/users/uscreen.svg" width="180" alt="u|screen" /> </picture> </a> </td> <td align="center" valign="middle"> <a href="https://www.jetbrains.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/jetbrains.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/jetbrains.svg" /> <img src="https://pnpm.io/img/users/jetbrains.svg" width="180" alt="JetBrains" /> </picture> </a> </td> </tr> <tr> <td align="center" valign="middle"> <a href="https://nx.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/nx.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/nx_light.svg" /> <img src="https://pnpm.io/img/users/nx.svg" width="120" alt="Nx" /> </picture> </a> </td> <td align="center" valign="middle"> <a href="https://coderabbit.ai/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/coderabbit.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/coderabbit_light.svg" /> <img src="https://pnpm.io/img/users/coderabbit.svg" width="220" alt="CodeRabbit" /> </picture> </a> </td> </tr> <tr> <td align="center" valign="middle"> <a href="https://route4me.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <img src="https://pnpm.io/img/users/route4me.svg" width="220" alt="Route4Me" /> </a> </td> <td align="center" valign="middle"> <a href="https://workleap.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/workleap.svg" /> <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/workleap_light.svg" /> <img src="https://pnpm.io/img/users/workleap.svg" width="190" alt="Workleap" /> </picture> </a> </td> </tr> <tr> <td align="center" valign="middle"> <a href="https://canva.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank"> <img src="https://pnpm.io/img/users/canva.svg" width="120" alt="Canva" /> </a> </td> </tr> </tbody> </table> ### [`v9.15.3`](https://redirect.github.com/pnpm/pnpm/compare/v9.15.2...v9.15.3) [Compare Source](https://redirect.github.com/pnpm/pnpm/compare/v9.15.2...v9.15.3) </details> <details> <summary>remusao/tldts (tldts)</summary> ### [`v6.1.75`](https://redirect.github.com/remusao/tldts/blob/HEAD/CHANGELOG.md#v6175-Sun-Jan-26-2025) [Compare Source](https://redirect.github.com/remusao/tldts/compare/v6.1.74...v6.1.75) ##### π Update Public Suffix List - `tldts-experimental`, `tldts-icann`, `tldts` - Update upstream public suffix list [#​2261](https://redirect.github.com/remusao/tldts/pull/2261) ([@​remusao](https://redirect.github.com/remusao)) ##### π© Dependencies - Bump [@​types/node](https://redirect.github.com/types/node) from 22.10.8 to 22.10.10 [#​2259](https://redirect.github.com/remusao/tldts/pull/2259) ([@​dependabot\[bot\]](https://redirect.github.com/dependabot\[bot])) - Bump mocha from 11.0.1 to 11.1.0 [#​2255](https://redirect.github.com/remusao/tldts/pull/2255) ([@​dependabot\[bot\]](https://redirect.github.com/dependabot\[bot])) - Bump [@​types/node](https://redirect.github.com/types/node) from 22.10.7 to 22.10.8 [#​2256](https://redirect.github.com/remusao/tldts/pull/2256) ([@​dependabot\[bot\]](https://redirect.github.com/dependabot\[bot])) ##### Authors: 2 - [@​dependabot\[bot\]](https://redirect.github.com/dependabot\[bot]) - RΓ©mi ([@​remusao](https://redirect.github.com/remusao)) *** ### [`v6.1.74`](https://redirect.github.com/remusao/tldts/blob/HEAD/CHANGELOG.md#v6174-Wed-Jan-22-2025) [Compare Source](https://redirect.github.com/remusao/tldts/compare/v6.1.73...v6.1.74) ##### π Update Public Suffix List - `tldts-experimental`, `tldts-icann`, `tldts` - Update upstream public suffix list [#​2254](https://redirect.github.com/remusao/tldts/pull/2254) ([@​remusao](https://redirect.github.com/remusao)) ##### π© Dependencies - Bump rollup from 4.30.1 to 4.31.0 [#​2252](https://redirect.github.com/remusao/tldts/pull/2252) ([@​dependabot\[bot\]](https://redirect.github.com/dependabot\[bot])) ##### Authors: 2 - [@​dependabot\[bot\]](https://redirect.github.com/dependabot\[bot]) - RΓ©mi ([@​remusao](https://redirect.github.com/remusao)) *** ### [`v6.1.73`](https://redirect.github.com/remusao/tldts/blob/HEAD/CHANGELOG.md#v6173-Sat-Jan-18-2025) [Compare Source](https://redirect.github.com/remusao/tldts/compare/v6.1.72...v6.1.73) ##### π Update Public Suffix List - `tldts-experimental`, `tldts` - Update upstream public suffix list [#​2251](https://redirect.github.com/remusao/tldts/pull/2251) ([@​remusao](https://redirect.github.com/remusao)) ##### π© Dependencies - Bump [@​types/node](https://redirect.github.com/types/node) from 22.10.6 to 22.10.7 [#​2250](https://redirect.github.com/remusao/tldts/pull/2250) ([@​dependabot\[bot\]](https://redirect.github.com/dependabot\[bot])) ##### Authors: 2 - [@​dependabot\[bot\]](https://redirect.github.com/dependabot\[bot]) - RΓ©mi ([@​remusao](https://redirect.github.com/remusao)) *** ### [`v6.1.72`](https://redirect.github.com/remusao/tldts/blob/HEAD/CHANGELOG.md#v6172-Wed-Jan-15-2025) [Compare Source](https://redirect.github.com/remusao/tldts/compare/v6.1.71...v6.1.72) ##### π Update Public Suffix List - `tldts-experimental`, `tldts-icann`, `tldts-tests`, `tldts` - Update upstream public suffix list [#​2245](https://redirect.github.com/remusao/tldts/pull/2245) ([@​remusao](https://redirect.github.com/remusao)) ##### π© Dependencies - Bump typescript from 5.7.2 to 5.7.3 [#​2247](https://redirect.github.com/remusao/tldts/pull/2247) ([@​dependabot\[bot\]](https://redirect.github.com/dependabot\[bot])) - Bump [@​types/node](https://redirect.github.com/types/node) from 22.10.5 to 22.10.6 [#​2248](https://redirect.github.com/remusao/tldts/pull/2248) ([@​dependabot\[bot\]](https://redirect.github.com/dependabot\[bot])) - Bump rollup from 4.29.2 to 4.30.1 [#​2246](https://redirect.github.com/remusao/tldts/pull/2246) ([@​dependabot\[bot\]](https://redirect.github.com/dependabot\[bot])) ##### Authors: 2 - [@​dependabot\[bot\]](https://redirect.github.com/dependabot\[bot]) - RΓ©mi ([@​remusao](https://redirect.github.com/remusao)) *** ### [`v6.1.71`](https://redirect.github.com/remusao/tldts/blob/HEAD/CHANGELOG.md#v6171-Mon-Jan-06-2025) [Compare Source](https://redirect.github.com/remusao/tldts/compare/v6.1.70...v6.1.71) ##### π Update Public Suffix List - `tldts-experimental`, `tldts` - Update upstream public suffix list [#​2241](https://redirect.github.com/remusao/tldts/pull/2241) ([@​remusao](https://redirect.github.com/remusao)) ##### π© Dependencies - Bump [@​types/node](https://redirect.github.com/types/node) from 22.10.2 to 22.10.5 [#​2243](https://redirect.github.com/remusao/tldts/pull/2243) ([@​dependabot\[bot\]](https://redirect.github.com/dependabot\[bot])) - Bump rollup from 4.29.1 to 4.29.2 [#​2242](https://redirect.github.com/remusao/tldts/pull/2242) ([@​dependabot\[bot\]](https://redirect.github.com/dependabot\[bot])) ##### Authors: 2 - [@​dependabot\[bot\]](https://redirect.github.com/dependabot\[bot]) - RΓ©mi ([@​remusao](https://redirect.github.com/remusao)) *** </details> <details> <summary>microsoft/TypeScript (typescript)</summary> ### [`v5.7.3`](https://redirect.github.com/microsoft/TypeScript/compare/v5.7.2...a5e123d9e0690fcea92878ea8a0a382922009fc9) [Compare Source](https://redirect.github.com/microsoft/TypeScript/compare/v5.7.2...v5.7.3) </details> <details> <summary>cloudflare/workers-sdk (wrangler)</summary> ### [`v3.105.1`](https://redirect.github.com/cloudflare/workers-sdk/blob/HEAD/packages/wrangler/CHANGELOG.md#31051) [Compare Source](https://redirect.github.com/cloudflare/workers-sdk/compare/wrangler@3.105.0...wrangler@3.105.1) ##### Patch Changes - [#​7884](https://redirect.github.com/cloudflare/workers-sdk/pull/7884) [`fd5a455`](https://redirect.github.com/cloudflare/workers-sdk/commit/fd5a45520e92e0fe60c457a6ae54caef67d7bbcf) Thanks [@​emily-shen](https://redirect.github.com/emily-shen)! - feat: make experiemntal auto-provisioning non-interactive by default. - [#​7811](https://redirect.github.com/cloudflare/workers-sdk/pull/7811) [`7d138d9`](https://redirect.github.com/cloudflare/workers-sdk/commit/7d138d92c3cbfb84bccb84a3e93f41ad5549d604) Thanks [@​joshthoward](https://redirect.github.com/joshthoward)! - Fix RPC method invocations showing up as unknown events - Updated dependencies \[[`40f89a9`](https://redirect.github.com/cloudflare/workers-sdk/commit/40f89a90d93f57294e49a6b5ed8ba8cc38e0da77)]: - miniflare@3.20250124.0 ### [`v3.105.0`](https://redirect.github.com/cloudflare/workers-sdk/blob/HEAD/packages/wrangler/CHANGELOG.md#31050) [Compare Source](https://redirect.github.com/cloudflare/workers-sdk/compare/wrangler@3.104.0...wrangler@3.105.0) ##### Minor Changes - [#​7466](https://redirect.github.com/cloudflare/workers-sdk/pull/7466) [`e5ebdb1`](https://redirect.github.com/cloudflare/workers-sdk/commit/e5ebdb143788728d8b364fcafc0b36bda4ceb625) Thanks [@​Ltadrian](https://redirect.github.com/Ltadrian)! - feat: implement the `wrangler cert upload` command This command allows users to upload a mTLS certificate/private key or certificate-authority certificate chain. For uploading mTLS certificate, run: - `wrangler cert upload mtls-certificate --cert cert.pem --key key.pem --name MY_CERT` For uploading CA certificate chain, run: - `wrangler cert upload certificate-authority --ca-cert server-ca.pem --name SERVER_CA` ##### Patch Changes - [#​7867](https://redirect.github.com/cloudflare/workers-sdk/pull/7867) [`bdc7958`](https://redirect.github.com/cloudflare/workers-sdk/commit/bdc7958f22bbbb9ce2608fefd295054121a92441) Thanks [@​penalosa](https://redirect.github.com/penalosa)! - Revert [https://github.com/cloudflare/workers-sdk/pull/7816](https://redirect.github.com/cloudflare/workers-sdk/pull/7816). This feature added support for the ASSETS bindings to the `getPlatformProxy()` API, but caused a regression when running `npm run preview` in newly generated Workers Assets projects. - [#​7868](https://redirect.github.com/cloudflare/workers-sdk/pull/7868) [`78a9a2d`](https://redirect.github.com/cloudflare/workers-sdk/commit/78a9a2db485fefb0038ea9d97cc547a9218b7afa) Thanks [@​penalosa](https://redirect.github.com/penalosa)! - Revert "Hyperdrive dev remote fix". This PR includes e2e tests that were not run before merging, and are currently failing. - Updated dependencies \[]: - miniflare@3.20241230.2 ### [`v3.104.0`](https://redirect.github.com/cloudflare/workers-sdk/blob/HEAD/packages/wrangler/CHANGELOG.md#31040) [Compare Source](https://redirect.github.com/cloudflare/workers-sdk/compare/wrangler@3.103.2...wrangler@3.104.0) ##### Minor Changes - [#​7715](https://redirect.github.com/cloudflare/workers-sdk/pull/7715) [`26fa9e8`](https://redirect.github.com/cloudflare/workers-sdk/commit/26fa9e80279401ba5eea4e1522597953441402f2) Thanks [@​penalosa](https://redirect.github.com/penalosa)! - Support service bindings from Pages projects to Workers in a single `workerd` instance. To try it out, pass multiple `-c` flags to Wrangler: i.e. `wrangler pages dev -c wrangler.toml -c ../other-worker/wrangler.toml`. The first `-c` flag must point to your Pages config file, and the rest should point to Workers that are bound to your Pages project. - [#​7816](https://redirect.github.com/cloudflare/workers-sdk/pull/7816) [`f6cc029`](https://redirect.github.com/cloudflare/workers-sdk/commit/f6cc0293d3a6bf45a323b6d9718b7162149cc84f) Thanks [@​dario-piotrowicz](https://redirect.github.com/dario-piotrowicz)! - add support for assets bindings to `getPlatformProxy` this change makes sure that that `getPlatformProxy`, when the input configuration file contains an assets field, correctly returns the appropriate asset binding proxy example: ```json // wrangler.json { "name": "my-worker", "assets": { "directory": "./public/", "binding": "ASSETS" }, "vars": { "MY_VAR": "my-var" } } ``` ```js import { getPlatformProxy } from "wrangler"; const { env, dispose } = await getPlatformProxy(); if (env.ASSETS) { const text = await ( await env.ASSETS.fetch("http://0.0.0.0/file.txt") ).text(); console.log(text); // logs the content of file.txt } await dispose(); ``` ##### Patch Changes - [#​7785](https://redirect.github.com/cloudflare/workers-sdk/pull/7785) [`cccfe51`](https://redirect.github.com/cloudflare/workers-sdk/commit/cccfe51ca6a18a2a69bb6c7fa7066c92c9d704af) Thanks [@​joshthoward](https://redirect.github.com/joshthoward)! - Fix Durable Objects transfer migration validation - [#​7821](https://redirect.github.com/cloudflare/workers-sdk/pull/7821) [`fcaa02c`](https://redirect.github.com/cloudflare/workers-sdk/commit/fcaa02cdf4f3f648d7218e8f7fb411a2324eebb5) Thanks [@​vicb](https://redirect.github.com/vicb)! - fix(wrangler): fix wrangler config schema defaults - [#​7832](https://redirect.github.com/cloudflare/workers-sdk/pull/7832) [`97d2a1b`](https://redirect.github.com/cloudflare/workers-sdk/commit/97d2a1bb56ea0bb94531f9c41b737ba43ed5996f) Thanks [@​petebacondarwin](https://redirect.github.com/petebacondarwin)! - Relax the messaging when Wrangler uses redirected configuration Previously the messaging was rendered as a warning, which implied that the user had done something wrong. Now it is just a regular info message. - [#​7806](https://redirect.github.com/cloudflare/workers-sdk/pull/7806) [`d7adb50`](https://redirect.github.com/cloudflare/workers-sdk/commit/d7adb50fcc9e3c509365fed8a86df485ea9f739b) Thanks [@​vicb](https://redirect.github.com/vicb)! - chore: update unenv to 2.0.0-rc.0 Pull a couple changes in node:timers - [unjs/unenv#384](https://redirect.github.com/unjs/unenv/issues/384) fix function bindings in node:timer - [unjs/unenv#385](https://redirect.github.com/unjs/unenv/issues/385) implement active and \_unrefActive in node:timer The unenv update also includes #unjs/unenv/381 which implements `stdout`, `stderr` and `stdin` of `node:process` with `node:tty` - [#​7828](https://redirect.github.com/cloudflare/workers-sdk/pull/7828) [`9077a67`](https://redirect.github.com/cloudflare/workers-sdk/commit/9077a6748a30d5f24c9b7cbdc3a6514fec5aa66c) Thanks [@​edmundhung](https://redirect.github.com/edmundhung)! - improve multi account error message in non-interactive mode - Updated dependencies \[]: - miniflare@3.20241230.2 ### [`v3.103.2`](https://redirect.github.com/cloudflare/workers-sdk/blob/HEAD/packages/wrangler/CHANGELOG.md#31032) [Compare Source](https://redirect.github.com/cloudflare/workers-sdk/compare/wrangler@3.103.1...wrangler@3.103.2) ##### Patch Changes - [#​7804](https://redirect.github.com/cloudflare/workers-sdk/pull/7804) [`16a9460`](https://redirect.github.com/cloudflare/workers-sdk/commit/16a9460ea6c7daaadcdf2f2e921c66521549bc58) Thanks [@​vicb](https://redirect.github.com/vicb)! - fix(wrangler): use require.resolve to resolve unenv path ### [`v3.103.1`](https://redirect.github.com/cloudflare/workers-sdk/blob/HEAD/packages/wrangler/CHANGELOG.md#31031) [Compare Source](https://redirect.github.com/cloudflare/workers-sdk/compare/wrangler@3.103.0...wrangler@3.103.1) ##### Patch Changes - [#​7798](https://redirect.github.com/cloudflare/workers-sdk/pull/7798) [`a1ff045`](https://redirect.github.com/cloudflare/workers-sdk/commit/a1ff045cfc89f216e19c94e7c4b5d190e27ef5bf) Thanks [@​CarmenPopoviciu](https://redirect.github.com/CarmenPopoviciu)! - Reverts [#​7720](https://redirect.github.com/cloudflare/workers-sdk/issues/7720) as it introduced breakage in some of the C3 templates (eg. Nuxt) ### [`v3.103.0`](https://redirect.github.com/cloudflare/workers-sdk/blob/HEAD/packages/wrangler/CHANGELOG.md#31030) [Compare Source](https://redirect.github.com/cloudflare/workers-sdk/compare/wrangler@3.102.0...wrangler@3.103.0) ##### Minor Changes - [#​5086](https://redirect.github.com/cloudflare/workers-sdk/pull/5086) [`8faf2c0`](https://redirect.github.com/cloudflare/workers-sdk/commit/8faf2c07415030a3c8d9e5fc0e122a59141b3786) Thanks [@​dario-piotrowicz](https://redirect.github.com/dario-piotrowicz)! - add `--strict-vars` option to `wrangler types` add a new `--strict-vars` option to `wrangler types` that developers can (by setting the flag to `false`) use to disable the default strict/literal types generation for their variables opting out of strict variables can be useful when developers change often their `vars` values, even more so when multiple environments are involved ### [`v3.102.0`](https://redirect.github.com/cloudflare/workers-sdk/blob/HEAD/packages/wrangler/CHANGELOG.md#31020) [Compare Source](https://redirect.github.com/cloudflare/workers-sdk/compare/wrangler@3.101.0...wrangler@3.102.0) ##### Minor Changes - [#​7592](https://redirect.github.com/cloudflare/workers-sdk/pull/7592) [`f613276`](https://redirect.github.com/cloudflare/workers-sdk/commit/f6132761c80d90c3521c93d48d0f0aed62bb360a) Thanks [@​garrettgu10](https://redirect.github.com/garrettgu10)! - New filter validation logic supporting set and range queries in Vectorize CLI ##### Patch Changes - [#​7750](https://redirect.github.com/cloudflare/workers-sdk/pull/7750) [`df0e5be`](https://redirect.github.com/cloudflare/workers-sdk/commit/df0e5bef817c09754471ac4842531a1e14e5576a) Thanks [@​andyjessop](https://redirect.github.com/andyjessop)! - bug: Removes the (local) tag on Vectorize bindings in the console output of `wrangler dev`, and adds-in the same tag for Durable Objects (which are emulated locally in `wrangler dev`). - [#​7732](https://redirect.github.com/cloudflare/workers-sdk/pull/7732) [`d102b60`](https://redirect.github.com/cloudflare/workers-sdk/commit/d102b60238c1dddfdd829ffee62c451cb526717a) Thanks [@​Ankcorn](https://redirect.github.com/Ankcorn)! - fix pages secret bulk copy - [#​7706](https://redirect.github.com/cloudflare/workers-sdk/pull/7706) [`c63f1b0`](https://redirect.github.com/cloudflare/workers-sdk/commit/c63f1b0790d7487074152c958ad10a910d4eae34) Thanks [@​penalosa](https://redirect.github.com/penalosa)! - Remove the server-based dev registry in favour of the more stable file-based dev registry. There should be no user-facing impact. - Updated dependencies \[[`8e9aa40`](https://redirect.github.com/cloudflare/workers-sdk/commit/8e9aa40a6c914a3a9804dccdca7202aecda45ba7)]: - miniflare@3.20241230.2 ### [`v3.101.0`](https://redirect.github.com/cloudflare/workers-sdk/blob/HEAD/packages/wrangler/CHANGELOG.md#31010) [Compare Source](https://redirect.github.com/cloudflare/workers-sdk/compare/wrangler@3.100.0...wrangler@3.101.0) ##### Minor Changes - [#​7534](https://redirect.github.com/cloudflare/workers-sdk/pull/7534) [`7c8ae1c`](https://redirect.github.com/cloudflare/workers-sdk/commit/7c8ae1c7bcfe4c55dc530a1c86520dbb8dd5fb26) Thanks [@​cmackenzie1](https://redirect.github.com/cmackenzie1)! - feat: Use OAuth flow to generate R2 tokens for Pipelines - [#​7674](https://redirect.github.com/cloudflare/workers-sdk/pull/7674) [`45d1d1e`](https://redirect.github.com/cloudflare/workers-sdk/commit/45d1d1edd640f1dc9e2709c68256981a5de26680) Thanks [@​Ankcorn](https://redirect.github.com/Ankcorn)! - Add support for env files to wrangler secret bulk i.e. `.dev.vars` Run `wrangler secret bulk .dev.vars` to add the env file ```env //.dev.vars KEY=VALUE KEY_2=VALUE ``` This will upload the secrets KEY and KEY\_2 to your worker - [#​7442](https://redirect.github.com/cloudflare/workers-sdk/pull/7442) [`e4716cc`](https://redirect.github.com/cloudflare/workers-sdk/commit/e4716cc87893a0633bd2d00543b351e83e228970) Thanks [@​petebacondarwin](https://redirect.github.com/petebacondarwin)! - feat: add support for redirecting Wrangler to a generated config when running deploy-related commands This new feature is designed for build tools and frameworks to provide a deploy-specific configuration, which Wrangler can use instead of user configuration when running deploy-related commands. It is not expected that developers of Workers will need to use this feature directly. ##### Affected commands The commands that use this feature are: - `wrangler deploy` - `wrangler dev` - `wrangler versions upload` - `wrangler versions deploy` - `wrangler pages deploy` - `wrangler pages build` - `wrangler pages build-env` ##### Config redirect file When running these commands, Wrangler will look up the directory tree from the current working directory for a file at the path `.wrangler/deploy/config.json`. This file must contain only a single JSON object of the form: ```json { "configPath": "../../path/to/wrangler.json" } ``` When this file exists Wrangler will follow the `configPath` (relative to the `.wrangler/deploy/config.json` file) to find an alternative Wrangler configuration file to load and use as part of this command. When this happens Wrangler will display a warning to the user to indicate that the configuration has been redirected to a different file than the user's configuration file. ##### Custom build tool example A common approach that a build tool might choose to implement. - The user writes code that uses Cloudflare Workers resources, configured via a user `wrangler.toml` file. ```toml name = "my-worker" main = "src/index.ts" [[kv_namespaces]] binding = "<BINDING_NAME1>" id = "<NAMESPACE_ID1>" ``` Note that this configuration points `main` at user code entry-point. - The user runs a custom build, which might read the `wrangler.toml` to find the entry-point: ```bash > my-tool build ``` - This tool generates a `dist` directory that contains both compiled code and a new deployment configuration file, but also a `.wrangler/deploy/config.json` file that redirects Wrangler to this new deployment configuration file: ```plain - dist - index.js - wrangler.json - .wrangler - deploy - config.json ``` The `dist/wrangler.json` will contain: ```json { "name": "my-worker", "main": "./index.js", "kv_namespaces": [ { "binding": "<BINDING_NAME1>", "id": "<NAMESPACE_ID1>" } ] } ``` And the `.wrangler/deploy/config.json` will contain: ```json { "configPath": "../../dist/wrangler.json" } ``` - [#​7685](https://redirect.github.com/cloudflare/workers-sdk/pull/7685) [`9d2740a`](https://redirect.github.com/cloudflare/workers-sdk/commit/9d2740aa582c76040baf8aded1ac73d8bb2edeeb) Thanks [@​vicb](https://redirect.github.com/vicb)! - allow overriding the unenv preset. By default wrangler uses the bundled unenv preset. Setting `WRANGLER_UNENV_RESOLVE_PATHS` allow to use another version of the preset. Those paths are used when resolving the unenv module identifiers to absolute paths. This can be used to test a development version. - [#​7694](https://redirect.github.com/cloudflare/workers-sdk/pull/7694) [`f3c2f69`](https://redirect.github.com/cloudflare/workers-sdk/commit/f3c2f69b30fe8549a06b8f7d8853fc9a6100803a) Thanks [@​joshthoward](https://redirect.github.com/joshthoward)! - Default wrangler d1 export to --local rather than failing ##### Patch Changes - [#​7456](https://redirect.github.com/cloudflare/workers-sdk/pull/7456) [`ff4e77e`](https://redirect.github.com/cloudflare/workers-sdk/commit/ff4e77e5ad7f9e259c5ff443284f3bf07c80cb0e) Thanks [@​andyjessop](https://redirect.github.com/andyjessop)! - chore: removes --experimental-versions flag, as versions is now GA. - [#​7712](https://redirect.github.com/cloudflare/workers-sdk/pull/7712) [`6439347`](https://redirect.github.com/cloudflare/workers-sdk/commit/6439347a9221cc2818c560bafef95ec1e8e7a7ec) Thanks [@​penalosa](https://redirect.github.com/penalosa)! - Remove CF-Connecting-IP for requests to the edge preview - [#​7703](https://redirect.github.com/cloudflare/workers-sdk/pull/7703) [`e771fe9`](https://redirect.github.com/cloudflare/workers-sdk/commit/e771fe9909bafa7249cb694d5dd1a23af8bd807e) Thanks [@​petebacondarwin](https://redirect.github.com/petebacondarwin)! - include the top level Worker name in the parsed config structure - [#​7576](https://redirect.github.com/cloudflare/workers-sdk/pull/7576) [`773bda8`](https://redirect.github.com/cloudflare/workers-sdk/commit/773bda8b38d43102c2a66126df92d3bbc7e80861) Thanks [@​cmackenzie1](https://redirect.github.com/cmackenzie1)! - Remove defaults for `batch-max-*` pipeline parameters and define value ranges - Updated dependencies \[[`2c76887`](https://redirect.github.com/cloudflare/workers-sdk/commit/2c7688737346992d046d2f88eba5c9847ede1365), [`78bdec5`](https://redirect.github.com/cloudflare/workers-sdk/commit/78bdec59ce880365b0318eb94d4176b53e950f66)]: - miniflare@3.20241230.1 ### [`v3.100.0`](https://redirect.github.com/cloudflare/workers-sdk/blob/HEAD/packages/wrangler/CHANGELOG.md#31000) [Compare Source](https://redirect.github.com/cloudflare/workers-sdk/compare/wrangler@3.99.0...wrangler@3.100.0) ##### Minor Changes - [#​7604](https://redirect.github.com/cloudflare/workers-sdk/pull/7604) [`6c2f173`](https://redirect.github.com/cloudflare/workers-sdk/commit/6c2f17341037962bdf675e7008a4d91059465e16) Thanks [@​CarmenPopoviciu](https://redirect.github.com/CarmenPopoviciu)! - feat: Capture Workers with static assets in the telemetry data We want to measure accurately what this number of Workers + Assets projects running in remote mode is, as this number will be a very helpful data point down the road, when more decisions around remote mode will have to be taken. These changes add this kind of insight to our telemetry data, by capturing whether the command running is in the context of a Workers + Assets project. N.B. With these changes in place we will be capturing the Workers + Assets context for all commands, not just wrangler dev --remote. ##### Patch Changes - [#​7581](https://redirect.github.com/cloudflare/workers-sdk/pull/7581) [`cac7fa6`](https://redirect.github.com/cloudflare/workers-sdk/commit/cac7fa6160ecc70d8f188de1f494a07c0e1e9626) Thanks [@​vicb](https://redirect.github.com/vicb)! - chore(wrangler): update unenv dependency version unenv now uses the workerd implementation on node:dns See the [unjs/unenv#376](https://redirect.github.com/unjs/unenv/pull/376) - [#​7625](https://redirect.github.com/cloudflare/workers-sdk/pull/7625) [`d8fb032`](https://redirect.github.com/cloudflare/workers-sdk/commit/d8fb032ba24ac284147dc481c28ab8dbcf7a9d72) Thanks [@​vicb](https://redirect.github.com/vicb)! - feat(wrangler): use unenv builtin dependency resolution Moving away from `require.resolve()` to handle unenv aliased packages. Using the unenv builtin resolution will allow us to drop the .cjs file from the preset and to override the base path so that we can test the dev version of the preset. - [#​7533](https://redirect.github.com/cloudflare/workers-sdk/pull/7533) [`755a27c`](https://redirect.github.com/cloudflare/workers-sdk/commit/755a27c7a5d7f35cb5f05ab2e12af6d64ce323fb) Thanks [@​danielgek](https://redirect.github.com/danielgek)! - Add warning about the browser rendering not available on local - [#​7614](https://redirect.github.com/cloudflare/workers-sdk/pull/7614) [`8abb43f`](https://redirect.github.com/cloudflare/workers-sdk/commit/8abb43fcdf0c506fa6268a7f07aa31b398b7daf2) Thanks [@​vicb](https://redirect.github.com/vicb)! - chore(wrangler): update unenv dependency version The updated unenv contains a fix for the module resolution, see [unjs/unenv#378](https://redirect.github.com/unjs/unenv/pull/378). That bug prevented us from using unenv module resolution, see [#​7583](https://redirect.github.com/cloudflare/workers-sdk/pull/7583). - Updated dependencies \[[`b4e0af1`](https://redirect.github.com/cloudflare/workers-sdk/commit/b4e0af163548ee8cc0aefc9165f67a0f83ea94d4)]: - miniflare@3.20241230.0 </details> --- ### Configuration π **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). π¦ **Automerge**: Disabled by config. Please merge this manually once you are satisfied. β» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. π» **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/affine-workers). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS44NS4wIiwidXBkYXRlZEluVmVyIjoiMzkuMTI1LjEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
airtonix
pushed a commit
to zenobi-us/zenobi-us
that referenced
this pull request
Feb 18, 2025
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [wrangler](https://redirect.github.com/cloudflare/workers-sdk) ([source](https://redirect.github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler)) | [`3.99.0` -> `3.100.0`](https://renovatebot.com/diffs/npm/wrangler/3.99.0/3.100.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>cloudflare/workers-sdk (wrangler)</summary> ### [`v3.100.0`](https://redirect.github.com/cloudflare/workers-sdk/blob/HEAD/packages/wrangler/CHANGELOG.md#31000) [Compare Source](https://redirect.github.com/cloudflare/workers-sdk/compare/wrangler@3.99.0...wrangler@3.100.0) ##### Minor Changes - [#​7604](https://redirect.github.com/cloudflare/workers-sdk/pull/7604) [`6c2f173`](https://redirect.github.com/cloudflare/workers-sdk/commit/6c2f17341037962bdf675e7008a4d91059465e16) Thanks [@​CarmenPopoviciu](https://redirect.github.com/CarmenPopoviciu)! - feat: Capture Workers with static assets in the telemetry data We want to measure accurately what this number of Workers + Assets projects running in remote mode is, as this number will be a very helpful data point down the road, when more decisions around remote mode will have to be taken. These changes add this kind of insight to our telemetry data, by capturing whether the command running is in the context of a Workers + Assets project. N.B. With these changes in place we will be capturing the Workers + Assets context for all commands, not just wrangler dev --remote. ##### Patch Changes - [#​7581](https://redirect.github.com/cloudflare/workers-sdk/pull/7581) [`cac7fa6`](https://redirect.github.com/cloudflare/workers-sdk/commit/cac7fa6160ecc70d8f188de1f494a07c0e1e9626) Thanks [@​vicb](https://redirect.github.com/vicb)! - chore(wrangler): update unenv dependency version unenv now uses the workerd implementation on node:dns See the [unjs/unenv#376](https://redirect.github.com/unjs/unenv/pull/376) - [#​7625](https://redirect.github.com/cloudflare/workers-sdk/pull/7625) [`d8fb032`](https://redirect.github.com/cloudflare/workers-sdk/commit/d8fb032ba24ac284147dc481c28ab8dbcf7a9d72) Thanks [@​vicb](https://redirect.github.com/vicb)! - feat(wrangler): use unenv builtin dependency resolution Moving away from `require.resolve()` to handle unenv aliased packages. Using the unenv builtin resolution will allow us to drop the .cjs file from the preset and to override the base path so that we can test the dev version of the preset. - [#​7533](https://redirect.github.com/cloudflare/workers-sdk/pull/7533) [`755a27c`](https://redirect.github.com/cloudflare/workers-sdk/commit/755a27c7a5d7f35cb5f05ab2e12af6d64ce323fb) Thanks [@​danielgek](https://redirect.github.com/danielgek)! - Add warning about the browser rendering not available on local - [#​7614](https://redirect.github.com/cloudflare/workers-sdk/pull/7614) [`8abb43f`](https://redirect.github.com/cloudflare/workers-sdk/commit/8abb43fcdf0c506fa6268a7f07aa31b398b7daf2) Thanks [@​vicb](https://redirect.github.com/vicb)! - chore(wrangler): update unenv dependency version The updated unenv contains a fix for the module resolution, see [unjs/unenv#378](https://redirect.github.com/unjs/unenv/pull/378). That bug prevented us from using unenv module resolution, see [#​7583](https://redirect.github.com/cloudflare/workers-sdk/pull/7583). - Updated dependencies \[[`b4e0af1`](https://redirect.github.com/cloudflare/workers-sdk/commit/b4e0af163548ee8cc0aefc9165f67a0f83ea94d4)]: - miniflare@3.20241230.0 </details> --- ### Configuration π **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). π¦ **Automerge**: Enabled. β» **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. π **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/zenobi-us/zenobi-us). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS45Mi4wIiwidXBkYXRlZEluVmVyIjoiMzkuOTIuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is a hotfix for
defineEnvutility when it is running in an aliasedunenv-nightlypackage and when package manager (pnpm) does not rename"name"field inpackage.json, it causes ESM resolution to fail.Workaroud is to fallback to
unenv/=>unenv-nightly/and then id as-is.