@internationalized/date
Advanced tools
Comparing version 3.0.0-nightly.3168 to 3.0.0-nightly.3173
{ | ||
"name": "@internationalized/date", | ||
"version": "3.0.0-nightly.3168+2fabc1ac0", | ||
"version": "3.0.0-nightly.3173+fe4148bea", | ||
"description": "Internationalized calendar and date manipulation utilities", | ||
@@ -25,3 +25,3 @@ "license": "Apache-2.0", | ||
}, | ||
"gitHead": "2fabc1ac07aa6fd75e7111e571e27787d8a44314" | ||
"gitHead": "fe4148beaf7f63a1ea486aecc139747a666f8c3a" | ||
} |
@@ -240,3 +240,7 @@ /* | ||
export function minDate<A extends DateValue, B extends DateValue>(a: A, b: B): A | B { | ||
return a.compare(b) <= 0 ? a : b; | ||
if (a && b) { | ||
return a.compare(b) <= 0 ? a : b; | ||
} | ||
return a || b; | ||
} | ||
@@ -246,3 +250,7 @@ | ||
export function maxDate<A extends DateValue, B extends DateValue>(a: A, b: B): A | B { | ||
return a.compare(b) >= 0 ? a : b; | ||
if (a && b) { | ||
return a.compare(b) >= 0 ? a : b; | ||
} | ||
return a || b; | ||
} | ||
@@ -249,0 +257,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
788466
7857