web-node 1.0.590 → 1.0.592

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/index.js CHANGED
@@ -1,13 +1,15 @@
1
1
  #!/usr/bin/env node
2
2
  // -*- coding: utf-8 -*-
3
- if(import.meta.main)module.paths.unshift('/application/node_modules');import {fileURLToPath as __webpack_fileURLToPath__} from "node:url";
3
+
4
+ import {fileURLToPath as __webpack_fileURLToPath__} from "node:url";
4
5
  var __webpack_dirname__ = __webpack_fileURLToPath__(import.meta.url.replace(/\/(?:[^\/]*)$/, ""));
6
+ var __webpack_filename__ = __webpack_fileURLToPath__(import.meta.url);
5
7
  import * as __WEBPACK_EXTERNAL_MODULE_child_process__ from "child_process";
6
8
  import * as __WEBPACK_EXTERNAL_MODULE_clientnode__ from "clientnode";
7
9
  import * as __WEBPACK_EXTERNAL_MODULE_core_js_modules_es_array_includes_js_66c3fd7d__ from "core-js/modules/es.array.includes.js";
8
10
  import * as __WEBPACK_EXTERNAL_MODULE_fs__ from "fs";
9
11
  import * as __WEBPACK_EXTERNAL_MODULE_fs_promises_cc1b69f3__ from "fs/promises";
10
- import * as __WEBPACK_EXTERNAL_MODULE_node_url_50af3bb5__ from "node:url";
12
+ import * as __WEBPACK_EXTERNAL_MODULE_node_fs_promises_06ebfe74__ from "node:fs/promises";
11
13
  import * as __WEBPACK_EXTERNAL_MODULE_path__ from "path";
