@solidjs/router 0.14.6 → 0.14.7

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.
@@ -14,6 +14,9 @@ export function useSubmissions(fn, filter) {
14
14
  if (property === "pending")
15
15
  return subs().some(sub => !sub.result);
16
16
  return subs()[property];
17
+ },
18
+ has(_, property) {
19
+ return property in subs();
17
20
  }
18
21
  });
19
22
  }
package/dist/index.js CHANGED
@@ -1057,6 +1057,9 @@ function useSubmissions(fn, filter) {
1057
1057
  if (property === $TRACK) return subs();
1058
1058
  if (property === "pending") return subs().some(sub => !sub.result);
1059
1059
  return subs()[property];
1060
+ },
1061
+ has(_, property) {
1062
+ return property in subs();
1060
1063
  }
1061
1064
  });
1062
1065
  }
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "Ryan Turnquist"
7
7
  ],
8
8
  "license": "MIT",
9
- "version": "0.14.6",
9
+ "version": "0.14.7",
10
10
  "homepage": "https://github.com/solidjs/solid-router#readme",
11
11
  "repository": {
12
12
  "type": "git",