webcrypto-core
Advanced tools
Comparing version 1.1.6 to 1.1.7
@@ -883,3 +883,3 @@ /** | ||
checkRequiredArguments(args, size, methodName) { | ||
if (args.length !== size) { | ||
if (args.length < size) { | ||
throw new TypeError(`Failed to execute '${methodName}' on 'SubtleCrypto': ${size} arguments required, but only ${args.length} present`); | ||
@@ -886,0 +886,0 @@ } |
@@ -886,3 +886,3 @@ /** | ||
checkRequiredArguments(args, size, methodName) { | ||
if (args.length !== size) { | ||
if (args.length < size) { | ||
throw new TypeError(`Failed to execute '${methodName}' on 'SubtleCrypto': ${size} arguments required, but only ${args.length} present`); | ||
@@ -889,0 +889,0 @@ } |
{ | ||
"name": "webcrypto-core", | ||
"version": "1.1.6", | ||
"version": "1.1.7", | ||
"description": "Common layer to be used by crypto libraries based on WebCrypto API for input validation.", | ||
@@ -8,2 +8,7 @@ "main": "build/webcrypto-core.js", | ||
"types": "build/types/index.d.ts", | ||
"files": [ | ||
"build", | ||
"README.md", | ||
"LICENSE" | ||
], | ||
"scripts": { | ||
@@ -10,0 +15,0 @@ "prepare": "npm run build", |
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
129070
61