Socket
Socket
Sign inDemoInstall

postcss-modules-scope

Package Overview
Dependencies
Maintainers
4
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-modules-scope - npm Package Compare versions

Comparing version 3.0.0-rc.0 to 3.0.0-rc.1

12

CHANGELOG.md

@@ -6,6 +6,12 @@ # Change Log

## [3.0.0-rc.0] - 2020-09-21
## [3.0.0-rc.1](https://github.com/postcss-modules-local-by-default/compare/v3.0.0-rc.0...v3.0.0-rc.1) - 2020-09-22
### BREAKING CHANGE
- do not handle invalid syntax
## [3.0.0-rc.0](https://github.com/postcss-modules-local-by-default/compare/v2.2.0...v3.0.0-rc.0) - 2020-09-21
### BREAKING CHANGE
- minimum supported `Node.js` version is `>= 10.13.0 || >= 12.13.0 || >= 14`

@@ -15,7 +21,7 @@ - minimum supported `postcss` version is `^8.0.3`

## [2.2.0] - 2020-03-19
## 2.2.0 - 2020-03-19
- added the `exportGlobals` option to export global classes and ids
## [2.1.1] - 2019-03-05
## 2.1.1 - 2019-03-05

@@ -22,0 +28,0 @@ ### Fixed

{
"name": "postcss-modules-scope",
"version": "3.0.0-rc.0",
"version": "3.0.0-rc.1",
"description": "A CSS Modules transform to extract export statements from local-scope classes",

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

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

@@ -43,6 +43,8 @@ },

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

@@ -49,0 +51,0 @@ },

@@ -80,4 +80,3 @@ # CSS Modules: Scope Locals & Extend

[![Build Status](https://travis-ci.org/css-modules/postcss-modules-scope.svg?branch=master)](https://travis-ci.org/css-modules/postcss-modules-scope)
- Status: [![Build Status](https://travis-ci.org/css-modules/postcss-modules-scope.svg?branch=master)](https://travis-ci.org/css-modules/postcss-modules-scope)
- Lines: [![Coverage Status](https://coveralls.io/repos/css-modules/postcss-modules-scope/badge.svg?branch=master)](https://coveralls.io/r/css-modules/postcss-modules-scope?branch=master)

@@ -88,3 +87,3 @@ - Statements: [![codecov.io](http://codecov.io/github/css-modules/postcss-modules-scope/coverage.svg?branch=master)](http://codecov.io/github/css-modules/postcss-modules-scope?branch=master)

- `npm autotest` will watch `src` and `test` for changes and run the tests, and transpile the ES6 to ES5 on success
- `npm test:watch` will watch `src` and `test` for changes and run the tests

@@ -91,0 +90,0 @@ ## License

@@ -201,11 +201,2 @@ "use strict";

root.walkRules((rule) => {
if (
rule.nodes &&
rule.selector.slice(0, 2) === "--" &&
rule.selector.slice(-1) === ":"
) {
// ignore custom property set
return;
}
let parsedSelector = selectorParser().astSync(rule);

@@ -212,0 +203,0 @@

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