purgecss-webpack-plugin
Advanced tools
Comparing version 4.1.2 to 4.1.3
import { Compilation, Compiler } from "webpack"; | ||
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 ExtractorFunction$0<T = string> = (content: T) => string[]; | ||
interface Extractors$0 { | ||
extensions: string[]; | ||
extractor: ExtractorFunction$0; | ||
extensions: string[]; | ||
extractor: ExtractorFunction$0; | ||
} | ||
@@ -19,31 +19,31 @@ type PathFunction = () => string[]; | ||
interface UserDefinedOptions$0 { | ||
paths: string[] | PathFunction; | ||
defaultExtractor?: ExtractorFunction$0; | ||
extractors?: Array<Extractors$0>; | ||
fontFace?: boolean; | ||
keyframes?: boolean; | ||
moduleExtensions?: string[]; | ||
output?: string; | ||
rejected?: boolean; | ||
stdin?: boolean; | ||
stdout?: boolean; | ||
variables?: boolean; | ||
verbose?: boolean; | ||
safelist?: StringRegExpArray | ComplexSafelist | SafelistFunction; | ||
blocklist?: StringRegExpArray | BlocklistFunction; | ||
skippedContentGlobs?: Array<string>; | ||
dynamicAttributes?: string[]; | ||
only?: string[]; | ||
paths: string[] | PathFunction; | ||
defaultExtractor?: ExtractorFunction$0; | ||
extractors?: Array<Extractors$0>; | ||
fontFace?: boolean; | ||
keyframes?: boolean; | ||
moduleExtensions?: string[]; | ||
output?: string; | ||
rejected?: boolean; | ||
stdin?: boolean; | ||
stdout?: boolean; | ||
variables?: boolean; | ||
verbose?: boolean; | ||
safelist?: StringRegExpArray | ComplexSafelist | SafelistFunction; | ||
blocklist?: StringRegExpArray | BlocklistFunction; | ||
skippedContentGlobs?: Array<string>; | ||
dynamicAttributes?: string[]; | ||
only?: string[]; | ||
} | ||
type PurgedStats = { | ||
[index: string]: string[]; | ||
[index: string]: string[]; | ||
}; | ||
declare class PurgeCSSPlugin { | ||
options: UserDefinedOptions$0; | ||
purgedStats: PurgedStats; | ||
constructor(options: UserDefinedOptions$0); | ||
apply(compiler: Compiler): void; | ||
initializePlugin(compilation: Compilation): void; | ||
runPluginHook(compilation: Compilation, entryPaths: string[]): Promise<void>; | ||
options: UserDefinedOptions$0; | ||
purgedStats: PurgedStats; | ||
constructor(options: UserDefinedOptions$0); | ||
apply(compiler: Compiler): void; | ||
initializePlugin(compilation: Compilation): void; | ||
runPluginHook(compilation: Compilation, entryPaths: string[]): Promise<void>; | ||
} | ||
export { PurgeCSSPlugin as default }; |
import { Compilation, Compiler } from "webpack"; | ||
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 ExtractorFunction$0<T = string> = (content: T) => string[]; | ||
interface Extractors$0 { | ||
extensions: string[]; | ||
extractor: ExtractorFunction$0; | ||
extensions: string[]; | ||
extractor: ExtractorFunction$0; | ||
} | ||
@@ -19,31 +19,31 @@ type PathFunction = () => string[]; | ||
interface UserDefinedOptions$0 { | ||
paths: string[] | PathFunction; | ||
defaultExtractor?: ExtractorFunction$0; | ||
extractors?: Array<Extractors$0>; | ||
fontFace?: boolean; | ||
keyframes?: boolean; | ||
moduleExtensions?: string[]; | ||
output?: string; | ||
rejected?: boolean; | ||
stdin?: boolean; | ||
stdout?: boolean; | ||
variables?: boolean; | ||
verbose?: boolean; | ||
safelist?: StringRegExpArray | ComplexSafelist | SafelistFunction; | ||
blocklist?: StringRegExpArray | BlocklistFunction; | ||
skippedContentGlobs?: Array<string>; | ||
dynamicAttributes?: string[]; | ||
only?: string[]; | ||
paths: string[] | PathFunction; | ||
defaultExtractor?: ExtractorFunction$0; | ||
extractors?: Array<Extractors$0>; | ||
fontFace?: boolean; | ||
keyframes?: boolean; | ||
moduleExtensions?: string[]; | ||
output?: string; | ||
rejected?: boolean; | ||
stdin?: boolean; | ||
stdout?: boolean; | ||
variables?: boolean; | ||
verbose?: boolean; | ||
safelist?: StringRegExpArray | ComplexSafelist | SafelistFunction; | ||
blocklist?: StringRegExpArray | BlocklistFunction; | ||
skippedContentGlobs?: Array<string>; | ||
dynamicAttributes?: string[]; | ||
only?: string[]; | ||
} | ||
type PurgedStats = { | ||
[index: string]: string[]; | ||
[index: string]: string[]; | ||
}; | ||
declare class PurgeCSSPlugin { | ||
options: UserDefinedOptions$0; | ||
purgedStats: PurgedStats; | ||
constructor(options: UserDefinedOptions$0); | ||
apply(compiler: Compiler): void; | ||
initializePlugin(compilation: Compilation): void; | ||
runPluginHook(compilation: Compilation, entryPaths: string[]): Promise<void>; | ||
options: UserDefinedOptions$0; | ||
purgedStats: PurgedStats; | ||
constructor(options: UserDefinedOptions$0); | ||
apply(compiler: Compiler): void; | ||
initializePlugin(compilation: Compilation): void; | ||
runPluginHook(compilation: Compilation, entryPaths: string[]): Promise<void>; | ||
} | ||
export { PurgeCSSPlugin as default }; |
{ | ||
"name": "purgecss-webpack-plugin", | ||
"version": "4.1.2", | ||
"version": "4.1.3", | ||
"description": "PurgeCSS plugin for webpack - Remove unused css", | ||
@@ -39,3 +39,3 @@ "author": "Ffloriel", | ||
"dependencies": { | ||
"purgecss": "^4.1.2", | ||
"purgecss": "^4.1.3", | ||
"webpack": "^5.4.0", | ||
@@ -59,3 +59,3 @@ "webpack-sources": "^3.2.0" | ||
}, | ||
"gitHead": "1329d96b0ad17e9b2b4d604d1a689856da176a59" | ||
"gitHead": "37e5053a446880d12fd2f55abfc362c3dac9c49c" | ||
} |
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
12627
Updatedpurgecss@^4.1.3