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

shipit

Package Overview
Dependencies
Maintainers
1
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shipit - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

11

lib/fedex.js

@@ -73,3 +73,4 @@ (function() {

FedexClient.prototype.validateResponse = function(response, cb) {
return this.parser.parseString(response, function(xmlErr, trackResult) {
var error, handleResponse;
handleResponse = function(xmlErr, trackResult) {
var notifications, success, _ref1, _ref2, _ref3;

@@ -88,3 +89,9 @@ if ((xmlErr != null) || (trackResult == null)) {

return cb(null, (_ref2 = trackResult['TrackReply']) != null ? (_ref3 = _ref2['TrackDetails']) != null ? _ref3[0] : void 0 : void 0);
});
};
try {
return this.parser.parseString(response, handleResponse);
} catch (_error) {
error = _error;
return cb(error);
}
};

@@ -91,0 +98,0 @@

@@ -34,3 +34,11 @@ (function() {

}
address = (city != null) && (stateCode != null) ? "" + city + ", " + stateCode : void 0;
if (stateCode != null) {
if (city != null) {
address = "" + city + ", " + stateCode;
} else {
address = stateCode;
}
} else {
address = city;
}
postalCode = this.presentPostalCode(postalCode);

@@ -37,0 +45,0 @@ if (countryCode != null) {

2

package.json
{
"name": "shipit",
"version": "0.0.8",
"version": "0.0.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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc