Socket
Socket
Sign inDemoInstall

webcrypto-core

Package Overview
Dependencies
Maintainers
2
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webcrypto-core - npm Package Compare versions

Comparing version 0.1.18 to 0.1.19

3

dist/webcrypto-core.es.js

@@ -582,2 +582,3 @@ // Copyright (c) 2017, Peculiar Ventures, All rights reserved.

case "P-256":
case "K-256":
case "P-384":

@@ -587,3 +588,3 @@ case "P-521":

default:
throw new EcKeyGenParamsError(EcKeyGenParamsError.PARAM_WRONG_VALUE, paramNamedCurve, "P-256, P-384 or P-521");
throw new EcKeyGenParamsError(EcKeyGenParamsError.PARAM_WRONG_VALUE, paramNamedCurve, "K-256, P-256, P-384 or P-521");
}

@@ -590,0 +591,0 @@ };

@@ -586,2 +586,3 @@ // Copyright (c) 2017, Peculiar Ventures, All rights reserved.

case "P-256":
case "K-256":
case "P-384":

@@ -591,3 +592,3 @@ case "P-521":

default:
throw new EcKeyGenParamsError(EcKeyGenParamsError.PARAM_WRONG_VALUE, paramNamedCurve, "P-256, P-384 or P-521");
throw new EcKeyGenParamsError(EcKeyGenParamsError.PARAM_WRONG_VALUE, paramNamedCurve, "K-256, P-256, P-384 or P-521");
}

@@ -594,0 +595,0 @@ };

{
"name": "webcrypto-core",
"version": "0.1.18",
"version": "0.1.19",
"description": "Common layer to be used by crypto libraries based on WebCrypto API for input validation.",

@@ -5,0 +5,0 @@ "main": "dist/webcrypto-core.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