marko 5.35.13 → 5.35.14

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.
@@ -1,4 +1,5 @@
1
- "use strict";var registry = require("@internal/components-registry");
1
+ "use strict";require("../../../runtime/vdom/marko-namespace");
2
+ var registry = require("@internal/components-registry");
2
3
 
3
4
  exports.getComponentForEl =
4
5
  require("@internal/components-util").T_;
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
+ require("../../../runtime/html/marko-namespace");
2
3
 
3
4
  var warp10 = require("warp10");
4
5
  var w10ToJSON = require("../../../runtime/helpers/serialize-noop").V_;
@@ -19,6 +19,9 @@ var componentsByDOMNode = domData._p_;
19
19
  var serverComponentRootNodes = {};
20
20
  var serverRenderedMeta = {};
21
21
  var win = window;
22
+ win.Marko = {
23
+ Component: function () {}
24
+ };
22
25
 
23
26
  var DEFAULT_RUNTIME_ID = "M";
24
27
  var FLAG_WILL_RERENDER_IN_BROWSER = 1;
@@ -1,8 +1,6 @@
1
1
  "use strict";
2
2
 
3
- globalThis.Marko = {
4
- Component: function () {}
5
- };
3
+ require("./marko-namespace");
6
4
 
7
5
  /**
8
6
  * Method is for internal usage only. This method
@@ -0,0 +1,3 @@
1
+ "use strict";globalThis.Marko = {
2
+ Component: function () {}
3
+ };
@@ -1,8 +1,6 @@
1
1
  "use strict";
2
2
 
3
- window.Marko = {
4
- Component: function () {}
5
- };
3
+ require("./marko-namespace");
6
4
 
7
5
  /**
8
6
  * Method is for internal usage only. This method
@@ -0,0 +1,3 @@
1
+ "use strict";window.Marko = {
2
+ Component: function () {}
3
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "marko",
3
- "version": "5.35.13",
3
+ "version": "5.35.14",
4
4
  "description": "UI Components + streaming, async, high performance, HTML templating for Node.js and the browser.",
5
5
  "keywords": [
6
6
  "front-end",
@@ -1,3 +1,4 @@
1
+ require("../../../runtime/vdom/marko-namespace");
1
2
  var registry = require("@internal/components-registry");
2
3
 
3
4
  exports.getComponentForEl =
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
+ require("../../../runtime/html/marko-namespace");
2
3
 
3
4
  var warp10 = require("warp10");
4
5
  var w10ToJSON = require("../../../runtime/helpers/serialize-noop").___toJSON;
@@ -19,6 +19,9 @@ var componentsByDOMNode = domData.___componentByDOMNode;
19
19
  var serverComponentRootNodes = {};
20
20
  var serverRenderedMeta = {};
21
21
  var win = window;
22
+ win.Marko = {
23
+ Component: function () {},
24
+ };
22
25
 
23
26
  var DEFAULT_RUNTIME_ID = "M";
24
27
  var FLAG_WILL_RERENDER_IN_BROWSER = 1;
@@ -1,8 +1,6 @@
1
1
  "use strict";
2
2
 
3
- globalThis.Marko = {
4
- Component: function () {},
5
- };
3
+ require("./marko-namespace");
6
4
 
7
5
  /**
8
6
  * Method is for internal usage only. This method
@@ -0,0 +1,3 @@
1
+ globalThis.Marko = {
2
+ Component: function () {},
3
+ };
@@ -1,8 +1,6 @@
1
1
  "use strict";
2
2
 
3
- window.Marko = {
4
- Component: function () {},
5
- };
3
+ require("./marko-namespace");
6
4
 
7
5
  /**
8
6
  * Method is for internal usage only. This method
@@ -0,0 +1,3 @@
1
+ window.Marko = {
2
+ Component: function () {},
3
+ };