@podium/utils
Advanced tools
Comparing version 4.1.0 to 4.1.1
@@ -30,3 +30,3 @@ 'use strict'; | ||
referrerpolicy = '', | ||
crossorigin = '', | ||
crossorigin = undefined, | ||
integrity = '', | ||
@@ -136,3 +136,3 @@ pathname = '', | ||
referrerpolicy: toUndefined(this.referrerpolicy), | ||
crossorigin: toUndefined(this.crossorigin), | ||
crossorigin: this.crossorigin, | ||
integrity: toUndefined(this.integrity), | ||
@@ -139,0 +139,0 @@ nomodule: toUndefined(this.nomodule), |
@@ -23,4 +23,5 @@ 'use strict'; | ||
if (notEmpty(obj.crossorigin)) { | ||
args.push(`crossorigin="${obj.crossorigin}"`); | ||
if (obj.crossorigin || obj.crossorigin === '') { | ||
if (obj.crossorigin === true) args.push(`crossorigin`); | ||
else args.push(`crossorigin="${obj.crossorigin}"`); | ||
} | ||
@@ -27,0 +28,0 @@ |
{ | ||
"name": "@podium/utils", | ||
"version": "4.1.0", | ||
"version": "4.1.1", | ||
"description": "Common generic utility methods shared by @podium modules.", | ||
@@ -50,15 +50,15 @@ "license": "MIT", | ||
"benchmark": "^2.1.4", | ||
"eslint": "^6.0.0", | ||
"eslint": "^6.6.0", | ||
"eslint-config-airbnb-base": "^14.0.0", | ||
"eslint-config-prettier": "^6.0.0", | ||
"eslint-plugin-import": "^2.16.0", | ||
"eslint-plugin-prettier": "^3.0.0", | ||
"jest": "^24.7.0", | ||
"prettier": "^1.16.4" | ||
"eslint-config-prettier": "^6.5.0", | ||
"eslint-plugin-import": "^2.18.2", | ||
"eslint-plugin-prettier": "^3.1.1", | ||
"jest": "^24.9.0", | ||
"prettier": "^1.18.2" | ||
}, | ||
"dependencies": { | ||
"@podium/schemas": "4.0.0", | ||
"camelcase": "^5.3.0", | ||
"original-url": "^1.2.1" | ||
"camelcase": "^5.3.1", | ||
"original-url": "^1.2.3" | ||
} | ||
} |
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
35033
772
Updatedcamelcase@^5.3.1
Updatedoriginal-url@^1.2.3