@podium/utils
Advanced tools
Comparing version 4.0.0 to 4.0.1
'use strict'; | ||
const buildScriptTag = ({ value = '', type = 'default' }) => { | ||
if (type === 'default') { | ||
return `<script defer src="${value}" ></script>`; | ||
if (type === 'esm') { | ||
return `<script type="module" defer src="${value}" ></script>`; | ||
} | ||
return `<script type="${type}" defer src="${value}"></script>`; | ||
return `<script defer src="${value}" ></script>`; | ||
}; | ||
@@ -9,0 +9,0 @@ |
{ | ||
"name": "@podium/utils", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "Common generic utility methods shared by @podium modules.", | ||
@@ -48,5 +48,5 @@ "license": "MIT", | ||
"benchmark": "^2.1.4", | ||
"eslint": "^5.16.0", | ||
"eslint": "^6.0.0", | ||
"eslint-config-airbnb-base": "^13.1.0", | ||
"eslint-config-prettier": "^4.1.0", | ||
"eslint-config-prettier": "^6.0.0", | ||
"eslint-plugin-import": "^2.16.0", | ||
@@ -53,0 +53,0 @@ "eslint-plugin-prettier": "^3.0.0", |
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
21655
7
372