clientnode 4.0.1446 → 4.0.1448

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 -756
  3. package/dist/Semaphore.js +46 -56
  4. package/dist/array.js +337 -661
  5. package/dist/cli.js +37 -45
  6. package/dist/constants.js +110 -198
  7. package/dist/context.js +25 -265
  8. package/dist/cookie.js +48 -265
  9. package/dist/data-transfer.js +166 -775
  10. package/dist/datetime.js +241 -1107
  11. package/dist/domNode.js +277 -495
  12. package/dist/expression/evaluators.js +234 -1189
  13. package/dist/expression/helper.js +82 -102
  14. package/dist/expression/index.js +10 -1341
  15. package/dist/expression/indicator-functions.js +21 -316
  16. package/dist/expression/type.js +5 -1
  17. package/dist/filesystem.js +323 -349
  18. package/dist/function.js +51 -93
  19. package/dist/index.js +26 -3232
  20. package/dist/indicators.js +68 -512
  21. package/dist/module.js +99 -197
  22. package/dist/number.js +25 -491
  23. package/dist/object.js +783 -917
  24. package/dist/process.js +38 -261
  25. package/dist/property-types.js +96 -17
  26. package/dist/scope.js +56 -2092
  27. package/dist/string.js +603 -991
  28. package/dist/test-helper.js +171 -633
  29. package/dist/type.js +9 -4
  30. package/dist/utility.js +91 -372
  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 -778
  38. package/dist/bundle/Semaphore.js +0 -75
  39. package/dist/bundle/array.js +0 -776
  40. package/dist/bundle/cli.js +0 -59
  41. package/dist/bundle/constants.js +0 -214
  42. package/dist/bundle/context.js +0 -280
  43. package/dist/bundle/cookie.js +0 -301
  44. package/dist/bundle/data-transfer.js +0 -825
  45. package/dist/bundle/datetime.js +0 -1148
  46. package/dist/bundle/domNode.js +0 -549
  47. package/dist/bundle/expression/evaluators.js +0 -1228
  48. package/dist/bundle/expression/helper.js +0 -117
  49. package/dist/bundle/expression/index.js +0 -1357
  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 -436
  53. package/dist/bundle/function.js +0 -117
  54. package/dist/bundle/index.js +0 -3249
  55. package/dist/bundle/indicators.js +0 -565
  56. package/dist/bundle/module.js +0 -213
  57. package/dist/bundle/number.js +0 -527
  58. package/dist/bundle/object.js +0 -1104
  59. package/dist/bundle/process.js +0 -291
  60. package/dist/bundle/property-types.js +0 -36
  61. package/dist/bundle/scope.js +0 -2121
  62. package/dist/bundle/string.js +0 -1213
  63. package/dist/bundle/test-helper.js +0 -802
  64. package/dist/bundle/type.js +0 -16
  65. package/dist/bundle/utility.js +0 -420
  66. package/dist/cli.d.ts +0 -31
  67. package/dist/compatible/Lock.js +0 -86
  68. package/dist/compatible/Logger.js +0 -778
  69. package/dist/compatible/Semaphore.js +0 -75
  70. package/dist/compatible/array.js +0 -776
  71. package/dist/compatible/cli.js +0 -59
  72. package/dist/compatible/constants.js +0 -214
  73. package/dist/compatible/context.js +0 -280
  74. package/dist/compatible/cookie.js +0 -301
  75. package/dist/compatible/data-transfer.js +0 -825
  76. package/dist/compatible/datetime.js +0 -1148
  77. package/dist/compatible/domNode.js +0 -549
  78. package/dist/compatible/expression/evaluators.js +0 -1228
  79. package/dist/compatible/expression/helper.js +0 -117
  80. package/dist/compatible/expression/index.js +0 -1357
  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 -436
  84. package/dist/compatible/function.js +0 -117
  85. package/dist/compatible/index.js +0 -3249
  86. package/dist/compatible/indicators.js +0 -565
  87. package/dist/compatible/module.js +0 -213
  88. package/dist/compatible/number.js +0 -527
  89. package/dist/compatible/object.js +0 -1104
  90. package/dist/compatible/process.js +0 -291
  91. package/dist/compatible/property-types.js +0 -36
  92. package/dist/compatible/scope.js +0 -2121
  93. package/dist/compatible/string.js +0 -1213
  94. package/dist/compatible/test-helper.js +0 -802
  95. package/dist/compatible/type.js +0 -16
  96. package/dist/compatible/utility.js +0 -420
  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,332 +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
