You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

svelte-preprocess-cssmodules

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svelte-preprocess-cssmodules - npm Package Versions

134

2.1.1

Diff
m
micantoine
published 2.1.1 •

Changelog

Source

2.1.1 (Oct 27, 2021)

  • Fix readme
m
micantoine
published 2.1.0 •

Changelog

Source

2.1.0 (Oct 20, 2021)

Features

  • SvelteKit support
  • useAsDefaultScoping option
  • parseExternalStylesheet option

Breaking changes

  • Rename option allowedAttributes to includeAttributes
  • External cssModules stylesheets are not being processed automatically.
m
micantoine
published 2.1.0-rc.2 •

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)
m
micantoine
published 2.1.0-rc.1 •

Changelog

Source

2.1.0-rc.1 (Oct 6, 2021)

  • Add ESM distribution
m
micantoine
published 2.0.2 •

Changelog

Source

2.0.2 (May 26, 2021)

  • Fix Readme
m
micantoine
published 2.0.1 •

Changelog

Source

2.0.1 (May 6, 2021)

  • Fix shorthand directive breaking regular directive
m
micantoine
published 2.0.0 •

Changelog

Source

2.0.0 (May 1, 2021)

New public release

m
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
m
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
m
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