@marko/compiler 5.39.25 → 5.39.26

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.
@@ -193,7 +193,6 @@ function getMarkoFile(code, fileOpts, markoOpts) {
193
193
  _config.default.fs = markoOpts.fileSystem;
194
194
 
195
195
  try {
196
- const taglibLookup = (0, _taglib.buildLookup)(_path.default.dirname(filename), translator);
197
196
  const file = (0, _getFile.setFileInternal)(
198
197
  new _file.MarkoFile(fileOpts, {
199
198
  code,
@@ -209,7 +208,13 @@ function getMarkoFile(code, fileOpts, markoOpts) {
209
208
  }
210
209
  })
211
210
  );
212
-
211
+ file.markoOpts = markoOpts;
212
+ file.___compileStage = "parse";
213
+ file.___getMarkoFile = getMarkoFile;
214
+ const taglibLookup = file.___taglibLookup = (0, _taglib.buildLookup)(
215
+ _path.default.dirname(filename),
216
+ translator
217
+ );
213
218
  const meta = file.metadata.marko = {
214
219
  id,
215
220
  deps: [],
@@ -218,11 +223,6 @@ function getMarkoFile(code, fileOpts, markoOpts) {
218
223
  diagnostics: []
219
224
  };
220
225
 
221
- file.markoOpts = markoOpts;
222
- file.___taglibLookup = taglibLookup;
223
- file.___getMarkoFile = getMarkoFile;
224
-
225
- file.___compileStage = "parse";
226
226
  (0, _parser.parseMarko)(file);
227
227
 
228
228
  if (isSource) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marko/compiler",
3
- "version": "5.39.25",
3
+ "version": "5.39.26",
4
4
  "description": "Marko template to JS compiler.",
5
5
  "keywords": [
6
6
  "babel",
@@ -87,7 +87,7 @@
87
87
  "source-map-support": "^0.5.21"
88
88
  },
89
89
  "devDependencies": {
90
- "marko": "^5.37.36"
90
+ "marko": "^5.37.37"
91
91
  },
92
92
  "engines": {
93
93
  "node": "18 || 20 || >=22"