Socket
Socket
Sign inDemoInstall

shipit

Package Overview
Dependencies
241
Maintainers
1
Versions
102
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.8 to 1.1.9

18

lib/lasership.js

@@ -22,9 +22,15 @@ (function() {

validateResponse(response, cb) {
response = JSON.parse(response);
if (response['Events'] == null) {
return cb({
error: 'missing events'
});
var error;
try {
response = JSON.parse(response);
if (response['Events'] == null) {
return cb({
error: 'missing events'
});
}
return cb(null, response);
} catch (error1) {
error = error1;
return cb(crror);
}
return cb(null, response);
}

@@ -31,0 +37,0 @@

{
"name": "shipit",
"version": "1.1.8",
"version": "1.1.9",
"description": "This module allows you to connect to many shipping carriers like UPS and FedEx and download tracking data for your packages in a common schema",

@@ -5,0 +5,0 @@ "main": "lib/main.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc