ladjs / superagent

Ajax for Node.js and browsers (JS HTTP client). Maintained for @forwardemail, @ladjs, @spamscanner, @breejs, @cabinjs, and @lassjs.
https://ladjs.github.io/superagent/
MIT License
16.57k stars 1.33k forks source link

[fix] Error: Cannot find module 'node:url' #1775

Closed xiaozhanghui closed 10 months ago

xiaozhanghui commented 10 months ago

Describe the bug

Node.js version:

OS version:

Description:

yigaldviri commented 10 months ago

The change from url to node:url should have been done in a major version change. Not a minor. Anyone who consumed my package that had "superagent": "^8.0.9" had errors since they didnt have the new module

titanism commented 10 months ago

🤦 We forgot this package supports versions of Node older than v14. We have deprecated v8.1.0 from npm and are publishing v8.1.1 shortly with the fix.

titanism commented 10 months ago

v8.1.1 released https://github.com/ladjs/superagent/releases/tag/v8.1.1