Socket
Socket
Sign inDemoInstall

@adobe/css-tools

Package Overview
Dependencies
Maintainers
21
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adobe/css-tools - npm Package Compare versions

Comparing version 4.3.0-beta.1 to 4.3.0-beta.2

111

dist/types.d.ts

@@ -149,96 +149,21 @@ declare class CssParseError extends Error {

export const parse: (css: string, options?: {
source?: string;
silent?: boolean;
}) => CssStylesheetAST;
declare class Compiler {
level: number;
indentation: string;
compress: boolean;
constructor(options?: {
indent?: string;
compress?: boolean;
});
emit(str: string, _position?: CssCommonPositionAST['position']): string;
/**
* Increase, decrease or return current indentation.
*/
indent(level?: number): string;
visit(node: CssAllNodesAST): string;
mapVisit(nodes: Array<CssAllNodesAST>, delim?: string): string;
compile(node: CssStylesheetAST): string;
/**
* Visit stylesheet node.
*/
stylesheet(node: CssStylesheetAST): string;
/**
* Visit comment node.
*/
comment(node: CssCommentAST): string;
/**
* Visit container node.
*/
container(node: CssContainerAST): string;
/**
* Visit container node.
*/
layer(node: CssLayerAST): string;
/**
* Visit import node.
*/
import(node: CssImportAST): string;
/**
* Visit media node.
*/
media(node: CssMediaAST): string;
/**
* Visit document node.
*/
document(node: CssDocumentAST): string;
/**
* Visit charset node.
*/
charset(node: CssCharsetAST): string;
/**
* Visit namespace node.
*/
namespace(node: CssNamespaceAST): string;
/**
* Visit supports node.
*/
supports(node: CssSupportsAST): string;
/**
* Visit keyframes node.
*/
keyframes(node: CssKeyframesAST): string;
/**
* Visit keyframe node.
*/
keyframe(node: CssKeyframeAST): string;
/**
* Visit page node.
*/
page(node: CssPageAST): string;
/**
* Visit font-face node.
*/
fontFace(node: CssFontFaceAST): string;
/**
* Visit host node.
*/
host(node: CssHostAST): string;
/**
* Visit custom-media node.
*/
customMedia(node: CssCustomMediaAST): string;
/**
* Visit rule node.
*/
rule(node: CssRuleAST): string;
/**
* Visit declaration node.
*/
declaration(node: CssDeclarationAST): string;
}
export const stringify: (node: CssStylesheetAST, options?: ConstructorParameters<typeof Compiler>[0]) => string;
source?: string | undefined;
silent?: boolean | undefined;
} | undefined) => import("src/type").CssStylesheetAST;
export const stringify: (node: import("src/type").CssStylesheetAST, options?: {
indent?: string | undefined;
compress?: boolean | undefined;
} | undefined) => string;
declare const _default: {
parse: (css: string, options?: {
source?: string | undefined;
silent?: boolean | undefined;
} | undefined) => import("src/type").CssStylesheetAST;
stringify: (node: import("src/type").CssStylesheetAST, options?: {
indent?: string | undefined;
compress?: boolean | undefined;
} | undefined) => string;
};
export default _default;
//# sourceMappingURL=types.d.ts.map

2

package.json
{
"name": "@adobe/css-tools",
"version": "4.3.0-beta.1",
"version": "4.3.0-beta.2",
"description": "CSS parser / stringifier",

@@ -5,0 +5,0 @@ "source": "src/index.ts",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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