@marko/compiler 5.37.6 → 5.37.7

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.
package/config.d.ts CHANGED
@@ -19,7 +19,7 @@ declare const Config: {
19
19
  | ((
20
20
  filename: string,
21
21
  dep: { virtualPath: string; code: string; map?: any },
22
- ) => string)
22
+ ) => string | undefined | null)
23
23
  | null;
24
24
  hydrateIncludeImports?: RegExp | ((request: string) => boolean);
25
25
  hydrateInit?: boolean;
@@ -1457,7 +1457,7 @@ export interface BabelFile {
1457
1457
  path: NodePath<t.Program>,
1458
1458
  hub: HubInterface,
1459
1459
  code: string,
1460
- opts: Record<string, unknown>,
1460
+ opts: Record<string, unknown> & { filename: string },
1461
1461
  metadata: Record<string, unknown> & {
1462
1462
  marko: import("@marko/compiler").MarkoMeta
1463
1463
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marko/compiler",
3
- "version": "5.37.6",
3
+ "version": "5.37.7",
4
4
  "description": "Marko template to JS compiler.",
5
5
  "keywords": [
6
6
  "babel",
@@ -66,7 +66,7 @@
66
66
  "@babel/traverse": "^7.25.3",
67
67
  "@babel/types": "^7.25.2",
68
68
  "@luxass/strip-json-comments": "^1.3.2",
69
- "@marko/babel-utils": "^6.5.3",
69
+ "@marko/babel-utils": "^6.5.4",
70
70
  "complain": "^1.6.0",
71
71
  "he": "^1.2.0",
72
72
  "htmljs-parser": "^5.5.2",
@@ -80,7 +80,7 @@
80
80
  "source-map-support": "^0.5.21"
81
81
  },
82
82
  "devDependencies": {
83
- "@marko/translator-default": "^6.0.8"
83
+ "@marko/translator-default": "^6.0.9"
84
84
  },
85
85
  "publishConfig": {
86
86
  "access": "public"