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
6
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 4.2.4 to 4.2.5

8

package.json
{
"name": "@stylable/dom-test-kit",
"version": "4.2.4",
"version": "4.2.5",
"description": "Stylable DOM testing utilities",

@@ -8,7 +8,7 @@ "main": "dist/index.js",

"test": "mocha \"./dist/test/**/*.spec.js\"",
"start": "webpack serve"
"start": "mocha-play ./dist/test/**/*.spec.js -c ./webpack.config.js -w"
},
"dependencies": {
"@stylable/core": "^4.2.4",
"@stylable/runtime": "^4.2.4"
"@stylable/core": "^4.2.5",
"@stylable/runtime": "^4.2.5"
},

@@ -15,0 +15,0 @@ "files": [

@@ -21,8 +21,10 @@ # @stylable/dom-test-kit

import { StylableDOMUtil } from '@stylable/dom-test-kit';
import style from './my-component.st.css';
import * as stylesheet from './my-component.st.css';
const domUtil = new StylableDOMUtil(style, document.body);
const domUtil = new StylableDOMUtil(stylesheet, document.body);
const partElement = domUtil.select('.part');
domUtil.hasStyleState(partElement, 'loading');
if (partElement) {
domUtil.hasStyleState(partElement, 'loading');
}
```

@@ -29,0 +31,0 @@

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