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

bal-util

Package Overview
Dependencies
Maintainers
1
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bal-util - npm Package Compare versions

Comparing version 1.8.2 to 1.8.3

out/test/compare.test.js

16

out/lib/compare.js

@@ -111,10 +111,18 @@ // Generated by CoffeeScript 1.3.1

if (err) {
return typeof errorCallback === "function" ? errorCallback(err) : void 0;
return typeof errorCallback === "function" ? errorCallback(err, data) : void 0;
}
details.local = JSON.parse(data.toString());
try {
details.local = JSON.parse(data.toString());
} catch (err) {
return typeof errorCallback === "function" ? errorCallback(err, data) : void 0;
}
return balUtilPaths.readPath(remote, function(err, data) {
if (err) {
return typeof errorCallback === "function" ? errorCallback(err) : void 0;
return typeof errorCallback === "function" ? errorCallback(err, data) : void 0;
}
details.remote = JSON.parse(data.toString());
try {
details.remote = JSON.parse(data.toString());
} catch (err) {
return typeof errorCallback === "function" ? errorCallback(err, data) : void 0;
}
return runCompare();

@@ -121,0 +129,0 @@ });

{
"name": "bal-util",
"version": "1.8.2",
"version": "1.8.3",
"description": "Common utility functions for Node.js used and maintained by Benjamin Lupton",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/balupton/bal-util",

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