@ribajs/utils
Advanced tools
Comparing version 1.8.0 to 1.9.0-alpha.0
{ | ||
"name": "@ribajs/utils", | ||
"description": "Utils module of Riba.js", | ||
"version": "1.8.0", | ||
"version": "1.9.0-alpha.0", | ||
"author": "Pascal Garber <pascal@artandcode.studio>", | ||
@@ -41,2 +41,2 @@ "contributors": [ | ||
"directories": {} | ||
} | ||
} |
@@ -170,2 +170,8 @@ | ||
export const stripHtml = (html: string) => { | ||
const tmp = document.createElement("DIV"); | ||
tmp.innerHTML = html; | ||
return tmp.textContent || tmp.innerText || ""; | ||
}; | ||
/** | ||
@@ -172,0 +178,0 @@ * Returns a camel-cased version of the string. Used when translating an |
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
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
17687
602
1