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

zookeeper

Package Overview
Dependencies
Maintainers
7
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zookeeper - npm Package Compare versions

Comparing version 4.0.1 to 4.0.2

.idea/workspace.xml

4

CHANGELOG.md

@@ -0,1 +1,5 @@

#### v 4.0.2 (2019-04-13)
* fixed: Windows 7 support (Pull Request by https://github.com/ndxbn)
#### v 4.0.1 (2019-03-10)

@@ -2,0 +6,0 @@ * Added docs: changelog, contributing to the project, fixed typos and missing info in the readme file.

4

package.json
{
"name": "zookeeper",
"description": "apache zookeeper client (zookeeper async API >= 3.4.0)",
"version": "4.0.1",
"version": "4.0.2",
"author": "Yuri Finkelstein <yurif2003@yahoo.com>",

@@ -17,3 +17,3 @@ "license": "MIT",

"Roy Cheng <roy.b.cheng@newegg.com>",
"David Vujic github.com/DavidVujic"
"David Vujic (https://github.com/DavidVujic)"
],

@@ -20,0 +20,0 @@ "repository": {

@@ -44,9 +44,8 @@ const fs = require('fs');

if (env.isWindows) {
const output = exec(`certutil -hashfile ${fileName} sha1`).split('\r\n');
const output = exec(`certutil -hashfile ${fileName} SHA1`).split('\r\n');
const arr = output[0].replace(':', '').split(' ');
const name = arr.find(n => n === fileName);
// `certutil` returns 2byte separated string (e.g. "a9 89 b5 27 f3 f9 90 d4 71 e6 d4 7e e4 10 e5 7d 8b e7 62 0b")
const sha1 = output[1].replace(/ /g, "");
const sha1 = output[1];
res = `${sha1} ${name}`;
res = `${sha1} ${fileName}`;
} else {

@@ -53,0 +52,0 @@ res = exec(`shasum -a 1 ${fileName}`).trim();

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