Socket
Socket
Sign inDemoInstall

css-loader

Package Overview
Dependencies
92
Maintainers
3
Versions
151
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1
57
16Next

3.4.2

Diff

Changelog

Source

3.4.2 (2020-01-10)

Bug Fixes

  • do not duplicate css on composes (#1040) (df79602)
evilebottnawi
published 3.4.1 •

Changelog

Source

3.4.1 (2020-01-03)

Bug Fixes

  • do not output undefined when sourceRoot is unavailable (#1036) (ded2a79)
  • don't output invalid es5 code when locals do not exists (#1035) (b60e62a)
evilebottnawi
published 3.4.0 •

Changelog

Source

3.4.0 (2019-12-17)

Features

Bug Fixes

  • logic for order and media queries for imports (#1018) (65450d9)
evilebottnawi
published 3.3.2 •

Changelog

Source

3.3.2 (2019-12-12)

Bug Fixes

  • logic for order and media queries for imports (1fb5134)
evilebottnawi
published 3.3.1 •

Changelog

Source

3.3.1 (2019-12-12)

Bug Fixes

  • better handling url functions and an url in @import at-rules
  • reduce count of require (#1014) (e091d27)
evilebottnawi
published 3.3.0 •

Changelog

Source

3.3.0 (2019-12-09)

Features

Bug Fixes

evilebottnawi
published 3.2.1 •

Changelog

Source

3.2.1 (2019-12-02)

Bug Fixes

  • add an additional space after the escape sequence (#998) (0961304)
  • compatibility with ES modules syntax and hash in url function (#1001) (8f4d6f5)
evilebottnawi
published 3.2.0 •

Changelog

Source

3.2.0 (2019-08-06)

Bug Fixes

  • replace . characters in localIndent to - character (regression) (#982) (967fb66)

Features

evilebottnawi
published 3.1.0 •

Changelog

Source

3.1.0 (2019-07-18)

Bug Fixes

  • converting all (including reserved and control) filesystem characters to - (it was regression in 3.0.0 version) (#972) (f51859b)
  • default context should be undefined instead of null (#965) (9c32885)

Features

  • allow modules.getLocalIdent to return a falsy value (#963) (9c3571c)
  • improved validation error messages (65e4fc0)
evilebottnawi
published 3.0.0 •

Changelog

Source

3.0.0 (2019-06-11)

Bug Fixes

  • avoid the "from" argument must be of type string error (#908) (e5dfd23)
  • invert Function behavior for url and import options (#939) (e9eb5ad)
  • properly export locals with escaped characters (#917) (a0efcda)
  • property handle non css characters in localIdentName (#920) (d3a0a3c)

Features

  • modules options now accepts object config (#937) (1d7a464)
  • support @value at-rule in selectors (#941) (05a42e2)

BREAKING CHANGES

  • minimum required nodejs version is 8.9.0
  • @value at rules now support in selector, recommends checking all @values at-rule usage (hint: you can add prefix to all @value at-rules, for example @value v-foo: black; or @value m-foo: screen and (max-width: 12450px), and then do upgrade)
  • invert {Function} behavior for url and import options (need return true when you want handle url/@import and return false if not)
  • camelCase option was remove in favor localsConvention option, also it is accept only {String} value (use camelCase value if you previously value was true and asIs if you previously value was false)
  • exportOnlyLocals option was remove in favor onlyLocals option
  • modules option now can be {Object} and allow to setup CSS Modules options:
    • localIdentName option was removed in favor modules.localIdentName option
    • context option was remove in favor modules.context option
    • hashPrefix option was removed in favor modules.hashPrefix option
    • getLocalIdent option was removed in favor modules.getLocalIdent option
    • localIdentRegExp option was removed in favor modules.localIdentRegExp option

<a name="2.1.1"></a>

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc