Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@restart/hooks

Package Overview
Dependencies
Maintainers
3
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@restart/hooks - npm Package Compare versions

Comparing version 0.4.3 to 0.4.4

2

cjs/useMediaQuery.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc