clientnode 4.0.1493 → 4.0.1495

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 (113) hide show
  1. package/dist/Lock.d.ts +39 -0
  2. package/dist/Lock.js +68 -83
  3. package/dist/Logger.d.ts +102 -0
  4. package/dist/Logger.js +693 -163
  5. package/dist/Semaphore.d.ts +29 -0
  6. package/dist/Semaphore.js +55 -46
  7. package/dist/array.d.ts +150 -0
  8. package/dist/array.js +545 -337
  9. package/dist/bundle/index.js +4512 -0
  10. package/dist/cli.d.ts +31 -0
  11. package/dist/cli.js +44 -37
  12. package/dist/compatible/Lock.js +85 -0
  13. package/dist/compatible/Logger.js +715 -0
  14. package/dist/compatible/Semaphore.js +74 -0
  15. package/dist/compatible/array.js +660 -0
  16. package/dist/compatible/cli.js +58 -0
  17. package/dist/compatible/constants.js +200 -0
  18. package/dist/compatible/context.js +224 -0
  19. package/dist/compatible/cookie.js +240 -0
  20. package/dist/compatible/data-transfer.js +751 -0
  21. package/dist/compatible/datetime.js +1088 -0
  22. package/dist/compatible/domNode.js +481 -0
  23. package/dist/compatible/expression/evaluators.js +1152 -0
  24. package/dist/compatible/expression/helper.js +115 -0
  25. package/dist/compatible/expression/index.js +1274 -0
  26. package/dist/compatible/expression/indicator-functions.js +224 -0
  27. package/dist/compatible/expression/type.js +16 -0
  28. package/dist/compatible/filesystem.js +373 -0
  29. package/dist/compatible/function.js +114 -0
  30. package/dist/compatible/index.js +3081 -0
  31. package/dist/compatible/indicators.js +471 -0
  32. package/dist/compatible/module.js +168 -0
  33. package/dist/compatible/number.js +433 -0
  34. package/dist/compatible/object.js +1042 -0
  35. package/dist/compatible/process.js +230 -0
  36. package/dist/compatible/property-types.js +36 -0
  37. package/dist/compatible/scope.js +2016 -0
  38. package/dist/compatible/string.js +1156 -0
  39. package/dist/compatible/test-helper.js +837 -0
  40. package/dist/compatible/type.js +16 -0
  41. package/dist/compatible/utility.js +358 -0
  42. package/dist/constants.d.ts +99 -0
  43. package/dist/constants.js +184 -110
  44. package/dist/context.d.ts +8 -0
  45. package/dist/context.js +209 -25
  46. package/dist/cookie.d.ts +31 -0
  47. package/dist/cookie.js +204 -48
  48. package/dist/data-transfer.d.ts +45 -0
  49. package/dist/data-transfer.js +701 -166
  50. package/dist/datetime.d.ts +37 -0
  51. package/dist/datetime.js +1047 -245
  52. package/dist/domNode.d.ts +82 -0
  53. package/dist/domNode.js +427 -277
  54. package/dist/expression/evaluators.d.ts +55 -0
  55. package/dist/expression/evaluators.js +1113 -234
  56. package/dist/expression/helper.d.ts +4 -0
  57. package/dist/expression/helper.js +100 -82
  58. package/dist/expression/index.d.ts +7 -0
  59. package/dist/expression/index.js +1258 -10
  60. package/dist/expression/indicator-functions.d.ts +14 -0
  61. package/dist/expression/indicator-functions.js +208 -21
  62. package/dist/expression/type.d.ts +70 -0
  63. package/dist/expression/type.js +1 -5
  64. package/dist/filesystem.d.ts +143 -0
  65. package/dist/filesystem.js +286 -324
  66. package/dist/function.d.ts +20 -0
  67. package/dist/function.js +90 -51
  68. package/dist/index.d.ts +23 -0
  69. package/dist/index.js +3064 -26
  70. package/dist/indicators.d.ts +68 -0
  71. package/dist/indicators.js +418 -79
  72. package/dist/module.d.ts +10 -0
  73. package/dist/module.js +154 -109
  74. package/dist/number.d.ts +35 -0
  75. package/dist/number.js +397 -25
  76. package/dist/object.d.ts +231 -0
  77. package/dist/object.js +854 -803
  78. package/dist/process.d.ts +22 -0
  79. package/dist/process.js +200 -38
  80. package/dist/property-types.d.ts +460 -0
  81. package/dist/property-types.js +17 -96
  82. package/dist/scope.d.ts +44 -0
  83. package/dist/scope.js +1987 -56
  84. package/dist/string.d.ts +319 -0
  85. package/dist/string.js +929 -626
  86. package/dist/test/Lock.d.ts +1 -0
  87. package/dist/test/Logger.d.ts +1 -0
  88. package/dist/test/Semaphore.d.ts +1 -0
  89. package/dist/test/array.d.ts +1 -0
  90. package/dist/test/cookie.d.ts +1 -0
  91. package/dist/test/data-transfer.d.ts +1 -0
  92. package/dist/test/datetime.d.ts +1 -0
  93. package/dist/test/domNode.d.ts +1 -0
  94. package/dist/test/expression/evaluators.d.ts +1 -0
  95. package/dist/test/expression/helper.d.ts +1 -0
  96. package/dist/test/expression/indicator-functions.d.ts +1 -0
  97. package/dist/test/filesystem.d.ts +1 -0
  98. package/dist/test/function.d.ts +1 -0
  99. package/dist/test/indicators.d.ts +1 -0
  100. package/dist/test/number.d.ts +1 -0
  101. package/dist/test/object.d.ts +1 -0
  102. package/dist/test/process.d.ts +1 -0
  103. package/dist/test/property-types.d.ts +1 -0
  104. package/dist/test/scope.d.ts +1 -0
  105. package/dist/test/string.d.ts +1 -0
  106. package/dist/test/utility.d.ts +1 -0
  107. package/dist/test-helper.d.ts +245 -0
  108. package/dist/test-helper.js +514 -289
  109. package/dist/type.d.ts +248 -0
  110. package/dist/type.js +4 -9
  111. package/dist/utility.d.ts +44 -0
  112. package/dist/utility.js +310 -91
  113. package/package.json +2 -2
