Skip to content

Commit

Permalink
fixup! fix(wrangler): avoid path collisions between performance and P…
Browse files Browse the repository at this point in the history
…erformance polyfills
  • Loading branch information
IgorMinar authored and petebacondarwin committed Jun 13, 2024
1 parent 62bcad9 commit 6effdba
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .changeset/lazy-cycles-pull.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"wrangler": patch
---

fix: avoid path collisions between performance and Performance Node.js polyfills

It turns out that ESBuild paths are case insensitive, which can result in path collisions between polyfills for `globalThis.performance` and `globalThis.Performance`, etc.

This change ensures that we encode all global names to lowercase and decode them appropriately.

0 comments on commit 6effdba

Please sign in to comment.