Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

postcss-prefixwrap

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-prefixwrap - npm Package Compare versions

Comparing version 1.33.0 to 1.34.0

3

build/PostCSSPrefixWrap.js

@@ -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"

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