clientnode 4.0.1487 → 4.0.1489

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/dist/Logger.js CHANGED
@@ -401,7 +401,11 @@ result=object;if(isPlainObject(exclude)){var useCopy=false;var copy=_objectSprea
401
401
  * @param value - Value to check.
402
402
  * @returns Value "true" if given object is a plain javaScript object and
403
403
  * "false" otherwise.
404
- */var isPlainObject=function isPlainObject(value){return isObject(value)&&PLAIN_OBJECT_PROTOTYPES.includes(Object.getPrototypeOf(value))};/**
404
+ */var isPlainObject=function isPlainObject(value){var _prototype$constructo;if(!isObject(value))return false;var prototype=Object.getPrototypeOf(value);if(PLAIN_OBJECT_PROTOTYPES.includes(prototype))return true;/*
405
+ NOTE: Plain objects created in another realm (a vm context like used by
406
+ test runners or a worker for example) have their own "Object.prototype"
407
+ instance and would not be recognized by the identity check above.
408
+ */return prototype!==null&&Object.getPrototypeOf(prototype)===null&&((_prototype$constructo=prototype.constructor)===null||_prototype$constructo===void 0?void 0:_prototype$constructo.name)==="Object"};/**
405
409
  * Checks whether given object is a set.
406
410
  * @param value - Value to check.
407
411
  * @returns Value "true" if given object is a set and "false" otherwise.
package/dist/array.js CHANGED
@@ -368,7 +368,11 @@ result=object;if(isPlainObject(exclude)){var useCopy=false;var copy=_objectSprea
368
368
  * @param value - Value to check.
369
369
  * @returns Value "true" if given object is a plain javaScript object and
370
370
  * "false" otherwise.
371
- */var isPlainObject=function isPlainObject(value){return isObject(value)&&_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .PLAIN_OBJECT_PROTOTYPES */ .jE.includes(Object.getPrototypeOf(value))};/**
371
+ */var isPlainObject=function isPlainObject(value){var _prototype$constructo;if(!isObject(value))return false;var prototype=Object.getPrototypeOf(value);if(_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .PLAIN_OBJECT_PROTOTYPES */ .jE.includes(prototype))return true;/*
372
+ NOTE: Plain objects created in another realm (a vm context like used by
373
+ test runners or a worker for example) have their own "Object.prototype"
374
+ instance and would not be recognized by the identity check above.
375
+ */return prototype!==null&&Object.getPrototypeOf(prototype)===null&&((_prototype$constructo=prototype.constructor)===null||_prototype$constructo===void 0?void 0:_prototype$constructo.name)==="Object"};/**
372
376
  * Checks whether given object is a set.
373
377
  * @param value - Value to check.
374
378
  * @returns Value "true" if given object is a set and "false" otherwise.
@@ -2141,7 +2141,11 @@ __webpack_require__.r(__webpack_exports__);
2141
2141
  * @param value - Value to check.
2142
2142
  * @returns Value "true" if given object is a plain javaScript object and
2143
2143
  * "false" otherwise.
2144
- */var isPlainObject=function isPlainObject(value){return isObject(value)&&_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .PLAIN_OBJECT_PROTOTYPES */ .jE.includes(Object.getPrototypeOf(value))};/**
2144
+ */var isPlainObject=function isPlainObject(value){var _prototype$constructo;if(!isObject(value))return false;var prototype=Object.getPrototypeOf(value);if(_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .PLAIN_OBJECT_PROTOTYPES */ .jE.includes(prototype))return true;/*
2145
+ NOTE: Plain objects created in another realm (a vm context like used by
2146
+ test runners or a worker for example) have their own "Object.prototype"
2147
+ instance and would not be recognized by the identity check above.
2148
+ */return prototype!==null&&Object.getPrototypeOf(prototype)===null&&((_prototype$constructo=prototype.constructor)===null||_prototype$constructo===void 0?void 0:_prototype$constructo.name)==="Object"};/**
2145
2149
  * Checks whether given object is a set.
2146
2150
  * @param value - Value to check.
2147
2151
  * @returns Value "true" if given object is a set and "false" otherwise.
@@ -401,7 +401,11 @@ result=object;if(isPlainObject(exclude)){var useCopy=false;var copy=_objectSprea
401
401
  * @param value - Value to check.
402
402
  * @returns Value "true" if given object is a plain javaScript object and
403
403
  * "false" otherwise.
404
- */var isPlainObject=function isPlainObject(value){return isObject(value)&&PLAIN_OBJECT_PROTOTYPES.includes(Object.getPrototypeOf(value))};/**
404
+ */var isPlainObject=function isPlainObject(value){var _prototype$constructo;if(!isObject(value))return false;var prototype=Object.getPrototypeOf(value);if(PLAIN_OBJECT_PROTOTYPES.includes(prototype))return true;/*
405
+ NOTE: Plain objects created in another realm (a vm context like used by
406
+ test runners or a worker for example) have their own "Object.prototype"
407
+ instance and would not be recognized by the identity check above.
408
+ */return prototype!==null&&Object.getPrototypeOf(prototype)===null&&((_prototype$constructo=prototype.constructor)===null||_prototype$constructo===void 0?void 0:_prototype$constructo.name)==="Object"};/**
405
409
  * Checks whether given object is a set.
406
410
  * @param value - Value to check.
407
411
  * @returns Value "true" if given object is a set and "false" otherwise.
@@ -368,7 +368,11 @@ result=object;if(isPlainObject(exclude)){var useCopy=false;var copy=_objectSprea
368
368
  * @param value - Value to check.
369
369
  * @returns Value "true" if given object is a plain javaScript object and
370
370
  * "false" otherwise.
371
- */var isPlainObject=function isPlainObject(value){return isObject(value)&&_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .PLAIN_OBJECT_PROTOTYPES */ .jE.includes(Object.getPrototypeOf(value))};/**
371
+ */var isPlainObject=function isPlainObject(value){var _prototype$constructo;if(!isObject(value))return false;var prototype=Object.getPrototypeOf(value);if(_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .PLAIN_OBJECT_PROTOTYPES */ .jE.includes(prototype))return true;/*
372
+ NOTE: Plain objects created in another realm (a vm context like used by
373
+ test runners or a worker for example) have their own "Object.prototype"
374
+ instance and would not be recognized by the identity check above.
375
+ */return prototype!==null&&Object.getPrototypeOf(prototype)===null&&((_prototype$constructo=prototype.constructor)===null||_prototype$constructo===void 0?void 0:_prototype$constructo.name)==="Object"};/**
372
376
  * Checks whether given object is a set.
373
377
  * @param value - Value to check.
374
378
  * @returns Value "true" if given object is a set and "false" otherwise.
@@ -407,7 +407,11 @@ result=object;if(isPlainObject(exclude)){var useCopy=false;var copy=_objectSprea
407
407
  * @param value - Value to check.
408
408
  * @returns Value "true" if given object is a plain javaScript object and
409
409
  * "false" otherwise.
410
- */var isPlainObject=function isPlainObject(value){return isObject(value)&&_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .PLAIN_OBJECT_PROTOTYPES */ .jE.includes(Object.getPrototypeOf(value))};/**
410
+ */var isPlainObject=function isPlainObject(value){var _prototype$constructo;if(!isObject(value))return false;var prototype=Object.getPrototypeOf(value);if(_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .PLAIN_OBJECT_PROTOTYPES */ .jE.includes(prototype))return true;/*
411
+ NOTE: Plain objects created in another realm (a vm context like used by
412
+ test runners or a worker for example) have their own "Object.prototype"
413
+ instance and would not be recognized by the identity check above.
414
+ */return prototype!==null&&Object.getPrototypeOf(prototype)===null&&((_prototype$constructo=prototype.constructor)===null||_prototype$constructo===void 0?void 0:_prototype$constructo.name)==="Object"};/**
411
415
  * Checks whether given object is a set.
412
416
  * @param value - Value to check.
413
417
  * @returns Value "true" if given object is a set and "false" otherwise.
@@ -406,7 +406,11 @@ result=object;if(isPlainObject(exclude)){var useCopy=false;var copy=_objectSprea
406
406
  * @param value - Value to check.
407
407
  * @returns Value "true" if given object is a plain javaScript object and
408
408
  * "false" otherwise.
409
- */var isPlainObject=function isPlainObject(value){return isObject(value)&&PLAIN_OBJECT_PROTOTYPES.includes(Object.getPrototypeOf(value))};/**
409
+ */var isPlainObject=function isPlainObject(value){var _prototype$constructo;if(!isObject(value))return false;var prototype=Object.getPrototypeOf(value);if(PLAIN_OBJECT_PROTOTYPES.includes(prototype))return true;/*
410
+ NOTE: Plain objects created in another realm (a vm context like used by
411
+ test runners or a worker for example) have their own "Object.prototype"
412
+ instance and would not be recognized by the identity check above.
413
+ */return prototype!==null&&Object.getPrototypeOf(prototype)===null&&((_prototype$constructo=prototype.constructor)===null||_prototype$constructo===void 0?void 0:_prototype$constructo.name)==="Object"};/**
410
414
  * Checks whether given object is a set.
411
415
  * @param value - Value to check.
412
416
  * @returns Value "true" if given object is a set and "false" otherwise.
@@ -205,7 +205,11 @@ for(var _i6=0,_Array$from=Array.from(domNode.childNodes);_i6<_Array$from.length;
205
205
  * @param value - Value to check.
206
206
  * @returns Value "true" if given object is a plain javaScript object and
207
207
  * "false" otherwise.
208
- */var isPlainObject=function isPlainObject(value){return isObject(value)&&PLAIN_OBJECT_PROTOTYPES.includes(Object.getPrototypeOf(value))};/**
208
+ */var isPlainObject=function isPlainObject(value){var _prototype$constructo;if(!isObject(value))return false;var prototype=Object.getPrototypeOf(value);if(PLAIN_OBJECT_PROTOTYPES.includes(prototype))return true;/*
209
+ NOTE: Plain objects created in another realm (a vm context like used by
210
+ test runners or a worker for example) have their own "Object.prototype"
211
+ instance and would not be recognized by the identity check above.
212
+ */return prototype!==null&&Object.getPrototypeOf(prototype)===null&&((_prototype$constructo=prototype.constructor)===null||_prototype$constructo===void 0?void 0:_prototype$constructo.name)==="Object"};/**
209
213
  * Checks whether given object is a set.
210
214
  * @param value - Value to check.
211
215
  * @returns Value "true" if given object is a set and "false" otherwise.
@@ -404,7 +404,11 @@ result=object;if((0,_indicators_js__WEBPACK_IMPORTED_MODULE_3__/* .isPlainObject
404
404
  * @param value - Value to check.
405
405
  * @returns Value "true" if given object is a plain javaScript object and
406
406
  * "false" otherwise.
407
- */var isPlainObject=function isPlainObject(value){return isObject(value)&&_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .PLAIN_OBJECT_PROTOTYPES */ .jE.includes(Object.getPrototypeOf(value))};/**
407
+ */var isPlainObject=function isPlainObject(value){var _prototype$constructo;if(!isObject(value))return false;var prototype=Object.getPrototypeOf(value);if(_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .PLAIN_OBJECT_PROTOTYPES */ .jE.includes(prototype))return true;/*
408
+ NOTE: Plain objects created in another realm (a vm context like used by
409
+ test runners or a worker for example) have their own "Object.prototype"
410
+ instance and would not be recognized by the identity check above.
411
+ */return prototype!==null&&Object.getPrototypeOf(prototype)===null&&((_prototype$constructo=prototype.constructor)===null||_prototype$constructo===void 0?void 0:_prototype$constructo.name)==="Object"};/**
408
412
  * Checks whether given object is a set.
409
413
  * @param value - Value to check.
410
414
  * @returns Value "true" if given object is a set and "false" otherwise.
@@ -404,7 +404,11 @@ result=object;if((0,_indicators_js__WEBPACK_IMPORTED_MODULE_3__/* .isPlainObject
404
404
  * @param value - Value to check.
405
405
  * @returns Value "true" if given object is a plain javaScript object and
406
406
  * "false" otherwise.
407
- */var isPlainObject=function isPlainObject(value){return isObject(value)&&_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .PLAIN_OBJECT_PROTOTYPES */ .jE.includes(Object.getPrototypeOf(value))};/**
407
+ */var isPlainObject=function isPlainObject(value){var _prototype$constructo;if(!isObject(value))return false;var prototype=Object.getPrototypeOf(value);if(_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .PLAIN_OBJECT_PROTOTYPES */ .jE.includes(prototype))return true;/*
408
+ NOTE: Plain objects created in another realm (a vm context like used by
409
+ test runners or a worker for example) have their own "Object.prototype"
410
+ instance and would not be recognized by the identity check above.
411
+ */return prototype!==null&&Object.getPrototypeOf(prototype)===null&&((_prototype$constructo=prototype.constructor)===null||_prototype$constructo===void 0?void 0:_prototype$constructo.name)==="Object"};/**
408
412
  * Checks whether given object is a set.
409
413
  * @param value - Value to check.
410
414
  * @returns Value "true" if given object is a set and "false" otherwise.
@@ -104,7 +104,11 @@ var TRANSITION_END_EVENT_NAMES="transitionend webkitTransitionEnd oTransitionEnd
104
104
  * @param value - Value to check.
105
105
  * @returns Value "true" if given object is a plain javaScript object and
106
106
  * "false" otherwise.
107
- */var isPlainObject=function isPlainObject(value){return isObject(value)&&_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .PLAIN_OBJECT_PROTOTYPES */ .jE.includes(Object.getPrototypeOf(value))};/**
107
+ */var isPlainObject=function isPlainObject(value){var _prototype$constructo;if(!isObject(value))return false;var prototype=Object.getPrototypeOf(value);if(_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .PLAIN_OBJECT_PROTOTYPES */ .jE.includes(prototype))return true;/*
108
+ NOTE: Plain objects created in another realm (a vm context like used by
109
+ test runners or a worker for example) have their own "Object.prototype"
110
+ instance and would not be recognized by the identity check above.
111
+ */return prototype!==null&&Object.getPrototypeOf(prototype)===null&&((_prototype$constructo=prototype.constructor)===null||_prototype$constructo===void 0?void 0:_prototype$constructo.name)==="Object"};/**
108
112
  * Checks whether given object is a set.
109
113
  * @param value - Value to check.
110
114
  * @returns Value "true" if given object is a set and "false" otherwise.
@@ -440,7 +440,11 @@ __webpack_require__.r(__webpack_exports__);
440
440
  * @param value - Value to check.
441
441
  * @returns Value "true" if given object is a plain javaScript object and
442
442
  * "false" otherwise.
443
- */var isPlainObject=function isPlainObject(value){return isObject(value)&&_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .PLAIN_OBJECT_PROTOTYPES */ .jE.includes(Object.getPrototypeOf(value))};/**
443
+ */var isPlainObject=function isPlainObject(value){var _prototype$constructo;if(!isObject(value))return false;var prototype=Object.getPrototypeOf(value);if(_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .PLAIN_OBJECT_PROTOTYPES */ .jE.includes(prototype))return true;/*
444
+ NOTE: Plain objects created in another realm (a vm context like used by
445
+ test runners or a worker for example) have their own "Object.prototype"
446
+ instance and would not be recognized by the identity check above.
447
+ */return prototype!==null&&Object.getPrototypeOf(prototype)===null&&((_prototype$constructo=prototype.constructor)===null||_prototype$constructo===void 0?void 0:_prototype$constructo.name)==="Object"};/**
444
448
  * Checks whether given object is a set.
445
449
  * @param value - Value to check.
446
450
  * @returns Value "true" if given object is a set and "false" otherwise.
@@ -446,7 +446,11 @@ var __webpack_exports__ = {};
446
446
  * @param value - Value to check.
447
447
  * @returns Value "true" if given object is a plain javaScript object and
448
448
  * "false" otherwise.
449
- */var isPlainObject=function isPlainObject(value){return isObject(value)&&_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .PLAIN_OBJECT_PROTOTYPES */ .jE.includes(Object.getPrototypeOf(value))};/**
449
+ */var isPlainObject=function isPlainObject(value){var _prototype$constructo;if(!isObject(value))return false;var prototype=Object.getPrototypeOf(value);if(_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .PLAIN_OBJECT_PROTOTYPES */ .jE.includes(prototype))return true;/*
450
+ NOTE: Plain objects created in another realm (a vm context like used by
451
+ test runners or a worker for example) have their own "Object.prototype"
452
+ instance and would not be recognized by the identity check above.
453
+ */return prototype!==null&&Object.getPrototypeOf(prototype)===null&&((_prototype$constructo=prototype.constructor)===null||_prototype$constructo===void 0?void 0:_prototype$constructo.name)==="Object"};/**
450
454
  * Checks whether given object is a set.
451
455
  * @param value - Value to check.
452
456
  * @returns Value "true" if given object is a set and "false" otherwise.
@@ -419,7 +419,11 @@ result=object;if((0,_indicators_js__WEBPACK_IMPORTED_MODULE_3__/* .isPlainObject
419
419
  * @param value - Value to check.
420
420
  * @returns Value "true" if given object is a plain javaScript object and
421
421
  * "false" otherwise.
422
- */var isPlainObject=function isPlainObject(value){return isObject(value)&&_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .PLAIN_OBJECT_PROTOTYPES */ .jE.includes(Object.getPrototypeOf(value))};/**
422
+ */var isPlainObject=function isPlainObject(value){var _prototype$constructo;if(!isObject(value))return false;var prototype=Object.getPrototypeOf(value);if(_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .PLAIN_OBJECT_PROTOTYPES */ .jE.includes(prototype))return true;/*
423
+ NOTE: Plain objects created in another realm (a vm context like used by
424
+ test runners or a worker for example) have their own "Object.prototype"
425
+ instance and would not be recognized by the identity check above.
426
+ */return prototype!==null&&Object.getPrototypeOf(prototype)===null&&((_prototype$constructo=prototype.constructor)===null||_prototype$constructo===void 0?void 0:_prototype$constructo.name)==="Object"};/**
423
427
  * Checks whether given object is a set.
424
428
  * @param value - Value to check.
425
429
  * @returns Value "true" if given object is a set and "false" otherwise.
@@ -431,7 +431,11 @@ __webpack_require__.r(__webpack_exports__);
431
431
  * @param value - Value to check.
432
432
  * @returns Value "true" if given object is a plain javaScript object and
433
433
  * "false" otherwise.
434
- */var isPlainObject=function isPlainObject(value){return isObject(value)&&_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .PLAIN_OBJECT_PROTOTYPES */ .jE.includes(Object.getPrototypeOf(value))};/**
434
+ */var isPlainObject=function isPlainObject(value){var _prototype$constructo;if(!isObject(value))return false;var prototype=Object.getPrototypeOf(value);if(_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .PLAIN_OBJECT_PROTOTYPES */ .jE.includes(prototype))return true;/*
435
+ NOTE: Plain objects created in another realm (a vm context like used by
436
+ test runners or a worker for example) have their own "Object.prototype"
437
+ instance and would not be recognized by the identity check above.
438
+ */return prototype!==null&&Object.getPrototypeOf(prototype)===null&&((_prototype$constructo=prototype.constructor)===null||_prototype$constructo===void 0?void 0:_prototype$constructo.name)==="Object"};/**
435
439
  * Checks whether given object is a set.
436
440
  * @param value - Value to check.
437
441
  * @returns Value "true" if given object is a set and "false" otherwise.
@@ -408,7 +408,11 @@ result=object;if(isPlainObject(exclude)){var useCopy=false;var copy=_objectSprea
408
408
  * @param value - Value to check.
409
409
  * @returns Value "true" if given object is a plain javaScript object and
410
410
  * "false" otherwise.
411
- */var isPlainObject=function isPlainObject(value){return isObject(value)&&PLAIN_OBJECT_PROTOTYPES.includes(Object.getPrototypeOf(value))};/**
411
+ */var isPlainObject=function isPlainObject(value){var _prototype$constructo;if(!isObject(value))return false;var prototype=Object.getPrototypeOf(value);if(PLAIN_OBJECT_PROTOTYPES.includes(prototype))return true;/*
412
+ NOTE: Plain objects created in another realm (a vm context like used by
413
+ test runners or a worker for example) have their own "Object.prototype"
414
+ instance and would not be recognized by the identity check above.
415
+ */return prototype!==null&&Object.getPrototypeOf(prototype)===null&&((_prototype$constructo=prototype.constructor)===null||_prototype$constructo===void 0?void 0:_prototype$constructo.name)==="Object"};/**
412
416
  * Checks whether given object is a set.
413
417
  * @param value - Value to check.
414
418
  * @returns Value "true" if given object is a set and "false" otherwise.
@@ -371,7 +371,11 @@ result=object;if(isPlainObject(exclude)){var useCopy=false;var copy=_objectSprea
371
371
  * @param value - Value to check.
372
372
  * @returns Value "true" if given object is a plain javaScript object and
373
373
  * "false" otherwise.
374
- */var isPlainObject=function isPlainObject(value){return isObject(value)&&PLAIN_OBJECT_PROTOTYPES.includes(Object.getPrototypeOf(value))};/**
374
+ */var isPlainObject=function isPlainObject(value){var _prototype$constructo;if(!isObject(value))return false;var prototype=Object.getPrototypeOf(value);if(PLAIN_OBJECT_PROTOTYPES.includes(prototype))return true;/*
375
+ NOTE: Plain objects created in another realm (a vm context like used by
376
+ test runners or a worker for example) have their own "Object.prototype"
377
+ instance and would not be recognized by the identity check above.
378
+ */return prototype!==null&&Object.getPrototypeOf(prototype)===null&&((_prototype$constructo=prototype.constructor)===null||_prototype$constructo===void 0?void 0:_prototype$constructo.name)==="Object"};/**
375
379
  * Checks whether given object is a set.
376
380
  * @param value - Value to check.
377
381
  * @returns Value "true" if given object is a set and "false" otherwise.
@@ -108,7 +108,11 @@ currentRequire=createRequire("file:///__w/clientnode/clientnode/src/module.ts");
108
108
  * @param value - Value to check.
109
109
  * @returns Value "true" if given object is a plain javaScript object and
110
110
  * "false" otherwise.
111
- */var isPlainObject=function isPlainObject(value){return isObject(value)&&PLAIN_OBJECT_PROTOTYPES.includes(Object.getPrototypeOf(value))};/**
111
+ */var isPlainObject=function isPlainObject(value){var _prototype$constructo;if(!isObject(value))return false;var prototype=Object.getPrototypeOf(value);if(PLAIN_OBJECT_PROTOTYPES.includes(prototype))return true;/*
112
+ NOTE: Plain objects created in another realm (a vm context like used by
113
+ test runners or a worker for example) have their own "Object.prototype"
114
+ instance and would not be recognized by the identity check above.
115
+ */return prototype!==null&&Object.getPrototypeOf(prototype)===null&&((_prototype$constructo=prototype.constructor)===null||_prototype$constructo===void 0?void 0:_prototype$constructo.name)==="Object"};/**
112
116
  * Checks whether given object is a set.
113
117
  * @param value - Value to check.
114
118
  * @returns Value "true" if given object is a set and "false" otherwise.
@@ -407,7 +407,11 @@ result=object;if(isPlainObject(exclude)){var useCopy=false;var copy=_objectSprea
407
407
  * @param value - Value to check.
408
408
  * @returns Value "true" if given object is a plain javaScript object and
409
409
  * "false" otherwise.
410
- */var isPlainObject=function isPlainObject(value){return isObject(value)&&_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .PLAIN_OBJECT_PROTOTYPES */ .jE.includes(Object.getPrototypeOf(value))};/**
410
+ */var isPlainObject=function isPlainObject(value){var _prototype$constructo;if(!isObject(value))return false;var prototype=Object.getPrototypeOf(value);if(_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .PLAIN_OBJECT_PROTOTYPES */ .jE.includes(prototype))return true;/*
411
+ NOTE: Plain objects created in another realm (a vm context like used by
412
+ test runners or a worker for example) have their own "Object.prototype"
413
+ instance and would not be recognized by the identity check above.
414
+ */return prototype!==null&&Object.getPrototypeOf(prototype)===null&&((_prototype$constructo=prototype.constructor)===null||_prototype$constructo===void 0?void 0:_prototype$constructo.name)==="Object"};/**
411
415
  * Checks whether given object is a set.
412
416
  * @param value - Value to check.
413
417
  * @returns Value "true" if given object is a set and "false" otherwise.
package/dist/datetime.js CHANGED
@@ -406,7 +406,11 @@ result=object;if(isPlainObject(exclude)){var useCopy=false;var copy=_objectSprea
406
406
  * @param value - Value to check.
407
407
  * @returns Value "true" if given object is a plain javaScript object and
408
408
  * "false" otherwise.
409
- */var isPlainObject=function isPlainObject(value){return isObject(value)&&PLAIN_OBJECT_PROTOTYPES.includes(Object.getPrototypeOf(value))};/**
409
+ */var isPlainObject=function isPlainObject(value){var _prototype$constructo;if(!isObject(value))return false;var prototype=Object.getPrototypeOf(value);if(PLAIN_OBJECT_PROTOTYPES.includes(prototype))return true;/*
410
+ NOTE: Plain objects created in another realm (a vm context like used by
411
+ test runners or a worker for example) have their own "Object.prototype"
412
+ instance and would not be recognized by the identity check above.
413
+ */return prototype!==null&&Object.getPrototypeOf(prototype)===null&&((_prototype$constructo=prototype.constructor)===null||_prototype$constructo===void 0?void 0:_prototype$constructo.name)==="Object"};/**
410
414
  * Checks whether given object is a set.
411
415
  * @param value - Value to check.
412
416
  * @returns Value "true" if given object is a set and "false" otherwise.
package/dist/domNode.js CHANGED
@@ -205,7 +205,11 @@ for(var _i6=0,_Array$from=Array.from(domNode.childNodes);_i6<_Array$from.length;
205
205
  * @param value - Value to check.
206
206
  * @returns Value "true" if given object is a plain javaScript object and
207
207
  * "false" otherwise.
208
- */var isPlainObject=function isPlainObject(value){return isObject(value)&&PLAIN_OBJECT_PROTOTYPES.includes(Object.getPrototypeOf(value))};/**
208
+ */var isPlainObject=function isPlainObject(value){var _prototype$constructo;if(!isObject(value))return false;var prototype=Object.getPrototypeOf(value);if(PLAIN_OBJECT_PROTOTYPES.includes(prototype))return true;/*
209
+ NOTE: Plain objects created in another realm (a vm context like used by
210
+ test runners or a worker for example) have their own "Object.prototype"
211
+ instance and would not be recognized by the identity check above.
212
+ */return prototype!==null&&Object.getPrototypeOf(prototype)===null&&((_prototype$constructo=prototype.constructor)===null||_prototype$constructo===void 0?void 0:_prototype$constructo.name)==="Object"};/**
209
213
  * Checks whether given object is a set.
210
214
  * @param value - Value to check.
211
215
  * @returns Value "true" if given object is a set and "false" otherwise.
@@ -404,7 +404,11 @@ result=object;if((0,_indicators_js__WEBPACK_IMPORTED_MODULE_3__/* .isPlainObject
404
404
  * @param value - Value to check.
405
405
  * @returns Value "true" if given object is a plain javaScript object and
406
406
  * "false" otherwise.
407
- */var isPlainObject=function isPlainObject(value){return isObject(value)&&_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .PLAIN_OBJECT_PROTOTYPES */ .jE.includes(Object.getPrototypeOf(value))};/**
407
+ */var isPlainObject=function isPlainObject(value){var _prototype$constructo;if(!isObject(value))return false;var prototype=Object.getPrototypeOf(value);if(_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .PLAIN_OBJECT_PROTOTYPES */ .jE.includes(prototype))return true;/*
408
+ NOTE: Plain objects created in another realm (a vm context like used by
409
+ test runners or a worker for example) have their own "Object.prototype"
410
+ instance and would not be recognized by the identity check above.
411
+ */return prototype!==null&&Object.getPrototypeOf(prototype)===null&&((_prototype$constructo=prototype.constructor)===null||_prototype$constructo===void 0?void 0:_prototype$constructo.name)==="Object"};/**
408
412
  * Checks whether given object is a set.
409
413
  * @param value - Value to check.
410
414
  * @returns Value "true" if given object is a set and "false" otherwise.
@@ -404,7 +404,11 @@ result=object;if((0,_indicators_js__WEBPACK_IMPORTED_MODULE_3__/* .isPlainObject
404
404
  * @param value - Value to check.
405
405
  * @returns Value "true" if given object is a plain javaScript object and
406
406
  * "false" otherwise.
407
- */var isPlainObject=function isPlainObject(value){return isObject(value)&&_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .PLAIN_OBJECT_PROTOTYPES */ .jE.includes(Object.getPrototypeOf(value))};/**
407
+ */var isPlainObject=function isPlainObject(value){var _prototype$constructo;if(!isObject(value))return false;var prototype=Object.getPrototypeOf(value);if(_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .PLAIN_OBJECT_PROTOTYPES */ .jE.includes(prototype))return true;/*
408
+ NOTE: Plain objects created in another realm (a vm context like used by
409
+ test runners or a worker for example) have their own "Object.prototype"
410
+ instance and would not be recognized by the identity check above.
411
+ */return prototype!==null&&Object.getPrototypeOf(prototype)===null&&((_prototype$constructo=prototype.constructor)===null||_prototype$constructo===void 0?void 0:_prototype$constructo.name)==="Object"};/**
408
412
  * Checks whether given object is a set.
409
413
  * @param value - Value to check.
410
414
  * @returns Value "true" if given object is a set and "false" otherwise.
@@ -104,7 +104,11 @@ var TRANSITION_END_EVENT_NAMES="transitionend webkitTransitionEnd oTransitionEnd
104
104
  * @param value - Value to check.
105
105
  * @returns Value "true" if given object is a plain javaScript object and
106
106
  * "false" otherwise.
107
- */var isPlainObject=function isPlainObject(value){return isObject(value)&&_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .PLAIN_OBJECT_PROTOTYPES */ .jE.includes(Object.getPrototypeOf(value))};/**
107
+ */var isPlainObject=function isPlainObject(value){var _prototype$constructo;if(!isObject(value))return false;var prototype=Object.getPrototypeOf(value);if(_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .PLAIN_OBJECT_PROTOTYPES */ .jE.includes(prototype))return true;/*
108
+ NOTE: Plain objects created in another realm (a vm context like used by
109
+ test runners or a worker for example) have their own "Object.prototype"
110
+ instance and would not be recognized by the identity check above.
111
+ */return prototype!==null&&Object.getPrototypeOf(prototype)===null&&((_prototype$constructo=prototype.constructor)===null||_prototype$constructo===void 0?void 0:_prototype$constructo.name)==="Object"};/**
108
112
  * Checks whether given object is a set.
109
113
  * @param value - Value to check.
110
114
  * @returns Value "true" if given object is a set and "false" otherwise.
package/dist/index.js CHANGED
@@ -440,7 +440,11 @@ __webpack_require__.r(__webpack_exports__);
440
440
  * @param value - Value to check.
441
441
  * @returns Value "true" if given object is a plain javaScript object and
442
442
  * "false" otherwise.
443
- */var isPlainObject=function isPlainObject(value){return isObject(value)&&_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .PLAIN_OBJECT_PROTOTYPES */ .jE.includes(Object.getPrototypeOf(value))};/**
443
+ */var isPlainObject=function isPlainObject(value){var _prototype$constructo;if(!isObject(value))return false;var prototype=Object.getPrototypeOf(value);if(_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .PLAIN_OBJECT_PROTOTYPES */ .jE.includes(prototype))return true;/*
444
+ NOTE: Plain objects created in another realm (a vm context like used by
445
+ test runners or a worker for example) have their own "Object.prototype"
446
+ instance and would not be recognized by the identity check above.
447
+ */return prototype!==null&&Object.getPrototypeOf(prototype)===null&&((_prototype$constructo=prototype.constructor)===null||_prototype$constructo===void 0?void 0:_prototype$constructo.name)==="Object"};/**
444
448
  * Checks whether given object is a set.
445
449
  * @param value - Value to check.
446
450
  * @returns Value "true" if given object is a set and "false" otherwise.
@@ -446,7 +446,11 @@ var __webpack_exports__ = {};
446
446
  * @param value - Value to check.
447
447
  * @returns Value "true" if given object is a plain javaScript object and
448
448
  * "false" otherwise.
449
- */var isPlainObject=function isPlainObject(value){return isObject(value)&&_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .PLAIN_OBJECT_PROTOTYPES */ .jE.includes(Object.getPrototypeOf(value))};/**
449
+ */var isPlainObject=function isPlainObject(value){var _prototype$constructo;if(!isObject(value))return false;var prototype=Object.getPrototypeOf(value);if(_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .PLAIN_OBJECT_PROTOTYPES */ .jE.includes(prototype))return true;/*
450
+ NOTE: Plain objects created in another realm (a vm context like used by
451
+ test runners or a worker for example) have their own "Object.prototype"
452
+ instance and would not be recognized by the identity check above.
453
+ */return prototype!==null&&Object.getPrototypeOf(prototype)===null&&((_prototype$constructo=prototype.constructor)===null||_prototype$constructo===void 0?void 0:_prototype$constructo.name)==="Object"};/**
450
454
  * Checks whether given object is a set.
451
455
  * @param value - Value to check.
452
456
  * @returns Value "true" if given object is a set and "false" otherwise.
package/dist/object.js CHANGED
@@ -419,7 +419,11 @@ result=object;if((0,_indicators_js__WEBPACK_IMPORTED_MODULE_3__/* .isPlainObject
419
419
  * @param value - Value to check.
420
420
  * @returns Value "true" if given object is a plain javaScript object and
421
421
  * "false" otherwise.
422
- */var isPlainObject=function isPlainObject(value){return isObject(value)&&_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .PLAIN_OBJECT_PROTOTYPES */ .jE.includes(Object.getPrototypeOf(value))};/**
422
+ */var isPlainObject=function isPlainObject(value){var _prototype$constructo;if(!isObject(value))return false;var prototype=Object.getPrototypeOf(value);if(_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .PLAIN_OBJECT_PROTOTYPES */ .jE.includes(prototype))return true;/*
423
+ NOTE: Plain objects created in another realm (a vm context like used by
424
+ test runners or a worker for example) have their own "Object.prototype"
425
+ instance and would not be recognized by the identity check above.
426
+ */return prototype!==null&&Object.getPrototypeOf(prototype)===null&&((_prototype$constructo=prototype.constructor)===null||_prototype$constructo===void 0?void 0:_prototype$constructo.name)==="Object"};/**
423
427
  * Checks whether given object is a set.
424
428
  * @param value - Value to check.
425
429
  * @returns Value "true" if given object is a set and "false" otherwise.
package/dist/scope.js CHANGED
@@ -431,7 +431,11 @@ __webpack_require__.r(__webpack_exports__);
431
431
  * @param value - Value to check.
432
432
  * @returns Value "true" if given object is a plain javaScript object and
433
433
  * "false" otherwise.
434
- */var isPlainObject=function isPlainObject(value){return isObject(value)&&_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .PLAIN_OBJECT_PROTOTYPES */ .jE.includes(Object.getPrototypeOf(value))};/**
434
+ */var isPlainObject=function isPlainObject(value){var _prototype$constructo;if(!isObject(value))return false;var prototype=Object.getPrototypeOf(value);if(_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .PLAIN_OBJECT_PROTOTYPES */ .jE.includes(prototype))return true;/*
435
+ NOTE: Plain objects created in another realm (a vm context like used by
436
+ test runners or a worker for example) have their own "Object.prototype"
437
+ instance and would not be recognized by the identity check above.
438
+ */return prototype!==null&&Object.getPrototypeOf(prototype)===null&&((_prototype$constructo=prototype.constructor)===null||_prototype$constructo===void 0?void 0:_prototype$constructo.name)==="Object"};/**
435
439
  * Checks whether given object is a set.
436
440
  * @param value - Value to check.
437
441
  * @returns Value "true" if given object is a set and "false" otherwise.
package/dist/string.js CHANGED
@@ -408,7 +408,11 @@ result=object;if(isPlainObject(exclude)){var useCopy=false;var copy=_objectSprea
408
408
  * @param value - Value to check.
409
409
  * @returns Value "true" if given object is a plain javaScript object and
410
410
  * "false" otherwise.
411
- */var isPlainObject=function isPlainObject(value){return isObject(value)&&PLAIN_OBJECT_PROTOTYPES.includes(Object.getPrototypeOf(value))};/**
411
+ */var isPlainObject=function isPlainObject(value){var _prototype$constructo;if(!isObject(value))return false;var prototype=Object.getPrototypeOf(value);if(PLAIN_OBJECT_PROTOTYPES.includes(prototype))return true;/*
412
+ NOTE: Plain objects created in another realm (a vm context like used by
413
+ test runners or a worker for example) have their own "Object.prototype"
414
+ instance and would not be recognized by the identity check above.
415
+ */return prototype!==null&&Object.getPrototypeOf(prototype)===null&&((_prototype$constructo=prototype.constructor)===null||_prototype$constructo===void 0?void 0:_prototype$constructo.name)==="Object"};/**
412
416
  * Checks whether given object is a set.
413
417
  * @param value - Value to check.
414
418
  * @returns Value "true" if given object is a set and "false" otherwise.
@@ -371,7 +371,11 @@ result=object;if(isPlainObject(exclude)){var useCopy=false;var copy=_objectSprea
371
371
  * @param value - Value to check.
372
372
  * @returns Value "true" if given object is a plain javaScript object and
373
373
  * "false" otherwise.
374
- */var isPlainObject=function isPlainObject(value){return isObject(value)&&PLAIN_OBJECT_PROTOTYPES.includes(Object.getPrototypeOf(value))};/**
374
+ */var isPlainObject=function isPlainObject(value){var _prototype$constructo;if(!isObject(value))return false;var prototype=Object.getPrototypeOf(value);if(PLAIN_OBJECT_PROTOTYPES.includes(prototype))return true;/*
375
+ NOTE: Plain objects created in another realm (a vm context like used by
376
+ test runners or a worker for example) have their own "Object.prototype"
377
+ instance and would not be recognized by the identity check above.
378
+ */return prototype!==null&&Object.getPrototypeOf(prototype)===null&&((_prototype$constructo=prototype.constructor)===null||_prototype$constructo===void 0?void 0:_prototype$constructo.name)==="Object"};/**
375
379
  * Checks whether given object is a set.
376
380
  * @param value - Value to check.
377
381
  * @returns Value "true" if given object is a set and "false" otherwise.
package/dist/utility.js CHANGED
@@ -108,7 +108,11 @@ currentRequire=createRequire("file:///__w/clientnode/clientnode/src/module.ts");
108
108
  * @param value - Value to check.
109
109
  * @returns Value "true" if given object is a plain javaScript object and
110
110
  * "false" otherwise.
111
- */var isPlainObject=function isPlainObject(value){return isObject(value)&&PLAIN_OBJECT_PROTOTYPES.includes(Object.getPrototypeOf(value))};/**
111
+ */var isPlainObject=function isPlainObject(value){var _prototype$constructo;if(!isObject(value))return false;var prototype=Object.getPrototypeOf(value);if(PLAIN_OBJECT_PROTOTYPES.includes(prototype))return true;/*
112
+ NOTE: Plain objects created in another realm (a vm context like used by
113
+ test runners or a worker for example) have their own "Object.prototype"
114
+ instance and would not be recognized by the identity check above.
115
+ */return prototype!==null&&Object.getPrototypeOf(prototype)===null&&((_prototype$constructo=prototype.constructor)===null||_prototype$constructo===void 0?void 0:_prototype$constructo.name)==="Object"};/**
112
116
  * Checks whether given object is a set.
113
117
  * @param value - Value to check.
114
118
  * @returns Value "true" if given object is a set and "false" otherwise.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clientnode",
3
- "version": "4.0.1487",
3
+ "version": "4.0.1489",
4
4
  "description": "Handy utilities for any JavaScript environments.",
5
5
  "keywords": [
6
6
  "client",
@@ -103,7 +103,7 @@
103
103
  "rimraf": "^6.1.3",
104
104
  "typescript-eslint": "^8.67.0",
105
105
  "web-documentation": "^1.0.49",
106
- "weboptimizer": "^4.0.55",
106
+ "weboptimizer": "^4.0.57",
107
107
  "webpack-dev-server": "^6.0.0"
108
108
  },
109
109
  "peerDependencies": {
@@ -127,7 +127,7 @@
127
127
  "globals@npm:^11.1.0": "patch:globals@npm%3A11.12.0#~/.yarn/patches/globals-npm-11.12.0-1fa7f41a6c.patch",
128
128
  "globals@npm:^14.0.0": "patch:globals@npm%3A11.12.0#~/.yarn/patches/globals-npm-11.12.0-1fa7f41a6c.patch",
129
129
  "globals@npm:^9.18.0": "patch:globals@npm%3A11.12.0#~/.yarn/patches/globals-npm-11.12.0-1fa7f41a6c.patch",
130
- "weboptimizer/clientnode": "4.0.1478"
130
+ "weboptimizer/clientnode": "4.0.1486"
131
131
  },
132
132
  "engines": {
133
133
  "node": ">=26",