@bytebrand/export-cars 1.22.14 → 1.22.16
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bytebrand/export-cars",
|
|
3
|
-
"version": "1.22.
|
|
3
|
+
"version": "1.22.16",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "bytebrand",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"google-spreadsheet": "^3.3.0",
|
|
34
34
|
"lodash": "^4.17.21",
|
|
35
35
|
"moment": "^2.29.4",
|
|
36
|
-
"nest-commander": "
|
|
36
|
+
"nest-commander": "~3.15.0",
|
|
37
37
|
"reflect-metadata": "^0.1.13",
|
|
38
38
|
"vin-generator": "^1.0.1"
|
|
39
39
|
},
|
|
@@ -175,7 +175,10 @@ export class FbTransformer {
|
|
|
175
175
|
}
|
|
176
176
|
|
|
177
177
|
private getTitle(car: DataSchemes.Car): string {
|
|
178
|
-
|
|
178
|
+
let year = toString(get(car, 'mainData.constructionYear', ''));
|
|
179
|
+
if (year === '0') {
|
|
180
|
+
year = '';
|
|
181
|
+
}
|
|
179
182
|
const make = toString(get(car, 'mainData.make', ''));
|
|
180
183
|
const model = toString(get(car, 'mainData.model', ''));
|
|
181
184
|
const subModel = toString(get(car, 'mainData.subModel', ''));
|