lemonadejs
Advanced tools
Comparing version 4.0.0-beta.6 to 4.0.1
/** | ||
* LemonadeJS v4.0.0 (ESM build) | ||
* LemonadeJS v4.0.1 (ESM build) | ||
* | ||
@@ -387,8 +387,6 @@ * Website: https://lemonadejs.net | ||
} else { | ||
let index = 0; | ||
let cast = false; | ||
let result; | ||
// Replace string | ||
v = o.v.replace(isScript, function(a, b) { | ||
// How many replacements | ||
index++; | ||
// Try to find the property | ||
@@ -407,8 +405,10 @@ result = extractFromPath.call(o.s, b); | ||
} | ||
// Parse correct type | ||
if (typeof(result) !== 'string' && a === o.v) { | ||
cast = true; | ||
} | ||
// Return | ||
return result; | ||
}); | ||
// Parse correct type | ||
if (typeof(result) !== 'string' && index === 1) { | ||
if (cast === true) { | ||
v = result; | ||
@@ -415,0 +415,0 @@ } |
/** | ||
* LemonadeJS v4.0.0 | ||
* LemonadeJS v4.0.1 | ||
* | ||
@@ -392,8 +392,6 @@ * Website: https://lemonadejs.net | ||
} else { | ||
let index = 0; | ||
let cast = false; | ||
let result; | ||
// Replace string | ||
v = o.v.replace(isScript, function(a, b) { | ||
// How many replacements | ||
index++; | ||
// Try to find the property | ||
@@ -412,8 +410,10 @@ result = extractFromPath.call(o.s, b); | ||
} | ||
// Parse correct type | ||
if (typeof(result) !== 'string' && a === o.v) { | ||
cast = true; | ||
} | ||
// Return | ||
return result; | ||
}); | ||
// Parse correct type | ||
if (typeof(result) !== 'string' && index === 1) { | ||
if (cast === true) { | ||
v = result; | ||
@@ -420,0 +420,0 @@ } |
@@ -42,3 +42,3 @@ { | ||
"types": "dist/lemonade.d.ts", | ||
"version": "4.0.0-beta.6" | ||
"version": "4.0.1" | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
93412
2211
1