Socket
Socket
Sign inDemoInstall

delivery-tracker

Package Overview
Dependencies
Maintainers
1
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

delivery-tracker - npm Package Compare versions

Comparing version 1.6.0 to 1.6.1

3

CHANGELOG.md

@@ -0,1 +1,4 @@

# 1.6.1
* sort UPS checkpoints.
# 1.6.0

@@ -2,0 +5,0 @@ * add UPS.

@@ -155,2 +155,5 @@ 'use strict'

checkpoints = checkpoints.concat(trace.checkpoints)
checkpoints.sort(function (a, b) {
return (+new Date(b.time)) - (+new Date(a.time))
})
complete()

@@ -157,0 +160,0 @@ })

2

lib/courier/ups.js

@@ -43,3 +43,3 @@ 'use strict'

status: tracker.STATUS.IN_TRANSIT,
time: moment([cols.eq(1).text().trim(), cols.eq(2).text().trim()].join(' '), 'YYYY/MM/DD HH:mm').utcOffset(-480).format('YYYY-MM-DDTHH:mm')
time: moment([cols.eq(1).text().trim(), cols.eq(2).text().trim()].join(' '), 'YYYY/MM/DD HH:mm').format('YYYY-MM-DDTHH:mm')
}

@@ -46,0 +46,0 @@

{
"name": "delivery-tracker",
"version": "1.6.0",
"version": "1.6.1",
"author": {

@@ -5,0 +5,0 @@ "name": "egg",

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