refactor: gatherWithLatus

This commit is contained in:
cha0s 2021-01-12 22:36:27 -06:00
parent 5e71c3cdd8
commit 924e2c3196
9 changed files with 113 additions and 110 deletions

View File

@ -1,16 +1,16 @@
import {resource} from '@avocado/resource';
import {gatherWithLatus} from '@latus/core';
import Entity from './entity';
import {EntityList} from './list';
import Packets from './packets';
import Traits from './traits';
export * from './list';
export {Entity};
export default {
hooks: {
'@avocado/traits': Traits,
'@avocado/traits': gatherWithLatus(require.context('./traits', false, /\.js$/)),
'@avocado/resource/resources': (latus) => ({
Entity: Entity(latus),
EntityList: EntityList(latus),

View File

@ -10,7 +10,7 @@ const decorate = compose(
}),
);
export default class Directional extends decorate(Trait) {
export default () => class Directional extends decorate(Trait) {
acceptPacket(packet) {
if ('TraitUpdateDirectionalDirection' === packet.constructor.type) {
@ -87,4 +87,4 @@ export default class Directional extends decorate(Trait) {
return undefined;
}
}
};

View File

@ -8,7 +8,7 @@ const decorate = compose(
StateProperty('isTicking'),
);
export default class Existent extends decorate(Trait) {
export default () => class Existent extends decorate(Trait) {
#isDestroying;
@ -107,4 +107,4 @@ export default class Existent extends decorate(Trait) {
};
}
}
};

View File

@ -1,19 +0,0 @@
import Alive from './alive';
import Directional from './directional';
import Existent from './existent';
import Listed from './listed';
import Mobile from './mobile';
import Perishable from './perishable';
import Positioned from './positioned';
import Spawner from './spawner';
export default (latus) => ({
Alive: Alive(latus),
Directional,
Existent,
Listed,
Mobile,
Perishable,
Positioned,
Spawner: Spawner(latus),
});

View File

@ -1,7 +1,7 @@
import {Rectangle} from '@avocado/math';
import {Trait} from '@avocado/traits';
export default class Listed extends Trait {
export default () => class Listed extends Trait {
#quadTreeAabb;
@ -122,4 +122,4 @@ export default class Listed extends Trait {
}
}
}
};

View File

@ -8,7 +8,7 @@ const decorate = compose(
StateProperty('speed'),
);
export default class Mobile extends decorate(Trait) {
export default () => class Mobile extends decorate(Trait) {
#appliedMovement;
@ -143,4 +143,4 @@ export default class Mobile extends decorate(Trait) {
this.#appliedMovement = [0, 0];
}
}
};

View File

@ -4,7 +4,7 @@ import {compose} from '@latus/core';
const decorate = compose(
);
export default class Perishable extends decorate(Trait) {
export default () => class Perishable extends decorate(Trait) {
#ttl;
@ -35,4 +35,4 @@ export default class Perishable extends decorate(Trait) {
}
}
}
};

View File

@ -13,7 +13,7 @@ const decorate = compose(
);
// < 16768 will pack into 1 short per axe and give +/- 0.25 precision.
export default class Positioned extends decorate(Trait) {
export default () => class Positioned extends decorate(Trait) {
constructor(...args) {
super(...args);
@ -146,4 +146,4 @@ export default class Positioned extends decorate(Trait) {
this.trackedPosition = Vector.add(this.trackedPosition, Vector.scale(diff, lerp));
}
}
};

View File

@ -4,8 +4,8 @@
"@avocado/behavior@2.0.0":
version "2.0.0"
resolved "https://npm.i12e.cha0s.io/@avocado%2fbehavior/-/behavior-2.0.0.tgz#61858d106655cd11af08e525f2c7c185b5c2cf8c"
integrity sha512-zBAJ+k/WqRZDK+2UzHhD2Fz80cry8T8el3fxPjNLFGlCrVNeK7RVDrgLF3Q/32YoKorTCzfTJYbFBNWaEuVOzw==
resolved "https://npm.i12e.cha0s.io/@avocado%2fbehavior/-/behavior-2.0.0.tgz#484d6c3ffd1fc62986b22edc727b19249e0c03f5"
integrity sha512-JqAdhyB9ozTGAroJUUo507MHhmR2zmMLO3tFV4mDYHtlIkWBQUk3gIEK+9WvvnpP57e6vYb8LBDC2xe5jOro+A==
dependencies:
"@avocado/core" "2.0.0"
"@avocado/traits" "^2.0.0"
@ -16,15 +16,15 @@
"@avocado/core@2.0.0", "@avocado/core@^2.0.0":
version "2.0.0"
resolved "https://npm.i12e.cha0s.io/@avocado%2fcore/-/core-2.0.0.tgz#7ff41d1e3cfc2d7b3f5cfbc271355ab157ffcd86"
integrity sha512-nGq7Qxwk08+yuLVwEmvS6AiHB8RsJfxRG7bkwLTnH2I4TakQ3A9IhWM0w4e6qNZUc+PlLefJTW2hZBln2XZ6mw==
resolved "https://npm.i12e.cha0s.io/@avocado%2fcore/-/core-2.0.0.tgz#26d548a708ebe174e1014e21996db7ca4efd1f7b"
integrity sha512-4T5veeYVxsBIMJqQYbaumYvViPLIShmtQW8qReLjuQCTt23cOG1IG4kcetKeOA5Gke3qrw4JNzakYEg2GqJoMQ==
dependencies:
debug "4.3.1"
"@avocado/graphics@2.0.0", "@avocado/graphics@^2.0.0":
version "2.0.0"
resolved "https://npm.i12e.cha0s.io/@avocado%2fgraphics/-/graphics-2.0.0.tgz#8868475e15dc9db4ce6d055cf23bf4ae5ed4c5ef"
integrity sha512-+OB0JnOjuaDKne2wkuiZhk3CAntoyC4QvW3FDQDPyyF/Eq1QqfjBRd6U06mqa3RoPPLJzsR+yWfEGyAwmEvTPA==
resolved "https://npm.i12e.cha0s.io/@avocado%2fgraphics/-/graphics-2.0.0.tgz#7255e1f8cb4fed7cca950047980f3e9e10261271"
integrity sha512-tPfbry7g2HxfMgxyXGeFeLXqXrW2l5X9hnzWbnQmTHhkrfXpK2d1O/OI1YA0D56SGM+Uvzuvfb3/HeSJ7OoTQA==
dependencies:
"@avocado/core" "2.0.0"
"@avocado/input" "2.0.0"
@ -47,8 +47,8 @@
"@avocado/input@2.0.0":
version "2.0.0"
resolved "https://npm.i12e.cha0s.io/@avocado%2finput/-/input-2.0.0.tgz#a0be9e1f6e40b32adfbf8d9718e20d27d38b3e73"
integrity sha512-F92kULGIMLqiXlfOeVCKTc/QAHURgTFUWhOfjJt1vOgkVxO522Q2v6BRCusgBuyvKRU1/qETGqJiwPeUvmDcGw==
resolved "https://npm.i12e.cha0s.io/@avocado%2finput/-/input-2.0.0.tgz#428f57bbeffef1b0ac76b7bce8d66a9d881e6b07"
integrity sha512-9u9X4spHV2piNm5xjUlIhAK13f4tlWsms2s6bdqRElngzVVbOzxmwMDBS7RFPW9QnOlzGZmlhozy+9nPZX4yEw==
dependencies:
"@latus/core" "2.0.0"
"@latus/socket" "2.0.0"
@ -56,8 +56,8 @@
"@avocado/math@2.0.0":
version "2.0.0"
resolved "https://npm.i12e.cha0s.io/@avocado%2fmath/-/math-2.0.0.tgz#82e4f1fbacbb69114fe6797e3852fb0a88a08e46"
integrity sha512-//Bi91LCJ92+VYkOBW6+K6UlvfJn6mblFy8JpJWmPOwUlmB3HCyovkOFmBNCPSlZXdKlLzxUnbnh8ugMCybdkA==
resolved "https://npm.i12e.cha0s.io/@avocado%2fmath/-/math-2.0.0.tgz#9150d00b973faa60bb3e9cc023dca892c1920b32"
integrity sha512-LKrgS6kS0SAKaZfS4i1zUU5/PbQs5GH9yKuwZot71D3AFwaWP2rlRdBdZn9+vpf2udMCBfuUFhS7oKzxUEigOQ==
dependencies:
"@avocado/core" "2.0.0"
"@latus/core" "^2.0.0"
@ -66,8 +66,8 @@
"@avocado/resource@2.0.0", "@avocado/resource@^2.0.0":
version "2.0.0"
resolved "https://npm.i12e.cha0s.io/@avocado%2fresource/-/resource-2.0.0.tgz#5934b929cffc9c8cfb7a3adb9c9d5aef8b33c60f"
integrity sha512-KYkAzc4GgimClZ1hnrxA2CtP7sNO7hKWjVv5wGG2uEDL8t7dNR9P1ulkDfqHpFcsQX7pYMRq6TTshx8YD7xrzQ==
resolved "https://npm.i12e.cha0s.io/@avocado%2fresource/-/resource-2.0.0.tgz#cf10ec82c7eb4b6e69c62ef8878e050b7bdc3977"
integrity sha512-g6DEXo9Mc81+7zg13t3CY6PFZLqr7/Xw9o1rYhr+nf8kKvX/iSf58lpOXTWSKFM7KB2C9u6kZZZjZgfAjD2w7w==
dependencies:
"@avocado/core" "2.0.0"
"@latus/core" "2.0.0"
@ -77,8 +77,8 @@
"@avocado/s13n@2.0.0", "@avocado/s13n@^2.0.0":
version "2.0.0"
resolved "https://npm.i12e.cha0s.io/@avocado%2fs13n/-/s13n-2.0.0.tgz#9dc153fc557c0c88e6e7775a325677eb66ea0987"
integrity sha512-m+ZWYcyrB8P6qQ4rNt7YhMt8ZXaHYQ0qDFwHKGq8CK9vNttPvkh0qODmDm3UxwXtH2/G5TXCXloXqVWdtbjiMg==
resolved "https://npm.i12e.cha0s.io/@avocado%2fs13n/-/s13n-2.0.0.tgz#61bbaf0ac4fa5940ec871e171f6c46c3f14e6569"
integrity sha512-wsOdmJcKvTMmOgsxeYG12PLYXxYsMDOo1i7+Ex67EmwGfqQlNSnF6bfxgjdDVW5D6nKzEU+UnHgtERYTxfiK8Q==
dependencies:
"@latus/core" "2.0.0"
"@latus/socket" "2.0.0"
@ -87,8 +87,8 @@
"@avocado/timing@2.0.0":
version "2.0.0"
resolved "https://npm.i12e.cha0s.io/@avocado%2ftiming/-/timing-2.0.0.tgz#38169da2e967b97a7ffb20db158c843b17e569d5"
integrity sha512-kMQBPMv2KeTg35tIUqEEzpouWnBoiJ0vInZqtnLTkOhdKCJPkc6NOJWl1U88KJrS/ibYvOaBK0B9xAxm49m9Pg==
resolved "https://npm.i12e.cha0s.io/@avocado%2ftiming/-/timing-2.0.0.tgz#91cb2a67d0d50cba53a51cf40028bcae098c2bae"
integrity sha512-NwEbsXTYb6mUCYWKG4JhsuFaEnumIWsuQcKllihVA3zz4l27APHC3ZZ81TNX/BeGHr5QZa1AXOpMD6JmKIkF1w==
dependencies:
"@avocado/core" "2.0.0"
"@avocado/graphics" "2.0.0"
@ -102,8 +102,8 @@
"@avocado/traits@^2.0.0":
version "2.0.0"
resolved "https://npm.i12e.cha0s.io/@avocado%2ftraits/-/traits-2.0.0.tgz#c97b1e80e89889ccb6c25b596d16a8b253296a88"
integrity sha512-Q5QI/qvzVZECnyHC2ho0/89vhs2MLron+fQc2ZGSWz/rcTxdwrCAGvBroTjeQsL2QsZ88lLGgd/7YOAGYfxL6A==
resolved "https://npm.i12e.cha0s.io/@avocado%2ftraits/-/traits-2.0.0.tgz#2e62ec9ea4f60ed4ddd1b29cbd427dab12b5b068"
integrity sha512-lumIEYCQvSjuYRxipfqcBwz3hRPRe0aZisSMiFP0cuoo15acRoADyiSSUSUCPVBoId6+IjICwGiRvvimqTzV8w==
dependencies:
"@avocado/core" "^2.0.0"
"@avocado/resource" "^2.0.0"
@ -1003,8 +1003,8 @@
"@latus/core@2.0.0", "@latus/core@^2.0.0":
version "2.0.0"
resolved "https://npm.i12e.cha0s.io/@latus%2fcore/-/core-2.0.0.tgz#f8a860fa8ef52368e25adbef28b9554e4e45bab4"
integrity sha512-rZGy5utsb22klB85SG72m2+bc92NzFMDvNbtDEVKqCtVN2DzPDUqDBcqfoFcyN6DMDtG3NhAMxw71dj0JLFZiA==
resolved "https://npm.i12e.cha0s.io/@latus%2fcore/-/core-2.0.0.tgz#2907182686e134893c140e96f743febbe0b1893f"
integrity sha512-YoqRv+H5cUbpDWs+pc7L/bHdTqxaMH05sOPGrZPgDe3akOmF93X1Wq/lECRYs88d4dgLc7s6MauGhHRu5C3EcQ==
dependencies:
debug "4.3.1"
js-yaml "3.14.0"
@ -1012,8 +1012,8 @@
"@latus/http@2.0.0":
version "2.0.0"
resolved "https://npm.i12e.cha0s.io/@latus%2fhttp/-/http-2.0.0.tgz#da9bed42d196b6864510b6cd0838cb16319c89c9"
integrity sha512-mnFpisdMvM44AqmPUCvSP8cgFSz2gCcB/9emietkFcAp22GmYZ//rqzjRzqDnr4NYseXfU0H3n60dIRPSBXOQQ==
resolved "https://npm.i12e.cha0s.io/@latus%2fhttp/-/http-2.0.0.tgz#5d389daa114968b100ffbe2b34323463cc2b761b"
integrity sha512-o0hqr/Mw5Ax8b0wbxQSbQo53PO2Hz4OBIHGzF/H8qypsw3W+vugC2Z7XWG9mDEmHUyXK7NP74Ral4bgjMFZcwQ==
dependencies:
"@latus/core" "2.0.0"
"@neutrinojs/web" "^9.1.0"
@ -1023,6 +1023,7 @@
memfs "3.2.0"
mocha "^8"
neutrino "9.4.0"
source-map-support "^0.5.19"
webpack "^4"
webpack-dev-middleware "^4.0.2"
webpack-dev-server "^3.11.0"
@ -1031,8 +1032,8 @@
"@latus/socket@2.0.0":
version "2.0.0"
resolved "https://npm.i12e.cha0s.io/@latus%2fsocket/-/socket-2.0.0.tgz#9183d1f349033a6ca76f8403fbd743163bb691e9"
integrity sha512-KuMofkVXMTvg5HJTQDq/1BZAoPk+VzpWZ2yAcj741luwOvS/fZeywyQc5WYwvc13LZdSQ8dim2JMOevTBqDAcA==
resolved "https://npm.i12e.cha0s.io/@latus%2fsocket/-/socket-2.0.0.tgz#93991b3bbbb33723210550d5c1ddc63ff3c98792"
integrity sha512-++chVOPPFF1/QJzQqjDOmEqNTM0Mx+Cfc3nQyQGvr+m9dNpq4PGl/MPEtOw4wj/OHJL23ajjTapqHndld6z8Ww==
dependencies:
"@latus/core" "2.0.0"
"@latus/http" "2.0.0"
@ -1357,9 +1358,9 @@
source-map "^0.7.3"
"@types/webpack@^4.4.31", "@types/webpack@^4.41.8":
version "4.41.25"
resolved "https://npm.i12e.cha0s.io/@types%2fwebpack/-/webpack-4.41.25.tgz#4d3b5aecc4e44117b376280fbfd2dc36697968c4"
integrity sha512-cr6kZ+4m9lp86ytQc1jPOJXgINQyz3kLLunZ57jznW+WIAL0JqZbGubQk4GlD42MuQL5JGOABrxdpqqWeovlVQ==
version "4.41.26"
resolved "https://npm.i12e.cha0s.io/@types%2fwebpack/-/webpack-4.41.26.tgz#27a30d7d531e16489f9c7607c747be6bc1a459ef"
integrity sha512-7ZyTfxjCRwexh+EJFwRUM+CDB2XvgHl4vfuqf1ZKrgGvcS5BrNvPQqJh3tsZ0P6h6Aa1qClVHaJZszLPzpqHeA==
dependencies:
"@types/anymatch" "*"
"@types/node" "*"
@ -1913,9 +1914,9 @@ binary-extensions@^1.0.0:
integrity sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==
binary-extensions@^2.0.0:
version "2.1.0"
resolved "https://npm.i12e.cha0s.io/binary-extensions/-/binary-extensions-2.1.0.tgz#30fa40c9e7fe07dbc895678cd287024dea241dd9"
integrity sha512-1Yj8h9Q+QDF5FzhMs/c9+6UntbD5MkRfRwac8DoEm9ZfUBZ7tZ55YcGVAzEe4bXsdQHEk+s9S5wsOKVdZrw0tQ==
version "2.2.0"
resolved "https://npm.i12e.cha0s.io/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d"
integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==
bindings@^1.5.0:
version "1.5.0"
@ -2080,15 +2081,15 @@ browserify-zlib@^0.2.0:
pako "~1.0.5"
browserslist@^4.14.5, browserslist@^4.16.0:
version "4.16.0"
resolved "https://npm.i12e.cha0s.io/browserslist/-/browserslist-4.16.0.tgz#410277627500be3cb28a1bfe037586fbedf9488b"
integrity sha512-/j6k8R0p3nxOC6kx5JGAxsnhc9ixaWJfYc+TNTzxg6+ARaESAvQGV7h0uNOB4t+pLQJZWzcrMxXOxjgsCj3dqQ==
version "4.16.1"
resolved "https://npm.i12e.cha0s.io/browserslist/-/browserslist-4.16.1.tgz#bf757a2da376b3447b800a16f0f1c96358138766"
integrity sha512-UXhDrwqsNcpTYJBTZsbGATDxZbiVDsx6UjpmRUmtnP10pr8wAYr5LgFoEFw9ixriQH2mv/NX2SfGzE/o8GndLA==
dependencies:
caniuse-lite "^1.0.30001165"
caniuse-lite "^1.0.30001173"
colorette "^1.2.1"
electron-to-chromium "^1.3.621"
electron-to-chromium "^1.3.634"
escalade "^3.1.1"
node-releases "^1.1.67"
node-releases "^1.1.69"
buffer-from@^1.0.0:
version "1.1.1"
@ -2174,12 +2175,12 @@ cache-base@^1.0.1:
unset-value "^1.0.0"
call-bind@^1.0.0:
version "1.0.0"
resolved "https://npm.i12e.cha0s.io/call-bind/-/call-bind-1.0.0.tgz#24127054bb3f9bdcb4b1fb82418186072f77b8ce"
integrity sha512-AEXsYIyyDY3MCzbwdhzG3Jx1R0J2wetQyUynn6dYHAO+bg8l1k7jwZtRv4ryryFs7EP+NDlikJlVe59jr0cM2w==
version "1.0.2"
resolved "https://npm.i12e.cha0s.io/call-bind/-/call-bind-1.0.2.tgz#b1d4e89e688119c3c9a903ad30abb2f6a919be3c"
integrity sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==
dependencies:
function-bind "^1.1.1"
get-intrinsic "^1.0.0"
get-intrinsic "^1.0.2"
callsite@1.0.0:
version "1.0.0"
@ -2217,10 +2218,10 @@ camelcase@^6.0.0:
resolved "https://npm.i12e.cha0s.io/camelcase/-/camelcase-6.2.0.tgz#924af881c9d525ac9d87f40d964e5cea982a1809"
integrity sha512-c7wVvbw3f37nuobQNtgsgG9POC9qMbNuMQmTCqZv23b6MIz0fcYpBiOlv9gEN/hdLdnZTDQhg6e9Dq5M1vKvfg==
caniuse-lite@^1.0.30001165:
version "1.0.30001173"
resolved "https://npm.i12e.cha0s.io/caniuse-lite/-/caniuse-lite-1.0.30001173.tgz#3c47bbe3cd6d7a9eda7f50ac016d158005569f56"
integrity sha512-R3aqmjrICdGCTAnSXtNyvWYMK3YtV5jwudbq0T7nN9k4kmE4CBuwPqyJ+KBzepSTh0huivV2gLbSMEzTTmfeYw==
caniuse-lite@^1.0.30001173:
version "1.0.30001174"
resolved "https://npm.i12e.cha0s.io/caniuse-lite/-/caniuse-lite-1.0.30001174.tgz#0f2aca2153fd88ceb07a2bb982fc2acb787623c4"
integrity sha512-tqClL/4ThQq6cfFXH3oJL4rifFBeM6gTkphjao5kgwMaW9yn0tKgQLAEfKzDwj6HQWCB/aWo8kTFlSvIN8geEA==
chai@4.2.0:
version "4.2.0"
@ -2256,7 +2257,7 @@ check-error@^1.0.2:
resolved "https://npm.i12e.cha0s.io/check-error/-/check-error-1.0.2.tgz#574d312edd88bb5dd8912e9286dd6c0aed4aac82"
integrity sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=
chokidar@3.4.3, chokidar@^3.4.1:
chokidar@3.4.3:
version "3.4.3"
resolved "https://npm.i12e.cha0s.io/chokidar/-/chokidar-3.4.3.tgz#c1df38231448e45ca4ac588e6c79573ba6a57d5b"
integrity sha512-DtM3g7juCXQxFVSNPNByEC2+NImtBuxQQvWlHunpJIS5Ocr0lG306cC7FCi7cEA0fzmybPUIl4txBIobk1gGOQ==
@ -2290,6 +2291,21 @@ chokidar@^2.1.8:
optionalDependencies:
fsevents "^1.2.7"
chokidar@^3.4.1:
version "3.5.0"
resolved "https://npm.i12e.cha0s.io/chokidar/-/chokidar-3.5.0.tgz#458a4816a415e9d3b3caa4faec2b96a6935a9e65"
integrity sha512-JgQM9JS92ZbFR4P90EvmzNpSGhpPBGBSj10PILeDyYFwp4h2/D9OM03wsJ4zW1fEp4ka2DGrnUeD7FuvQ2aZ2Q==
dependencies:
anymatch "~3.1.1"
braces "~3.0.2"
glob-parent "~5.1.0"
is-binary-path "~2.1.0"
is-glob "~4.0.1"
normalize-path "~3.0.0"
readdirp "~3.5.0"
optionalDependencies:
fsevents "~2.3.1"
chownr@^1.1.1:
version "1.1.4"
resolved "https://npm.i12e.cha0s.io/chownr/-/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b"
@ -2995,10 +3011,10 @@ ee-first@1.1.1:
resolved "https://npm.i12e.cha0s.io/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d"
integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=
electron-to-chromium@^1.3.621:
version "1.3.634"
resolved "https://npm.i12e.cha0s.io/electron-to-chromium/-/electron-to-chromium-1.3.634.tgz#82ea400f520f739c4f6ff00c1f7524827a917d25"
integrity sha512-QPrWNYeE/A0xRvl/QP3E0nkaEvYUvH3gM04ZWYtIa6QlSpEetRlRI1xvQ7hiMIySHHEV+mwDSX8Kj4YZY6ZQAw==
electron-to-chromium@^1.3.634:
version "1.3.637"
resolved "https://npm.i12e.cha0s.io/electron-to-chromium/-/electron-to-chromium-1.3.637.tgz#be46f77acc217cdecf633bbd25292f6a36cc689b"
integrity sha512-924WXYMYquYybc+7pNApGlhY2RWg3MY3he4BrZ5BUmM2n1MGBsrS+PZxrlo6UAsWuNl4NE66fqFdwsWkBUGgkA==
elliptic@^6.5.3:
version "6.5.3"
@ -3089,10 +3105,10 @@ enhanced-resolve@^0.9.1:
memory-fs "^0.2.0"
tapable "^0.1.8"
enhanced-resolve@^4.1.1, enhanced-resolve@^4.3.0:
version "4.3.0"
resolved "https://npm.i12e.cha0s.io/enhanced-resolve/-/enhanced-resolve-4.3.0.tgz#3b806f3bfafc1ec7de69551ef93cca46c1704126"
integrity sha512-3e87LvavsdxyoCfGusJnrZ5G8SLPOFeHSNpZI/ATL9a5leXo2k0w6MKnbqhdBad9qTobSfB20Ld7UmgoNbAZkQ==
enhanced-resolve@^4.1.1, enhanced-resolve@^4.5.0:
version "4.5.0"
resolved "https://npm.i12e.cha0s.io/enhanced-resolve/-/enhanced-resolve-4.5.0.tgz#2f3cfd84dbe3b487f18f2db2ef1e064a571ca5ec"
integrity sha512-Nv9m36S/vxpsI+Hc4/ZGRs0n9mXqSWGGq49zxb/cJfPAQMbUtttJAlNPS4AQzaBdw/pKskw5bMbekT/Y7W/Wlg==
dependencies:
graceful-fs "^4.1.2"
memory-fs "^0.5.0"
@ -3816,6 +3832,11 @@ fsevents@~2.1.2:
resolved "https://npm.i12e.cha0s.io/fsevents/-/fsevents-2.1.3.tgz#fb738703ae8d2f9fe900c33836ddebee8b97f23e"
integrity sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ==
fsevents@~2.3.1:
version "2.3.1"
resolved "https://npm.i12e.cha0s.io/fsevents/-/fsevents-2.3.1.tgz#b209ab14c61012636c8863507edf7fb68cc54e9f"
integrity sha512-YR47Eg4hChJGAB1O3yEAOkGO+rlzutoICGqGo9EZ4lKWokzZRSyIW1QmTzqjtw8MJdj9srP869CuWw/hyzSiBw==
function-bind@^1.1.1:
version "1.1.1"
resolved "https://npm.i12e.cha0s.io/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"
@ -3841,7 +3862,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.2:
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==
@ -5025,7 +5046,7 @@ mime-db@1.45.0, "mime-db@>= 1.43.0 < 2":
resolved "https://npm.i12e.cha0s.io/mime-db/-/mime-db-1.45.0.tgz#cceeda21ccd7c3a745eba2decd55d4b73e7879ea"
integrity sha512-CkqLUxUk15hofLoLyljJSrukZi8mAtgd+yE5uO4tqRZsdsAJKv0O+rFMhVDRJgozy+yG6md5KwuXhD4ocIoP+w==
mime-types@^2.1.27, mime-types@~2.1.17, mime-types@~2.1.24:
mime-types@^2.1.27, mime-types@^2.1.28, mime-types@~2.1.17, mime-types@~2.1.24:
version "2.1.28"
resolved "https://npm.i12e.cha0s.io/mime-types/-/mime-types-2.1.28.tgz#1160c4757eab2c5363888e005273ecf79d2a0ecd"
integrity sha512-0TO2yJ5YHYr7M2zzT7gDU1tbwHxEUWBCLt0lscSNpcdAfFyJOVEpRYNS7EXVcTLNj/25QO8gulHC5JtTzSE2UQ==
@ -5317,7 +5338,7 @@ node-modules-regexp@^1.0.0:
resolved "https://npm.i12e.cha0s.io/node-modules-regexp/-/node-modules-regexp-1.0.0.tgz#8d9dbe28964a4ac5712e9131642107c71e90ec40"
integrity sha1-jZ2+KJZKSsVxLpExZCEHxx6Q7EA=
node-releases@^1.1.67:
node-releases@^1.1.69:
version "1.1.69"
resolved "https://npm.i12e.cha0s.io/node-releases/-/node-releases-1.1.69.tgz#3149dbde53b781610cd8b486d62d86e26c3725f6"
integrity sha512-DGIjo79VDEyAnRlfSqYTsy+yoHd2IOjJiKUozD2MV2D85Vso6Bug56mb9tT/fY5Urt0iqk01H7x+llAruDR2zA==
@ -6243,9 +6264,9 @@ regjsgen@^0.5.1:
integrity sha512-OFFT3MfrH90xIW8OOSyUrk6QHD5E9JOTeGodiJeBS3J6IwlgzJMNE/1bZklWz5oTg+9dCMyEetclvCVXOPoN3A==
regjsparser@^0.6.4:
version "0.6.4"
resolved "https://npm.i12e.cha0s.io/regjsparser/-/regjsparser-0.6.4.tgz#a769f8684308401a66e9b529d2436ff4d0666272"
integrity sha512-64O87/dPDgfk8/RQqC4gkZoGyyWFIEUTTh80CU6CWuK5vkCGyekIx+oKcEIYtP/RAxSQltCZHCNu/mdd7fqlJw==
version "0.6.6"
resolved "https://npm.i12e.cha0s.io/regjsparser/-/regjsparser-0.6.6.tgz#6d8c939d1a654f78859b08ddcc4aa777f3fa800a"
integrity sha512-jjyuCp+IEMIm3N1H1LLTJW1EISEJV9+5oHdEyrt43Pg9cDSb6rrLZei2cVWpl0xTjmmlpec/lEQGYgM7xfpGCQ==
dependencies:
jsesc "~0.5.0"
@ -6667,9 +6688,9 @@ socket.io-client@2.3.0:
to-array "0.1.4"
socket.io-parser@~3.3.0:
version "3.3.1"
resolved "https://npm.i12e.cha0s.io/socket.io-parser/-/socket.io-parser-3.3.1.tgz#f07d9c8cb3fb92633aa93e76d98fd3a334623199"
integrity sha512-1QLvVAe8dTz+mKmZ07Swxt+LAo4Y1ff50rlyoEx00TQmDFVQYPfcqGvIDJLGaBdhdNCecXtyKpD+EgKGcmmbuQ==
version "3.3.2"
resolved "https://npm.i12e.cha0s.io/socket.io-parser/-/socket.io-parser-3.3.2.tgz#ef872009d0adcf704f2fbe830191a14752ad50b6"
integrity sha512-FJvDBuOALxdCI9qwRrO/Rfp9yfndRtc1jSgVgV8FDraihmSP/MLGD5PEuJrNfjALvcQ+vMDM/33AWOYP/JSjDg==
dependencies:
component-emitter "~1.3.0"
debug "~3.1.0"
@ -6740,7 +6761,7 @@ source-map-resolve@^0.5.0:
source-map-url "^0.4.0"
urix "^0.1.0"
source-map-support@0.5.19, source-map-support@^0.5.16, source-map-support@~0.5.12:
source-map-support@0.5.19, source-map-support@^0.5.16, source-map-support@^0.5.19, source-map-support@~0.5.12:
version "0.5.19"
resolved "https://npm.i12e.cha0s.io/source-map-support/-/source-map-support-0.5.19.tgz#a98b62f86dcaf4f67399648c085291ab9e8fed61"
integrity sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw==
@ -7169,9 +7190,9 @@ tslib@^1.9.0:
integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==
tslib@^2.0.3:
version "2.0.3"
resolved "https://npm.i12e.cha0s.io/tslib/-/tslib-2.0.3.tgz#8e0741ac45fc0c226e58a17bfc3e64b9bc6ca61c"
integrity sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==
version "2.1.0"
resolved "https://npm.i12e.cha0s.io/tslib/-/tslib-2.1.0.tgz#da60860f1c2ecaa5703ab7d39bc05b6bf988b97a"
integrity sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==
tty-browserify@0.0.0:
version "0.0.0"
@ -7297,9 +7318,9 @@ upper-case@^1.1.1:
integrity sha1-9rRQHC7EzdJrp4vnIilh3ndiFZg=
uri-js@^4.2.2:
version "4.4.0"
resolved "https://npm.i12e.cha0s.io/uri-js/-/uri-js-4.4.0.tgz#aa714261de793e8a82347a7bcc9ce74e86f28602"
integrity sha512-B0yRTzYdUCCn9n+F4+Gh4yIDtMQcaJsmYBDsTSG8g/OejKBodLQ2IHfN3bM7jUsRXndopT7OIXWdYqc1fjmV6g==
version "4.4.1"
resolved "https://npm.i12e.cha0s.io/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e"
integrity sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==
dependencies:
punycode "^2.1.0"
@ -7470,13 +7491,14 @@ webpack-dev-middleware@^3.7.2:
webpack-log "^2.0.0"
webpack-dev-middleware@^4.0.2:
version "4.0.2"
resolved "https://npm.i12e.cha0s.io/webpack-dev-middleware/-/webpack-dev-middleware-4.0.2.tgz#1436ae6cacee78475bd6bc1fbf063dfbfd6e577d"
integrity sha512-xyAICqIugWtT1RRH5aMMmZlPhDhEqPTDL0TWhmMZsuZ+cFlAvRxv4thCbuxdk9MW+OYK4c9BkfmgdQ1/7imkJA==
version "4.0.3"
resolved "https://npm.i12e.cha0s.io/webpack-dev-middleware/-/webpack-dev-middleware-4.0.3.tgz#71a846f825cf44999edd3a58a07d8cafae0c2283"
integrity sha512-mjZrPmR6b55A6nHZY6ylh+ncwK7PXbx7KJ4uU02ThXPFlpDj/PN8YlCl12uhe4OZU94lx1rjy9a4UH99IZbWQA==
dependencies:
colorette "^1.2.1"
mem "^8.0.0"
memfs "^3.2.0"
mime-types "^2.1.27"
mime-types "^2.1.28"
range-parser "^1.2.1"
schema-utils "^3.0.0"
@ -7556,9 +7578,9 @@ webpack-virtual-modules@^0.4.1:
integrity sha512-BH/RKOHk223WdBDLFqghztx3DF5AqR3CKg3ue1KN9S1SAaXP68Kj/4rF0lsdysxXaanzx7aWl1u0+lnfj7+OtQ==
webpack@^4:
version "4.44.2"
resolved "https://npm.i12e.cha0s.io/webpack/-/webpack-4.44.2.tgz#6bfe2b0af055c8b2d1e90ed2cd9363f841266b72"
integrity sha512-6KJVGlCxYdISyurpQ0IPTklv+DULv05rs2hseIXer6D7KrUicRDLFb4IUM1S6LUAKypPM/nSiVSuv8jHu1m3/Q==
version "4.46.0"
resolved "https://npm.i12e.cha0s.io/webpack/-/webpack-4.46.0.tgz#bf9b4404ea20a073605e0a011d188d77cb6ad542"
integrity sha512-6jJuJjg8znb/xRItk7bkT0+Q7AHCYjjFnvKIWQPkNIOyRqoCGvkOs0ipeQzrqz4l5FtN5ZI/ukEHroeX/o1/5Q==
dependencies:
"@webassemblyjs/ast" "1.9.0"
"@webassemblyjs/helper-module-context" "1.9.0"
@ -7568,7 +7590,7 @@ webpack@^4:
ajv "^6.10.2"
ajv-keywords "^3.4.1"
chrome-trace-event "^1.0.2"
enhanced-resolve "^4.3.0"
enhanced-resolve "^4.5.0"
eslint-scope "^4.0.3"
json-parse-better-errors "^1.0.2"
loader-runner "^2.4.0"