@lod/react-screen-media
Advanced tools
Comparing version 1.0.0-beta2 to 1.0.0
@@ -18,2 +18,8 @@ import { Resolution } from '../constants/resolution'; | ||
/** | ||
* Clears the pixel ratio | ||
*/ | ||
export var clearPixelRatio = function () { | ||
_pixelRatio = -1; | ||
}; | ||
/** | ||
* Determines the pixel ratio from a query | ||
@@ -20,0 +26,0 @@ * |
{ | ||
"name": "@lod/react-screen-media", | ||
"version": "1.0.0-beta2", | ||
"version": "1.0.0", | ||
"description": "Handles showing media based on device display and media queries", | ||
"main": "dist/index.js", | ||
"scripts": { | ||
"build": "npm run lint && tsc --declaration index.d.ts", | ||
"build": "npm run lint && tsc", | ||
"lint": "tslint -p tsconfig.json -c tslint.json", | ||
@@ -9,0 +9,0 @@ "test": "jest --coverage" |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
12270
18
137
0