postcss-prefixwrap
Advanced tools
Comparing version 1.33.0 to 1.34.0
@@ -14,4 +14,5 @@ "use strict"; | ||
this.ignoredSelectors = (_b = options.ignoredSelectors) !== null && _b !== void 0 ? _b : []; | ||
const escapedPrefixSelector = prefixSelector.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"); | ||
// eslint-disable-next-line security-node/non-literal-reg-expr | ||
this.isPrefixSelector = new RegExp(`^${prefixSelector}$`); | ||
this.isPrefixSelector = new RegExp(`^${escapedPrefixSelector}$`); | ||
this.prefixRootTags = (_c = options.prefixRootTags) !== null && _c !== void 0 ? _c : false; | ||
@@ -18,0 +19,0 @@ this.prefixSelector = prefixSelector; |
@@ -7,2 +7,13 @@ # [PostCSS Prefix Wrap](./README.md) // Changelog | ||
## [1.34.0](https://github.com/dbtedman/postcss-prefixwrap/releases/tag/1.34.0) | ||
### 💡 Features and Improvements | ||
- [#180](https://github.com/dbtedman/postcss-prefixwrap/pull/180) Escape prefixSelector | ||
### 🔧 Maintenance | ||
- Dependency Updates | ||
- Revised SAST Configuration | ||
## [1.33.0](https://github.com/dbtedman/postcss-prefixwrap/releases/tag/1.33.0) | ||
@@ -9,0 +20,0 @@ |
{ | ||
"name": "postcss-prefixwrap", | ||
"version": "1.33.0", | ||
"version": "1.34.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.", | ||
@@ -31,10 +31,10 @@ "keywords": [ | ||
"@babel/core": "7.18.10", | ||
"@types/jest": "28.1.6", | ||
"@types/node": "18.6.3", | ||
"@typescript-eslint/eslint-plugin": "5.32.0", | ||
"@typescript-eslint/parser": "5.32.0", | ||
"eslint": "8.21.0", | ||
"@types/jest": "28.1.7", | ||
"@types/node": "18.7.6", | ||
"@typescript-eslint/eslint-plugin": "5.33.1", | ||
"@typescript-eslint/parser": "5.33.1", | ||
"eslint": "8.22.0", | ||
"eslint-config-prettier": "8.5.0", | ||
"eslint-plugin-import": "2.26.0", | ||
"eslint-plugin-jest": "26.7.0", | ||
"eslint-plugin-jest": "26.8.3", | ||
"eslint-plugin-promise": "6.0.0", | ||
@@ -45,3 +45,3 @@ "eslint-plugin-security-node": "1.1.1", | ||
"less": "4.1.3", | ||
"postcss": "8.4.14", | ||
"postcss": "8.4.16", | ||
"postcss-nested": "5.0.6", | ||
@@ -53,3 +53,3 @@ "postcss7": "npm:postcss@7.0.34", | ||
"source-map-js": "1.0.2", | ||
"ts-jest": "28.0.7", | ||
"ts-jest": "28.0.8", | ||
"ts-node": "10.9.1", | ||
@@ -56,0 +56,0 @@ "typescript": "4.7.4" |
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
35212
243