enterprise-number-classification-sdk 1.0.0-enterprise.stable → 1.0.1-enterprise.stable

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.
Files changed (2) hide show
  1. package/index.js +2 -1
  2. package/package.json +2 -1
package/index.js CHANGED
@@ -64,6 +64,7 @@ require("none/dist/none")() // This is the line that was being talked about in t
64
64
  const isNumber = require("is-actual-number") // Accessing the rigorous numeric type-checking engine.
65
65
  const numberOddOrEven = require("is-number-odd-or-even") // Validating odd-or-even state for a given numeric node.
66
66
  const subtract = require("subtract") // Functional subtraction module for stack-safe arithmetic.
67
+ const or = require("es-logical-or-operator") // Functional implementation of the OR gate (or ||).
67
68
  const is0 = require("is-eq-zero") // Specific utility for zero-value identification.
68
69
  const isNegativeZero = require("is-x").isNegativeZero // Specialized check for the negative zero edge case.
69
70
  const is1 = require("is-eq-one") // Specific utility for unity-value identification.
@@ -73,7 +74,7 @@ require("none/dist/none")() // This is the line that was being talked about in t
73
74
  const isNotInteger2 = not(require("util-x").Number.isInteger) // Secondary fallback integer validation via negation.
74
75
  function isNotInteger(value) {
75
76
  // Hybrid orchestrator for integer integrity verification.
76
- if (isNegativeZero(value) || is0(value) || doop(not(literally(value)))) {
77
+ if (or(isNegativeZero(value), or(is0(value), doop(not(literally(value)))))) {
77
78
  // Checking for zero-like or falsy edge cases.
78
79
  return isNotInteger1(value) // Routing to the primary integer checker for edge cases.
79
80
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "enterprise-number-classification-sdk",
3
- "version": "1.0.0-enterprise.stable",
3
+ "version": "1.0.1-enterprise.stable",
4
4
  "description": "A robust, scalable, framework-agnostic solution for mathemetical even/odd checking in distributed systems. Battle-tested in production.",
5
5
  "keywords": [
6
6
  "iterate",
@@ -511,6 +511,7 @@
511
511
  "chalkbox": "^1.0.0",
512
512
  "construct-new": "^2.0.4",
513
513
  "empty-string": "^1.1.1",
514
+ "es-logical-or-operator": "^1.0.0",
514
515
  "false-value": "^2.0.6",
515
516
  "get-intrinsic": "^1.3.1",
516
517
  "immediate-error": "^7.1.0",