12
14
  /******/ var __webpack_modules__ = ([
13
15
  /* 0 */
@@ -385,7 +387,7 @@ __webpack_require__.a(module, async (__webpack_handle_async_dependencies__, __we
385
387
  /* harmony import */ var _configurator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
386
388
  /* harmony import */ var _pluginAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(0);
387
389
  /* harmony import */ var clientnode__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1);
388
- /* harmony import */ var node_url__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(10);
390
+ /* harmony import */ var node_fs_promises__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(10);
389
391
  var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([_configurator_js__WEBPACK_IMPORTED_MODULE_0__, _pluginAPI_js__WEBPACK_IMPORTED_MODULE_1__]);
390
392
  ([_configurator_js__WEBPACK_IMPORTED_MODULE_0__, _pluginAPI_js__WEBPACK_IMPORTED_MODULE_1__] = __webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__);
391
393
  // #!/usr/bin/env babel-node
@@ -417,21 +419,23 @@ finished=false;closeHandler=function closeHandler(){if(!finished)(0,_pluginAPI_j
417
419
  */// eslint-disable-next-line @typescript-eslint/unbound-method
418
420
  if((0,clientnode__WEBPACK_IMPORTED_MODULE_2__.isFunction)(process.stdin["setRawMode"]))process.stdin.setRawMode(true);process.stdin.resume();process.stdin.setEncoding(configuration.core.encoding);process.stdin.on("data",function(key){void _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2(){return _regenerator().w(function(_context2){while(1)switch(_context2.n){case 0:if(!(key==="\x03")){_context2.n=3;break}if(!cancelTriggered){_context2.n=1;break}log.warn("Stopping ungracefully.");_context2.n=2;break;case 1:cancelTriggered=true;log.info("You have requested to shut down all services. A","second request will force to stop ungracefully.");_context2.n=2;return (0,_pluginAPI_js__WEBPACK_IMPORTED_MODULE_1__/* .callStack */ .lT)({configuration:configuration,data:undefined,hook:"shouldExit",plugins:plugins,servicePromises:servicePromises,services:services});case 2:process.exit();case 3:process.stdout.write(key);case 4:return _context2.a(2)}},_callee2)}))()});// endregion
419
421
  _context3.p=25;_context3.n=26;return Promise.all(Object.keys(servicePromises).map(function(name){return servicePromises[name]}));case 26:_context3.n=28;break;case 27:_context3.p=27;_t5=_context3.v;case 28:exitTriggered=true;_context3.n=29;return (0,_pluginAPI_js__WEBPACK_IMPORTED_MODULE_1__/* .callStack */ .lT)({configuration:configuration,data:undefined,hook:"shouldExit",plugins:plugins,servicePromises:servicePromises,services:services});case 29:process.exit();_context3.n=38;break;case 30:_context3.p=30;_t6=_context3.v;_context3.n=31;return handleError({configuration:configuration,data:_t6,plugins:plugins,servicePromises:servicePromises,services:services});case 31:if(exitTriggered){_context3.n=35;break}_context3.p=32;_context3.n=33;return (0,_pluginAPI_js__WEBPACK_IMPORTED_MODULE_1__/* .callStack */ .lT)({configuration:configuration,data:undefined,hook:"shouldExit",plugins:plugins,servicePromises:servicePromises,services:services});case 33:_context3.n=35;break;case 34:_context3.p=34;_t7=_context3.v;_context3.n=35;return handleError({configuration:configuration,data:_t7,plugins:plugins,servicePromises:servicePromises,services:services});case 35:if(!configuration.core.debug){_context3.n=36;break}throw _t6;case 36:log.error(_t6);case 37:process.exit(1);case 38:return _context3.a(2)}},_callee3,null,[[32,34],[25,27],[15,17],[12,21,22,23],[10,30],[3,7,8,9]])}));function main(){return _main.apply(this,arguments)}return main}();/*
420
- NOTE: "if (import.meta.main)" cannot be used since it will be modified by
421
- bundler's during compile time.
422
- */if("file:///__w/web-node/web-node/index.ts"===(0,node_url__WEBPACK_IMPORTED_MODULE_3__.pathToFileURL)(process.argv[1]).href)void main();/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (main);
422
+ NOTE: Neither "import.meta.main" nor "import.meta.url" can be used here
423
+ since bundler's replace them with a compile time constant referencing the
424
+ build environments file location. "__filename" is substituted with a
425
+ runtime evaluated value instead.
426
+ */var isMainModule=/*#__PURE__*/function(){var _isMainModule=_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee4(){var _t8,_t9,_t0;return _regenerator().w(function(_context4){while(1)switch(_context4.p=_context4.n){case 0:if(!(process.argv.length<2)){_context4.n=1;break}return _context4.a(2,false);case 1:_context4.p=1;_context4.n=2;return (0,node_fs_promises__WEBPACK_IMPORTED_MODULE_3__.realpath)(process.argv[1]);case 2:_t8=_context4.v;_context4.n=3;return (0,node_fs_promises__WEBPACK_IMPORTED_MODULE_3__.realpath)(__webpack_filename__);case 3:_t9=_context4.v;return _context4.a(2,_t8===_t9);case 4:_context4.p=4;_t0=_context4.v;return _context4.a(2,false)}},_callee4,null,[[1,4]])}));function isMainModule(){return _isMainModule.apply(this,arguments)}return isMainModule}();if(await isMainModule())void main();/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (main);
423
427
  /* harmony export */ __webpack_require__.d(__webpack_exports__, [
424
428
  /* harmony export */ "Ay", 0, /* export default binding */ __WEBPACK_DEFAULT_EXPORT__
425
429
  /* harmony export */ ]);
426
430
 
427
431
  __webpack_async_result__();
428
- } catch(e) { __webpack_async_result__(e); } });
432
+ } catch(e) { __webpack_async_result__(e); } }, 1);
429
433
 
430
434
  /***/ }),
431
435
  /* 7 */
