Comparing version 0.5.4 to 0.6.0
{ | ||
"name": "abl-utils", | ||
"title": "ABL - utils", | ||
"version": "0.5.4", | ||
"version": "0.6.0", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "description": "description", |
@@ -31,2 +31,6 @@ "use strict"; | ||
export function getRandomElementFromArray(array = []) { | ||
return array[Math.floor(Math.random() * array.length)]; | ||
} | ||
export function tpl(template, data) { | ||
@@ -33,0 +37,0 @@ return template.replace(/(\$\{([^\{\}]+)\})/g, ($0, $1, $2) => getObject($2, data)); |
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
18280
462