Socket
Socket
Sign inDemoInstall

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 Versions

13

2.1.0-rc.2

Diff

Changelog

Source

2.1.0-rc.2 (Oct 7, 2021)

Features

  • Add option useAsDefaultScoping to enable cssModules globally without the need of the module attribute

Breaking changes

  • Rename option allowedAttributes to includeAttributes
  • Add option parseExternalStylesheet to manually enable the parsing of imported stylesheets (no more enabled by default)
micantoine
published 2.1.0-rc.1 •

Changelog

Source

2.1.0-rc.1 (Oct 6, 2021)

  • Add ESM distribution
micantoine
published 2.0.2 •

Changelog

Source

2.0.2 (May 26, 2021)

  • Fix Readme
micantoine
published 2.0.1 •

Changelog

Source

2.0.1 (May 6, 2021)

  • Fix shorthand directive breaking regular directive
micantoine
published 2.0.0 •

Changelog

Source

2.0.0 (May 1, 2021)

New public release

micantoine
published 2.0.0-rc.3 •

Changelog

Source

2.0.0-rc.3 (April 20, 2021)

Features

  • Add :local() selector

Fixes

  • Fix native parsing
micantoine
published 2.0.0-rc.2 •

Changelog

Source

2.0.0-rc.2 (April 16, 2021)

Features

  • Add option hashSeeder to customize the source of the hashing method
  • Add option allowedAttributes to parse other attributes than class

Fixes

  • Replace class attribute on HTML elements and inline components
  • Fix external import on native & mixed mode when <style> already exists
  • Shorthand directive
micantoine
published 2.0.0-rc.1 •

Changelog

Source

2.0.0-rc.1 (April 11, 2021)

New main release of the preprocessor including

  • Drop of the prefixes $style. & $. issue #13
  • Introduction of three mode native, mixed, scoped (default being native following cssModules philosophy)
  • Requirement of the module attribute on the <style> tag to preprocess the component
  • Option to locally change the preprocessing mode per component by setting a value to the module attribute
  • External stylesheets' imports following the convention .module.css
  • No more IDE unused CSS selector warning issue #5
micantoine
published 1.3.2 •

Changelog

Source

1.3.2 (Jan 4, 2021)

Fix attempting import from node_modules packages issue #10 - pull request #11

micantoine
published 1.3.1 •

Changelog

Source

1.3.1 (Nov 22, 2020)

Add support for old version of nodes (node 8 & node 10 tested)

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