Socket
Socket
Sign inDemoInstall

delivery-tracker

Package Overview
Dependencies
80
Maintainers
1
Versions
88
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.5.8 to 2.6.0

lib/courier/dhl.js

2

bin/index.js

@@ -8,3 +8,3 @@ #! /usr/bin/env node

.arguments('<tracecode>')
.option('-c, --courier <courier>', 'Courier Namespace', /^(KOREAPOST|ECARGO|FEDEX|PANTOS|RINCOS|AUSPOST|ROYALMAIL|USPS|CJKOREAEXPRESS|POSLAJU|YELLOEXPRESS|EFS|AIRBRIDGE|UPS|TNT|CESCO|XPOST|KERRYTHAI|SICEPAT|XIOEXPRESS|EPARCEL|LBC|JNT)$/i)
.option('-c, --courier <courier>', 'Courier Namespace', /^(KOREAPOST|ECARGO|FEDEX|PANTOS|RINCOS|AUSPOST|ROYALMAIL|USPS|CJKOREAEXPRESS|POSLAJU|YELLOEXPRESS|EFS|AIRBRIDGE|UPS|TNT|CESCO|XPOST|KERRYTHAI|SICEPAT|XIOEXPRESS|EPARCEL|LBC|JNT|DHL)$/i)
.option('-k, --apikey <apikey>', 'API KEY')

@@ -11,0 +11,0 @@ .action(function (tracecode) {

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

# 2.6.0
* add DHL.
# 2.5.8

@@ -2,0 +5,0 @@ * add an exception logic for internal server error in JNT.

@@ -42,2 +42,3 @@ 'use strict'

status: tracker.STATUS.PENDING,
eta: item.estDeliveryDt,
checkpoints: []

@@ -44,0 +45,0 @@ }

@@ -104,2 +104,6 @@ 'use strict'

NAME: 'J&T'
},
DHL: {
CODE: 'dhl',
NAME: 'DHL'
}

@@ -106,0 +110,0 @@ }

{
"name": "delivery-tracker",
"version": "2.5.8",
"version": "2.6.0",
"author": {

@@ -54,3 +54,4 @@ "name": "egg",

"j&t",
"jnt"
"jnt",
"dhl"
],

@@ -57,0 +58,0 @@ "license": "MIT",

@@ -36,2 +36,3 @@ # delivery-tracker

J&T (PH) | @egg- | https://www.jtexpress.ph/
DHL | @carstenschwede | https://www.dhl.com/

@@ -38,0 +39,0 @@ ## Installation

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