@meterapp/vehicle-db 2.15.0 → 2.17.0
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/README.md +17 -9
- package/dist/data.js +1 -1
- package/dist/search.js +2 -0
- package/package.json +3 -2
package/dist/search.js
CHANGED
|
@@ -21,6 +21,8 @@ const MAKE_SEARCH_ALIASES = new Map([
|
|
|
21
21
|
["harley davidson", ["harley"]],
|
|
22
22
|
["mercedes benz", ["mercedes", "benz", "merc"]],
|
|
23
23
|
["volkswagen", ["vw"]],
|
|
24
|
+
// TQ WULING is the official Malaysian brand; retain its published identity.
|
|
25
|
+
["tq wuling", ["wuling"]],
|
|
24
26
|
]);
|
|
25
27
|
const sourceMaskById = new Map(data_1.default.sources.map((source, index) => [source.source_id, 2 ** index]));
|
|
26
28
|
const vehicleTypeNameById = new Map(data_1.default.vehicleTypes.map((type) => [type.vehicle_type_id, type.vehicle_type_name]));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meterapp/vehicle-db",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.17.0",
|
|
4
4
|
"description": "Offline international database for cars, motorcycles, trucks, buses, MPVs, and more",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -71,7 +71,8 @@
|
|
|
71
71
|
"check:compatibility": "tsx scripts/check-compatibility.ts",
|
|
72
72
|
"refresh:fueleconomy-us": "tsx scripts/import-fueleconomy-us.ts",
|
|
73
73
|
"refresh:reviewed": "tsx scripts/import-reviewed-models.ts data/evidence/manufacturer-reviewed.json",
|
|
74
|
-
"replay": "tsx scripts/replay-catalog.ts"
|
|
74
|
+
"replay": "tsx scripts/replay-catalog.ts",
|
|
75
|
+
"refresh:manufacturer-catalogs": "tsx scripts/import-manufacturer-catalogs.ts"
|
|
75
76
|
},
|
|
76
77
|
"keywords": [
|
|
77
78
|
"nhtsa",
|