Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@volvo-cars/ced-os-react-components

Package Overview
Dependencies
Maintainers
11
Versions
198
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@volvo-cars/ced-os-react-components - npm Package Compare versions

Comparing version 0.1.9 to 0.1.10

12

dist/ced-os-react-components.cjs.js

@@ -89,7 +89,2 @@ var __create = Object.create;

};
var cdnImageUrl = (str) => {
if (!str)
return str;
return str.replace(/{{\|DCSBlobStorageUrl\|}}\\/g, `${process.env.AKAMAI_ASSETS_ROOT || "https://assets.volvocars.com"}/images/support/`).replace(/vccdcsassets\.blob\.core\.windows\.net\/images\//g, "assets.volvocars.com/dcs/");
};

@@ -127,3 +122,2 @@ // src/render/createRenderer.js

var getComponentConfig = (componentMappings, data) => {
var _a, _b;
if (!data)

@@ -144,8 +138,2 @@ return null;

const props2 = {...config.props, ...dataAttrs};
if ((_a = config == null ? void 0 : config.props) == null ? void 0 : _a.src) {
props2.src = cdnImageUrl(config.props.src);
}
if ((_b = config == null ? void 0 : config.props) == null ? void 0 : _b.poster) {
props2.poster = cdnImageUrl(config.props.poster);
}
return {

@@ -152,0 +140,0 @@ type,

@@ -13,7 +13,2 @@ // src/render/createRenderer.js

};
var cdnImageUrl = (str) => {
if (!str)
return str;
return str.replace(/{{\|DCSBlobStorageUrl\|}}\\/g, `${process.env.AKAMAI_ASSETS_ROOT || "https://assets.volvocars.com"}/images/support/`).replace(/vccdcsassets\.blob\.core\.windows\.net\/images\//g, "assets.volvocars.com/dcs/");
};

@@ -51,3 +46,2 @@ // src/render/createRenderer.js

var getComponentConfig = (componentMappings, data) => {
var _a, _b;
if (!data)

@@ -68,8 +62,2 @@ return null;

const props2 = {...config.props, ...dataAttrs};
if ((_a = config == null ? void 0 : config.props) == null ? void 0 : _a.src) {
props2.src = cdnImageUrl(config.props.src);
}
if ((_b = config == null ? void 0 : config.props) == null ? void 0 : _b.poster) {
props2.poster = cdnImageUrl(config.props.poster);
}
return {

@@ -76,0 +64,0 @@ type,

2

package.json
{
"name": "@volvo-cars/ced-os-react-components",
"version": "0.1.9",
"version": "0.1.10",
"description": "Set of components for developing UIs in the onboarding and support apps",

@@ -5,0 +5,0 @@ "keywords": [],

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc