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

@types/clean-css

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/clean-css - npm Package Compare versions

Comparing version 4.2.4 to 4.2.5

204

clean-css/index.d.ts

@@ -21,3 +21,3 @@ // Type definitions for clean-css 4.2

*/
compatibility?: "*" | "ie9" | "ie8" | "ie7" | CleanCSS.CompatibilityOptions;
compatibility?: "*" | "ie9" | "ie8" | "ie7" | CleanCSS.CompatibilityOptions | undefined;

@@ -27,3 +27,3 @@ /**

*/
fetch?: (uri: string, inlineRequest: HttpRequestOptions | HttpsRequestOptions, inlineTimeout: number, done: (message: string | number, body: string) => void) => void;
fetch?: ((uri: string, inlineRequest: HttpRequestOptions | HttpsRequestOptions, inlineTimeout: number, done: (message: string | number, body: string) => void) => void) | undefined;

@@ -34,3 +34,3 @@ /**

*/
format?: "beautify" | "keep-breaks" | CleanCSS.FormatOptions | false;
format?: "beautify" | "keep-breaks" | CleanCSS.FormatOptions | false | undefined;

@@ -47,3 +47,3 @@ /**

*/
inline?: ReadonlyArray<string> | false;
inline?: ReadonlyArray<string> | false | undefined;

@@ -53,3 +53,3 @@ /**

*/
inlineRequest?: HttpRequestOptions | HttpsRequestOptions;
inlineRequest?: HttpRequestOptions | HttpsRequestOptions | undefined;

@@ -59,3 +59,3 @@ /**

*/
inlineTimeout?: number;
inlineTimeout?: number | undefined;

@@ -66,3 +66,3 @@ /**

*/
level?: 0 | 1 | 2 | CleanCSS.OptimizationsOptions;
level?: 0 | 1 | 2 | CleanCSS.OptimizationsOptions | undefined;

@@ -72,3 +72,3 @@ /**

*/
rebase?: boolean;
rebase?: boolean | undefined;

@@ -79,3 +79,3 @@ /**

*/
rebaseTo?: string;
rebaseTo?: string | undefined;

@@ -85,3 +85,3 @@ /**

*/
sourceMap?: boolean;
sourceMap?: boolean | undefined;

@@ -91,3 +91,3 @@ /**

*/
sourceMapInlineSources?: boolean;
sourceMapInlineSources?: boolean | undefined;
}

@@ -157,4 +157,4 @@

*/
opacity?: boolean;
};
opacity?: boolean | undefined;
} | undefined;
/**

@@ -167,3 +167,3 @@ * A hash of properties that can be set with compatibility

*/
backgroundClipMerging?: boolean;
backgroundClipMerging?: boolean | undefined;

@@ -173,3 +173,3 @@ /**

*/
backgroundOriginMerging?: boolean;
backgroundOriginMerging?: boolean | undefined;

@@ -179,3 +179,3 @@ /**

*/
backgroundSizeMerging?: boolean;
backgroundSizeMerging?: boolean | undefined;

@@ -185,3 +185,3 @@ /**

*/
colors?: boolean,
colors?: boolean | undefined,

@@ -191,3 +191,3 @@ /**

*/
ieBangHack?: boolean;
ieBangHack?: boolean | undefined;

@@ -197,3 +197,3 @@ /**

*/
ieFilters?: boolean;
ieFilters?: boolean | undefined;

@@ -203,3 +203,3 @@ /**

*/
iePrefixHack?: boolean;
iePrefixHack?: boolean | undefined;

@@ -209,3 +209,3 @@ /**

*/
ieSuffixHack?: boolean;
ieSuffixHack?: boolean | undefined;

@@ -215,3 +215,3 @@ /**

*/
merging?: boolean;
merging?: boolean | undefined;

@@ -221,3 +221,3 @@ /**

*/
shorterLengthUnits?: false;
shorterLengthUnits?: false | undefined;

@@ -227,3 +227,3 @@ /**

*/
spaceAfterClosingBrace?: true;
spaceAfterClosingBrace?: true | undefined;

@@ -233,3 +233,3 @@ /**

*/
urlQuotes?: boolean;
urlQuotes?: boolean | undefined;

@@ -239,4 +239,4 @@ /**

*/
zeroUnits?: boolean;
};
zeroUnits?: boolean | undefined;
} | undefined;
/**

@@ -249,3 +249,3 @@ * A hash of options related to compatibility of selectors

*/
adjacentSpace?: boolean;
adjacentSpace?: boolean | undefined;

@@ -255,3 +255,3 @@ /**

*/
ie7Hack?: boolean;
ie7Hack?: boolean | undefined;

@@ -261,3 +261,3 @@ /**

*/
mergeablePseudoClasses?: ReadonlyArray<string>;
mergeablePseudoClasses?: ReadonlyArray<string> | undefined;

@@ -278,3 +278,3 @@ /**

multiplePseudoMerging: boolean;
};
} | undefined;
/**

@@ -287,3 +287,3 @@ * A hash of options related to comparability of supported units

*/
ch?: boolean;
ch?: boolean | undefined;

