inferred-types 0.51.8 → 0.51.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -4784,7 +4784,7 @@ var isNewsUrl = (val) => {
4784
4784
  // src/runtime/type-guards/date-time/isDateTime.ts
4785
4785
  var isIsoDateTime = (val) => {
4786
4786
  if (isString(val)) {
4787
- return isString(val) && val.includes(":") && val.includes("-") && val.split("-").length === 3 && val.split(":").length > 1 && (!val.includes("Z") || isNumberLike(val.slice(-1)) || val.endsWith("Z")) && (!val.includes("Z") || ["+", "-"].includes(stripUntil(val, "Z").slice(1, 2)) || val.endsWith("Z"));
4787
+ return val.includes(":") && val.includes("-") && val.split("-").length === 3 && val.split(":").length > 1 && (!val.includes("Z") || isNumberLike(val.slice(-1)) || val.endsWith("Z")) && (!val.includes("Z") || ["+", "-"].includes(stripUntil(val, "Z").slice(1, 2)) || val.endsWith("Z"));
4788
4788
  }
4789
4789
  return false;
4790
4790
  };
package/dist/index.js CHANGED
@@ -4171,7 +4171,7 @@ var isNewsUrl = (val) => {
4171
4171
  // src/runtime/type-guards/date-time/isDateTime.ts
4172
4172
  var isIsoDateTime = (val) => {
4173
4173
  if (isString(val)) {
4174
- return isString(val) && val.includes(":") && val.includes("-") && val.split("-").length === 3 && val.split(":").length > 1 && (!val.includes("Z") || isNumberLike(val.slice(-1)) || val.endsWith("Z")) && (!val.includes("Z") || ["+", "-"].includes(stripUntil(val, "Z").slice(1, 2)) || val.endsWith("Z"));
4174
+ return val.includes(":") && val.includes("-") && val.split("-").length === 3 && val.split(":").length > 1 && (!val.includes("Z") || isNumberLike(val.slice(-1)) || val.endsWith("Z")) && (!val.includes("Z") || ["+", "-"].includes(stripUntil(val, "Z").slice(1, 2)) || val.endsWith("Z"));
4175
4175
  }
4176
4176
  return false;
4177
4177
  };