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 2.3.7 to 2.3.8

5

CHANGELOG.md

@@ -1,2 +0,5 @@

# 2.3.6
# 2.3.8
* sicepat: apply updated return value
# 2.3.7
* sicepat: fixed delivery status check issue.

@@ -3,0 +6,0 @@

10

lib/courier/sicepat.js

@@ -118,13 +118,9 @@ 'use strict'

$body.find('.res-detail .table').eq(2).find('tr').each(function (idx) {
if (idx === 0) {
return true
}
var $cols = $(this).find('td')
$body.find('.history-awb-timeline li').each(function (idx) {
var checkpoint = {
courier: courier,
location: '',
message: $cols.eq(1).text().trim(),
message: $(this).find('.history-detail').text().trim(),
status: tracker.STATUS.IN_TRANSIT,
time: moment($cols.eq(0).text().trim() + '+0700', 'DD-MM-YYYY HH:mmZ').utc().format('YYYY-MM-DDTHH:mmZ')
time: moment($(this).find('.history-date').text().trim() + '+0700', 'DD-MMM-YYYYHH:mmZ').utc().format('YYYY-MM-DDTHH:mmZ')
}

@@ -131,0 +127,0 @@

{
"name": "delivery-tracker",
"version": "2.3.7",
"version": "2.3.8",
"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