@spectrum-web-components/reactive-controllers
Advanced tools
Comparing version 0.37.0 to 0.38.0
{ | ||
"name": "@spectrum-web-components/reactive-controllers", | ||
"version": "0.37.0", | ||
"version": "0.38.0", | ||
"publishConfig": { | ||
@@ -82,3 +82,3 @@ "access": "public" | ||
], | ||
"gitHead": "d771f62f0d8063070af43283bb0fd5e3400bad06" | ||
"gitHead": "9a099b7543672f2fd4030833ab813b16c2cad62e" | ||
} |
@@ -5,4 +5,4 @@ "use strict"; | ||
import { ElementResolutionController } from "@spectrum-web-components/reactive-controllers/src/ElementResolution.js"; | ||
describe("Match Media", () => { | ||
it("responds to media changes", async () => { | ||
describe("Element Resolution", () => { | ||
it("responds to DOM changes", async () => { | ||
class TestEl extends LitElement { | ||
@@ -9,0 +9,0 @@ } |
@@ -20,5 +20,8 @@ "use strict"; | ||
); | ||
await nextFrame(); | ||
await nextFrame(); | ||
expect(controller.matches).to.be.true; | ||
await setViewport({ width: 360, height: 640 }); | ||
await nextFrame(); | ||
await nextFrame(); | ||
expect(controller.matches).to.be.false; | ||
@@ -25,0 +28,0 @@ }); |
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
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
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
179685
1164
1