@@ -293,3 +293,3 @@ /**

*/
in?: boolean;
in?: boolean | undefined;

@@ -299,3 +299,3 @@ /**

*/
pc?: boolean;
pc?: boolean | undefined;

@@ -305,3 +305,3 @@ /**

*/
pt?: boolean;
pt?: boolean | undefined;

@@ -311,3 +311,3 @@ /**

*/
rem?: boolean;
rem?: boolean | undefined;

@@ -317,3 +317,3 @@ /**

*/
vh?: boolean;
vh?: boolean | undefined;

@@ -323,3 +323,3 @@ /**

*/
vm?: boolean;
vm?: boolean | undefined;

@@ -329,3 +329,3 @@ /**

*/
vmax?: boolean;
vmax?: boolean | undefined;

@@ -335,4 +335,4 @@ /**

*/
vmin?: boolean;
};
vmin?: boolean | undefined;
} | undefined;
}

@@ -351,3 +351,3 @@

*/
afterAtRule?: boolean;
afterAtRule?: boolean | undefined;

@@ -357,3 +357,3 @@ /**

*/
afterBlockBegins?: boolean;
afterBlockBegins?: boolean | undefined;

@@ -363,3 +363,3 @@ /**

*/
afterBlockEnds?: boolean;
afterBlockEnds?: boolean | undefined;

@@ -369,3 +369,3 @@ /**

*/
afterComment?: boolean;
afterComment?: boolean | undefined;

@@ -375,3 +375,3 @@ /**

*/
afterProperty?: boolean;
afterProperty?: boolean | undefined;

@@ -381,3 +381,3 @@ /**

*/
afterRuleBegins?: boolean;
afterRuleBegins?: boolean | undefined;

@@ -387,3 +387,3 @@ /**

*/
afterRuleEnds?: boolean;
afterRuleEnds?: boolean | undefined;

@@ -393,3 +393,3 @@ /**

*/
beforeBlockEnds?: boolean;
beforeBlockEnds?: boolean | undefined;

@@ -399,4 +399,4 @@ /**

*/
betweenSelectors?: boolean;
};
betweenSelectors?: boolean | undefined;
} | undefined;
/**

@@ -406,3 +406,3 @@ * Controls the new line character, can be `'\r\n'` or `'\n'`(aliased as `'windows'` and `'unix'`

*/
breakWith?: string;
breakWith?: string | undefined;

@@ -412,3 +412,3 @@ /**

*/
indentBy?: number;
indentBy?: number | undefined;

@@ -418,3 +418,3 @@ /**

*/
indentWith?: "space" | "tab";
indentWith?: "space" | "tab" | undefined;

@@ -428,3 +428,3 @@ /**

*/
aroundSelectorRelation?: boolean;
aroundSelectorRelation?: boolean | undefined;

@@ -434,3 +434,3 @@ /**

*/
beforeBlockBegins?: boolean;
beforeBlockBegins?: boolean | undefined;

@@ -440,8 +440,8 @@ /**

*/
beforeValue?: boolean;
};
beforeValue?: boolean | undefined;
} | undefined;
/**
* Controls maximum line length; defaults to `false`
*/
wrapAt?: false | number;
wrapAt?: false | number | undefined;

@@ -451,3 +451,3 @@ /**

*/
semicolonAfterLastProperty?: boolean;
semicolonAfterLastProperty?: boolean | undefined;
}

@@ -463,3 +463,3 @@

*/
all?: boolean;
all?: boolean | undefined;

@@ -469,3 +469,3 @@ /**

*/
cleanupCharsets?: boolean;
cleanupCharsets?: boolean | undefined;

@@ -475,3 +475,3 @@ /**

*/
normalizeUrls?: boolean;
normalizeUrls?: boolean | undefined;

@@ -481,3 +481,3 @@ /**

*/
optimizeBackground?: boolean;
optimizeBackground?: boolean | undefined;

@@ -487,3 +487,3 @@ /**

*/
optimizeBorderRadius?: boolean;
optimizeBorderRadius?: boolean | undefined;

@@ -493,3 +493,3 @@ /**

*/
optimizeFilter?: boolean;
optimizeFilter?: boolean | undefined;

@@ -499,3 +499,3 @@ /**

*/
optimizeFont?: boolean;
optimizeFont?: boolean | undefined;

@@ -505,3 +505,3 @@ /**

*/
optimizeFontWeight?: boolean;
optimizeFontWeight?: boolean | undefined;

@@ -511,3 +511,3 @@ /**

*/
optimizeOutline?: boolean;
optimizeOutline?: boolean | undefined;

@@ -517,3 +517,3 @@ /**

*/
removeEmpty?: boolean;
removeEmpty?: boolean | undefined;

@@ -523,3 +523,3 @@ /**

*/
removeNegativePaddings?: boolean;
removeNegativePaddings?: boolean | undefined;

@@ -529,3 +529,3 @@ /**

*/
removeQuotes?: boolean;
removeQuotes?: boolean | undefined;

