
Security News
Risky Biz Podcast: Making Reachability Analysis Work in Real-World Codebases
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
consignment-tracker
Advanced tools
This is a NodeJS module to simplify the process of tracking consignments. Tracking numbers are magically resolved, and results will always be in a uniform format. Currently supports UPS, Yodel & Truline in the United Kingdom.
npm i consignment-tracker
const config = {
ups: { // UPS config (required for UPS tracking only)
user: "xxxx", // UPS username
pass: "xxxx", // UPS password
access: "xxxx" // UPS Access License Number
},
truline: { // Truline config (require for Truline tracking only)
account: "00000"
}
};
const track = require('consignment-tracker')(config);
let result = await track('XXXXXXXXXXXXXXXX');
let results = await track([
'1111111111111',
'2222222222222',
'3333333333333'
]);
Track a single consignment
let result = await track(reference);
Track a batch of consignments
let results = await track([ref1, ref2, ref3]);
Track a single consignment and request full tracking history.
let result = await track(reference, {history: true});
track()
will throw an error if there is a failure performing the tracking.track()
, it will not throw. Instead, each individual error in the batch will be returned in the results along with the corresponding tracking reference.D
: DeliveredI
: In TransitX
: Exception (failure in the delivery process, e.g. address not found)M
: Manifested (parcel not yet handed to the courier){
courier: {type:"string"},
service: {type:"string"},
tracking_ref: {type:"string"},
consignment_ref: {type:"string"},
parcel_ref: {type:"string"},
po_number: {type:"string"},
dest_postal_code: {type:"string"},
dest_country_code: {type:"string"},
status_code: {type:"string", enum:["D", "I", "X", "M"]},
description: {type:"string"},
location: {type:"string"},
pod_signatory: {type:"string"},
pod_image_url: {type:"string"},
date: {type:"date"},
comments: {type:"string"},
history: [
{
status_code: {type:"string", enum:["D", "I", "X", "M"]},
description: {type:"string"},
location: {type:"string"},
pod_signatory: {type:"string"},
pod_image_url: {type:"string"},
date: {type:"date"},
comments: {type:"string"}
}
]
}
FAQs
A unified consignment tracker
The npm package consignment-tracker receives a total of 13 weekly downloads. As such, consignment-tracker popularity was classified as not popular.
We found that consignment-tracker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.