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.1.1 to 2.1.2

4

CHANGELOG.md
# Svelte preprocess CSS Modules, changelog
## 2.1.2 (Jan 8, 2021)
- Fix multiline class attribute [issue 39](https://github.com/micantoine/svelte-preprocess-cssmodules/issues/39)
## 2.1.1 (Oct 27, 2021)

@@ -4,0 +8,0 @@

5

dist/parsers/template.js

@@ -8,4 +8,5 @@ "use strict";

let value = currentValue;
if (currentValue in processor.cssModuleList) {
value = processor.cssModuleList[currentValue.trim()];
const rawValue = value.trim();
if (rawValue in processor.cssModuleList) {
value = value.replace(rawValue, processor.cssModuleList[rawValue]);
}

@@ -12,0 +13,0 @@ if (currentIndex < classes.length - 1) {

{
"name": "svelte-preprocess-cssmodules",
"version": "2.1.1",
"version": "2.1.2",
"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