shelving 1.219.0 → 1.219.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shelving",
3
- "version": "1.219.0",
3
+ "version": "1.219.1",
4
4
  "author": "Dave Houlbrooke <dave@shax.com>",
5
5
  "repository": {
6
6
  "type": "git",
package/util/equal.js CHANGED
@@ -121,7 +121,7 @@ export function isArrayWith(left, right) {
121
121
  }
122
122
  /** Is unknown value `left` not an array or does not include `right`? */
123
123
  export function notArrayWith(left, right) {
124
- return !notArrayWith(left, right);
124
+ return !isArrayWith(left, right);
125
125
  }
126
126
  /**
127
127
  * Are two objects equal based on their own props?
package/util/number.js CHANGED
@@ -26,7 +26,7 @@ export function getNumber(value) {
26
26
  if (typeof value === "string")
27
27
  return getNumber(Number.parseFloat(value.replace(NOT_NUMERIC_REGEXP, "")));
28
28
  if (value instanceof Date)
29
- getNumber(value.getTime());
29
+ return getNumber(value.getTime());
30
30
  }
31
31
  const NOT_NUMERIC_REGEXP = /[^0-9-.]/g;
32
32
  /**