Comparing version 0.15.14 to 0.15.15
@@ -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)` |
{ | ||
"name": "elliptic", | ||
"version": "0.15.14", | ||
"version": "0.15.15", | ||
"description": "EC cryptography", | ||
@@ -5,0 +5,0 @@ "main": "lib/elliptic.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
135045
24
3582