universal-parcel-scraper 0.1287.1-main.8607 → 0.1287.2-main.8609

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -614,6 +614,10 @@ function providerWordingStage(description) {
614
614
  // progress" with or without its Chinese, and HuaHan's transfer to the last-mile carrier's number ("转单:"), relayed in English.
615
615
  if (/^(?:拆板中。—)?dismantling in progress[.!]?$|^re-?route: ?[a-z0-9]{8,35}$/iu.test(value))
616
616
  return 'in_transit';
617
+ // A forwarder's parcel waiting at the airport for its flight, and that flight taking off, as aggregators relay
618
+ // its English ("Wait for a flight", "The airline has taken off."): on the way, as Lion Parcel's map reads the wait.
619
+ if (/^wait(?:ing)? for (?:a |the )?flight[.!]?$|^the airline has taken off[.!]?$/i.test(value))
620
+ return 'in_transit';
617
621
  // A forwarder's arrival at the destination port, worded as a delivery, also after its Chinese
618
622
  // ("picked up at the destination port"), and its order data sent to the last-mile carrier.
619
623
  if (/^(?:目的港已提货\s*)?delivery has been made at the destination port[.!]?$|^目的港已提货$/iu.test(value))
@@ -2,7 +2,7 @@
2
2
  "openapi": "3.1.0",
3
3
  "info": {
4
4
  "title": "Universal Parcel Scraper",
5
- "version": "0.1287.1-main.8607"
5
+ "version": "0.1287.2-main.8609"
6
6
  },
7
7
  "paths": {
8
8
  "/health": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "universal-parcel-scraper",
3
- "version": "0.1287.1-main.8607",
3
+ "version": "0.1287.2-main.8609",
4
4
  "description": "Self-hosted parcel tracking: carrier detection, dedicated scrapers and optional universal providers.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",