postcss-prefixwrap
Advanced tools
Comparing version 1.43.0 to 1.44.0
@@ -8,2 +8,9 @@ "use strict"; | ||
class PostCSSPrefixWrap { | ||
blacklist; | ||
ignoredSelectors; | ||
isPrefixSelector; | ||
prefixRootTags; | ||
prefixSelector; | ||
whitelist; | ||
nested; | ||
constructor(prefixSelector, options = {}) { | ||
@@ -10,0 +17,0 @@ this.blacklist = options.blacklist ?? []; |
@@ -7,2 +7,16 @@ # [PostCSS Prefix Wrap](./README.md) // Changelog | ||
## [1.44.0](https://github.com/dbtedman/postcss-prefixwrap/releases/tag/1.44.0) | ||
### 💡 Features and Improvements | ||
- Rethink testing strategy. | ||
- Add PNPM support to Dependabot. | ||
- Add Semgrep SAST. | ||
### 🔧 Maintenance | ||
- Drop support for unmaintained NodeJS versions according to [Release Schedule (nodejs.org)](https://nodejs.org/en/about/previous-releases). | ||
- Drop support for postcss v7 in test cases as it includes vulnerabilities that won't be fixed. | ||
- Apply dependency updates. | ||
## [1.43.0](https://github.com/dbtedman/postcss-prefixwrap/releases/tag/1.43.0) | ||
@@ -9,0 +23,0 @@ |
@@ -52,8 +52,2 @@ # [PostCSS Prefix Wrap](./README.md) // Contributing | ||
Our test suite contains the following kinds of tests: | ||
- **Unit** - Does each unit of code perform its intended purpose, and do we handle potential error cases correctly. | ||
- **Integration** - Can our plugin be loaded into PostCSS and then executed correctly. | ||
- **Acceptance** - Does our plugin perform the correct operations based on provided configuration. | ||
## Publishing | ||
@@ -60,0 +54,0 @@ |
{ | ||
"name": "postcss-prefixwrap", | ||
"version": "1.43.0", | ||
"version": "1.44.0", | ||
"description": "A PostCSS plugin that is used to wrap css styles with a css selector to constrain their affect on parent elements in a page.", | ||
@@ -30,21 +30,23 @@ "keywords": [ | ||
"devDependencies": { | ||
"@babel/core": "7.23.3", | ||
"@babel/core": "7.23.7", | ||
"@jest/globals": "29.7.0", | ||
"@types/jest": "29.5.10", | ||
"@types/node": "20.10.0", | ||
"@typescript-eslint/eslint-plugin": "6.12.0", | ||
"@typescript-eslint/parser": "6.12.0", | ||
"eslint": "8.54.0", | ||
"eslint-config-prettier": "9.0.0", | ||
"@tsconfig/node18": "18.2.2", | ||
"@types/jest": "29.5.11", | ||
"@types/node": "20.10.8", | ||
"@typescript-eslint/eslint-plugin": "6.18.1", | ||
"@typescript-eslint/parser": "6.18.1", | ||
"eslint": "8.56.0", | ||
"eslint-config-prettier": "9.1.0", | ||
"eslint-import-resolver-typescript": "3.6.1", | ||
"eslint-plugin-import": "2.29.0", | ||
"eslint-plugin-jest": "27.6.0", | ||
"eslint-plugin-import": "2.29.1", | ||
"eslint-plugin-jest": "27.6.2", | ||
"eslint-plugin-jsx-a11y": "6.8.0", | ||
"eslint-plugin-promise": "6.1.1", | ||
"eslint-plugin-security-node": "1.1.1", | ||
"eslint-plugin-security-node": "1.1.4", | ||
"eslint-plugin-unused-imports": "3.0.0", | ||
"glob": "10.3.10", | ||
"husky": "8.0.3", | ||
"jest": "29.7.0", | ||
"postcss": "8.4.31", | ||
"postcss7": "npm:postcss@7.0.36", | ||
"prettier": "3.1.0", | ||
"postcss": "8.4.33", | ||
"prettier": "3.1.1", | ||
"sort-package-json": "2.6.0", | ||
@@ -54,4 +56,4 @@ "source-map": "0.7.4", | ||
"ts-jest": "29.1.1", | ||
"ts-node": "10.9.1", | ||
"typescript": "5.3.2" | ||
"ts-node": "10.9.2", | ||
"typescript": "5.3.3" | ||
}, | ||
@@ -64,6 +66,6 @@ "peerDependencies": { | ||
"clean": "node automation-clean.js", | ||
"format": "sort-package-json && prettier . --write && pnpm eslint --fix . --ext .js,.ts", | ||
"lint": "sort-package-json --check && prettier . --check && pnpm eslint . --ext .js,.ts", | ||
"format": "sort-package-json && prettier . --write && eslint --fix . --ext .js,.ts", | ||
"lint": "sort-package-json --check && prettier . --check && eslint . --ext .js,.ts", | ||
"test": "jest" | ||
} | ||
} |
@@ -11,7 +11,9 @@ # [PostCSS Prefix Wrap](https://github.com/dbtedman/postcss-prefixwrap) | ||
| Supports | Versions | | ||
| :------- | :--------------------------------------- | | ||
| NodeJS | `v16`, `v17`, `v18`, `v19`, `v20`, `v21` | | ||
| PostCSS | `v7`, `v8` | | ||
| Supports | Versions | | ||
| :------- | :------------------------- | | ||
| NodeJS | `v18`, `v19`, `v20`, `v21` | | ||
| PostCSS | `v7`, `v8` | | ||
> ⚠️ PostCSS v7 support is no longer validated in automated test cases, and will be removed entirely in a future release. | ||
- [How to use this plugin?](#how-to-use-this-plugin) | ||
@@ -18,0 +20,0 @@ - [What options does it have?](#what-options-does-it-have) |
@@ -9,3 +9,3 @@ # [PostCSS Prefix Wrap](./README.md) // Security | ||
- [Dependency Vulnerability Scanning](#dependency-vulnerability-scanning) | ||
- [Dependency Vulnerability and Code Scanning](#dependency-vulnerability-and-code-scanning) | ||
- [Security Disclosure Policy](#security-disclosure-policy) | ||
@@ -16,3 +16,3 @@ - [Security Update Policy](#security-update-policy) | ||
## Dependency Vulnerability Scanning | ||
## Dependency Vulnerability and Code Scanning | ||
@@ -24,2 +24,3 @@ - [GitHub code scanning](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning) via [CodeQL](https://codeql.github.com) and [Snyk](https://snyk.io) | ||
- [OSV Scanning](https://osv.dev/) | ||
- [Semgrep](https://semgrep.dev) | ||
- [Snyk code analysis](https://snyk.io/product/snyk-code/) | ||
@@ -26,0 +27,0 @@ - [Snyk dependency scanning](https://snyk.io/product/open-source-security-management/) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43567
312
212
27