universal-parcel-scraper 0.598.0-main.2802 → 0.599.0-main.2804

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
@@ -30367,7 +30367,7 @@
30367
30367
  "checksum": "luhn"
30368
30368
  },
30369
30369
  {
30370
- "pattern": "^VGS\\d{14}$",
30370
+ "pattern": "^VGS\\d{13,14}$",
30371
30371
  "confidence": "high"
30372
30372
  },
30373
30373
  {
@@ -89847,6 +89847,14 @@
89847
89847
  "vinted-go"
89848
89848
  ]
89849
89849
  },
89850
+ {
89851
+ "input": "VGS9000000000001",
89852
+ "carrier": "vinted-go",
89853
+ "confidence": "high",
89854
+ "candidates": [
89855
+ "vinted-go"
89856
+ ]
89857
+ },
89850
89858
  {
89851
89859
  "input": "VH101334",
89852
89860
  "carrier": "unknown",
@@ -22913,7 +22913,7 @@ var Ye = {
22913
22913
  checksum: "luhn"
22914
22914
  },
22915
22915
  {
22916
- pattern: "^VGS\\d{14}$",
22916
+ pattern: "^VGS\\d{13,14}$",
22917
22917
  confidence: "high"
22918
22918
  },
22919
22919
  {
@@ -99,7 +99,7 @@
99
99
  },
100
100
  {
101
101
  "id": "vinted-go-vgs",
102
- "pattern": "^VGS\\d{14}$",
102
+ "pattern": "^VGS\\d{13,14}$",
103
103
  "confidence": "high"
104
104
  },
105
105
  {
@@ -163,6 +163,18 @@
163
163
  },
164
164
  "note": "Made-up number in the shape of a VGS number Vinted Go's own tracking service answers."
165
165
  },
166
+ {
167
+ "number": "VGS9000000000001",
168
+ "role": "shipment",
169
+ "evidence": "synthetic",
170
+ "derivedFrom": "donated_real",
171
+ "shapeConfirmed": "2026-10-21",
172
+ "expect": {
173
+ "carrier": "vinted-go",
174
+ "confidence": "high"
175
+ },
176
+ "note": "Made-up number in the shape of a VGS number of thirteen digits Vinted Go's own tracking service answers."
177
+ },
166
178
  {
167
179
  "number": "FMP1UW2ABCDEFGHI",
168
180
  "role": "shipment",
@@ -17,7 +17,7 @@ export const VINTED_GO_MAX_BYTES = 512 * 1024;
17
17
  const NUMBER = /^1\d{15}$/;
18
18
  // `VGS` and fourteen digits, the other number the service answers. They hold
19
19
  // no timestamp and no Luhn check digit.
20
- const VGS_NUMBER = /^VGS\d{14}$/;
20
+ const VGS_NUMBER = /^VGS\d{13,14}$/;
21
21
  // Sixteen capital letters and digits, letters among them, which the service
22
22
  // answers like the others. A VGS number with a digit missing is not one.
23
23
  const CODE = /^(?!VGS?\d+$)(?=\d*[A-Z])[A-Z\d]{16}$/;
@@ -36,7 +36,7 @@ const MAX_EVENTS = 100;
36
36
  export function normalizeVintedGoNumber(raw) {
37
37
  const number = raw.length <= 64 ? normalizeTrackingNumber(raw) : '';
38
38
  if (!VGS_NUMBER.test(number) && !CODE.test(number) && !(NUMBER.test(number) && hasLuhnCheckDigit(number))) {
39
- throw new InvalidInputError(PROVIDER, 'Vinted Go numbers are sixteen digits starting 1 whose last digit passes the Luhn check, VGS and fourteen digits, or sixteen capital letters and digits');
39
+ throw new InvalidInputError(PROVIDER, 'Vinted Go numbers are sixteen digits starting 1 whose last digit passes the Luhn check, VGS and thirteen or fourteen digits, or sixteen capital letters and digits');
40
40
  }
41
41
  return number;
42
42
  }
@@ -30367,7 +30367,7 @@
30367
30367
  "checksum": "luhn"
30368
30368
  },
30369
30369
  {
30370
- "pattern": "^VGS\\d{14}$",
30370
+ "pattern": "^VGS\\d{13,14}$",
30371
30371
  "confidence": "high"
30372
30372
  },
30373
30373
  {
@@ -19397,7 +19397,7 @@ export declare const CARRIER_CATALOG: {
19397
19397
  readonly confidence: "low";
19398
19398
  readonly checksum: "luhn";
19399
19399
  }, {
19400
- readonly pattern: "^VGS\\d{14}$";
19400
+ readonly pattern: "^VGS\\d{13,14}$";
19401
19401
  readonly confidence: "high";
19402
19402
  }, {
19403
19403
  readonly pattern: "^FMP\\dUW\\d[A-Z]{9}$";
@@ -30368,7 +30368,7 @@ export const CARRIER_CATALOG = {
30368
30368
  "checksum": "luhn"
30369
30369
  },
30370
30370
  {
30371
- "pattern": "^VGS\\d{14}$",
30371
+ "pattern": "^VGS\\d{13,14}$",
30372
30372
  "confidence": "high"
30373
30373
  },
30374
30374
  {
@@ -2,7 +2,7 @@
2
2
  "openapi": "3.1.0",
3
3
  "info": {
4
4
  "title": "Universal Parcel Scraper",
5
- "version": "0.598.0"
5
+ "version": "0.599.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.598.0-main.2802",
3
+ "version": "0.599.0-main.2804",
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",