Skip to content

Bump esbuild override from 0.25.0 to 0.27.3 to unbreak wrangler deploy#17

Merged
valuecodes merged 1 commit into
mainfrom
esbuild-version
May 23, 2026
Merged

Bump esbuild override from 0.25.0 to 0.27.3 to unbreak wrangler deploy#17
valuecodes merged 1 commit into
mainfrom
esbuild-version

Conversation

@valuecodes
Copy link
Copy Markdown
Owner

What

  • Wrangler 4.81.1 calls esbuild with supported: { "import-source": true }, which 0.25.0 rejects — deploy fails with "import-source" is not a valid feature name.
  • Wrangler bundles esbuild 0.27.3 as a direct dep; bumping the override to match keeps wrangler happy and still clears Dependabot alert Add Telegram integration #2 (CVE floor 0.25.0).

How to test

pnpm typecheck
pnpm lint
pnpm test
Recommended: pnpm --filter @repo/browser-scraper exec wrangler deploy --dry-run

Security review

No security-impacting changes — still on or above the patched esbuild floor.

Copilot AI review requested due to automatic review settings May 23, 2026 11:40
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the repository’s pnpm override for esbuild to align with the esbuild version Wrangler 4.81.1 expects, resolving deploy failures caused by an older overridden esbuild rejecting Wrangler’s supported: { "import-source": true } flag.

Changes:

  • Bump the pnpm overrides.esbuild version from 0.25.0 to 0.27.3.
  • Regenerate/update pnpm-lock.yaml so all esbuild-related entries resolve to 0.27.3 (including platform-specific @esbuild/* packages).

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
package.json Updates the pnpm override to force esbuild@0.27.3.
pnpm-lock.yaml Updates lockfile resolutions/snapshots to match esbuild@0.27.3 across the workspace.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@valuecodes valuecodes merged commit 5740f8d into main May 23, 2026
8 checks passed
@valuecodes valuecodes deleted the esbuild-version branch May 23, 2026 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants