lemonadejs
Advanced tools
Comparing version 4.0.6 to 4.0.7
/** | ||
* LemonadeJS v4.0.6 (ESM build) | ||
* LemonadeJS v4.0.7 (ESM build) | ||
* | ||
@@ -95,4 +95,4 @@ * Website: https://lemonadejs.net | ||
return Number(attr); | ||
} else if (attr.substring(0, 1) === '{') { | ||
if (attr.slice(-1) === '}') { | ||
} else if (attr.substring(0, 1) === '{' || attr.substring(0, 1) === '[') { | ||
if (attr.slice(-1) === '}' || attr.slice(-1) === ']') { | ||
return JSON.parse(attr); | ||
@@ -99,0 +99,0 @@ } |
/** | ||
* LemonadeJS v4.0.6 | ||
* LemonadeJS v4.0.7 | ||
* | ||
@@ -100,4 +100,4 @@ * Website: https://lemonadejs.net | ||
return Number(attr); | ||
} else if (attr.substring(0, 1) === '{') { | ||
if (attr.slice(-1) === '}') { | ||
} else if (attr.substring(0, 1) === '{' || attr.substring(0, 1) === '[') { | ||
if (attr.slice(-1) === '}' || attr.slice(-1) === ']') { | ||
return JSON.parse(attr); | ||
@@ -104,0 +104,0 @@ } |
@@ -42,3 +42,3 @@ { | ||
"types": "dist/lemonade.d.ts", | ||
"version": "4.0.6" | ||
"version": "4.0.7" | ||
} |
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
95444