New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@stylable/dom-test-kit

Package Overview
Dependencies
Maintainers
5
Versions
220
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stylable/dom-test-kit - npm Package Compare versions

Comparing version 2.1.5-alpha.1 to 2.1.5-alpha.2

3

cjs/stylable-dom-util.d.ts
import { RuntimeStylesheet, StateValue } from '@stylable/runtime';
import { CommonStylesheet } from './legacy-types';
export interface PartialElement {

@@ -24,3 +25,3 @@ querySelector: Element['querySelector'];

private internal;
constructor(stylesheet: RuntimeStylesheet, root?: Element | undefined);
constructor(stylesheet: CommonStylesheet, root?: Element | undefined);
select(selector?: string, element?: PartialElement): Element | null;

@@ -27,0 +28,0 @@ selectAll(selector?: string, element?: PartialElement): Element[] | null;

{
"name": "@stylable/dom-test-kit",
"version": "2.1.5-alpha.1",
"version": "2.1.5-alpha.2",
"description": "Stylable DOM testing utilities",

@@ -32,3 +32,3 @@ "main": "./cjs/index.js",

"license": "BSD-3-Clause",
"gitHead": "7b98ed2f112e0d38a407d8bb00aef01ddf4e6163"
"gitHead": "6371b1f432ad027eb087364ad5656fe016b6f211"
}

@@ -9,3 +9,3 @@ import {

import { RuntimeStylesheet, StateValue } from '@stylable/runtime';
import { getStylesheetMode } from './legacy-types';
import { CommonStylesheet, getStylesheetMode } from './legacy-types';
import { StylableDOMUtilLegacy } from './stylable-dom-util-legacy';

@@ -118,3 +118,3 @@

private internal: any;
constructor(private stylesheet: RuntimeStylesheet, private root?: Element) {
constructor(private stylesheet: CommonStylesheet, private root?: Element) {
const mode = getStylesheetMode(stylesheet);

@@ -130,3 +130,3 @@

} else {
this.internal = new StylableDOMUtil(this.stylesheet, this.root);
this.internal = new StylableDOMUtil(this.stylesheet as RuntimeStylesheet, this.root);
}

@@ -133,0 +133,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