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

use-media

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

use-media - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

7

CHANGELOG.md

@@ -0,1 +1,8 @@

# [1.1.0](https://github.com/streamich/use-media/compare/v1.0.0...v1.1.0) (2019-02-10)
### Features
* add default export ([4849348](https://github.com/streamich/use-media/commit/4849348))
# 1.0.0 (2019-02-09)

@@ -2,0 +9,0 @@

2

lib/index.d.ts

@@ -5,2 +5,2 @@ declare type MediaQueryObject = {

export declare const useMedia: (rawQuery: string | MediaQueryObject, defaultState?: boolean) => boolean;
export {};
export default useMedia;

@@ -42,1 +42,2 @@ "use strict";

};
exports.default = exports.useMedia;
{
"name": "use-media",
"version": "1.0.0",
"version": "1.1.0",
"description": "useMedia React hook",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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