clientnode 4.0.1506 → 4.0.1508

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.
Files changed (56) hide show
  1. package/dist/Lock.js +27 -8
  2. package/dist/Logger.js +56 -28
  3. package/dist/Semaphore.js +27 -8
  4. package/dist/array.js +46 -8
  5. package/dist/bundle/index.js +430 -403
  6. package/dist/cli.js +27 -8
  7. package/dist/compatible/Lock.js +27 -8
  8. package/dist/compatible/Logger.js +56 -28
  9. package/dist/compatible/Semaphore.js +27 -8
  10. package/dist/compatible/array.js +46 -8
  11. package/dist/compatible/cli.js +27 -8
  12. package/dist/compatible/constants.js +27 -8
  13. package/dist/compatible/context.js +56 -28
  14. package/dist/compatible/cookie.js +59 -28
  15. package/dist/compatible/data-transfer.js +60 -28
  16. package/dist/compatible/datetime.js +59 -28
  17. package/dist/compatible/domNode.js +60 -28
  18. package/dist/compatible/expression/evaluators.js +51 -28
  19. package/dist/compatible/expression/helper.js +31 -8
  20. package/dist/compatible/expression/index.js +72 -28
  21. package/dist/compatible/expression/indicator-functions.js +42 -8
  22. package/dist/compatible/filesystem.js +56 -28
  23. package/dist/compatible/function.js +32 -8
  24. package/dist/compatible/index.js +64 -35
  25. package/dist/compatible/indicators.js +39 -8
  26. package/dist/compatible/module.js +51 -28
  27. package/dist/compatible/number.js +34 -8
  28. package/dist/compatible/object.js +59 -28
  29. package/dist/compatible/process.js +56 -28
  30. package/dist/compatible/scope.js +106 -35
  31. package/dist/compatible/string.js +62 -28
  32. package/dist/compatible/test-helper.js +33 -8
  33. package/dist/compatible/utility.js +56 -28
  34. package/dist/constants.js +27 -8
  35. package/dist/context.js +56 -28
  36. package/dist/cookie.js +59 -28
  37. package/dist/data-transfer.js +60 -28
  38. package/dist/datetime.js +59 -28
  39. package/dist/domNode.js +60 -28
  40. package/dist/expression/evaluators.js +51 -28
  41. package/dist/expression/helper.js +31 -8
  42. package/dist/expression/index.js +72 -28
  43. package/dist/expression/indicator-functions.js +42 -8
  44. package/dist/filesystem.js +56 -28
  45. package/dist/function.js +32 -8
  46. package/dist/index.js +64 -35
  47. package/dist/indicators.js +39 -8
  48. package/dist/module.js +51 -28
  49. package/dist/number.js +34 -8
  50. package/dist/object.js +59 -28
  51. package/dist/process.js +56 -28
  52. package/dist/scope.js +106 -35
  53. package/dist/string.js +62 -28
  54. package/dist/test-helper.js +33 -8
  55. package/dist/utility.js +56 -28
  56. package/package.json +6 -5
@@ -317,6 +317,12 @@ result=object;if(isPlainObject(exclude)){var useCopy=false;var copy=_objectSprea
317
317
  /* 4 */
318
318
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
319
319
 
320
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
321
+ /* harmony export */ Tn: function() { return /* binding */ isFunction; },
322
+ /* harmony export */ jh: function() { return /* binding */ isMap; },
323
+ /* harmony export */ kf: function() { return /* binding */ isNumeric; },
324
+ /* harmony export */ vM: function() { return /* binding */ isSet; }
325
+ /* harmony export */ });
320
326
  /* unused harmony exports isWindow, isArrayLike, isAnyMatching, isObject, isPlainObject, isProxy */
321
327
  /* unused harmony import specifier */ var PLAIN_OBJECT_PROTOTYPES;
322
328
  /* unused harmony import specifier */ var determineType;
@@ -437,17 +443,36 @@ module.exports = x({ });
437
443
  /******/
438
444
  /************************************************************************/
439
445
  /******/ /* webpack/runtime/define property getters */
440
- /******/ // define getter/value functions for harmony exports
441
- /******/ __webpack_require__.d = function(exports, definition) {
442
- /******/ for(var key in definition) {
443
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
444
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
446
+ /******/ !function() {
447
+ /******/ // define getter/value functions for harmony exports
448
+ /******/ __webpack_require__.d = function(exports, definition) {
449
+ /******/ if(Array.isArray(definition)) {
450
+ /******/ var i = 0;
451
+ /******/ while(i < definition.length) {
452
+ /******/ var key = definition[i++];
453
+ /******/ var binding = definition[i++];
454
+ /******/ if(!__webpack_require__.o(exports, key)) {
455
+ /******/ if(binding === 0) {
456
+ /******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
457
+ /******/ } else {
458
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
459
+ /******/ }
460
+ /******/ } else if(binding === 0) { i++; }
461
+ /******/ }
462
+ /******/ } else {
463
+ /******/ for(var key in definition) {
464
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
465
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
466
+ /******/ }
467
+ /******/ }
445
468
  /******/ }
446
- /******/ }
447
- /******/ };
469
+ /******/ };
470
+ /******/ }();
448
471
  /******/
449
472
  /******/ /* webpack/runtime/hasOwnProperty shorthand */
450
- /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); };
473
+ /******/ !function() {
474
+ /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
475
+ /******/ }();
451
476
  /******/
452
477
  /************************************************************************/
453
478
 
package/dist/utility.js CHANGED
@@ -14,6 +14,11 @@ module.exports = x({ });
14
14
  /* 2 */
15
15
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
16
16
 
17
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
18
+ /* harmony export */ I5: function() { return /* binding */ optionalRequire; },
19
+ /* harmony export */ Sw: function() { return /* binding */ optionalImport; },
20
+ /* harmony export */ a8: function() { return /* binding */ determineGlobalContext; }
21
+ /* harmony export */ });
17
22
  /* unused harmony exports isImportSyntaxSupported, currentRequire, setOptionalRequire, getCurrentRequire, clearRequireCache, isolatedRequire */
18
23
  /* module decorator */ module = __webpack_require__.hmd(module);
19
24
  // #!/usr/bin/env babel-node
