universal-parcel-scraper 0.596.1-main.2797 → 0.597.0-main.2799

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.
package/data/catalog.json CHANGED
@@ -2023,7 +2023,7 @@
2023
2023
  "linkRules": [],
2024
2024
  "detectionRules": [
2025
2025
  {
2026
- "pattern": "^(?![CLR][A-Z]\\d{9}DE$)(?![CELR][A-Z]\\d{9}TW$)(?![CEL][A-Z]\\d{9}AU$)(?![CELR][A-Z]\\d{9}SK$)(?![CELR][A-Z]\\d{9}HR$)(?![CELR][A-Z]\\d{9}LV$)(?!AS\\d{9}US$)(?![CELR][A-Z]\\d{9}IT$)(?!(?:PZ|XR|XT|XU|XW|XY))[A-Z]{2}\\d{9}(?!CA$|CH$|FR$|IN$|NL$|GB$|IE$|BE$|PT$|NZ$|SG$|JP$|KR$|TH$|HK$|MY$|CN$|NO$|BR$|ES$|SE$|DK$|AT$|YP$|TS$|JF$|JB$|RV$|VF$|TY$|MI$|XX$|MH$|YW$|CS$|EN$|CL$)[A-Z]{2}$",
2026
+ "pattern": "^(?![CLR][A-Z]\\d{9}DE$)(?!(?:[CELR][A-Z]|UH)\\d{9}TW$)(?![CEL][A-Z]\\d{9}AU$)(?![CELR][A-Z]\\d{9}SK$)(?![CELR][A-Z]\\d{9}HR$)(?![CELR][A-Z]\\d{9}LV$)(?!AS\\d{9}US$)(?![CELR][A-Z]\\d{9}IT$)(?!(?:PZ|XR|XT|XU|XW|XY))[A-Z]{2}\\d{9}(?!CA$|CH$|FR$|IN$|NL$|GB$|IE$|BE$|PT$|NZ$|SG$|JP$|KR$|TH$|HK$|MY$|CN$|NO$|BR$|ES$|SE$|DK$|AT$|YP$|TS$|JF$|JB$|RV$|VF$|TY$|MI$|XX$|MH$|YW$|CS$|EN$|CL$)[A-Z]{2}$",
2027
2027
  "confidence": "high",
2028
2028
  "checksum": "s10"
2029
2029
  }
@@ -8982,7 +8982,7 @@
8982
8982
  ],
8983
8983
  "detectionRules": [
8984
8984
  {
8985
- "pattern": "^[CELR][A-Z]\\d{9}TW$",
8985
+ "pattern": "^(?:[CELR][A-Z]|UH)\\d{9}TW$",
8986
8986
  "confidence": "high",
8987
8987
  "checksum": "s10"
8988
8988
  }
@@ -88896,6 +88896,14 @@
88896
88896
  "ues-uy"
88897
88897
  ]
88898
88898
  },
