openssl-wrapper
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -51,3 +51,9 @@ 'use strict'; | ||
} else { | ||
params.push('-' + key, options[key]); | ||
if (Array.isArray(options[key])) { | ||
options[key].forEach(function (value) { | ||
params.push('-' + key, value); | ||
}); | ||
} else { | ||
params.push('-' + key, options[key]); | ||
} | ||
} | ||
@@ -54,0 +60,0 @@ }); |
{ | ||
"name": "openssl-wrapper", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "NodeJS OpenSSL wrapper", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -40,3 +40,9 @@ | ||
} else { | ||
params.push(`-${key}`, options[key]); | ||
if (Array.isArray(options[key])) { | ||
options[key].forEach(value => { | ||
params.push(`-${key}`, value); | ||
}); | ||
} else { | ||
params.push(`-${key}`, options[key]); | ||
} | ||
} | ||
@@ -43,0 +49,0 @@ }); |
Sorry, the diff of this file is not supported yet
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
24454
188