clientnode 4.0.1436 → 4.0.1437

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 -94
  2. package/dist/Logger.js +163 -715
  3. package/dist/Semaphore.js +46 -81
  4. package/dist/array.js +337 -568
  5. package/dist/cli.js +37 -71
  6. package/dist/constants.js +110 -209
  7. package/dist/context.js +25 -229
  8. package/dist/cookie.js +48 -226
  9. package/dist/data-transfer.js +166 -725
  10. package/dist/datetime.js +241 -1059
  11. package/dist/domNode.js +277 -441
  12. package/dist/expression/evaluators.js +234 -1112
  13. package/dist/expression/helper.js +82 -135
  14. package/dist/expression/index.js +10 -1245
  15. package/dist/expression/indicator-functions.js +21 -239
  16. package/dist/expression/type.js +4 -34
  17. package/dist/filesystem.js +323 -309
  18. package/dist/function.js +51 -125
  19. package/dist/index.js +26 -2709
  20. package/dist/indicators.js +68 -440
  21. package/dist/module.js +78 -164
  22. package/dist/number.js +25 -423
  23. package/dist/object.js +771 -852
  24. package/dist/process.js +39 -245
  25. package/dist/property-types.js +96 -157
  26. package/dist/scope.js +56 -1825
  27. package/dist/string.js +603 -909
  28. package/dist/test-helper.js +171 -541
  29. package/dist/type.js +8 -37
  30. package/dist/utility.js +91 -336
  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 -111
  37. package/dist/bundle/Logger.js +0 -705
  38. package/dist/bundle/Semaphore.js +0 -100
  39. package/dist/bundle/array.js +0 -648
  40. package/dist/bundle/cli.js +0 -85
  41. package/dist/bundle/constants.js +0 -225
  42. package/dist/bundle/context.js +0 -243
  43. package/dist/bundle/cookie.js +0 -262
  44. package/dist/bundle/data-transfer.js +0 -741
  45. package/dist/bundle/datetime.js +0 -1064
  46. package/dist/bundle/domNode.js +0 -471
  47. package/dist/bundle/expression/evaluators.js +0 -1115
  48. package/dist/bundle/expression/helper.js +0 -106
  49. package/dist/bundle/expression/index.js +0 -1223
  50. package/dist/bundle/expression/indicator-functions.js +0 -235
  51. package/dist/bundle/expression/type.js +0 -50
  52. package/dist/bundle/filesystem.js +0 -374
  53. package/dist/bundle/function.js +0 -105
  54. package/dist/bundle/index.js +0 -2686
  55. package/dist/bundle/indicators.js +0 -459
  56. package/dist/bundle/module.js +0 -180
  57. package/dist/bundle/number.js +0 -425
  58. package/dist/bundle/object.js +0 -1004
  59. package/dist/bundle/process.js +0 -275
  60. package/dist/bundle/property-types.js +0 -167
  61. package/dist/bundle/scope.js +0 -1808
  62. package/dist/bundle/string.js +0 -1095
  63. package/dist/bundle/test-helper.js +0 -690
  64. package/dist/bundle/type.js +0 -50
  65. package/dist/bundle/utility.js +0 -362
  66. package/dist/cli.d.ts +0 -31
  67. package/dist/compatible/Lock.js +0 -111
  68. package/dist/compatible/Logger.js +0 -705
  69. package/dist/compatible/Semaphore.js +0 -100
  70. package/dist/compatible/array.js +0 -648
  71. package/dist/compatible/cli.js +0 -85
  72. package/dist/compatible/constants.js +0 -225
  73. package/dist/compatible/context.js +0 -243
  74. package/dist/compatible/cookie.js +0 -262
  75. package/dist/compatible/data-transfer.js +0 -741
  76. package/dist/compatible/datetime.js +0 -1064
  77. package/dist/compatible/domNode.js +0 -471
  78. package/dist/compatible/expression/evaluators.js +0 -1115
  79. package/dist/compatible/expression/helper.js +0 -106
  80. package/dist/compatible/expression/index.js +0 -1223
  81. package/dist/compatible/expression/indicator-functions.js +0 -235
  82. package/dist/compatible/expression/type.js +0 -50
  83. package/dist/compatible/filesystem.js +0 -374
  84. package/dist/compatible/function.js +0 -105
  85. package/dist/compatible/index.js +0 -2686
  86. package/dist/compatible/indicators.js +0 -459
  87. package/dist/compatible/module.js +0 -180
  88. package/dist/compatible/number.js +0 -425
  89. package/dist/compatible/object.js +0 -1004
  90. package/dist/compatible/process.js +0 -275
  91. package/dist/compatible/property-types.js +0 -167
  92. package/dist/compatible/scope.js +0 -1808
  93. package/dist/compatible/string.js +0 -1095
  94. package/dist/compatible/test-helper.js +0 -690
  95. package/dist/compatible/type.js +0 -50
  96. package/dist/compatible/utility.js +0 -362
  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,240 +1,7 @@
