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.1 to 4.0.0-rc.2

6

CHANGELOG.md

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

## [4.0.0-rc.2](https://github.com/postcss-modules-local-by-default/compare/v4.0.0-rc.1...v4.0.0-rc.2) - 2020-09-22
### Fixes
- avoid using `postcss` directly to create decls and rules
## [4.0.0-rc.1](https://github.com/postcss-modules-local-by-default/compare/v4.0.0-rc.0...v4.0.0-rc.1) - 2020-09-22

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

10

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

@@ -16,8 +16,7 @@ "main": "src/index.js",

"lint": "yarn eslint && yarn prettier",
"pretest": "yarn lint",
"test": "jest",
"test:only": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage --collectCoverageFrom=\"src/**/*\"",
"test:ci": "yarn pretest && yarn cover",
"pretest": "yarn lint",
"test": "yarn test:coverage",
"prepublishOnly": "yarn test"

@@ -41,4 +40,7 @@ },

"devDependencies": {
"coveralls": "^3.1.0",
"eslint": "^7.9.0",
"husky": "^4.3.0",
"jest": "^26.4.2",
"lint-staged": "^10.4.0",
"postcss": "^8.0.7",

@@ -45,0 +47,0 @@ "prettier": "^2.1.2"

4

README.md

@@ -68,6 +68,2 @@ # CSS Modules: Values

### Justification
See [this PR](https://github.com/css-modules/css-modules-loader-core/pull/28) for more background
## License

@@ -74,0 +70,0 @@

"use strict";
const postcss = require("postcss");
const ICSSUtils = require("icss-utils");

@@ -82,3 +81,3 @@

},
RootExit(root) {
RootExit(root, postcss) {
/* We want to export anything defined by now, but don't add it to the CSS yet or it well get picked up by the replacement stuff */

@@ -85,0 +84,0 @@ const exportDeclarations = Object.keys(definitions).map((key) =>

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