432
436
  /***/ ((module) => {
433
437
 
434
- module.exports = /*#__PURE__*/JSON.parse('{"name":"web-node","version":"1.0.590","description":"High level javaScript backend plugin system and configuration merger.","keywords":["api","backend","management","plugin","web"],"homepage":"https://torben.website/web-node","bugs":{"email":"info@torben.website","url":"https://github.com/thaibault/web-node/issues"},"license":"CC-BY-3.0","author":{"email":"info@torben.website","name":"Torben Sickert","url":"https://torben.website"},"repository":{"type":"git","url":"https://github.com/thaibault/web-node.git"},"type":"module","bin":"index.js","files":["configurator.d.ts","index.d.ts","index.js","pluginAPI.d.ts","type.d.ts","unixCrypt.d.ts","unixCrypt.js"],"sideEffects":true,"scripts":{"build":"yarn build:types; yarn build:plain","build:plain":"weboptimizer build","build:types":"weboptimizer build:types","check":"yarn check:types; yarn lint","check:types":"weboptimizer check:types","clear":"weboptimizer clear","document":"weboptimizer document","lint":"weboptimizer lint","prepare":"yarn build","prepare:test":"yarn clear && cd dummyPlugin && shx touch yarn.lock && yarn build && cd ..","serve":"yarn build:plain && yarn start","start":"./index.js \'{plugin: {hotReloading: true}}\'","test":"yarn prepare:test && weboptimizer test","test:coverage":"yarn prepare:test && weboptimizer test:coverage","test:coverage:report":"yarn prepare:test && weboptimizer test:coverage:report","update:documentation":"web-documentation","watch":"weboptimizer build --watch"},"devDependencies":{"@babel/cli":"^8.0.4","@babel/eslint-parser":"^8.0.1","@eslint/js":"^10.0.1","@stylistic/eslint-plugin":"^5.10.0","@types/node":"^26.3.0","@types/webpack-env":"^1.18.8","@typescript-eslint/eslint-plugin":"^8.68.0","@typescript-eslint/parser":"^8.68.0","clientnode":"^4.0.1500","eslint":"^10.9.1","eslint-config-google":"^0.14.0","eslint-plugin-jsdoc":"^64.2.1","jest":"^30.4.2","jsdoc":"^4.0.5","shx":"^0.4.0","typescript-eslint":"^8.68.0","web-documentation":"^1.0.51","weboptimizer":"^4.0.65"},"peerDependencies":{"clientnode":"*"},"resolutions":{"colors":"1.4.0","globals@npm:^11.1.0":"patch:globals@npm%3A11.12.0#~/.yarn/patches/globals-npm-11.12.0-1fa7f41a6c.patch","globals@npm:^14.0.0":"patch:globals@npm%3A11.12.0#~/.yarn/patches/globals-npm-11.12.0-1fa7f41a6c.patch","globals@npm:^9.18.0":"patch:globals@npm%3A11.12.0#~/.yarn/patches/globals-npm-11.12.0-1fa7f41a6c.patch"},"engines":{"node":">=26","npm":">=12","yarn":">=4"},"webDocumentation":{"trackingCode":"UA-40192634-9"},"webNode":{"core":{"context":{"path":"./","type":"relative"},"debug":false,"encoding":"utf8","interDependencies":{},"name":"web-node","plugin":{"configuration":{"fileNames":["package.json","private-package.json"],"propertyNames":["webNode","webnode","web-node"]},"directories":{"external":{"nameRegularExpressionPattern":"^([a-zA-Z0-9-]+?)-?[wW]eb-?[nN]ode-?[pP]lugin$","path":{"__evaluate__":"`${currentPath}/node_modules/`"}},"internal":{"nameRegularExpressionPattern":"^([a-zA-Z0-9-_].*)$","path":{"__evaluate__":"`${currentPath}/plugins/`"}}},"hotReloading":false}}},"webOptimizer":{"assetPattern":{"javaScript":{"includeFilePathRegularExpression":"^(.+/)?index\\\\.js$","pattern":{"#":"This is how we can make our main exported artefact executable.","__evaluate__":"`#!/usr/bin/env node\\n// -*- coding: utf-8 -*-\\nif(import.meta.main)module.paths.unshift(\'/application/node_modules\');{1}`"}}},"injection":{"entry":{"__evaluate__":"2 < self.givenCommandLineArguments.length && self.givenCommandLineArguments[2].startsWith(\'test\') ? {testBundle: \'test\'} : {index: \'./index.ts\', unixCrypt: \'./unixCrypt.ts\'}"}},"module":{"optimizer":{"terser":{"terserOptions":{"compress":{"#":"To provide a logging output we need to exclude this feature.","drop_console":{"__evaluate__":"false"},"drop_debugger":{"__evaluate__":"false"}}}}}},"targetTechnology":{"boilerplate":"node","payload":"node"}},"packageManager":"yarn@4.18.0"}');
438
+ module.exports = /*#__PURE__*/JSON.parse('{"name":"web-node","version":"1.0.592","description":"High level javaScript backend plugin system and configuration merger.","keywords":["api","backend","management","plugin","web"],"homepage":"https://torben.website/web-node","bugs":{"email":"info@torben.website","url":"https://github.com/thaibault/web-node/issues"},"license":"CC-BY-3.0","author":{"email":"info@torben.website","name":"Torben Sickert","url":"https://torben.website"},"repository":{"type":"git","url":"https://github.com/thaibault/web-node.git"},"type":"module","bin":"index.js","files":["configurator.d.ts","index.d.ts","index.js","pluginAPI.d.ts","type.d.ts","unixCrypt.d.ts","unixCrypt.js"],"sideEffects":true,"scripts":{"build":"yarn build:types; yarn build:plain","build:plain":"weboptimizer build","build:types":"weboptimizer build:types","check":"yarn check:types; yarn lint","check:types":"weboptimizer check:types","clear":"weboptimizer clear","document":"weboptimizer document","lint":"weboptimizer lint","prepare":"yarn build","prepare:test":"yarn clear && cd dummyPlugin && shx touch yarn.lock && yarn build && cd ..","serve":"yarn build:plain && yarn start","start":"./index.js \'{plugin: {hotReloading: true}}\'","test":"yarn prepare:test && weboptimizer test","test:coverage":"yarn prepare:test && weboptimizer test:coverage","test:coverage:report":"yarn prepare:test && weboptimizer test:coverage:report","update:documentation":"web-documentation","watch":"weboptimizer build --watch"},"devDependencies":{"@babel/cli":"^8.0.4","@babel/eslint-parser":"^8.0.1","@eslint/js":"^10.0.1","@stylistic/eslint-plugin":"^5.10.0","@types/node":"^26.4.1","@types/webpack-env":"^1.18.8","@typescript-eslint/eslint-plugin":"^8.69.0","@typescript-eslint/parser":"^8.69.0","clientnode":"^4.0.1502","eslint":"^10.9.1","eslint-config-google":"^0.14.0","eslint-plugin-jsdoc":"^64.3.4","jest":"^30.5.1","jsdoc":"^4.0.5","shx":"^0.4.0","typescript-eslint":"^8.69.0","web-documentation":"^1.0.52","weboptimizer":"^4.0.72"},"peerDependencies":{"clientnode":"*"},"resolutions":{"colors":"1.4.0","globals@npm:^11.1.0":"patch:globals@npm%3A11.12.0#~/.yarn/patches/globals-npm-11.12.0-1fa7f41a6c.patch","globals@npm:^14.0.0":"patch:globals@npm%3A11.12.0#~/.yarn/patches/globals-npm-11.12.0-1fa7f41a6c.patch","globals@npm:^9.18.0":"patch:globals@npm%3A11.12.0#~/.yarn/patches/globals-npm-11.12.0-1fa7f41a6c.patch"},"engines":{"node":">=26","npm":">=12","yarn":">=4"},"webDocumentation":{"trackingCode":"UA-40192634-9"},"webNode":{"core":{"context":{"path":"./","type":"relative"},"debug":false,"encoding":"utf8","interDependencies":{},"name":"web-node","plugin":{"configuration":{"fileNames":["package.json","private-package.json"],"propertyNames":["webNode","webnode","web-node"]},"directories":{"external":{"nameRegularExpressionPattern":"^([a-zA-Z0-9-]+?)-?[wW]eb-?[nN]ode-?[pP]lugin$","path":{"__evaluate__":"`${currentPath}/node_modules/`"}},"internal":{"nameRegularExpressionPattern":"^([a-zA-Z0-9-_].*)$","path":{"__evaluate__":"`${currentPath}/plugins/`"}}},"hotReloading":false}}},"webOptimizer":{"assetPattern":{"javaScript":{"includeFilePathRegularExpression":"^(.+/)?index\\\\.js$","pattern":{"#":"This is how we can make our main exported artefact executable.","__evaluate__":"`#!/usr/bin/env node\\n// -*- coding: utf-8 -*-\\n${self.generic.assetPattern?.javaScript?.pattern ?? \'\'}\\n{1}`"}}},"injection":{"entry":{"__evaluate__":"2 < self.givenCommandLineArguments.length && self.givenCommandLineArguments[2].startsWith(\'test\') ? {testBundle: \'test\'} : {index: \'./index.ts\', unixCrypt: \'./unixCrypt.ts\'}"}},"module":{"optimizer":{"terser":{"terserOptions":{"compress":{"#":"To provide a logging output we need to exclude this feature.","drop_console":{"__evaluate__":"false"},"drop_debugger":{"__evaluate__":"false"}}}}}},"targetTechnology":{"boilerplate":"node","payload":"node"}},"packageManager":"yarn@4.18.0"}');
435
439
 
436
440
  /***/ }),
