@marko/compiler
Advanced tools
Comparing version 5.31.1 to 5.31.2
@@ -13,3 +13,6 @@ declare const Config: { | ||
translator?: any; | ||
fileSystem?: typeof import("fs"); | ||
fileSystem?: Pick< | ||
typeof import("fs"), | ||
"statSync" | "readFileSync" | "readdirSync" | ||
>; | ||
modules?: "esm" | "cjs"; | ||
@@ -16,0 +19,0 @@ resolveVirtualDependency?: |
@@ -6,3 +6,4 @@ import { SourceMap } from "magic-string"; | ||
export type Config = typeof import("./config"); | ||
type _Config = typeof import("./config"); | ||
export interface Config extends _Config {} | ||
@@ -20,3 +21,3 @@ type Dep = { | ||
export type MarkoMeta = { | ||
export interface MarkoMeta { | ||
id: string; | ||
@@ -28,5 +29,5 @@ component?: string; | ||
diagnostics: Diagnostic[]; | ||
}; | ||
} | ||
export type CompileResult = { | ||
export interface CompileResult { | ||
ast: types.File; | ||
@@ -36,3 +37,3 @@ code: string; | ||
meta: MarkoMeta; | ||
}; | ||
} | ||
@@ -39,0 +40,0 @@ export function configure(config: Config): void; |
{ | ||
"name": "@marko/compiler", | ||
"description": "Marko template to JS compiler.", | ||
"version": "5.31.1", | ||
"version": "5.31.2", | ||
"author": "Dylan Piercey <dpiercey@ebay.com>", | ||
@@ -18,3 +18,3 @@ "bugs": "https://github.com/marko-js/marko/issues/new?template=Bug_report.md", | ||
"@babel/types": "^7.16.0", | ||
"@marko/babel-utils": "^6.2.0", | ||
"@marko/babel-utils": "^6.2.1", | ||
"complain": "^1.6.0", | ||
@@ -21,0 +21,0 @@ "he": "^1.2.0", |
435868
10232
Updated@marko/babel-utils@^6.2.1