es-toolkit 1.15.1-dev.423 → 1.15.1-dev.424

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.
@@ -30,8 +30,7 @@ const float32ArrayTag = '[object Float32Array]';
30
30
  const float64ArrayTag = '[object Float64Array]';
31
31
 
32
32
  function getSymbols(object) {
33
- return Object.getOwnPropertySymbols(object)
34
- .filter(symbol => object.propertyIsEnumerable(symbol));
33
+ return Object.getOwnPropertySymbols(object).filter(symbol => object.propertyIsEnumerable(symbol));
35
34
  }
36
35
 
37
36
  function getTag(value) {
@@ -85,7 +84,7 @@ function areObjectsEqual(a, b, stack) {
85
84
  case numberTag: {
86
85
  const x = a.valueOf();
87
86
  const y = b.valueOf();
88
- return x === y || Number.isNaN(x) && Number.isNaN(y);
87
+ return x === y || (Number.isNaN(x) && Number.isNaN(y));
89
88
  }
90
89
  case booleanTag:
91
90
  case dateTag:
@@ -178,8 +177,7 @@ function areObjectsEqual(a, b, stack) {
178
177
  return a.name === b.name && a.message === b.message;
179
178
  }
180
179
  case objectTag: {
181
- const areEqualInstances = areObjectsEqual(a.constructor, b.constructor, stack) ||
182
- (isTypedArray.isPlainObject(a) && isTypedArray.isPlainObject(b));
180
+ const areEqualInstances = areObjectsEqual(a.constructor, b.constructor, stack) || (isTypedArray.isPlainObject(a) && isTypedArray.isPlainObject(b));
183
181
  if (!areEqualInstances) {
184
182
  return false;
185
183
  }