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

react-media-hook

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-media-hook - npm Package Compare versions

Comparing version 0.4.2 to 0.4.3

3

index.js

@@ -11,2 +11,5 @@ var React = require('react')

function omitMatchMediaResult (matchMediaResult) {
if (!matchMediaResult) {
return null
}
return { media: matchMediaResult.media, matches: matchMediaResult.matches }

@@ -13,0 +16,0 @@ }

4

package.json
{
"name": "react-media-hook",
"version": "0.4.2",
"version": "0.4.3",
"description": "React Hook for media query",

@@ -17,3 +17,3 @@ "scripts": {

],
"limit": "181 B",
"limit": "186 B",
"path": "./index.js"

@@ -20,0 +20,0 @@ }

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