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

js-media-query

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-media-query - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

package.json
{
"name": "js-media-query",
"version": "1.0.2",
"version": "1.0.3",
"description": "CSS Media query in js",

@@ -5,0 +5,0 @@ "source": "src/index.ts",

@@ -25,7 +25,7 @@ # CSS Media query in JS

```javascript
import Media from "./Media";
import Media from "js-media-query";
```
```javascript
import { up, sm, md } from "./Media";
import { up, sm, md } from "js-media-query";
```

@@ -77,3 +77,3 @@

```javascript
import { min } from "./Media";
import { min } from "js-media-query";

@@ -92,3 +92,3 @@ window.addEventListener("resize", () => {

```javascript
import Media from "./Media";
import Media from "js-media-query";

@@ -103,3 +103,3 @@ if (Media.sm()) {

```javascript
import { Media } from "./Media";
import { Media } from "js-media-query";

@@ -122,3 +122,3 @@ const media = new Media({

```javascript
import { Media } from "./Media";
import { Media } from "js-media-query";

@@ -125,0 +125,0 @@ const media = new Media();

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