qcobjects 2.4.68 → 2.4.69

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.
package/VERSION CHANGED
@@ -1 +1 @@
1
- 2.4.68
1
+ 2.4.69
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qcobjects",
3
- "version": "2.4.68",
3
+ "version": "2.4.69",
4
4
  "description": "QCObjects is an Open-source framework that empowers full-stack developers to make micro-services and micro-frontends into an N-Tier architecture.",
5
5
  "main": "src/index.cjs",
6
6
  "module": "src/index.mjs",
package/src/QCObjects.js CHANGED
@@ -30,7 +30,24 @@
30
30
  /*eslint no-mixed-operators: "off"*/
31
31
  (function __qcobjects__ (_top) {
32
32
  "use strict";
33
- if (typeof __qcobjects__.__loaded__ === "undefined"){
33
+
34
+ if (typeof Object.defineProperty !== "undefined" && typeof _top !== "undefined"){
35
+ try {
36
+ Object.defineProperty(_top,"__qcobjects__", {
37
+ enumerable: true,
38
+ configurable: false,
39
+ writable: false,
40
+ value: __qcobjects__,
41
+ });
42
+ } catch (e){
43
+ if (typeof _top.__qcobjects__ !== "undefined"){
44
+ _top.__qcobjects__.loaded = true;
45
+ }
46
+ }
47
+ }
48
+ if (typeof _top.__qcobjects__.loaded === "undefined"){
49
+ _top.__qcobjects__.loaded = true;
50
+
34
51
  var global = _top;
35
52
  _top.global = global;
36
53
 
@@ -48,7 +65,9 @@
48
65
  });
49
66
  if (typeof _.prototype !== "undefined") {
50
67
  _.prototype.toString = function () {
51
- var _protected_symbols = ["ComplexStorageCache",
68
+ var _protected_symbols = [
69
+ "__qcobjects__",
70
+ "ComplexStorageCache",
52
71
  "css",
53
72
  "append",
54
73
  "attachIn",
@@ -5147,7 +5166,6 @@
5147
5166
  __freeze__();
5148
5167
  }
5149
5168
  })(isBrowser);
5150
- __qcobjects__.__loaded__ = true;
5151
5169
  }
5152
5170
  }).call(null, (typeof module === "object" && typeof module.exports === "object") ? (
5153
5171
  module.exports = (typeof globalThis !== "undefined"