437
441
  /* 8 */
@@ -461,7 +465,7 @@ const x = (y) => {
461
465
  const x = {}; __webpack_require__.d(x, y); return x
462
466
  }
463
467
  const y = (x) => (() => (x))
464
- module.exports = x({ ["pathToFileURL"]: () => (__WEBPACK_EXTERNAL_MODULE_node_url_50af3bb5__.pathToFileURL) });
468
+ module.exports = x({ ["realpath"]: () => (__WEBPACK_EXTERNAL_MODULE_node_fs_promises_06ebfe74__.realpath) });
465
469
 
466
470
  /***/ })
467
471
  /******/ ]);
@@ -571,51 +575,40 @@ module.exports = x({ ["pathToFileURL"]: () => (__WEBPACK_EXTERNAL_MODULE_node_ur
571
575
  /******/ })();
572
576
  /******/
573
577
  /******/ /* webpack/runtime/define property getters */
574
- /******/ (() => {
575
- /******/ // define getter/value functions for harmony exports
576
- /******/ __webpack_require__.d = (exports, definition) => {
577
- /******/ if(Array.isArray(definition)) {
578
- /******/ var i = 0;
579
- /******/ while(i < definition.length) {
580
- /******/ var key = definition[i++];
581
- /******/ var binding = definition[i++];
582
- /******/ if(!__webpack_require__.o(exports, key)) {
583
- /******/ if(binding === 0) {
584
- /******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
585
- /******/ } else {
586
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
587
- /******/ }
588
- /******/ } else if(binding === 0) { i++; }
589
- /******/ }
590
- /******/ } else {
591
- /******/ for(var key in definition) {
592
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
593
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
594
- /******/ }
578
+ /******/ // define getter/value functions for harmony exports
579
+ /******/ __webpack_require__.d = (exports, definition) => {
580
+ /******/ if(Array.isArray(definition)) {
581
+ /******/ var i = 0;
582
+ /******/ while(i < definition.length) {
583
+ /******/ var key = definition[i++];
584
+ /******/ var binding = definition[i++];
585
+ /******/ var descriptor = binding === 0 ? { enumerable: true, value: definition[i++] } : { enumerable: true, get: binding };
586
+ /******/ if(!__webpack_require__.o(exports, key)) Object.defineProperty(exports, key, descriptor);
587
+ /******/ }
588
+ /******/ } else {
589
+ /******/ for(var key in definition) {
590
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
591
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
595
592
  /******/ }
596
593
  /******/ }
597
- /******/ };
598
- /******/ })();
594
+ /******/ }
595
+ /******/ };
599
596
  /******/
600
597
  /******/ /* webpack/runtime/harmony module decorator */
601
- /******/ (() => {
602
- /******/ __webpack_require__.hmd = (module) => {
603
- /******/ module = Object.create(module);
604
- /******/ if (!module.children) module.children = [];
605
- /******/ Object.defineProperty(module, 'exports', {
606
- /******/ enumerable: true,
607
- /******/ set() {
608
- /******/ throw new Error('ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ' + module.id);
609
- /******/ }
610
- /******/ });
611
- /******/ return module;
612
- /******/ };
613
- /******/ })();
598
+ /******/ __webpack_require__.hmd = (module) => {
599
+ /******/ module = Object.create(module);
600
+ /******/ if (!module.children) module.children = [];
601
+ /******/ Object.defineProperty(module, 'exports', {
602
+ /******/ enumerable: true,
603
+ /******/ set() {
604
+ /******/ throw new Error('ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ' + module.id);
605
+ /******/ }
606
+ /******/ });
607
+ /******/ return module;
608
+ /******/ };
614
609
  /******/
615
610
  /******/ /* webpack/runtime/hasOwnProperty shorthand */
616
- /******/ (() => {
617
- /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
618
- /******/ })();
611
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop));
619
612
  /******/
620
613
  /************************************************************************/
621
614
  /******/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web-node",
3
- "version": "1.0.590",
3
+ "version": "1.0.592",
4
4
  "description": "High level javaScript backend plugin system and configuration merger.",
5
5
  "keywords": [
6
6
  "api",
@@ -60,20 +60,20 @@
60
60
  "@babel/eslint-parser": "^8.0.1",
61
61
  "@eslint/js": "^10.0.1",
62
62
  "@stylistic/eslint-plugin": "^5.10.0",
63
- "@types/node": "^26.3.0",
63
+ "@types/node": "^26.4.1",
64
64
  "@types/webpack-env": "^1.18.8",
65
- "@typescript-eslint/eslint-plugin": "^8.68.0",
66
- "@typescript-eslint/parser": "^8.68.0",
67
- "clientnode": "^4.0.1500",
65
+ "@typescript-eslint/eslint-plugin": "^8.69.0",
66
+ "@typescript-eslint/parser": "^8.69.0",
67
+ "clientnode": "^4.0.1502",
68
68
  "eslint": "^10.9.1",
69
69
  "eslint-config-google": "^0.14.0",
70
- "eslint-plugin-jsdoc": "^64.2.1",
71
- "jest": "^30.4.2",
70
+ "eslint-plugin-jsdoc": "^64.3.4",
71
+ "jest": "^30.5.1",
72
72
  "jsdoc": "^4.0.5",
73
73
  "shx": "^0.4.0",
74
- "typescript-eslint": "^8.68.0",
75
- "web-documentation": "^1.0.51",
76
- "weboptimizer": "^4.0.65"
74
+ "typescript-eslint": "^8.69.0",
75
+ "web-documentation": "^1.0.52",
76
+ "weboptimizer": "^4.0.72"
77
77
  },
