@volvo-cars/content-delivery-client
Advanced tools
Comparing version 0.4.2 to 0.4.3
@@ -568,3 +568,3 @@ import flatten from 'flat'; | ||
function transformImageOrFile(value) { | ||
var _value$file, _value$file2, _value$file2$mediaTyp, _value$file7, _value$file8; | ||
var _value$file, _value$file2, _value$file2$mediaTyp, _value$file9, _value$file10; | ||
@@ -576,3 +576,3 @@ if (!(value != null && (_value$file = value.file) != null && _value$file.url)) { | ||
if (value != null && (_value$file2 = value.file) != null && (_value$file2$mediaTyp = _value$file2.mediaType) != null && _value$file2$mediaTyp.includes('image')) { | ||
var _value$file3, _value$file4, _value$file4$details, _value$file4$details$, _value$file5, _value$file5$details, _value$file5$details$, _value$file6, _value$file6$details, _value$file6$details$; | ||
var _value$file3, _value$file4, _value$file4$details, _value$file4$details$, _value$file5, _value$file6, _value$file7, _value$file7$details, _value$file7$details$, _value$file8, _value$file8$details, _value$file8$details$; | ||
@@ -582,6 +582,6 @@ return { | ||
alt: (value == null ? void 0 : (_value$file4 = value.file) == null ? void 0 : (_value$file4$details = _value$file4.details) == null ? void 0 : (_value$file4$details$ = _value$file4$details.image) == null ? void 0 : _value$file4$details$.alt) || '', | ||
title: (value == null ? void 0 : value.title) || '', | ||
description: (value == null ? void 0 : value.description) || '', | ||
width: (value == null ? void 0 : (_value$file5 = value.file) == null ? void 0 : (_value$file5$details = _value$file5.details) == null ? void 0 : (_value$file5$details$ = _value$file5$details.image) == null ? void 0 : _value$file5$details$.width) || 0, | ||
height: (value == null ? void 0 : (_value$file6 = value.file) == null ? void 0 : (_value$file6$details = _value$file6.details) == null ? void 0 : (_value$file6$details$ = _value$file6$details.image) == null ? void 0 : _value$file6$details$.height) || 0 | ||
title: (value == null ? void 0 : value.title) || (value == null ? void 0 : (_value$file5 = value.file) == null ? void 0 : _value$file5.title) || '', | ||
description: (value == null ? void 0 : value.description) || (value == null ? void 0 : (_value$file6 = value.file) == null ? void 0 : _value$file6.description) || '', | ||
width: (value == null ? void 0 : (_value$file7 = value.file) == null ? void 0 : (_value$file7$details = _value$file7.details) == null ? void 0 : (_value$file7$details$ = _value$file7$details.image) == null ? void 0 : _value$file7$details$.width) || 0, | ||
height: (value == null ? void 0 : (_value$file8 = value.file) == null ? void 0 : (_value$file8$details = _value$file8.details) == null ? void 0 : (_value$file8$details$ = _value$file8$details.image) == null ? void 0 : _value$file8$details$.height) || 0 | ||
}; | ||
@@ -591,4 +591,4 @@ } | ||
return { | ||
mimeType: (value == null ? void 0 : (_value$file7 = value.file) == null ? void 0 : _value$file7.mediaType) || '', | ||
src: (value == null ? void 0 : (_value$file8 = value.file) == null ? void 0 : _value$file8.url) || '', | ||
mimeType: (value == null ? void 0 : (_value$file9 = value.file) == null ? void 0 : _value$file9.mediaType) || '', | ||
src: (value == null ? void 0 : (_value$file10 = value.file) == null ? void 0 : _value$file10.url) || '', | ||
title: (value == null ? void 0 : value.title) || '', | ||
@@ -595,0 +595,0 @@ description: (value == null ? void 0 : value.description) || '' |
@@ -592,3 +592,3 @@ var flatten = require('flat'); | ||
function transformImageOrFile(value) { | ||
var _value$file, _value$file2, _value$file2$mediaTyp, _value$file7, _value$file8; | ||
var _value$file, _value$file2, _value$file2$mediaTyp, _value$file9, _value$file10; | ||
@@ -600,3 +600,3 @@ if (!(value != null && (_value$file = value.file) != null && _value$file.url)) { | ||
if (value != null && (_value$file2 = value.file) != null && (_value$file2$mediaTyp = _value$file2.mediaType) != null && _value$file2$mediaTyp.includes('image')) { | ||
var _value$file3, _value$file4, _value$file4$details, _value$file4$details$, _value$file5, _value$file5$details, _value$file5$details$, _value$file6, _value$file6$details, _value$file6$details$; | ||
var _value$file3, _value$file4, _value$file4$details, _value$file4$details$, _value$file5, _value$file6, _value$file7, _value$file7$details, _value$file7$details$, _value$file8, _value$file8$details, _value$file8$details$; | ||
@@ -606,6 +606,6 @@ return { | ||
alt: (value == null ? void 0 : (_value$file4 = value.file) == null ? void 0 : (_value$file4$details = _value$file4.details) == null ? void 0 : (_value$file4$details$ = _value$file4$details.image) == null ? void 0 : _value$file4$details$.alt) || '', | ||
title: (value == null ? void 0 : value.title) || '', | ||
description: (value == null ? void 0 : value.description) || '', | ||
width: (value == null ? void 0 : (_value$file5 = value.file) == null ? void 0 : (_value$file5$details = _value$file5.details) == null ? void 0 : (_value$file5$details$ = _value$file5$details.image) == null ? void 0 : _value$file5$details$.width) || 0, | ||
height: (value == null ? void 0 : (_value$file6 = value.file) == null ? void 0 : (_value$file6$details = _value$file6.details) == null ? void 0 : (_value$file6$details$ = _value$file6$details.image) == null ? void 0 : _value$file6$details$.height) || 0 | ||
title: (value == null ? void 0 : value.title) || (value == null ? void 0 : (_value$file5 = value.file) == null ? void 0 : _value$file5.title) || '', | ||
description: (value == null ? void 0 : value.description) || (value == null ? void 0 : (_value$file6 = value.file) == null ? void 0 : _value$file6.description) || '', | ||
width: (value == null ? void 0 : (_value$file7 = value.file) == null ? void 0 : (_value$file7$details = _value$file7.details) == null ? void 0 : (_value$file7$details$ = _value$file7$details.image) == null ? void 0 : _value$file7$details$.width) || 0, | ||
height: (value == null ? void 0 : (_value$file8 = value.file) == null ? void 0 : (_value$file8$details = _value$file8.details) == null ? void 0 : (_value$file8$details$ = _value$file8$details.image) == null ? void 0 : _value$file8$details$.height) || 0 | ||
}; | ||
@@ -615,4 +615,4 @@ } | ||
return { | ||
mimeType: (value == null ? void 0 : (_value$file7 = value.file) == null ? void 0 : _value$file7.mediaType) || '', | ||
src: (value == null ? void 0 : (_value$file8 = value.file) == null ? void 0 : _value$file8.url) || '', | ||
mimeType: (value == null ? void 0 : (_value$file9 = value.file) == null ? void 0 : _value$file9.mediaType) || '', | ||
src: (value == null ? void 0 : (_value$file10 = value.file) == null ? void 0 : _value$file10.url) || '', | ||
title: (value == null ? void 0 : value.title) || '', | ||
@@ -619,0 +619,0 @@ description: (value == null ? void 0 : value.description) || '' |
{ | ||
"name": "@volvo-cars/content-delivery-client", | ||
"version": "0.4.2", | ||
"version": "0.4.3", | ||
"license": "UNLICENSED", | ||
"source": "index.ts", | ||
"main": "dist/index.js", | ||
"main": "index.ts", | ||
"publishConfig": { | ||
@@ -31,3 +31,3 @@ "access": "public", | ||
"@types/flat": "^5.0.1", | ||
"@volvo-cars/market-sites": "1.6.1", | ||
"@volvo-cars/market-sites": "workspace:*", | ||
"flat": "^5.0.0", | ||
@@ -37,10 +37,9 @@ "glob": "^8.0.3" | ||
"devDependencies": { | ||
"@vcc-www/testing": "0.0.0", | ||
"@vcc-www/utils": "0.0.0", | ||
"@volvo-cars/content-management-client": "0.16.0", | ||
"@vcc-www/testing": "workspace:*", | ||
"@vcc-www/utils": "workspace:*", | ||
"@volvo-cars/content-management-client": "workspace:*", | ||
"microbundle": "^0.15.1", | ||
"nock": "^13.0.5", | ||
"typescript": "*" | ||
}, | ||
"module": "dist/index.esm.js" | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
301647
50
2927
1
316
- Removed@volvo-cars/market-sites@1.6.1(transitive)