1
- 'use strict';if(typeof module!=='undefined'&&module!==null&&eval('typeof require')!=='undefined'&&eval('require')!==null&&'main'in eval('require')&&eval('typeof require.main')!=='undefined'&&eval('require.main')!==null){var ORIGINAL_MAIN_MODULE=module;if(module!==eval('require.main')&&'paths'in module&&'paths'in eval('require.main')&&typeof __dirname!=='undefined'&&__dirname!==null)module.paths=eval('require.main.paths').concat(module.paths.filter(function(path){return eval('require.main.paths').includes(path)}))};if(typeof window==='undefined'||window===null)var window=(typeof global==='undefined'||global===null)?{}:global;(function webpackUniversalModuleDefinition(root, factory) {
2
- if(typeof exports === 'object' && typeof module === 'object')
3
- module.exports = factory(require("core-js/modules/es.array.includes.js"));
4
- else if(typeof define === 'function' && define.amd)
5
- define(["core-js/modules/es.array.includes.js"], factory);
6
- else {
7
- var a = typeof exports === 'object' ? factory(require("core-js/modules/es.array.includes.js")) : factory(root["core-js/modules/es.array.includes.js"]);
8
- for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
9
- }
10
- })(this, function(__WEBPACK_EXTERNAL_MODULE__0__) {
11
- return /******/ (function() { // webpackBootstrap
12
- /******/ "use strict";
13
- /******/ var __webpack_modules__ = ([
14
- /* 0 */
15
- /***/ (function(module) {
16
-
17
- module.exports = __WEBPACK_EXTERNAL_MODULE__0__;
18
-
19
- /***/ }),
20
- /* 1 */
21
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
22
-
23
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
24
- /* harmony export */ PLAIN_OBJECT_PROTOTYPES: function() { return /* binding */ PLAIN_OBJECT_PROTOTYPES; }
25
- /* harmony export */ });
26
- /* 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 */
27
1
  // #!/usr/bin/env babel-node
28
2
  // -*- coding: utf-8 -*-
29
- /** @module constants *//* !
30
- region header
31
- [Project page](https://torben.website/clientnode)
3
+ 'use strict';
32
4
 
33
- Copyright Torben Sickert (info["~at~"]torben.website) 16.12.2012
34
-
35
- License
36
- -------
37
-
38
- This library written by Torben Sickert stands under a creative commons
39
- naming 3.0 unported license.
40
- See https://creativecommons.org/licenses/by/3.0/deed.de
41
- endregion
42
- */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
43
- // conversion.
44
- 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.
45
- var ANIMATION_END_EVENT_NAMES="animationend webkitAnimationEnd oAnimationEnd MSAnimationEnd";// String representation to object type name mapping.
46
- 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.
47
- 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.
48
- var SPECIAL_REGEX_SEQUENCES=(/* unused pure expression or super */ null && (["-","[","]","(",")","^","$","*","+",".","{","}"]));// Saves a string with all css3 browser specific transition end event names.
49
- var TRANSITION_END_EVENT_NAMES="transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd";
50
-
51
- /***/ }),
52
- /* 2 */,
53
- /* 3 */,
54
- /* 4 */
55
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
56
-
57
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
58
- /* harmony export */ isPlainObject: function() { return /* binding */ isPlainObject; }
59
- /* harmony export */ });
60
- /* unused harmony exports isNumeric, isWindow, isArrayLike, isAnyMatching, isObject, isSet, isMap, isProxy, isFunction */
61
- /* unused harmony import specifier */ var determineType;
62
- /* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
63
- /* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__);
64
- /* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1);
65
- // #!/usr/bin/env babel-node
66
- // -*- coding: utf-8 -*-
67
- /** @module indicators *//* !
68
- region header
69
- [Project page](https://torben.website/clientnode)
70
-
71
- Copyright Torben Sickert (info["~at~"]torben.website) 16.12.2012
72
-
73
- License
74
- -------
75
-
76
- This library written by Torben Sickert stands under a creative commons
77
- naming 3.0 unported license.
78
- See https://creativecommons.org/licenses/by/3.0/deed.de
79
- endregion
80
- */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)}/**
81
- * Determines whether its argument represents a JavaScript number.
82
- * @param value - Value to analyze.
83
- * @returns A boolean value indicating whether given object is numeric
84
- * like.
85
- */var isNumeric=function isNumeric(value){var type=determineType(value);/*
86
- NOTE: "parseFloat" "NaNs" numeric-cast false positives ("") but
87
- misinterprets leading-number strings, particularly hex literals
88
- ("0x...") subtraction forces infinities to NaN.
89
- */return["number","string"].includes(type)&&!isNaN(value-parseFloat(value))};/**
90
- * Determine whether the argument is a window.
91
- * @param value - Value to check for.
92
- * @returns Boolean value indicating the result.
93
- */var isWindow=function isWindow(value){return![null,undefined].includes(value)&&_typeof(value)==="object"&&value===(value===null||value===void 0?void 0:value.window)};/**
94
- * Checks if given object is similar to an array and can be handled like an
95
- * array.
96
- * @param object - Object to check behavior for.
97
- * @returns A boolean value indicating whether given object is array like.
98
- */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.
99
- }return false};/**
100
- * Checks whether one of the given pattern matches given string.
101
- * @param target - Target to check in pattern for.
102
- * @param pattern - List of pattern to check for.
103
- * @returns Value "true" if given object is matches by at leas one of the
104
- * given pattern and "false" otherwise.
105
- */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};/**
106
- * Checks whether given object is a native object but not null.
107
- * @param value - Value to check.
108
- * @returns Value "true" if given object is a plain javaScript object and
109
- * "false" otherwise.
110
- */var isObject=function isObject(value){return value!==null&&_typeof(value)==="object"};/**
111
- * Checks whether given object is a plain native object.
112
- * @param value - Value to check.
113
- * @returns Value "true" if given object is a plain javaScript object and
114
- * "false" otherwise.
115
- */var isPlainObject=function isPlainObject(value){return isObject(value)&&_constants__WEBPACK_IMPORTED_MODULE_1__.PLAIN_OBJECT_PROTOTYPES.includes(Object.getPrototypeOf(value))};/**
116
- * Checks whether given object is a set.
117
- * @param value - Value to check.
118
- * @returns Value "true" if given object is a set and "false" otherwise.
119
- */var isSet=function isSet(value){return determineType(value)==="set"};/**
120
- * Checks whether given object is a map.
121
- * @param value - Value to check.
122
- * @returns Value "true" if given object is a map and "false" otherwise.
123
- */var isMap=function isMap(value){return determineType(value)==="map"};/**
124
- * Checks whether given object is a proxy.
125
- * @param value - Value to check.
126
- * @returns Value "true" if given object is a proxy and "false" otherwise.
127
- */var isProxy=function isProxy(value){return Boolean(value.__target__)};/**
128
- * Checks whether given object is a function.
129
- * @param value - Value to check.
130
- * @returns Value "true" if given object is a function and "false"
131
- * otherwise.
132
- */var isFunction=function isFunction(value){return Boolean(value)&&["[object AsyncFunction]","[object Function]"].includes({}.toString.call(value))};
133
-
134
- /***/ })
135
- /******/ ]);
136
- /************************************************************************/
137
- /******/ // The module cache
138
- /******/ var __webpack_module_cache__ = {};
139
- /******/
140
- /******/ // The require function
141
- /******/ function __webpack_require__(moduleId) {
142
- /******/ // Check if module is in cache
143
- /******/ var cachedModule = __webpack_module_cache__[moduleId];
144
- /******/ if (cachedModule !== undefined) {
145
- /******/ return cachedModule.exports;
146
- /******/ }
147
- /******/ // Create a new module (and put it into the cache)
148
- /******/ var module = __webpack_module_cache__[moduleId] = {
149
- /******/ // no module.id needed
150
- /******/ // no module.loaded needed
151
- /******/ exports: {}
152
- /******/ };
153
- /******/
154
- /******/ // Execute the module function
155
- /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
156
- /******/
157
- /******/ // Return the exports of the module
158
- /******/ return module.exports;
159
- /******/ }
160
- /******/
161
- /************************************************************************/
162
- /******/ /* webpack/runtime/compat get default export */
163
- /******/ !function() {
164
- /******/ // getDefaultExport function for compatibility with non-harmony modules
165
- /******/ __webpack_require__.n = function(module) {
166
- /******/ var getter = module && module.__esModule ?
167
- /******/ function() { return module['default']; } :
168
- /******/ function() { return module; };
169
- /******/ __webpack_require__.d(getter, { a: getter });
170
- /******/ return getter;
171
- /******/ };
172
- /******/ }();
173
- /******/
174
- /******/ /* webpack/runtime/define property getters */
175
- /******/ !function() {
176
- /******/ // define getter/value functions for harmony exports
177
- /******/ __webpack_require__.d = function(exports, definition) {
178
- /******/ if(Array.isArray(definition)) {
179
- /******/ var i = 0;
180
- /******/ while(i < definition.length) {
181
- /******/ var key = definition[i++];
182
- /******/ var binding = definition[i++];
183
- /******/ if(!__webpack_require__.o(exports, key)) {
184
- /******/ if(binding === 0) {
185
- /******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
186
- /******/ } else {
187
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
188
- /******/ }
189
- /******/ } else if(binding === 0) { i++; }
190
- /******/ }
191
- /******/ } else {
192
- /******/ for(var key in definition) {
193
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
194
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
195
- /******/ }
196
- /******/ }
197
- /******/ }
198
- /******/ };
199
- /******/ }();
200
- /******/
201
- /******/ /* webpack/runtime/hasOwnProperty shorthand */
202
- /******/ !function() {
203
- /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
204
- /******/ }();
205
- /******/
206
- /******/ /* webpack/runtime/make namespace object */
207
- /******/ !function() {
208
- /******/ // define __esModule on exports
209
- /******/ __webpack_require__.r = function(exports) {
210
- /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
211
- /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
212
- /******/ }
213
- /******/ Object.defineProperty(exports, '__esModule', { value: true });
214
- /******/ };
215
- /******/ }();
216
- /******/
217
- /************************************************************************/
218
- var __webpack_exports__ = {};
219
- __webpack_require__.r(__webpack_exports__);
220
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
221
- /* harmony export */ isAndExpression: function() { return /* binding */ isAndExpression; },
222
- /* harmony export */ isArrayContainsExpression: function() { return /* binding */ isArrayContainsExpression; },
223
- /* harmony export */ isConcatExpression: function() { return /* binding */ isConcatExpression; },
224
- /* harmony export */ isCondition: function() { return /* binding */ isCondition; },
225
- /* harmony export */ isIfExpression: function() { return /* binding */ isIfExpression; },
226
- /* harmony export */ isMappingExpression: function() { return /* binding */ isMappingExpression; },
227
- /* harmony export */ isOperation: function() { return /* binding */ isOperation; },
228
- /* harmony export */ isOrExpression: function() { return /* binding */ isOrExpression; },
229
- /* harmony export */ isSelector: function() { return /* binding */ isSelector; },
230
- /* harmony export */ isSpecificExpression: function() { return /* binding */ isSpecificExpression; },
231
- /* harmony export */ isSwitchExpression: function() { return /* binding */ isSwitchExpression; },
232
- /* harmony export */ isUnaryOperation: function() { return /* binding */ isUnaryOperation; },
233
- /* harmony export */ isValue: function() { return /* binding */ isValue; }
234
- /* harmony export */ });
235
- /* harmony import */ var _indicators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4);
236
- // #!/usr/bin/env babel-node
237
- // -*- coding: utf-8 -*-
238
5
  /* !
239
6
  region header
240
7
  [Project page](https://torben.website/clientnode)
@@ -248,8 +15,23 @@ __webpack_require__.r(__webpack_exports__);
248
15
  naming 3.0 unported license.
249
16
  See https://creativecommons.org/licenses/by/3.0/deed.de
250
17
  endregion
251
- */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__WEBPACK_IMPORTED_MODULE_0__.isPlainObject)(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))};
252
- /******/ return __webpack_exports__;
253
- /******/ })()
254
- ;
255
- });
18
+ */
19
+ import { isPlainObject } from "../indicators.js";
20
+ export const isSpecificExpression = (expression, indicatorKey, properties = []) => {
21
+ if (!(isPlainObject(expression) && Object.prototype.hasOwnProperty.call(expression, indicatorKey))) return false;
22
+ for (const name of properties) if (!Object.prototype.hasOwnProperty.call(expression, name)) return false;
23
+ return true;
24
+ };
25
+ export const isCondition = expression => isSpecificExpression(expression, '$comparator', ['value1', 'value2']);
26
+ export const isAndExpression = expression => isSpecificExpression(expression, '$and');
27
+ export const isOrExpression = expression => isSpecificExpression(expression, '$or');
28
+ export const isConcatExpression = expression => isSpecificExpression(expression, '$concat');
29
+ export const isMappingExpression = expression => isSpecificExpression(expression, '$mapping', ['data']);
30
+ export const isOperation = expression => isSpecificExpression(expression, '$operator', ['operand1', 'operand2']);
31
+ export const isUnaryOperation = expression => isSpecificExpression(expression, '$operator', ['operand']);
32
+ export const isIfExpression = expression => isSpecificExpression(expression, '$if');
33
+ export const isSwitchExpression = expression => isSpecificExpression(expression, '$switch');
34
+ export const isSelector = expression => isSpecificExpression(expression, '$select');
35
+ export const isArrayContainsExpression = expression => isSpecificExpression(expression, '$arrayContains');
36
+ export const isValue = expression => !(isSelector(expression) || isCondition(expression) || isUnaryOperation(expression) || isOperation(expression) || isAndExpression(expression) || isOrExpression(expression) || isConcatExpression(expression) || isMappingExpression(expression) || isIfExpression(expression) || isSwitchExpression(expression) || isArrayContainsExpression(expression));
37
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6W10sInNvdXJjZXMiOlsiLi4vLi4vc3JjL2V4cHJlc3Npb24vaW5kaWNhdG9yLWZ1bmN0aW9ucy50cyJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyAjIS91c3IvYmluL2VudiBiYWJlbC1ub2RlXG4vLyAtKi0gY29kaW5nOiB1dGYtOCAtKi1cbid1c2Ugc3RyaWN0J1xuLyogIVxuICAgIHJlZ2lvbiBoZWFkZXJcbiAgICBbUHJvamVjdCBwYWdlXShodHRwczovL3RvcmJlbi53ZWJzaXRlL2NsaWVudG5vZGUpXG5cbiAgICBDb3B5cmlnaHQgVG9yYmVuIFNpY2tlcnQgKGluZm9bXCJ+YXR+XCJddG9yYmVuLndlYnNpdGUpIDE2LjEyLjIwMTJcblxuICAgIExpY2Vuc2VcbiAgICAtLS0tLS0tXG5cbiAgICBUaGlzIGxpYnJhcnkgd3JpdHRlbiBieSBUb3JiZW4gU2lja2VydCBzdGFuZHMgdW5kZXIgYSBjcmVhdGl2ZSBjb21tb25zXG4gICAgbmFtaW5nIDMuMCB1bnBvcnRlZCBsaWNlbnNlLlxuICAgIFNlZSBodHRwczovL2NyZWF0aXZlY29tbW9ucy5vcmcvbGljZW5zZXMvYnkvMy4wL2RlZWQuZGVcbiAgICBlbmRyZWdpb25cbiovXG5pbXBvcnQgdHlwZSB7XG4gICAgQmFzaWNTY29wZVR5cGUsXG5cbiAgICBBbmRFeHByZXNzaW9uLFxuICAgIE9yRXhwc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VLENBQUMsSUFDMUIsa0JBQWtCLENBQUMsVUFBVSxDQUFDLElBQzlCLG1CQUFtQixDQUFDLFVBQVUsQ0FBQyxJQUMvQixjQUFjLENBQUMsVUFBVSxDQUFDLElBQzFCLGtCQUFrQixDQUFDLFVBQVUsQ0FBQyxJQUM5Qix5QkFBeUIsQ0FBQyxVQUFVLENBQUMsQ0FDeEMiLCJpZ25vcmVMaXN0IjpbXX0=
@@ -1,35 +1,7 @@
1
- 'use strict';if(typeof module!=='undefined'&&module!==null&&eval('typeof require')!=='undefined'&&eval('require')!==null&&'main'in eval('require')&&eval('typeof require.main')!=='undefined'&&eval('require.main')!==null){var ORIGINAL_MAIN_MODULE=module;if(module!==eval('require.main')&&'paths'in module&&'paths'in eval('require.main')&&typeof __dirname!=='undefined'&&__dirname!==null)module.paths=eval('require.main.paths').concat(module.paths.filter(function(path){return eval('require.main.paths').includes(path)}))};if(typeof window==='undefined'||window===null)var window=(typeof global==='undefined'||global===null)?{}:global;(function webpackUniversalModuleDefinition(root, factory) {
2
- if(typeof exports === 'object' && typeof module === 'object')
3
- module.exports = factory();
4
- else if(typeof define === 'function' && define.amd)
5
- define([], factory);
6
- else {
7
- var a = factory();
8
- for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
9
- }
10
- })(this, function() {
11
- return /******/ (function() { // webpackBootstrap
12
- /******/ "use strict";
13
- /******/ // The require scope
14
- /******/ var __webpack_require__ = {};
15
- /******/
16
- /************************************************************************/
17
- /******/ /* webpack/runtime/make namespace object */
18
- /******/ !function() {
19
- /******/ // define __esModule on exports
20
- /******/ __webpack_require__.r = function(exports) {
21
- /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
22
- /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
23
- /******/ }
24
- /******/ Object.defineProperty(exports, '__esModule', { value: true });
25
- /******/ };
26
- /******/ }();
27
- /******/
28
- /************************************************************************/
29
- var __webpack_exports__ = {};
30
- __webpack_require__.r(__webpack_exports__);
31
1
  // #!/usr/bin/env babel-node
32
2
  // -*- coding: utf-8 -*-
3
+ 'use strict';
4
+
33
5
  /* !
34
6
  region header
35
7
  [Project page](https://torben.website/clientnode)
@@ -44,7 +16,5 @@ __webpack_require__.r(__webpack_exports__);
44
16
  See https://creativecommons.org/licenses/by/3.0/deed.de
45
17
  endregion
46
18
  */
47
- /******/ return __webpack_exports__;
48
- /******/ })()
49
- ;
50
- });
19
+ export {};
20
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6W10sInNvdXJjZXMiOlsiLi4vLi4vc3JjL2V4cHJlc3Npb24vdHlwZS50cyJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyAjIS91c3IvYmluL2VudiBiYWJlbC1ub2RlXG4vLyAtKi0gY29kaW5nOiB1dGYtOCAtKi1cbid1c2Ugc3RyaWN0J1xuLyogIVxuICAgIHJlZ2lvbiBoZWFkZXJcbiAgICBbUHJvamVjdCBwYWdlXShodHRwczovL3RvcmJlbi53ZWJzaXRlL2NsaWVudG5vZGUpXG5cbiAgICBDb3B5cmlnaHQgVG9yYmVuIFNpY2tlcnQgKGluZm9bXCJ+YXR+XCJddG9yYmVuLndlYnNpdGUpIDE2LjEyLjIwMTJcblxuICAgIExpY2Vuc2VcbiAgICAtLS0tLS0tXG5cbiAgICBUaGlzIGxpYnJhcnkgd3JpdHRlbiBieSBUb3JiZW4gU2lja2VydCBzdGFuZHMgdW5kZXIgYSBjcmVhdGl2ZSBjb21tb25zXG4gICAgbmFtaW5nIDMuMCB1bnBvcnRlZCBsaWNlbnNlLlxuICAgIFNlZSBodHRwczovL2NyZWF0aXZlY29tbW9ucy5vcmcvbGljZW5zZXMvYnkvMy4wL2RlZWQuZGVcbiAgICBlbmRyZWdpb25cbiovXG5pbXBvcnQgdHlwZSB7TWFwcGluZ30gZnJvbSAnLi4vJ1xuXG4vKlxuICAgIFRPTyBleHBlbnNpdmUgc28gZmFyOlxuXG4g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