78
78
  "peerDependencies": {
79
79
  "clientnode": "*"
@@ -138,7 +138,7 @@
138
138
  "includeFilePathRegularExpression": "^(.+/)?index\\.js$",
139
139
  "pattern": {
140
140
  "#": "This is how we can make our main exported artefact executable.",
141
- "__evaluate__": "`#!/usr/bin/env node\n// -*- coding: utf-8 -*-\nif(import.meta.main)module.paths.unshift('/application/node_modules');{1}`"
141
+ "__evaluate__": "`#!/usr/bin/env node\n// -*- coding: utf-8 -*-\n${self.generic.assetPattern?.javaScript?.pattern ?? ''}\n{1}`"
142
142
  }
143
143
  }
144
144
  },
package/pluginAPI.d.ts CHANGED
@@ -10,14 +10,14 @@ export declare const log: Logger;
10
10
  * @returns A promise which resolves when all callbacks have resolved their
11
11
  * promise holding given potentially modified data.
12
12
  */
13
- export declare const callStack: <State extends BaseState<unknown> = ServicePromisesState, Output = undefined>(givenState: Omit<State, "pluginAPI">, ...parameters: Array<unknown>) => HookPromiseResult<Output>;
13
+ export declare const callStack: <State extends BaseState<unknown> = ServicePromisesState, Output = undefined>(givenState: Omit<State, 'pluginAPI'>, ...parameters: Array<unknown>) => HookPromiseResult<Output>;
14
14
  /**
15
15
  * Calls all plugin methods for given trigger description synchronous.
16
16
  * @param givenState - Contains runtime information about current hook.
17
17
  * @param parameters - Additional parameters to forward into plugin api.
18
18
  * @returns Given potentially modified data.
19
19
  */
