New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

postcss-prefixwrap

Package Overview
Dependencies
Maintainers
1
Versions
77
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.13.2 to 1.14.0

1

build/Hash.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class Hash {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
static value(hash, key, defaultValue = null) {

@@ -5,0 +6,0 @@ if (Object.prototype.hasOwnProperty.call(hash, key)) {

@@ -22,2 +22,3 @@ "use strict";

return postcss_1.default.plugin(PostCSSPrefixWrap_1.PLUGIN_NAME,
// eslint-disable-next-line @typescript-eslint/ban-ts-ignore
// @ts-ignore

@@ -24,0 +25,0 @@ (prefixSelector, options) => {

@@ -13,2 +13,3 @@ "use strict";

this.ignoredSelectors = Hash_1.default.value(options, "ignoredSelectors", []);
// eslint-disable-next-line security-node/non-literal-reg-expr
this.isPrefixSelector = new RegExp(`^s*${prefixSelector}.*$`);

@@ -15,0 +16,0 @@ this.prefixRootTags = Hash_1.default.value(options, "prefixRootTags", false);

@@ -48,2 +48,3 @@ "use strict";

selector: selector,
// eslint-disable-next-line @typescript-eslint/ban-ts-ignore
// @ts-ignore

@@ -61,2 +62,3 @@ parent: parent,

assert_1.default.strictEqual(
// eslint-disable-next-line @typescript-eslint/ban-ts-ignore
// @ts-ignore

@@ -67,4 +69,6 @@ plugin.includeRule({

assert_1.default.strictEqual(plugin.includeRule({
// eslint-disable-next-line @typescript-eslint/ban-ts-ignore
// @ts-ignore
source: {
// eslint-disable-next-line @typescript-eslint/ban-ts-ignore
// @ts-ignore

@@ -82,2 +86,3 @@ input: {

assert_1.default.strictEqual(
// eslint-disable-next-line @typescript-eslint/ban-ts-ignore
// @ts-ignore

@@ -88,4 +93,6 @@ plugin.includeRule({

assert_1.default.strictEqual(plugin.includeRule({
// eslint-disable-next-line @typescript-eslint/ban-ts-ignore
// @ts-ignore
source: {
// eslint-disable-next-line @typescript-eslint/ban-ts-ignore
// @ts-ignore

@@ -92,0 +99,0 @@ input: {

@@ -5,2 +5,12 @@ # [PostCSS Prefix Wrap](./README.md) / Changelog

## [1.14.0](https://github.com/dbtedman/postcss-prefixwrap/releases/tag/1.14.0)
### Features and Improvements
- [ESLint](https://eslint.org/) support to improve code quality
### Bug Fixes
- Dependency updates
## [1.13.2](https://github.com/dbtedman/postcss-prefixwrap/releases/tag/1.13.2)

@@ -7,0 +17,0 @@

2

LICENSE.md
MIT License
Copyright © 2019 [Daniel Tedman](https://danieltedman.com/)
Copyright © 2020 [Daniel Tedman](https://danieltedman.com/)

@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy

{
"name": "postcss-prefixwrap",
"version": "1.13.2",
"version": "1.14.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,4 +30,4 @@ "license": "MIT",

"clean": "rm -rf ./build/",
"format": "prettier './**/*.{md,yml,yaml,json,ts,js}' --write",
"lint": "prettier './**/*.{md,yml,yaml,json,ts,js}' --check",
"format": "prettier './**/*.{md,yml,yaml,json,ts,js}' --write && yarn eslint --fix . --ext .js,.ts",
"lint": "prettier './**/*.{md,yml,yaml,json,ts,js}' --check && yarn eslint . --ext .js,.ts",
"test": "jest --coverage"

@@ -39,13 +39,21 @@ },

"devDependencies": {
"@types/jest": "25.1.4",
"@types/node": "13.7.4",
"@types/jest": "25.2.1",
"@types/node": "13.13.0",
"@typescript-eslint/eslint-plugin": "2.28.0",
"@typescript-eslint/parser": "2.28.0",
"codecov": "3.6.5",
"husky": "4.2.3",
"jest": "25.1.0",
"eslint": "6.8.0",
"eslint-config-prettier": "6.10.1",
"eslint-plugin-import": "2.20.2",
"eslint-plugin-jest": "23.8.2",
"eslint-plugin-promise": "4.2.1",
"eslint-plugin-security-node": "1.0.12",
"husky": "4.2.5",
"jest": "25.3.0",
"postcss": "7.0.21",
"prettier": "2.0.2",
"ts-jest": "25.2.1",
"ts-node": "8.8.1",
"prettier": "2.0.4",
"ts-jest": "25.4.0",
"ts-node": "8.8.2",
"typescript": "3.8.3"
}
}
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