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

@stylable/core

Package Overview
Dependencies
Maintainers
6
Versions
218
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stylable/core - npm Package Compare versions

Comparing version 3.7.0 to 3.7.2

1

cjs/stylable-processor.d.ts

@@ -69,2 +69,3 @@ import postcss from 'postcss';

mixins?: RefedMixin[];
stScopeSelector?: string;
}

@@ -71,0 +72,0 @@ export interface DeclStylableProps {

6

cjs/stylable-processor.js

@@ -155,6 +155,8 @@ "use strict";

atRule.walkRules((rule) => {
rule.replaceWith(rule.clone({
const scopedRule = rule.clone({
selector: stylable_utils_1.scopeSelector(scopingRule.selector, rule.selector, false)
.selector,
}));
});
scopedRule.stScopeSelector = atRule.params;
rule.replaceWith(scopedRule);
});

@@ -161,0 +163,0 @@ }

{
"name": "@stylable/core",
"version": "3.7.0",
"version": "3.7.2",
"description": "CSS for Components",

@@ -5,0 +5,0 @@ "main": "./cjs/index.js",

@@ -184,8 +184,8 @@ import hash from 'murmurhash';

atRule.walkRules((rule) => {
rule.replaceWith(
rule.clone({
selector: scopeSelector(scopingRule.selector, rule.selector, false)
.selector,
})
);
const scopedRule = rule.clone({
selector: scopeSelector(scopingRule.selector, rule.selector, false)
.selector,
});
(scopedRule as SRule).stScopeSelector = atRule.params;
rule.replaceWith(scopedRule);
});

@@ -796,2 +796,3 @@ }

mixins?: RefedMixin[];
stScopeSelector?: string;
}

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