@marko/compiler 5.20.5 → 5.20.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1183,16 +1183,11 @@ export interface BabelFile {
1183
1183
  marko: {
1184
1184
  id: string,
1185
1185
  tags: string[],
1186
- deps: Array<string | { type: string, code: string, path: string, virtualPath: string }>,
1186
+ deps: Array<string | { type: string, code: string, path: string, virtualPath: string, [x:string]: unknown }>,
1187
1187
  watchFiles: string[]
1188
1188
  }
1189
1189
  },
1190
- markoOpts: {
1191
- output: "html" | "dom",
1192
- optimize: boolean,
1193
- fileSystem: typeof import("fs"),
1194
- cache: Map<unknown, unknown>
1195
- }
1190
+ markoOpts: import('@marko/compiler').Config
1196
1191
  }
1197
1192
 
1198
1193
  export interface HubInterface {
package/index.d.ts CHANGED
@@ -22,7 +22,7 @@ export type Config = {
22
22
  writeVersionComment?: boolean;
23
23
  ignoreUnrecognizedTags?: boolean;
24
24
  sourceMaps?: boolean | "inline" | "both";
25
- translator?: string;
25
+ translator?: any;
26
26
  fileSystem?: typeof import("fs");
27
27
  modules?: "esm" | "cjs";
28
28
  resolveVirtualDependency?(filename: string, dep: { virtualPath: string, code: string, map?: SourceMap }): string;
@@ -30,6 +30,8 @@ export type Config = {
30
30
  optimize?: boolean;
31
31
  cache?: Map<unknown, unknown>;
32
32
  hot?: boolean;
33
+ /** @deprecated */
34
+ meta?: boolean;
33
35
  babelConfig?: {
34
36
  ast?: boolean | null;
35
37
  code?: boolean | null;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@marko/compiler",
3
3
  "description": "Marko template to JS compiler.",
4
- "version": "5.20.5",
4
+ "version": "5.20.6",
5
5
  "author": "Dylan Piercey <dpiercey@ebay.com>",
6
6
  "bugs": "https://github.com/marko-js/marko/issues/new?template=Bug_report.md",
7
7
  "dependencies": {
@@ -13,7 +13,7 @@
13
13
  "@babel/runtime": "^7.16.0",
14
14
  "@babel/traverse": "^7.16.0",
15
15
  "@babel/types": "^7.16.0",
16
- "@marko/babel-utils": "^5.20.5",
16
+ "@marko/babel-utils": "^5.20.6",
17
17
  "complain": "^1.6.0",
18
18
  "he": "^1.2.0",
19
19
  "htmljs-parser": "^2.11.1",
@@ -28,7 +28,7 @@
28
28
  "strip-json-comments": "^3.1.1"
29
29
  },
30
30
  "devDependencies": {
31
- "@marko/translator-default": "^5.20.5"
31
+ "@marko/translator-default": "^5.20.6"
32
32
  },
33
33
  "files": [
34
34
  "dist",
@@ -59,5 +59,5 @@
59
59
  "url": "https://github.com/marko-js/marko/tree/master/packages/compiler"
60
60
  },
61
61
  "types": "index.d.ts",
62
- "gitHead": "f7df1bcd4e65aa384733952139280f698ba7a9c9"
62
+ "gitHead": "7daaee216c1691249d3e014fdcd65dee4ffbab57"
63
63
  }