New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

postcss-modules

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-modules - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

7

build/index.js

@@ -69,5 +69,6 @@ 'use strict';

(0, _postcss2.default)([].concat(_toConsumableArray(plugins), [parser.plugin])).process(css, { from: css.source.input.file }).then(function () {
Object.keys(loader.sources).forEach(function (key) {
css.prepend(loader.sources[key]);
});
var out = loader.finalSource;
if (out) {
css.prepend(out);
}

@@ -74,0 +75,0 @@ getJSON(css.source.input.file, parser.exportTokens);

@@ -0,1 +1,4 @@

## 0.5.1
* Fixed sorting for composed dependencies by Josh Johnston (@joshwnj) (https://github.com/css-modules/postcss-modules/issues/38)
## 0.5.0

@@ -2,0 +5,0 @@ * Added `scopeBehaviour` option (https://github.com/css-modules/postcss-modules/issues/22)

{
"name": "postcss-modules",
"version": "0.5.0",
"version": "0.5.1",
"description": "PostCSS plugin to use CSS Modules everywhere",

@@ -5,0 +5,0 @@ "main": "build/index.js",

@@ -128,3 +128,4 @@ # postcss-modules [![Build Status][ci-img]][ci]

Or just pass an interpolated string to the `generateScopedName` option (see webpack's `interpolateName` for more details):
Or just pass an interpolated string to the `generateScopedName` option
(More details [here](https://github.com/webpack/loader-utils#interpolatename)):

@@ -232,2 +233,1 @@ ```js

[FileSystemLoader]: https://github.com/css-modules/css-modules-loader-core/blob/master/src/file-system-loader.js
[webpack's `interpolateName`]: https://github.com/webpack/loader-utils#interpolatename
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