-
Notifications
You must be signed in to change notification settings - Fork 741
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated esbuild to version 0.14.47 in wrangler package #1360
Updated esbuild to version 0.14.47 in wrangler package #1360
Conversation
🦋 Changeset detectedLatest commit: ae188e5 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
hmm, odd error, I can reproduce this locally. I'll have a look at this soon. |
I couldn't find anything online about this error. And I am out of ideas. |
In the newly built version of wrangler (i.e. in _a = _typeModule(_typeModule), _nbind.Type = _a.Type, _nbind.makeType = _a.makeType, _nbind.getComplexType = _a.getComplexType, _nbind.structureList = _a.structureList; Note that But this is the case for Wrangler @ 2.0.15. I think looking at the diff between the two files. The error is caused by the new version of esbuild adding in various I believe this is caused by this change evanw/esbuild@9860ee3, which arrived in 0.14.44. There are some comments about it here: evanw/esbuild#2264 (comment). |
Setting |
A wrangler prerelease is available for testing. You can install this latest build in your project with: npm install --save-dev https://prerelease-registry.developers.workers.dev/runs/2582089452/npm-package-wrangler-1360 You can reference the automatically updated head of this PR with: npm install --save-dev https://prerelease-registry.developers.workers.dev/prs/1360/npm-package-wrangler-1360 Or you can use npx https://prerelease-registry.developers.workers.dev/runs/2582089452/npm-package-wrangler-1360 dev path/to/script.js |
Thanks for the fix @petebacondarwin! Looks good to me, let's land this. |
Hi
I wanted to use the relatively new typescript feature "extends constraints on infer type variables".
This is supported since esbuild version v0.14.46.
Current workaround to use locally
package.json: