clientnode 4.0.1435 → 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,235 +0,0 @@
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("clientnode", [], factory);
6
- else if(typeof exports === 'object')
7
- exports["clientnode"] = factory();
8
- else
9
- root["clientnode"] = factory();
10
- })(this, function() {
11
- return /******/ (function() { // webpackBootstrap
12
- /******/ "use strict";
13
- /******/ var __webpack_modules__ = ([
14
- /* 0 */
15
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
16
-
17
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
18
- /* harmony export */ PLAIN_OBJECT_PROTOTYPES: function() { return /* binding */ PLAIN_OBJECT_PROTOTYPES; }
19
- /* harmony export */ });
20
- /* 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 */
21
- // #!/usr/bin/env babel-node
22
- // -*- coding: utf-8 -*-
23
- /** @module constants *//* !
24
- region header
25
- [Project page](https://torben.website/clientnode)
26
-
27
- Copyright Torben Sickert (info["~at~"]torben.website) 16.12.2012
28
-
29
- License
30
- -------
31
-
32
- This library written by Torben Sickert stands under a creative commons
33
- naming 3.0 unported license.
34
- See https://creativecommons.org/licenses/by/3.0/deed.de
35
- endregion
36
- */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
37
- // conversion.
38
- 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.
39
- var ANIMATION_END_EVENT_NAMES="animationend webkitAnimationEnd oAnimationEnd MSAnimationEnd";// String representation to object type name mapping.
40
- 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.
41
- 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.
42
- var SPECIAL_REGEX_SEQUENCES=(/* unused pure expression or super */ null && (["-","[","]","(",")","^","$","*","+",".","{","}"]));// Saves a string with all css3 browser specific transition end event names.
43
- var TRANSITION_END_EVENT_NAMES="transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd";
44
-
45
- /***/ }),
46
- /* 1 */,
47
- /* 2 */,
48
- /* 3 */
49
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
50
-
51
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
52
- /* harmony export */ isPlainObject: function() { return /* binding */ isPlainObject; }
53
- /* harmony export */ });
54
- /* unused harmony exports isNumeric, isWindow, isArrayLike, isAnyMatching, isObject, isSet, isMap, isProxy, isFunction */
55
- /* unused harmony import specifier */ var determineType;
56
- /* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
57
- // #!/usr/bin/env babel-node
58
- // -*- coding: utf-8 -*-
59
- /** @module indicators *//* !
60
- region header
61
- [Project page](https://torben.website/clientnode)
62
-
63
- Copyright Torben Sickert (info["~at~"]torben.website) 16.12.2012
64
-
65
- License
66
- -------
67
-
68
- This library written by Torben Sickert stands under a creative commons
69
- naming 3.0 unported license.
70
- See https://creativecommons.org/licenses/by/3.0/deed.de
71
- endregion
72
- */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)}/**
73
- * Determines whether its argument represents a JavaScript number.
74
- * @param value - Value to analyze.
75
- * @returns A boolean value indicating whether given object is numeric
76
- * like.
77
- */var isNumeric=function isNumeric(value){var type=determineType(value);/*
78
- NOTE: "parseFloat" "NaNs" numeric-cast false positives ("") but
79
- misinterprets leading-number strings, particularly hex literals
80
- ("0x...") subtraction forces infinities to NaN.
81
- */return["number","string"].includes(type)&&!isNaN(value-parseFloat(value))};/**
82
- * Determine whether the argument is a window.
83
- * @param value - Value to check for.
84
- * @returns Boolean value indicating the result.
85
- */var isWindow=function isWindow(value){return![null,undefined].includes(value)&&_typeof(value)==="object"&&value===(value===null||value===void 0?void 0:value.window)};/**
86
- * Checks if given object is similar to an array and can be handled like an
87
- * array.
88
- * @param object - Object to check behavior for.
89
- * @returns A boolean value indicating whether given object is array like.
90
- */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.
91
- }return false};/**
92
- * Checks whether one of the given pattern matches given string.
93
- * @param target - Target to check in pattern for.
94
- * @param pattern - List of pattern to check for.
95
- * @returns Value "true" if given object is matches by at leas one of the
96
- * given pattern and "false" otherwise.
97
- */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};/**
98
- * Checks whether given object is a native object but not null.
99
- * @param value - Value to check.
100
- * @returns Value "true" if given object is a plain javaScript object and
101
- * "false" otherwise.
102
- */var isObject=function isObject(value){return value!==null&&_typeof(value)==="object"};/**
103
- * Checks whether given object is a plain native object.
104
- * @param value - Value to check.
105
- * @returns Value "true" if given object is a plain javaScript object and
106
- * "false" otherwise.
107
- */var isPlainObject=function isPlainObject(value){return isObject(value)&&_constants__WEBPACK_IMPORTED_MODULE_0__.PLAIN_OBJECT_PROTOTYPES.includes(Object.getPrototypeOf(value))};/**
108
- * Checks whether given object is a set.
109
- * @param value - Value to check.
110
- * @returns Value "true" if given object is a set and "false" otherwise.
111
- */var isSet=function isSet(value){return determineType(value)==="set"};/**
112
- * Checks whether given object is a map.
113
- * @param value - Value to check.
114
- * @returns Value "true" if given object is a map and "false" otherwise.
115
- */var isMap=function isMap(value){return determineType(value)==="map"};/**
116
- * Checks whether given object is a proxy.
117
- * @param value - Value to check.
118
- * @returns Value "true" if given object is a proxy and "false" otherwise.
119
- */var isProxy=function isProxy(value){return Boolean(value.__target__)};/**
120
- * Checks whether given object is a function.
121
- * @param value - Value to check.
122
- * @returns Value "true" if given object is a function and "false"
123
- * otherwise.
124
- */var isFunction=function isFunction(value){return Boolean(value)&&["[object AsyncFunction]","[object Function]"].includes({}.toString.call(value))};
125
-
126
- /***/ })
127
- /******/ ]);
128
- /************************************************************************/
129
- /******/ // The module cache
130
- /******/ var __webpack_module_cache__ = {};
131
- /******/
132
- /******/ // The require function
133
- /******/ function __webpack_require__(moduleId) {
134
- /******/ // Check if module is in cache
135
- /******/ var cachedModule = __webpack_module_cache__[moduleId];
136
- /******/ if (cachedModule !== undefined) {
137
- /******/ return cachedModule.exports;
138
- /******/ }
139
- /******/ // Create a new module (and put it into the cache)
140
- /******/ var module = __webpack_module_cache__[moduleId] = {
141
- /******/ // no module.id needed
142
- /******/ // no module.loaded needed
143
- /******/ exports: {}
144
- /******/ };
145
- /******/
146
- /******/ // Execute the module function
147
- /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
148
- /******/
149
- /******/ // Return the exports of the module
150
- /******/ return module.exports;
151
- /******/ }
152
- /******/
153
- /************************************************************************/
154
- /******/ /* webpack/runtime/define property getters */
155
- /******/ !function() {
156
- /******/ // define getter/value functions for harmony exports
157
- /******/ __webpack_require__.d = function(exports, definition) {
158
- /******/ if(Array.isArray(definition)) {
159
- /******/ var i = 0;
160
- /******/ while(i < definition.length) {
161
- /******/ var key = definition[i++];
162
- /******/ var binding = definition[i++];
163
- /******/ if(!__webpack_require__.o(exports, key)) {
164
- /******/ if(binding === 0) {
165
- /******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
166
- /******/ } else {
167
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
168
- /******/ }
169
- /******/ } else if(binding === 0) { i++; }
170
- /******/ }
171
- /******/ } else {
172
- /******/ for(var key in definition) {
173
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
174
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
175
- /******/ }
176
- /******/ }
177
- /******/ }
178
- /******/ };
179
- /******/ }();
180
- /******/
181
- /******/ /* webpack/runtime/hasOwnProperty shorthand */
182
- /******/ !function() {
183
- /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
184
- /******/ }();
185
- /******/
186
- /******/ /* webpack/runtime/make namespace object */
187
- /******/ !function() {
188
- /******/ // define __esModule on exports
189
- /******/ __webpack_require__.r = function(exports) {
190
- /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
191
- /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
192
- /******/ }
193
- /******/ Object.defineProperty(exports, '__esModule', { value: true });
194
- /******/ };
195
- /******/ }();
196
- /******/
197
- /************************************************************************/
198
- var __webpack_exports__ = {};
199
- __webpack_require__.r(__webpack_exports__);
200
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
201
- /* harmony export */ isAndExpression: function() { return /* binding */ isAndExpression; },
202
- /* harmony export */ isArrayContainsExpression: function() { return /* binding */ isArrayContainsExpression; },
203
- /* harmony export */ isConcatExpression: function() { return /* binding */ isConcatExpression; },
204
- /* harmony export */ isCondition: function() { return /* binding */ isCondition; },
205
- /* harmony export */ isIfExpression: function() { return /* binding */ isIfExpression; },
206
- /* harmony export */ isMappingExpression: function() { return /* binding */ isMappingExpression; },
207
- /* harmony export */ isOperation: function() { return /* binding */ isOperation; },
208
- /* harmony export */ isOrExpression: function() { return /* binding */ isOrExpression; },
209
- /* harmony export */ isSelector: function() { return /* binding */ isSelector; },
210
- /* harmony export */ isSpecificExpression: function() { return /* binding */ isSpecificExpression; },
211
- /* harmony export */ isSwitchExpression: function() { return /* binding */ isSwitchExpression; },
212
- /* harmony export */ isUnaryOperation: function() { return /* binding */ isUnaryOperation; },
213
- /* harmony export */ isValue: function() { return /* binding */ isValue; }
214
- /* harmony export */ });
215
- /* harmony import */ var _indicators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3);
216
- // #!/usr/bin/env babel-node
217
- // -*- coding: utf-8 -*-
218
- /* !
219
- region header
220
- [Project page](https://torben.website/clientnode)
221
-
222
- Copyright Torben Sickert (info["~at~"]torben.website) 16.12.2012
223
-
224
- License
225
- -------
226
-
227
- This library written by Torben Sickert stands under a creative commons
228
- naming 3.0 unported license.
229
- See https://creativecommons.org/licenses/by/3.0/deed.de
230
- endregion
231
- */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))};
232
- /******/ return __webpack_exports__;
233
- /******/ })()
234
- ;
235
- });
@@ -1,50 +0,0 @@
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("clientnode", [], factory);
6
- else if(typeof exports === 'object')
7
- exports["clientnode"] = factory();
8
- else
9
- root["clientnode"] = factory();
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
- // #!/usr/bin/env babel-node
32
- // -*- coding: utf-8 -*-
33
- /* !
34
- region header
35
- [Project page](https://torben.website/clientnode)
36
-
37
- Copyright Torben Sickert (info["~at~"]torben.website) 16.12.2012
38
-
39
- License
40
- -------
41
-
42
- This library written by Torben Sickert stands under a creative commons
43
- naming 3.0 unported license.
44
- See https://creativecommons.org/licenses/by/3.0/deed.de
45
- endregion
46
- */
47
- /******/ return __webpack_exports__;
48
- /******/ })()
49
- ;
50
- });