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.
- package/dist/Lock.js +83 -94
- package/dist/Logger.js +163 -715
- package/dist/Semaphore.js +46 -81
- package/dist/array.js +337 -568
- package/dist/cli.js +37 -71
- package/dist/constants.js +110 -209
- package/dist/context.js +25 -229
- package/dist/cookie.js +48 -226
- package/dist/data-transfer.js +166 -725
- package/dist/datetime.js +241 -1059
- package/dist/domNode.js +277 -441
- package/dist/expression/evaluators.js +234 -1112
- package/dist/expression/helper.js +82 -135
- package/dist/expression/index.js +10 -1245
- package/dist/expression/indicator-functions.js +21 -239
- package/dist/expression/type.js +4 -34
- package/dist/filesystem.js +323 -309
- package/dist/function.js +51 -125
- package/dist/index.js +26 -2709
- package/dist/indicators.js +68 -440
- package/dist/module.js +78 -164
- package/dist/number.js +25 -423
- package/dist/object.js +771 -852
- package/dist/process.js +39 -245
- package/dist/property-types.js +96 -157
- package/dist/scope.js +56 -1825
- package/dist/string.js +603 -909
- package/dist/test-helper.js +171 -541
- package/dist/type.js +8 -37
- package/dist/utility.js +91 -336
- package/package.json +2 -2
- package/dist/Lock.d.ts +0 -39
- package/dist/Logger.d.ts +0 -102
- package/dist/Semaphore.d.ts +0 -29
- package/dist/array.d.ts +0 -150
- package/dist/bundle/Lock.js +0 -111
- package/dist/bundle/Logger.js +0 -705
- package/dist/bundle/Semaphore.js +0 -100
- package/dist/bundle/array.js +0 -648
- package/dist/bundle/cli.js +0 -85
- package/dist/bundle/constants.js +0 -225
- package/dist/bundle/context.js +0 -243
- package/dist/bundle/cookie.js +0 -262
- package/dist/bundle/data-transfer.js +0 -741
- package/dist/bundle/datetime.js +0 -1064
- package/dist/bundle/domNode.js +0 -471
- package/dist/bundle/expression/evaluators.js +0 -1115
- package/dist/bundle/expression/helper.js +0 -106
- package/dist/bundle/expression/index.js +0 -1223
- package/dist/bundle/expression/indicator-functions.js +0 -235
- package/dist/bundle/expression/type.js +0 -50
- package/dist/bundle/filesystem.js +0 -374
- package/dist/bundle/function.js +0 -105
- package/dist/bundle/index.js +0 -2686
- package/dist/bundle/indicators.js +0 -459
- package/dist/bundle/module.js +0 -180
- package/dist/bundle/number.js +0 -425
- package/dist/bundle/object.js +0 -1004
- package/dist/bundle/process.js +0 -275
- package/dist/bundle/property-types.js +0 -167
- package/dist/bundle/scope.js +0 -1808
- package/dist/bundle/string.js +0 -1095
- package/dist/bundle/test-helper.js +0 -690
- package/dist/bundle/type.js +0 -50
- package/dist/bundle/utility.js +0 -362
- package/dist/cli.d.ts +0 -31
- package/dist/compatible/Lock.js +0 -111
- package/dist/compatible/Logger.js +0 -705
- package/dist/compatible/Semaphore.js +0 -100
- package/dist/compatible/array.js +0 -648
- package/dist/compatible/cli.js +0 -85
- package/dist/compatible/constants.js +0 -225
- package/dist/compatible/context.js +0 -243
- package/dist/compatible/cookie.js +0 -262
- package/dist/compatible/data-transfer.js +0 -741
- package/dist/compatible/datetime.js +0 -1064
- package/dist/compatible/domNode.js +0 -471
- package/dist/compatible/expression/evaluators.js +0 -1115
- package/dist/compatible/expression/helper.js +0 -106
- package/dist/compatible/expression/index.js +0 -1223
- package/dist/compatible/expression/indicator-functions.js +0 -235
- package/dist/compatible/expression/type.js +0 -50
- package/dist/compatible/filesystem.js +0 -374
- package/dist/compatible/function.js +0 -105
- package/dist/compatible/index.js +0 -2686
- package/dist/compatible/indicators.js +0 -459
- package/dist/compatible/module.js +0 -180
- package/dist/compatible/number.js +0 -425
- package/dist/compatible/object.js +0 -1004
- package/dist/compatible/process.js +0 -275
- package/dist/compatible/property-types.js +0 -167
- package/dist/compatible/scope.js +0 -1808
- package/dist/compatible/string.js +0 -1095
- package/dist/compatible/test-helper.js +0 -690
- package/dist/compatible/type.js +0 -50
- package/dist/compatible/utility.js +0 -362
- package/dist/constants.d.ts +0 -99
- package/dist/context.d.ts +0 -8
- package/dist/cookie.d.ts +0 -31
- package/dist/data-transfer.d.ts +0 -45
- package/dist/datetime.d.ts +0 -37
- package/dist/domNode.d.ts +0 -82
- package/dist/expression/evaluators.d.ts +0 -55
- package/dist/expression/helper.d.ts +0 -4
- package/dist/expression/index.d.ts +0 -7
- package/dist/expression/indicator-functions.d.ts +0 -14
- package/dist/expression/type.d.ts +0 -70
- package/dist/filesystem.d.ts +0 -143
- package/dist/function.d.ts +0 -20
- package/dist/index.d.ts +0 -23
- package/dist/indicators.d.ts +0 -68
- package/dist/module.d.ts +0 -8
- package/dist/number.d.ts +0 -35
- package/dist/object.d.ts +0 -231
- package/dist/process.d.ts +0 -22
- package/dist/property-types.d.ts +0 -460
- package/dist/scope.d.ts +0 -44
- package/dist/string.d.ts +0 -312
- package/dist/test/Lock.d.ts +0 -1
- package/dist/test/Logger.d.ts +0 -1
- package/dist/test/Semaphore.d.ts +0 -1
- package/dist/test/array.d.ts +0 -1
- package/dist/test/cookie.d.ts +0 -1
- package/dist/test/data-transfer.d.ts +0 -1
- package/dist/test/datetime.d.ts +0 -1
- package/dist/test/domNode.d.ts +0 -1
- package/dist/test/expression/evaluators.d.ts +0 -1
- package/dist/test/expression/helper.d.ts +0 -1
- package/dist/test/expression/indicator-functions.d.ts +0 -1
- package/dist/test/filesystem.d.ts +0 -1
- package/dist/test/function.d.ts +0 -1
- package/dist/test/indicators.d.ts +0 -1
- package/dist/test/number.d.ts +0 -1
- package/dist/test/object.d.ts +0 -1
- package/dist/test/process.d.ts +0 -1
- package/dist/test/property-types.d.ts +0 -1
- package/dist/test/scope.d.ts +0 -1
- package/dist/test/string.d.ts +0 -1
- package/dist/test/utility.d.ts +0 -1
- package/dist/test-helper.d.ts +0 -143
- package/dist/type.d.ts +0 -230
- package/dist/utility.d.ts +0 -44
package/dist/compatible/type.js
DELETED
|
@@ -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
|
-
// -*- coding: utf-8 -*-
|
|
32
|
-
/** @module type *//* !
|
|
33
|
-
region header
|
|
34
|
-
[Project page](https://torben.website/clientnode)
|
|
35
|
-
|
|
36
|
-
Copyright Torben Sickert (info["~at~"]torben.website) 16.12.2012
|
|
37
|
-
|
|
38
|
-
License
|
|
39
|
-
-------
|
|
40
|
-
|
|
41
|
-
This library written by Torben Sickert stands under a creative commons
|
|
42
|
-
naming 3.0 unported license.
|
|
43
|
-
See https://creativecommons.org/licenses/by/3.0/deed.de
|
|
44
|
-
endregion
|
|
45
|
-
*/// region imports
|
|
46
|
-
|
|
47
|
-
/******/ return __webpack_exports__;
|
|
48
|
-
/******/ })()
|
|
49
|
-
;
|
|
50
|
-
});
|
|
@@ -1,362 +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
|
-
/******/ var __webpack_modules__ = ([
|
|
13
|
-
/* 0 */,
|
|
14
|
-
/* 1 */
|
|
15
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
16
|
-
|
|
17
|
-
"use strict";
|
|
18
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19
|
-
/* harmony export */ determineGlobalContext: function() { return /* binding */ determineGlobalContext; },
|
|
20
|
-
/* harmony export */ optionalImport: function() { return /* binding */ optionalImport; },
|
|
21
|
-
/* harmony export */ optionalRequire: function() { return /* binding */ optionalRequire; }
|
|
22
|
-
/* harmony export */ });
|
|
23
|
-
/* unused harmony exports currentRequire, clearRequireCache, isolatedRequire, isImportSyntaxSupported */
|
|
24
|
-
/* module decorator */ module = __webpack_require__.hmd(module);
|
|
25
|
-
// #!/usr/bin/env babel-node
|
|
26
|
-
// -*- coding: utf-8 -*-
|
|
27
|
-
/** @module module *//* !
|
|
28
|
-
region header
|
|
29
|
-
[Project page](https://torben.website/clientnode)
|
|
30
|
-
|
|
31
|
-
Copyright Torben Sickert (info["~at~"]torben.website) 16.12.2012
|
|
32
|
-
|
|
33
|
-
License
|
|
34
|
-
-------
|
|
35
|
-
|
|
36
|
-
This library written by Torben Sickert stands under a creative commons
|
|
37
|
-
naming 3.0 unported license.
|
|
38
|
-
See https://creativecommons.org/licenses/by/3.0/deed.de
|
|
39
|
-
endregion
|
|
40
|
-
*/function _defaults(e,r){for(var t=Object.getOwnPropertyNames(r),o=0;o<t.length;o++){var n=t[o],a=Object.getOwnPropertyDescriptor(r,n);a&&a.configurable&&void 0===e[n]&&Object.defineProperty(e,n,a)}return e}function _regenerator(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof Generator?n:Generator,u=Object.create(c.prototype);return _regeneratorDefine2(u,"_invoke",function(r,n,o){var i,c,u,f=0,p=o||[],y=!1,G={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function d(t,r){return i=t,c=0,u=e,G.n=r,a}};function d(r,n){for(c=r,u=n,t=0;!y&&f&&!o&&t<p.length;t++){var o,i=p[t],d=G.p,l=i[2];r>3?(o=l===n)&&(u=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=r<2&&d<i[1])?(c=0,G.v=n,G.n=i[1]):d<l&&(o=r<3||i[0]>n||n>l)&&(i[4]=r,i[5]=n,G.n=l,c=0))}if(o||r>1)return a;throw y=!0,n}return function(o,p,l){if(f>1)throw TypeError("Generator is already running");for(y&&1===p&&d(p,l),c=p,u=l;(t=c<2?e:u)||!y;){i||(c?c<3?(c>1&&(G.n=-1),d(c,u)):G.n=u:G.v=u);try{if(f=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,c<2&&(c=0)}else 1===c&&(t=i.return)&&t.call(i),c<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e}else if((t=(y=G.n<0)?u:r.call(n,G))!==a)break}catch(t){i=e,c=1,u=t}finally{f=1}}return{value:t,done:y}}}(r,o,i),!0),u}var a={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}t=Object.getPrototypeOf;var c=[][n]?t(t([][n]())):(_regeneratorDefine2(t={},n,function(){return this}),t),u=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(_defaults(e,GeneratorFunctionPrototype),_regeneratorDefine2(e,o,"GeneratorFunction")),e.prototype=Object.create(u),e}return GeneratorFunction.prototype=GeneratorFunctionPrototype,_regeneratorDefine2(u,"constructor",GeneratorFunctionPrototype),_regeneratorDefine2(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName="GeneratorFunction",_regeneratorDefine2(GeneratorFunctionPrototype,o,"GeneratorFunction"),_regeneratorDefine2(u),_regeneratorDefine2(u,o,"Generator"),_regeneratorDefine2(u,n,function(){return this}),_regeneratorDefine2(u,"toString",function(){return"[object Generator]"}),(_regenerator=function _regenerator(){return{w:i,m:f}})()}function _regeneratorDefine2(e,r,n,t){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}_regeneratorDefine2=function _regeneratorDefine(e,r,n,t){function o(r,n){_regeneratorDefine2(e,r,function(e){return this._invoke(r,n,e)})}r?i?i(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n:(o("next",0),o("throw",1),o("return",2))},_regeneratorDefine2(e,r,n,t)}function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value}catch(n){return void e(n)}i.done?t(u):Promise.resolve(u).then(r,o)}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n)}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n)}_next(void 0)})}}function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}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 _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return}finally{if(o)throw n}}return a}}function _arrayWithHoles(r){if(Array.isArray(r))return r}var determineGlobalContext=function determineGlobalContext(){if(typeof globalThis==="undefined"){if(typeof window==="undefined"){if(typeof __webpack_require__.g==="undefined")return false?0:module;if(Object.prototype.hasOwnProperty.call(__webpack_require__.g,"window"))return __webpack_require__.g.window;return __webpack_require__.g}return window}return globalThis};var globalContext=determineGlobalContext();// Make preprocessed require function available at runtime.
|
|
41
|
-
var currentRequire=typeof globalContext.require==="undefined"?null:globalContext.require;var optionalRequire=function optionalRequire(id){try{return currentRequire?currentRequire(id):null}catch(_unused){return null}};var clearRequireCache=function clearRequireCache(cache){if(cache===void 0){cache=(currentRequire===null||currentRequire===void 0?void 0:currentRequire.cache)||__webpack_require__.c}var backup={};for(var _i=0,_Object$entries=Object.entries(cache);_i<_Object$entries.length;_i++){var _Object$entries$_i=_slicedToArray(_Object$entries[_i],2),key=_Object$entries$_i[0],_module=_Object$entries$_i[1];backup[key]=_module;delete cache[key]}return backup};var restoreRequireCache=function restoreRequireCache(cache,backup){if(cache===void 0){cache=(currentRequire===null||currentRequire===void 0?void 0:currentRequire.cache)||__webpack_require__.c}clearRequireCache();for(var _i2=0,_Object$entries2=Object.entries(backup);_i2<_Object$entries2.length;_i2++){var _Object$entries2$_i=_slicedToArray(_Object$entries2[_i2],2),key=_Object$entries2$_i[0],_module2=_Object$entries2$_i[1];cache[key]=_module2}};var isolatedRequire=function isolatedRequire(path,requireFunction){if(requireFunction===void 0){requireFunction=currentRequire||__webpack_require__(5)}var backup=clearRequireCache(requireFunction.cache);try{return requireFunction(path);// eslint-disable-next-line no-useless-catch
|
|
42
|
-
}catch(error){throw error}finally{restoreRequireCache(requireFunction.cache,backup)}};// Make preprocessed import function available at runtime.
|
|
43
|
-
var isImportSyntaxSupported=function isImportSyntaxSupported(){try{// eslint-disable-next-line @typescript-eslint/no-implied-eval
|
|
44
|
-
new Function("import(\"data:text/javascript,\")");return true}catch(_unused2){return false}};var optionalImport=/*#__PURE__*/function(){var _optionalImport=_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(id,options){var _t,_t2;return _regenerator().w(function(_context){while(1)switch(_context.p=_context.n){case 0:if(options===void 0){options={}}_context.p=1;if(!isImportSyntaxSupported()){_context.n=3;break}_context.n=2;return new Function("options","return import('".concat(id,"', options)"))(options);case 2:_t=_context.v;_context.n=5;break;case 3:_context.n=4;return Promise.resolve(null);case 4:_t=_context.v;case 5:return _context.a(2,_t);case 6:_context.p=6;_t2=_context.v;_context.n=7;return Promise.resolve(null);case 7:return _context.a(2,_context.v)}},_callee,null,[[1,6]])}));function optionalImport(_x,_x2){return _optionalImport.apply(this,arguments)}return optionalImport}();
|
|
45
|
-
|
|
46
|
-
/***/ }),
|
|
47
|
-
/* 2 */,
|
|
48
|
-
/* 3 */
|
|
49
|
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
50
|
-
|
|
51
|
-
"use strict";
|
|
52
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
53
|
-
/* harmony export */ isFunction: function() { return /* binding */ isFunction; }
|
|
54
|
-
/* harmony export */ });
|
|
55
|
-
/* unused harmony exports isNumeric, isWindow, isArrayLike, isAnyMatching, isObject, isPlainObject, isSet, isMap, isProxy */
|
|
56
|
-
/* unused harmony import specifier */ var PLAIN_OBJECT_PROTOTYPES;
|
|
57
|
-
/* unused harmony import specifier */ var determineType;
|
|
58
|
-
// #!/usr/bin/env babel-node
|
|
59
|
-
// -*- coding: utf-8 -*-
|
|
60
|
-
/** @module indicators *//* !
|
|
61
|
-
region header
|
|
62
|
-
[Project page](https://torben.website/clientnode)
|
|
63
|
-
|
|
64
|
-
Copyright Torben Sickert (info["~at~"]torben.website) 16.12.2012
|
|
65
|
-
|
|
66
|
-
License
|
|
67
|
-
-------
|
|
68
|
-
|
|
69
|
-
This library written by Torben Sickert stands under a creative commons
|
|
70
|
-
naming 3.0 unported license.
|
|
71
|
-
See https://creativecommons.org/licenses/by/3.0/deed.de
|
|
72
|
-
endregion
|
|
73
|
-
*/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)}/**
|
|
74
|
-
* Determines whether its argument represents a JavaScript number.
|
|
75
|
-
* @param value - Value to analyze.
|
|
76
|
-
* @returns A boolean value indicating whether given object is numeric
|
|
77
|
-
* like.
|
|
78
|
-
*/var isNumeric=function isNumeric(value){var type=determineType(value);/*
|
|
79
|
-
NOTE: "parseFloat" "NaNs" numeric-cast false positives ("") but
|
|
80
|
-
misinterprets leading-number strings, particularly hex literals
|
|
81
|
-
("0x...") subtraction forces infinities to NaN.
|
|
82
|
-
*/return["number","string"].includes(type)&&!isNaN(value-parseFloat(value))};/**
|
|
83
|
-
* Determine whether the argument is a window.
|
|
84
|
-
* @param value - Value to check for.
|
|
85
|
-
* @returns Boolean value indicating the result.
|
|
86
|
-
*/var isWindow=function isWindow(value){return![null,undefined].includes(value)&&_typeof(value)==="object"&&value===(value===null||value===void 0?void 0:value.window)};/**
|
|
87
|
-
* Checks if given object is similar to an array and can be handled like an
|
|
88
|
-
* array.
|
|
89
|
-
* @param object - Object to check behavior for.
|
|
90
|
-
* @returns A boolean value indicating whether given object is array like.
|
|
91
|
-
*/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.
|
|
92
|
-
}return false};/**
|
|
93
|
-
* Checks whether one of the given pattern matches given string.
|
|
94
|
-
* @param target - Target to check in pattern for.
|
|
95
|
-
* @param pattern - List of pattern to check for.
|
|
96
|
-
* @returns Value "true" if given object is matches by at leas one of the
|
|
97
|
-
* given pattern and "false" otherwise.
|
|
98
|
-
*/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};/**
|
|
99
|
-
* Checks whether given object is a native object but not null.
|
|
100
|
-
* @param value - Value to check.
|
|
101
|
-
* @returns Value "true" if given object is a plain javaScript object and
|
|
102
|
-
* "false" otherwise.
|
|
103
|
-
*/var isObject=function isObject(value){return value!==null&&_typeof(value)==="object"};/**
|
|
104
|
-
* Checks whether given object is a plain native object.
|
|
105
|
-
* @param value - Value to check.
|
|
106
|
-
* @returns Value "true" if given object is a plain javaScript object and
|
|
107
|
-
* "false" otherwise.
|
|
108
|
-
*/var isPlainObject=function isPlainObject(value){return isObject(value)&&PLAIN_OBJECT_PROTOTYPES.includes(Object.getPrototypeOf(value))};/**
|
|
109
|
-
* Checks whether given object is a set.
|
|
110
|
-
* @param value - Value to check.
|
|
111
|
-
* @returns Value "true" if given object is a set and "false" otherwise.
|
|
112
|
-
*/var isSet=function isSet(value){return determineType(value)==="set"};/**
|
|
113
|
-
* Checks whether given object is a map.
|
|
114
|
-
* @param value - Value to check.
|
|
115
|
-
* @returns Value "true" if given object is a map and "false" otherwise.
|
|
116
|
-
*/var isMap=function isMap(value){return determineType(value)==="map"};/**
|
|
117
|
-
* Checks whether given object is a proxy.
|
|
118
|
-
* @param value - Value to check.
|
|
119
|
-
* @returns Value "true" if given object is a proxy and "false" otherwise.
|
|
120
|
-
*/var isProxy=function isProxy(value){return Boolean(value.__target__)};/**
|
|
121
|
-
* Checks whether given object is a function.
|
|
122
|
-
* @param value - Value to check.
|
|
123
|
-
* @returns Value "true" if given object is a function and "false"
|
|
124
|
-
* otherwise.
|
|
125
|
-
*/var isFunction=function isFunction(value){return Boolean(value)&&["[object AsyncFunction]","[object Function]"].includes({}.toString.call(value))};
|
|
126
|
-
|
|
127
|
-
/***/ }),
|
|
128
|
-
/* 4 */
|
|
129
|
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
130
|
-
|
|
131
|
-
"use strict";
|
|
132
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
133
|
-
/* harmony export */ NOOP: function() { return /* binding */ NOOP; }
|
|
134
|
-
/* harmony export */ });
|
|
135
|
-
/* unused harmony exports globalContext, setGlobalContext, MAXIMAL_NUMBER_OF_ITERATIONS, mockConsole */
|
|
136
|
-
/* unused harmony import specifier */ var CONSOLE_METHODS;
|
|
137
|
-
/* harmony import */ var _module__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
138
|
-
// #!/usr/bin/env babel-node
|
|
139
|
-
// -*- coding: utf-8 -*-
|
|
140
|
-
/** @module context *//* !
|
|
141
|
-
region header
|
|
142
|
-
[Project page](https://torben.website/clientnode)
|
|
143
|
-
|
|
144
|
-
Copyright Torben Sickert (info["~at~"]torben.website) 16.12.2012
|
|
145
|
-
|
|
146
|
-
License
|
|
147
|
-
-------
|
|
148
|
-
|
|
149
|
-
This library written by Torben Sickert stands under a creative commons
|
|
150
|
-
naming 3.0 unported license.
|
|
151
|
-
See https://creativecommons.org/licenses/by/3.0/deed.de
|
|
152
|
-
endregion
|
|
153
|
-
*/var _optionalRequire$defa,_optionalRequire;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 globalContext=(0,_module__WEBPACK_IMPORTED_MODULE_0__.determineGlobalContext)();var setGlobalContext=function setGlobalContext(context){globalContext=context};globalContext.fetch=globalContext.fetch?globalContext.fetch.bind(globalContext):(_optionalRequire$defa=(_optionalRequire=(0,_module__WEBPACK_IMPORTED_MODULE_0__.optionalRequire)("node-fetch"))===null||_optionalRequire===void 0?void 0:_optionalRequire.default)!==null&&_optionalRequire$defa!==void 0?_optionalRequire$defa:function(){for(var _len=arguments.length,parameters=new Array(_len),_key=0;_key<_len;_key++){parameters[_key]=arguments[_key]}return (0,_module__WEBPACK_IMPORTED_MODULE_0__.optionalImport)(/* webpackIgnore: true */"node-fetch").then(function(module){var _ref;return(_ref=module).default.apply(_ref,parameters)})};var MAXIMAL_NUMBER_OF_ITERATIONS=(/* unused pure expression or super */ null && ({value:100}));// A no-op dummy function.
|
|
154
|
-
var NOOP=function NOOP(){// Do nothing.
|
|
155
|
-
};var mockConsole=function mockConsole(){// Avoid errors in browsers that lack a console.
|
|
156
|
-
if(!Object.prototype.hasOwnProperty.call(globalContext,"console"))globalContext.console={};if(!globalContext.console)globalContext.console={};var _iterator=_createForOfIteratorHelper(CONSOLE_METHODS),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var methodName=_step.value;if(!(methodName in globalContext.console))globalContext.console[methodName]=NOOP}}catch(err){_iterator.e(err)}finally{_iterator.f()}};
|
|
157
|
-
|
|
158
|
-
/***/ }),
|
|
159
|
-
/* 5 */
|
|
160
|
-
/***/ (function(module) {
|
|
161
|
-
|
|
162
|
-
function webpackEmptyContext(req) {
|
|
163
|
-
var e = new Error("Cannot find module '" + req + "'");
|
|
164
|
-
e.code = 'MODULE_NOT_FOUND';
|
|
165
|
-
throw e;
|
|
166
|
-
}
|
|
167
|
-
webpackEmptyContext.keys = function() { return []; };
|
|
168
|
-
webpackEmptyContext.resolve = webpackEmptyContext;
|
|
169
|
-
webpackEmptyContext.id = 5;
|
|
170
|
-
module.exports = webpackEmptyContext;
|
|
171
|
-
|
|
172
|
-
/***/ }),
|
|
173
|
-
/* 6 */,
|
|
174
|
-
/* 7 */,
|
|
175
|
-
/* 8 */,
|
|
176
|
-
/* 9 */,
|
|
177
|
-
/* 10 */,
|
|
178
|
-
/* 11 */
|
|
179
|
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
180
|
-
|
|
181
|
-
"use strict";
|
|
182
|
-
__webpack_require__.r(__webpack_exports__);
|
|
183
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
184
|
-
/* harmony export */ debounce: function() { return /* binding */ debounce; },
|
|
185
|
-
/* harmony export */ preventDefault: function() { return /* binding */ preventDefault; },
|
|
186
|
-
/* harmony export */ stopPropagation: function() { return /* binding */ stopPropagation; },
|
|
187
|
-
/* harmony export */ timeout: function() { return /* binding */ timeout; },
|
|
188
|
-
/* harmony export */ trailingThrottle: function() { return /* binding */ trailingThrottle; }
|
|
189
|
-
/* harmony export */ });
|
|
190
|
-
/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4);
|
|
191
|
-
/* harmony import */ var _indicators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
|
|
192
|
-
// #!/usr/bin/env babel-node
|
|
193
|
-
// -*- coding: utf-8 -*-
|
|
194
|
-
/** @module utility *//* !
|
|
195
|
-
region header
|
|
196
|
-
[Project page](https://torben.website/clientnode)
|
|
197
|
-
|
|
198
|
-
Copyright Torben Sickert (info["~at~"]torben.website) 16.12.2012
|
|
199
|
-
|
|
200
|
-
License
|
|
201
|
-
-------
|
|
202
|
-
|
|
203
|
-
This library written by Torben Sickert stands under a creative commons
|
|
204
|
-
naming 3.0 unported license.
|
|
205
|
-
See https://creativecommons.org/licenses/by/3.0/deed.de
|
|
206
|
-
endregion
|
|
207
|
-
*/function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}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 _iterableToArray(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r)}function _arrayWithoutHoles(r){if(Array.isArray(r))return _arrayLikeToArray(r)}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}/**
|
|
208
|
-
* Prevents event functions from triggering too often by defining a minimal
|
|
209
|
-
* span between each function call. Additional arguments given to this function
|
|
210
|
-
* will be forwarded to the given event function call.
|
|
211
|
-
* @param callback - The function to call debounced.
|
|
212
|
-
* @param thresholdInMilliseconds - The minimum time span between each
|
|
213
|
-
* function call.
|
|
214
|
-
* @param additionalArguments - Additional arguments to forward to given
|
|
215
|
-
* function.
|
|
216
|
-
* @returns Returns the wrapped method.
|
|
217
|
-
*/var trailingThrottle=function trailingThrottle(callback,thresholdInMilliseconds){if(thresholdInMilliseconds===void 0){thresholdInMilliseconds=600}for(var _len=arguments.length,additionalArguments=new Array(_len>2?_len-2:0),_key=2;_key<_len;_key++){additionalArguments[_key-2]=arguments[_key]}var timeoutID=null;var recentParameters=[];return function(){for(var _len2=arguments.length,parameters=new Array(_len2),_key2=0;_key2<_len2;_key2++){parameters[_key2]=arguments[_key2]}recentParameters=parameters;if(timeoutID)return;timeoutID=setTimeout(function(){callback.apply(void 0,_toConsumableArray(recentParameters).concat(additionalArguments));// Reset for next cycle.
|
|
218
|
-
timeoutID=null;recentParameters=[]},thresholdInMilliseconds)}};/**
|
|
219
|
-
* Prevents event functions from triggering too close after each trigger by
|
|
220
|
-
* defining a minimal span between each function call. Additional arguments
|
|
221
|
-
* given to this function will be forwarded to the given event function call.
|
|
222
|
-
* @param callback - The function to call debounced.
|
|
223
|
-
* @param thresholdInMilliseconds - The minimum time span between each
|
|
224
|
-
* function call.
|
|
225
|
-
* @param additionalArguments - Additional arguments to forward to given
|
|
226
|
-
* function.
|
|
227
|
-
* @returns Returns the wrapped method.
|
|
228
|
-
*/var debounce=function debounce(callback,thresholdInMilliseconds){if(thresholdInMilliseconds===void 0){thresholdInMilliseconds=600}for(var _len3=arguments.length,additionalArguments=new Array(_len3>2?_len3-2:0),_key3=2;_key3<_len3;_key3++){additionalArguments[_key3-2]=arguments[_key3]}var timeoutPromise;var nextResultPromiseResolver;var nextResultPromise=new Promise(function(resolve){nextResultPromiseResolver=resolve});return function(){var _timeoutPromise;for(var _len4=arguments.length,parameters=new Array(_len4),_key4=0;_key4<_len4;_key4++){parameters[_key4]=arguments[_key4]}parameters=parameters.concat(additionalArguments);(_timeoutPromise=timeoutPromise)===null||_timeoutPromise===void 0||_timeoutPromise.clear();timeoutPromise=timeout(function(){nextResultPromiseResolver(callback.apply(void 0,_toConsumableArray(parameters)));nextResultPromise=new Promise(function(resolve){nextResultPromiseResolver=resolve})},thresholdInMilliseconds);return nextResultPromise}};/**
|
|
229
|
-
* Triggers given callback after given duration. Supports unlimited
|
|
230
|
-
* duration length and returns a promise which will be resolved after given
|
|
231
|
-
* duration has been passed.
|
|
232
|
-
* @param parameters - Observes the first three existing parameters. If one
|
|
233
|
-
* is a number it will be interpreted as delay in milliseconds until given
|
|
234
|
-
* callback will be triggered. If one is of type function it will be used
|
|
235
|
-
* as callback and if one is of type boolean it will indicate if returning
|
|
236
|
-
* promise should be rejected or resolved if given internally created
|
|
237
|
-
* timeout should be canceled. Additional parameters will be forwarded to
|
|
238
|
-
* given callback.
|
|
239
|
-
* @returns A promise resolving after given delay or being rejected if
|
|
240
|
-
* value "true" is within one of the first three parameters. The promise
|
|
241
|
-
* holds a boolean indicating whether timeout has been canceled or
|
|
242
|
-
* resolved.
|
|
243
|
-
*/var timeout=function timeout(){for(var _len5=arguments.length,parameters=new Array(_len5),_key5=0;_key5<_len5;_key5++){parameters[_key5]=arguments[_key5]}var callback=_context__WEBPACK_IMPORTED_MODULE_0__.NOOP;var delayInMilliseconds=0;var throwOnTimeoutClear=false;for(var _i=0,_parameters=parameters;_i<_parameters.length;_i++){var value=_parameters[_i];if(typeof value==="number"&&!isNaN(value))delayInMilliseconds=value;else if(typeof value==="boolean")throwOnTimeoutClear=value;else if((0,_indicators__WEBPACK_IMPORTED_MODULE_1__.isFunction)(value))callback=value}var rejectCallback;var resolveCallback;var result=new Promise(function(resolve,reject){rejectCallback=reject;resolveCallback=resolve});var wrappedCallback=function wrappedCallback(){var _callback;(_callback=callback).call.apply(_callback,[result].concat(parameters));resolveCallback(false)};var maximumTimeoutDelayInMilliseconds=2147483647;if(delayInMilliseconds<=maximumTimeoutDelayInMilliseconds)result.timeoutID=setTimeout(wrappedCallback,delayInMilliseconds);else{/*
|
|
244
|
-
Determine the number of times we need to delay by maximum
|
|
245
|
-
possible timeout duration.
|
|
246
|
-
*/var numberOfRemainingTimeouts=Math.floor(delayInMilliseconds/maximumTimeoutDelayInMilliseconds);var finalTimeoutDuration=delayInMilliseconds%maximumTimeoutDelayInMilliseconds;var _delay=function delay(){if(numberOfRemainingTimeouts>0){numberOfRemainingTimeouts-=1;result.timeoutID=setTimeout(_delay,maximumTimeoutDelayInMilliseconds)}else result.timeoutID=setTimeout(wrappedCallback,finalTimeoutDuration)};_delay()}result.clear=function(){if(Object.prototype.hasOwnProperty.call(result,"timeoutID")){clearTimeout(result.timeoutID);(throwOnTimeoutClear?rejectCallback:resolveCallback)(true)}};return result};var preventDefault=function preventDefault(event){event.preventDefault()};var stopPropagation=function stopPropagation(event){event.stopPropagation()};
|
|
247
|
-
|
|
248
|
-
/***/ })
|
|
249
|
-
/******/ ]);
|
|
250
|
-
/************************************************************************/
|
|
251
|
-
/******/ // The module cache
|
|
252
|
-
/******/ var __webpack_module_cache__ = {};
|
|
253
|
-
/******/
|
|
254
|
-
/******/ // The require function
|
|
255
|
-
/******/ function __webpack_require__(moduleId) {
|
|
256
|
-
/******/ // Check if module is in cache
|
|
257
|
-
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
258
|
-
/******/ if (cachedModule !== undefined) {
|
|
259
|
-
/******/ return cachedModule.exports;
|
|
260
|
-
/******/ }
|
|
261
|
-
/******/ // Create a new module (and put it into the cache)
|
|
262
|
-
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
263
|
-
/******/ id: moduleId,
|
|
264
|
-
/******/ loaded: false,
|
|
265
|
-
/******/ exports: {}
|
|
266
|
-
/******/ };
|
|
267
|
-
/******/
|
|
268
|
-
/******/ // Execute the module function
|
|
269
|
-
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
270
|
-
/******/
|
|
271
|
-
/******/ // Flag the module as loaded
|
|
272
|
-
/******/ module.loaded = true;
|
|
273
|
-
/******/
|
|
274
|
-
/******/ // Return the exports of the module
|
|
275
|
-
/******/ return module.exports;
|
|
276
|
-
/******/ }
|
|
277
|
-
/******/
|
|
278
|
-
/******/ // expose the module cache
|
|
279
|
-
/******/ __webpack_require__.c = __webpack_module_cache__;
|
|
280
|
-
/******/
|
|
281
|
-
/************************************************************************/
|
|
282
|
-
/******/ /* webpack/runtime/define property getters */
|
|
283
|
-
/******/ !function() {
|
|
284
|
-
/******/ // define getter/value functions for harmony exports
|
|
285
|
-
/******/ __webpack_require__.d = function(exports, definition) {
|
|
286
|
-
/******/ if(Array.isArray(definition)) {
|
|
287
|
-
/******/ var i = 0;
|
|
288
|
-
/******/ while(i < definition.length) {
|
|
289
|
-
/******/ var key = definition[i++];
|
|
290
|
-
/******/ var binding = definition[i++];
|
|
291
|
-
/******/ if(!__webpack_require__.o(exports, key)) {
|
|
292
|
-
/******/ if(binding === 0) {
|
|
293
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
|
|
294
|
-
/******/ } else {
|
|
295
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
|
|
296
|
-
/******/ }
|
|
297
|
-
/******/ } else if(binding === 0) { i++; }
|
|
298
|
-
/******/ }
|
|
299
|
-
/******/ } else {
|
|
300
|
-
/******/ for(var key in definition) {
|
|
301
|
-
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
302
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
303
|
-
/******/ }
|
|
304
|
-
/******/ }
|
|
305
|
-
/******/ }
|
|
306
|
-
/******/ };
|
|
307
|
-
/******/ }();
|
|
308
|
-
/******/
|
|
309
|
-
/******/ /* webpack/runtime/global */
|
|
310
|
-
/******/ !function() {
|
|
311
|
-
/******/ __webpack_require__.g = (function() {
|
|
312
|
-
/******/ if (typeof globalThis === 'object') return globalThis;
|
|
313
|
-
/******/ try {
|
|
314
|
-
/******/ return this || new Function('return this')();
|
|
315
|
-
/******/ } catch (e) {
|
|
316
|
-
/******/ if (typeof window === 'object') return window;
|
|
317
|
-
/******/ }
|
|
318
|
-
/******/ })();
|
|
319
|
-
/******/ }();
|
|
320
|
-
/******/
|
|
321
|
-
/******/ /* webpack/runtime/harmony module decorator */
|
|
322
|
-
/******/ !function() {
|
|
323
|
-
/******/ __webpack_require__.hmd = function(module) {
|
|
324
|
-
/******/ module = Object.create(module);
|
|
325
|
-
/******/ if (!module.children) module.children = [];
|
|
326
|
-
/******/ Object.defineProperty(module, 'exports', {
|
|
327
|
-
/******/ enumerable: true,
|
|
328
|
-
/******/ set: function() {
|
|
329
|
-
/******/ throw new Error('ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ' + module.id);
|
|
330
|
-
/******/ }
|
|
331
|
-
/******/ });
|
|
332
|
-
/******/ return module;
|
|
333
|
-
/******/ };
|
|
334
|
-
/******/ }();
|
|
335
|
-
/******/
|
|
336
|
-
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
337
|
-
/******/ !function() {
|
|
338
|
-
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
339
|
-
/******/ }();
|
|
340
|
-
/******/
|
|
341
|
-
/******/ /* webpack/runtime/make namespace object */
|
|
342
|
-
/******/ !function() {
|
|
343
|
-
/******/ // define __esModule on exports
|
|
344
|
-
/******/ __webpack_require__.r = function(exports) {
|
|
345
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
346
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
347
|
-
/******/ }
|
|
348
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
349
|
-
/******/ };
|
|
350
|
-
/******/ }();
|
|
351
|
-
/******/
|
|
352
|
-
/************************************************************************/
|
|
353
|
-
/******/
|
|
354
|
-
/******/ // module cache are used so entry inlining is disabled
|
|
355
|
-
/******/ // startup
|
|
356
|
-
/******/ // Load entry module and return exports
|
|
357
|
-
/******/ var __webpack_exports__ = __webpack_require__(11);
|
|
358
|
-
/******/
|
|
359
|
-
/******/ return __webpack_exports__;
|
|
360
|
-
/******/ })()
|
|
361
|
-
;
|
|
362
|
-
});
|
package/dist/constants.d.ts
DELETED
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import type { Encoding, FirstParameter } from './type';
|
|
2
|
-
export { Lock } from './Lock';
|
|
3
|
-
export { Semaphore } from './Semaphore';
|
|
4
|
-
export declare const DEFAULT_ENCODING: Encoding;
|
|
5
|
-
export declare const CLOSE_EVENT_NAMES: readonly ["close", "exit", "SIGINT", "SIGTERM", "SIGQUIT", "uncaughtException"];
|
|
6
|
-
export declare const CONSOLE_METHODS: readonly ["debug", "error", "info", "log", "warn"];
|
|
7
|
-
export declare const VALUE_COPY_SYMBOL: unique symbol;
|
|
8
|
-
export declare const IGNORE_NULL_AND_UNDEFINED_SYMBOL: unique symbol;
|
|
9
|
-
export declare const ABBREVIATIONS: Array<string>;
|
|
10
|
-
export declare const ANIMATION_END_EVENT_NAMES = "animationend webkitAnimationEnd oAnimationEnd MSAnimationEnd";
|
|
11
|
-
export declare const CLASS_TO_TYPE_MAPPING: {
|
|
12
|
-
readonly '[object Array]': "array";
|
|
13
|
-
readonly '[object Boolean]': "boolean";
|
|
14
|
-
readonly '[object Date]': "date";
|
|
15
|
-
readonly '[object Error]': "error";
|
|
16
|
-
readonly '[object Function]': "function";
|
|
17
|
-
readonly '[object Map]': "map";
|
|
18
|
-
readonly '[object Number]': "number";
|
|
19
|
-
readonly '[object Object]': "object";
|
|
20
|
-
readonly '[object RegExp]': "regexp";
|
|
21
|
-
readonly '[object Set]': "set";
|
|
22
|
-
readonly '[object String]': "string";
|
|
23
|
-
};
|
|
24
|
-
export declare const KEY_CODES: {
|
|
25
|
-
readonly BACKSPACE: 8;
|
|
26
|
-
readonly SPACE: 32;
|
|
27
|
-
readonly TAB: 9;
|
|
28
|
-
readonly DELETE: 46;
|
|
29
|
-
readonly ENTER: 13;
|
|
30
|
-
readonly COMMA: 188;
|
|
31
|
-
readonly PERIOD: 190;
|
|
32
|
-
readonly END: 35;
|
|
33
|
-
readonly ESCAPE: 27;
|
|
34
|
-
readonly F1: 112;
|
|
35
|
-
readonly F2: 113;
|
|
36
|
-
readonly F3: 114;
|
|
37
|
-
readonly F4: 115;
|
|
38
|
-
readonly F5: 116;
|
|
39
|
-
readonly F6: 117;
|
|
40
|
-
readonly F7: 118;
|
|
41
|
-
readonly F8: 119;
|
|
42
|
-
readonly F9: 120;
|
|
43
|
-
readonly F10: 121;
|
|
44
|
-
readonly F11: 122;
|
|
45
|
-
readonly F12: 123;
|
|
46
|
-
readonly HOME: 36;
|
|
47
|
-
readonly NUMPAD_ADD: 107;
|
|
48
|
-
readonly NUMPAD_SUBTRACT: 109;
|
|
49
|
-
readonly NUMPAD_DECIMAL: 110;
|
|
50
|
-
readonly NUMPAD_DIVIDE: 111;
|
|
51
|
-
readonly NUMPAD_ENTER: 108;
|
|
52
|
-
readonly NUMPAD_MULTIPLY: 106;
|
|
53
|
-
readonly PAGE_UP: 33;
|
|
54
|
-
readonly PAGE_DOWN: 34;
|
|
55
|
-
readonly UP: 38;
|
|
56
|
-
readonly DOWN: 40;
|
|
57
|
-
readonly LEFT: 37;
|
|
58
|
-
readonly RIGHT: 39;
|
|
59
|
-
};
|
|
60
|
-
export declare const KEYBOARD_CODES: {
|
|
61
|
-
readonly BACKSPACE: "Backspace";
|
|
62
|
-
readonly SPACE: "Space";
|
|
63
|
-
readonly TAB: "Tab";
|
|
64
|
-
readonly DELETE: "Delete";
|
|
65
|
-
readonly ENTER: "Enter";
|
|
66
|
-
readonly COMMA: "Comma";
|
|
67
|
-
readonly PERIOD: "Period";
|
|
68
|
-
readonly END: "End";
|
|
69
|
-
readonly ESCAPE: "Escape";
|
|
70
|
-
readonly F1: "F1";
|
|
71
|
-
readonly F2: "F2";
|
|
72
|
-
readonly F3: "F3";
|
|
73
|
-
readonly F4: "F4";
|
|
74
|
-
readonly F5: "F5";
|
|
75
|
-
readonly F6: "F6";
|
|
76
|
-
readonly F7: "F7";
|
|
77
|
-
readonly F8: "F8";
|
|
78
|
-
readonly F9: "F9";
|
|
79
|
-
readonly F10: "F10";
|
|
80
|
-
readonly F11: "F111";
|
|
81
|
-
readonly F12: "F12";
|
|
82
|
-
readonly HOME: "Home";
|
|
83
|
-
readonly NUMPAD_ADD: "NumpadAdd";
|
|
84
|
-
readonly NUMPAD_SUBTRACT: "NumpadSubtract";
|
|
85
|
-
readonly NUMPAD_DECIMAL: "NumpadDecimal";
|
|
86
|
-
readonly NUMPAD_DIVIDE: "NumpadDivide";
|
|
87
|
-
readonly NUMPAD_ENTER: "NumpadEnter";
|
|
88
|
-
readonly NUMPAD_MULTIPLY: "NumpadMultiply";
|
|
89
|
-
readonly PAGE_UP: "PageUp";
|
|
90
|
-
readonly PAGE_DOWN: "PageUp";
|
|
91
|
-
readonly UP: "ArrowUp";
|
|
92
|
-
readonly DOWN: "ArrowDown";
|
|
93
|
-
readonly LEFT: "ArrowLeft";
|
|
94
|
-
readonly RIGHT: "ArrowUp";
|
|
95
|
-
};
|
|
96
|
-
export declare const LOCALES: Array<string>;
|
|
97
|
-
export declare const PLAIN_OBJECT_PROTOTYPES: Array<FirstParameter<typeof Object.getPrototypeOf>>;
|
|
98
|
-
export declare const SPECIAL_REGEX_SEQUENCES: Array<string>;
|
|
99
|
-
export declare const TRANSITION_END_EVENT_NAMES = "transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd";
|
package/dist/context.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { AnyFunction } from './type';
|
|
2
|
-
export declare let globalContext: Partial<typeof globalThis>;
|
|
3
|
-
export declare const setGlobalContext: (context: typeof globalThis) => void;
|
|
4
|
-
export declare const MAXIMAL_NUMBER_OF_ITERATIONS: {
|
|
5
|
-
value: number;
|
|
6
|
-
};
|
|
7
|
-
export declare const NOOP: AnyFunction;
|
|
8
|
-
export declare const mockConsole: () => void;
|
package/dist/cookie.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import type { CookieOptions } from './type';
|
|
2
|
-
/**
|
|
3
|
-
* Deletes a cookie value by given name.
|
|
4
|
-
* @param name - Name to identify requested value.
|
|
5
|
-
*/
|
|
6
|
-
export declare const deleteCookie: (name: string) => void;
|
|
7
|
-
/**
|
|
8
|
-
* Gets a cookie value by given name.
|
|
9
|
-
* @param name - Name to identify requested value.
|
|
10
|
-
* @returns Requested value.
|
|
11
|
-
*/
|
|
12
|
-
export declare const getCookie: (name: string) => string | null;
|
|
13
|
-
/**
|
|
14
|
-
* Sets a cookie key-value-pair.
|
|
15
|
-
* @param name - Name to identify given value.
|
|
16
|
-
* @param value - Value to set.
|
|
17
|
-
* @param givenOptions - Cookie set options.
|
|
18
|
-
* @param givenOptions.domain - Domain to reference with given key-value-pair.
|
|
19
|
-
* @param givenOptions.httpOnly - Indicates if this cookie should be accessible
|
|
20
|
-
* from client or not.
|
|
21
|
-
* @param givenOptions.minimal - Set only minimum number of options.
|
|
22
|
-
* @param givenOptions.numberOfDaysUntilExpiration - Number of days until given
|
|
23
|
-
* key shouldn't be deleted.
|
|
24
|
-
* @param givenOptions.path - Path to reference with given key-value-pair.
|
|
25
|
-
* @param givenOptions.sameSite - Set same site policy to "Lax", "None" or
|
|
26
|
-
* "Strict".
|
|
27
|
-
* @param givenOptions.secure - Indicates if this cookie is only valid for
|
|
28
|
-
* "https" connections.
|
|
29
|
-
* @returns A boolean indicating whether cookie could be set or not.
|
|
30
|
-
*/
|
|
31
|
-
export declare const setCookie: (name: string, value: string, givenOptions?: Partial<CookieOptions>) => boolean;
|
package/dist/data-transfer.d.ts
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import type { CheckReachabilityOptions, RecursivePartial } from './type';
|
|
2
|
-
/**
|
|
3
|
-
* Checks if given url response with given status code.
|
|
4
|
-
* @param url - Url to check reachability.
|
|
5
|
-
* @param givenOptions - Options to configure.
|
|
6
|
-
* @param givenOptions.wait - Boolean indicating if we should retry until a
|
|
7
|
-
* status code will be given.
|
|
8
|
-
* @param givenOptions.statusCodes - Status codes to check for.
|
|
9
|
-
* @param givenOptions.timeoutInSeconds - Delay after assuming given resource
|
|
10
|
-
* isn't available if no response is coming.
|
|
11
|
-
* @param givenOptions.pollIntervallInSeconds - Seconds between two tries to
|
|
12
|
-
* reach given url.
|
|
13
|
-
* @param givenOptions.options - Fetch options to use.
|
|
14
|
-
* @param givenOptions.expectedIntermediateStatusCodes - A list of expected but
|
|
15
|
-
* unwanted response codes. If detecting them waiting will continue until an
|
|
16
|
-
* expected (positive) code occurs or timeout is reached.
|
|
17
|
-
* @returns A promise which will be resolved if a request to given url has
|
|
18
|
-
* finished and resulting status code matches given expected status code.
|
|
19
|
-
* Otherwise, returned promise will be rejected.
|
|
20
|
-
*/
|
|
21
|
-
export declare const checkReachability: (url: string, givenOptions?: RecursivePartial<CheckReachabilityOptions>) => ReturnType<typeof fetch>;
|
|
22
|
-
/**
|
|
23
|
-
* Checks if given url isn't reachable.
|
|
24
|
-
* @param url - Url to check reachability.
|
|
25
|
-
* @param givenOptions - Options to configure.
|
|
26
|
-
* @param givenOptions.wait - Boolean indicating if we should retry until a
|
|
27
|
-
* status code will be given.
|
|
28
|
-
* @param givenOptions.timeoutInSeconds - Delay after assuming given resource
|
|
29
|
-
* will stay available.
|
|
30
|
-
* @param givenOptions.pollIntervallInSeconds - Seconds between two tries to
|
|
31
|
-
* reach given url.
|
|
32
|
-
* @param givenOptions.statusCodes - Status codes to check for.
|
|
33
|
-
* @param givenOptions.options - Fetch options to use.
|
|
34
|
-
* @returns A promise which will be resolved if a request to given url couldn't
|
|
35
|
-
* be finished. Otherwise, returned promise will be rejected. If "wait" is set
|
|
36
|
-
* to "true" we will resolve to another promise still resolving when final
|
|
37
|
-
* timeout is reached or the endpoint is unreachable (after some tries).
|
|
38
|
-
*/
|
|
39
|
-
export declare const checkUnreachability: (url: string, givenOptions?: RecursivePartial<CheckReachabilityOptions>) => Promise<Error | null | Promise<Error | null>>;
|
|
40
|
-
/**
|
|
41
|
-
* Preloads a given url via a temporary created image element.
|
|
42
|
-
* @param url - To image which should be downloaded.
|
|
43
|
-
* @returns A Promise indicating whether the image was loaded.
|
|
44
|
-
*/
|
|
45
|
-
export declare const cacheImage: (url: string) => Promise<void>;
|