Socket
Socket
Sign inDemoInstall

pem

Package Overview
Dependencies
Maintainers
2
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pem - npm Package Compare versions

Comparing version 1.12.4 to 1.12.5

17

lib/openssl.js

@@ -201,5 +201,5 @@ var Buffer = require('safe-buffer').Buffer

tmpfiles = [].concat(tmpfiles)
params.forEach(function (value, i) {
var fpath
if (value === '--TMPFILE--') {
var fpath, i
for (i = 0; i < params.length; i++) {
if (params[i] === '--TMPFILE--') {
fpath = pathlib.join(tempDir, crypto.randomBytes(20).toString('hex'))

@@ -211,11 +211,12 @@ files.push({

params[i] = fpath
delTempPWFiles[delTempPWFiles.length] = fpath
delTempPWFiles.push(fpath)
}
})
}
}
// TODO: need to refactored
files.forEach(function (file) {
var file
for (i = 0; i < files.length; i++) {
file = files[i]
fs.writeFileSync(file.path, file.contents)
})
}

@@ -222,0 +223,0 @@ spawn(params, binary, function (err, code, stdout, stderr) {

@@ -13,3 +13,3 @@ {

"description": "Create private keys and certificates with node.js and io.js",
"version": "1.12.4",
"version": "1.12.5",
"repository": {

@@ -16,0 +16,0 @@ "type": "git",

Sorry, the diff of this file is not supported yet

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