20
- export declare const callStackSynchronous: <State extends BaseState<unknown> = ServicePromisesState, Output = void>(givenState: Omit<State, "pluginAPI">, ...parameters: Array<unknown>) => Output;
20
+ export declare const callStackSynchronous: <State extends BaseState<unknown> = ServicePromisesState, Output = void>(givenState: Omit<State, 'pluginAPI'>, ...parameters: Array<unknown>) => Output;
21
21
  /**
22
22
  * Converts given plugin name into the corresponding internal representation.
23
23
  * @param name - Name to convert.
@@ -58,7 +58,7 @@ export declare const hotReloadConfigurationFile: (plugins: Array<Plugin>, config
58
58
  * @param plugins - List of plugins to search for updates in.
59
59
  * @returns A list with plugin changes.
60
60
  */
61
- export declare const hotReloadFiles: (type: "api" | "configuration", target: "packageConfiguration" | "scope", plugins: Array<Plugin>) => Promise<Array<PluginChange>>;
61
+ export declare const hotReloadFiles: (type: 'api' | 'configuration', target: 'packageConfiguration' | 'scope', plugins: Array<Plugin>) => Promise<Array<PluginChange>>;
62
62
  /**
63
63
  * Extends given configuration object with given plugin specific ones and
64
64
  * returns a plugin specific meta information object.
@@ -146,23 +146,20 @@ export declare const determineLocations: ({ core: { context: { path: contextPath
146
146
  */
147
147
  export declare const isInLocations: (configuration: Configuration, plugins: Array<Plugin>, filePath: string, locations: Array<string> | string) => boolean;
148
148
  export declare const pluginAPI: {
149
- readonly callStack: <State extends BaseState<unknown> = ServicePromisesState<undefined, Configuration<Mapping<unknown>>, Mapping<unknown>, import("./type").ServicePromises<Mapping<unknown>>>, Output = undefined>(givenState: Omit<State, "pluginAPI">, ...parameters: Array<unknown>) => HookPromiseResult<Output>;
150
- readonly callStackSynchronous: <State extends BaseState<unknown> = ServicePromisesState<undefined, Configuration<Mapping<unknown>>, Mapping<unknown>, import("./type").ServicePromises<Mapping<unknown>>>, Output = void>(givenState: Omit<State, "pluginAPI">, ...parameters: Array<unknown>) => Output;
151
- readonly determineInternalName: (name: string, regularExpression: RegExp) => string;
152
- readonly determineLocations: ({ core: { context: { path: contextPath } } }: Configuration, locations?: Array<string> | string) => Array<string>;
153
- readonly evaluateConfiguration: <Type extends Mapping<unknown> = Configuration>(configuration: RecursiveEvaluateable<Type> | Type) => Promise<Type>;
154
- readonly hotReloadAPIFile: (plugins: Array<Plugin>) => Promise<Array<Plugin>>;
155
- readonly hotReloadConfigurationFile: (plugins: Array<Plugin>, configurationPropertyNames: Array<string>) => Promise<Array<Plugin>>;
156
- readonly hotReloadFiles: (type: "api" | "configuration", target: "packageConfiguration" | "scope", plugins: Array<Plugin>) => Promise<Array<PluginChange>>;
157
- readonly isInLocations: (configuration: Configuration, plugins: Array<Plugin>, filePath: string, locations: Array<string> | string) => boolean;
158
- readonly load: (name: string, internalName: string, plugins: Mapping<Plugin>, metaConfiguration: MetaPluginConfiguration, pluginPath: string, encoding?: Encoding) => Promise<Plugin>;
159
- readonly loadAll: (configuration: Configuration) => Promise<{
160
- configuration: Configuration;
161
- plugins: Array<Plugin>;
162
- }>;
163
- readonly loadAPI: (relativeFilePaths: Array<string>, pluginPath: string, name: string, internalName: string, plugins: Mapping<Plugin>, encoding?: Encoding, configuration?: EvaluateablePartialConfiguration | null, configurationFilePaths?: Array<string>) => Promise<Plugin>;
164
- readonly loadConfiguration: (name: string, packageConfiguration: PackageConfiguration, configurationPropertyNames: Array<string>) => EvaluateablePartialConfiguration;
165
- readonly loadConfigurations: (plugins: Array<Plugin>, configuration: Configuration) => Promise<Configuration>;
166
- readonly loadFile: (filePath: string, name: string, fallbackScope?: null | object, doLogging?: boolean) => Promise<object>;
149
+ readonly callStack: typeof callStack;
150
+ readonly callStackSynchronous: typeof callStackSynchronous;
151
+ readonly determineInternalName: typeof determineInternalName;
152
+ readonly determineLocations: typeof determineLocations;
153
+ readonly evaluateConfiguration: typeof evaluateConfiguration;
154
+ readonly hotReloadAPIFile: typeof hotReloadAPIFile;
155
+ readonly hotReloadConfigurationFile: typeof hotReloadConfigurationFile;
156
+ readonly hotReloadFiles: typeof hotReloadFiles;
157
+ readonly isInLocations: typeof isInLocations;
158
+ readonly load: typeof load;
159
+ readonly loadAll: typeof loadAll;
160
+ readonly loadAPI: typeof loadAPI;
161
+ readonly loadConfiguration: typeof loadConfiguration;
162
+ readonly loadConfigurations: typeof loadConfigurations;
163
+ readonly loadFile: typeof loadFile;
167
164
  };
