clientnode 4.0.1458 → 4.0.1459

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 (142) hide show
  1. package/dist/Lock.js +83 -69
  2. package/dist/Logger.js +163 -798
  3. package/dist/Semaphore.js +46 -56
  4. package/dist/array.js +337 -668
  5. package/dist/cli.js +37 -45
  6. package/dist/constants.js +110 -198
  7. package/dist/context.js +25 -301
  8. package/dist/cookie.js +48 -302
  9. package/dist/data-transfer.js +166 -817
  10. package/dist/datetime.js +241 -1149
  11. package/dist/domNode.js +277 -532
  12. package/dist/expression/evaluators.js +234 -1231
  13. package/dist/expression/helper.js +82 -102
  14. package/dist/expression/index.js +10 -1383
  15. package/dist/expression/indicator-functions.js +21 -316
  16. package/dist/expression/type.js +5 -1
  17. package/dist/filesystem.js +324 -385
  18. package/dist/function.js +51 -93
  19. package/dist/index.js +26 -3274
  20. package/dist/indicators.js +68 -519
  21. package/dist/module.js +99 -233
  22. package/dist/number.js +25 -498
  23. package/dist/object.js +791 -958
  24. package/dist/process.js +38 -298
  25. package/dist/property-types.js +96 -17
  26. package/dist/scope.js +56 -2134
  27. package/dist/string.js +603 -1030
  28. package/dist/test-helper.js +171 -639
  29. package/dist/type.js +9 -4
  30. package/dist/utility.js +91 -408
  31. package/package.json +2 -2
  32. package/dist/Lock.d.ts +0 -39
  33. package/dist/Logger.d.ts +0 -102
  34. package/dist/Semaphore.d.ts +0 -29
  35. package/dist/array.d.ts +0 -150
  36. package/dist/bundle/Lock.js +0 -86
  37. package/dist/bundle/Logger.js +0 -820
  38. package/dist/bundle/Semaphore.js +0 -75
  39. package/dist/bundle/array.js +0 -783
  40. package/dist/bundle/cli.js +0 -59
  41. package/dist/bundle/constants.js +0 -214
  42. package/dist/bundle/context.js +0 -316
  43. package/dist/bundle/cookie.js +0 -338
  44. package/dist/bundle/data-transfer.js +0 -867
  45. package/dist/bundle/datetime.js +0 -1190
  46. package/dist/bundle/domNode.js +0 -586
  47. package/dist/bundle/expression/evaluators.js +0 -1270
  48. package/dist/bundle/expression/helper.js +0 -117
  49. package/dist/bundle/expression/index.js +0 -1399
  50. package/dist/bundle/expression/indicator-functions.js +0 -332
  51. package/dist/bundle/expression/type.js +0 -16
  52. package/dist/bundle/filesystem.js +0 -472
  53. package/dist/bundle/function.js +0 -117
  54. package/dist/bundle/index.js +0 -3291
  55. package/dist/bundle/indicators.js +0 -572
  56. package/dist/bundle/module.js +0 -250
  57. package/dist/bundle/number.js +0 -534
  58. package/dist/bundle/object.js +0 -1146
  59. package/dist/bundle/process.js +0 -328
  60. package/dist/bundle/property-types.js +0 -36
  61. package/dist/bundle/scope.js +0 -2163
  62. package/dist/bundle/string.js +0 -1252
  63. package/dist/bundle/test-helper.js +0 -808
  64. package/dist/bundle/type.js +0 -16
  65. package/dist/bundle/utility.js +0 -456
  66. package/dist/cli.d.ts +0 -31
  67. package/dist/compatible/Lock.js +0 -86
  68. package/dist/compatible/Logger.js +0 -820
  69. package/dist/compatible/Semaphore.js +0 -75
  70. package/dist/compatible/array.js +0 -783
  71. package/dist/compatible/cli.js +0 -59
  72. package/dist/compatible/constants.js +0 -214
  73. package/dist/compatible/context.js +0 -316
  74. package/dist/compatible/cookie.js +0 -338
  75. package/dist/compatible/data-transfer.js +0 -867
  76. package/dist/compatible/datetime.js +0 -1190
  77. package/dist/compatible/domNode.js +0 -586
  78. package/dist/compatible/expression/evaluators.js +0 -1270
  79. package/dist/compatible/expression/helper.js +0 -117
  80. package/dist/compatible/expression/index.js +0 -1399
  81. package/dist/compatible/expression/indicator-functions.js +0 -332
  82. package/dist/compatible/expression/type.js +0 -16
  83. package/dist/compatible/filesystem.js +0 -472
  84. package/dist/compatible/function.js +0 -117
  85. package/dist/compatible/index.js +0 -3291
  86. package/dist/compatible/indicators.js +0 -572
  87. package/dist/compatible/module.js +0 -250
  88. package/dist/compatible/number.js +0 -534
  89. package/dist/compatible/object.js +0 -1146
  90. package/dist/compatible/process.js +0 -328
  91. package/dist/compatible/property-types.js +0 -36
  92. package/dist/compatible/scope.js +0 -2163
  93. package/dist/compatible/string.js +0 -1252
  94. package/dist/compatible/test-helper.js +0 -808
  95. package/dist/compatible/type.js +0 -16
  96. package/dist/compatible/utility.js +0 -456
  97. package/dist/constants.d.ts +0 -99
  98. package/dist/context.d.ts +0 -8
  99. package/dist/cookie.d.ts +0 -31
  100. package/dist/data-transfer.d.ts +0 -45
  101. package/dist/datetime.d.ts +0 -37
  102. package/dist/domNode.d.ts +0 -82
  103. package/dist/expression/evaluators.d.ts +0 -55
  104. package/dist/expression/helper.d.ts +0 -4
  105. package/dist/expression/index.d.ts +0 -7
  106. package/dist/expression/indicator-functions.d.ts +0 -14
  107. package/dist/expression/type.d.ts +0 -70
  108. package/dist/filesystem.d.ts +0 -143
  109. package/dist/function.d.ts +0 -20
  110. package/dist/index.d.ts +0 -23
  111. package/dist/indicators.d.ts +0 -68
  112. package/dist/module.d.ts +0 -8
  113. package/dist/number.d.ts +0 -35
  114. package/dist/object.d.ts +0 -231
  115. package/dist/process.d.ts +0 -22
  116. package/dist/property-types.d.ts +0 -460
  117. package/dist/scope.d.ts +0 -44
  118. package/dist/string.d.ts +0 -312
  119. package/dist/test/Lock.d.ts +0 -1
  120. package/dist/test/Logger.d.ts +0 -1
  121. package/dist/test/Semaphore.d.ts +0 -1
  122. package/dist/test/array.d.ts +0 -1
  123. package/dist/test/cookie.d.ts +0 -1
  124. package/dist/test/data-transfer.d.ts +0 -1
  125. package/dist/test/datetime.d.ts +0 -1
  126. package/dist/test/domNode.d.ts +0 -1
  127. package/dist/test/expression/evaluators.d.ts +0 -1
  128. package/dist/test/expression/helper.d.ts +0 -1
  129. package/dist/test/expression/indicator-functions.d.ts +0 -1
  130. package/dist/test/filesystem.d.ts +0 -1
  131. package/dist/test/function.d.ts +0 -1
  132. package/dist/test/indicators.d.ts +0 -1
  133. package/dist/test/number.d.ts +0 -1
  134. package/dist/test/object.d.ts +0 -1
  135. package/dist/test/process.d.ts +0 -1
  136. package/dist/test/property-types.d.ts +0 -1
  137. package/dist/test/scope.d.ts +0 -1
  138. package/dist/test/string.d.ts +0 -1
  139. package/dist/test/utility.d.ts +0 -1
  140. package/dist/test-helper.d.ts +0 -143
  141. package/dist/type.d.ts +0 -230
  142. package/dist/utility.d.ts +0 -44
@@ -1,117 +0,0 @@
1
- if(typeof window==='undefined'||window===null)var window=(typeof global==='undefined'||global===null)?{}:global;import * as __WEBPACK_EXTERNAL_MODULE_core_js_modules_es_array_includes_js_66c3fd7d__ from "core-js/modules/es.array.includes.js";
2
- /******/ var __webpack_modules__ = ([
3
- /* 0 */
4
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
5
-
6
- var x = function(y) {
7
- var x = {}; __webpack_require__.d(x, y); return x
8
- }
9
- var y = function(x) { return function() { return x; }; }
10
- module.exports = x({ });
11
-
12
- /***/ })
13
- /******/ ]);
14
- /************************************************************************/
15
- /******/ // The module cache
16
- /******/ var __webpack_module_cache__ = {};
17
- /******/
18
- /******/ // The require function
19
- /******/ function __webpack_require__(moduleId) {
20
- /******/ // Check if module is in cache
21
- /******/ var cachedModule = __webpack_module_cache__[moduleId];
22
- /******/ if (cachedModule !== undefined) {
23
- /******/ return cachedModule.exports;
24
- /******/ }
25
- /******/ // Create a new module (and put it into the cache)
26
- /******/ var module = __webpack_module_cache__[moduleId] = {
27
- /******/ // no module.id needed
28
- /******/ // no module.loaded needed
29
- /******/ exports: {}
30
- /******/ };
31
- /******/
32
- /******/ // Execute the module function
33
- /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
34
- /******/
35
- /******/ // Return the exports of the module
36
- /******/ return module.exports;
37
- /******/ }
38
- /******/
39
- /************************************************************************/
40
- /******/ /* webpack/runtime/define property getters */
41
- /******/ !function() {
42
- /******/ // define getter/value functions for harmony exports
43
- /******/ __webpack_require__.d = function(exports, definition) {
44
- /******/ if(Array.isArray(definition)) {
45
- /******/ var i = 0;
46
- /******/ while(i < definition.length) {
47
- /******/ var key = definition[i++];
48
- /******/ var binding = definition[i++];
49
- /******/ if(!__webpack_require__.o(exports, key)) {
50
- /******/ if(binding === 0) {
51
- /******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
52
- /******/ } else {
53
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
54
- /******/ }
55
- /******/ } else if(binding === 0) { i++; }
56
- /******/ }
57
- /******/ } else {
58
- /******/ for(var key in definition) {
59
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
60
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
61
- /******/ }
62
- /******/ }
63
- /******/ }
64
- /******/ };
65
- /******/ }();
66
- /******/
67
- /******/ /* webpack/runtime/hasOwnProperty shorthand */
68
- /******/ !function() {
69
- /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
70
- /******/ }();
71
- /******/
72
- /************************************************************************/
73
- var __webpack_exports__ = {};
74
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
75
- /* harmony export */ D_: function() { return /* binding */ identity; },
76
- /* harmony export */ Gj: function() { return /* binding */ _getParameterNames; },
77
- /* harmony export */ gH: function() { return /* binding */ invertArrayFilter; }
78
- /* harmony export */ });
79
- /* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
80
- // #!/usr/bin/env babel-node
81
- // -*- coding: utf-8 -*-
82
- /** @module function *//* !
83
- region header
84
- [Project page](https://torben.website/clientnode)
85
-
86
- Copyright Torben Sickert (info["~at~"]torben.website) 16.12.2012
87
-
88
- License
89
- -------
90
-
91
- This library written by Torben Sickert stands under a creative commons
92
- naming 3.0 unported license.
93
- See https://creativecommons.org/licenses/by/3.0/deed.de
94
- endregion
95
- */function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=_unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var _n=0,F=function F(){};return{s:F,n:function n(){return _n>=r.length?{done:!0}:{done:!1,value:r[_n++]}},e:function e(r){throw r},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function s(){t=t.call(r)},n:function n(){var r=t.next();return a=r.done,r},e:function e(r){u=!0,o=r},f:function f(){try{a||null==t.return||t.return()}finally{if(u)throw o}}}}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}/**
96
- * Determines all parameter names from given callable (function or class,
97
- * ...).
98
- * @param callable - Function or function code to inspect.
99
- * @returns List of parameter names.
100
- */var _getParameterNames=function getParameterNames(callable){var functionCode=(typeof callable==="string"?callable:// Strip comments.
101
- callable.toString()).replace(/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/mg,"");if(functionCode.startsWith("class"))return _getParameterNames("function "+functionCode.replace(/.*(constructor\([^)]+\))/m,"$1"));// Try classic function declaration.
102
- var parameter=/^function\s*[^(]*\(\s*([^)]*)\)/m.exec(functionCode);if(parameter===null)// Try arrow function declaration.
103
- parameter=/^[^(]*\(\s*([^)]*)\) *=>.*/m.exec(functionCode);if(parameter===null)// Try one argument and without brackets arrow function declaration.
104
- parameter=/([^= ]+) *=>.*/m.exec(functionCode);var names=[];if(parameter&&parameter.length>1&&parameter[1].trim().length){var _iterator=_createForOfIteratorHelper(parameter[1].split(",")),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;)// Remove default parameter values.
105
- {var name=_step.value;names.push(name.replace(/=.+$/g,"").trim())}}catch(err){_iterator.e(err)}finally{_iterator.f()}return names}return names};/**
106
- * Implements the identity function.
107
- * @param value - A value to return.
108
- * @returns Returns the given value.
109
- */var identity=function identity(value){return value};/**
110
- * Inverted filter helper to inverse each given filter.
111
- * @param filter - A function that filters an array.
112
- * @returns The inverted filter.
113
- */var invertArrayFilter=function invertArrayFilter(filter){return function(data){if(Array.isArray(data)){for(var _len=arguments.length,additionalParameter=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++){additionalParameter[_key-1]=arguments[_key]}var filteredData=filter.apply(void 0,[data].concat(additionalParameter));var result=[];if(filteredData.length){var _iterator2=_createForOfIteratorHelper(data),_step2;try{for(_iterator2.s();!(_step2=_iterator2.n()).done;){var date=_step2.value;if(!filteredData.includes(date))result.push(date)}}catch(err){_iterator2.e(err)}finally{_iterator2.f()}}else result=data;return result}return data}};
114
- var __webpack_exports__getParameterNames = __webpack_exports__.Gj;
115
- var __webpack_exports__identity = __webpack_exports__.D_;
116
- var __webpack_exports__invertArrayFilter = __webpack_exports__.gH;
117
- export { __webpack_exports__getParameterNames as getParameterNames, __webpack_exports__identity as identity, __webpack_exports__invertArrayFilter as invertArrayFilter };