Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/csso

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/csso - npm Package Compare versions

Comparing version 3.5.0 to 3.5.1

23

csso/index.d.ts
// 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 @@

16

csso/package.json
{
"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

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