-
4
- /***/ 0:
5
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
6
-
7
- var x = function(y) {
8
- var x = {}; __webpack_require__.d(x, y); return x
9
- }
10
- var y = function(x) { return function() { return x; }; }
11
- module.exports = x({ });
12
-
13
- /***/ }),
14
-
15
- /***/ 1:
16
- /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
17
-
18
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
19
- /* harmony export */ jE: function() { return /* binding */ PLAIN_OBJECT_PROTOTYPES; }
20
- /* harmony export */ });
21
- /* unused harmony exports DEFAULT_ENCODING, CLOSE_EVENT_NAMES, CONSOLE_METHODS, VALUE_COPY_SYMBOL, IGNORE_NULL_AND_UNDEFINED_SYMBOL, ABBREVIATIONS, ANIMATION_END_EVENT_NAMES, CLASS_TO_TYPE_MAPPING, KEY_CODES, KEYBOARD_CODES, LOCALES, SPECIAL_REGEX_SEQUENCES, TRANSITION_END_EVENT_NAMES */
22
- // #!/usr/bin/env babel-node
23
- // -*- coding: utf-8 -*-
24
- /** @module constants *//* !
25
- region header
26
- [Project page](https://torben.website/clientnode)
27
-
28
- Copyright Torben Sickert (info["~at~"]torben.website) 16.12.2012
29
-
30
- License
31
- -------
32
-
33
- This library written by Torben Sickert stands under a creative commons
34
- naming 3.0 unported license.
35
- See https://creativecommons.org/licenses/by/3.0/deed.de
36
- endregion
37
- */var DEFAULT_ENCODING="utf8";var CLOSE_EVENT_NAMES=(/* unused pure expression or super */ null && (["close","exit","SIGINT","SIGTERM","SIGQUIT","uncaughtException"]));var CONSOLE_METHODS=(/* unused pure expression or super */ null && (["debug","error","info","log","warn"]));var VALUE_COPY_SYMBOL=Symbol.for("clientnodeValue");var IGNORE_NULL_AND_UNDEFINED_SYMBOL=Symbol.for("clientnodeIgnoreNullAndUndefined");// Lists all known abbreviation for proper camel case to delimited and back
38
- // conversion.
39
- var ABBREVIATIONS=(/* unused pure expression or super */ null && (["html","id","url","us","de","api","href"]));// Saves a string with all css3 browser specific animation end event names.
40
- var ANIMATION_END_EVENT_NAMES="animationend webkitAnimationEnd oAnimationEnd MSAnimationEnd";// String representation to object type name mapping.
41
- var CLASS_TO_TYPE_MAPPING=(/* unused pure expression or super */ null && ({"[object Array]":"array","[object Boolean]":"boolean","[object Date]":"date","[object Error]":"error","[object Function]":"function","[object Map]":"map","[object Number]":"number","[object Object]":"object","[object RegExp]":"regexp","[object Set]":"set","[object String]":"string"}));// Saves a mapping from key codes to their corresponding name.
42
- var KEY_CODES=(/* unused pure expression or super */ null && ({BACKSPACE:8,SPACE:32,TAB:9,DELETE:46,ENTER:13,COMMA:188,PERIOD:190,END:35,ESCAPE:27,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,HOME:36,NUMPAD_ADD:107,NUMPAD_SUBTRACT:109,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,PAGE_UP:33,PAGE_DOWN:34,UP:38,DOWN:40,LEFT:37,RIGHT:39}));var KEYBOARD_CODES=(/* unused pure expression or super */ null && ({BACKSPACE:"Backspace",SPACE:"Space",TAB:"Tab",DELETE:"Delete",ENTER:"Enter",COMMA:"Comma",PERIOD:"Period",END:"End",ESCAPE:"Escape",F1:"F1",F2:"F2",F3:"F3",F4:"F4",F5:"F5",F6:"F6",F7:"F7",F8:"F8",F9:"F9",F10:"F10",F11:"F111",F12:"F12",HOME:"Home",NUMPAD_ADD:"NumpadAdd",NUMPAD_SUBTRACT:"NumpadSubtract",NUMPAD_DECIMAL:"NumpadDecimal",NUMPAD_DIVIDE:"NumpadDivide",NUMPAD_ENTER:"NumpadEnter",NUMPAD_MULTIPLY:"NumpadMultiply",PAGE_UP:"PageUp",PAGE_DOWN:"PageUp",UP:"ArrowUp",DOWN:"ArrowDown",LEFT:"ArrowLeft",RIGHT:"ArrowUp"}));var LOCALES=(/* unused pure expression or super */ null && ([]));var PLAIN_OBJECT_PROTOTYPES=[Object.prototype];// A list of special regular expression symbols.
43
- var SPECIAL_REGEX_SEQUENCES=(/* unused pure expression or super */ null && (["-","[","]","(",")","^","$","*","+",".","{","}"]));// Saves a string with all css3 browser specific transition end event names.
44
- var TRANSITION_END_EVENT_NAMES="transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd";
45
-
46
- /***/ }),
47
-
48
- /***/ 13:
49
- /***/ (function(__webpack_module__, __webpack_exports__, __webpack_require__) {
50
-
51
- __webpack_require__.a(__webpack_module__, async function (__webpack_handle_async_dependencies__, __webpack_async_result__) { try {
52
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
53
- /* harmony export */ $y: function() { return /* binding */ isSwitchExpression; },
54
- /* harmony export */ G3: function() { return /* binding */ isCondition; },
55
- /* harmony export */ Gc: function() { return /* binding */ isAndExpression; },
56
- /* harmony export */ HK: function() { return /* binding */ isConcatExpression; },
57
- /* harmony export */ MP: function() { return /* binding */ isIfExpression; },
58
- /* harmony export */ YG: function() { return /* binding */ isOperation; },
59
- /* harmony export */ Z9: function() { return /* binding */ isMappingExpression; },
60
- /* harmony export */ ZI: function() { return /* binding */ isArrayContainsExpression; },
61
- /* harmony export */ bF: function() { return /* binding */ isUnaryOperation; },
62
- /* harmony export */ bQ: function() { return /* binding */ isSpecificExpression; },
63
- /* harmony export */ cB: function() { return /* binding */ isSelector; },
64
- /* harmony export */ g6: function() { return /* binding */ isOrExpression; },
65
- /* harmony export */ ml: function() { return /* binding */ isValue; }
66
- /* harmony export */ });
67
- /* harmony import */ var _indicators_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3);
68
- var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([_indicators_js__WEBPACK_IMPORTED_MODULE_0__]);
69
- var __webpack_async_dependencies_result__ = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__);
70
- _indicators_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_async_dependencies_result__[0];
71
- // #!/usr/bin/env babel-node
72
- // -*- coding: utf-8 -*-
73
- /* !
74
- region header
75
- [Project page](https://torben.website/clientnode)
76
-
77
- Copyright Torben Sickert (info["~at~"]torben.website) 16.12.2012
78
-
79
- License
80
- -------
81
-
82
- This library written by Torben Sickert stands under a creative commons
83
- naming 3.0 unported license.
84
- See https://creativecommons.org/licenses/by/3.0/deed.de
85
- endregion
86
- */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}var isSpecificExpression=function isSpecificExpression(expression,indicatorKey,properties){if(properties===void 0){properties=[]}if(!((0,_indicators_js__WEBPACK_IMPORTED_MODULE_0__/* .isPlainObject */ .Qd)(expression)&&Object.prototype.hasOwnProperty.call(expression,indicatorKey)))return false;var _iterator=_createForOfIteratorHelper(properties),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var name=_step.value;if(!Object.prototype.hasOwnProperty.call(expression,name))return false}}catch(err){_iterator.e(err)}finally{_iterator.f()}return true};var isCondition=function isCondition(expression){return isSpecificExpression(expression,"$comparator",["value1","value2"])};var isAndExpression=function isAndExpression(expression){return isSpecificExpression(expression,"$and")};var isOrExpression=function isOrExpression(expression){return isSpecificExpression(expression,"$or")};var isConcatExpression=function isConcatExpression(expression){return isSpecificExpression(expression,"$concat")};var isMappingExpression=function isMappingExpression(expression){return isSpecificExpression(expression,"$mapping",["data"])};var isOperation=function isOperation(expression){return isSpecificExpression(expression,"$operator",["operand1","operand2"])};var isUnaryOperation=function isUnaryOperation(expression){return isSpecificExpression(expression,"$operator",["operand"])};var isIfExpression=function isIfExpression(expression){return isSpecificExpression(expression,"$if")};var isSwitchExpression=function isSwitchExpression(expression){return isSpecificExpression(expression,"$switch")};var isSelector=function isSelector(expression){return isSpecificExpression(expression,"$select")};var isArrayContainsExpression=function isArrayContainsExpression(expression){return isSpecificExpression(expression,"$arrayContains")};var isValue=function isValue(expression){return!(isSelector(expression)||isCondition(expression)||isUnaryOperation(expression)||isOperation(expression)||isAndExpression(expression)||isOrExpression(expression)||isConcatExpression(expression)||isMappingExpression(expression)||isIfExpression(expression)||isSwitchExpression(expression)||isArrayContainsExpression(expression))};
87
- __webpack_async_result__();
88
- } catch(e) { __webpack_async_result__(e); } });
89
-
90
- /***/ }),
91
-
92
- /***/ 3:
93
- /***/ (function(__webpack_module__, __webpack_exports__, __webpack_require__) {
94
-
95
- __webpack_require__.a(__webpack_module__, async function (__webpack_handle_async_dependencies__, __webpack_async_result__) { try {
96
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
97
- /* harmony export */ Qd: function() { return /* binding */ isPlainObject; }
98
- /* harmony export */ });
99
- /* unused harmony exports isNumeric, isWindow, isArrayLike, isAnyMatching, isObject, isSet, isMap, isProxy, isFunction */
100
- /* unused harmony import specifier */ var determineType;
101
- /* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
102
- /* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1);
103
- // #!/usr/bin/env babel-node
104
- // -*- coding: utf-8 -*-
105
- /** @module indicators *//* !
106
- region header
107
- [Project page](https://torben.website/clientnode)
108
-
109
- Copyright Torben Sickert (info["~at~"]torben.website) 16.12.2012
110
-
111
- License
112
- -------
113
-
114
- This library written by Torben Sickert stands under a creative commons
115
- naming 3.0 unported license.
116
- See https://creativecommons.org/licenses/by/3.0/deed.de
117
- endregion
118
- */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}function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}/**
119
- * Determines whether its argument represents a JavaScript number.
120
- * @param value - Value to analyze.
121
- * @returns A boolean value indicating whether given object is numeric
122
- * like.
123
- */var isNumeric=function isNumeric(value){var type=determineType(value);/*
124
- NOTE: "parseFloat" "NaNs" numeric-cast false positives ("") but
125
- misinterprets leading-number strings, particularly hex literals
126
- ("0x...") subtraction forces infinities to NaN.
127
- */return["number","string"].includes(type)&&!isNaN(value-parseFloat(value))};/**
128
- * Determine whether the argument is a window.
129
- * @param value - Value to check for.
130
- * @returns Boolean value indicating the result.
131
- */var isWindow=function isWindow(value){return![null,undefined].includes(value)&&_typeof(value)==="object"&&value===(value===null||value===void 0?void 0:value.window)};/**
132
- * Checks if given object is similar to an array and can be handled like an
133
- * array.
134
- * @param object - Object to check behavior for.
135
- * @returns A boolean value indicating whether given object is array like.
136
- */var isArrayLike=function isArrayLike(object){var length;try{length=Boolean(object)&&object.length}catch(_unused){return false}var type=determineType(object);if(type==="function"||isWindow(object))return false;if(type==="array"||length===0)return true;if(typeof length==="number"&&length>0)try{var _dump=object[length-1];return true}catch(_unused2){// Continue regardless of an error.
137
- }return false};/**
138
- * Checks whether one of the given pattern matches given string.
139
- * @param target - Target to check in pattern for.
140
- * @param pattern - List of pattern to check for.
141
- * @returns Value "true" if given object is matches by at leas one of the
142
- * given pattern and "false" otherwise.
143
- */var isAnyMatching=function isAnyMatching(target,pattern){var _iterator=_createForOfIteratorHelper(pattern),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var currentPattern=_step.value;if(typeof currentPattern==="string"){if(currentPattern===target)return true}else if(currentPattern.test(target))return true}}catch(err){_iterator.e(err)}finally{_iterator.f()}return false};/**
144
- * Checks whether given object is a native object but not null.
145
- * @param value - Value to check.
146
- * @returns Value "true" if given object is a plain javaScript object and
147
- * "false" otherwise.
148
- */var isObject=function isObject(value){return value!==null&&_typeof(value)==="object"};/**
149
- * Checks whether given object is a plain native object.
150
- * @param value - Value to check.
151
- * @returns Value "true" if given object is a plain javaScript object and
152
- * "false" otherwise.
153
- */var isPlainObject=function isPlainObject(value){return isObject(value)&&_constants_js__WEBPACK_IMPORTED_MODULE_1__/* .PLAIN_OBJECT_PROTOTYPES */ .jE.includes(Object.getPrototypeOf(value))};/**
154
- * Checks whether given object is a set.
155
- * @param value - Value to check.
156
- * @returns Value "true" if given object is a set and "false" otherwise.
157
- */var isSet=function isSet(value){return determineType(value)==="set"};/**
158
- * Checks whether given object is a map.
159
- * @param value - Value to check.
160
- * @returns Value "true" if given object is a map and "false" otherwise.
161
- */var isMap=function isMap(value){return determineType(value)==="map"};/**
162
- * Checks whether given object is a proxy.
163
- * @param value - Value to check.
164
- * @returns Value "true" if given object is a proxy and "false" otherwise.
165
- */var isProxy=function isProxy(value){return Boolean(value.__target__)};/**
166
- * Checks whether given object is a function.
167
- * @param value - Value to check.
168
- * @returns Value "true" if given object is a function and "false"
169
- * otherwise.
170
- */var isFunction=function isFunction(value){return Boolean(value)&&["[object AsyncFunction]","[object Function]"].includes({}.toString.call(value))};
171
- __webpack_async_result__();
172
- } catch(e) { __webpack_async_result__(e); } });
173
-
174
- /***/ })
175
-
176
- /******/ });
177
- /************************************************************************/
178
- /******/ // The module cache
179
- /******/ var __webpack_module_cache__ = {};
180
- /******/
181
- /******/ // The require function
182
- /******/ function __webpack_require__(moduleId) {
183
- /******/ // Check if module is in cache
184
- /******/ var cachedModule = __webpack_module_cache__[moduleId];
185
- /******/ if (cachedModule !== undefined) {
186
- /******/ return cachedModule.exports;
187
- /******/ }
188
- /******/ // Create a new module (and put it into the cache)
189
- /******/ var module = __webpack_module_cache__[moduleId] = {
190
- /******/ // no module.id needed
191
- /******/ // no module.loaded needed
192
- /******/ exports: {}
193
- /******/ };
194
- /******/
195
- /******/ // Execute the module function
196
- /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
197
- /******/
198
- /******/ // Return the exports of the module
199
- /******/ return module.exports;
200
- /******/ }
201
- /******/
202
- /************************************************************************/
203
- /******/ /* webpack/runtime/async module */
204
- /******/ !function() {
205
- /******/ var hasSymbol = typeof Symbol === "function";
206
- /******/ var webpackQueues = hasSymbol ? Symbol("webpack queues") : "__webpack_queues__";
207
- /******/ var webpackExports = hasSymbol ? Symbol("webpack exports") : "__webpack_exports__";
208
- /******/ var webpackError = hasSymbol ? Symbol("webpack error") : "__webpack_error__";
209
- /******/
210
- /******/ var resolveQueue = function(queue) {
211
- /******/ if(queue && queue.d < 1) {
212
- /******/ queue.d = 1;
213
- /******/ queue.forEach(function(fn) { fn.r--; });
214
- /******/ queue.forEach(function(fn) { fn.r-- ? fn.r++ : fn(); });
215
- /******/ }
216
- /******/ }
217
- /******/ var wrapDeps = function(deps) { return deps.map(function(dep) {
218
- /******/ if(dep !== null && typeof dep === "object") {
219
- /******/
220
- /******/ if(dep[webpackQueues]) return dep;
221
- /******/ if(dep.then) {
222
- /******/ var queue = [];
223
- /******/ queue.d = 0;
224
- /******/ dep.then(function(r) {
225
- /******/ obj[webpackExports] = r;
226
- /******/ resolveQueue(queue);
227
- /******/ }, function(e) {
228
- /******/ obj[webpackError] = e;
229
- /******/ resolveQueue(queue);
230
- /******/ });
231
- /******/ var obj = {};
232
- /******/
233
- /******/ obj[webpackQueues] = function(fn) { fn(queue); };
234
- /******/ return obj;
235
- /******/ }
236
- /******/ }
237
- /******/ var ret = {};
238
- /******/ ret[webpackQueues] = function() {};
239
- /******/ ret[webpackExports] = dep;
240
- /******/ return ret;
241
- /******/ }); };
242
- /******/ __webpack_require__.a = function(module, body, hasAwait) {
243
- /******/ var queue;
244
- /******/ hasAwait && ((queue = []).d = -1);
245
- /******/ var depQueues = new Set();
246
- /******/ var exports = module.exports;
247
- /******/ var currentDeps;
248
- /******/ var outerResolve;
249
- /******/ var reject;
250
- /******/ var promise = new Promise(function(resolve, rej) {
251
- /******/ reject = rej;
252
- /******/ outerResolve = resolve;
253
- /******/ });
254
- /******/ promise[webpackExports] = exports;
255
- /******/ promise[webpackQueues] = function(fn) { queue && fn(queue), depQueues.forEach(fn), promise["catch"](function() {}); };
256
- /******/ module.exports = promise;
257
- /******/ var handle = function(deps) {
258
- /******/ currentDeps = wrapDeps(deps);
259
- /******/ var fn;
260
- /******/ var getResult = function() { return currentDeps.map(function(d) {
261
- /******/
262
- /******/ if(d[webpackError]) throw d[webpackError];
263
- /******/ return d[webpackExports];
264
- /******/ }); }
265
- /******/ var promise = new Promise(function(resolve) {
266
- /******/ fn = function() { resolve(getResult); };
267
- /******/ fn.r = 0;
268
- /******/ var fnQueue = function(q) { q !== queue && !depQueues.has(q) && (depQueues.add(q), q && !q.d && (fn.r++, q.push(fn))); };
269
- /******/ currentDeps.map(function(dep) { dep[webpackQueues](fnQueue); });
270
- /******/ });
271
- /******/ return fn.r ? promise : getResult();
272
- /******/ }
273
- /******/ var done = function(err) { (err ? reject(promise[webpackError] = err) : outerResolve(exports)), resolveQueue(queue); }
274
- /******/ body(handle, done);
275
- /******/ queue && queue.d < 0 && (queue.d = 0);
276
- /******/ };
277
- /******/ }();
278
- /******/
279
- /******/ /* webpack/runtime/define property getters */
280
- /******/ !function() {
281
- /******/ // define getter/value functions for harmony exports
282
- /******/ __webpack_require__.d = function(exports, definition) {
283
- /******/ if(Array.isArray(definition)) {
284
- /******/ var i = 0;
285
- /******/ while(i < definition.length) {
286
- /******/ var key = definition[i++];
287
- /******/ var binding = definition[i++];
288
- /******/ if(!__webpack_require__.o(exports, key)) {
289
- /******/ if(binding === 0) {
290
- /******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
291
- /******/ } else {
292
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
293
- /******/ }
294
- /******/ } else if(binding === 0) { i++; }
295
- /******/ }
296
- /******/ } else {
297
- /******/ for(var key in definition) {
298
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
299
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
300
- /******/ }
301
- /******/ }
302
- /******/ }
303
- /******/ };
304
- /******/ }();
305
- /******/
306
- /******/ /* webpack/runtime/hasOwnProperty shorthand */
307
- /******/ !function() {
308
- /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
309
- /******/ }();
310
- /******/
311
- /************************************************************************/
312
- /******/
313
- /******/ // startup
314
- /******/ // Load entry module and return exports
315
- /******/ // This entry module used 'module' so it can't be inlined
316
- /******/ var __webpack_exports__ = __webpack_require__(13);
317
- /******/ __webpack_exports__ = await __webpack_exports__;
318
- /******/ var __webpack_exports__isAndExpression = __webpack_exports__.Gc;
319
- /******/ var __webpack_exports__isArrayContainsExpression = __webpack_exports__.ZI;
320
- /******/ var __webpack_exports__isConcatExpression = __webpack_exports__.HK;
321
- /******/ var __webpack_exports__isCondition = __webpack_exports__.G3;
322
- /******/ var __webpack_exports__isIfExpression = __webpack_exports__.MP;
323
- /******/ var __webpack_exports__isMappingExpression = __webpack_exports__.Z9;
324
- /******/ var __webpack_exports__isOperation = __webpack_exports__.YG;
325
- /******/ var __webpack_exports__isOrExpression = __webpack_exports__.g6;
326
- /******/ var __webpack_exports__isSelector = __webpack_exports__.cB;
327
- /******/ var __webpack_exports__isSpecificExpression = __webpack_exports__.bQ;
328
- /******/ var __webpack_exports__isSwitchExpression = __webpack_exports__.$y;
329
- /******/ var __webpack_exports__isUnaryOperation = __webpack_exports__.bF;
330
- /******/ var __webpack_exports__isValue = __webpack_exports__.ml;
331
- /******/ export { __webpack_exports__isAndExpression as isAndExpression, __webpack_exports__isArrayContainsExpression as isArrayContainsExpression, __webpack_exports__isConcatExpression as isConcatExpression, __webpack_exports__isCondition as isCondition, __webpack_exports__isIfExpression as isIfExpression, __webpack_exports__isMappingExpression as isMappingExpression, __webpack_exports__isOperation as isOperation, __webpack_exports__isOrExpression as isOrExpression, __webpack_exports__isSelector as isSelector, __webpack_exports__isSpecificExpression as isSpecificExpression, __webpack_exports__isSwitchExpression as isSwitchExpression, __webpack_exports__isUnaryOperation as isUnaryOperation, __webpack_exports__isValue as isValue };
332
- /******/
@@ -1,16 +0,0 @@
1
- if(typeof window==='undefined'||window===null)var window=(typeof global==='undefined'||global===null)?{}:global;// #!/usr/bin/env babel-node
2
- // -*- coding: utf-8 -*-
3
- /* !
4
- region header
5
- [Project page](https://torben.website/clientnode)
6
-
7
- Copyright Torben Sickert (info["~at~"]torben.website) 16.12.2012
8
-
9
- License
10
- -------
11
-
12
- This library written by Torben Sickert stands under a creative commons
13
- naming 3.0 unported license.
14
- See https://creativecommons.org/licenses/by/3.0/deed.de
15
- endregion
16
- */