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

to
3.4.33

42

clean-css v3.4/index.d.ts

@@ -10,63 +10,63 @@ // Type definitions for clean-css v3.4.9

// Set to false to disable advanced optimizations - selector & property merging, reduction, etc.
advanced?: boolean;
advanced?: boolean | undefined;
// Set to false to disable aggressive merging of properties.
aggressiveMerging?: boolean;
aggressiveMerging?: boolean | undefined;
// Turns on benchmarking mode measuring time spent on cleaning up (run npm run bench to see example)
benchmark?: boolean;
benchmark?: boolean | undefined;
// Enables compatibility mode
compatibility?: Object;
compatibility?: Object | undefined;
// Set to true to get minification statistics under stats property (see test/custom-test.js for examples)
debug?: boolean;
debug?: boolean | undefined;
// A hash of options for @import inliner, see test/protocol-imports-test.js for examples, or this comment for a proxy use case.
inliner?: Object;
inliner?: Object | undefined;
// Whether to keep line breaks (default is false)
keepBreaks?: boolean;
keepBreaks?: boolean | undefined;
// * for keeping all (default), 1 for keeping first one only, 0 for removing all
keepSpecialComments?: string | number;
keepSpecialComments?: string | number | undefined;
// Whether to merge @media at-rules (default is true)
mediaMerging?: boolean;
mediaMerging?: boolean | undefined;
// Whether to process @import rules
processImport?: boolean;
processImport?: boolean | undefined;
// A list of @import rules, can be ['all'] (default), ['local'], ['remote'], or a blacklisted path e.g. ['!fonts.googleapis.com']
processImportFrom?: Array<string>;
processImportFrom?: Array<string> | undefined;
// Set to false to skip URL rebasing
rebase?: boolean;
rebase?: boolean | undefined;
// Path to resolve relative @import rules and URLs
relativeTo?: string;
relativeTo?: string | undefined;
// Set to false to disable restructuring in advanced optimizations
restructuring?: boolean;
restructuring?: boolean | undefined;
// Path to resolve absolute @import rules and rebase relative URLs
root?: string;
root?: string | undefined;
// Rounding precision; defaults to 2; -1 disables rounding
roundingPrecision?: number;
roundingPrecision?: number | undefined;
// Set to true to enable semantic merging mode which assumes BEM-like content (default is false as it's highly likely this will break your stylesheets - use with caution!)
semanticMerging?: boolean;
semanticMerging?: boolean | undefined;
// Set to false to skip shorthand compacting (default is true unless sourceMap is set when it's false)
shorthandCompacting?: boolean;
shorthandCompacting?: boolean | undefined;
// Exposes source map under sourceMap property, e.g. new CleanCSS().minify(source).sourceMap (default is false) If input styles are a product of CSS preprocessor (Less, Sass) an input source map can be passed as a string.
sourceMap?: boolean | string;
sourceMap?: boolean | string | undefined;
// Set to true to inline sources inside a source map's sourcesContent field (defaults to false) It is also required to process inlined sources from input source maps.
sourceMapInlineSources?: boolean;
sourceMapInlineSources?: boolean | undefined;
// Path to a folder or an output file to which rebase all URLs
target?: string;
target?: string | undefined;
}

@@ -73,0 +73,0 @@

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

@@ -22,4 +23,4 @@ "contributors": [

"dependencies": {},
"typesPublisherContentHash": "7074b6260f73b28b0ae69641cc19c73724e23d6836f7155d0e808d32e6b9a183",
"typeScriptVersion": "3.0"
"typesPublisherContentHash": "01ad4fb608497bbdf50ba8aa8b7c88e3ae13d2a2ff19f306aeacff6c130be4ea",
"typeScriptVersion": "3.6"
}

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

### Additional Details
* Last updated: Fri, 15 May 2020 04:08:56 GMT
* Last updated: Tue, 06 Jul 2021 18:05:52 GMT
* Dependencies: none

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