@podium/utils
Advanced tools
Comparing version 4.2.4 to 4.2.5
@@ -18,3 +18,3 @@ 'use strict'; | ||
const urlFromRequest = (request) => { | ||
const urlFromRequest = request => { | ||
try { | ||
@@ -79,6 +79,5 @@ const url = originalUrl(request); | ||
set podlets(value) { | ||
if (!Array.isArray(value)) | ||
throw new Error(`Value for property ".podlets" must be an Array`); | ||
const podlets = Array.isArray(value) ? value : [value]; | ||
value.forEach(podlet => { | ||
podlets.forEach(podlet => { | ||
if (podlet.css) { | ||
@@ -85,0 +84,0 @@ podlet.css.forEach(item => { |
{ | ||
"name": "@podium/utils", | ||
"version": "4.2.4", | ||
"version": "4.2.5", | ||
"description": "Common generic utility methods shared by @podium modules.", | ||
@@ -51,8 +51,8 @@ "license": "MIT", | ||
"eslint": "6.8.0", | ||
"eslint-config-airbnb-base": "14.0.0", | ||
"eslint-config-prettier": "6.10.0", | ||
"eslint-plugin-import": "2.20.1", | ||
"eslint-config-airbnb-base": "14.1.0", | ||
"eslint-config-prettier": "6.10.1", | ||
"eslint-plugin-import": "2.20.2", | ||
"eslint-plugin-prettier": "3.1.2", | ||
"jest": "25.1.0", | ||
"prettier": "1.19.1" | ||
"jest": "25.2.6", | ||
"prettier": "2.0.2" | ||
}, | ||
@@ -62,4 +62,4 @@ "dependencies": { | ||
"original-url": "1.2.3", | ||
"camelcase": "5.3.1" | ||
"camelcase": "6.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
35026
777
+ Addedcamelcase@6.0.0(transitive)
- Removedcamelcase@5.3.1(transitive)
Updatedcamelcase@6.0.0