marko 5.33.11 → 5.33.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -65,8 +65,18 @@ exports.p = function (tagsAPI) {
65
65
  $global.componentIdToScopeId = $global.componentIdToScopeId || {};
66
66
  $global.componentIdToScopeId[component.id] = streamData.scopeId || 0;
67
67
  }
68
+
68
69
  out.bf(out.a__, component, willRerender);
69
- renderFn(out.beginAsync(), input, {}, streamData);
70
+ renderFn(
71
+ out.beginAsync(),
72
+ input,
73
+ {
74
+ ...$global,
75
+ componentIdToScopeId: undefined,
76
+ streamData: undefined
77
+ },
78
+ streamData
79
+ );
70
80
  out.ef();
71
81
  },
72
82
  // eslint-disable-next-line no-constant-condition
@@ -228,9 +228,9 @@ interface MyCustomElementAttributes {
228
228
 
229
229
  declare global {
230
230
  namespace Marko {
231
- namespace NativeTags {
231
+ interface NativeTags {
232
232
  // By adding this entry, you can now use `my-custom-element` as a native html tag.
233
- "my-custom-element": MyCustomElementAttributes
233
+ "my-custom-element": MyCustomElementAttributes;
234
234
  }
235
235
  }
236
236
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "marko",
3
- "version": "5.33.11",
3
+ "version": "5.33.12",
4
4
  "description": "UI Components + streaming, async, high performance, HTML templating for Node.js and the browser.",
5
5
  "keywords": [
6
6
  "front-end",
@@ -64,8 +64,8 @@
64
64
  "build": "babel ./src --out-dir ./dist --extensions .js --copy-files --config-file ../../babel.config.js --env-name=production"
65
65
  },
66
66
  "dependencies": {
67
- "@marko/compiler": "^5.35.9",
68
- "@marko/translator-default": "^5.32.10",
67
+ "@marko/compiler": "^5.35.10",
68
+ "@marko/translator-default": "^5.32.11",
69
69
  "app-module-path": "^2.2.0",
70
70
  "argly": "^1.2.0",
71
71
  "browser-refresh-client": "1.1.4",
@@ -65,8 +65,18 @@ exports.p = function (tagsAPI) {
65
65
  $global.componentIdToScopeId = $global.componentIdToScopeId || {};
66
66
  $global.componentIdToScopeId[component.id] = streamData.scopeId || 0;
67
67
  }
68
+
68
69
  out.bf(out.___assignedKey, component, willRerender);
69
- renderFn(out.beginAsync(), input, {}, streamData);
70
+ renderFn(
71
+ out.beginAsync(),
72
+ input,
73
+ {
74
+ ...$global,
75
+ componentIdToScopeId: undefined,
76
+ streamData: undefined,
77
+ },
78
+ streamData,
79
+ );
70
80
  out.ef();
71
81
  },
72
82
  // eslint-disable-next-line no-constant-condition