88899
+ {
88900
+ "input": "UH000000005TW",
88901
+ "carrier": "chunghwa-post",
88902
+ "confidence": "high",
88903
+ "candidates": [
88904
+ "chunghwa-post"
88905
+ ]
88906
+ },
88899
88907
  {
88900
88908
  "input": "UH015319935DO",
88901
88909
  "carrier": "intl-post",
@@ -1894,7 +1894,7 @@ var Ye = {
1894
1894
  trackingSiteName: "17TRACK",
1895
1895
  linkRules: [],
1896
1896
  detectionRules: [{
1897
- pattern: "^(?![CLR][A-Z]\\d{9}DE$)(?![CELR][A-Z]\\d{9}TW$)(?![CEL][A-Z]\\d{9}AU$)(?![CELR][A-Z]\\d{9}SK$)(?![CELR][A-Z]\\d{9}HR$)(?![CELR][A-Z]\\d{9}LV$)(?!AS\\d{9}US$)(?![CELR][A-Z]\\d{9}IT$)(?!(?:PZ|XR|XT|XU|XW|XY))[A-Z]{2}\\d{9}(?!CA$|CH$|FR$|IN$|NL$|GB$|IE$|BE$|PT$|NZ$|SG$|JP$|KR$|TH$|HK$|MY$|CN$|NO$|BR$|ES$|SE$|DK$|AT$|YP$|TS$|JF$|JB$|RV$|VF$|TY$|MI$|XX$|MH$|YW$|CS$|EN$|CL$)[A-Z]{2}$",
1897
+ pattern: "^(?![CLR][A-Z]\\d{9}DE$)(?!(?:[CELR][A-Z]|UH)\\d{9}TW$)(?![CEL][A-Z]\\d{9}AU$)(?![CELR][A-Z]\\d{9}SK$)(?![CELR][A-Z]\\d{9}HR$)(?![CELR][A-Z]\\d{9}LV$)(?!AS\\d{9}US$)(?![CELR][A-Z]\\d{9}IT$)(?!(?:PZ|XR|XT|XU|XW|XY))[A-Z]{2}\\d{9}(?!CA$|CH$|FR$|IN$|NL$|GB$|IE$|BE$|PT$|NZ$|SG$|JP$|KR$|TH$|HK$|MY$|CN$|NO$|BR$|ES$|SE$|DK$|AT$|YP$|TS$|JF$|JB$|RV$|VF$|TY$|MI$|XX$|MH$|YW$|CS$|EN$|CL$)[A-Z]{2}$",
1898
1898
  confidence: "high",
1899
1899
  checksum: "s10"
1900
1900
  }]
@@ -7150,7 +7150,7 @@ var Ye = {
7150
7150
  params: ["MAILNO"]
7151
7151
  }],
7152
7152
  detectionRules: [{
7153
- pattern: "^[CELR][A-Z]\\d{9}TW$",
7153
+ pattern: "^(?:[CELR][A-Z]|UH)\\d{9}TW$",
7154
7154
  confidence: "high",
7155
7155
  checksum: "s10"
7156
7156
  }]
@@ -68,7 +68,7 @@
68
68
  "detection": [
69
69
  {
70
70
  "id": "chunghwa-post-1",
71
- "pattern": "^[CELR][A-Z]\\d{9}TW$",
71
+ "pattern": "^(?:[CELR][A-Z]|UH)\\d{9}TW$",
72
72
  "confidence": "high",
73
73
  "checksum": "s10"
74
74
  }
@@ -206,6 +206,18 @@
206
206
  ]
207
207
  },
208
208
  "note": "Looked up on Chunghwa Post's own tracker, as an archived address shows; the capture was not opened. The former domestic lookup on postserv.post.gov.tw."
209
+ },
210
+ {
211
+ "number": "UH000000005TW",
212
+ "role": "shipment",
213
+ "evidence": "synthetic",
214
+ "derivedFrom": "donated_real",
215
+ "shapeConfirmed": "2026-10-21",
216
+ "expect": {
217
+ "carrier": "chunghwa-post",
218
+ "confidence": "high"
219
+ },
220
+ "note": "Made-up number in the shape of Taiwan-issued letter post that Chunghwa Post's tracker answered."
209
221
  }
210
222
  ]
211
223
  }
