Socket
Socket
Sign inDemoInstall

postcss-modules-values

Package Overview
Dependencies
5
Maintainers
4
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.0-rc.4 to 4.0.0-rc.5

6

CHANGELOG.md

@@ -6,2 +6,8 @@ # Change Log

## [4.0.0-rc.5](https://github.com/postcss-modules-local-by-default/compare/v4.0.0-rc.4...v4.0.0-rc.5) - 2020-11-08
### Fixes
- compatibility with other plugins
## [4.0.0-rc.4](https://github.com/postcss-modules-local-by-default/compare/v4.0.0-rc.3...v4.0.0-rc.4) - 2020-10-08

@@ -8,0 +14,0 @@

3

package.json
{
"name": "postcss-modules-values",
"version": "4.0.0-rc.4",
"version": "4.0.0-rc.5",
"description": "PostCSS plugin for CSS Modules to pass arbitrary values between your module files",

@@ -41,2 +41,3 @@ "main": "src/index.js",

"eslint": "^7.10.0",
"eslint-config-prettier": "^6.12.0",
"husky": "^4.3.0",

@@ -43,0 +44,0 @@ "jest": "^26.5.2",

@@ -11,3 +11,3 @@ "use strict";

let importIndex = 0;
let createImportedName =
const createImportedName =
(options && options.createImportedName) ||

@@ -24,4 +24,4 @@ ((importName /*, path*/) =>

return {
AtRule: {
value(atRule) {
OnceExit(root, postcss) {
root.walkAtRules(/value/i, (atRule) => {
const matches = atRule.params.match(matchImports);

@@ -72,3 +72,2 @@

result.warn("Invalid value definition: " + atRule.params);
atRule.remove();

@@ -92,5 +91,4 @@

atRule.remove();
},
},
OnceExit(root, postcss) {
});
/* If we have no definitions, don't continue */

@@ -97,0 +95,0 @@ if (!Object.keys(definitions).length) {

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