You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
Describe the bug
We use
decimal.js
on our site to manage numbers. It's a popular library.We found that when we upgraded Next to v13, we saw more negative zeros in production.
Input code
Config
Playground link
https://play.swc.rs/?version=1.3.41&code=H4sIAAAAAAAAA0vOzyvOz0nVy8lP1%2FBNLMnQK0rMS8nP1dC0M9Aztdc1sDLQBADE0KwtIwAAAA%3D%3D&config=H4sIAAAAAAAAA32UO5LbMAyGe5%2FCozpFxkWKPUC6nIFDi6BMhyQ0BOi1Z8d3D%2FTwIwmoTsIHEMQPEF%2B7%2Fb47U9997L%2FkU35GWwjK818sdMtsr2LpoE%2BW%2BhJG7r496Jkm5G0kmE33hXRsywA8R9Hh%2B%2BGwRnQRkeARsdpSyMHf3nP2mMYCRG82scqRNUFm%2Bjt%2BZQU%2FNXBEjGDzFjKWTMgMAxTNrccY7UhgLrbBk6gWCNUkE60MzowFR90hu8ABs9gFc6nv1IF1pkcHSqQLBXoOF9COdZJOAjNJjS3s4FiHYW73vxwuNlbLWihc597IjRV4wkBsfFW1WGBLiIU2RA7eFOBatJxnDLkV9xtAZIiWKNukCjV7eJmtNtwMDdnL%2FPJN4TLsaqUZBpHWhOA1fSd9oHBQUxZwtYdJ4H4DN8Sg4MCA9zI1Kv4M3J%2FUtHwbAb1GpNNWLWMBpvkwVz69jw38UwplfdRWj2T51KZ0S0eMGwkS8AndhoO0g7GNi6yN69jmNTuQAQGnulRSwfRu2TCaOO%2FQ%2FydEXoqcaYaIR%2FuqbvW4P7dzsnl4Pf9lQe9Why6hqzNcV%2F%2FU42Vh%2F%2BheTo%2Fd%2FLxDF%2BjXI3JaVrv7Hw2oLXNGBgAA
Expected behavior
Actual behavior
Version
1.3.41
Additional context
While
0 === -0
is true in JavaScript, they are different, and this condition should not be removed.The text was updated successfully, but these errors were encountered: