js-media-query
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"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(); |
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
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
73006
0