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.7.8 to 1.7.9

5

build/webcrypto-core.es.js

@@ -385,2 +385,3 @@ /*!

checkAlgorithmParams(algorithm) {
var _a;
this.checkRequiredProperty(algorithm, "iv");

@@ -393,5 +394,3 @@ if (!(algorithm.iv instanceof ArrayBuffer || ArrayBuffer.isView(algorithm.iv))) {

}
if (!("tagLength" in algorithm)) {
algorithm.tagLength = 128;
}
(_a = algorithm.tagLength) !== null && _a !== void 0 ? _a : (algorithm.tagLength = 128);
switch (algorithm.tagLength) {

@@ -398,0 +397,0 @@ case 32:

@@ -405,2 +405,3 @@ /*!

checkAlgorithmParams(algorithm) {
var _a;
this.checkRequiredProperty(algorithm, "iv");

@@ -413,5 +414,3 @@ if (!(algorithm.iv instanceof ArrayBuffer || ArrayBuffer.isView(algorithm.iv))) {

}
if (!("tagLength" in algorithm)) {
algorithm.tagLength = 128;
}
(_a = algorithm.tagLength) !== null && _a !== void 0 ? _a : (algorithm.tagLength = 128);
switch (algorithm.tagLength) {

@@ -418,0 +417,0 @@ case 32:

2

package.json
{
"name": "webcrypto-core",
"version": "1.7.8",
"version": "1.7.9",
"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