Comparing version 0.3.2 to 0.4.0
@@ -119,3 +119,3 @@ const ESCAPE = /[&"<]/g, CHARS = { | ||
function esc(value) { | ||
if (typeof value !== 'string') return value; | ||
value = (value == null) ? '' : '' + value; | ||
let last=ESCAPE.lastIndex=0, tmp=0, out=''; | ||
@@ -122,0 +122,0 @@ while (ESCAPE.test(value)) { |
@@ -15,3 +15,3 @@ export type Args = Record<string, any>; | ||
export function esc<T=unknown>(value: T): T|string; | ||
export function esc(value: string|unknown): string; | ||
export function transform(input: string, options?: Options & { format?: 'esm' | 'cjs' }): string; | ||
@@ -18,0 +18,0 @@ |
{ | ||
"name": "tempura", | ||
"version": "0.3.2", | ||
"version": "0.4.0", | ||
"repository": "lukeed/tempura", | ||
@@ -5,0 +5,0 @@ "description": "A light, crispy, and delicious template engine", |
Sorry, the diff of this file is not supported yet
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
23015