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

@mediocre/bloodhound

Package Overview
Dependencies
Maintainers
2
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mediocre/bloodhound - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

4

carriers/fedEx.js

@@ -19,4 +19,2 @@ const async = require('async');

function FedEx(options) {
const fedExClient = new FedExClient(options);
this.isTrackingNumberValid = function(trackingNumber) {

@@ -74,2 +72,4 @@ // Remove whitespace

this.track = function(trackingNumber, callback) {
const fedExClient = new FedExClient(options);
// Create a FedEx track request: https://www.fedex.com/us/developer/webhelp/ws/2018/US/index.htm#t=wsdvg%2FTracking_Shipments.htm%23Tracking_Service_Optionsbc-3&rhtocid=_26_0_2

@@ -76,0 +76,0 @@ const trackRequest = {

@@ -46,4 +46,4 @@ const async = require('async');

geography.parseLocation(location, function(err, address) {
if (err) {
return callback(err);
if (err || !address) {
return callback(err, address);
}

@@ -61,3 +61,3 @@

data.scanDetailsList.forEach(scanDetail => {
const address = addresses.find(a => a.location === scanDetail.location);
const address = addresses.find(a => a && a.location === scanDetail.location);
let timezone = 'America/New_York';

@@ -64,0 +64,0 @@

@@ -127,4 +127,4 @@ const async = require('async');

geography.parseLocation(location, function (err, address) {
if (err) {
return callback(err);
if (err || !address) {
return callback(err, address);
}

@@ -142,3 +142,3 @@

scanDetailsList.forEach(scanDetail => {
const address = addresses.find(a => a.location === scanDetail.location);
const address = addresses.find(a => a && a.location === scanDetail.location);
let timezone = 'America/New_York';

@@ -145,0 +145,0 @@

@@ -38,3 +38,3 @@ {

},
"version": "0.2.0"
"version": "0.2.1"
}
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