Socket
Socket
Sign inDemoInstall

media-query-fns

Package Overview
Dependencies
3
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.1 to 1.3.2

2

_dist/cjs/matches.js

@@ -83,3 +83,3 @@ "use strict";

}
if (!(Number.isInteger(env.dppx) && env.dppx >= 0)) {
if (env.dppx <= 0) {
throw badInput("dppx");

@@ -86,0 +86,0 @@ }

@@ -80,3 +80,3 @@ export const DESKTOP_ENVIRONMENT = {

}
if (!(Number.isInteger(env.dppx) && env.dppx >= 0)) {
if (env.dppx <= 0) {
throw badInput("dppx");

@@ -83,0 +83,0 @@ }

{
"name": "media-query-fns",
"description": "Useful functions for working with CSS media queries in JS/TS",
"version": "1.3.1",
"version": "1.3.2",
"main": "_dist/cjs/index.js",

@@ -17,2 +17,3 @@ "module": "_dist/esm/index.js",

"build": "node ./_scripts/build.js",
"web": "node ./_scripts/web.js",
"test": "jest",

@@ -19,0 +20,0 @@ "coverage": "jest --coverage",

@@ -8,2 +8,4 @@ # `media-query-fns`

![](screen.gif)
Functions to read media queries from a string/ast and:

@@ -10,0 +12,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc