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.5.6 to 2.5.7

3

CHANGELOG.md

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

# 2.5.7
* add an exception logic for internal server error in SICEPAT.
# 2.5.6

@@ -2,0 +5,0 @@ * add an exception logic in SICEPAT.

5

lib/courier/sicepat.js

@@ -143,4 +143,7 @@ 'use strict'

try {
if (!body.sicepat) { // internal server error
return cb(tracker.error(body.message))
}
if (body.sicepat.status.code !== 200) {
return cb(body.sicepat.status.description)
return cb(tracker.error(body.sicepat.status.description))
}

@@ -147,0 +150,0 @@ var result = handler.parser.trace(body.sicepat.result, number)

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