Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

elliptic

Package Overview
Dependencies
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

elliptic - npm Package Compare versions

Comparing version 0.15.14 to 0.15.15

test/api-test.js

5

lib/elliptic/ec/index.js

@@ -14,4 +14,7 @@ var assert = require('assert');

// Shortcut `elliptic.ec(curve-name)`
if (typeof options === 'string')
if (typeof options === 'string') {
assert(elliptic.curves.hasOwnProperty(options), 'Unknown curve ' + options);
options = elliptic.curves[options];
}

@@ -18,0 +21,0 @@ // Shortcut for `elliptic.ec(elliptic.curves.curveName)`

2

package.json
{
"name": "elliptic",
"version": "0.15.14",
"version": "0.15.15",
"description": "EC cryptography",

@@ -5,0 +5,0 @@ "main": "lib/elliptic.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc