@adobe/css-tools
Advanced tools
Comparing version 4.3.0-beta.1 to 4.3.0-beta.2
@@ -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 |
{ | ||
"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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
177175
1613