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 0.1.0 to 0.1.1

CHANGELOG.md

6

index.js

@@ -43,3 +43,3 @@ const path = require('path')

for (const includePath of pluginOptions.includePaths) {
if (filename.indexOf(path.resolve(__dirname, includePath)) === -1) {
if (filename.indexOf(path.resolve(includePath)) === -1) {
return { code };

@@ -52,3 +52,3 @@ }

return { code };
}
}

@@ -90,3 +90,3 @@ const styles = content.match(regex.style);

export default (options) => {
module.exports = (options) => {
for (const option in options) {

@@ -93,0 +93,0 @@ pluginOptions[option] = options[option];

{
"name": "svelte-preprocess-cssmodules",
"version": "0.1.0",
"version": "0.1.1",
"description": "Svelte preprocessor to generate CSS Modules classname on Svelte components",

@@ -27,3 +27,3 @@ "keywords": [

"dependencies": {
"loader-utils": "^1.1.0"
"loader-utils": "^2.0.0"
},

@@ -30,0 +30,0 @@ "peerDependencies": {

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