@marko/compiler 5.39.62 → 5.39.64

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/index.d.ts CHANGED
@@ -39,6 +39,8 @@ export interface CompileResult {
39
39
  meta: MarkoMeta;
40
40
  }
41
41
 
42
+ export const version: string;
43
+
42
44
  export const globalConfig: Config;
43
45
 
44
46
  export function configure(config: Config): void;
@@ -70,6 +72,8 @@ export function getRuntimeEntryFiles(
70
72
  translator?: string | undefined,
71
73
  ): string[];
72
74
 
75
+ export function getRuntimeVersion(translator?: unknown): string;
76
+
73
77
  export namespace taglib {
74
78
  export function resolveOptionalTaglibs(
75
79
  taglibIds: string[],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marko/compiler",
3
- "version": "5.39.62",
3
+ "version": "5.39.64",
4
4
  "description": "Marko template to JS compiler.",
5
5
  "keywords": [
6
6
  "babel",
@@ -38,6 +38,7 @@
38
38
  },
39
39
  "./modules": "./modules.js",
40
40
  "./internal/babel": {
41
+ "types": "./internal/babel/index.ts",
41
42
  "browser": "./dist/babel.web.js",
42
43
  "default": "./dist/babel.js"
43
44
  },
@@ -82,7 +83,7 @@
82
83
  "source-map-support": "^0.5.21"
83
84
  },
84
85
  "devDependencies": {
85
- "marko": "^5.38.32"
86
+ "marko": "^5.39.3"
86
87
  },
87
88
  "engines": {
88
89
  "node": "18 || 20 || >=22"
package/register.d.ts CHANGED
@@ -4,5 +4,5 @@ type Extensions = Partial<typeof require.extensions>;
4
4
  export default function register(
5
5
  config: Config & { extensions?: Extensions },
6
6
  ): typeof require.extensions & {
7
- ".marko": (module: Module, filename: string) => any;
7
+ ".marko": (module: NodeJS.Module, filename: string) => any;
8
8
  };