refactor: invokeSequential

This commit is contained in:
cha0s 2020-12-04 00:46:37 -06:00
parent 0286f02dad
commit c0af9ba70d
15 changed files with 95 additions and 79 deletions

View File

@ -118,4 +118,17 @@ export default class Plugins {
return this.hooks[hook].reduce((r, {fn}) => reducer(r, fn(...(args.concat(this)))), initial); return this.hooks[hook].reduce((r, {fn}) => reducer(r, fn(...(args.concat(this)))), initial);
} }
async invokeSequential(hook, ...args) {
if (!this.hooks[hook]) {
return;
}
const parts = hook.split('/');
const key = parts.pop();
const plugins = this.config[parts.join('/')][key];
while (plugins.length > 0) {
// eslint-disable-next-line no-await-in-loop
await this.invokePlugin(hook, plugins.shift(), ...(args.concat(this)));
}
}
} }

View File

@ -23,6 +23,6 @@ const r = eval('require');
config, config,
modules: paths.map((path) => r(path)), modules: paths.map((path) => r(path)),
}); });
await latus.invokeMiddleware('@latus/core/up'); await latus.invokeSequential('@latus/core/up');
process.stdout.write('Latus up!\n'); process.stdout.write('Latus up!\n');
})(); })();

View File

@ -1982,6 +1982,13 @@ debug@4.2.0:
dependencies: dependencies:
ms "2.1.2" ms "2.1.2"
debug@4.3.1, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1:
version "4.3.1"
resolved "https://npm.i12e.cha0s.io/debug/-/debug-4.3.1.tgz#f0d229c505e0c6d8c49ac553d1b13dc183f6b2ee"
integrity sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==
dependencies:
ms "2.1.2"
debug@^2.2.0, debug@^2.3.3, debug@^2.6.9: debug@^2.2.0, debug@^2.3.3, debug@^2.6.9:
version "2.6.9" version "2.6.9"
resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f"
@ -1996,13 +2003,6 @@ debug@^3.0.0:
dependencies: dependencies:
ms "^2.1.1" ms "^2.1.1"
debug@^4.0.1, debug@^4.1.0, debug@^4.1.1:
version "4.3.1"
resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.1.tgz#f0d229c505e0c6d8c49ac553d1b13dc183f6b2ee"
integrity sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==
dependencies:
ms "2.1.2"
decamelize@^1.2.0: decamelize@^1.2.0:
version "1.2.0" version "1.2.0"
resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290"

View File

