Replace npm elliptic with noble-curves, including all dependencies.
npm install @soatok/elliptic-to-noblepackage.json file:
json5
{
"dependencies": {
"elliptic": "@soatok/elliptic-to-noble"
}
}
`
Then, add this to your package.json to ensure all child dependencies use this shim:
`json5
{
"overrides": {
"elliptic": "$elliptic"
}
}
`
This will prevent the original elliptic from being installed (even by dependencies). Instead, an API-compatible shim
(provided in this repository) will be used instead, backed by the much more secure noble-curves` library.