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 1.1.0 to 1.1.1

7

build/webcrypto-core.es.js

@@ -735,5 +735,8 @@ /**

static isHashedAlgorithm(data) {
return data instanceof Object
return data
&& typeof data === "object"
&& "name" in data
&& "hash" in data;
&& "hash" in data
? true
: false;
}

@@ -740,0 +743,0 @@ async digest(algorithm, data) {

@@ -738,5 +738,8 @@ /**

static isHashedAlgorithm(data) {
return data instanceof Object
return data
&& typeof data === "object"
&& "name" in data
&& "hash" in data;
&& "hash" in data
? true
: false;
}

@@ -743,0 +746,0 @@ async digest(algorithm, data) {

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

@@ -5,0 +5,0 @@ "main": "build/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