@@ -0,0 +1,10 @@
1
+ import type { FirstParameter } from './type';
2
+ export declare const determineGlobalContext: () => Partial<typeof globalThis>;
3
+ export declare const isImportSyntaxSupported: () => boolean;
4
+ export declare let currentRequire: NodeJS.Require | null;
5
+ export declare let optionalRequire: <T = unknown>(id: string) => null | T;
6
+ export declare const setOptionalRequire: (localCurrentRequire: typeof currentRequire) => void;
7
+ export declare const getCurrentRequire: () => Promise<null | typeof require>;
8
+ export declare const clearRequireCache: (cache?: typeof require.cache) => typeof require.cache;
9
+ export declare const isolatedRequire: (path: FirstParameter<typeof require>, requireFunction?: typeof require) => ReturnType<typeof require>;
10
+ export declare const optionalImport: <T = unknown>(id: string, options?: {}) => Promise<null | T>;
package/dist/module.js CHANGED
@@ -1,9 +1,23 @@
1
+ if(typeof window==='undefined'||window===null)var window=(typeof globalThis==='undefined'||globalThis===null)?{}:globalThis;/******/ var __webpack_modules__ = ({
2
+
3
+ /***/ 2:
4
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
+
6
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
7
+ /* harmony export */ Dx: function() { return /* binding */ isolatedRequire; },
8
+ /* harmony export */ I5: function() { return /* binding */ optionalRequire; },
9
+ /* harmony export */ Ni: function() { return /* binding */ clearRequireCache; },
10
+ /* harmony export */ SD: function() { return /* binding */ setOptionalRequire; },
11
+ /* harmony export */ Sw: function() { return /* binding */ optionalImport; },
12
+ /* harmony export */ a8: function() { return /* binding */ determineGlobalContext; },
13
+ /* harmony export */ lE: function() { return /* binding */ currentRequire; },
14
+ /* harmony export */ xN: function() { return /* binding */ isImportSyntaxSupported; },
15
+ /* harmony export */ zM: function() { return /* binding */ getCurrentRequire; }
16
+ /* harmony export */ });
17
+ /* module decorator */ module = __webpack_require__.hmd(module);
1
18
  // #!/usr/bin/env babel-node
2
19
  // -*- coding: utf-8 -*-
