@types/csso
Advanced tools
Comparing version 3.5.0 to 3.5.1
// Type definitions for csso 3.5 | ||
// Project: https://github.com/css/csso | ||
// Definitions by: Christian Rackerseder <https://github.com/screendriver> | ||
// Erik Källén <https://github.com/erik-kallen> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// TypeScript Version: 2.6 | ||
// TypeScript Version: 2.7 | ||
import * as csstree from 'css-tree'; | ||
declare namespace csso { | ||
@@ -19,2 +22,14 @@ interface Result { | ||
interface Usage { | ||
tags?: string[]; | ||
ids?: string[]; | ||
classes?: string[]; | ||
scopes?: string[][]; | ||
blacklist?: { | ||
tags?: string[]; | ||
ids?: string[]; | ||
classes?: string[]; | ||
}; | ||
} | ||
interface CompressOptions { | ||
@@ -48,3 +63,3 @@ /** | ||
*/ | ||
usage?: object; | ||
usage?: Usage; | ||
/** | ||
@@ -105,3 +120,5 @@ * Function to track every step of transformation. | ||
*/ | ||
compress(ast: object, options?: csso.CompressOptions): { ast: object }; | ||
compress(ast: csstree.CssNode, options?: csso.CompressOptions): { ast: csstree.CssNode }; | ||
syntax: typeof csstree; | ||
} | ||
@@ -108,0 +125,0 @@ |
{ | ||
"name": "@types/csso", | ||
"version": "3.5.0", | ||
"version": "3.5.1", | ||
"description": "TypeScript definitions for csso", | ||
@@ -11,5 +11,11 @@ "license": "MIT", | ||
"githubUsername": "screendriver" | ||
}, | ||
{ | ||
"name": "Erik Källén", | ||
"url": "https://github.com/erik-kallen", | ||
"githubUsername": "erik-kallen" | ||
} | ||
], | ||
"main": "", | ||
"types": "index", | ||
"repository": { | ||
@@ -20,5 +26,7 @@ "type": "git", | ||
"scripts": {}, | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "1f629d9c073651fc6e3c1915c0d0ba30f880df8951abc08031be976c69b8421c", | ||
"typeScriptVersion": "2.6" | ||
"dependencies": { | ||
"@types/css-tree": "*" | ||
}, | ||
"typesPublisherContentHash": "f377d4b8a162d1ce2e7db5124fcaf69b2bc9fd10f4ff2c8c14433ed6b96184de", | ||
"typeScriptVersion": "2.7" | ||
} |
@@ -11,7 +11,7 @@ # Installation | ||
Additional Details | ||
* Last updated: Thu, 21 Jun 2018 00:15:27 GMT | ||
* Dependencies: none | ||
* Last updated: Sun, 18 Nov 2018 18:46:58 GMT | ||
* Dependencies: css-tree | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Christian Rackerseder <https://github.com/screendriver>. | ||
These definitions were written by Christian Rackerseder <https://github.com/screendriver>, Erik Källén <https://github.com/erik-kallen>. |
Sorry, the diff of this file is not supported yet
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
6138
113
1
+ Added@types/css-tree@*
+ Added@types/css-tree@2.3.9(transitive)