@miyauci/isx
Advanced tools
Comparing version 1.2.0-beta.1 to 1.2.0
@@ -5,3 +5,3 @@ // Copyright 2023-latest Tomoki Miyauchi. All rights reserved. MIT license. | ||
const iterator = input[Symbol.iterator](); | ||
return !iterator.next().done && (iterator.next().done ?? false); | ||
return !iterator.next().done && !!iterator.next().done; | ||
} |
{ | ||
"name": "@miyauci/isx", | ||
"version": "1.2.0-beta.1", | ||
"version": "1.2.0", | ||
"description": "Collection of validation functions for JavaScript data", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -8,4 +8,4 @@ "use strict"; | ||
const iterator = input[Symbol.iterator](); | ||
return !iterator.next().done && (iterator.next().done ?? false); | ||
return !iterator.next().done && !!iterator.next().done; | ||
} | ||
exports.isSingle = isSingle; |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
75984