From 70b04f52286d8064de12a0d5e8cf204542e71445 Mon Sep 17 00:00:00 2001 From: cha0s Date: Sun, 3 Jan 2021 00:58:24 -0600 Subject: [PATCH] flow --- app/package.json | 18 +- config/.neutrinorc.js | 12 +- config/package/.gitignore | 1 + packages/core/.gitignore | 1 + packages/core/package.json | 1 - packages/core/src/gather.js | 2 +- packages/core/src/latus.js | 20 +- packages/core/yarn.lock | 5 - packages/db/.gitignore | 1 + packages/db/package.json | 2 +- packages/governor/.gitignore | 1 + packages/governor/package.json | 12 +- packages/http/.gitignore | 1 + packages/http/package.json | 2 +- packages/react/.gitignore | 1 + packages/redis/.gitignore | 1 + packages/redux/package.json | 2 +- packages/repl/.gitignore | 1 + packages/socket/.gitignore | 1 + packages/socket/package.json | 10 +- packages/socket/src/client/socket.js | 4 +- packages/socket/src/index.js | 6 +- packages/socket/src/normalize.js | 8 +- packages/socket/src/packet/bundle.js | 10 +- packages/socket/src/packet/packets.js | 8 +- .../socket/src/packet/socket.io-parser.js | 6 +- packages/socket/src/server.js | 5 +- packages/socket/src/socket.js | 4 +- packages/socket/yarn.lock | 454 +++++++++--------- packages/user/.gitignore | 1 + packages/user/package.json | 12 +- 31 files changed, 312 insertions(+), 301 deletions(-) diff --git a/app/package.json b/app/package.json index 6452915..10223b6 100644 --- a/app/package.json +++ b/app/package.json @@ -14,15 +14,15 @@ "watch": "webpack --hot --watch --mode development" }, "dependencies": { - "@latus/core": "^2.0.0", - "@latus/db": "^2.0.0", - "@latus/governor": "^2.0.0", - "@latus/http": "^2.0.0", - "@latus/react": "^2.0.0", - "@latus/redis": "^2.0.0", - "@latus/repl": "^2.0.0", - "@latus/socket": "^2.0.0", - "@latus/user": "^2.0.0", + "@latus/core": "2.0.0", + "@latus/db": "2.0.0", + "@latus/governor": "2.0.0", + "@latus/http": "2.0.0", + "@latus/react": "2.0.0", + "@latus/redis": "2.0.0", + "@latus/repl": "2.0.0", + "@latus/socket": "2.0.0", + "@latus/user": "2.0.0", "dotenv": "8.2.0", "react": "^17.0.1", "react-hot-loader": "4.13.0" diff --git a/config/.neutrinorc.js b/config/.neutrinorc.js index 4433c0a..56e8657 100644 --- a/config/.neutrinorc.js +++ b/config/.neutrinorc.js @@ -18,12 +18,20 @@ module.exports = { const {files = [], name} = neutrino.options.packageJson; files .filter((file) => { + const {source} = neutrino.options; try { - require.resolve(`${neutrino.options.source}/${file}`); + require.resolve(`${source}/${file}`); return true; } catch (error) { - return false; + const ext = extname(file); + try { + require.resolve(`${source}/${dirname(file)}/${basename(file, ext)}/index${ext}`); + return true; + } + catch (error) { + return false; + } } }) .forEach((file) => { diff --git a/config/package/.gitignore b/config/package/.gitignore index 2580db5..24da4ef 100644 --- a/config/package/.gitignore +++ b/config/package/.gitignore @@ -3,3 +3,4 @@ !/.* !/webpack.config.js !src/**/*.js +!/test/**/*.js diff --git a/packages/core/.gitignore b/packages/core/.gitignore index 2580db5..24da4ef 100644 --- a/packages/core/.gitignore +++ b/packages/core/.gitignore @@ -3,3 +3,4 @@ !/.* !/webpack.config.js !src/**/*.js +!/test/**/*.js diff --git a/packages/core/package.json b/packages/core/package.json index 8f08faf..8160ff4 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -28,7 +28,6 @@ "dependencies": { "debug": "4.3.1", "js-yaml": "3.14.0", - "lodash.capitalize": "^4.2.1", "lodash.flatten": "^4.4.0" }, "devDependencies": { diff --git a/packages/core/src/gather.js b/packages/core/src/gather.js index 8a51689..dc54a83 100644 --- a/packages/core/src/gather.js +++ b/packages/core/src/gather.js @@ -1,4 +1,4 @@ -import capitalize from 'lodash.capitalize'; +const capitalize = (token) => token.substring(0, 1).toUpperCase() + token.substring(1); export default (latus, type, idAttribute, typeAttribute, check = () => {}) => { const gathered = latus.invokeReduce(type); diff --git a/packages/core/src/latus.js b/packages/core/src/latus.js index c0f6065..13e4862 100644 --- a/packages/core/src/latus.js +++ b/packages/core/src/latus.js @@ -13,9 +13,7 @@ export default class Latus { constructor({config, modules}) { this.config = config; this.originalConfig = JSON.parse(JSON.stringify(this.config)); - // const paths = Object.keys(config); this.hooks = {}; - // this.modules = modules; const entries = Object.entries(modules); debug('latus paths: %O', entries.map(([plugin]) => plugin)); for (let i = 0; i < entries.length; i++) { @@ -54,6 +52,24 @@ export default class Latus { debug('latus config: %O', this.config); } + static mock(modules, config) { + // eslint-disable-next-line no-eval + const R = eval('require'); + return new Latus({ + config: { + ...Object.fromEntries( + modules.map((module) => [Array.isArray(module) ? module[0] : module, {}]), + ), + ...config, + }, + modules: Object.fromEntries( + modules + .map((module) => (Array.isArray(module) ? module : [module, module])) + .map(([key, path]) => [key, R(path)]), + ), + }); + } + static create(config = readConfig()) { // eslint-disable-next-line no-eval const R = eval('require'); diff --git a/packages/core/yarn.lock b/packages/core/yarn.lock index 415a576..bf7cd2c 100644 --- a/packages/core/yarn.lock +++ b/packages/core/yarn.lock @@ -3895,11 +3895,6 @@ locate-path@^6.0.0: dependencies: p-locate "^5.0.0" -lodash.capitalize@^4.2.1: - version "4.2.1" - resolved "https://npm.i12e.cha0s.io/lodash.capitalize/-/lodash.capitalize-4.2.1.tgz#f826c9b4e2a8511d84e3aca29db05e1a4f3b72a9" - integrity sha1-+CbJtOKoUR2E46yinbBeGk87cqk= - lodash.clonedeep@^4.5.0: version "4.5.0" resolved "https://npm.i12e.cha0s.io/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz#e23f3f9c4f8fbdde872529c1071857a086e5ccef" diff --git a/packages/db/.gitignore b/packages/db/.gitignore index 2580db5..24da4ef 100644 --- a/packages/db/.gitignore +++ b/packages/db/.gitignore @@ -3,3 +3,4 @@ !/.* !/webpack.config.js !src/**/*.js +!/test/**/*.js diff --git a/packages/db/package.json b/packages/db/package.json index 89f77eb..c7d04e9 100644 --- a/packages/db/package.json +++ b/packages/db/package.json @@ -22,7 +22,7 @@ "server.js.map" ], "dependencies": { - "@latus/core": "^2.0.0", + "@latus/core": "2.0.0", "debug": "4.3.1", "mkdirp": "^1.0.4", "mysql2": "^2.2.5", diff --git a/packages/governor/.gitignore b/packages/governor/.gitignore index 2580db5..24da4ef 100644 --- a/packages/governor/.gitignore +++ b/packages/governor/.gitignore @@ -3,3 +3,4 @@ !/.* !/webpack.config.js !src/**/*.js +!/test/**/*.js diff --git a/packages/governor/package.json b/packages/governor/package.json index 01bd714..54caa0e 100644 --- a/packages/governor/package.json +++ b/packages/governor/package.json @@ -28,9 +28,9 @@ "rate-limiter-flexible": "^2.1.13" }, "devDependencies": { - "@latus/db": "^2.0.0", - "@latus/redis": "^2.0.0", - "@latus/socket": "^2.0.0", + "@latus/db": "2.0.0", + "@latus/redis": "2.0.0", + "@latus/socket": "2.0.0", "@neutrinojs/airbnb-base": "^9.4.0", "@neutrinojs/copy": "9.4.0", "@neutrinojs/mocha": "^9.4.0", @@ -44,8 +44,8 @@ "webpack-cli": "^3" }, "peerDependencies": { - "@latus/db": "^2.0.0", - "@latus/redis": "^2.0.0", - "@latus/socket": "^2.0.0" + "@latus/db": "2.0.0", + "@latus/redis": "2.0.0", + "@latus/socket": "2.0.0" } } diff --git a/packages/http/.gitignore b/packages/http/.gitignore index 2580db5..24da4ef 100644 --- a/packages/http/.gitignore +++ b/packages/http/.gitignore @@ -3,3 +3,4 @@ !/.* !/webpack.config.js !src/**/*.js +!/test/**/*.js diff --git a/packages/http/package.json b/packages/http/package.json index a3cc1fb..0eb6c0b 100644 --- a/packages/http/package.json +++ b/packages/http/package.json @@ -24,7 +24,7 @@ "server.js.map" ], "dependencies": { - "@latus/core": "^2.0.0", + "@latus/core": "2.0.0", "@neutrinojs/web": "^9.1.0", "debug": "4.3.1", "express": "^4.17.1", diff --git a/packages/react/.gitignore b/packages/react/.gitignore index 2580db5..24da4ef 100644 --- a/packages/react/.gitignore +++ b/packages/react/.gitignore @@ -3,3 +3,4 @@ !/.* !/webpack.config.js !src/**/*.js +!/test/**/*.js diff --git a/packages/redis/.gitignore b/packages/redis/.gitignore index 2580db5..24da4ef 100644 --- a/packages/redis/.gitignore +++ b/packages/redis/.gitignore @@ -3,3 +3,4 @@ !/.* !/webpack.config.js !src/**/*.js +!/test/**/*.js diff --git a/packages/redux/package.json b/packages/redux/package.json index 087f3ef..f3403c7 100644 --- a/packages/redux/package.json +++ b/packages/redux/package.json @@ -24,7 +24,7 @@ "server.js.map" ], "dependencies": { - "@latus/core": "^2.0.0", + "@latus/core": "2.0.0", "@reduxjs/toolkit": "^1.5.0", "debug": "4.3.1", "deepmerge": "^4.2.2", diff --git a/packages/repl/.gitignore b/packages/repl/.gitignore index 2580db5..24da4ef 100644 --- a/packages/repl/.gitignore +++ b/packages/repl/.gitignore @@ -3,3 +3,4 @@ !/.* !/webpack.config.js !src/**/*.js +!/test/**/*.js diff --git a/packages/socket/.gitignore b/packages/socket/.gitignore index ec949c2..73894ab 100644 --- a/packages/socket/.gitignore +++ b/packages/socket/.gitignore @@ -3,4 +3,5 @@ !/.* !/webpack.config.js !src/**/*.js +!/test/**/*.js /client diff --git a/packages/socket/package.json b/packages/socket/package.json index 077d73d..e7a3852 100644 --- a/packages/socket/package.json +++ b/packages/socket/package.json @@ -18,14 +18,16 @@ "files": [ "client.js", "client.js.map", + "hooks.js", + "hooks.js.map", "index.js", "index.js.map", "server.js", "server.js.map" ], "dependencies": { - "@latus/core": "^2.0.0", - "@latus/http": "^2.0.0", + "@latus/core": "2.0.0", + "@latus/http": "2.0.0", "buffer": "^6.0.3", "debug": "4.3.1", "proxy-addr": "^2.0.6", @@ -34,7 +36,7 @@ "socket.io-client": "2.3.0" }, "devDependencies": { - "@latus/react": "^2.0.0", + "@latus/react": "2.0.0", "@neutrinojs/airbnb-base": "^9.4.0", "@neutrinojs/copy": "9.4.0", "@neutrinojs/react": "^9.4.0", @@ -48,6 +50,6 @@ "webpack-cli": "^3" }, "peerDependencies": { - "@latus/react": "^2.0.0" + "@latus/react": "2.0.0" } } diff --git a/packages/socket/src/client/socket.js b/packages/socket/src/client/socket.js index dafa892..ae34791 100644 --- a/packages/socket/src/client/socket.js +++ b/packages/socket/src/client/socket.js @@ -6,7 +6,7 @@ import io from 'socket.io-client'; import {Class, compose, EventEmitter} from '@latus/core'; import normalize from '../normalize'; -import {fromName} from '../packet/packets'; +import packets from '../packet/packets'; import SocketIoParser from '../packet/socket.io-parser'; const debug = D('@latus/socket/client/socket'); @@ -69,7 +69,7 @@ export default class SocketClient extends decorate(Class) { debug(type); this.emit(type, ...args); })); - const Packets = Object.values(fromName(this.latus)); + const Packets = Object.values(packets(this.latus).fromName); for (let i = 0; i < Packets.length; i++) { const Packet = Packets[i]; const {id} = Packet; diff --git a/packages/socket/src/index.js b/packages/socket/src/index.js index d5becd8..99e0a01 100644 --- a/packages/socket/src/index.js +++ b/packages/socket/src/index.js @@ -4,11 +4,9 @@ import badPacketsCheck from './packet/bad-packets-check'; import Bundle from './packet/bundle'; import Refresh from './packet/refresh'; -export * from './hooks'; - export {default as normalize} from './normalize'; export {default as Packet, ValidationError} from './packet'; -export {fromId as packetFromId, fromName as packetFromName} from './packet/packets'; +export {default as packets} from './packet/packets'; export default { hooks: { @@ -22,7 +20,7 @@ export default { latus, '@latus/socket/packets', 'id', - 'name', + 'type', badPacketsCheck, ); }, diff --git a/packages/socket/src/normalize.js b/packages/socket/src/normalize.js index 76a4526..833d6b3 100644 --- a/packages/socket/src/normalize.js +++ b/packages/socket/src/normalize.js @@ -1,11 +1,11 @@ -import {fromName} from './packet/packets'; +import packets from './packet/packets'; const hydrate = (latus, [type, data]) => { - const Packets = fromName(latus); - if (!Packets[type]) { + const {fromType: {[type]: Packet}} = packets(latus); + if (!Packet) { throw new TypeError(`No packet of type '${type}'`); } - return new Packets[type](data); + return new Packet(data); }; export default (latus, packetOrDehydrated) => ( diff --git a/packages/socket/src/packet/bundle.js b/packages/socket/src/packet/bundle.js index 90e5318..f83ee14 100644 --- a/packages/socket/src/packet/bundle.js +++ b/packages/socket/src/packet/bundle.js @@ -1,5 +1,5 @@ import Packet from './packet'; -import {fromId} from './packets'; +import packets from './packets'; export default (latus) => class BundlePacket extends Packet { @@ -47,7 +47,7 @@ export default (latus) => class BundlePacket extends Packet { static unpack(packet) { const unpacked = super.unpack(packet); const {data} = unpacked; - const packets = []; + const bundled = []; let caret = 0; while (caret < data.length) { // Read packed length. @@ -61,12 +61,12 @@ export default (latus) => class BundlePacket extends Packet { } // Lookup packet. const packetId = packedPacket.readUInt8(0); - const {default: Packet} = fromId(latus)[packetId]; + const {default: Packet} = packets(latus).fromId[packetId]; // Unpack and instantiate the packet. const unpacked = Packet.unpack(packedPacket); - packets.push(new Packet(unpacked.data)); + bundled.push(new Packet(unpacked.data)); } - unpacked.data = packets; + unpacked.data = bundled; return unpacked; } diff --git a/packages/socket/src/packet/packets.js b/packages/socket/src/packet/packets.js index d5abcab..14e060e 100644 --- a/packages/socket/src/packet/packets.js +++ b/packages/socket/src/packet/packets.js @@ -1,7 +1,3 @@ -export function fromName(latus) { - return latus.config['%packets'].fromName; -} - -export function fromId(latus) { - return latus.config['%packets'].fromId; +export default function packets(latus) { + return latus.config['%packets']; } diff --git a/packages/socket/src/packet/socket.io-parser.js b/packages/socket/src/packet/socket.io-parser.js index 75994aa..3f5cc99 100644 --- a/packages/socket/src/packet/socket.io-parser.js +++ b/packages/socket/src/packet/socket.io-parser.js @@ -6,7 +6,7 @@ import { inflate, } from '@latus/core'; -import {fromId} from './packets'; +import packets from './packets'; export const types = [ 'CONNECT', @@ -41,7 +41,7 @@ const Encoder = (latus) => class Encoder { // eslint-disable-next-line class-methods-use-this pack(packet) { const packetId = packet.data[0]; - const Packet = fromId(latus)[packetId]; + const Packet = packets(latus).fromId[packetId]; try { return deflate(Packet.pack(packet)); } @@ -83,7 +83,7 @@ const Decoder = (latus) => class Decoder extends decorate(class {}) { const packet = inflate(Buffer.from(binary)); const view = new Uint8Array(packet); const packetId = view[0]; - const Packet = fromId(latus)[packetId]; + const Packet = packets(latus).fromId[packetId]; try { const unpacked = Packet.unpack(packet); const {data} = unpacked; diff --git a/packages/socket/src/server.js b/packages/socket/src/server.js index a88f399..619c8ae 100644 --- a/packages/socket/src/server.js +++ b/packages/socket/src/server.js @@ -1,6 +1,5 @@ - import {createSocketServer} from './lifecycle'; -import {fromName} from './packet/packets'; +import packets from './packet/packets'; const { NODE_ENV, @@ -12,7 +11,7 @@ export default { createSocketServer(httpServer, latus); }, '@latus/repl/context': (latus) => ({ - Packets: fromName(latus), + Packets: packets(latus).fromName, sockets: latus.config['%sockets'], }), '@latus/socket/connect': (socket) => { diff --git a/packages/socket/src/socket.js b/packages/socket/src/socket.js index 44a786e..2000320 100644 --- a/packages/socket/src/socket.js +++ b/packages/socket/src/socket.js @@ -4,7 +4,7 @@ import {Class, compose, EventEmitter} from '@latus/core'; import D from 'debug'; import normalize from './normalize'; -import {fromName} from './packet/packets'; +import packets from './packet/packets'; const debug = D('@latus/socket/server/socket'); @@ -22,7 +22,7 @@ export default class ServerSocket extends decorate(Class) { this.socket.emitPromise = promisify(precalc.emit.bind(precalc)); this.socket.joinPromise = promisify(this.socket.join.bind(this.socket)); this.socket.leavePromise = promisify(this.socket.leave.bind(this.socket)); - const Packets = Object.entries(fromName(latus)); + const Packets = Object.entries(packets(latus).fromName); for (let i = 0; i < Packets.length; i++) { const [name, Packet] = Packets[i]; const {id} = Packet; diff --git a/packages/socket/yarn.lock b/packages/socket/yarn.lock index 61e1176..a51af51 100644 --- a/packages/socket/yarn.lock +++ b/packages/socket/yarn.lock @@ -2,7 +2,7 @@ # yarn lockfile v1 -"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.10.4": +"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.10.4", "@babel/code-frame@^7.12.11": version "7.12.11" resolved "https://npm.i12e.cha0s.io/@babel%2fcode-frame/-/code-frame-7.12.11.tgz#f4ad435aa263db935b8f10f2c552d23fb716a63f" integrity sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw== @@ -14,7 +14,7 @@ resolved "https://npm.i12e.cha0s.io/@babel%2fcompat-data/-/compat-data-7.12.7.tgz#9329b4782a7d6bbd7eef57e11addf91ee3ef1e41" integrity sha512-YaxPMGs/XIWtYqrdEOZOCPsVWfEoriXopnsz3/i7apYPXQ3698UFhS6dVT1KN5qOsWmVgw/FOrmQgpRaZayGsw== -"@babel/core@^7.11.4": +"@babel/core@^7.12.10": version "7.12.10" resolved "https://npm.i12e.cha0s.io/@babel%2fcore/-/core-7.12.10.tgz#b79a2e1b9f70ed3d84bbfb6d8c4ef825f606bccd" integrity sha512-eTAlQKq65zHfkHZV0sIVODCPGVgoo1HdBlbSLi9CqOzuZanMv2ihzY+4paiKr1mH+XmYESMAmJ/dpZ68eN6d8w== @@ -35,7 +35,7 @@ semver "^5.4.1" source-map "^0.5.0" -"@babel/generator@^7.12.10": +"@babel/generator@^7.12.10", "@babel/generator@^7.12.11": version "7.12.11" resolved "https://npm.i12e.cha0s.io/@babel%2fgenerator/-/generator-7.12.11.tgz#98a7df7b8c358c9a37ab07a24056853016aba3af" integrity sha512-Ggg6WPOJtSi8yYQvLVjG8F/TlpWDlKx0OpS4Kt+xMQPs5OaGYWy+v1A+1TvxI6sAMGZpKWWoAQ1DaeQbImlItA== @@ -59,23 +59,6 @@ "@babel/helper-explode-assignable-expression" "^7.10.4" "@babel/types" "^7.10.4" -"@babel/helper-builder-react-jsx-experimental@^7.12.11": - version "7.12.11" - resolved "https://npm.i12e.cha0s.io/@babel%2fhelper-builder-react-jsx-experimental/-/helper-builder-react-jsx-experimental-7.12.11.tgz#a39616d7e4cf8f9da1f82b5fc3ee1f7406beeb11" - integrity sha512-4oGVOekPI8dh9JphkPXC68iIuP6qp/RPbaPmorRmEFbRAHZjSqxPjqHudn18GVDPgCuFM/KdFXc63C17Ygfa9w== - dependencies: - "@babel/helper-annotate-as-pure" "^7.12.10" - "@babel/helper-module-imports" "^7.12.5" - "@babel/types" "^7.12.11" - -"@babel/helper-builder-react-jsx@^7.10.4": - version "7.10.4" - resolved "https://npm.i12e.cha0s.io/@babel%2fhelper-builder-react-jsx/-/helper-builder-react-jsx-7.10.4.tgz#8095cddbff858e6fa9c326daee54a2f2732c1d5d" - integrity sha512-5nPcIZ7+KKDxT1427oBivl9V9YTal7qk0diccnh7RrcgrT/pGFOjgGw1dgryyx1GvHEpXVfoDF6Ak3rTiWh8Rg== - dependencies: - "@babel/helper-annotate-as-pure" "^7.10.4" - "@babel/types" "^7.10.4" - "@babel/helper-compilation-targets@^7.12.5": version "7.12.5" resolved "https://npm.i12e.cha0s.io/@babel%2fhelper-compilation-targets/-/helper-compilation-targets-7.12.5.tgz#cb470c76198db6a24e9dbc8987275631e5d29831" @@ -121,7 +104,7 @@ dependencies: "@babel/types" "^7.12.1" -"@babel/helper-function-name@^7.10.4": +"@babel/helper-function-name@^7.10.4", "@babel/helper-function-name@^7.12.11": version "7.12.11" resolved "https://npm.i12e.cha0s.io/@babel%2fhelper-function-name/-/helper-function-name-7.12.11.tgz#1fd7738aee5dcf53c3ecff24f1da9c511ec47b42" integrity sha512-AtQKjtYNolKNi6nNNVLQ27CP6D9oFR6bq/HPYSizlzbp7uC1M59XJe8L+0uXjbIaZaUJF99ruHqVGiKXU/7ybA== @@ -218,7 +201,7 @@ dependencies: "@babel/types" "^7.12.1" -"@babel/helper-split-export-declaration@^7.10.4", "@babel/helper-split-export-declaration@^7.11.0": +"@babel/helper-split-export-declaration@^7.10.4", "@babel/helper-split-export-declaration@^7.11.0", "@babel/helper-split-export-declaration@^7.12.11": version "7.12.11" resolved "https://npm.i12e.cha0s.io/@babel%2fhelper-split-export-declaration/-/helper-split-export-declaration-7.12.11.tgz#1b4cc424458643c47d37022223da33d76ea4603a" integrity sha512-LsIVN8j48gHgwzfocYUSkO/hjYAOJqlpJEc7tGXcIm4cubjVUf8LGW6eWRyxEu7gA25q02p0rQUWoCI33HNS5g== @@ -263,15 +246,15 @@ chalk "^2.0.0" js-tokens "^4.0.0" -"@babel/parser@^7.12.10", "@babel/parser@^7.12.7", "@babel/parser@^7.7.0": +"@babel/parser@^7.12.10", "@babel/parser@^7.12.11", "@babel/parser@^7.12.7", "@babel/parser@^7.7.0": version "7.12.11" resolved "https://npm.i12e.cha0s.io/@babel%2fparser/-/parser-7.12.11.tgz#9ce3595bcd74bc5c466905e86c535b8b25011e79" integrity sha512-N3UxG+uuF4CMYoNj8AhnbAcJF0PiuJ9KHuy1lQmkYsxTer/MAH9UBNHsBoAX/4s6NvlDD047No8mYVGGzLL4hg== "@babel/plugin-proposal-async-generator-functions@^7.12.1": - version "7.12.1" - resolved "https://npm.i12e.cha0s.io/@babel%2fplugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.12.1.tgz#dc6c1170e27d8aca99ff65f4925bd06b1c90550e" - integrity sha512-d+/o30tJxFxrA1lhzJqiUcEJdI6jKlNregCv5bASeGf2Q4MXmnwH7viDo7nhx1/ohf09oaH8j1GVYG/e3Yqk6A== + version "7.12.12" + resolved "https://npm.i12e.cha0s.io/@babel%2fplugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.12.12.tgz#04b8f24fd4532008ab4e79f788468fd5a8476566" + integrity sha512-nrz9y0a4xmUrRq51bYkWJIO5SBZyG2ys2qinHsN0zHDHVsUaModrkpyWWWXfGqYQmOL3x9sQIcTNN/pBGpo09A== dependencies: "@babel/helper-plugin-utils" "^7.10.4" "@babel/helper-remap-async-to-generator" "^7.12.1" @@ -490,9 +473,9 @@ "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-transform-block-scoping@^7.12.11": - version "7.12.11" - resolved "https://npm.i12e.cha0s.io/@babel%2fplugin-transform-block-scoping/-/plugin-transform-block-scoping-7.12.11.tgz#83ae92a104dbb93a7d6c6dd1844f351083c46b4f" - integrity sha512-atR1Rxc3hM+VPg/NvNvfYw0npQEAcHuJ+MGZnFn6h3bo+1U3BWXMdFMlvVRApBTWKQMX7SOwRJZA5FBF/JQbvA== + version "7.12.12" + resolved "https://npm.i12e.cha0s.io/@babel%2fplugin-transform-block-scoping/-/plugin-transform-block-scoping-7.12.12.tgz#d93a567a152c22aea3b1929bb118d1d0a175cdca" + integrity sha512-VOEPQ/ExOVqbukuP7BYJtI5ZxxsmegTwzZ04j1aF0dkSypGo9XpDHuOrABsJu+ie+penpSJheDJ11x1BEZNiyQ== dependencies: "@babel/helper-plugin-utils" "^7.10.4" @@ -585,7 +568,7 @@ "@babel/helper-plugin-utils" "^7.10.4" babel-plugin-dynamic-import-node "^2.3.3" -"@babel/plugin-transform-modules-commonjs@^7.10.4", "@babel/plugin-transform-modules-commonjs@^7.12.1": +"@babel/plugin-transform-modules-commonjs@^7.12.1": version "7.12.1" resolved "https://npm.i12e.cha0s.io/@babel%2fplugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.12.1.tgz#fa403124542636c786cf9b460a0ffbb48a86e648" integrity sha512-dY789wq6l0uLY8py9c1B48V8mVL5gZh/+PQ5ZPrylPYsnAvnEMjqsUXkuoDVPeVK+0VyGar+D08107LzDQ6pag== @@ -658,23 +641,22 @@ "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-transform-react-jsx-development@^7.12.7": - version "7.12.11" - resolved "https://npm.i12e.cha0s.io/@babel%2fplugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.12.11.tgz#078aa7e1f5f75a68ee9598ebed90000fcb11092f" - integrity sha512-5MvsGschXeXJsbzQGR/BH89ATMzCsM7rx95n+R7/852cGoK2JgMbacDw/A9Pmrfex4tArdMab0L5SBV4SB/Nxg== + version "7.12.12" + resolved "https://npm.i12e.cha0s.io/@babel%2fplugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.12.12.tgz#bccca33108fe99d95d7f9e82046bfe762e71f4e7" + integrity sha512-i1AxnKxHeMxUaWVXQOSIco4tvVvvCxMSfeBMnMM06mpaJt3g+MpxYQQrDfojUQldP1xxraPSJYSMEljoWM/dCg== dependencies: - "@babel/helper-builder-react-jsx-experimental" "^7.12.11" - "@babel/helper-plugin-utils" "^7.10.4" - "@babel/plugin-syntax-jsx" "^7.12.1" + "@babel/plugin-transform-react-jsx" "^7.12.12" -"@babel/plugin-transform-react-jsx@^7.12.10": - version "7.12.11" - resolved "https://npm.i12e.cha0s.io/@babel%2fplugin-transform-react-jsx/-/plugin-transform-react-jsx-7.12.11.tgz#09a7319195946b0ddc09f9a5f01346f2cb80dfdd" - integrity sha512-5nWOw6mTylaFU72BdZfa0dP1HsGdY3IMExpxn8LBE8dNmkQjB+W+sR+JwIdtbzkPvVuFviT3zyNbSUkuVTVxbw== +"@babel/plugin-transform-react-jsx@^7.12.10", "@babel/plugin-transform-react-jsx@^7.12.12": + version "7.12.12" + resolved "https://npm.i12e.cha0s.io/@babel%2fplugin-transform-react-jsx/-/plugin-transform-react-jsx-7.12.12.tgz#b0da51ffe5f34b9a900e9f1f5fb814f9e512d25e" + integrity sha512-JDWGuzGNWscYcq8oJVCtSE61a5+XAOos+V0HrxnDieUus4UMnBEosDnY1VJqU5iZ4pA04QY7l0+JvHL1hZEfsw== dependencies: - "@babel/helper-builder-react-jsx" "^7.10.4" - "@babel/helper-builder-react-jsx-experimental" "^7.12.11" + "@babel/helper-annotate-as-pure" "^7.12.10" + "@babel/helper-module-imports" "^7.12.5" "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-syntax-jsx" "^7.12.1" + "@babel/types" "^7.12.12" "@babel/plugin-transform-react-pure-annotations@^7.12.1": version "7.12.1" @@ -749,7 +731,7 @@ "@babel/helper-create-regexp-features-plugin" "^7.12.1" "@babel/helper-plugin-utils" "^7.10.4" -"@babel/preset-env@^7.11.0": +"@babel/preset-env@^7.12.11": version "7.12.11" resolved "https://npm.i12e.cha0s.io/@babel%2fpreset-env/-/preset-env-7.12.11.tgz#55d5f7981487365c93dbbc84507b1c7215e857f9" integrity sha512-j8Tb+KKIXKYlDBQyIOy4BLxzv1NUOwlHfZ74rvW+Z0Gp4/cI2IMDPBWAgWceGcE7aep9oL/0K9mlzlMGxA8yNw== @@ -832,7 +814,7 @@ "@babel/types" "^7.4.4" esutils "^2.0.2" -"@babel/preset-react@^7.10.4": +"@babel/preset-react@^7.12.10": version "7.12.10" resolved "https://npm.i12e.cha0s.io/@babel%2fpreset-react/-/preset-react-7.12.10.tgz#4fed65f296cbb0f5fb09de6be8cddc85cc909be9" integrity sha512-vtQNjaHRl4DUpp+t+g4wvTHsLQuye+n0H/wsXIZRn69oz/fvNC7gQ4IK73zGJBaxvHoxElDvnYCthMcT7uzFoQ== @@ -843,7 +825,7 @@ "@babel/plugin-transform-react-jsx-development" "^7.12.7" "@babel/plugin-transform-react-pure-annotations" "^7.12.1" -"@babel/register@^7.10.5": +"@babel/register@^7.12.10": version "7.12.10" resolved "https://npm.i12e.cha0s.io/@babel%2fregister/-/register-7.12.10.tgz#19b87143f17128af4dbe7af54c735663b3999f60" integrity sha512-EvX/BvMMJRAA3jZgILWgbsrHwBQvllC5T8B29McyME8DvkdOxk4ujESfrMvME8IHSDvWXrmMXxPvA/lx2gqPLQ== @@ -871,24 +853,24 @@ "@babel/types" "^7.12.7" "@babel/traverse@^7.10.4", "@babel/traverse@^7.12.1", "@babel/traverse@^7.12.10", "@babel/traverse@^7.12.5", "@babel/traverse@^7.7.0": - version "7.12.10" - resolved "https://npm.i12e.cha0s.io/@babel%2ftraverse/-/traverse-7.12.10.tgz#2d1f4041e8bf42ea099e5b2dc48d6a594c00017a" - integrity sha512-6aEtf0IeRgbYWzta29lePeYSk+YAFIC3kyqESeft8o5CkFlYIMX+EQDDWEiAQ9LHOA3d0oHdgrSsID/CKqXJlg== + version "7.12.12" + resolved "https://npm.i12e.cha0s.io/@babel%2ftraverse/-/traverse-7.12.12.tgz#d0cd87892704edd8da002d674bc811ce64743376" + integrity sha512-s88i0X0lPy45RrLM8b9mz8RPH5FqO9G9p7ti59cToE44xFm1Q+Pjh5Gq4SXBbtb88X7Uy7pexeqRIQDDMNkL0w== dependencies: - "@babel/code-frame" "^7.10.4" - "@babel/generator" "^7.12.10" - "@babel/helper-function-name" "^7.10.4" - "@babel/helper-split-export-declaration" "^7.11.0" - "@babel/parser" "^7.12.10" - "@babel/types" "^7.12.10" + "@babel/code-frame" "^7.12.11" + "@babel/generator" "^7.12.11" + "@babel/helper-function-name" "^7.12.11" + "@babel/helper-split-export-declaration" "^7.12.11" + "@babel/parser" "^7.12.11" + "@babel/types" "^7.12.12" debug "^4.1.0" globals "^11.1.0" lodash "^4.17.19" -"@babel/types@^7.10.4", "@babel/types@^7.10.5", "@babel/types@^7.12.1", "@babel/types@^7.12.10", "@babel/types@^7.12.11", "@babel/types@^7.12.5", "@babel/types@^7.12.7", "@babel/types@^7.4.4", "@babel/types@^7.7.0": - version "7.12.11" - resolved "https://npm.i12e.cha0s.io/@babel%2ftypes/-/types-7.12.11.tgz#a86e4d71e30a9b6ee102590446c98662589283ce" - integrity sha512-ukA9SQtKThINm++CX1CwmliMrE54J6nIYB5XTwL5f/CLFW9owfls+YSU8tVW15RQ2w+a3fSbPjC6HdQNtWZkiA== +"@babel/types@^7.10.4", "@babel/types@^7.10.5", "@babel/types@^7.12.1", "@babel/types@^7.12.10", "@babel/types@^7.12.11", "@babel/types@^7.12.12", "@babel/types@^7.12.5", "@babel/types@^7.12.7", "@babel/types@^7.4.4", "@babel/types@^7.7.0": + version "7.12.12" + resolved "https://npm.i12e.cha0s.io/@babel%2ftypes/-/types-7.12.12.tgz#4608a6ec313abbd87afa55004d373ad04a96c299" + integrity sha512-lnIX7piTxOH22xE7fDXDbSHg9MM1/6ORnafpJmov5rs0kX5g4BZxeXNJLXsMRiO0U5Rb8/FvMS6xlTnTHvxonQ== dependencies: "@babel/helper-validator-identifier" "^7.12.11" lodash "^4.17.19" @@ -910,28 +892,22 @@ minimatch "^3.0.4" strip-json-comments "^3.1.1" -"@latus/core@^1.0.0": - version "1.0.0" - resolved "https://npm.i12e.cha0s.io/@latus%2fcore/-/core-1.0.0.tgz#6fd2990a8bf8069bd331238141496a4230c4a5db" - integrity sha512-sf0g1ZhvqwbHcQVL9ivV+6QWcKu4o69aDSOV/vp/zalBT1C7yDxvbNuwNkNP5GZZI2knd7oRiA1KAd3Z4e18rg== - dependencies: - debug "4.3.1" - js-yaml "3.14.0" - "@latus/core@^2.0.0": version "2.0.0" - resolved "https://npm.i12e.cha0s.io/@latus%2fcore/-/core-2.0.0.tgz#865c5eac67720d39867cee6340dcca18fa556791" - integrity sha512-4w0zmXOfCOPsDVopXOr8x2P4urvlTK1gYdCq5Jo4vtmyQgqZj5FjBC+PliPnyxppoRc9nM5AAX4604o34CXXQg== + resolved "https://npm.i12e.cha0s.io/@latus%2fcore/-/core-2.0.0.tgz#4447b4bba265b684035be1dacefd6ba4913a47d4" + integrity sha512-OSsbO4wvVJFPZTMRDX5LAXOA+MQY8FOSK7PcTEJKeiRqOMeMIVkZc6q6KNlUIYivE+87rlM7S/CctHoA7uvQvg== dependencies: debug "4.3.1" js-yaml "3.14.0" + lodash.capitalize "^4.2.1" + lodash.flatten "^4.4.0" "@latus/http@^2.0.0": version "2.0.0" - resolved "https://npm.i12e.cha0s.io/@latus%2fhttp/-/http-2.0.0.tgz#af045e0c4fb69a2c734a5c7593c7173040c8c2b3" - integrity sha512-FK4GErIBiV9s5mi5BTJUtOXkvW+YYzoeYKyvKo4gxYlgkamT6EhYmWXAftP4PYDwqS5XQP3bAIFroY/et/F3aQ== + resolved "https://npm.i12e.cha0s.io/@latus%2fhttp/-/http-2.0.0.tgz#ca4bf307c3227fc4cd20281bf300d49f7a0b8437" + integrity sha512-IjoHtULmHzgn81g4e6Dm40EndkdEPyv3hh3DYMipGNK9GVF4BxiZI62v5hpuxaaluS+i3US2w5iuU2vwf/Sw7g== dependencies: - "@latus/core" "^1.0.0" + "@latus/core" "^2.0.0" "@neutrinojs/web" "^9.1.0" debug "4.3.1" express "^4.17.1" @@ -946,8 +922,8 @@ "@latus/react@^2.0.0": version "2.0.0" - resolved "https://npm.i12e.cha0s.io/@latus%2freact/-/react-2.0.0.tgz#2d849dffeff3751de67d6fe62951259a520e993f" - integrity sha512-tC1up/OiG6nBiRGey+bhnTdRrlaT8urOArUKKcSR+rlWb+Xuuz75K3xIMZwcKYibDk8WTNueMs7HC3Oxswi16w== + resolved "https://npm.i12e.cha0s.io/@latus%2freact/-/react-2.0.0.tgz#07021682373488f24cc80fa0f1f2dc9bb088764d" + integrity sha512-AsLYTR4YJTbLrXJTY5zE3skq7oqhcVj5qjMSgK7mGwCp0QEC7xJob6TJKE2aamklWKV1DWYKtJMexb+F2M8Gxg== dependencies: "@neutrinojs/react" "^9.4.0" debug "4.3.1" @@ -959,28 +935,28 @@ sass-loader "^10.1.0" "@neutrinojs/airbnb-base@^9.4.0": - version "9.4.0" - resolved "https://npm.i12e.cha0s.io/@neutrinojs%2fairbnb-base/-/airbnb-base-9.4.0.tgz#20af4c27ee7b8ec520b7bb781ca79d1ee118034f" - integrity sha512-CYZ1dNhIzjEcje3cIHS0zrZ+2kjoDViuUhFOBPn6eGrOQp1G3l5E+QwhNhJii66a009dtUXuUesxfrlgr9H8vw== + version "9.5.0" + resolved "https://npm.i12e.cha0s.io/@neutrinojs%2fairbnb-base/-/airbnb-base-9.5.0.tgz#d47fe0d927aa56814e70e1228af08918c5190808" + integrity sha512-ybJP/EK4LuR228piRNKs1oC82oqNkZBff246zJGdNZEXBvNZ9taGsq4gATdQ8OQJ195hN6j9NCa/zf6/WN3pOQ== dependencies: - "@neutrinojs/eslint" "9.4.0" - eslint-config-airbnb-base "^14.2.0" - eslint-plugin-import "^2.22.0" + "@neutrinojs/eslint" "9.5.0" + eslint-config-airbnb-base "^14.2.1" + eslint-plugin-import "^2.22.1" -"@neutrinojs/clean@9.4.0": - version "9.4.0" - resolved "https://npm.i12e.cha0s.io/@neutrinojs%2fclean/-/clean-9.4.0.tgz#3bdee5c737a6c53262e561a33b527f1dbb109479" - integrity sha512-NfQy1aBET8g3k6RboJwttjD/Uz7tjA0MJZ+z5sHh0mAGP0piMPHnLUBayMndzrhHfpDjNL3MiFE2nlX3G7xr5A== +"@neutrinojs/clean@9.5.0": + version "9.5.0" + resolved "https://npm.i12e.cha0s.io/@neutrinojs%2fclean/-/clean-9.5.0.tgz#77cfb0add1584741c7501f5e12ad206b67f216bf" + integrity sha512-eJjIt8KQMQR1BemupM3SPPIQ8izsaZIet6ncJ/OALEAn/B8BwNQ4GaAMlj6oXi5r9+84OjT7nSYAwit+mZ/fjg== dependencies: clean-webpack-plugin "^3.0.0" -"@neutrinojs/compile-loader@9.4.0": - version "9.4.0" - resolved "https://npm.i12e.cha0s.io/@neutrinojs%2fcompile-loader/-/compile-loader-9.4.0.tgz#8e3149ba1085378ab324c2573bd79e21fc18bb02" - integrity sha512-STcy/Q2DCxDQfm0YKX9K05jtsnEe+T5Rg/KVkTmnnmQHlMmPMTKhtj4tEFhRaQAm6Nw/lmK+vip8kDN/smayLQ== +"@neutrinojs/compile-loader@9.5.0": + version "9.5.0" + resolved "https://npm.i12e.cha0s.io/@neutrinojs%2fcompile-loader/-/compile-loader-9.5.0.tgz#162387669444a9076a7de7ea705dedf90b0dcc67" + integrity sha512-JdOH6GQXBMHHELmkzhFhKwWsIXTUUAIp0Ze9DaBlLveXVxUbZAD7NgGsvkVhlllHgfFnyrUaUhGJqlmrNFptZg== dependencies: - "@babel/core" "^7.11.4" - babel-loader "^8.1.0" + "@babel/core" "^7.12.10" + babel-loader "^8.2.2" "@neutrinojs/copy@9.4.0": version "9.4.0" @@ -989,101 +965,101 @@ dependencies: copy-webpack-plugin "^5.1.1" -"@neutrinojs/dev-server@9.4.0": - version "9.4.0" - resolved "https://npm.i12e.cha0s.io/@neutrinojs%2fdev-server/-/dev-server-9.4.0.tgz#6598c6f320ce8bf3cdeae6e2be9224779965b649" - integrity sha512-3sNx2tPAvjT4KDWqDmBbImuBfKuNcnQYZVZz8xjrh6RWXIUAOGE9extd7k5xNdyDxYVpGTsbj+aCWggPT7pvSA== +"@neutrinojs/dev-server@9.5.0": + version "9.5.0" + resolved "https://npm.i12e.cha0s.io/@neutrinojs%2fdev-server/-/dev-server-9.5.0.tgz#ef60be2bcd9c5e694091d2a913efdddba4dac19f" + integrity sha512-QONS3kNAd4Q/lrE9JsQ4RgU0XPqhPAn/1Dp2MS4jEhQteglO2ikRgssnUZcSrpBQi58YJoNguKdXe7YxF6S+zA== -"@neutrinojs/eslint@9.4.0": - version "9.4.0" - resolved "https://npm.i12e.cha0s.io/@neutrinojs%2feslint/-/eslint-9.4.0.tgz#05436d95d8b0a07f305e289af3e72825859eab9f" - integrity sha512-Ofol71dqdQmtReZVvk/HNFSWiMiFja2YnfchevSHiReh2YG0R313RSgIeo27Vo/2QOcXAp1R9F8T7tFGYqIKeQ== +"@neutrinojs/eslint@9.5.0": + version "9.5.0" + resolved "https://npm.i12e.cha0s.io/@neutrinojs%2feslint/-/eslint-9.5.0.tgz#ef057b128a8de640da105cf7a2d65ba702b136c4" + integrity sha512-Fbxh6Rvc7Tfe26lI+i95OruMinUbW4aO7asjH59bT4bPYADDYVbTHee/WYWBgx+rbBBvjMHV4yF7Lt28m6d+5w== dependencies: babel-eslint "^10.1.0" eslint-loader "^4.0.2" eslint-plugin-babel "^5.3.1" -"@neutrinojs/font-loader@9.4.0": - version "9.4.0" - resolved "https://npm.i12e.cha0s.io/@neutrinojs%2ffont-loader/-/font-loader-9.4.0.tgz#5bdb7a9cd3e2049693d4601afd31bc98c1cda95f" - integrity sha512-lf5p+gj0AWO44nfif+ieYYHsQWHogIhXu4PCMee4G1obomssc0Aqq369RZ2LCc5aknClhSgtuaTG+jG/UHn02Q== +"@neutrinojs/font-loader@9.5.0": + version "9.5.0" + resolved "https://npm.i12e.cha0s.io/@neutrinojs%2ffont-loader/-/font-loader-9.5.0.tgz#f1696c8552af2b9b18efc4c37141a9826c5f94c8" + integrity sha512-dRYkXVSeIdIPq2+7SEPQ8m49TMKFmHQA9jn8ejpza0pIg3kGhv0a8x+k6/wbc0LUau/7xss93YoC+77VY2Xu3w== dependencies: - file-loader "^6.0.0" + file-loader "^6.2.0" -"@neutrinojs/html-loader@9.4.0": - version "9.4.0" - resolved "https://npm.i12e.cha0s.io/@neutrinojs%2fhtml-loader/-/html-loader-9.4.0.tgz#2926a182b6d5734099699d8ef99df1957b175c55" - integrity sha512-bEeKtOkRlW5K6Ate24vzyl4xFVPssariDZw9zzwgvF7xbJSqX/p1mbRYBqe0Bc5SrzkQsjzuRyOOPOSa7UV4mw== +"@neutrinojs/html-loader@9.5.0": + version "9.5.0" + resolved "https://npm.i12e.cha0s.io/@neutrinojs%2fhtml-loader/-/html-loader-9.5.0.tgz#677476172d3a5ab3700c21f5ecbc7155b75cf6d7" + integrity sha512-sndDpBhnmOm+6U9Gzqhm4ixE8mRY8Np6JOSewQ3B5xwY9Iv7WIpbQd2ptrhGB0LM0bVj8M/1COu0MGyH8ndgQw== dependencies: html-loader "^0.5.5" -"@neutrinojs/html-template@9.4.0": - version "9.4.0" - resolved "https://npm.i12e.cha0s.io/@neutrinojs%2fhtml-template/-/html-template-9.4.0.tgz#56ad51da8ee8b0cfaf93eb9a25fbf505b7d6fb66" - integrity sha512-4M8ts2j7hKZAxqeIbvIMSgbRx7otb/YKvNn0dZuOCVDGwYg/s8690vw2dyOualjOFqJGvvqwlvxAcdnUsmSVEw== +"@neutrinojs/html-template@9.5.0": + version "9.5.0" + resolved "https://npm.i12e.cha0s.io/@neutrinojs%2fhtml-template/-/html-template-9.5.0.tgz#b16d8dd0cd029255af135c7dc42f612345b4a3e3" + integrity sha512-nw1Hdpq8dmrv3JxXy0Ba01wIqOhb10H/CXXk/N1dlrfhDimgbc0JkGuvWa416/y5F4EEZ3pNU3HvPoo2DgKkQA== dependencies: - html-webpack-plugin "^4.3.0" + html-webpack-plugin "^4.5.0" -"@neutrinojs/image-loader@9.4.0": - version "9.4.0" - resolved "https://npm.i12e.cha0s.io/@neutrinojs%2fimage-loader/-/image-loader-9.4.0.tgz#ef8e55249b1e64384aa089bc101cb1583bec32bd" - integrity sha512-af8oVqd7cyKfBCKciZEmJKRufNv7dFXINsdP31kam9dfbo+nmxt177QhPI0FFTW+26H5qJonYfQS36G02kQM5w== +"@neutrinojs/image-loader@9.5.0": + version "9.5.0" + resolved "https://npm.i12e.cha0s.io/@neutrinojs%2fimage-loader/-/image-loader-9.5.0.tgz#026bea0d324a2603de92c6bbcabc997dbb67c5b7" + integrity sha512-k0Y8WqqTk5lV+QVtcnbmQcztoVgEGrSmR2CW8tWoqrWHEpsRxNU9Zr/YHClswU8u6zLihyLp60gF/j4omvDe0w== dependencies: - file-loader "^6.0.0" - url-loader "^4.1.0" + file-loader "^6.2.0" + url-loader "^4.1.1" "@neutrinojs/mocha@^9.4.0": - version "9.4.0" - resolved "https://npm.i12e.cha0s.io/@neutrinojs%2fmocha/-/mocha-9.4.0.tgz#46a086eace326785d1adb6acbc4d0e80dff911cc" - integrity sha512-w6J5JFyBSFfvxWW+qSTXDwTBY1jnSCWKt462tOe+v5upWrO+FoIoLVEMoe3kUlvGNdOcMQBNeO0gqp1xw6KxRQ== + version "9.5.0" + resolved "https://npm.i12e.cha0s.io/@neutrinojs%2fmocha/-/mocha-9.5.0.tgz#b46e2516d019cdf3aa74b77ee2a608968c2c87b9" + integrity sha512-OY9gEPe2V+LajevE5UUnGdkGreESAeh/OHtHSCL5Y2n6n3gMu61zxNRrFCUzElKQ2dRXOOP0VnrO+CkphD/jUg== dependencies: - "@babel/core" "^7.11.4" - "@babel/plugin-transform-modules-commonjs" "^7.10.4" - "@babel/register" "^7.10.5" + "@babel/core" "^7.12.10" + "@babel/plugin-transform-modules-commonjs" "^7.12.1" + "@babel/register" "^7.12.10" babel-merge "^3.0.0" deepmerge "^1.5.2" lodash.omit "^4.5.0" "@neutrinojs/react@^9.4.0": - version "9.4.0" - resolved "https://npm.i12e.cha0s.io/@neutrinojs%2freact/-/react-9.4.0.tgz#bd666a4162cc8b541277cf61cb4fe1fc977674f6" - integrity sha512-3Y/iCWrEuRVJSTjsCdIE8C6Ym0FDEP16q83Vi2R2U4nT2/KEIl/i8VUiO33/6YC5r8/AZl/YRl4j1lQEa4oDkA== + version "9.5.0" + resolved "https://npm.i12e.cha0s.io/@neutrinojs%2freact/-/react-9.5.0.tgz#3ea0c94aaef7045c74fc53b581d7e989a83e67dd" + integrity sha512-izG8MVTlCahh+U3iCiSxinohApTbaCFFr7qxyZz+SWSUC5fXwFrHnBVB+1yHYJ5g6XpQiGKZkAOxGsTo475Q7g== dependencies: - "@babel/core" "^7.11.4" - "@babel/preset-react" "^7.10.4" - "@neutrinojs/web" "9.4.0" + "@babel/core" "^7.12.10" + "@babel/preset-react" "^7.12.10" + "@neutrinojs/web" "9.5.0" babel-merge "^3.0.0" babel-plugin-transform-react-remove-prop-types "^0.4.24" deepmerge "^1.5.2" - eslint-plugin-react "^7.20.6" - eslint-plugin-react-hooks "^4.1.0" + eslint-plugin-react "^7.21.5" + eslint-plugin-react-hooks "^4.2.0" -"@neutrinojs/style-loader@9.4.0": - version "9.4.0" - resolved "https://npm.i12e.cha0s.io/@neutrinojs%2fstyle-loader/-/style-loader-9.4.0.tgz#f1056227ebb321f478c38a956c77027b62bf55e1" - integrity sha512-w5vcnCIAvJ7FmQkM9HuICf6MyoJaLmPcLTgNUlHJtuyVVBw+ksM73DqzIIhDApxeLaYrH7wVFzGHrmestPhKrA== +"@neutrinojs/style-loader@9.5.0": + version "9.5.0" + resolved "https://npm.i12e.cha0s.io/@neutrinojs%2fstyle-loader/-/style-loader-9.5.0.tgz#5f1f151d76f5f1168e557612d5e3407ffb99049e" + integrity sha512-tuizyMF9z0xFi5HeQqTZ8n8ZNn49G+SgDnBTwBzHJWhYVtmKfYlgMuTUnNd6vo1dJtgSSR5+1TkkzFMee2IXtg== dependencies: css-loader "^3.6.0" deepmerge "^1.5.2" - mini-css-extract-plugin "^0.11.0" - style-loader "^1.2.1" + mini-css-extract-plugin "^0.12.0" + style-loader "^1.3.0" -"@neutrinojs/web@9.4.0", "@neutrinojs/web@^9.1.0": - version "9.4.0" - resolved "https://npm.i12e.cha0s.io/@neutrinojs%2fweb/-/web-9.4.0.tgz#c1ee4269cd33555ed3b260470f5e0b6cfec4f667" - integrity sha512-wzUHEfAD7QoxB3U4n2fBUVJNKo16NrioGxOTkdzVh43nNcwO3aTI7uudIat463jL28xHZmc+RfLkmV4pHMip4w== +"@neutrinojs/web@9.5.0", "@neutrinojs/web@^9.1.0": + version "9.5.0" + resolved "https://npm.i12e.cha0s.io/@neutrinojs%2fweb/-/web-9.5.0.tgz#a7f5ccfb4f01b7e250a4d8035be2c751a84f1f67" + integrity sha512-GYIxQ8eGUi4VwmHKimapT6ycRQjX8nK8ywPLEcjlU/xOC6EMFDNqu21+N+mFBudjwzVqFACaaRtwJkw/oYVnRQ== dependencies: - "@babel/core" "^7.11.4" + "@babel/core" "^7.12.10" "@babel/plugin-syntax-dynamic-import" "^7.8.3" - "@babel/preset-env" "^7.11.0" - "@neutrinojs/clean" "9.4.0" - "@neutrinojs/compile-loader" "9.4.0" - "@neutrinojs/dev-server" "9.4.0" - "@neutrinojs/font-loader" "9.4.0" - "@neutrinojs/html-loader" "9.4.0" - "@neutrinojs/html-template" "9.4.0" - "@neutrinojs/image-loader" "9.4.0" - "@neutrinojs/style-loader" "9.4.0" + "@babel/preset-env" "^7.12.11" + "@neutrinojs/clean" "9.5.0" + "@neutrinojs/compile-loader" "9.5.0" + "@neutrinojs/dev-server" "9.5.0" + "@neutrinojs/font-loader" "9.5.0" + "@neutrinojs/html-loader" "9.5.0" + "@neutrinojs/html-template" "9.5.0" + "@neutrinojs/image-loader" "9.5.0" + "@neutrinojs/style-loader" "9.5.0" babel-merge "^3.0.0" deepmerge "^1.5.2" @@ -1121,9 +1097,9 @@ integrity sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA== "@types/node@*": - version "14.14.14" - resolved "https://npm.i12e.cha0s.io/@types%2fnode/-/node-14.14.14.tgz#f7fd5f3cc8521301119f63910f0fb965c7d761ae" - integrity sha512-UHnOPWVWV1z+VV8k6L1HhG7UbGBgIdghqF3l9Ny9ApPghbjICXkUJSd/b9gOgQfjM1r+37cipdw/HJ3F6ICEnQ== + version "14.14.16" + resolved "https://npm.i12e.cha0s.io/@types%2fnode/-/node-14.14.16.tgz#3cc351f8d48101deadfed4c9e4f116048d437b4b" + integrity sha512-naXYePhweTi+BMv11TgioE2/FXU4fSl29HAH1ffxVciNsH3rYXjNP2yM8wqmSm7jS20gM8TIklKiTen+1iVncw== "@types/source-list-map@*": version "0.1.2" @@ -1662,7 +1638,7 @@ babel-eslint@^10.1.0: eslint-visitor-keys "^1.0.0" resolve "^1.12.0" -babel-loader@^8.1.0: +babel-loader@^8.2.2: version "8.2.2" resolved "https://npm.i12e.cha0s.io/babel-loader/-/babel-loader-8.2.2.tgz#9363ce84c10c9a40e6c753748e1441b60c8a0b81" integrity sha512-JvTd0/D889PQBtUXJ2PXaKU/pjZDMtHA9V2ecm+eNRmmBCMR09a+fmpGTNwnJtFmFl5Ei7Vy47LjBb+L0wQ99g== @@ -2102,9 +2078,9 @@ camelcase@^6.0.0: integrity sha512-c7wVvbw3f37nuobQNtgsgG9POC9qMbNuMQmTCqZv23b6MIz0fcYpBiOlv9gEN/hdLdnZTDQhg6e9Dq5M1vKvfg== caniuse-lite@^1.0.30001165: - version "1.0.30001170" - resolved "https://npm.i12e.cha0s.io/caniuse-lite/-/caniuse-lite-1.0.30001170.tgz#0088bfecc6a14694969e391cc29d7eb6362ca6a7" - integrity sha512-Dd4d/+0tsK0UNLrZs3CvNukqalnVTRrxb5mcQm8rHL49t7V5ZaTygwXkrq+FB+dVDf++4ri8eJnFEJAB8332PA== + version "1.0.30001171" + resolved "https://npm.i12e.cha0s.io/caniuse-lite/-/caniuse-lite-1.0.30001171.tgz#3291e11e02699ad0a29e69b8d407666fc843eba7" + integrity sha512-5Alrh8TTYPG9IH4UkRqEBZoEToWRLvPbSQokvzSz0lii8/FOWKG4keO1HoYfPWs8IF/NH/dyNPg1cmJGvV3Zlg== caseless@~0.12.0: version "0.12.0" @@ -2647,7 +2623,7 @@ debug@4.3.1, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1: dependencies: ms "2.1.2" -debug@^3.1.1, debug@^3.2.5: +debug@^3.1.1, debug@^3.2.6: version "3.2.7" resolved "https://npm.i12e.cha0s.io/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a" integrity sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ== @@ -2958,9 +2934,9 @@ ee-first@1.1.1: integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0= electron-to-chromium@^1.3.621: - version "1.3.631" - resolved "https://npm.i12e.cha0s.io/electron-to-chromium/-/electron-to-chromium-1.3.631.tgz#b28ebc7bfb348bb0aede2fae8888d775ddb6f5ee" - integrity sha512-mPEG/52142po0XK1jQkZtbMmp38MZtQ3JDFItYxV65WXyhxDYEQ54tP4rb93m0RbMlZqQ+4zBw2N7UumSgGfbA== + version "1.3.633" + resolved "https://npm.i12e.cha0s.io/electron-to-chromium/-/electron-to-chromium-1.3.633.tgz#16dd5aec9de03894e8d14a1db4cda8a369b9b7fe" + integrity sha512-bsVCsONiVX1abkWdH7KtpuDAhsQ3N3bjPYhROSAXE78roJKet0Y5wznA14JE9pzbwSZmSMAW6KiKYf1RvbTJkA== elliptic@^6.5.3: version "6.5.3" @@ -3113,7 +3089,7 @@ es-abstract@^1.17.0-next.1: string.prototype.trimend "^1.0.1" string.prototype.trimstart "^1.0.1" -es-abstract@^1.18.0-next.0, es-abstract@^1.18.0-next.1: +es-abstract@^1.18.0-next.1: version "1.18.0-next.1" resolved "https://npm.i12e.cha0s.io/es-abstract/-/es-abstract-1.18.0-next.1.tgz#6e3a0a4bda717e5023ab3b8e90bec36108d22c68" integrity sha512-I4UGspA0wpZXWENrdA0uHbnhte683t3qT/1VFH9aX2dA5PPSf6QW5HHXf5HImaqPmjXaVeVk4RGWnaylmV7uAA== @@ -3168,7 +3144,7 @@ escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: resolved "https://npm.i12e.cha0s.io/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ= -eslint-config-airbnb-base@^14.2.0: +eslint-config-airbnb-base@^14.2.1: version "14.2.1" resolved "https://npm.i12e.cha0s.io/eslint-config-airbnb-base/-/eslint-config-airbnb-base-14.2.1.tgz#8a2eb38455dc5a312550193b319cdaeef042cd1e" integrity sha512-GOrQyDtVEc1Xy20U7vsB2yAoB4nBlfH5HZJeatRXHleO+OS5Ot+MWij4Dpltw4/DyIkqUfqz1epfhVR5XWWQPA== @@ -3227,7 +3203,7 @@ eslint-plugin-babel@^5.3.1: dependencies: eslint-rule-composer "^0.3.0" -eslint-plugin-import@^2.22.0: +eslint-plugin-import@^2.22.1: version "2.22.1" resolved "https://npm.i12e.cha0s.io/eslint-plugin-import/-/eslint-plugin-import-2.22.1.tgz#0896c7e6a0cf44109a2d97b95903c2bb689d7702" integrity sha512-8K7JjINHOpH64ozkAhpT3sd+FswIZTfMZTjdx052pnWrgRCVfp8op9tbjpAk3DdUeI/Ba4C8OjdC0r90erHEOw== @@ -3246,15 +3222,15 @@ eslint-plugin-import@^2.22.0: resolve "^1.17.0" tsconfig-paths "^3.9.0" -eslint-plugin-react-hooks@^4.1.0: +eslint-plugin-react-hooks@^4.2.0: version "4.2.0" resolved "https://npm.i12e.cha0s.io/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.2.0.tgz#8c229c268d468956334c943bb45fc860280f5556" integrity sha512-623WEiZJqxR7VdxFCKLI6d6LLpwJkGPYKODnkH3D7WpOG5KM8yWueBd8TLsNAetEJNF5iJmolaAKO3F8yzyVBQ== -eslint-plugin-react@^7.20.6: - version "7.21.5" - resolved "https://npm.i12e.cha0s.io/eslint-plugin-react/-/eslint-plugin-react-7.21.5.tgz#50b21a412b9574bfe05b21db176e8b7b3b15bff3" - integrity sha512-8MaEggC2et0wSF6bUeywF7qQ46ER81irOdWS4QWxnnlAEsnzeBevk1sWh7fhpCghPpXb+8Ks7hvaft6L/xsR6g== +eslint-plugin-react@^7.21.5: + version "7.22.0" + resolved "https://npm.i12e.cha0s.io/eslint-plugin-react/-/eslint-plugin-react-7.22.0.tgz#3d1c542d1d3169c45421c1215d9470e341707269" + integrity sha512-p30tuX3VS+NWv9nQot9xIGAHBXR0+xJVaZriEsHoJrASGCJZDJ8JLNM0YqKqI0AKm6Uxaa1VUHoNEibxRCMQHA== dependencies: array-includes "^3.1.1" array.prototype.flatmap "^1.2.3" @@ -3560,14 +3536,7 @@ fastparse@^1.1.1: resolved "https://npm.i12e.cha0s.io/fastparse/-/fastparse-1.1.2.tgz#91728c5a5942eced8531283c79441ee4122c35a9" integrity sha512-483XLLxTVIwWK3QTrMGRqUfUpoOs/0hbQrl2oz4J0pAcm3A3bu84wxTFqGqkJzewCLdME38xJLJAxBABfQT8sQ== -faye-websocket@^0.10.0: - version "0.10.0" - resolved "https://npm.i12e.cha0s.io/faye-websocket/-/faye-websocket-0.10.0.tgz#4e492f8d04dfb6f89003507f6edbf2d501e7c6f4" - integrity sha1-TkkvjQTftviQA1B/btvy1QHnxvQ= - dependencies: - websocket-driver ">=0.5.1" - -faye-websocket@~0.11.1: +faye-websocket@^0.11.3: version "0.11.3" resolved "https://npm.i12e.cha0s.io/faye-websocket/-/faye-websocket-0.11.3.tgz#5c0e9a8968e8912c286639fde977a8b209f2508e" integrity sha512-D2y4bovYpzziGgbHYtGCMjlJM36vAl/y+xUyn1C+FVx8szd1E+86KwVw6XvYSzOP8iMpm1X0I4xJD+QtUb36OA== @@ -3586,7 +3555,7 @@ file-entry-cache@^6.0.0: dependencies: flat-cache "^3.0.4" -file-loader@^6.0.0: +file-loader@^6.2.0: version "6.2.0" resolved "https://npm.i12e.cha0s.io/file-loader/-/file-loader-6.2.0.tgz#baef7cf8e1840df325e4390b4484879480eebe4d" integrity sha512-qo3glqyTa61Ytg4u73GultjHGjdRyig3tG6lPtyX/jOEJvHif9uB0/OCI2Kif6ctF3caQTW2G5gym21oAsI4pw== @@ -3870,7 +3839,7 @@ get-func-name@^2.0.0: resolved "https://npm.i12e.cha0s.io/get-func-name/-/get-func-name-2.0.0.tgz#ead774abee72e20409433a066366023dd6887a41" integrity sha1-6td0q+5y4gQJQzoGY2YCPdaIekE= -get-intrinsic@^1.0.0, get-intrinsic@^1.0.1: +get-intrinsic@^1.0.0, get-intrinsic@^1.0.1, get-intrinsic@^1.0.2: version "1.0.2" resolved "https://npm.i12e.cha0s.io/get-intrinsic/-/get-intrinsic-1.0.2.tgz#6820da226e50b24894e08859469dc68361545d49" integrity sha512-aeX0vrFm21ILl3+JpFFRNe9aUvp6VFZb2/CTbgLb8j75kOhvoNYjt9d8KA/tJG4gSo8nzEDedRl0h7vDmBYRVg== @@ -4225,7 +4194,7 @@ html-minifier@^3.5.8: relateurl "0.2.x" uglify-js "3.4.x" -html-webpack-plugin@^4.3.0: +html-webpack-plugin@^4.5.0: version "4.5.0" resolved "https://npm.i12e.cha0s.io/html-webpack-plugin/-/html-webpack-plugin-4.5.0.tgz#625097650886b97ea5dae331c320e3238f6c121c" integrity sha512-MouoXEYSjTzCrjIxWwg8gxL5fE2X2WZJLmBYXlaJhQUH5K/b5OrqmV7T4dB7iu0xkmJ6JlUuV6fFVtnqbPopZw== @@ -4848,7 +4817,7 @@ json-stringify-safe@~5.0.1: resolved "https://npm.i12e.cha0s.io/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" integrity sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus= -json3@^3.3.2: +json3@^3.3.3: version "3.3.3" resolved "https://npm.i12e.cha0s.io/json3/-/json3-3.3.3.tgz#7fc10e375fc5ae42c4705a5cc0aa6f62be305b81" integrity sha512-c7/8mbUsKigAbLkD5B010BK4D9LZm7A1pNItkEwiUZRpIN66exu/e7YQWysGun+TRKaJp8MhemM+VkfWv42aCA== @@ -5008,11 +4977,21 @@ locate-path@^6.0.0: dependencies: p-locate "^5.0.0" +lodash.capitalize@^4.2.1: + version "4.2.1" + resolved "https://npm.i12e.cha0s.io/lodash.capitalize/-/lodash.capitalize-4.2.1.tgz#f826c9b4e2a8511d84e3aca29db05e1a4f3b72a9" + integrity sha1-+CbJtOKoUR2E46yinbBeGk87cqk= + lodash.clonedeep@^4.5.0: version "4.5.0" resolved "https://npm.i12e.cha0s.io/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz#e23f3f9c4f8fbdde872529c1071857a086e5ccef" integrity sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8= +lodash.flatten@^4.4.0: + version "4.4.0" + resolved "https://npm.i12e.cha0s.io/lodash.flatten/-/lodash.flatten-4.4.0.tgz#f31c22225a9632d2bbf8e4addbef240aa765a61f" + integrity sha1-8xwiIlqWMtK7+OSt2+8kCqdlph8= + lodash.omit@^4.5.0: version "4.5.0" resolved "https://npm.i12e.cha0s.io/lodash.omit/-/lodash.omit-4.5.0.tgz#6eb19ae5a1ee1dd9df0b969e66ce0b7fa30b5e60" @@ -5257,10 +5236,10 @@ min-document@^2.19.0: dependencies: dom-walk "^0.1.0" -mini-css-extract-plugin@^0.11.0: - version "0.11.3" - resolved "https://npm.i12e.cha0s.io/mini-css-extract-plugin/-/mini-css-extract-plugin-0.11.3.tgz#15b0910a7f32e62ffde4a7430cfefbd700724ea6" - integrity sha512-n9BA8LonkOkW1/zn+IbLPQmovsL0wMb9yx75fMJQZf2X1Zoec9yTZtyMePcyu19wPkmFbzZZA6fLTotpFhQsOA== +mini-css-extract-plugin@^0.12.0: + version "0.12.0" + resolved "https://npm.i12e.cha0s.io/mini-css-extract-plugin/-/mini-css-extract-plugin-0.12.0.tgz#ddeb74fd6304ca9f99c1db74acc7d5b507705454" + integrity sha512-z6PQCe9rd1XUwZ8gMaEVwwRyZlrYy8Ba1gRjFP5HcV51HkXX+XlwZ+a1iAYTjSYwgNBXoNR7mhx79mDpOn5fdw== dependencies: loader-utils "^1.1.0" normalize-url "1.9.1" @@ -5458,7 +5437,7 @@ neo-async@^2.5.0, neo-async@^2.6.1, neo-async@^2.6.2: resolved "https://npm.i12e.cha0s.io/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f" integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw== -neutrino@9.4.0, neutrino@^9.4.0: +neutrino@9.4.0: version "9.4.0" resolved "https://npm.i12e.cha0s.io/neutrino/-/neutrino-9.4.0.tgz#c908ef78b06f24a2a868daf109eaa547de86f302" integrity sha512-d3R2aUB54qoqK4Dp+WSf/hURFiHoJ88ayj3XnJkYb2tQvS5v46FuExowLdNCYtyxB8nDAO24vEEi7Mo8rNZtyQ== @@ -5468,6 +5447,16 @@ neutrino@9.4.0, neutrino@^9.4.0: webpack-chain "^6.5.1" yargs-parser "^19.0.4" +neutrino@^9.4.0: + version "9.5.0" + resolved "https://npm.i12e.cha0s.io/neutrino/-/neutrino-9.5.0.tgz#8d4cfedc911cefa68876c8331d1d8f22423bc65b" + integrity sha512-nbCwUAVV4jJGiYcWVX8oBWWyubyLEuN90E1YoxRdmzsAvPudjNVlCYfcVYR7txQWqspZoB5NjRuHA+pCB6Vr7A== + dependencies: + lodash.clonedeep "^4.5.0" + semver "^7.3.4" + webpack-chain "^6.5.1" + yargs-parser "^20.2.4" + nice-try@^1.0.4: version "1.0.5" resolved "https://npm.i12e.cha0s.io/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366" @@ -5663,11 +5652,11 @@ object-copy@^0.1.0: kind-of "^3.0.3" object-hash@^2.0.3: - version "2.0.3" - resolved "https://npm.i12e.cha0s.io/object-hash/-/object-hash-2.0.3.tgz#d12db044e03cd2ca3d77c0570d87225b02e1e6ea" - integrity sha512-JPKn0GMu+Fa3zt3Bmr66JhokJU5BaNBIh4ZeTlaCBzrBsOeXzwcKKAK1tbLiPKgvwmPXsDvvLHoWh5Bm7ofIYg== + version "2.1.1" + resolved "https://npm.i12e.cha0s.io/object-hash/-/object-hash-2.1.1.tgz#9447d0279b4fcf80cff3259bf66a1dc73afabe09" + integrity sha512-VOJmgmS+7wvXf8CjbQmimtCnEx3IAoLxI3fp2fbWehxrWBcAQFbk+vcwb6vzR0VZv/eNCJ/27j151ZTwqW/JeQ== -object-inspect@^1.8.0: +object-inspect@^1.8.0, object-inspect@^1.9.0: version "1.9.0" resolved "https://npm.i12e.cha0s.io/object-inspect/-/object-inspect-1.9.0.tgz#c90521d74e1127b67266ded3394ad6116986533a" integrity sha512-i3Bp9iTqwhaLZBxGkRfo5ZbE07BQRT7MGu8+nNgwW9ItGp1TzCTw2DLEoWwjClxBjOFI/hWljTAmYGCEwmtnOw== @@ -6887,7 +6876,7 @@ select-hose@^2.0.0: resolved "https://npm.i12e.cha0s.io/select-hose/-/select-hose-2.0.0.tgz#625d8658f865af43ec962bfc376a37359a4994ca" integrity sha1-Yl2GWPhlr0Psliv8N2o3NZpJlMo= -selfsigned@^1.10.7: +selfsigned@^1.10.8: version "1.10.8" resolved "https://npm.i12e.cha0s.io/selfsigned/-/selfsigned-1.10.8.tgz#0d17208b7d12c33f8eac85c41835f27fc3d81a30" integrity sha512-2P4PtieJeEwVgTU9QEcwIRDQ/mXJLX8/+I3ur+Pg16nS8oNbrGxEso9NyYWy8NAmXiNl4dlAp5MwoNeCWzON4w== @@ -6909,7 +6898,7 @@ semver@^6.0.0, semver@^6.3.0: resolved "https://npm.i12e.cha0s.io/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== -semver@^7.2.1, semver@^7.3.2: +semver@^7.2.1, semver@^7.3.2, semver@^7.3.4: version "7.3.4" resolved "https://npm.i12e.cha0s.io/semver/-/semver-7.3.4.tgz#27aaa7d2e4ca76452f98d3add093a72c943edc97" integrity sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw== @@ -7040,12 +7029,13 @@ shebang-regex@^3.0.0: integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== side-channel@^1.0.2, side-channel@^1.0.3: - version "1.0.3" - resolved "https://npm.i12e.cha0s.io/side-channel/-/side-channel-1.0.3.tgz#cdc46b057550bbab63706210838df5d4c19519c3" - integrity sha512-A6+ByhlLkksFoUepsGxfj5x1gTSrs+OydsRptUxeNCabQpCFUvcwIczgOigI8vhY/OJCnPnyE9rGiwgvr9cS1g== + version "1.0.4" + resolved "https://npm.i12e.cha0s.io/side-channel/-/side-channel-1.0.4.tgz#efce5c8fdc104ee751b25c58d4290011fa5ea2cf" + integrity sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw== dependencies: - es-abstract "^1.18.0-next.0" - object-inspect "^1.8.0" + call-bind "^1.0.0" + get-intrinsic "^1.0.2" + object-inspect "^1.9.0" signal-exit@^3.0.0: version "3.0.3" @@ -7151,26 +7141,26 @@ socket.io@2.3.0: socket.io-client "2.3.0" socket.io-parser "~3.4.0" -sockjs-client@1.4.0: - version "1.4.0" - resolved "https://npm.i12e.cha0s.io/sockjs-client/-/sockjs-client-1.4.0.tgz#c9f2568e19c8fd8173b4997ea3420e0bb306c7d5" - integrity sha512-5zaLyO8/nri5cua0VtOrFXBPK1jbL4+1cebT/mmKA1E1ZXOvJrII75bPu0l0k843G/+iAbhEqzyKr0w/eCCj7g== +sockjs-client@^1.5.0: + version "1.5.0" + resolved "https://npm.i12e.cha0s.io/sockjs-client/-/sockjs-client-1.5.0.tgz#2f8ff5d4b659e0d092f7aba0b7c386bd2aa20add" + integrity sha512-8Dt3BDi4FYNrCFGTL/HtwVzkARrENdwOUf1ZoW/9p3M8lZdFT35jVdrHza+qgxuG9H3/shR4cuX/X9umUrjP8Q== dependencies: - debug "^3.2.5" + debug "^3.2.6" eventsource "^1.0.7" - faye-websocket "~0.11.1" - inherits "^2.0.3" - json3 "^3.3.2" - url-parse "^1.4.3" + faye-websocket "^0.11.3" + inherits "^2.0.4" + json3 "^3.3.3" + url-parse "^1.4.7" -sockjs@0.3.20: - version "0.3.20" - resolved "https://npm.i12e.cha0s.io/sockjs/-/sockjs-0.3.20.tgz#b26a283ec562ef8b2687b44033a4eeceac75d855" - integrity sha512-SpmVOVpdq0DJc0qArhF3E5xsxvaiqGNb73XfgBpK1y3UD5gs8DSo8aCTsuT5pX8rssdc2NDIzANwP9eCAiSdTA== +sockjs@^0.3.21: + version "0.3.21" + resolved "https://npm.i12e.cha0s.io/sockjs/-/sockjs-0.3.21.tgz#b34ffb98e796930b60a0cfa11904d6a339a7d417" + integrity sha512-DhbPFGpxjc6Z3I+uX07Id5ZO2XwYsWOrYjaSeieES78cq+JaJvVe5q/m1uvjIQhXinhIeCFRH6JgXe+mvVMyXw== dependencies: - faye-websocket "^0.10.0" + faye-websocket "^0.11.3" uuid "^3.4.0" - websocket-driver "0.6.5" + websocket-driver "^0.7.4" sort-keys@^1.0.0: version "1.1.2" @@ -7505,7 +7495,7 @@ strip-json-comments@3.1.1, strip-json-comments@^3.1.0, strip-json-comments@^3.1. resolved "https://npm.i12e.cha0s.io/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== -style-loader@^1.2.1: +style-loader@^1.3.0: version "1.3.0" resolved "https://npm.i12e.cha0s.io/style-loader/-/style-loader-1.3.0.tgz#828b4a3b3b7e7aa5847ce7bae9e874512114249e" integrity sha512-V7TCORko8rs9rIqkSrlMfkqA63DfoGBBJmK1kKGCcSi+BWb4cqz0SRsnp4l6rU5iwOEd0/2ePv68SV22VXon4Q== @@ -7864,7 +7854,7 @@ urix@^0.1.0: resolved "https://npm.i12e.cha0s.io/urix/-/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72" integrity sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI= -url-loader@^4.1.0: +url-loader@^4.1.1: version "4.1.1" resolved "https://npm.i12e.cha0s.io/url-loader/-/url-loader-4.1.1.tgz#28505e905cae158cf07c92ca622d7f237e70a4e2" integrity sha512-3BTV812+AVHHOJQO8O5MkWgZ5aosP7GnROJwvzLS9hWDj00lZ6Z0wNak423Lp9PBZN05N+Jk/N5Si8jRAlGyWA== @@ -7873,7 +7863,7 @@ url-loader@^4.1.0: mime-types "^2.1.27" schema-utils "^3.0.0" -url-parse@^1.4.3: +url-parse@^1.4.3, url-parse@^1.4.7: version "1.4.7" resolved "https://npm.i12e.cha0s.io/url-parse/-/url-parse-1.4.7.tgz#a8a83535e8c00a316e403a5db4ac1b9b853ae278" integrity sha512-d3uaVyzDB9tQoSXFvuSUNFibTd9zxd2bkVrDRvF5TmvWWQwqE4lgYJ5m+x1DbecWkw+LK4RNl2CU1hHuOKPVlg== @@ -8041,9 +8031,9 @@ webpack-dev-middleware@^4.0.2: schema-utils "^3.0.0" webpack-dev-server@^3.11.0: - version "3.11.0" - resolved "https://npm.i12e.cha0s.io/webpack-dev-server/-/webpack-dev-server-3.11.0.tgz#8f154a3bce1bcfd1cc618ef4e703278855e7ff8c" - integrity sha512-PUxZ+oSTxogFQgkTtFndEtJIPNmml7ExwufBZ9L2/Xyyd5PnOL5UreWe5ZT7IU25DSdykL9p1MLQzmLh2ljSeg== + version "3.11.1" + resolved "https://npm.i12e.cha0s.io/webpack-dev-server/-/webpack-dev-server-3.11.1.tgz#c74028bf5ba8885aaf230e48a20e8936ab8511f0" + integrity sha512-u4R3mRzZkbxQVa+MBWi2uVpB5W59H3ekZAJsQlKUTdl7Elcah2EhygTPLmeFXybQkf9i2+L0kn7ik9SnXa6ihQ== dependencies: ansi-html "0.0.7" bonjour "^3.5.0" @@ -8065,11 +8055,11 @@ webpack-dev-server@^3.11.0: p-retry "^3.0.1" portfinder "^1.0.26" schema-utils "^1.0.0" - selfsigned "^1.10.7" + selfsigned "^1.10.8" semver "^6.3.0" serve-index "^1.9.1" - sockjs "0.3.20" - sockjs-client "1.4.0" + sockjs "^0.3.21" + sockjs-client "^1.5.0" spdy "^4.0.2" strip-ansi "^3.0.1" supports-color "^6.1.0" @@ -8139,14 +8129,7 @@ webpack@^4: watchpack "^1.7.4" webpack-sources "^1.4.1" -websocket-driver@0.6.5: - version "0.6.5" - resolved "https://npm.i12e.cha0s.io/websocket-driver/-/websocket-driver-0.6.5.tgz#5cb2556ceb85f4373c6d8238aa691c8454e13a36" - integrity sha1-XLJVbOuF9Dc8bYI4qmkchFThOjY= - dependencies: - websocket-extensions ">=0.1.1" - -websocket-driver@>=0.5.1: +websocket-driver@>=0.5.1, websocket-driver@^0.7.4: version "0.7.4" resolved "https://npm.i12e.cha0s.io/websocket-driver/-/websocket-driver-0.7.4.tgz#89ad5295bbf64b480abcba31e4953aca706f5760" integrity sha512-b17KeDIQVjvb0ssuSDF2cYXSg2iztliJ4B9WdsuB6J952qCPKmnVq4DyW5motImXHDC1cBT/1UezrJVsKw5zjg== @@ -8225,9 +8208,9 @@ ws@^6.2.1: async-limiter "~1.0.0" ws@^7.1.2: - version "7.4.1" - resolved "https://npm.i12e.cha0s.io/ws/-/ws-7.4.1.tgz#a333be02696bd0e54cea0434e21dcc8a9ac294bb" - integrity sha512-pTsP8UAfhy3sk1lSk/O/s4tjD0CRwvMnzvwr4OKGX7ZvqZtUyx4KIJB5JWbkykPoc55tixMGgTNoh3k4FkNGFQ== + version "7.4.2" + resolved "https://npm.i12e.cha0s.io/ws/-/ws-7.4.2.tgz#782100048e54eb36fe9843363ab1c68672b261dd" + integrity sha512-T4tewALS3+qsrpGI/8dqNMLIVdq/g/85U98HPMa6F0m6xTbvhXU6RCQLqPH3+SlomNV/LdY6RXEbBpMH6EOJnA== ws@~6.1.0: version "6.1.4" @@ -8274,6 +8257,11 @@ yargs-parser@^19.0.4: resolved "https://npm.i12e.cha0s.io/yargs-parser/-/yargs-parser-19.0.4.tgz#99183a3a59268b205c6b04177f2a5bfb46e79ba7" integrity sha512-eXeQm7yXRjPFFyf1voPkZgXQZJjYfjgQUmGPbD2TLtZeIYzvacgWX7sQ5a1HsRgVP+pfKAkRZDNtTGev4h9vhw== +yargs-parser@^20.2.4: + version "20.2.4" + resolved "https://npm.i12e.cha0s.io/yargs-parser/-/yargs-parser-20.2.4.tgz#b42890f14566796f85ae8e3a25290d205f154a54" + integrity sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA== + yargs-unparser@2.0.0: version "2.0.0" resolved "https://npm.i12e.cha0s.io/yargs-unparser/-/yargs-unparser-2.0.0.tgz#f131f9226911ae5d9ad38c432fe809366c2325eb" diff --git a/packages/user/.gitignore b/packages/user/.gitignore index 2580db5..24da4ef 100644 --- a/packages/user/.gitignore +++ b/packages/user/.gitignore @@ -3,3 +3,4 @@ !/.* !/webpack.config.js !src/**/*.js +!/test/**/*.js diff --git a/packages/user/package.json b/packages/user/package.json index f424f3d..048d6e4 100644 --- a/packages/user/package.json +++ b/packages/user/package.json @@ -39,9 +39,9 @@ "passport-local": "^1.0.0" }, "devDependencies": { - "@latus/db": "^2.0.0", - "@latus/react": "^2.0.0", - "@latus/socket": "^2.0.0", + "@latus/db": "2.0.0", + "@latus/react": "2.0.0", + "@latus/socket": "2.0.0", "@neutrinojs/airbnb-base": "^9.4.0", "@neutrinojs/copy": "9.4.0", "@neutrinojs/mocha": "^9.4.0", @@ -55,8 +55,8 @@ "webpack-cli": "^3" }, "peerDependencies": { - "@latus/db": "^2.0.0", - "@latus/react": "^2.0.0", - "@latus/socket": "^2.0.0" + "@latus/db": "2.0.0", + "@latus/react": "2.0.0", + "@latus/socket": "2.0.0" } }