@marko/compiler 5.39.11 → 5.39.13

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.
@@ -107,7 +107,7 @@ _traverse.Scope.prototype.crawl = function () {
107
107
  const movedBinding = movedBindings.get(hoistableBinding);
108
108
  if (
109
109
  !movedBinding ||
110
- getScopeDepth(movedBinding) < getScopeDepth(curScope))
110
+ getScopeDepth(movedBinding) > getScopeDepth(curScope))
111
111
  {
112
112
  movedBindings.set(hoistableBinding, curScope);
113
113
  }
@@ -258,7 +258,6 @@ function loadFileForTag(tag) {
258
258
  }
259
259
 
260
260
  const def = getTagDef(tag);
261
- const fs = file.markoOpts.fileSystem;
262
261
  const filename = def && def.template;
263
262
 
264
263
  if (filename) {
@@ -276,7 +275,6 @@ function loadFileForTag(tag) {
276
275
  }
277
276
 
278
277
  function loadFileForImport(file, request) {
279
- const fs = file.markoOpts.fileSystem;
280
278
  const relativeRequest = resolveTagImport(file.path, request);
281
279
 
282
280
  if (relativeRequest) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marko/compiler",
3
- "version": "5.39.11",
3
+ "version": "5.39.13",
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.12"
90
+ "marko": "^5.37.20"
91
91
  },
92
92
  "engines": {
93
93
  "node": "18 || 20 || >=22"