minimal-piral 1.9.0-beta.8258 → 1.9.0-beta.8259

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.
@@ -41970,12 +41970,12 @@ function installPiralDebug(options) {
41970
41970
  debug: debugApiVersion,
41971
41971
  instance: {
41972
41972
  name: "minimal-piral",
41973
- version: "1.9.0-beta.8258",
41973
+ version: "1.9.0-beta.8259",
41974
41974
  dependencies: "tslib,react,react-dom,react-router,react-router-dom"
41975
41975
  },
41976
41976
  build: {
41977
- date: "2025-09-10T09:38:38.873Z",
41978
- cli: "1.9.0-beta.8258",
41977
+ date: "2025-09-10T11:05:22.285Z",
41978
+ cli: "1.9.0-beta.8259",
41979
41979
  compat: "1"
41980
41980
  }
41981
41981
  };
@@ -42217,11 +42217,20 @@ __webpack_require__.r(__webpack_exports__);
42217
42217
  /* harmony export */ decycle: () => (/* binding */ decycle)
42218
42218
  /* harmony export */ });
42219
42219
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
42220
+ function getValue(value) {
42221
+ try {
42222
+ return value && value.toJSON instanceof Function ? value.toJSON() : value;
42223
+ } catch (_unused) {
42224
+ // most likely its coming from a different context - emitting a security error
42225
+ // see #775 for details
42226
+ return "<protected>";
42227
+ }
42228
+ }
42220
42229
  function decycle(obj) {
42221
42230
  var objects = [];
42222
42231
  var paths = [];
42223
42232
  var _derez = function derez(value, path) {
42224
- var _value = value && value.toJSON instanceof Function ? value.toJSON() : value;
42233
+ var _value = getValue(value);
42225
42234
  if (_value === null || _value === undefined) {
42226
42235
  return undefined;
42227
42236
  } else if (typeof _value === 'function') {
@@ -45265,4 +45274,4 @@ var instance = (0,piral_core__WEBPACK_IMPORTED_MODULE_2__.createInstance)({
45265
45274
 
45266
45275
  /******/ })()
45267
45276
  ;
45268
- //# sourceMappingURL=index.8d9696.js.map
45277
+ //# sourceMappingURL=index.c3f671.js.map