postcss-prefixwrap
Advanced tools
Comparing version 1.35.0 to 1.35.1
@@ -1,3 +0,3 @@ | ||
import { PostCSSRule } from "Types"; | ||
import { PostCSSRule } from "../../Types"; | ||
export declare const prefixWrapCSSRule: (cssRule: PostCSSRule, nested: string | null, ignoredSelectors: (string | RegExp)[], prefixSelector: string, prefixRootTags: boolean) => void; | ||
export declare const prefixWrapCSSSelector: (cssSelector: string, cssRule: PostCSSRule, nested: string | null, ignoredSelectors: (string | RegExp)[], prefixSelector: string, prefixRootTags: boolean) => string | null; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.prefixWrapCSSSelector = exports.prefixWrapCSSRule = void 0; | ||
const CSSSelector_1 = require("internal/domain/CSSSelector"); | ||
const CSSSelector_1 = require("./CSSSelector"); | ||
const prefixWrapCSSRule = (cssRule, nested, ignoredSelectors, prefixSelector, prefixRootTags) => { | ||
@@ -6,0 +6,0 @@ // Check each rule to see if it exactly matches our prefix selector, when |
@@ -1,2 +0,2 @@ | ||
import { PostCSSRule } from "Types"; | ||
import { PostCSSRule } from "../../Types"; | ||
export declare const isValidCSSSelector: (cssSelector: string | null) => boolean; | ||
@@ -3,0 +3,0 @@ export declare const cleanSelector: (cssSelector: string) => string; |
@@ -1,2 +0,2 @@ | ||
import { PostCSS7PostCSS } from "Types"; | ||
export declare const asPostCSSv7PluginGenerator: (postcss: PostCSS7PostCSS) => import("Types").PostCSS8Plugin; | ||
import { PostCSS7PostCSS } from "../Types"; | ||
export declare const asPostCSSv7PluginGenerator: (postcss: PostCSS7PostCSS) => import("../Types").PostCSS8Plugin; |
@@ -27,3 +27,3 @@ "use strict"; | ||
exports.asPostCSSv7PluginGenerator = void 0; | ||
const PostCSSPrefixWrap_1 = __importStar(require("plugin/PostCSSPrefixWrap")); | ||
const PostCSSPrefixWrap_1 = __importStar(require("./PostCSSPrefixWrap")); | ||
const asPostCSSv7PluginGenerator = (postcss) => { | ||
@@ -30,0 +30,0 @@ return postcss.plugin(PostCSSPrefixWrap_1.PLUGIN_NAME, (prefixSelector, options) => { |
@@ -1,4 +0,4 @@ | ||
import { PostCSS7PostCSS, PostCSS8PostCSS, PostCSSAcceptedPlugin } from "Types"; | ||
import { PostCSSPrefixWrapOptions } from "plugin/PostCSSPrefixWrap"; | ||
import { PostCSS7PostCSS, PostCSS8PostCSS, PostCSSAcceptedPlugin } from "../Types"; | ||
import { PostCSSPrefixWrapOptions } from "./PostCSSPrefixWrap"; | ||
export declare const isPostCSSv8: (postcss: PostCSS7PostCSS | PostCSS8PostCSS) => boolean; | ||
export declare const asPostCSSv8PluginGenerator: () => (prefixSelector: string, options?: PostCSSPrefixWrapOptions) => PostCSSAcceptedPlugin; |
@@ -27,3 +27,3 @@ "use strict"; | ||
exports.asPostCSSv8PluginGenerator = exports.isPostCSSv8 = void 0; | ||
const PostCSSPrefixWrap_1 = __importStar(require("plugin/PostCSSPrefixWrap")); | ||
const PostCSSPrefixWrap_1 = __importStar(require("./PostCSSPrefixWrap")); | ||
const isPostCSSv8 = (postcss) => postcss.Root !== undefined; | ||
@@ -30,0 +30,0 @@ exports.isPostCSSv8 = isPostCSSv8; |
@@ -1,3 +0,3 @@ | ||
import { PostCSS7Plugin, PostCSS7PostCSS, PostCSS8Plugin, PostCSS8PostCSS } from "Types"; | ||
import { PostCSS7Plugin, PostCSS7PostCSS, PostCSS8Plugin, PostCSS8PostCSS } from "../Types"; | ||
declare const _default: (postcss: PostCSS7PostCSS | PostCSS8PostCSS) => PostCSS7Plugin | PostCSS8Plugin; | ||
export = _default; |
@@ -1,2 +0,2 @@ | ||
import { PostCSSContainer } from "Types"; | ||
import { PostCSSContainer } from "../Types"; | ||
export declare const PLUGIN_NAME = "postcss-prefixwrap"; | ||
@@ -3,0 +3,0 @@ export interface PostCSSPrefixWrapOptions { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.PLUGIN_NAME = void 0; | ||
const CSSRuleWrapper_1 = require("internal/domain/CSSRuleWrapper"); | ||
const FileIncludeList_1 = require("internal/domain/FileIncludeList"); | ||
const CSSRuleWrapper_1 = require("../internal/domain/CSSRuleWrapper"); | ||
const FileIncludeList_1 = require("../internal/domain/FileIncludeList"); | ||
exports.PLUGIN_NAME = "postcss-prefixwrap"; | ||
@@ -7,0 +7,0 @@ class PostCSSPrefixWrap { |
@@ -7,2 +7,8 @@ # [PostCSS Prefix Wrap](./README.md) // Changelog | ||
## [1.35.1](https://github.com/dbtedman/postcss-prefixwrap/releases/tag/1.35.1) | ||
### 🐛 Bug Fixes | ||
- [#185](https://github.com/dbtedman/postcss-prefixwrap/issues/185) Don't use alias `*` selector as will break imports when used outside of config without it. | ||
## [1.35.0](https://github.com/dbtedman/postcss-prefixwrap/releases/tag/1.35.0) | ||
@@ -9,0 +15,0 @@ |
{ | ||
"name": "postcss-prefixwrap", | ||
"version": "1.35.0", | ||
"version": "1.35.1", | ||
"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.", | ||
@@ -42,2 +42,3 @@ "keywords": [ | ||
"glob": "8.0.3", | ||
"husky": "8.0.1", | ||
"jest": "29.1.2", | ||
@@ -44,0 +45,0 @@ "less": "4.1.3", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
38609
0
25