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

simple-style-loader

Package Overview
Dependencies
Maintainers
4
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-style-loader - npm Package Compare versions

Comparing version 0.3.0 to 0.4.0

12

addStyles.js

@@ -28,3 +28,3 @@ define(function (require, exports, module) {/*

function clear (playerId) {
function clear (playerId, selector) {
var playerStyles = stylesInDom[playerId];

@@ -34,2 +34,12 @@ if (!playerStyles) {

}
if (selector) {
// delete all rules for a specific selector
var ruleObj = playerStyles[selector];
if (ruleObj) {
for (var h = 0; h < ruleObj.parts.length; h += 1) {
ruleObj.parts[h]();
}
}
return;
}
var styleKeys = Object.keys(playerStyles);

@@ -36,0 +46,0 @@ for (var i = 0; i < styleKeys.length; i += 1) {

2

package.json
{
"name": "simple-style-loader",
"version": "0.3.0",
"version": "0.4.0",
"description": "simplified style loader module for webpack based on style-loader by Tobias Koppers @sokra",

@@ -5,0 +5,0 @@ "scripts": {},

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