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

node-box-api

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-box-api - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

12

lib/files.js

@@ -13,4 +13,4 @@ 'use strict';

.end(function(err, res) {
if(res.error) {
return done('Error: ' + res.error.message);
if(err) {
return done('Error: ' + err);
}

@@ -30,4 +30,4 @@ done(null, res.body);

.end(function(err, res) {
if(res.error) {
return done('Error: ' + res.error.message);
if(err) {
return done('Error: ' + err);
}

@@ -53,4 +53,4 @@ done(null, res.headers.location);

.end(function(err, res) {
if(res.error) {
return done('Error: ' + res.error.message);
if(err) {
return done('Error: ' + err);
}

@@ -57,0 +57,0 @@ done(null, res);

@@ -13,4 +13,4 @@ 'use strict';

.end(function(err, res) {
if(res.error) {
return done('Error: ' + res.error.message);
if(err) {
return done('Error: ' + err);
}

@@ -25,4 +25,4 @@ done(null, res.body);

.end(function(err, res) {
if(res.error) {
return done('Error: ' + res.error.message);
if(err) {
return done('Error: ' + err);
}

@@ -45,4 +45,4 @@ done(null, res.body);

.end(function(err, res) {
if(res.error) {
return done('Error: ' + res.error.message);
if(err) {
return done('Error: ' + err);
}

@@ -49,0 +49,0 @@ done(null, res.body);

{
"name": "node-box-api",
"version": "1.0.3",
"version": "1.0.4",
"description": "Box API for Nodejs",

@@ -5,0 +5,0 @@ "main": "index.js",

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