clientnode 4.0.1476 → 4.0.1478

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.
@@ -1,168 +0,0 @@
1
- if(typeof window==='undefined'||window===null)var window=(typeof globalThis==='undefined'||globalThis===null)?{}:globalThis;/******/ var __webpack_modules__ = ({
2
-
3
- /***/ 2:
4
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
-
6
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
7
- /* harmony export */ Dx: function() { return /* binding */ isolatedRequire; },
8
- /* harmony export */ I5: function() { return /* binding */ optionalRequire; },
9
- /* harmony export */ Ni: function() { return /* binding */ clearRequireCache; },
10
- /* harmony export */ SD: function() { return /* binding */ setOptionalRequire; },
11
- /* harmony export */ Sw: function() { return /* binding */ optionalImport; },
12
- /* harmony export */ a8: function() { return /* binding */ determineGlobalContext; },
13
- /* harmony export */ lE: function() { return /* binding */ currentRequire; },
14
- /* harmony export */ xN: function() { return /* binding */ isImportSyntaxSupported; },
15
- /* harmony export */ zM: function() { return /* binding */ getCurrentRequire; }
16
- /* harmony export */ });
17
- /* module decorator */ module = __webpack_require__.hmd(module);
18
- // #!/usr/bin/env babel-node
19
- // -*- coding: utf-8 -*-
20
- /** @module module *//* !
21
- region header
22
- [Project page](https://torben.website/clientnode)
23
-
24
- Copyright Torben Sickert (info["~at~"]torben.website) 16.12.2012
25
-
26
- License
27
- -------
28
-
29
- This library written by Torben Sickert stands under a creative commons
30
- naming 3.0 unported license.
31
- See https://creativecommons.org/licenses/by/3.0/deed.de
32
- endregion
33
- */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}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):(e.__proto__=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)})}}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();var isImportSyntaxSupported=function isImportSyntaxSupported(){try{// eslint-disable-next-line @typescript-eslint/no-implied-eval
34
- new Function("import(\"data:text/javascript,\")");return true}catch(_unused){return false}};var currentRequire=typeof globalContext.require==="undefined"?null:globalContext.require;var optionalRequire;var setOptionalRequire=function setOptionalRequire(localCurrentRequire){optionalRequire=function optionalRequire(id){try{return localCurrentRequire?localCurrentRequire(id):null}catch(_unused2){return null}}};setOptionalRequire(currentRequire);// Make preprocessed require function available at runtime.
35
- var getCurrentRequire=/*#__PURE__*/function(){var _getCurrentRequire=_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(){var _yield$Function,createRequire,_t;return _regenerator().w(function(_context){while(1)switch(_context.p=_context.n){case 0:if(!currentRequire){_context.n=1;break}return _context.a(2,currentRequire);case 1:_context.p=1;_context.n=2;return new Function("return import(\"node:module\")")();case 2:_yield$Function=_context.v;createRequire=_yield$Function.createRequire;/*
36
- eslint-enable
37
- @typescript-eslint/no-implied-eval,
38
- @typescript-eslint/no-unsafe-call
39
- */// eslint-disable-next-line @typescript-eslint/no-unsafe-call
40
- currentRequire=createRequire("file:///__w/clientnode/clientnode/src/module.ts");setOptionalRequire(currentRequire);return _context.a(2,currentRequire);case 3:_context.p=3;_t=_context.v;console.error(_t);return _context.a(2,null)}},_callee,null,[[1,3]])}));function getCurrentRequire(){return _getCurrentRequire.apply(this,arguments)}return getCurrentRequire}();var clearRequireCache=function clearRequireCache(cache){if(cache===void 0){var _currentRequire;cache=((_currentRequire=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){var _currentRequire2;cache=((_currentRequire2=currentRequire)===null||_currentRequire2===void 0?void 0:_currentRequire2.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__(6)}var backup=clearRequireCache(requireFunction.cache);try{return requireFunction(path);// eslint-disable-next-line no-useless-catch
41
- }catch(error){throw error}finally{restoreRequireCache(requireFunction.cache,backup)}};var optionalImport=/*#__PURE__*/function(){var _optionalImport=_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2(id,options){var _t2,_t3;return _regenerator().w(function(_context2){while(1)switch(_context2.p=_context2.n){case 0:if(options===void 0){options={}}_context2.p=1;if(!isImportSyntaxSupported()){_context2.n=3;break}_context2.n=2;return new Function("options","return import('".concat(id,"', options)"))(options);case 2:_t2=_context2.v;_context2.n=5;break;case 3:_context2.n=4;return Promise.resolve(null);case 4:_t2=_context2.v;case 5:return _context2.a(2,_t2);case 6:_context2.p=6;_t3=_context2.v;_context2.n=7;return Promise.resolve(null);case 7:return _context2.a(2,_context2.v)}},_callee2,null,[[1,6]])}));function optionalImport(_x,_x2){return _optionalImport.apply(this,arguments)}return optionalImport}();
42
-
43
- /***/ }),
44
-
45
- /***/ 6:
46
- /***/ (function(module) {
47
-
48
- function webpackEmptyContext(req) {
49
- var e = new Error("Cannot find module '" + req + "'");
50
- e.code = 'MODULE_NOT_FOUND';
51
- throw e;
52
- }
53
- webpackEmptyContext.keys = function() { return []; };
54
- webpackEmptyContext.resolve = webpackEmptyContext;
55
- webpackEmptyContext.id = 6;
56
- module.exports = webpackEmptyContext;
57
-
58
- /***/ })
59
-
60
- /******/ });
61
- /************************************************************************/
62
- /******/ // The module cache
63
- /******/ var __webpack_module_cache__ = {};
64
- /******/
65
- /******/ // The require function
66
- /******/ function __webpack_require__(moduleId) {
67
- /******/ // Check if module is in cache
68
- /******/ var cachedModule = __webpack_module_cache__[moduleId];
69
- /******/ if (cachedModule !== undefined) {
70
- /******/ return cachedModule.exports;
71
- /******/ }
72
- /******/ // Create a new module (and put it into the cache)
73
- /******/ var module = __webpack_module_cache__[moduleId] = {
74
- /******/ id: moduleId,
75
- /******/ loaded: false,
76
- /******/ exports: {}
77
- /******/ };
78
- /******/
79
- /******/ // Execute the module function
80
- /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
81
- /******/
82
- /******/ // Flag the module as loaded
83
- /******/ module.loaded = true;
84
- /******/
85
- /******/ // Return the exports of the module
86
- /******/ return module.exports;
87
- /******/ }
88
- /******/
89
- /******/ // expose the module cache
90
- /******/ __webpack_require__.c = __webpack_module_cache__;
91
- /******/
92
- /************************************************************************/
93
- /******/ /* webpack/runtime/define property getters */
94
- /******/ !function() {
95
- /******/ // define getter/value functions for harmony exports
96
- /******/ __webpack_require__.d = function(exports, definition) {
97
- /******/ if(Array.isArray(definition)) {
98
- /******/ var i = 0;
99
- /******/ while(i < definition.length) {
100
- /******/ var key = definition[i++];
101
- /******/ var binding = definition[i++];
102
- /******/ if(!__webpack_require__.o(exports, key)) {
103
- /******/ if(binding === 0) {
104
- /******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
105
- /******/ } else {
106
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
107
- /******/ }
108
- /******/ } else if(binding === 0) { i++; }
109
- /******/ }
110
- /******/ } else {
111
- /******/ for(var key in definition) {
112
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
113
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
114
- /******/ }
115
- /******/ }
116
- /******/ }
117
- /******/ };
118
- /******/ }();
119
- /******/
120
- /******/ /* webpack/runtime/global */
121
- /******/ !function() {
122
- /******/ __webpack_require__.g = (function() {
123
- /******/ if (typeof globalThis === 'object') return globalThis;
124
- /******/ try {
125
- /******/ return this || new Function('return this')();
126
- /******/ } catch (e) {
127
- /******/ if (typeof window === 'object') return window;
128
- /******/ }
129
- /******/ })();
130
- /******/ }();
131
- /******/
132
- /******/ /* webpack/runtime/harmony module decorator */
133
- /******/ !function() {
134
- /******/ __webpack_require__.hmd = function(module) {
135
- /******/ module = Object.create(module);
136
- /******/ if (!module.children) module.children = [];
137
- /******/ Object.defineProperty(module, 'exports', {
138
- /******/ enumerable: true,
139
- /******/ set: function() {
140
- /******/ throw new Error('ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ' + module.id);
141
- /******/ }
142
- /******/ });
143
- /******/ return module;
144
- /******/ };
145
- /******/ }();
146
- /******/
147
- /******/ /* webpack/runtime/hasOwnProperty shorthand */
148
- /******/ !function() {
149
- /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
150
- /******/ }();
151
- /******/
152
- /************************************************************************/
153
- /******/
154
- /******/ // module cache are used so entry inlining is disabled
155
- /******/ // startup
156
- /******/ // Load entry module and return exports
157
- /******/ var __webpack_exports__ = __webpack_require__(2);
158
- /******/ var __webpack_exports__clearRequireCache = __webpack_exports__.Ni;
159
- /******/ var __webpack_exports__currentRequire = __webpack_exports__.lE;
160
- /******/ var __webpack_exports__determineGlobalContext = __webpack_exports__.a8;
161
- /******/ var __webpack_exports__getCurrentRequire = __webpack_exports__.zM;
162
- /******/ var __webpack_exports__isImportSyntaxSupported = __webpack_exports__.xN;
163
- /******/ var __webpack_exports__isolatedRequire = __webpack_exports__.Dx;
164
- /******/ var __webpack_exports__optionalImport = __webpack_exports__.Sw;
165
- /******/ var __webpack_exports__optionalRequire = __webpack_exports__.I5;
166
- /******/ var __webpack_exports__setOptionalRequire = __webpack_exports__.SD;
167
- /******/ export { __webpack_exports__clearRequireCache as clearRequireCache, __webpack_exports__currentRequire as currentRequire, __webpack_exports__determineGlobalContext as determineGlobalContext, __webpack_exports__getCurrentRequire as getCurrentRequire, __webpack_exports__isImportSyntaxSupported as isImportSyntaxSupported, __webpack_exports__isolatedRequire as isolatedRequire, __webpack_exports__optionalImport as optionalImport, __webpack_exports__optionalRequire as optionalRequire, __webpack_exports__setOptionalRequire as setOptionalRequire };
168
- /******/