@glimmer/compiler
Advanced tools
Comparing version 0.25.0 to 0.25.1
import { CompileOptions } from "./template-compiler"; | ||
import { TemplateJavascript, TemplateMeta } from "@glimmer/wire-format"; | ||
import { Option } from "@glimmer/interfaces"; | ||
import { TransformASTPluginFactory } from "@glimmer/syntax"; | ||
import { PreprocessOptions } from "@glimmer/syntax"; | ||
export interface TemplateIdFn { | ||
(src: string): Option<string>; | ||
} | ||
export interface PrecompileOptions<T extends TemplateMeta> extends CompileOptions<T> { | ||
export interface PrecompileOptions<T extends TemplateMeta> extends CompileOptions<T>, PreprocessOptions { | ||
id?: TemplateIdFn; | ||
plugins?: { | ||
ast?: TransformASTPluginFactory[]; | ||
}; | ||
} | ||
export declare function precompile<T extends TemplateMeta>(string: string, options?: PrecompileOptions<T>): TemplateJavascript; |
{ | ||
"name": "@glimmer/compiler", | ||
"version": "0.25.0", | ||
"version": "0.25.1", | ||
"repository": "https://github.com/glimmerjs/glimmer-vm/tree/master/packages/@glimmer/compiler", | ||
"dependencies": { | ||
"@glimmer/syntax": "^0.25.0", | ||
"@glimmer/util": "^0.25.0", | ||
"@glimmer/wire-format": "^0.25.0", | ||
"@glimmer/interfaces": "^0.25.0", | ||
"@glimmer/syntax": "^0.25.1", | ||
"@glimmer/util": "^0.25.1", | ||
"@glimmer/wire-format": "^0.25.1", | ||
"@glimmer/interfaces": "^0.25.1", | ||
"simple-html-tokenizer": "^0.3.0" | ||
@@ -11,0 +11,0 @@ }, |
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
518346
5811
Updated@glimmer/interfaces@^0.25.1
Updated@glimmer/syntax@^0.25.1
Updated@glimmer/util@^0.25.1
Updated@glimmer/wire-format@^0.25.1