@contember/utilities
Advanced tools
Comparing version 1.2.0-alpha.10 to 1.2.0-alpha.11
function dataAttribute(value) { | ||
if (value === false) { | ||
if (value === false || value === void 0 || value === null) { | ||
return void 0; | ||
@@ -4,0 +4,0 @@ } else if (value === true) { |
function dataAttribute(value) { | ||
if (value === false) { | ||
if (value === false || value === void 0 || value === null) { | ||
return void 0; | ||
@@ -4,0 +4,0 @@ } else if (value === true) { |
{ | ||
"name": "@contember/utilities", | ||
"license": "Apache-2.0", | ||
"version": "1.2.0-alpha.10", | ||
"version": "1.2.0-alpha.11", | ||
"type": "module", | ||
@@ -6,0 +6,0 @@ "sideEffects": false, |
export function dataAttribute(value: unknown): string | true | undefined { | ||
if (value === false) { | ||
if (value === false || value === undefined || value === null) { | ||
return undefined | ||
@@ -4,0 +4,0 @@ } else if (value === true) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
132557