New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.9.0 to 1.0.0

10

carriers/pitneyBowes.js

@@ -9,6 +9,6 @@ const async = require('async');

// These tracking status codes indicate the shipment was delivered
const DELIVERED_TRACKING_STATUS_CODES = ['01'];
const DELIVERED_TRACKING_STATUS_CODES = ['01', 'DEL'];
// These tracking status codes indicate the shipment was shipped (shows movement beyond a shipping label being created)
const SHIPPED_TRACKING_STATUS_CODES = ['02', '07', '10', '14', '30', '81', '82', 'AD', 'OF', 'PC'];
const SHIPPED_TRACKING_STATUS_CODES = ['02', '07', '10', '14', '30', '81', '82', 'AD', 'OF', 'OFD', 'PC'];

@@ -22,3 +22,3 @@ const geography = require('../util/geography');

async.retry(function(callback) {
pitneyBowesClient.tracking({ trackingNumber }, callback);
pitneyBowesClient.tracking({ carrier: 'FDR', trackingNumber }, callback);
}, function(err, data) {

@@ -78,3 +78,3 @@ if (err) {

data.scanDetailsList.forEach(scanDetail => {
data.scanDetailsList.reverse().forEach(scanDetail => {
const address = addresses.find(a => a && a.location === scanDetail.location);

@@ -121,3 +121,3 @@ let timezone = 'America/New_York';

}
results.events = results.events.reverse();
callback(null, results);

@@ -124,0 +124,0 @@ });

@@ -8,3 +8,3 @@ {

"petty-cache": "^2.4.1",
"pitney-bowes": "~0.1.0",
"pitney-bowes": "~0.1.1",
"shipping-fedex": "0.2.0",

@@ -42,3 +42,3 @@ "tz-lookup": "~6.1.18",

},
"version": "0.9.0"
"version": "1.0.0"
}
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