@@ -39,7 +39,7 @@
39
39
  "detection": [
40
40
  {
41
41
  "id": "intl-post-2",
42
- "pattern": "^(?![CLR][A-Z]\\d{9}DE$)(?![CELR][A-Z]\\d{9}TW$)(?![CEL][A-Z]\\d{9}AU$)(?![CELR][A-Z]\\d{9}SK$)(?![CELR][A-Z]\\d{9}HR$)(?![CELR][A-Z]\\d{9}LV$)(?!AS\\d{9}US$)(?![CELR][A-Z]\\d{9}IT$)(?!(?:PZ|XR|XT|XU|XW|XY))[A-Z]{2}\\d{9}(?!CA$|CH$|FR$|IN$|NL$|GB$|IE$|BE$|PT$|NZ$|SG$|JP$|KR$|TH$|HK$|MY$|CN$|NO$|BR$|ES$|SE$|DK$|AT$|YP$|TS$|JF$|JB$|RV$|VF$|TY$|MI$|XX$|MH$|YW$|CS$|EN$|CL$)[A-Z]{2}$",
42
+ "pattern": "^(?![CLR][A-Z]\\d{9}DE$)(?!(?:[CELR][A-Z]|UH)\\d{9}TW$)(?![CEL][A-Z]\\d{9}AU$)(?![CELR][A-Z]\\d{9}SK$)(?![CELR][A-Z]\\d{9}HR$)(?![CELR][A-Z]\\d{9}LV$)(?!AS\\d{9}US$)(?![CELR][A-Z]\\d{9}IT$)(?!(?:PZ|XR|XT|XU|XW|XY))[A-Z]{2}\\d{9}(?!CA$|CH$|FR$|IN$|NL$|GB$|IE$|BE$|PT$|NZ$|SG$|JP$|KR$|TH$|HK$|MY$|CN$|NO$|BR$|ES$|SE$|DK$|AT$|YP$|TS$|JF$|JB$|RV$|VF$|TY$|MI$|XX$|MH$|YW$|CS$|EN$|CL$)[A-Z]{2}$",
43
43
  "confidence": "high",
44
44
  "checksum": "s10"
45
45
  }
@@ -2023,7 +2023,7 @@
2023
2023
  "linkRules": [],
2024
2024
  "detectionRules": [
2025
2025
  {
2026
- "pattern": "^(?![CLR][A-Z]\\d{9}DE$)(?![CELR][A-Z]\\d{9}TW$)(?![CEL][A-Z]\\d{9}AU$)(?![CELR][A-Z]\\d{9}SK$)(?![CELR][A-Z]\\d{9}HR$)(?![CELR][A-Z]\\d{9}LV$)(?!AS\\d{9}US$)(?![CELR][A-Z]\\d{9}IT$)(?!(?:PZ|XR|XT|XU|XW|XY))[A-Z]{2}\\d{9}(?!CA$|CH$|FR$|IN$|NL$|GB$|IE$|BE$|PT$|NZ$|SG$|JP$|KR$|TH$|HK$|MY$|CN$|NO$|BR$|ES$|SE$|DK$|AT$|YP$|TS$|JF$|JB$|RV$|VF$|TY$|MI$|XX$|MH$|YW$|CS$|EN$|CL$)[A-Z]{2}$",
2026
+ "pattern": "^(?![CLR][A-Z]\\d{9}DE$)(?!(?:[CELR][A-Z]|UH)\\d{9}TW$)(?![CEL][A-Z]\\d{9}AU$)(?![CELR][A-Z]\\d{9}SK$)(?![CELR][A-Z]\\d{9}HR$)(?![CELR][A-Z]\\d{9}LV$)(?!AS\\d{9}US$)(?![CELR][A-Z]\\d{9}IT$)(?!(?:PZ|XR|XT|XU|XW|XY))[A-Z]{2}\\d{9}(?!CA$|CH$|FR$|IN$|NL$|GB$|IE$|BE$|PT$|NZ$|SG$|JP$|KR$|TH$|HK$|MY$|CN$|NO$|BR$|ES$|SE$|DK$|AT$|YP$|TS$|JF$|JB$|RV$|VF$|TY$|MI$|XX$|MH$|YW$|CS$|EN$|CL$)[A-Z]{2}$",
2027
2027
  "confidence": "high",
2028
2028
  "checksum": "s10"
2029
2029
  }
@@ -8982,7 +8982,7 @@
8982
8982
  ],
8983
8983
  "detectionRules": [
8984
8984
  {
8985
- "pattern": "^[CELR][A-Z]\\d{9}TW$",
8985
+ "pattern": "^(?:[CELR][A-Z]|UH)\\d{9}TW$",
8986
8986
  "confidence": "high",
8987
8987
  "checksum": "s10"
8988
8988
  }
@@ -1332,7 +1332,7 @@ export declare const CARRIER_CATALOG: {
1332
1332
  readonly trackingSiteName: "17TRACK";
1333
1333
  readonly linkRules: readonly [];
1334
1334
  readonly detectionRules: readonly [{
1335
- readonly pattern: "^(?![CLR][A-Z]\\d{9}DE$)(?![CELR][A-Z]\\d{9}TW$)(?![CEL][A-Z]\\d{9}AU$)(?![CELR][A-Z]\\d{9}SK$)(?![CELR][A-Z]\\d{9}HR$)(?![CELR][A-Z]\\d{9}LV$)(?!AS\\d{9}US$)(?![CELR][A-Z]\\d{9}IT$)(?!(?:PZ|XR|XT|XU|XW|XY))[A-Z]{2}\\d{9}(?!CA$|CH$|FR$|IN$|NL$|GB$|IE$|BE$|PT$|NZ$|SG$|JP$|KR$|TH$|HK$|MY$|CN$|NO$|BR$|ES$|SE$|DK$|AT$|YP$|TS$|JF$|JB$|RV$|VF$|TY$|MI$|XX$|MH$|YW$|CS$|EN$|CL$)[A-Z]{2}$";
1335
+ readonly pattern: "^(?![CLR][A-Z]\\d{9}DE$)(?!(?:[CELR][A-Z]|UH)\\d{9}TW$)(?![CEL][A-Z]\\d{9}AU$)(?![CELR][A-Z]\\d{9}SK$)(?![CELR][A-Z]\\d{9}HR$)(?![CELR][A-Z]\\d{9}LV$)(?!AS\\d{9}US$)(?![CELR][A-Z]\\d{9}IT$)(?!(?:PZ|XR|XT|XU|XW|XY))[A-Z]{2}\\d{9}(?!CA$|CH$|FR$|IN$|NL$|GB$|IE$|BE$|PT$|NZ$|SG$|JP$|KR$|TH$|HK$|MY$|CN$|NO$|BR$|ES$|SE$|DK$|AT$|YP$|TS$|JF$|JB$|RV$|VF$|TY$|MI$|XX$|MH$|YW$|CS$|EN$|CL$)[A-Z]{2}$";
1336
1336
  readonly confidence: "high";
1337
1337
  readonly checksum: "s10";
1338
1338
  }];
@@ -5894,7 +5894,7 @@ export declare const CARRIER_CATALOG: {
5894
5894
  readonly params: readonly ["MAILNO"];
5895
5895
  }];
5896
5896
  readonly detectionRules: readonly [{
5897
- readonly pattern: "^[CELR][A-Z]\\d{9}TW$";
5897
+ readonly pattern: "^(?:[CELR][A-Z]|UH)\\d{9}TW$";
5898
5898
  readonly confidence: "high";
5899
5899
  readonly checksum: "s10";
5900
5900
  }];
@@ -2024,7 +2024,7 @@ export const CARRIER_CATALOG = {
2024
2024
  "linkRules": [],
2025
2025
  "detectionRules": [
2026
2026
  {
2027
- "pattern": "^(?![CLR][A-Z]\\d{9}DE$)(?![CELR][A-Z]\\d{9}TW$)(?![CEL][A-Z]\\d{9}AU$)(?![CELR][A-Z]\\d{9}SK$)(?![CELR][A-Z]\\d{9}HR$)(?![CELR][A-Z]\\d{9}LV$)(?!AS\\d{9}US$)(?![CELR][A-Z]\\d{9}IT$)(?!(?:PZ|XR|XT|XU|XW|XY))[A-Z]{2}\\d{9}(?!CA$|CH$|FR$|IN$|NL$|GB$|IE$|BE$|PT$|NZ$|SG$|JP$|KR$|TH$|HK$|MY$|CN$|NO$|BR$|ES$|SE$|DK$|AT$|YP$|TS$|JF$|JB$|RV$|VF$|TY$|MI$|XX$|MH$|YW$|CS$|EN$|CL$)[A-Z]{2}$",
2027
+ "pattern": "^(?![CLR][A-Z]\\d{9}DE$)(?!(?:[CELR][A-Z]|UH)\\d{9}TW$)(?![CEL][A-Z]\\d{9}AU$)(?![CELR][A-Z]\\d{9}SK$)(?![CELR][A-Z]\\d{9}HR$)(?![CELR][A-Z]\\d{9}LV$)(?!AS\\d{9}US$)(?![CELR][A-Z]\\d{9}IT$)(?!(?:PZ|XR|XT|XU|XW|XY))[A-Z]{2}\\d{9}(?!CA$|CH$|FR$|IN$|NL$|GB$|IE$|BE$|PT$|NZ$|SG$|JP$|KR$|TH$|HK$|MY$|CN$|NO$|BR$|ES$|SE$|DK$|AT$|YP$|TS$|JF$|JB$|RV$|VF$|TY$|MI$|XX$|MH$|YW$|CS$|EN$|CL$)[A-Z]{2}$",
2028
2028
  "confidence": "high",
2029
2029
  "checksum": "s10"
2030
2030
  }
@@ -8983,7 +8983,7 @@ export const CARRIER_CATALOG = {
8983
8983
  ],
8984
8984
  "detectionRules": [
8985
8985
  {
8986
- "pattern": "^[CELR][A-Z]\\d{9}TW$",
8986
+ "pattern": "^(?:[CELR][A-Z]|UH)\\d{9}TW$",
8987
8987
  "confidence": "high",
8988
8988
  "checksum": "s10"
8989
8989
  }
@@ -2,7 +2,7 @@
2
2
  "openapi": "3.1.0",
3
3
  "info": {
4
4
  "title": "Universal Parcel Scraper",
5
- "version": "0.596.1"
5
+ "version": "0.597.0"
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.596.1-main.2797",
3
+ "version": "0.597.0-main.2799",
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",