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
var lib = await import('earcut');
var result = lib.deviation([0], [], 0, []);
Then the node instance will hang and no response returned.
» node
Welcome to Node.js v22.11.0.
Type ".help" for more information.
> var lib = await import('earcut');
undefined
> var result = lib.deviation([0], [], 0, []);;
(the node server hanged here)
...
How often does it reproduce? Is there a required condition?
This issue can always be triggered following the steps above.
What is the expected behavior? Why is that the expected behavior?
check if the dimensions argument fit the requirement to avoid the DoS problem.
The text was updated successfully, but these errors were encountered:
Version
node v22.11.0
npm 10.9.0
Platform
What steps will reproduce the bug?
the final package.json is as follows:
Then the node instance will hang and no response returned.
How often does it reproduce? Is there a required condition?
This issue can always be triggered following the steps above.
What is the expected behavior? Why is that the expected behavior?
check if the dimensions argument fit the requirement to avoid the DoS problem.
The text was updated successfully, but these errors were encountered: