uri-js-replace
v1.0.2
Published
Replacement for abandoned library URI.js (uri-js)
Readme
Drop-in replacement for abandoned uri-js
Use it in package.json to override the abandoned uri-js package.
- 99.9% compatible with the original API
- Drop-in tested with large users (ESLint, Webpack, Ajv)
- Based on the WHATWG URL standard
- Works in Node.js and browsers
- Avoids the vulnerabilities in the original: CVE-2026-93690, CVE-2026-93751, and CVE-2017-16021
Usage
NPM
Add to your package.json
{
"overrides": {
"uri-js": "npm:uri-js-replace"
}
}and run
npm updateYarn
{
"resolutions": {
"uri-js": "npm:uri-js-replace"
}
}NPM
https://www.npmjs.com/package/uri-js-replace
