Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

openssl-cert-tools

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openssl-cert-tools - npm Package Compare versions

Comparing version 1.2.1 to 1.3.0

6

CHANGELOG.md

@@ -0,1 +1,7 @@

<a name="1.3.0"></a>
# 1.3.0 (2018-07-11)
- Update Travis CI Node build environment
- Fix spawn buffer parsing & npm auditing issues ([PR#7](https://github.com/frdmn/openssl-cert-tools/pull/7)) (Thanks @[sauvainr](https://github.com/sauvainr))
<a name="1.2.1"></a>

@@ -2,0 +8,0 @@ # 1.2.1 (2016-11-16)

20

lib/information.js

@@ -28,13 +28,17 @@ /* jshint node: true */

// Catch stderr
openssl.stderr.on('data', function (out) {
err = new Error(out);
var stderr = [];
var stdout = [];
// Callback and return array
return cb(err, infoObject);
});
openssl.stderr.on('data', stderr.push.bind(stderr));
openssl.stdout.on('data', stdout.push.bind(stdout));
openssl.stdout.on('data', function (out) {
var data = out.toString();
openssl.on('close', function (code) {
if (code !== 0) {
var error = Buffer.concat(stderr).toString();
// Callback and return array
return cb(new Error(error), infoObject);
}
var data = Buffer.concat(stdout).toString();
// Put each line into an array

@@ -41,0 +45,0 @@ var lineArray = data.split('\n');

4

package.json
{
"name": "openssl-cert-tools",
"version": "1.2.1",
"version": "1.3.0",
"description": "Module to handle certificate related OpenSSL commands",

@@ -21,4 +21,4 @@ "main": "main.js",

"chai": "^3.5.0",
"mocha": "^3.1.2"
"mocha": "^5.2.0"
}
}

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