Closed jpwilliams closed 3 days ago
Latest commit: 87a378cb1fdec14dd2c474a01184d3c892e3132f
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
A user has added the prerelease/inngest label, so this PR will be published to npm with the tag pr-631
. It will be updated with the latest changes as you push commits to this PR.
You can install this prerelease version with:
npm install inngest@pr-631
The last release was built and published from 87a378cb1fdec14dd2c474a01184d3c892e3132f.
Summary
debug is a really old library, and its browser detection is old, too. For newer pairings of framework and runtime such as Nitro + Cloudflare Pages, their code for detecting which code should be delivered doesn't catch the markers these leave behind.
One silly symptom of this is that
Debug()
returns an anonymous function with no extra properties instead of aDebugger
instance if the wrong code is consumed following a bad detection. This results in the following.extend()
call failing.We fix that here by just not calling
.extend()
.Checklist