marko 6.0.36 → 6.0.37

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.
@@ -4538,7 +4538,7 @@ function trackParamsReferences(body, type, upstreamAlias) {
4538
4538
  void 0,
4539
4539
  addNumericPropertiesUntil(void 0, i - 1)
4540
4540
  );
4541
- } else {
4541
+ } else if (import_compiler24.types.isLVal(param)) {
4542
4542
  createBindingsAndTrackReferences(
4543
4543
  param,
4544
4544
  type,
@@ -4706,15 +4706,17 @@ function createBindingsAndTrackReferences(lVal, type, scope, section, upstreamAl
4706
4706
  if (hasRest) {
4707
4707
  excludeProperties = propsUtil.add(excludeProperties, key);
4708
4708
  }
4709
- createBindingsAndTrackReferences(
4710
- prop.value,
4711
- type,
4712
- scope,
4713
- section,
4714
- patternBinding,
4715
- key,
4716
- void 0
4717
- );
4709
+ if (import_compiler24.types.isLVal(prop.value)) {
4710
+ createBindingsAndTrackReferences(
4711
+ prop.value,
4712
+ type,
4713
+ scope,
4714
+ section,
4715
+ patternBinding,
4716
+ key,
4717
+ void 0
4718
+ );
4719
+ }
4718
4720
  }
4719
4721
  }
4720
4722
  break;
@@ -4747,7 +4749,7 @@ function createBindingsAndTrackReferences(lVal, type, scope, section, upstreamAl
4747
4749
  property,
4748
4750
  excludeProperties
4749
4751
  );
4750
- } else {
4752
+ } else if (import_compiler24.types.isLVal(element)) {
4751
4753
  createBindingsAndTrackReferences(
4752
4754
  element,
4753
4755
  type,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "marko",
3
- "version": "6.0.36",
3
+ "version": "6.0.37",
4
4
  "description": "Optimized runtime for Marko templates.",
5
5
  "keywords": [
6
6
  "api",
@@ -48,7 +48,7 @@
48
48
  "build": "node -r ~ts ./scripts/bundle.ts"
49
49
  },
50
50
  "dependencies": {
51
- "@marko/compiler": "^5.39.28",
51
+ "@marko/compiler": "^5.39.29",
52
52
  "csstype": "^3.1.3",
53
53
  "magic-string": "^0.30.17"
54
54
  },