media-query-fns
Advanced tools
Comparing version 1.3.1 to 1.3.2
@@ -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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
74
0
561674