@@ -38,7 +43,7 @@ var getCurrentRequire=/*#__PURE__*/(/* unused pure expression or super */ null &
38
43
  @typescript-eslint/no-implied-eval,
39
44
  @typescript-eslint/no-unsafe-call
40
45
  */// eslint-disable-next-line @typescript-eslint/no-unsafe-call
41
- currentRequire=createRequire("file:///__w/clientnode/clientnode/src/module.ts");setOptionalRequire(currentRequire);return _context.a(2,currentRequire);case 3:_context.p=3;_t=_context.v;console.error(_t);return _context.a(2,null)}},_callee,null,[[1,3]])}));function getCurrentRequire(){return _getCurrentRequire.apply(this,arguments)}return getCurrentRequire}()));var clearRequireCache=function clearRequireCache(cache){if(cache===void 0){var _currentRequire;cache=((_currentRequire=currentRequire)===null||_currentRequire===void 0?void 0:_currentRequire.cache)||__webpack_require__.c}var backup={};for(var _i=0,_Object$entries=Object.entries(cache);_i<_Object$entries.length;_i++){var _Object$entries$_i=_slicedToArray(_Object$entries[_i],2),key=_Object$entries$_i[0],_module=_Object$entries$_i[1];backup[key]=_module;delete cache[key]}return backup};var restoreRequireCache=function restoreRequireCache(cache,backup){if(cache===void 0){var _currentRequire2;cache=((_currentRequire2=currentRequire)===null||_currentRequire2===void 0?void 0:_currentRequire2.cache)||__webpack_require__.c}clearRequireCache();for(var _i2=0,_Object$entries2=Object.entries(backup);_i2<_Object$entries2.length;_i2++){var _Object$entries2$_i=_slicedToArray(_Object$entries2[_i2],2),key=_Object$entries2$_i[0],_module2=_Object$entries2$_i[1];cache[key]=_module2}};var isolatedRequire=function isolatedRequire(path,requireFunction){if(requireFunction===void 0){requireFunction=currentRequire||__webpack_require__(6)}var backup=clearRequireCache(requireFunction.cache);try{return requireFunction(path);// eslint-disable-next-line no-useless-catch
46
+ currentRequire=createRequire(import.meta.url);setOptionalRequire(currentRequire);return _context.a(2,currentRequire);case 3:_context.p=3;_t=_context.v;console.error(_t);return _context.a(2,null)}},_callee,null,[[1,3]])}));function getCurrentRequire(){return _getCurrentRequire.apply(this,arguments)}return getCurrentRequire}()));var clearRequireCache=function clearRequireCache(cache){if(cache===void 0){var _currentRequire;cache=((_currentRequire=currentRequire)===null||_currentRequire===void 0?void 0:_currentRequire.cache)||__webpack_require__.c}var backup={};for(var _i=0,_Object$entries=Object.entries(cache);_i<_Object$entries.length;_i++){var _Object$entries$_i=_slicedToArray(_Object$entries[_i],2),key=_Object$entries$_i[0],_module=_Object$entries$_i[1];backup[key]=_module;delete cache[key]}return backup};var restoreRequireCache=function restoreRequireCache(cache,backup){if(cache===void 0){var _currentRequire2;cache=((_currentRequire2=currentRequire)===null||_currentRequire2===void 0?void 0:_currentRequire2.cache)||__webpack_require__.c}clearRequireCache();for(var _i2=0,_Object$entries2=Object.entries(backup);_i2<_Object$entries2.length;_i2++){var _Object$entries2$_i=_slicedToArray(_Object$entries2[_i2],2),key=_Object$entries2$_i[0],_module2=_Object$entries2$_i[1];cache[key]=_module2}};var isolatedRequire=function isolatedRequire(path,requireFunction){if(requireFunction===void 0){requireFunction=currentRequire||__webpack_require__(6)}var backup=clearRequireCache(requireFunction.cache);try{return requireFunction(path);// eslint-disable-next-line no-useless-catch
42
47
  }catch(error){throw error}finally{restoreRequireCache(requireFunction.cache,backup)}};var optionalImport=/*#__PURE__*/function(){var _optionalImport=_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2(id,options){var _t2,_t3;return _regenerator().w(function(_context2){while(1)switch(_context2.p=_context2.n){case 0:if(options===void 0){options={}}_context2.p=1;if(!isImportSyntaxSupported()){_context2.n=3;break}_context2.n=2;return new Function("options","return import('".concat(id,"', options)"))(options);case 2:_t2=_context2.v;_context2.n=5;break;case 3:_context2.n=4;return Promise.resolve(null);case 4:_t2=_context2.v;case 5:return _context2.a(2,_t2);case 6:_context2.p=6;_t3=_context2.v;_context2.n=7;return Promise.resolve(null);case 7:return _context2.a(2,_context2.v)}},_callee2,null,[[1,6]])}));function optionalImport(_x,_x2){return _optionalImport.apply(this,arguments)}return optionalImport}();
43
48
 
44
49
  /***/ }),
@@ -280,40 +285,63 @@ timeoutID=null;recentParameters=[]},thresholdInMilliseconds)}};/**
280
285
  /******/
281
286
  /************************************************************************/
282
287
  /******/ /* webpack/runtime/define property getters */
283
- /******/ // define getter/value functions for harmony exports
284
- /******/ __webpack_require__.d = function(exports, definition) {
285
- /******/ for(var key in definition) {
286
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
287
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
288
+ /******/ !function() {
289
+ /******/ // define getter/value functions for harmony exports
290
+ /******/ __webpack_require__.d = function(exports, definition) {
291
+ /******/ if(Array.isArray(definition)) {
292
+ /******/ var i = 0;
293
+ /******/ while(i < definition.length) {
294
+ /******/ var key = definition[i++];
295
+ /******/ var binding = definition[i++];
296
+ /******/ if(!__webpack_require__.o(exports, key)) {
297
+ /******/ if(binding === 0) {
298
+ /******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
299
+ /******/ } else {
300
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
301
+ /******/ }
302
+ /******/ } else if(binding === 0) { i++; }
303
+ /******/ }
304
+ /******/ } else {
305
+ /******/ for(var key in definition) {
306
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
307
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
308
+ /******/ }
309
+ /******/ }
288
310
  /******/ }
289
- /******/ }
290
- /******/ };
311
+ /******/ };
312
+ /******/ }();
291
313
  /******/
