svelte-common 6.7.1 → 6.7.2

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/package.json +1 -1
  2. package/src/filter.mjs +1 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svelte-common",
3
- "version": "6.7.1",
3
+ "version": "6.7.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
package/src/filter.mjs CHANGED
@@ -48,10 +48,7 @@ function allOp(value, against, op) {
48
48
 
49
49
  case "bigint":
50
50
  case "number":
51
- if (value[Symbol.toPrimitive]) {
52
- return allOp(value[Symbol.toPrimitive]("number"), against, op);
53
- }
54
- break;
51
+ return allOp(value[Symbol.toPrimitive]("number"), against, op);
55
52
 
56
53
  case "string":
57
54
  if (value instanceof Date) {
@@ -145,7 +142,6 @@ function allOp(value, against, op) {
145
142
  return value == against;
146
143
  }
147
144
 
148
- console.log("C", value, against);
149
145
  return false;
150
146
  }
151
147