@qlean/york-web
Advanced tools
Comparing version 0.3.6-beta-3 to 0.3.6-beta-4
@@ -77,3 +77,3 @@ 'use strict'; | ||
componentId: 'mr20qq-3' | ||
})(['position:absolute;cursor:pointer;top:', 'px;right:', 'px;width:', 'px;height:', 'px;background-image:url(', ');'], (0, _styles.g)(2), (0, _styles.g)(2), (0, _styles.g)(10), (0, _styles.g)(10), require('./close.svg')); | ||
})(['position:absolute;cursor:pointer;top:', 'px;right:', 'px;width:', 'px;height:', 'px;background-image:url(./close.svg);'], (0, _styles.g)(2), (0, _styles.g)(2), (0, _styles.g)(10), (0, _styles.g)(10)); | ||
@@ -80,0 +80,0 @@ var GlobalStyled = (0, _styledComponents.createGlobalStyle)(_templateObject, function (_ref7) { |
@@ -49,3 +49,3 @@ 'use strict'; | ||
var messengerCode = _ref3.messengerCode; | ||
return 'url(' + require('./assets/' + messengerCode + '.svg') + ')'; | ||
return 'url(' + ('./assets/' + messengerCode + '.svg') + ')'; | ||
}, (0, _styles.g)(2), (0, _styles.g)(4), (0, _styles.g)(5), _styles.media.mobile('\n height: ' + (0, _styles.g)(6) + 'px;\n width: ' + (0, _styles.g)(6) + 'px;\n '), function (_ref4) { | ||
@@ -52,0 +52,0 @@ var messengerCode = _ref4.messengerCode; |
{ | ||
"name": "@qlean/york-web", | ||
"version": "0.3.6-beta-3", | ||
"version": "0.3.6-beta-4", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -59,3 +59,3 @@ import React, { Fragment } from 'react'; | ||
height: ${g(10)}px; | ||
background-image: url(${require('./close.svg')}); | ||
background-image: url(./close.svg); | ||
`; | ||
@@ -62,0 +62,0 @@ |
@@ -82,3 +82,3 @@ import React from 'react'; | ||
background-position: center; | ||
background-image: ${({ messengerCode }) => `url(${require(`./assets/${messengerCode}.svg`)})`}; | ||
background-image: ${({ messengerCode }) => `url(${`./assets/${messengerCode}.svg`})`}; | ||
position: absolute; | ||
@@ -85,0 +85,0 @@ top: 50%; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
2
182182