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

svelte-preprocess-cssmodules

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svelte-preprocess-cssmodules - npm Package Compare versions

Comparing version 2.2.2 to 2.2.3

13

dist/parsers/template.js

@@ -28,3 +28,5 @@ "use strict";

(_a = node.children) === null || _a === void 0 ? void 0 : _a.forEach((childNode) => {
if (childNode.type === 'InlineComponent') {
if (childNode.type === 'InlineComponent' ||
childNode.type === 'EachBlock' ||
childNode.type === 'KeyBlock') {
addDynamicVariablesToElements(processor, childNode, cssVar);

@@ -48,2 +50,11 @@ }

}
else if (childNode.type === 'IfBlock') {
addDynamicVariablesToElements(processor, childNode, cssVar);
addDynamicVariablesToElements(processor, childNode.else, cssVar);
}
else if (childNode.type === 'AwaitBlock') {
addDynamicVariablesToElements(processor, childNode.pending, cssVar);
addDynamicVariablesToElements(processor, childNode.then, cssVar);
addDynamicVariablesToElements(processor, childNode.catch, cssVar);
}
});

@@ -50,0 +61,0 @@ };

2

package.json
{
"name": "svelte-preprocess-cssmodules",
"version": "2.2.2",
"version": "2.2.3",
"description": "Svelte preprocessor to generate CSS Modules classname on Svelte components",

@@ -5,0 +5,0 @@ "keywords": [

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