292
314
  /******/ /* webpack/runtime/global */
293
- /******/ __webpack_require__.g = (function() {
294
- /******/ if (typeof globalThis === 'object') return globalThis;
295
- /******/ try {
296
- /******/ return this || new Function('return this')();
297
- /******/ } catch (e) {
298
- /******/ if (typeof window === 'object') return window;
299
- /******/ }
300
- /******/ })();
315
+ /******/ !function() {
316
+ /******/ __webpack_require__.g = (function() {
317
+ /******/ if (typeof globalThis === 'object') return globalThis;
318
+ /******/ try {
319
+ /******/ return this || new Function('return this')();
320
+ /******/ } catch (e) {
321
+ /******/ if (typeof window === 'object') return window;
322
+ /******/ }
323
+ /******/ })();
324
+ /******/ }();
301
325
  /******/
302
326
  /******/ /* webpack/runtime/harmony module decorator */
303
- /******/ __webpack_require__.hmd = function(module) {
304
- /******/ module = Object.create(module);
305
- /******/ if (!module.children) module.children = [];
306
- /******/ Object.defineProperty(module, 'exports', {
307
- /******/ enumerable: true,
308
- /******/ set: function() {
309
- /******/ throw new Error('ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ' + module.id);
310
- /******/ }
311
- /******/ });
312
- /******/ return module;
313
- /******/ };
327
+ /******/ !function() {
328
+ /******/ __webpack_require__.hmd = function(module) {
329
+ /******/ module = Object.create(module);
330
+ /******/ if (!module.children) module.children = [];
331
+ /******/ Object.defineProperty(module, 'exports', {
332
+ /******/ enumerable: true,
333
+ /******/ set: function() {
334
+ /******/ throw new Error('ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ' + module.id);
335
+ /******/ }
336
+ /******/ });
337
+ /******/ return module;
338
+ /******/ };
339
+ /******/ }();
314
340
  /******/
315
341
  /******/ /* webpack/runtime/hasOwnProperty shorthand */
316
- /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); };
342
+ /******/ !function() {
343
+ /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
344
+ /******/ }();
317
345
  /******/
318
346
  /************************************************************************/
319
347
  /******/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clientnode",
3
- "version": "4.0.1506",
3
+ "version": "4.0.1508",
4
4
  "description": "Handy utilities for any JavaScript environments.",
5
5
  "keywords": [
6
6
  "client",
@@ -91,9 +91,9 @@
91
91
  "babel-plugin-polyfill-corejs3": "^1.0.0",
92
92
  "babel-plugin-transform-rewrite-imports": "^1.5.4",
93
93
  "clientnode": "workspace:.",
94
- "eslint": "^10.9.1",
94
+ "eslint": "^10.10.0",
95
95
  "eslint-config-google": "^0.14.0",
96
- "eslint-plugin-jsdoc": "^64.3.5",
96
+ "eslint-plugin-jsdoc": "^64.3.6",
97
97
  "favicons-webpack-plugin": "^6.0.1",
98
98
  "image-minimizer-webpack-plugin": "^5.0.0",
99
99
  "jest": "^30.5.1",
@@ -103,7 +103,7 @@
103
103
  "rimraf": "^6.1.3",
104
104
  "typescript-eslint": "^8.69.0",
105
105
  "web-documentation": "^1.0.52",
106
- "weboptimizer": "^4.0.75",
106
+ "weboptimizer": "^4.0.77",
107
107
  "webpack-dev-server": "^6.0.0"
108
108
  },
109
109
  "peerDependencies": {
@@ -127,7 +127,8 @@
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.1504"
130
+ "weboptimizer/clientnode": "4.0.1506",
131
+ "webpack": "5.109.2"
131
132
  },
132
133
  "engines": {
133
134
  "node": ">=26",