168
165
  export default pluginAPI;
package/unixCrypt.js CHANGED
@@ -3,36 +3,27 @@
3
3
  /******/
4
4
  /************************************************************************/
5
5
  /******/ /* webpack/runtime/define property getters */
6
- /******/ (() => {
7
- /******/ // define getter/value functions for harmony exports
8
- /******/ __webpack_require__.d = (exports, definition) => {
9
- /******/ if(Array.isArray(definition)) {
10
- /******/ var i = 0;
11
- /******/ while(i < definition.length) {
12
- /******/ var key = definition[i++];
13
- /******/ var binding = definition[i++];
14
- /******/ if(!__webpack_require__.o(exports, key)) {
15
- /******/ if(binding === 0) {
16
- /******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
17
- /******/ } else {
18
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
19
- /******/ }
20
- /******/ } else if(binding === 0) { i++; }
21
- /******/ }
22
- /******/ } else {
23
- /******/ for(var key in definition) {
24
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
25
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
26
- /******/ }
6
+ /******/ // define getter/value functions for harmony exports
7
+ /******/ __webpack_require__.d = (exports, definition) => {
8
+ /******/ if(Array.isArray(definition)) {
9
+ /******/ var i = 0;
10
+ /******/ while(i < definition.length) {
11
+ /******/ var key = definition[i++];
12
+ /******/ var binding = definition[i++];
13
+ /******/ var descriptor = binding === 0 ? { enumerable: true, value: definition[i++] } : { enumerable: true, get: binding };
14
+ /******/ if(!__webpack_require__.o(exports, key)) Object.defineProperty(exports, key, descriptor);
15
+ /******/ }
16
+ /******/ } else {
17
+ /******/ for(var key in definition) {
18
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
19
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
27
20
  /******/ }
28
21
  /******/ }
29
- /******/ };
30
- /******/ })();
22
+ /******/ }
23
+ /******/ };
31
24
  /******/
32
25
  /******/ /* webpack/runtime/hasOwnProperty shorthand */
33
- /******/ (() => {
34
- /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
35
- /******/ })();
26
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop));
36
27
  /******/
37
28
  /************************************************************************/
38
29
  let __webpack_exports__ = {};