Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@spectrum-web-components/reactive-controllers

Package Overview
Dependencies
Maintainers
7
Versions
161
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spectrum-web-components/reactive-controllers - npm Package Compare versions

Comparing version 0.37.0 to 0.38.0

4

package.json
{
"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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc