marko 5.35.12 → 5.35.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.12",
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",
@@ -65,8 +65,8 @@
65
65
  "build": "babel ./src --out-dir ./dist --extensions .js --copy-files --config-file ../../babel.config.js --env-name=production"
66
66
  },
67
67
  "dependencies": {
68
- "@marko/compiler": "^5.37.8",
69
- "@marko/translator-default": "^6.0.10",
68
+ "@marko/compiler": "^5.37.9",
69
+ "@marko/translator-default": "^6.0.11",
70
70
  "app-module-path": "^2.2.0",
71
71
  "argly": "^1.2.0",
72
72
  "browser-refresh-client": "1.1.4",
@@ -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
+ };