Closed
Description
Describe the bug
When I build the app I get this warning:
▲ [WARNING] Comparison with -0 using the "===" operator will also match 0 [equals-negative-zero]
.open-next/server-functions/default/handler.mjs:95787:47:
95787 │ else if (t === -0) {
Steps to reproduce
Expected behavior
Build without warnings
@opennextjs/cloudflare version
0.4.3
Wrangler version
3.107.2
next info output
Operating System:
Platform: darwin
Arch: arm64
Version: Darwin Kernel Version 24.3.0: Thu Jan 2 20:24:24 PST 2025; root:xnu-11215.81.4~3/RELEASE_ARM64_T6030
Available memory (MB): 36864
Available CPU cores: 11
Binaries:
Node: 22.6.0
npm: 10.8.2
Yarn: N/A
pnpm: 9.12.1
Relevant Packages:
next: 14.2.23 // An outdated version detected (latest is 15.1.6), upgrade is highly recommended!
eslint-config-next: 14.2.23
react: 18.3.1
react-dom: 18.3.1
typescript: 5.7.3
Next.js Config:
output: N/A
⚠ An outdated version detected (latest is 15.1.6), upgrade is highly recommended!
Please try the latest canary version (`npm install next@canary`) to confirm the issue still exists before creating a new issue.
Read more - https://nextjs.org/docs/messages/opening-an-issue
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels