clientnode 4.0.1442 → 4.0.1443
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/Lock.js +69 -83
- package/dist/Logger.js +756 -163
- package/dist/Semaphore.js +56 -46
- package/dist/array.js +661 -337
- package/dist/bundle/Lock.js +86 -0
- package/dist/bundle/Logger.js +778 -0
- package/dist/bundle/Semaphore.js +75 -0
- package/dist/bundle/array.js +776 -0
- package/dist/bundle/cli.js +59 -0
- package/dist/bundle/constants.js +214 -0
- package/dist/bundle/context.js +280 -0
- package/dist/bundle/cookie.js +301 -0
- package/dist/bundle/data-transfer.js +825 -0
- package/dist/bundle/datetime.js +1148 -0
- package/dist/bundle/domNode.js +549 -0
- package/dist/bundle/expression/evaluators.js +1228 -0
- package/dist/bundle/expression/helper.js +117 -0
- package/dist/bundle/expression/index.js +1357 -0
- package/dist/bundle/expression/indicator-functions.js +332 -0
- package/dist/bundle/expression/type.js +16 -0
- package/dist/bundle/filesystem.js +436 -0
- package/dist/bundle/function.js +117 -0
- package/dist/bundle/index.js +3249 -0
- package/dist/bundle/indicators.js +565 -0
- package/dist/bundle/module.js +213 -0
- package/dist/bundle/number.js +527 -0
- package/dist/bundle/object.js +1104 -0
- package/dist/bundle/process.js +291 -0
- package/dist/bundle/property-types.js +36 -0
- package/dist/bundle/scope.js +2121 -0
- package/dist/bundle/string.js +1213 -0
- package/dist/bundle/test-helper.js +802 -0
- package/dist/bundle/type.js +16 -0
- package/dist/bundle/utility.js +420 -0
- package/dist/cli.js +45 -37
- package/dist/compatible/Lock.js +86 -0
- package/dist/compatible/Logger.js +778 -0
- package/dist/compatible/Semaphore.js +75 -0
- package/dist/compatible/array.js +776 -0
- package/dist/compatible/cli.js +59 -0
- package/dist/compatible/constants.js +214 -0
- package/dist/compatible/context.js +280 -0
- package/dist/compatible/cookie.js +301 -0
- package/dist/compatible/data-transfer.js +825 -0
- package/dist/compatible/datetime.js +1148 -0
- package/dist/compatible/domNode.js +549 -0
- package/dist/compatible/expression/evaluators.js +1228 -0
- package/dist/compatible/expression/helper.js +117 -0
- package/dist/compatible/expression/index.js +1357 -0
- package/dist/compatible/expression/indicator-functions.js +332 -0
- package/dist/compatible/expression/type.js +16 -0
- package/dist/compatible/filesystem.js +436 -0
- package/dist/compatible/function.js +117 -0
- package/dist/compatible/index.js +3249 -0
- package/dist/compatible/indicators.js +565 -0
- package/dist/compatible/module.js +213 -0
- package/dist/compatible/number.js +527 -0
- package/dist/compatible/object.js +1104 -0
- package/dist/compatible/process.js +291 -0
- package/dist/compatible/property-types.js +36 -0
- package/dist/compatible/scope.js +2121 -0
- package/dist/compatible/string.js +1213 -0
- package/dist/compatible/test-helper.js +802 -0
- package/dist/compatible/type.js +16 -0
- package/dist/compatible/utility.js +420 -0
- package/dist/constants.js +198 -110
- package/dist/context.js +265 -25
- package/dist/cookie.js +265 -48
- package/dist/data-transfer.js +775 -166
- package/dist/datetime.js +1107 -241
- package/dist/domNode.js +495 -277
- package/dist/expression/evaluators.js +1189 -234
- package/dist/expression/helper.js +102 -82
- package/dist/expression/index.js +1341 -10
- package/dist/expression/indicator-functions.js +316 -21
- package/dist/expression/type.js +1 -5
- package/dist/filesystem.js +349 -323
- package/dist/function.js +93 -51
- package/dist/index.js +3232 -26
- package/dist/indicators.js +512 -68
- package/dist/module.js +197 -99
- package/dist/number.js +491 -25
- package/dist/object.js +917 -775
- package/dist/process.js +261 -38
- package/dist/property-types.js +17 -96
- package/dist/scope.js +2092 -56
- package/dist/string.js +991 -603
- package/dist/test-helper.js +633 -171
- package/dist/type.js +4 -9
- package/dist/utility.js +372 -91
- package/package.json +2 -2
package/dist/function.js
CHANGED
|
@@ -1,9 +1,85 @@
|
|
|
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);
|
|
1
80
|
// #!/usr/bin/env babel-node
|
|
2
81
|
// -*- coding: utf-8 -*-
|
|
3
|
-
/** @module function
|
|
4
|
-
'use strict';
|
|
5
|
-
|
|
6
|
-
/* !
|
|
82
|
+
/** @module function *//* !
|
|
7
83
|
region header
|
|
8
84
|
[Project page](https://torben.website/clientnode)
|
|
9
85
|
|
|
@@ -16,60 +92,26 @@
|
|
|
16
92
|
naming 3.0 unported license.
|
|
17
93
|
See https://creativecommons.org/licenses/by/3.0/deed.de
|
|
18
94
|
endregion
|
|
19
|
-
*/
|
|
20
|
-
import "core-js/modules/es.array.includes.js";
|
|
21
|
-
import "core-js/modules/es.array.push.js";
|
|
22
|
-
/**
|
|
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}/**
|
|
23
96
|
* Determines all parameter names from given callable (function or class,
|
|
24
97
|
* ...).
|
|
25
98
|
* @param callable - Function or function code to inspect.
|
|
26
99
|
* @returns List of parameter names.
|
|
27
|
-
*/
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
// Try classic function declaration.
|
|
35
|
-
let parameter = /^function\s*[^(]*\(\s*([^)]*)\)/m.exec(functionCode);
|
|
36
|
-
if (parameter === null)
|
|
37
|
-
// Try arrow function declaration.
|
|
38
|
-
parameter = /^[^(]*\(\s*([^)]*)\) *=>.*/m.exec(functionCode);
|
|
39
|
-
if (parameter === null)
|
|
40
|
-
// Try one argument and without brackets arrow function declaration.
|
|
41
|
-
parameter = /([^= ]+) *=>.*/m.exec(functionCode);
|
|
42
|
-
const names = [];
|
|
43
|
-
if (parameter && parameter.length > 1 && parameter[1].trim().length) {
|
|
44
|
-
for (const name of parameter[1].split(','))
|
|
45
|
-
// Remove default parameter values.
|
|
46
|
-
names.push(name.replace(/=.+$/g, '').trim());
|
|
47
|
-
return names;
|
|
48
|
-
}
|
|
49
|
-
return names;
|
|
50
|
-
};
|
|
51
|
-
/**
|
|
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&¶meter.length>1&¶meter[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};/**
|
|
52
106
|
* Implements the identity function.
|
|
53
107
|
* @param value - A value to return.
|
|
54
108
|
* @returns Returns the given value.
|
|
55
|
-
*/
|
|
56
|
-
export const identity = value => value;
|
|
57
|
-
/**
|
|
109
|
+
*/var identity=function identity(value){return value};/**
|
|
58
110
|
* Inverted filter helper to inverse each given filter.
|
|
59
111
|
* @param filter - A function that filters an array.
|
|
60
112
|
* @returns The inverted filter.
|
|
61
|
-
*/
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
let result = [];
|
|
67
|
-
if (filteredData.length) {
|
|
68
|
-
for (const date of data) if (!filteredData.includes(date)) result.push(date);
|
|
69
|
-
} else result = data;
|
|
70
|
-
return result;
|
|
71
|
-
}
|
|
72
|
-
return data;
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6W10sInNvdXJjZXMiOlsiLi4vc3JjL2Z1bmN0aW9uLnRzIl0sInNvdXJjZXNDb250ZW50IjpbIi8vICMhL3Vzci9iaW4vZW52IGJhYmVsLW5vZGVcbi8vIC0qLSBjb2Rpbmc6IHV0Zi04IC0qLVxuLyoqIEBtb2R1bGUgZnVuY3Rpb24gKi9cbid1c2Ugc3RyaWN0J1xuLyogIVxuICAgIHJlZ2lvbiBoZWFkZXJcbiAgICBbUHJvamVjdCBwYWdlXShodHRwczovL3RvcmJlbi53ZWJzaXRlL2NsaWVudG5vZGUpXG5cbiAgICBDb3B5cmlnaHQgVG9yYmVuIFNpY2tlcnQgKGluZm9bXCJ+YXR+XCJddG9yYmVuLndlYnNpdGUpIDE2LjEyLjIwMTJcblxuICAgIExpY2Vuc2VcbiAgICAtLS0tLS0tXG5cbiAgICBUaGlzIGxpYnJhcnkgd3JpdHRlbiBieSBUb3JiZW4gU2lja2VydCBzdGFuZHMgdW5kZXIgYSBjcmVhdGl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HQUFHLEVBQU87TUFDcEIsSUFBSSxZQUFZLENBQUMsTUFBTSxFQUFFO1FBQ3JCLEtBQUssTUFBTSxJQUFJLElBQUksSUFBSSxFQUNuQixJQUFJLENBQUMsWUFBWSxDQUFDLFFBQVEsQ0FBQyxJQUFJLENBQUMsRUFDM0IsTUFBTSxDQUFvQixJQUFJLENBQUMsSUFBSSxDQUFDO01BQ2pELENBQUMsTUFDRyxNQUFNLEdBQUcsSUFBSTtNQUVqQixPQUFPLE1BQU07SUFDakI7SUFFQSxPQUFPLElBQUk7RUFDZixDQUFDO0FBQ0wsQ0FBQyIsImlnbm9yZUxpc3QiOltdfQ==
|
|
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 };
|