@ -20,12 +20,12 @@ export default {
port: '32342', port: '32342',
user: 'root', user: 'root',
}), }),
'@latus/core/up': async (latus, next) => { '@latus/core/up': (latus) => {
const {config: {'@latus/db': {docker}}} = latus; const {config: {'@latus/db': {docker}}} = latus;
if ('production' !== NODE_ENV && docker) { if ('production' !== NODE_ENV && docker) {
createDockerContainer(latus); createDockerContainer(latus);
} }
createDatabaseConnection(latus).then(next); return createDatabaseConnection(latus);
}, },
'@latus/repl/context': (latus) => ({ '@latus/repl/context': (latus) => ({
Models: latus.config['%models'], Models: latus.config['%models'],

View File

@ -1995,6 +1995,13 @@ debug@4.2.0:
dependencies: dependencies:
ms "2.1.2" ms "2.1.2"
debug@4.3.1, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1:
version "4.3.1"
resolved "https://npm.i12e.cha0s.io/debug/-/debug-4.3.1.tgz#f0d229c505e0c6d8c49ac553d1b13dc183f6b2ee"
integrity sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==
dependencies:
ms "2.1.2"
debug@^2.2.0, debug@^2.3.3, debug@^2.6.9: debug@^2.2.0, debug@^2.3.3, debug@^2.6.9:
version "2.6.9" version "2.6.9"
resolved "https://npm.i12e.cha0s.io/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" resolved "https://npm.i12e.cha0s.io/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f"
@ -2009,13 +2016,6 @@ debug@^3.0.0:
dependencies: dependencies:
ms "^2.1.1" ms "^2.1.1"
debug@^4.0.1, debug@^4.1.0, debug@^4.1.1:
version "4.3.1"
resolved "https://npm.i12e.cha0s.io/debug/-/debug-4.3.1.tgz#f0d229c505e0c6d8c49ac553d1b13dc183f6b2ee"
integrity sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==
dependencies:
ms "2.1.2"
decamelize@^1.2.0: decamelize@^1.2.0:
version "1.2.0" version "1.2.0"
resolved "https://npm.i12e.cha0s.io/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" resolved "https://npm.i12e.cha0s.io/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290"

View File

@ -12,7 +12,7 @@ export default {
// eslint-disable-next-line global-require, no-param-reassign // eslint-disable-next-line global-require, no-param-reassign
configs.client = require('./build/.neutrinorc'); configs.client = require('./build/.neutrinorc');
}, },
'@latus/core/up': async (latus, next) => createHttpServer(latus).then(next), '@latus/core/up': (latus) => createHttpServer(latus),
'@latus/repl/context': (latus) => ({ '@latus/repl/context': (latus) => ({
httpServer: latus.config['%http'], httpServer: latus.config['%http'],
}), }),

View File

@ -2218,6 +2218,13 @@ debug@4.2.0:
dependencies: dependencies:
ms "2.1.2" ms "2.1.2"
debug@4.3.1, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1:
version "4.3.1"
resolved "https://npm.i12e.cha0s.io/debug/-/debug-4.3.1.tgz#f0d229c505e0c6d8c49ac553d1b13dc183f6b2ee"
integrity sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==
dependencies:
ms "2.1.2"
debug@^3.0.0: debug@^3.0.0:
version "3.2.7" version "3.2.7"
resolved "https://npm.i12e.cha0s.io/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a" resolved "https://npm.i12e.cha0s.io/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a"
@ -2225,13 +2232,6 @@ debug@^3.0.0:
dependencies: dependencies:
ms "^2.1.1" ms "^2.1.1"
debug@^4.0.1, debug@^4.1.0, debug@^4.1.1:
version "4.3.1"
resolved "https://npm.i12e.cha0s.io/debug/-/debug-4.3.1.tgz#f0d229c505e0c6d8c49ac553d1b13dc183f6b2ee"
integrity sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==
dependencies:
ms "2.1.2"
decamelize@^1.2.0: decamelize@^1.2.0:
version "1.2.0" version "1.2.0"
resolved "https://npm.i12e.cha0s.io/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" resolved "https://npm.i12e.cha0s.io/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290"

View File

@ -2256,6 +2256,13 @@ debug@4.2.0:
dependencies: dependencies:
ms "2.1.2" ms "2.1.2"
debug@4.3.1, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1:
version "4.3.1"
resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.1.tgz#f0d229c505e0c6d8c49ac553d1b13dc183f6b2ee"
integrity sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==
dependencies:
ms "2.1.2"
debug@^2.2.0, debug@^2.3.3, debug@^2.6.9: debug@^2.2.0, debug@^2.3.3, debug@^2.6.9:
version "2.6.9" version "2.6.9"
resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f"
@ -2263,13 +2270,6 @@ debug@^2.2.0, debug@^2.3.3, debug@^2.6.9:
dependencies: dependencies:
ms "2.0.0" ms "2.0.0"
debug@^4.0.1, debug@^4.1.0, debug@^4.1.1:
version "4.3.1"
resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.1.tgz#f0d229c505e0c6d8c49ac553d1b13dc183f6b2ee"
integrity sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==
dependencies:
ms "2.1.2"
decamelize@^1.2.0: decamelize@^1.2.0:
version "1.2.0" version "1.2.0"
resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290"

View File

@ -36,12 +36,9 @@ export default {
host: '127.0.0.1', host: '127.0.0.1',
port: 6380, port: 6380,
}), }),
'@latus/core/up': async (latus, next) => { '@latus/core/up': (latus) => {
const {config: {'@latus/redis': {docker}}} = latus; const {config: {'@latus/redis': {docker}}} = latus;
if ('production' !== NODE_ENV && docker) { return 'production' !== NODE_ENV && docker ? createDockerContainer(latus) : undefined;
await createDockerContainer(latus);
}
next();
}, },
'@latus/repl/context': (latus) => ({ '@latus/repl/context': (latus) => ({
redisClient: createClient(latus), redisClient: createClient(latus),

View File

@ -2004,9 +2004,9 @@ debug@4.2.0:
dependencies: dependencies:
ms "2.1.2" ms "2.1.2"
debug@^4.0.1, debug@^4.1.0, debug@^4.1.1: debug@4.3.1, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1:
version "4.3.1" version "4.3.1"
resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.1.tgz#f0d229c505e0c6d8c49ac553d1b13dc183f6b2ee" resolved "https://npm.i12e.cha0s.io/debug/-/debug-4.3.1.tgz#f0d229c505e0c6d8c49ac553d1b13dc183f6b2ee"
integrity sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ== integrity sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==
dependencies: dependencies:
ms "2.1.2" ms "2.1.2"

View File

@ -2,6 +2,6 @@ import {createReplServer} from './server';
export default { export default {
hooks: { hooks: {
'@latus/core/up': async (latus, next) => createReplServer(latus).then(next), '@latus/core/up': (latus) => createReplServer(latus),
}, },
}; };

View File

@ -1982,6 +1982,13 @@ debug@4.2.0:
dependencies: dependencies:
ms "2.1.2" ms "2.1.2"
debug@4.3.1, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1:
version "4.3.1"
resolved "https://npm.i12e.cha0s.io/debug/-/debug-4.3.1.tgz#f0d229c505e0c6d8c49ac553d1b13dc183f6b2ee"
integrity sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==
dependencies:
ms "2.1.2"
debug@^2.2.0, debug@^2.3.3, debug@^2.6.9: debug@^2.2.0, debug@^2.3.3, debug@^2.6.9:
version "2.6.9" version "2.6.9"
resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f"
@ -1989,13 +1996,6 @@ debug@^2.2.0, debug@^2.3.3, debug@^2.6.9:
dependencies: dependencies:
ms "2.0.0" ms "2.0.0"
debug@^4.0.1, debug@^4.1.0, debug@^4.1.1:
version "4.3.1"
resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.1.tgz#f0d229c505e0c6d8c49ac553d1b13dc183f6b2ee"
integrity sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==
dependencies:
ms "2.1.2"
decamelize@^1.2.0: decamelize@^1.2.0:
version "1.2.0" version "1.2.0"
resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290"

View File

@ -2312,6 +2312,13 @@ debug@4.2.0:
dependencies: dependencies:
ms "2.1.2" ms "2.1.2"
debug@4.3.1, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1:
version "4.3.1"
resolved "https://npm.i12e.cha0s.io/debug/-/debug-4.3.1.tgz#f0d229c505e0c6d8c49ac553d1b13dc183f6b2ee"
integrity sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==
dependencies:
ms "2.1.2"
debug@^3.0.0: debug@^3.0.0:
version "3.2.7" version "3.2.7"
resolved "https://npm.i12e.cha0s.io/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a" resolved "https://npm.i12e.cha0s.io/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a"
@ -2319,13 +2326,6 @@ debug@^3.0.0:
dependencies: dependencies:
ms "^2.1.1" ms "^2.1.1"
debug@^4.0.1, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1:
version "4.3.1"
resolved "https://npm.i12e.cha0s.io/debug/-/debug-4.3.1.tgz#f0d229c505e0c6d8c49ac553d1b13dc183f6b2ee"
integrity sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==
dependencies:
ms "2.1.2"
debug@~3.1.0: debug@~3.1.0:
version "3.1.0" version "3.1.0"
resolved "https://npm.i12e.cha0s.io/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261" resolved "https://npm.i12e.cha0s.io/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261"

View File

@ -2131,6 +2131,13 @@ debug@4.2.0:
dependencies: dependencies:
ms "2.1.2" ms "2.1.2"
debug@4.3.1, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1:
version "4.3.1"
resolved "https://npm.i12e.cha0s.io/debug/-/debug-4.3.1.tgz#f0d229c505e0c6d8c49ac553d1b13dc183f6b2ee"
integrity sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==
dependencies:
ms "2.1.2"
debug@^3.0.0, debug@^3.2.6: debug@^3.0.0, debug@^3.2.6:
version "3.2.7" version "3.2.7"
resolved "https://npm.i12e.cha0s.io/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a" resolved "https://npm.i12e.cha0s.io/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a"
@ -2138,13 +2145,6 @@ debug@^3.0.0, debug@^3.2.6:
dependencies: dependencies:
ms "^2.1.1" ms "^2.1.1"
debug@^4.0.1, debug@^4.1.0, debug@^4.1.1:
version "4.3.1"
resolved "https://npm.i12e.cha0s.io/debug/-/debug-4.3.1.tgz#f0d229c505e0c6d8c49ac553d1b13dc183f6b2ee"
integrity sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==
dependencies:
ms "2.1.2"
decamelize@^1.2.0: decamelize@^1.2.0:
version "1.2.0" version "1.2.0"
resolved "https://npm.i12e.cha0s.io/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" resolved "https://npm.i12e.cha0s.io/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290"

View File

@ -913,8 +913,8 @@
"@latus/core@1.0.0", "@latus/core@^1.0.0": "@latus/core@1.0.0", "@latus/core@^1.0.0":
version "1.0.0" version "1.0.0"
resolved "https://npm.i12e.cha0s.io/@latus%2fcore/-/core-1.0.0.tgz#96d217d84c2e5a8f2219adaaed556611e80e40c2" resolved "https://npm.i12e.cha0s.io/@latus%2fcore/-/core-1.0.0.tgz#f34fae3aada01a49c0ed4a6d3685fc0a78a6add9"
integrity sha512-1lRlk0X8bnHULiMEq6YsyIuT4KptH4W7LzsVwiv/9IkZV1LdC8k8qll+S7HeIyOTMPprcll9mP9nCHjI+5nIUQ== integrity sha512-y7FM+7G/8WGWJkrRkvEfEC+v5BtYhl20Yd+pEWEMqlYG0HCERiJBviJzGG9ihdUIUa8Mnf0rS6JCIknZ5/1sng==
dependencies: dependencies:
debug "4.3.1" debug "4.3.1"
js-yaml "3.14.0" js-yaml "3.14.0"
@ -922,21 +922,23 @@
"@latus/db@1.0.0", "@latus/db@^1.0.0": "@latus/db@1.0.0", "@latus/db@^1.0.0":
version "1.0.0" version "1.0.0"
resolved "https://npm.i12e.cha0s.io/@latus%2fdb/-/db-1.0.0.tgz#49f33a8fd89cb146503994bc8336a3d338d30b2a" resolved "https://npm.i12e.cha0s.io/@latus%2fdb/-/db-1.0.0.tgz#c6748c888fe938ad875c97ffc9bad768bd40b5a7"
integrity sha512-nihdJ6IW7pUhlZCqxSccg1FSvJWuRuzI1Yu+P3jJCs9bsfjOa7allzYahR6e6FAlYjRXvjYKKCMrEk859iEoOw== integrity sha512-WETa86voFg6KzuWY2d4E8acr5R4YW2kfAHC6mZuMKOe5/S2ZXFJeaBQMog9hNDlAdXoGZzIDfovFCietMVjj3w==
dependencies: dependencies:
"@latus/core" "^1.0.0" "@latus/core" "^1.0.0"
debug "4.3.1"
mkdirp "^1.0.4" mkdirp "^1.0.4"
mysql2 "^2.2.5" mysql2 "^2.2.5"
sequelize "^6.3.5" sequelize "^6.3.5"
"@latus/http@1.0.0", "@latus/http@^1.0.0": "@latus/http@1.0.0", "@latus/http@^1.0.0":
version "1.0.0" version "1.0.0"
resolved "https://npm.i12e.cha0s.io/@latus%2fhttp/-/http-1.0.0.tgz#4cf141318d8b3a756e57215c5418975656c20824" resolved "https://npm.i12e.cha0s.io/@latus%2fhttp/-/http-1.0.0.tgz#f2c6ebf9e423bb0e285ec30c8e15625c1351f0d9"
integrity sha512-7Upe0XusYz0a9408ZvnisJWFRXDxAmyWkJpiCvMKlF67AKCvjrKFeZrBA5eMsDf08rihRcX9xz2W5YsDp0Snmw== integrity sha512-+o+eQtoE+cbpR9/x+lMU/9gLZwrfFxjZj/cDkeDJAOjIjZhTxsbewWXjmx1KVdUppOAMCu5Y87l1mWBSXHTaDQ==
dependencies: dependencies:
"@latus/core" "1.0.0" "@latus/core" "1.0.0"
"@neutrinojs/web" "^9.1.0" "@neutrinojs/web" "^9.1.0"
debug "4.3.1"
express "^4.17.1" express "^4.17.1"
memfs "3.2.0" memfs "3.2.0"
neutrino "9.4.0" neutrino "9.4.0"
@ -946,18 +948,19 @@
"@latus/react@1.0.0": "@latus/react@1.0.0":
version "1.0.0" version "1.0.0"
resolved "https://npm.i12e.cha0s.io/@latus%2freact/-/react-1.0.0.tgz#05b3116e8c89fa5e915dc9d22837be5a98bee2e1" resolved "https://npm.i12e.cha0s.io/@latus%2freact/-/react-1.0.0.tgz#42d77f5fff221419a2341f332c1d1e2c901fcd94"
integrity sha512-mt1CjwgL5sQ4pxaV+VVo6puItTJS699AaD9Vn4kvM9ZUu9blWrUnYzq14zVTIv4IBbKY2CyQdmckmL+Xd/xadQ== integrity sha512-0KzY/MwPVMuYY3fBILWiMdor2eJeTuLMXpSIqqKXv25lCyRCNzxNcRJ8ipH1oAGsZth6nhr84/z3hGnkxFOjFw==
dependencies: dependencies:
"@neutrinojs/react" "^9.4.0" "@neutrinojs/react" "^9.4.0"
debug "4.3.1"
react "^17.0.1" react "^17.0.1"
react-dom "^17.0.1" react-dom "^17.0.1"
react-hot-loader "^4.13.0" react-hot-loader "^4.13.0"
"@latus/redis@1.0.0": "@latus/redis@1.0.0":
version "1.0.0" version "1.0.0"
resolved "https://npm.i12e.cha0s.io/@latus%2fredis/-/redis-1.0.0.tgz#5db10f656c921e162b7a2e73a1c4d214ace69aec" resolved "https://npm.i12e.cha0s.io/@latus%2fredis/-/redis-1.0.0.tgz#8802b0a47dd59ec0872dc557378355535e09246d"
integrity sha512-9dGDRdlqbYbkFZH29BRZFHWSnkkqgykdaYCWfpodJyoVcFuiNZGL3rP4KW01m47N8PYaweOt/cPeO5xzrwB9rg== integrity sha512-esnlzcDWnE/AF23hdk2j7kJqcWij3S+Gf2MU8vIcTO46D6EnCQVLTgK7WtgkF5E/KIeE1UoqodDfHF/4G8TdLA==
dependencies: dependencies:
connect-redis "^5.0.0" connect-redis "^5.0.0"
debug "4.3.1" debug "4.3.1"
@ -968,28 +971,31 @@
"@latus/repl@1.0.0": "@latus/repl@1.0.0":
version "1.0.0" version "1.0.0"
resolved "https://npm.i12e.cha0s.io/@latus%2frepl/-/repl-1.0.0.tgz#3c2af7fd4554e1d44d9694188fed13e01081f683" resolved "https://npm.i12e.cha0s.io/@latus%2frepl/-/repl-1.0.0.tgz#12bee7bbfec08b6e5625671fb691def4ed7ec553"
integrity sha512-Dqgjm9pfS3zH8CC+lUioBMsqXw3Mjl05KEv+A4xPH3EmhKGEvPKHFfl1i2RkyNTLgaLB0mshKebcoDw0QVfKfQ== integrity sha512-pvrpipjYPrCycwkz5ufjetDAshPxbpvHC+m1YUQM6ayLBYHFsuN/vszM2bMyAD4srR++Iz9z6wl+iRf7rXyzMA==
dependencies:
debug "4.3.1"
"@latus/socket@1.0.0": "@latus/socket@1.0.0":
version "1.0.0" version "1.0.0"
resolved "https://npm.i12e.cha0s.io/@latus%2fsocket/-/socket-1.0.0.tgz#72da0b6f9e0e57ae3693875c3b92aa7dd45866fb" resolved "https://npm.i12e.cha0s.io/@latus%2fsocket/-/socket-1.0.0.tgz#53ff67747637c8da8ac9e9fbf34b0014c9307790"
integrity sha512-icrYOjy5B77dQVveFohJElceMgJaZHfCAA50x6wtM60j+ZQinGMNuE04z+9sXDEvwddYLqtSDLJFbydgyn4lnA== integrity sha512-KqWklsEql2lTWSoCXf/xulNmnOrMsyHWNm/8ui2pcA4nZ132RNtGM1kQbTUd/qdCQD2itaZ64mkVGHWwsgVSwA==
dependencies: dependencies:
"@latus/core" "^1.0.0" "@latus/core" "^1.0.0"
"@latus/http" "^1.0.0" "@latus/http" "^1.0.0"
buffer "^6.0.3" buffer "^6.0.3"
debug "^4.3.1" debug "4.3.1"
socket.io "2.3.0" socket.io "2.3.0"
socket.io-client "2.3.0" socket.io-client "2.3.0"
"@latus/user@1.0.0": "@latus/user@1.0.0":
version "1.0.0" version "1.0.0"
resolved "https://npm.i12e.cha0s.io/@latus%2fuser/-/user-1.0.0.tgz#60dfc2ae21752f0e5f53f9633ea6270288919fe0" resolved "https://npm.i12e.cha0s.io/@latus%2fuser/-/user-1.0.0.tgz#8ed5a1196c8328af42d5ac04eeb2562a28fa57de"
integrity sha512-kl/0T8QDcWBZ8rz6tbiI4ucnvVZ79D8bZkTuzAZN8UwTQmiBjqYQ5JFCBYXJNYuOoeF07Xc3aBmY+85QCk3BrQ== integrity sha512-5gK6JUnQFteLKXuek6ypWcCbtvkqkkUjefeLk/7DIiuh+W/02RNp8XH/j4zOCbr1b4oN/J7j6xvIYCfZeayGhg==
dependencies: dependencies:
"@latus/db" "^1.0.0" "@latus/db" "^1.0.0"
bcrypt "^5.0.0" bcrypt "^5.0.0"
debug "4.3.1"
express "^4.17.1" express "^4.17.1"
express-session "1.17.1" express-session "1.17.1"
express-socket.io-session "^1.3.5" express-socket.io-session "^1.3.5"
@ -2519,7 +2525,7 @@ debug@2.6.9, debug@^2.2.0, debug@^2.3.3, debug@^2.6.9, debug@~2.6.0:
dependencies: dependencies:
ms "2.0.0" ms "2.0.0"
debug@4.3.1, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1: debug@4.3.1, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1:
version "4.3.1" version "4.3.1"
resolved "https://npm.i12e.cha0s.io/debug/-/debug-4.3.1.tgz#f0d229c505e0c6d8c49ac553d1b13dc183f6b2ee" resolved "https://npm.i12e.cha0s.io/debug/-/debug-4.3.1.tgz#f0d229c505e0c6d8c49ac553d1b13dc183f6b2ee"
integrity sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ== integrity sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==