@restart/hooks
Advanced tools
Comparing version 0.4.3 to 0.4.4
@@ -16,3 +16,3 @@ "use strict"; | ||
if (!query || !targetWindow) return undefined; | ||
var matchers = matchersByWindow.get(window) || new Map(); | ||
var matchers = matchersByWindow.get(targetWindow) || new Map(); | ||
matchersByWindow.set(targetWindow, matchers); | ||
@@ -19,0 +19,0 @@ var mql = matchers.get(query); |
@@ -7,3 +7,3 @@ import useEffect from './useIsomorphicEffect'; | ||
if (!query || !targetWindow) return undefined; | ||
var matchers = matchersByWindow.get(window) || new Map(); | ||
var matchers = matchersByWindow.get(targetWindow) || new Map(); | ||
matchersByWindow.set(targetWindow, matchers); | ||
@@ -10,0 +10,0 @@ var mql = matchers.get(query); |
{ | ||
"name": "@restart/hooks", | ||
"version": "0.4.3", | ||
"version": "0.4.4", | ||
"main": "cjs/index.js", | ||
@@ -5,0 +5,0 @@ "types": "cjs/index.d.ts", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
185066