3
- /** @module module */
4
- 'use strict';
5
-
6
- /* !
20
+ /** @module module *//* !
7
21
  region header
8
22
  [Project page](https://torben.website/clientnode)
9
23
 
@@ -16,108 +30,139 @@
16
30
  naming 3.0 unported license.
17
31
  See https://creativecommons.org/licenses/by/3.0/deed.de
18
32
  endregion
19
- */
20
- export const determineGlobalContext = () => {
21
- if (typeof globalThis === 'undefined') {
22
- if (typeof window === 'undefined') {
23
- if (typeof global === 'undefined') return typeof module === 'undefined' ? {} : module;
24
- if (Object.prototype.hasOwnProperty.call(global, 'window')) return global.window;
25
- return global;
26
- }
27
- return window;
28
- }
29
- return globalThis;
30
- };
31
- const globalContext = determineGlobalContext();
32
- export const isImportSyntaxSupported = () => {
33
- try {
34
- // eslint-disable-next-line @typescript-eslint/no-implied-eval
35
- new Function('import("data:text/javascript,")');
36
- return true;
37
- } catch {
38
- return false;
39
- }
40
- };
41
- export let currentRequire = typeof globalContext.require === 'undefined' ? null : globalContext.require;
42
- export let optionalRequire;
43
- export const setOptionalRequire = localCurrentRequire => {
44
- optionalRequire = id => {
45
- try {
46
- return localCurrentRequire ? localCurrentRequire(id) : null;
47
- } catch {
48
- return null;
49
- }
50
- };
51
- };
52
- setOptionalRequire(currentRequire);
53
- // Make preprocessed require function available at runtime.
54
- export const getCurrentRequire = async () => {
55
- if (currentRequire) return currentRequire;
56
- try {
57
- const {
58
- createRequire
59
- } =
60
- /*
61
- eslint-disable
62
- @typescript-eslint/no-implied-eval,
63
- @typescript-eslint/no-unsafe-call
64
- */
65
- await new Function('return import("node:module")')();
66
- /*
67
- eslint-enable
68
- @typescript-eslint/no-implied-eval,
69
- @typescript-eslint/no-unsafe-call
70
- */
71
- // eslint-disable-next-line @typescript-eslint/no-unsafe-call
72
- currentRequire = createRequire(import.meta.url);
73
- setOptionalRequire(currentRequire);
74
- return currentRequire;
75
- } catch (error) {
76
- console.error(error);
77
- return null;
78
- }
79
- };
80
- export const clearRequireCache = (cache = currentRequire?.cache || require.cache) => {
81
- const backup = {};
82
- for (const [key, module] of Object.entries(cache)) {
83
- backup[key] = module;
84
- delete cache[key];
85
- }
86
- return backup;
87
- };
88
- const restoreRequireCache = (cache = currentRequire?.cache || require.cache, backup) => {
89
- clearRequireCache();
90
- for (const [key, module] of Object.entries(backup)) cache[key] = module;
91
- };
92
- export const isolatedRequire = (path, requireFunction = currentRequire || require) => {
93
- const backup = clearRequireCache(requireFunction.cache);
94
- try {
95
- return requireFunction(path);
96
- // eslint-disable-next-line no-useless-catch
97
- } catch (error) {
98
- throw error;
99
- } finally {
100
- restoreRequireCache(requireFunction.cache, backup);
101
- }
102
- };
103
- export const optionalImport = async (id, options = {}) => {
104
- try {
105
- return isImportSyntaxSupported() ?
106
- /*
107
- eslint-disable
108
- @typescript-eslint/no-implied-eval,
109
- @typescript-eslint/no-unsafe-call
110
- */
111
- await new Function('options', `return import('${id}', options)`)(options) : await Promise.resolve(null);
112
- /*
113
- eslint-enable
114
- @typescript-eslint/no-implied-eval,
115
- @typescript-eslint/no-unsafe-call
116
- */
117
- } catch /* (error)*/{
118
- // NOTE: Use for debugging only:
119
- // console.error('OptionalImport failed for', id, error)
120
- return await Promise.resolve(null);
121
- }
122
- };
123
- //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6W10sInNvdXJjZXMiOlsiLi4vc3JjL21vZHVsZS50cyJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyAjIS91c3IvYmluL2VudiBiYWJlbC1ub2RlXG4vLyAtKi0gY29kaW5nOiB1dGYtOCAtKi1cbi8qKiBAbW9kdWxlIG1vZHVsZSAqL1xuJ3VzZSBzdHJpY3QnXG4vKiAhXG4gICAgcmVnaW9uIGhlYWRlclxuICAgIFtQcm9qZWN0IHBhZ2VdKGh0dHBzOi8vdG9yYmVuLndlYnNpdGUvY2xpZW50bm9kZSlcblxuICAgIENvcHlyaWdodCBUb3JiZW4gU2lja2VydCAoaW5mb1tcIn5hdH5cIl10b3JiZW4ud2Vic2l0ZSkgMTYuMTIuMjAxMlxuXG4gICAgTGljZW5zZVxuICAgIC0tLS0tLS1cblxuICAgIFRoaXMgbGlicmFyeSB3cml0dGVuIGJ5IFRvcmJlbiBTaWNrZXJ0IHN0YW5kcyB1bmRlciBhIGNyZWF0aXZlIGNvbW1vbnNcbiAgICBuYW1pbmcgMy4wIHVucG9ydGVkIGxpY2Vuc2UuXG4gICAgU2VlIGh0dHBzOi8vY3JlYXRpdmVjb21tb25zLm9yZy9saWNlbnNlcy9ieS8zLjAvZGVlZC5kZVxuICAgIGVuZHJlZ2lvblxuKi9cbmltcG9ydCB0eXBlIHtGaXJzdFBhcmFtZXRlcn0gZnJvbSAnLi90eXBlJ1xuXG5leHBvcnQgY29uc3QgZGV0ZXJtaW5lR2xvYmFsQ29udGV4dCA9ICgpOiBQYXJ0aWFsPHR5cGVvZiBnbG9iYWxUaGlzPiA9PiB7XG4gICAgaWYgKHR5cGVvZiBnbG9iYWxUaGlzID09PSAndW5kZWZpbmVkJykge1xuICAgICAgICBpZiAodHlwZW9mIHdpbmRvdyA9PT0gJ3VuZGVmaW5lZC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CBiYWNrdXApXG4gICAgfVxufVxuXG5leHBvcnQgY29uc3Qgb3B0aW9uYWxJbXBvcnQgPSBhc3luYyA8VCA9IHVua25vd24+KFxuICAgIGlkOiBzdHJpbmcsIG9wdGlvbnMgPSB7fVxuKTogUHJvbWlzZTxudWxsIHwgVD4gPT4ge1xuICAgIHRyeSB7XG4gICAgICAgIHJldHVybiBpc0ltcG9ydFN5bnRheFN1cHBvcnRlZCgpID9cbiAgICAgICAgICAgIC8qXG4gICAgICAgICAgICAgICAgZXNsaW50LWRpc2FibGVcbiAgICAgICAgICAgICAgICBAdHlwZXNjcmlwdC1lc2xpbnQvbm8taW1wbGllZC1ldmFsLFxuICAgICAgICAgICAgICAgIEB0eXBlc2NyaXB0LWVzbGludC9uby11bnNhZmUtY2FsbFxuICAgICAgICAgICAgKi9cbiAgICAgICAgICAgIGF3YWl0ICgobmV3IEZ1bmN0aW9uKFxuICAgICAgICAgICAgICAgICdvcHRpb25zJywgYHJldHVybiBpbXBvcnQoJyR7aWR9Jywgb3B0aW9ucylgXG4gICAgICAgICAgICApKShvcHRpb25zKSBhcyBQcm9taXNlPFQ+KSA6XG4gICAgICAgICAgICBhd2FpdCBQcm9taXNlLnJlc29sdmUobnVsbClcbiAgICAgICAgICAgIC8qXG4gICAgICAgICAgICAgICAgZXNsaW50LWVuYWJsZVxuICAgICAgICAgICAgICAgIEB0eXBlc2NyaXB0LWVzbGludC9uby1pbXBsaWVkLWV2YWwsXG4gICAgICAgICAgICAgICAgQHR5cGVzY3JpcHQtZXNsaW50L25vLXVuc2FmZS1jYWxsXG4gICAgICAgICAgICAqL1xuICAgIH0gY2F0Y2ggLyogKGVycm9yKSovIHtcbiAgICAgICAgLy8gTk9URTogVXNlIGZvciBkZWJ1Z2dpbmcgb25seTpcbiAgICAgICAgLy8gY29uc29sZS5lcnJvcignT3B0aW9uYWxJbXBvcnQgZmFpbGVkIGZvcicsIGlkLCBlcnJvcilcbiAgICAgICAgcmV0dXJuIGF3YWl0IFByb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sQ0FBQztJQUM1QjtBQUNaO0FBQ0E7QUFDQTtBQUNBO0lBQ1ksTUFBUSxJQUFJLFFBQVEsQ0FDaEIsU0FBUyxFQUFFLGtCQUFrQixFQUFFLGFBQ25DLENBQUMsQ0FBRSxPQUFPLENBQWdCLEdBQzFCLE1BQU0sT0FBTyxDQUFDLE9BQU8sQ0FBQyxJQUFJLENBQUM7SUFDM0I7QUFDWjtBQUNBO0FBQ0E7QUFDQTtFQUNJLENBQUMsQ0FBQyxNQUFNLFlBQWE7SUFDakI7SUFDQTtJQUNBLE9BQU8sTUFBTSxPQUFPLENBQUMsT0FBTyxDQUFDLElBQUksQ0FBQztFQUN0QztBQUNKLENBQUMiLCJpZ25vcmVMaXN0IjpbXX0=
33
+ */function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return}finally{if(o)throw n}}return a}}function _arrayWithHoles(r){if(Array.isArray(r))return r}function _regenerator(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof Generator?n:Generator,u=Object.create(c.prototype);return _regeneratorDefine2(u,"_invoke",function(r,n,o){var i,c,u,f=0,p=o||[],y=!1,G={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function d(t,r){return i=t,c=0,u=e,G.n=r,a}};function d(r,n){for(c=r,u=n,t=0;!y&&f&&!o&&t<p.length;t++){var o,i=p[t],d=G.p,l=i[2];r>3?(o=l===n)&&(u=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=r<2&&d<i[1])?(c=0,G.v=n,G.n=i[1]):d<l&&(o=r<3||i[0]>n||n>l)&&(i[4]=r,i[5]=n,G.n=l,c=0))}if(o||r>1)return a;throw y=!0,n}return function(o,p,l){if(f>1)throw TypeError("Generator is already running");for(y&&1===p&&d(p,l),c=p,u=l;(t=c<2?e:u)||!y;){i||(c?c<3?(c>1&&(G.n=-1),d(c,u)):G.n=u:G.v=u);try{if(f=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,c<2&&(c=0)}else 1===c&&(t=i.return)&&t.call(i),c<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e}else if((t=(y=G.n<0)?u:r.call(n,G))!==a)break}catch(t){i=e,c=1,u=t}finally{f=1}}return{value:t,done:y}}}(r,o,i),!0),u}var a={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}t=Object.getPrototypeOf;var c=[][n]?t(t([][n]())):(_regeneratorDefine2(t={},n,function(){return this}),t),u=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,_regeneratorDefine2(e,o,"GeneratorFunction")),e.prototype=Object.create(u),e}return GeneratorFunction.prototype=GeneratorFunctionPrototype,_regeneratorDefine2(u,"constructor",GeneratorFunctionPrototype),_regeneratorDefine2(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName="GeneratorFunction",_regeneratorDefine2(GeneratorFunctionPrototype,o,"GeneratorFunction"),_regeneratorDefine2(u),_regeneratorDefine2(u,o,"Generator"),_regeneratorDefine2(u,n,function(){return this}),_regeneratorDefine2(u,"toString",function(){return"[object Generator]"}),(_regenerator=function _regenerator(){return{w:i,m:f}})()}function _regeneratorDefine2(e,r,n,t){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}_regeneratorDefine2=function _regeneratorDefine(e,r,n,t){function o(r,n){_regeneratorDefine2(e,r,function(e){return this._invoke(r,n,e)})}r?i?i(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n:(o("next",0),o("throw",1),o("return",2))},_regeneratorDefine2(e,r,n,t)}function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value}catch(n){return void e(n)}i.done?t(u):Promise.resolve(u).then(r,o)}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n)}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n)}_next(void 0)})}}var determineGlobalContext=function determineGlobalContext(){if(typeof globalThis==="undefined"){if(typeof window==="undefined"){if(typeof __webpack_require__.g==="undefined")return false?0:module;if(Object.prototype.hasOwnProperty.call(__webpack_require__.g,"window"))return __webpack_require__.g.window;return __webpack_require__.g}return window}return globalThis};var globalContext=determineGlobalContext();var isImportSyntaxSupported=function isImportSyntaxSupported(){try{// eslint-disable-next-line @typescript-eslint/no-implied-eval
34
+ new Function("import(\"data:text/javascript,\")");return true}catch(_unused){return false}};var currentRequire=typeof globalContext.require==="undefined"?null:globalContext.require;var optionalRequire;var setOptionalRequire=function setOptionalRequire(localCurrentRequire){optionalRequire=function optionalRequire(id){try{return localCurrentRequire?localCurrentRequire(id):null}catch(_unused2){return null}}};setOptionalRequire(currentRequire);// Make preprocessed require function available at runtime.
35
+ var getCurrentRequire=/*#__PURE__*/function(){var _getCurrentRequire=_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(){var _yield$Function,createRequire,_t;return _regenerator().w(function(_context){while(1)switch(_context.p=_context.n){case 0:if(!currentRequire){_context.n=1;break}return _context.a(2,currentRequire);case 1:_context.p=1;_context.n=2;return new Function("return import(\"node:module\")")();case 2:_yield$Function=_context.v;createRequire=_yield$Function.createRequire;/*
36
+ eslint-enable
37
+ @typescript-eslint/no-implied-eval,
38
+ @typescript-eslint/no-unsafe-call
39
+ */// eslint-disable-next-line @typescript-eslint/no-unsafe-call
40
+ 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
41
+ }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}();
42
+
43
+ /***/ }),
44
+
45
+ /***/ 6:
46
+ /***/ (function(module) {
47
+
48
+ function webpackEmptyContext(req) {
49
+ var e = new Error("Cannot find module '" + req + "'");
50
+ e.code = 'MODULE_NOT_FOUND';
51
+ throw e;
52
+ }
53
+ webpackEmptyContext.keys = function() { return []; };
54
+ webpackEmptyContext.resolve = webpackEmptyContext;
55
+ webpackEmptyContext.id = 6;
56
+ module.exports = webpackEmptyContext;
57
+
58
+ /***/ })
59
+
60
+ /******/ });
61
+ /************************************************************************/
62
+ /******/ // The module cache
63
+ /******/ var __webpack_module_cache__ = {};
64
+ /******/
65
+ /******/ // The require function
66
+ /******/ function __webpack_require__(moduleId) {
67
+ /******/ // Check if module is in cache
68
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
69
+ /******/ if (cachedModule !== undefined) {
70
+ /******/ return cachedModule.exports;
71
+ /******/ }
72
+ /******/ // Create a new module (and put it into the cache)
73
+ /******/ var module = __webpack_module_cache__[moduleId] = {
74
+ /******/ id: moduleId,
75
+ /******/ loaded: false,
76
+ /******/ exports: {}
77
+ /******/ };
78
+ /******/
79
+ /******/ // Execute the module function
80
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
81
+ /******/
82
+ /******/ // Flag the module as loaded
83
+ /******/ module.loaded = true;
84
+ /******/
85
+ /******/ // Return the exports of the module
86
+ /******/ return module.exports;
87
+ /******/ }
88
+ /******/
89
+ /******/ // expose the module cache
90
+ /******/ __webpack_require__.c = __webpack_module_cache__;
91
+ /******/
92
+ /************************************************************************/
93
+ /******/ /* webpack/runtime/define property getters */
94
+ /******/ !function() {
95
+ /******/ // define getter/value functions for harmony exports
96
+ /******/ __webpack_require__.d = function(exports, definition) {
97
+ /******/ if(Array.isArray(definition)) {
98
+ /******/ var i = 0;
99
+ /******/ while(i < definition.length) {
100
+ /******/ var key = definition[i++];
101
+ /******/ var binding = definition[i++];
102
+ /******/ if(!__webpack_require__.o(exports, key)) {
103
+ /******/ if(binding === 0) {
104
+ /******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
105
+ /******/ } else {
106
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
107
+ /******/ }
108
+ /******/ } else if(binding === 0) { i++; }
109
+ /******/ }
110
+ /******/ } else {
111
+ /******/ for(var key in definition) {
112
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
113
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
114
+ /******/ }
115
+ /******/ }
116
+ /******/ }
117
+ /******/ };
118
+ /******/ }();
119
+ /******/
120
+ /******/ /* webpack/runtime/global */
121
+ /******/ !function() {
122
+ /******/ __webpack_require__.g = (function() {
123
+ /******/ if (typeof globalThis === 'object') return globalThis;
124
+ /******/ try {
125
+ /******/ return this || new Function('return this')();
126
+ /******/ } catch (e) {
127
+ /******/ if (typeof window === 'object') return window;
128
+ /******/ }
129
+ /******/ })();
130
+ /******/ }();
131
+ /******/
132
+ /******/ /* webpack/runtime/harmony module decorator */
133
+ /******/ !function() {
134
+ /******/ __webpack_require__.hmd = function(module) {
135
+ /******/ module = Object.create(module);
136
+ /******/ if (!module.children) module.children = [];
137
+ /******/ Object.defineProperty(module, 'exports', {
138
+ /******/ enumerable: true,
139
+ /******/ set: function() {
140
+ /******/ throw new Error('ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ' + module.id);
141
+ /******/ }
142
+ /******/ });
143
+ /******/ return module;
144
+ /******/ };
145
+ /******/ }();
146
+ /******/
147
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
148
+ /******/ !function() {
149
+ /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
150
+ /******/ }();
151
+ /******/
152
+ /************************************************************************/
153
+ /******/
154
+ /******/ // module cache are used so entry inlining is disabled
155
+ /******/ // startup
156
+ /******/ // Load entry module and return exports
157
+ /******/ var __webpack_exports__ = __webpack_require__(2);
158
+ /******/ var __webpack_exports__clearRequireCache = __webpack_exports__.Ni;
159
+ /******/ var __webpack_exports__currentRequire = __webpack_exports__.lE;
160
+ /******/ var __webpack_exports__determineGlobalContext = __webpack_exports__.a8;
161
+ /******/ var __webpack_exports__getCurrentRequire = __webpack_exports__.zM;
162
+ /******/ var __webpack_exports__isImportSyntaxSupported = __webpack_exports__.xN;
163
+ /******/ var __webpack_exports__isolatedRequire = __webpack_exports__.Dx;
164
+ /******/ var __webpack_exports__optionalImport = __webpack_exports__.Sw;
165
+ /******/ var __webpack_exports__optionalRequire = __webpack_exports__.I5;
166
+ /******/ var __webpack_exports__setOptionalRequire = __webpack_exports__.SD;
167
+ /******/ export { __webpack_exports__clearRequireCache as clearRequireCache, __webpack_exports__currentRequire as currentRequire, __webpack_exports__determineGlobalContext as determineGlobalContext, __webpack_exports__getCurrentRequire as getCurrentRequire, __webpack_exports__isImportSyntaxSupported as isImportSyntaxSupported, __webpack_exports__isolatedRequire as isolatedRequire, __webpack_exports__optionalImport as optionalImport, __webpack_exports__optionalRequire as optionalRequire, __webpack_exports__setOptionalRequire as setOptionalRequire };
168
+ /******/
@@ -0,0 +1,35 @@
1
+ /**
2
+ * Determines corresponding utc timestamp for given date object.
3
+ * @param value - Date to convert.
4
+ * @param inMilliseconds - Indicates whether given number should be in
5
+ * seconds (default) or milliseconds.
6
+ * @returns Determined numerous value.
7
+ */
8
+ export declare const getUTCTimestamp: (value?: Date | null | number | string, inMilliseconds?: boolean) => number;
9
+ /**
10
+ * Checks if given object is java scripts native "Number.NaN" object.
11
+ * @param value - Value to check.
12
+ * @returns Returns whether given value is not a number or not.
13
+ */
14
+ export declare const isNotANumber: (value: unknown) => boolean;
15
+ /**
16
+ * Rounds a given number accurate to given number of digits.
17
+ * @param number - The number to round.
18
+ * @param digits - The number of digits after comma.
19
+ * @returns Returns the rounded number.
20
+ */
21
+ export declare const round: (number: number, digits?: number) => number;
22
+ /**
23
+ * Rounds a given number up accurate to given number of digits.
24
+ * @param number - The number to round.
25
+ * @param digits - The number of digits after comma.
26
+ * @returns Returns the rounded number.
27
+ */
28
+ export declare const ceil: (number: number, digits?: number) => number;
29
+ /**
30
+ * Rounds a given number down accurate to given number of digits.
31
+ * @param number - The number to round.
32
+ * @param digits - The number of digits after comma.
33
+ * @returns Returns the rounded number.
34
+ */
35
+ export declare const floor: (number: number, digits?: number) => number;