@fullhuman/postcss-purgecss
Advanced tools
Comparing version 4.0.0 to 4.0.1
import * as postcss from "postcss"; | ||
type StringRegExpArray = Array<RegExp | string>; | ||
type ComplexSafelist = { | ||
standard?: StringRegExpArray; | ||
deep?: RegExp[]; | ||
greedy?: RegExp[]; | ||
variables?: StringRegExpArray; | ||
keyframes?: StringRegExpArray; | ||
standard?: StringRegExpArray; | ||
deep?: RegExp[]; | ||
greedy?: RegExp[]; | ||
variables?: StringRegExpArray; | ||
keyframes?: StringRegExpArray; | ||
}; | ||
type UserDefinedSafelist = StringRegExpArray | ComplexSafelist; | ||
interface RawContent$0<T = string> { | ||
extension: string; | ||
raw: T; | ||
extension: string; | ||
raw: T; | ||
} | ||
type ExtractorFunction$0<T = string> = (content: T) => string[]; | ||
interface Extractors$0 { | ||
extensions: string[]; | ||
extractor: ExtractorFunction$0; | ||
extensions: string[]; | ||
extractor: ExtractorFunction$0; | ||
} | ||
interface UserDefinedOptions$0 { | ||
content?: Array<string | RawContent$0>; | ||
contentFunction?: (sourceFile: string) => Array<string | RawContent$0>; | ||
defaultExtractor?: ExtractorFunction$0; | ||
extractors?: Array<Extractors$0>; | ||
fontFace?: boolean; | ||
keyframes?: boolean; | ||
output?: string; | ||
rejected?: boolean; | ||
stdin?: boolean; | ||
stdout?: boolean; | ||
variables?: boolean; | ||
safelist?: UserDefinedSafelist; | ||
blocklist?: StringRegExpArray; | ||
content?: Array<string | RawContent$0>; | ||
contentFunction?: (sourceFile: string) => Array<string | RawContent$0>; | ||
defaultExtractor?: ExtractorFunction$0; | ||
extractors?: Array<Extractors$0>; | ||
fontFace?: boolean; | ||
keyframes?: boolean; | ||
output?: string; | ||
rejected?: boolean; | ||
stdin?: boolean; | ||
stdout?: boolean; | ||
variables?: boolean; | ||
safelist?: UserDefinedSafelist; | ||
blocklist?: StringRegExpArray; | ||
} | ||
declare const purgeCSSPlugin: postcss.PluginCreator<UserDefinedOptions$0>; | ||
export { purgeCSSPlugin as default }; |
import * as postcss from "postcss"; | ||
type StringRegExpArray = Array<RegExp | string>; | ||
type ComplexSafelist = { | ||
standard?: StringRegExpArray; | ||
deep?: RegExp[]; | ||
greedy?: RegExp[]; | ||
variables?: StringRegExpArray; | ||
keyframes?: StringRegExpArray; | ||
standard?: StringRegExpArray; | ||
deep?: RegExp[]; | ||
greedy?: RegExp[]; | ||
variables?: StringRegExpArray; | ||
keyframes?: StringRegExpArray; | ||
}; | ||
type UserDefinedSafelist = StringRegExpArray | ComplexSafelist; | ||
interface RawContent$0<T = string> { | ||
extension: string; | ||
raw: T; | ||
extension: string; | ||
raw: T; | ||
} | ||
type ExtractorFunction$0<T = string> = (content: T) => string[]; | ||
interface Extractors$0 { | ||
extensions: string[]; | ||
extractor: ExtractorFunction$0; | ||
extensions: string[]; | ||
extractor: ExtractorFunction$0; | ||
} | ||
interface UserDefinedOptions$0 { | ||
content?: Array<string | RawContent$0>; | ||
contentFunction?: (sourceFile: string) => Array<string | RawContent$0>; | ||
defaultExtractor?: ExtractorFunction$0; | ||
extractors?: Array<Extractors$0>; | ||
fontFace?: boolean; | ||
keyframes?: boolean; | ||
output?: string; | ||
rejected?: boolean; | ||
stdin?: boolean; | ||
stdout?: boolean; | ||
variables?: boolean; | ||
safelist?: UserDefinedSafelist; | ||
blocklist?: StringRegExpArray; | ||
content?: Array<string | RawContent$0>; | ||
contentFunction?: (sourceFile: string) => Array<string | RawContent$0>; | ||
defaultExtractor?: ExtractorFunction$0; | ||
extractors?: Array<Extractors$0>; | ||
fontFace?: boolean; | ||
keyframes?: boolean; | ||
output?: string; | ||
rejected?: boolean; | ||
stdin?: boolean; | ||
stdout?: boolean; | ||
variables?: boolean; | ||
safelist?: UserDefinedSafelist; | ||
blocklist?: StringRegExpArray; | ||
} | ||
declare const purgeCSSPlugin: postcss.PluginCreator<UserDefinedOptions$0>; | ||
export { purgeCSSPlugin as default }; |
{ | ||
"name": "@fullhuman/postcss-purgecss", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "PostCSS plugin for PurgeCSS", | ||
@@ -29,3 +29,3 @@ "author": "FoundrySH <no-reply@foundry.sh>", | ||
"dependencies": { | ||
"purgecss": "^4.0.0" | ||
"purgecss": "^4.0.1" | ||
}, | ||
@@ -38,3 +38,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "96703445aff78ac147b95b43f57aadaad6520fa2" | ||
"gitHead": "61a9f5345fe4c5aa9ea3fd7a8706d9492260274c" | ||
} |
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
10475
Updatedpurgecss@^4.0.1