API-compatible replacement library for migrating from elliptic to noble-curves.
First, add this repository as a dependency in your package.json file:
{
"dependencies": {
"elliptic": "@soatok/elliptic-to-noble"
}
}Then, add this to your package.json to ensure all child dependencies use this shim:
{
"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.