@@ -535,3 +535,3 @@ /**

*/
removeWhitespace?: boolean;
removeWhitespace?: boolean | undefined;

@@ -541,3 +541,3 @@ /**

*/
replaceMultipleZeros?: boolean;
replaceMultipleZeros?: boolean | undefined;

@@ -547,3 +547,3 @@ /**

*/
replaceTimeUnits?: boolean;
replaceTimeUnits?: boolean | undefined;

@@ -553,3 +553,3 @@ /**

*/
replaceZeroUnits?: boolean;
replaceZeroUnits?: boolean | undefined;

@@ -559,3 +559,3 @@ /**

*/
roundingPrecision?: boolean;
roundingPrecision?: boolean | undefined;

@@ -566,3 +566,3 @@ /**

*/
selectorsSortingMethod?: "standard" | "natural" | "none";
selectorsSortingMethod?: "standard" | "natural" | "none" | undefined;

@@ -572,3 +572,3 @@ /**

*/
specialComments?: string;
specialComments?: string | undefined;

@@ -578,3 +578,3 @@ /**

*/
tidyAtRules?: boolean;
tidyAtRules?: boolean | undefined;

@@ -584,3 +584,3 @@ /**

*/
tidyBlockScopes?: boolean;
tidyBlockScopes?: boolean | undefined;

@@ -590,3 +590,3 @@ /**

*/
tidySelectors?: boolean;
tidySelectors?: boolean | undefined;

@@ -596,4 +596,4 @@ /**

*/
transform?: (propertyName: string, propertyValue: string, selector?: string) => string;
};
transform?: ((propertyName: string, propertyValue: string, selector?: string) => string) | undefined;
} | undefined;
2?: {

@@ -603,3 +603,3 @@ /**

*/
all?: boolean;
all?: boolean | undefined;

@@ -609,3 +609,3 @@ /**

*/
mergeAdjacentRules?: boolean;
mergeAdjacentRules?: boolean | undefined;

@@ -615,3 +615,3 @@ /**

*/
mergeIntoShorthands?: boolean;
mergeIntoShorthands?: boolean | undefined;

@@ -621,3 +621,3 @@ /**

*/
mergeMedia?: boolean;
mergeMedia?: boolean | undefined;

@@ -627,3 +627,3 @@ /**

*/
mergeNonAdjacentRules?: boolean;
mergeNonAdjacentRules?: boolean | undefined;

@@ -633,3 +633,3 @@ /**

*/
mergeSemantically?: boolean;
mergeSemantically?: boolean | undefined;

@@ -639,3 +639,3 @@ /**

*/
overrideProperties?: boolean;
overrideProperties?: boolean | undefined;

@@ -645,3 +645,3 @@ /**

*/
removeEmpty?: boolean;
removeEmpty?: boolean | undefined;

@@ -651,3 +651,3 @@ /**

*/
reduceNonAdjacentRules?: boolean;
reduceNonAdjacentRules?: boolean | undefined;

@@ -657,3 +657,3 @@ /**

*/
removeDuplicateFontRules?: boolean;
removeDuplicateFontRules?: boolean | undefined;

@@ -663,3 +663,3 @@ /**

*/
removeDuplicateMediaBlocks?: boolean;
removeDuplicateMediaBlocks?: boolean | undefined;

@@ -669,3 +669,3 @@ /**

*/
removeDuplicateRules?: boolean;
removeDuplicateRules?: boolean | undefined;

@@ -675,3 +675,3 @@ /**

*/
removeUnusedAtRules?: boolean;
removeUnusedAtRules?: boolean | undefined;

@@ -681,3 +681,3 @@ /**

*/
restructureRules?: boolean;
restructureRules?: boolean | undefined;

@@ -687,4 +687,4 @@ /**

*/
skipProperties?: ReadonlyArray<string>;
};
skipProperties?: ReadonlyArray<string> | undefined;
} | undefined;
}

@@ -709,3 +709,3 @@

*/
sourceMap?: RawSourceMap | string;
sourceMap?: RawSourceMap | string | undefined;
};

@@ -760,3 +760,3 @@ }

*/
returnPromise?: false
returnPromise?: false | undefined
};

@@ -763,0 +763,0 @@

{
"name": "@types/clean-css",
"version": "4.2.4",
"version": "4.2.5",
"description": "TypeScript definitions for clean-css",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/clean-css",
"license": "MIT",

@@ -30,4 +31,4 @@ "contributors": [

},
"typesPublisherContentHash": "78a1b11218fd82202e3f01b329afdb37985484bb976d3b60e1d9523bf9104cdd",
"typeScriptVersion": "3.5"
"typesPublisherContentHash": "eb1c47eecb64700fe7907b48db30792f988f47f119db4c02af261cfaa3503d8f",
"typeScriptVersion": "3.6"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Wed, 07 Apr 2021 19:31:28 GMT
* Last updated: Tue, 06 Jul 2021 18:05:52 GMT
* Dependencies: [@types/source-map](https://npmjs.com/package/@types/source-map), [@types/node](https://npmjs.com/package/@types/node)

@@ -14,0 +14,0 @@ * Global values: none

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