universal-parcel-scraper 0.49.0-main.532 → 0.49.0-main.533
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 +4 -0
- package/data/detection-golden.json +40 -20
- package/dist/browser/scraper.js +5 -0
- package/dist/carriers/chronopost/carrier.json +5 -0
- package/dist/carriers/chronopost/numbers.json +77 -17
- package/dist/carriers/intl-post/numbers.json +3 -6
- package/dist/data/catalog.json +4 -0
- package/dist/generated/catalog.d.ts +3 -0
- package/dist/generated/catalog.js +5 -1
- package/package.json +1 -1
package/data/catalog.json
CHANGED
|
@@ -1157,6 +1157,10 @@
|
|
|
1157
1157
|
"confidence": "high",
|
|
1158
1158
|
"checksum": "s10"
|
|
1159
1159
|
},
|
|
1160
|
+
{
|
|
1161
|
+
"pattern": "^(?!(?:PZ|XR|XT|XU|XW|XY))[A-Z]{2}\\d{9}(?:JB|JF|TS)$",
|
|
1162
|
+
"confidence": "high"
|
|
1163
|
+
},
|
|
1160
1164
|
{
|
|
1161
1165
|
"pattern": "^\\d{14}[0-9A-Z]$",
|
|
1162
1166
|
"confidence": "low",
|
|
@@ -12318,6 +12318,14 @@
|
|
|
12318
12318
|
"confidence": "none",
|
|
12319
12319
|
"candidates": []
|
|
12320
12320
|
},
|
|
12321
|
+
{
|
|
12322
|
+
"input": "BC989633266JB",
|
|
12323
|
+
"carrier": "chronopost",
|
|
12324
|
+
"confidence": "high",
|
|
12325
|
+
"candidates": [
|
|
12326
|
+
"chronopost"
|
|
12327
|
+
]
|
|
12328
|
+
},
|
|
12321
12329
|
{
|
|
12322
12330
|
"input": "BE0000000001",
|
|
12323
12331
|
"carrier": "amazon-logistics",
|
|
@@ -13800,13 +13808,10 @@
|
|
|
13800
13808
|
},
|
|
13801
13809
|
{
|
|
13802
13810
|
"input": "FZ246006535JB",
|
|
13803
|
-
"carrier": "
|
|
13804
|
-
"confidence": "
|
|
13811
|
+
"carrier": "chronopost",
|
|
13812
|
+
"confidence": "high",
|
|
13805
13813
|
"candidates": [
|
|
13806
13814
|
"chronopost"
|
|
13807
|
-
],
|
|
13808
|
-
"asked": [
|
|
13809
|
-
"chronopost"
|
|
13810
13815
|
]
|
|
13811
13816
|
},
|
|
13812
13817
|
{
|
|
@@ -13919,6 +13924,14 @@
|
|
|
13919
13924
|
"gofo"
|
|
13920
13925
|
]
|
|
13921
13926
|
},
|
|
13927
|
+
{
|
|
13928
|
+
"input": "GH205472665JB",
|
|
13929
|
+
"carrier": "chronopost",
|
|
13930
|
+
"confidence": "high",
|
|
13931
|
+
"candidates": [
|
|
13932
|
+
"chronopost"
|
|
13933
|
+
]
|
|
13934
|
+
},
|
|
13922
13935
|
{
|
|
13923
13936
|
"input": "GI049170518GB",
|
|
13924
13937
|
"carrier": "parcelforce",
|
|
@@ -14184,13 +14197,10 @@
|
|
|
14184
14197
|
},
|
|
14185
14198
|
{
|
|
14186
14199
|
"input": "HV520454959JF",
|
|
14187
|
-
"carrier": "
|
|
14188
|
-
"confidence": "
|
|
14200
|
+
"carrier": "chronopost",
|
|
14201
|
+
"confidence": "high",
|
|
14189
14202
|
"candidates": [
|
|
14190
14203
|
"chronopost"
|
|
14191
|
-
],
|
|
14192
|
-
"asked": [
|
|
14193
|
-
"chronopost"
|
|
14194
14204
|
]
|
|
14195
14205
|
},
|
|
14196
14206
|
{
|
|
@@ -15824,6 +15834,22 @@
|
|
|
15824
15834
|
"correios-br"
|
|
15825
15835
|
]
|
|
15826
15836
|
},
|
|
15837
|
+
{
|
|
15838
|
+
"input": "NP123456789JB",
|
|
15839
|
+
"carrier": "chronopost",
|
|
15840
|
+
"confidence": "high",
|
|
15841
|
+
"candidates": [
|
|
15842
|
+
"chronopost"
|
|
15843
|
+
]
|
|
15844
|
+
},
|
|
15845
|
+
{
|
|
15846
|
+
"input": "NP989065909JB",
|
|
15847
|
+
"carrier": "chronopost",
|
|
15848
|
+
"confidence": "high",
|
|
15849
|
+
"candidates": [
|
|
15850
|
+
"chronopost"
|
|
15851
|
+
]
|
|
15852
|
+
},
|
|
15827
15853
|
{
|
|
15828
15854
|
"input": "NVSGBEDBP03784ADPL",
|
|
15829
15855
|
"carrier": "unknown",
|
|
@@ -16613,13 +16639,10 @@
|
|
|
16613
16639
|
},
|
|
16614
16640
|
{
|
|
16615
16641
|
"input": "RR123456785TS",
|
|
16616
|
-
"carrier": "
|
|
16617
|
-
"confidence": "
|
|
16642
|
+
"carrier": "chronopost",
|
|
16643
|
+
"confidence": "high",
|
|
16618
16644
|
"candidates": [
|
|
16619
16645
|
"chronopost"
|
|
16620
|
-
],
|
|
16621
|
-
"asked": [
|
|
16622
|
-
"chronopost"
|
|
16623
16646
|
]
|
|
16624
16647
|
},
|
|
16625
16648
|
{
|
|
@@ -17854,13 +17877,10 @@
|
|
|
17854
17877
|
},
|
|
17855
17878
|
{
|
|
17856
17879
|
"input": "XN136114912JB",
|
|
17857
|
-
"carrier": "
|
|
17858
|
-
"confidence": "
|
|
17880
|
+
"carrier": "chronopost",
|
|
17881
|
+
"confidence": "high",
|
|
17859
17882
|
"candidates": [
|
|
17860
17883
|
"chronopost"
|
|
17861
|
-
],
|
|
17862
|
-
"asked": [
|
|
17863
|
-
"chronopost"
|
|
17864
17884
|
]
|
|
17865
17885
|
},
|
|
17866
17886
|
{
|
package/dist/browser/scraper.js
CHANGED
|
@@ -1030,6 +1030,10 @@ var ve = {
|
|
|
1030
1030
|
confidence: "high",
|
|
1031
1031
|
checksum: "s10"
|
|
1032
1032
|
},
|
|
1033
|
+
{
|
|
1034
|
+
pattern: "^(?!(?:PZ|XR|XT|XU|XW|XY))[A-Z]{2}\\d{9}(?:JB|JF|TS)$",
|
|
1035
|
+
confidence: "high"
|
|
1036
|
+
},
|
|
1033
1037
|
{
|
|
1034
1038
|
pattern: "^\\d{14}[0-9A-Z]$",
|
|
1035
1039
|
confidence: "low",
|
|
@@ -4083,6 +4087,7 @@ var ve = {
|
|
|
4083
4087
|
],
|
|
4084
4088
|
chronopost: [
|
|
4085
4089
|
"chronopost-1",
|
|
4090
|
+
"chronopost-own-suffix",
|
|
4086
4091
|
"chronopost-2",
|
|
4087
4092
|
"chronopost-3"
|
|
4088
4093
|
],
|
|
@@ -73,6 +73,11 @@
|
|
|
73
73
|
"confidence": "high",
|
|
74
74
|
"checksum": "s10"
|
|
75
75
|
},
|
|
76
|
+
{
|
|
77
|
+
"id": "chronopost-own-suffix",
|
|
78
|
+
"pattern": "^(?!(?:PZ|XR|XT|XU|XW|XY))[A-Z]{2}\\d{9}(?:JB|JF|TS)$",
|
|
79
|
+
"confidence": "high"
|
|
80
|
+
},
|
|
76
81
|
{
|
|
77
82
|
"id": "chronopost-2",
|
|
78
83
|
"pattern": "^\\d{14}[0-9A-Z]$",
|
|
@@ -133,6 +133,18 @@
|
|
|
133
133
|
},
|
|
134
134
|
"note": "Made-up number in the shape of Chronopost parcels whose S10 check digit passes and whose TS suffix is no country."
|
|
135
135
|
},
|
|
136
|
+
{
|
|
137
|
+
"number": "NP123456789JB",
|
|
138
|
+
"role": "shipment",
|
|
139
|
+
"evidence": "synthetic",
|
|
140
|
+
"derivedFrom": "invented",
|
|
141
|
+
"shapeConfirmed": "2026-10-08",
|
|
142
|
+
"expect": {
|
|
143
|
+
"carrier": "chronopost",
|
|
144
|
+
"confidence": "high"
|
|
145
|
+
},
|
|
146
|
+
"note": "Made-up number with Chronopost's own JB suffix and no S10 check digit, as its numbers outside the dedicated prefixes often have."
|
|
147
|
+
},
|
|
136
148
|
{
|
|
137
149
|
"number": "XT010847192TS",
|
|
138
150
|
"role": "shipment",
|
|
@@ -295,13 +307,10 @@
|
|
|
295
307
|
"assessment": "confirmed"
|
|
296
308
|
},
|
|
297
309
|
"expect": {
|
|
298
|
-
"carrier": "
|
|
299
|
-
"confidence": "
|
|
300
|
-
"candidates": [
|
|
301
|
-
"chronopost"
|
|
302
|
-
]
|
|
310
|
+
"carrier": "chronopost",
|
|
311
|
+
"confidence": "high"
|
|
303
312
|
},
|
|
304
|
-
"note": "Chronopost's tracker returns its history. The JB suffix
|
|
313
|
+
"note": "Chronopost's tracker returns its history. The JB suffix is Chronopost's own code, not a country."
|
|
305
314
|
},
|
|
306
315
|
{
|
|
307
316
|
"number": "XR657749906TS",
|
|
@@ -336,11 +345,8 @@
|
|
|
336
345
|
"assessment": "confirmed"
|
|
337
346
|
},
|
|
338
347
|
"expect": {
|
|
339
|
-
"carrier": "
|
|
340
|
-
"confidence": "
|
|
341
|
-
"candidates": [
|
|
342
|
-
"chronopost"
|
|
343
|
-
]
|
|
348
|
+
"carrier": "chronopost",
|
|
349
|
+
"confidence": "high"
|
|
344
350
|
},
|
|
345
351
|
"note": "Chronopost's tracker returns its history, delivered in Spain through the DPD network."
|
|
346
352
|
},
|
|
@@ -358,13 +364,67 @@
|
|
|
358
364
|
"assessment": "confirmed"
|
|
359
365
|
},
|
|
360
366
|
"expect": {
|
|
361
|
-
"carrier": "
|
|
362
|
-
"confidence": "
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
367
|
+
"carrier": "chronopost",
|
|
368
|
+
"confidence": "high"
|
|
369
|
+
},
|
|
370
|
+
"note": "Chronopost's tracker returns its history, dropped off at a relay by the sender. The JB suffix is Chronopost's own code, not a country."
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"number": "NP989065909JB",
|
|
374
|
+
"role": "shipment",
|
|
375
|
+
"evidence": "public_shipment_report",
|
|
376
|
+
"source": {
|
|
377
|
+
"url": "https://web.archive.org/web/20260704104531/https://www.chronopost.fr/tracking-no-cms/suivi-page?listeNumerosLT=NP989065909JB&langue=de",
|
|
378
|
+
"date": "2026-07-04",
|
|
379
|
+
"dateKind": "capture",
|
|
380
|
+
"access": "indexed_excerpt"
|
|
381
|
+
},
|
|
382
|
+
"context": {
|
|
383
|
+
"assessment": "confirmed"
|
|
384
|
+
},
|
|
385
|
+
"expect": {
|
|
386
|
+
"carrier": "chronopost",
|
|
387
|
+
"confidence": "high"
|
|
388
|
+
},
|
|
389
|
+
"note": "Chronopost's tracker returns its history. It has no S10 check digit, like many JB numbers whose prefix is not one of Chronopost's dedicated ones."
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"number": "BC989633266JB",
|
|
393
|
+
"role": "shipment",
|
|
394
|
+
"evidence": "public_shipment_report",
|
|
395
|
+
"source": {
|
|
396
|
+
"url": "https://web.archive.org/web/20260630120634/https://www.chronopost.fr/tracking-no-cms/suivi-page?langue=es&listeNumerosLT=BC989633266JB",
|
|
397
|
+
"date": "2026-06-30",
|
|
398
|
+
"dateKind": "capture",
|
|
399
|
+
"access": "indexed_excerpt"
|
|
400
|
+
},
|
|
401
|
+
"context": {
|
|
402
|
+
"assessment": "confirmed"
|
|
403
|
+
},
|
|
404
|
+
"expect": {
|
|
405
|
+
"carrier": "chronopost",
|
|
406
|
+
"confidence": "high"
|
|
407
|
+
},
|
|
408
|
+
"note": "Chronopost's tracker returns its history. It has no S10 check digit."
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"number": "GH205472665JB",
|
|
412
|
+
"role": "shipment",
|
|
413
|
+
"evidence": "public_shipment_report",
|
|
414
|
+
"source": {
|
|
415
|
+
"url": "https://web.archive.org/web/20260602155627/https://www.chronopost.fr/tracking-no-cms/suivi-page?listeNumerosLT=GH205472665JB",
|
|
416
|
+
"date": "2026-06-02",
|
|
417
|
+
"dateKind": "capture",
|
|
418
|
+
"access": "indexed_excerpt"
|
|
419
|
+
},
|
|
420
|
+
"context": {
|
|
421
|
+
"assessment": "confirmed"
|
|
422
|
+
},
|
|
423
|
+
"expect": {
|
|
424
|
+
"carrier": "chronopost",
|
|
425
|
+
"confidence": "high"
|
|
366
426
|
},
|
|
367
|
-
"note": "Chronopost's tracker returns its history
|
|
427
|
+
"note": "Chronopost's tracker returns its history. Its S10 check digit passes, but the JB suffix names no country, so it is not international mail."
|
|
368
428
|
},
|
|
369
429
|
{
|
|
370
430
|
"number": "XS431625991FR",
|
|
@@ -32,16 +32,13 @@
|
|
|
32
32
|
"derivedFrom": "invented",
|
|
33
33
|
"shapeConfirmed": "2026-10-08",
|
|
34
34
|
"expect": {
|
|
35
|
-
"carrier": "
|
|
36
|
-
"confidence": "
|
|
37
|
-
"candidates": [
|
|
38
|
-
"chronopost"
|
|
39
|
-
],
|
|
35
|
+
"carrier": "chronopost",
|
|
36
|
+
"confidence": "high",
|
|
40
37
|
"not": [
|
|
41
38
|
"intl-post"
|
|
42
39
|
]
|
|
43
40
|
},
|
|
44
|
-
"note": "Invented number whose S10 check digit passes but whose TS suffix is a Chronopost code rather than an issuing country, so it is not international mail."
|
|
41
|
+
"note": "Invented number whose S10 check digit passes but whose TS suffix is a Chronopost code rather than an issuing country, so it is Chronopost's and not international mail."
|
|
45
42
|
},
|
|
46
43
|
{
|
|
47
44
|
"number": "RO400351158EE",
|
package/dist/data/catalog.json
CHANGED
|
@@ -1157,6 +1157,10 @@
|
|
|
1157
1157
|
"confidence": "high",
|
|
1158
1158
|
"checksum": "s10"
|
|
1159
1159
|
},
|
|
1160
|
+
{
|
|
1161
|
+
"pattern": "^(?!(?:PZ|XR|XT|XU|XW|XY))[A-Z]{2}\\d{9}(?:JB|JF|TS)$",
|
|
1162
|
+
"confidence": "high"
|
|
1163
|
+
},
|
|
1160
1164
|
{
|
|
1161
1165
|
"pattern": "^\\d{14}[0-9A-Z]$",
|
|
1162
1166
|
"confidence": "low",
|
|
@@ -724,6 +724,9 @@ export declare const CARRIER_CATALOG: {
|
|
|
724
724
|
readonly pattern: "^(?:PZ|XR|XT|XU|XW|XY)\\d{9}[A-Z]{2}$";
|
|
725
725
|
readonly confidence: "high";
|
|
726
726
|
readonly checksum: "s10";
|
|
727
|
+
}, {
|
|
728
|
+
readonly pattern: "^(?!(?:PZ|XR|XT|XU|XW|XY))[A-Z]{2}\\d{9}(?:JB|JF|TS)$";
|
|
729
|
+
readonly confidence: "high";
|
|
727
730
|
}, {
|
|
728
731
|
readonly pattern: "^\\d{14}[0-9A-Z]$";
|
|
729
732
|
readonly confidence: "low";
|
|
@@ -1158,6 +1158,10 @@ export const CARRIER_CATALOG = {
|
|
|
1158
1158
|
"confidence": "high",
|
|
1159
1159
|
"checksum": "s10"
|
|
1160
1160
|
},
|
|
1161
|
+
{
|
|
1162
|
+
"pattern": "^(?!(?:PZ|XR|XT|XU|XW|XY))[A-Z]{2}\\d{9}(?:JB|JF|TS)$",
|
|
1163
|
+
"confidence": "high"
|
|
1164
|
+
},
|
|
1161
1165
|
{
|
|
1162
1166
|
"pattern": "^\\d{14}[0-9A-Z]$",
|
|
1163
1167
|
"confidence": "low",
|
|
@@ -5231,7 +5235,7 @@ export const DETECTION_RULE_IDS = {
|
|
|
5231
5235
|
"mondial-relay": ["mondial-relay-1", "mondial-relay-2"],
|
|
5232
5236
|
"relais-colis": ["relais-colis-1", "relais-colis-2", "relais-colis-3"],
|
|
5233
5237
|
"la-poste": ["la-poste-1", "la-poste-4", "la-poste-5", "la-poste-6", "la-poste-7", "la-poste-2", "la-poste-3"],
|
|
5234
|
-
"chronopost": ["chronopost-1", "chronopost-2", "chronopost-3"],
|
|
5238
|
+
"chronopost": ["chronopost-1", "chronopost-own-suffix", "chronopost-2", "chronopost-3"],
|
|
5235
5239
|
"gls-fr": ["gls-fr-1", "gls-fr-2", "gls-fr-3", "gls-fr-4"],
|
|
5236
5240
|
"colis-prive": ["colis-prive-1", "colis-prive-2"],
|
|
5237
5241
|
"geodis": ["geodis-1"],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "universal-parcel-scraper",
|
|
3
|
-
"version": "0.49.0-main.
|
|
3
|
+
"version": "0.49.0-main.533",
|
|
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",
|