@types/uglifycss
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -15,3 +15,3 @@ // Type definitions for UglifyCSS v0.0.20 | ||
*/ | ||
maxLineLen?: number | ||
maxLineLen?: number | undefined | ||
@@ -21,3 +21,3 @@ /** | ||
*/ | ||
expandVars?: boolean | ||
expandVars?: boolean | undefined | ||
@@ -27,3 +27,3 @@ /** | ||
*/ | ||
uglyComments?: boolean | ||
uglyComments?: boolean | undefined | ||
@@ -33,3 +33,3 @@ /** | ||
*/ | ||
cuteComments?: boolean | ||
cuteComments?: boolean | undefined | ||
} | ||
@@ -36,0 +36,0 @@ |
{ | ||
"name": "@types/uglifycss", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "TypeScript definitions for UglifyCSS", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uglifycss", | ||
"license": "MIT", | ||
@@ -22,4 +23,4 @@ "contributors": [ | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "66cbead2739496206aab87264d378c7101c3922c4e9258b322d041a7d46393d5", | ||
"typeScriptVersion": "3.0" | ||
"typesPublisherContentHash": "53b4648d8ca93d438bf1f928df65678708c0c60420219cfdfa9027a70bce3009", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -9,5 +9,56 @@ # Installation | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uglifycss. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uglifycss/index.d.ts) | ||
````ts | ||
// Type definitions for UglifyCSS v0.0.20 | ||
// Project: https://github.com/fmarcia/UglifyCSS | ||
// Definitions by: gevik Babakhani <https://github.com/blendsdk> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
declare module "uglifycss" { | ||
namespace UglifyCSS { | ||
interface UglifyCSSOptions { | ||
/** | ||
* Adds a newline (approx.) every n characters; 0 means no newline and is the default value | ||
*/ | ||
maxLineLen?: number | undefined | ||
/** | ||
* eEpands variables; by default, @variables blocks are preserved and var(x)s are not expanded | ||
*/ | ||
expandVars?: boolean | undefined | ||
/** | ||
* Removes newlines within preserved comments; by default, newlines are preserved | ||
*/ | ||
uglyComments?: boolean | undefined | ||
/** | ||
* Preserves newlines within and around preserved comments | ||
*/ | ||
cuteComments?: boolean | undefined | ||
} | ||
/** | ||
* Uglify a string | ||
*/ | ||
function processString(content: string, options?: UglifyCSSOptions): string; | ||
/** | ||
* Uglify one or more files | ||
*/ | ||
function processFiles(filenames: Array<string>, options?: UglifyCSSOptions): string; | ||
} | ||
export = UglifyCSS; | ||
} | ||
```` | ||
### Additional Details | ||
* Last updated: Fri, 15 May 2020 13:12:50 GMT | ||
* Last updated: Fri, 02 Jul 2021 18:04:46 GMT | ||
* Dependencies: none | ||
@@ -14,0 +65,0 @@ * Global values: none |
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
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
5252
1
68