diff --git a/packages/db/yarn.lock b/packages/db/yarn.lock index 9f48e44..79999af 100644 --- a/packages/db/yarn.lock +++ b/packages/db/yarn.lock @@ -894,8 +894,8 @@ "@latus/core@2.0.0": version "2.0.0" - resolved "http://npm.cha0sdev/@latus%2fcore/-/core-2.0.0.tgz#1f001c8deead6c58e51a32aa4cedee7f26403a58" - integrity sha512-0Co6k1MZE5dBwwa8IMtl2Szk69KdvmMBvLQh45JLnGPhSodQ06+carStEn9r8dr+RvaDZpNRQohyxQFZV5ioJw== + resolved "http://npm.cha0sdev/@latus%2fcore/-/core-2.0.0.tgz#24e8313875563b729f32c7d98fb394b116f2adba" + integrity sha512-CKEb7xoyBXwZHlUmPWUU/egXuzpKkIZFVioKfnDTHNydDKaKG0TW0ugg6EX6Le81CFt9RovMALKJm2s4A7UiVQ== dependencies: debug "4.3.1" js-yaml "3.14.0" diff --git a/packages/governor/yarn.lock b/packages/governor/yarn.lock index b20a2dc..de6e912 100644 --- a/packages/governor/yarn.lock +++ b/packages/governor/yarn.lock @@ -903,8 +903,8 @@ "@latus/core@2.0.0": version "2.0.0" - resolved "http://npm.cha0sdev/@latus%2fcore/-/core-2.0.0.tgz#1f001c8deead6c58e51a32aa4cedee7f26403a58" - integrity sha512-0Co6k1MZE5dBwwa8IMtl2Szk69KdvmMBvLQh45JLnGPhSodQ06+carStEn9r8dr+RvaDZpNRQohyxQFZV5ioJw== + resolved "http://npm.cha0sdev/@latus%2fcore/-/core-2.0.0.tgz#24e8313875563b729f32c7d98fb394b116f2adba" + integrity sha512-CKEb7xoyBXwZHlUmPWUU/egXuzpKkIZFVioKfnDTHNydDKaKG0TW0ugg6EX6Le81CFt9RovMALKJm2s4A7UiVQ== dependencies: debug "4.3.1" js-yaml "3.14.0" @@ -915,8 +915,8 @@ "@latus/db@2.0.0": version "2.0.0" - resolved "http://npm.cha0sdev/@latus%2fdb/-/db-2.0.0.tgz#21bddda5c5b8427bf3a5249937c99dd8da3bbbf6" - integrity sha512-cOn4EOP1swprHBfHr/QWV1E9zS8BK77GEux8I3pJHprNNSOjxem/rk4RaMJdgLmHk7UZks7Obk7a3Y+TJ09E8A== + resolved "http://npm.cha0sdev/@latus%2fdb/-/db-2.0.0.tgz#1b8512131c639233916f8ccf3daa1454b9415e58" + integrity sha512-I5xb/wBHR3ISnY0awxpepBIU3cTgBp4VQEZxbAlsnN6IxEZbRLHNcpulG9P3QLyDOk/Ch48Iech2GDR5yd2DDg== dependencies: "@latus/core" "2.0.0" debug "4.3.1" @@ -926,8 +926,8 @@ "@latus/http@2.0.0": version "2.0.0" - resolved "http://npm.cha0sdev/@latus%2fhttp/-/http-2.0.0.tgz#887a144f8029291818ed85fbe1a6462a2e01740f" - integrity sha512-f0tlfVq5Yp0ioYS/cY24odm4N3jJaqeq/gNshppNKzYf+k9/HzM+8khGBbol+1/6OZLq3zVDoZqYNJRQUci3Rg== + resolved "http://npm.cha0sdev/@latus%2fhttp/-/http-2.0.0.tgz#3589fcb76a5e7a4763b45853d696289b3ce478b3" + integrity sha512-jWhJa93uLksNEEQhFKq36de5jHCKoQZBel57DIxaTk+jAIfzPO+kmWlTaq/wGCiCxlnHLjvTuMGOiDABVew4aQ== dependencies: "@latus/core" "2.0.0" "@neutrinojs/web" "^9.1.0" @@ -946,8 +946,8 @@ "@latus/react@2.0.0": version "2.0.0" - resolved "http://npm.cha0sdev/@latus%2freact/-/react-2.0.0.tgz#09f4699218a73c19ff0c7c299a6c48f053316512" - integrity sha512-HZN9THHkZSWUwDDh8S2k+FiLfrmRbT4eUTs+ZJsQuWCdS6NQpBoTp2kjGe5wG/h0HoHwFfh+tjs728BXZXlLNQ== + resolved "http://npm.cha0sdev/@latus%2freact/-/react-2.0.0.tgz#25fd38202ff83a5ceb9ab0574a45a255db96905a" + integrity sha512-Yy7x2BdDlNe7njxAZONx1fI2MhebnlLjZfT2mz9JkoGNfaFWdDCLdaouYn8WH5u7ihMeGcSCVTizFwr4rZj9UQ== dependencies: "@hot-loader/react-dom" "^17.0.1" "@neutrinojs/react" "^9.4.0" @@ -961,8 +961,8 @@ "@latus/redis@2.0.0": version "2.0.0" - resolved "http://npm.cha0sdev/@latus%2fredis/-/redis-2.0.0.tgz#a7abe8718d9481712bf987e387cbe8fbd6b5c7f0" - integrity sha512-QY+VirXt9EIKOYT+kqCJeb4dNxVNRuXxltQnUZlKjn+V2BNQEXPPB6jLIRzYZRByIFxqa6F79qrU2ax/T9aoUg== + resolved "http://npm.cha0sdev/@latus%2fredis/-/redis-2.0.0.tgz#32da38f30cc341f7cc8661e35a7f7037b312856a" + integrity sha512-EaPibUoGD4OmOmHbDwuBpMoOYPozJ9WsSqxUA0GSTBQT6XgG/OvAD6Z7nXFd38jZNh4+wJsMB/rznC6vxaTxWA== dependencies: connect-redis "^5.0.0" debug "4.3.1" @@ -973,8 +973,8 @@ "@latus/socket@2.0.0": version "2.0.0" - resolved "http://npm.cha0sdev/@latus%2fsocket/-/socket-2.0.0.tgz#8128b1244b3458ac0dfcd4d6d1256cd741b0e73e" - integrity sha512-bH6WZZ2C0FiIZEsJuJQk2M9iHBPzAZZ8gBKB3XYWl+pwb535bHLnoMCkbV3LZhMiguZnIjUt7mSYZAGybvOvNw== + resolved "http://npm.cha0sdev/@latus%2fsocket/-/socket-2.0.0.tgz#ba0d9cc2099474ba1dbba2b4e27e92a6fc271087" + integrity sha512-ZDOxbRwoiEO2E/QeS4GjO1950oVeH+i4Gw4ep6K/TPBbhkaiDrp8MpZyUxM6hDDEDf1Q6V1gAH+4FLPsUncdYw== dependencies: "@latus/core" "2.0.0" "@latus/http" "2.0.0" diff --git a/packages/http/package.json b/packages/http/package.json index b58ded7..f31b338 100644 --- a/packages/http/package.json +++ b/packages/http/package.json @@ -34,6 +34,9 @@ "memfs": "3.2.0", "mocha": "^8", "neutrino": "9.4.0", + "postcss-loader": "3.0.0", + "sass-loader": "^10.1.0", + "source-map-loader": "^1.1.3", "source-map-support": "^0.5.19", "webpack": "^4", "webpack-dev-middleware": "^4.0.2", diff --git a/packages/http/yarn.lock b/packages/http/yarn.lock index 9ad8ccd..eea7fb1 100644 --- a/packages/http/yarn.lock +++ b/packages/http/yarn.lock @@ -894,8 +894,8 @@ "@latus/core@2.0.0": version "2.0.0" - resolved "http://npm.cha0sdev/@latus%2fcore/-/core-2.0.0.tgz#1f001c8deead6c58e51a32aa4cedee7f26403a58" - integrity sha512-0Co6k1MZE5dBwwa8IMtl2Szk69KdvmMBvLQh45JLnGPhSodQ06+carStEn9r8dr+RvaDZpNRQohyxQFZV5ioJw== + resolved "http://npm.cha0sdev/@latus%2fcore/-/core-2.0.0.tgz#24e8313875563b729f32c7d98fb394b116f2adba" + integrity sha512-CKEb7xoyBXwZHlUmPWUU/egXuzpKkIZFVioKfnDTHNydDKaKG0TW0ugg6EX6Le81CFt9RovMALKJm2s4A7UiVQ== dependencies: debug "4.3.1" js-yaml "3.14.0" @@ -1269,6 +1269,11 @@ resolved "http://npm.cha0sdev/@xtuc%2flong/-/long-4.2.2.tgz#d291c6a4e97989b5c61d9acf396ae4fe133a718d" integrity sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ== +abab@^2.0.5: + version "2.0.5" + resolved "http://npm.cha0sdev/abab/-/abab-2.0.5.tgz#c0b678fb32d60fc1219c784d6a826fe385aeb79a" + integrity sha512-9IK9EadsbHo6jLWIpxpR6pL0sazTXV6+SQv25ZB+F7Bj9mJNaOc4nCRabwd5M/JwmUa8idz6Eci6eKfJryPs6Q== + accepts@~1.3.4, accepts@~1.3.5, accepts@~1.3.7: version "1.3.7" resolved "http://npm.cha0sdev/accepts/-/accepts-1.3.7.tgz#531bc726517a3b2b41f850021c6cc15eaab507cd" @@ -1872,6 +1877,25 @@ call-bind@^1.0.0: function-bind "^1.1.1" get-intrinsic "^1.0.2" +caller-callsite@^2.0.0: + version "2.0.0" + resolved "http://npm.cha0sdev/caller-callsite/-/caller-callsite-2.0.0.tgz#847e0fce0a223750a9a027c54b33731ad3154134" + integrity sha1-hH4PzgoiN1CpoCfFSzNzGtMVQTQ= + dependencies: + callsites "^2.0.0" + +caller-path@^2.0.0: + version "2.0.0" + resolved "http://npm.cha0sdev/caller-path/-/caller-path-2.0.0.tgz#468f83044e369ab2010fac5f06ceee15bb2cb1f4" + integrity sha1-Ro+DBE42mrIBD6xfBs7uFbsssfQ= + dependencies: + caller-callsite "^2.0.0" + +callsites@^2.0.0: + version "2.0.0" + resolved "http://npm.cha0sdev/callsites/-/callsites-2.0.0.tgz#06eb84f00eea413da86affefacbffb36093b3c50" + integrity sha1-BuuE8A7qQT2oav/vrL/7Ngk7PFA= + callsites@^3.0.0: version "3.1.0" resolved "http://npm.cha0sdev/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" @@ -2249,6 +2273,16 @@ core-util-is@~1.0.0: resolved "http://npm.cha0sdev/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" integrity sha1-tf1UIgqivFq1eqtxQMlAdUUDwac= +cosmiconfig@^5.0.0: + version "5.2.1" + resolved "http://npm.cha0sdev/cosmiconfig/-/cosmiconfig-5.2.1.tgz#040f726809c591e77a17c0a3626ca45b4f168b1a" + integrity sha512-H65gsXo1SKjf8zmrJ67eJk8aIRKV5ff2D4uKZIBZShbhGSpEmsQOPW/SKMKYhSTrqR7ufy6RP69rPogdaPh/kA== + dependencies: + import-fresh "^2.0.0" + is-directory "^0.3.1" + js-yaml "^3.13.1" + parse-json "^4.0.0" + create-ecdh@^4.0.0: version "4.0.4" resolved "http://npm.cha0sdev/create-ecdh/-/create-ecdh-4.0.4.tgz#d6e7f4bffa66736085a0762fd3a632684dabcc4e" @@ -2734,7 +2768,7 @@ errno@^0.1.3, errno@~0.1.7: dependencies: prr "~1.0.1" -error-ex@^1.2.0: +error-ex@^1.2.0, error-ex@^1.3.1: version "1.3.2" resolved "http://npm.cha0sdev/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== @@ -3830,6 +3864,13 @@ iconv-lite@0.4.24: dependencies: safer-buffer ">= 2.1.2 < 3" +iconv-lite@^0.6.2: + version "0.6.2" + resolved "http://npm.cha0sdev/iconv-lite/-/iconv-lite-0.6.2.tgz#ce13d1875b0c3a674bd6a04b7f76b01b1b6ded01" + integrity sha512-2y91h5OpQlolefMPmUlivelittSWy0rP+oYVpn6A7GwVHNE8AWzoYOBNmlwks3LobaJxgHCYZAnyNo2GgpNRNQ== + dependencies: + safer-buffer ">= 2.1.2 < 3.0.0" + icss-utils@^4.0.0, icss-utils@^4.1.1: version "4.1.1" resolved "http://npm.cha0sdev/icss-utils/-/icss-utils-4.1.1.tgz#21170b53789ee27447c2f47dd683081403f9a467" @@ -3857,6 +3898,21 @@ ignore@^4.0.6: resolved "http://npm.cha0sdev/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc" integrity sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg== +import-cwd@^2.0.0: + version "2.1.0" + resolved "http://npm.cha0sdev/import-cwd/-/import-cwd-2.1.0.tgz#aa6cf36e722761285cb371ec6519f53e2435b0a9" + integrity sha1-qmzzbnInYShcs3HsZRn1PiQ1sKk= + dependencies: + import-from "^2.1.0" + +import-fresh@^2.0.0: + version "2.0.0" + resolved "http://npm.cha0sdev/import-fresh/-/import-fresh-2.0.0.tgz#d81355c15612d386c61f9ddd3922d4304822a546" + integrity sha1-2BNVwVYS04bGH53dOSLUMEgipUY= + dependencies: + caller-path "^2.0.0" + resolve-from "^3.0.0" + import-fresh@^3.0.0, import-fresh@^3.2.1: version "3.3.0" resolved "http://npm.cha0sdev/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b" @@ -3865,6 +3921,13 @@ import-fresh@^3.0.0, import-fresh@^3.2.1: parent-module "^1.0.0" resolve-from "^4.0.0" +import-from@^2.1.0: + version "2.1.0" + resolved "http://npm.cha0sdev/import-from/-/import-from-2.1.0.tgz#335db7f2a7affd53aaa471d4b8021dee36b7f3b1" + integrity sha1-M1238qev/VOqpHHUuAId7ja387E= + dependencies: + resolve-from "^3.0.0" + import-local@^2.0.0: version "2.0.0" resolved "http://npm.cha0sdev/import-local/-/import-local-2.0.0.tgz#55070be38a5993cf18ef6db7e961f5bee5c5a09d" @@ -4052,6 +4115,11 @@ is-descriptor@^1.0.0, is-descriptor@^1.0.2: is-data-descriptor "^1.0.0" kind-of "^6.0.2" +is-directory@^0.3.1: + version "0.3.1" + resolved "http://npm.cha0sdev/is-directory/-/is-directory-0.3.1.tgz#61339b6f2475fc772fd9c9d83f5c8575dc154ae1" + integrity sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE= + is-extendable@^0.1.0, is-extendable@^0.1.1: version "0.1.1" resolved "http://npm.cha0sdev/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" @@ -4238,7 +4306,7 @@ jsesc@~0.5.0: resolved "http://npm.cha0sdev/jsesc/-/jsesc-0.5.0.tgz#e7dee66e35d6fc16f710fe91d5cf69f70f08911d" integrity sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0= -json-parse-better-errors@^1.0.2: +json-parse-better-errors@^1.0.1, json-parse-better-errors@^1.0.2: version "1.0.2" resolved "http://npm.cha0sdev/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9" integrity sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw== @@ -4321,6 +4389,11 @@ kind-of@^6.0.0, kind-of@^6.0.2: resolved "http://npm.cha0sdev/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd" integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw== +klona@^2.0.4: + version "2.0.4" + resolved "http://npm.cha0sdev/klona/-/klona-2.0.4.tgz#7bb1e3affb0cb8624547ef7e8f6708ea2e39dfc0" + integrity sha512-ZRbnvdg/NxqzC7L9Uyqzf4psi1OM4Cuc+sJAkQPjO6XkQIJTNbfK2Rsmbw8fx1p2mkZdp2FZYo2+LwXYY/uwIA== + levn@^0.4.1: version "0.4.1" resolved "http://npm.cha0sdev/levn/-/levn-0.4.1.tgz#ae4562c007473b932a6200d403268dd2fffc6ade" @@ -4796,7 +4869,7 @@ negotiator@0.6.2: resolved "http://npm.cha0sdev/negotiator/-/negotiator-0.6.2.tgz#feacf7ccf525a77ae9634436a64883ffeca346fb" integrity sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw== -neo-async@^2.5.0, neo-async@^2.6.1: +neo-async@^2.5.0, neo-async@^2.6.1, neo-async@^2.6.2: version "2.6.2" resolved "http://npm.cha0sdev/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f" integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw== @@ -5218,6 +5291,14 @@ parse-json@^2.2.0: dependencies: error-ex "^1.2.0" +parse-json@^4.0.0: + version "4.0.0" + resolved "http://npm.cha0sdev/parse-json/-/parse-json-4.0.0.tgz#be35f5425be1f7f6c747184f98a788cb99477ee0" + integrity sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA= + dependencies: + error-ex "^1.3.1" + json-parse-better-errors "^1.0.1" + parse-passwd@^1.0.0: version "1.0.0" resolved "http://npm.cha0sdev/parse-passwd/-/parse-passwd-1.0.0.tgz#6d5b934a456993b23d37f40a382d6f1666a8e5c6" @@ -5395,6 +5476,24 @@ posix-character-classes@^0.1.0: resolved "http://npm.cha0sdev/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab" integrity sha1-AerA/jta9xoqbAL+q7jB/vfgDqs= +postcss-load-config@^2.0.0: + version "2.1.2" + resolved "http://npm.cha0sdev/postcss-load-config/-/postcss-load-config-2.1.2.tgz#c5ea504f2c4aef33c7359a34de3573772ad7502a" + integrity sha512-/rDeGV6vMUo3mwJZmeHfEDvwnTKKqQ0S7OHUi/kJvvtx3aWtyWG2/0ZWnzCt2keEclwN6Tf0DST2v9kITdOKYw== + dependencies: + cosmiconfig "^5.0.0" + import-cwd "^2.0.0" + +postcss-loader@3.0.0: + version "3.0.0" + resolved "http://npm.cha0sdev/postcss-loader/-/postcss-loader-3.0.0.tgz#6b97943e47c72d845fa9e03f273773d4e8dd6c2d" + integrity sha512-cLWoDEY5OwHcAjDnkyRQzAXfs2jrKjXpO/HQFcc5b5u/r7aa471wdmChmwfnv7x2u840iat/wi0lQ5nbRgSkUA== + dependencies: + loader-utils "^1.1.0" + postcss "^7.0.0" + postcss-load-config "^2.0.0" + schema-utils "^1.0.0" + postcss-modules-extract-imports@^2.0.0: version "2.0.0" resolved "http://npm.cha0sdev/postcss-modules-extract-imports/-/postcss-modules-extract-imports-2.0.0.tgz#818719a1ae1da325f9832446b01136eeb493cd7e" @@ -5443,7 +5542,7 @@ postcss-value-parser@^4.1.0: resolved "http://npm.cha0sdev/postcss-value-parser/-/postcss-value-parser-4.1.0.tgz#443f6a20ced6481a2bda4fa8532a6e55d789a2cb" integrity sha512-97DXOFbQJhk71ne5/Mt6cOu6yxsSfM0QGQyl0L25Gca4yGWEGJaig7l7gbCX623VqTBNGLRLaVUCnNkcedlRSQ== -postcss@^7.0.14, postcss@^7.0.32, postcss@^7.0.5, postcss@^7.0.6: +postcss@^7.0.0, postcss@^7.0.14, postcss@^7.0.32, postcss@^7.0.5, postcss@^7.0.6: version "7.0.35" resolved "http://npm.cha0sdev/postcss/-/postcss-7.0.35.tgz#d2be00b998f7f211d8a276974079f2e92b970e24" integrity sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg== @@ -5911,11 +6010,22 @@ safe-regex@^1.1.0: dependencies: ret "~0.1.10" -"safer-buffer@>= 2.1.2 < 3", safer-buffer@^2.1.0: +"safer-buffer@>= 2.1.2 < 3", "safer-buffer@>= 2.1.2 < 3.0.0", safer-buffer@^2.1.0: version "2.1.2" resolved "http://npm.cha0sdev/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== +sass-loader@^10.1.0: + version "10.1.1" + resolved "http://npm.cha0sdev/sass-loader/-/sass-loader-10.1.1.tgz#4ddd5a3d7638e7949065dd6e9c7c04037f7e663d" + integrity sha512-W6gVDXAd5hR/WHsPicvZdjAWHBcEJ44UahgxcIE196fW2ong0ZHMPO1kZuI5q0VlvMQZh32gpv69PLWQm70qrw== + dependencies: + klona "^2.0.4" + loader-utils "^2.0.0" + neo-async "^2.6.2" + schema-utils "^3.0.0" + semver "^7.3.2" + schema-utils@^1.0.0: version "1.0.0" resolved "http://npm.cha0sdev/schema-utils/-/schema-utils-1.0.0.tgz#0b79a93204d7b600d4b2850d1f66c2a34951c770" @@ -6186,6 +6296,18 @@ source-list-map@^2.0.0: resolved "http://npm.cha0sdev/source-list-map/-/source-list-map-2.0.1.tgz#3993bd873bfc48479cca9ea3a547835c7c154b34" integrity sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw== +source-map-loader@^1.1.3: + version "1.1.3" + resolved "http://npm.cha0sdev/source-map-loader/-/source-map-loader-1.1.3.tgz#7dbc2fe7ea09d3e43c51fd9fc478b7f016c1f820" + integrity sha512-6YHeF+XzDOrT/ycFJNI53cgEsp/tHTMl37hi7uVyqFAlTXW109JazaQCkbc+jjoL2637qkH1amLi+JzrIpt5lA== + dependencies: + abab "^2.0.5" + iconv-lite "^0.6.2" + loader-utils "^2.0.0" + schema-utils "^3.0.0" + source-map "^0.6.1" + whatwg-mimetype "^2.3.0" + source-map-resolve@^0.5.0: version "0.5.3" resolved "http://npm.cha0sdev/source-map-resolve/-/source-map-resolve-0.5.3.tgz#190866bece7553e1f8f267a2ee82c606b5509a1a" @@ -7041,6 +7163,11 @@ websocket-extensions@>=0.1.1: resolved "http://npm.cha0sdev/websocket-extensions/-/websocket-extensions-0.1.4.tgz#7f8473bc839dfd87608adb95d7eb075211578a42" integrity sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg== +whatwg-mimetype@^2.3.0: + version "2.3.0" + resolved "http://npm.cha0sdev/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz#3d4b1e0312d2079879f826aff18dbeeca5960fbf" + integrity sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g== + which-module@^2.0.0: version "2.0.0" resolved "http://npm.cha0sdev/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a" diff --git a/packages/react/src/client.js b/packages/react/src/client.js index 912697f..7eb17b0 100644 --- a/packages/react/src/client.js +++ b/packages/react/src/client.js @@ -29,7 +29,7 @@ export default { ], children); return RootElements[0]; }; - return render(React.createElement(RootComponent), window.document.getElementById('root')); + render(React.createElement(RootComponent), window.document.getElementById('root')); }, }, }; diff --git a/packages/redux/yarn.lock b/packages/redux/yarn.lock index a4087a9..546c5a7 100644 --- a/packages/redux/yarn.lock +++ b/packages/redux/yarn.lock @@ -903,8 +903,8 @@ "@latus/core@2.0.0": version "2.0.0" - resolved "http://npm.cha0sdev/@latus%2fcore/-/core-2.0.0.tgz#1f001c8deead6c58e51a32aa4cedee7f26403a58" - integrity sha512-0Co6k1MZE5dBwwa8IMtl2Szk69KdvmMBvLQh45JLnGPhSodQ06+carStEn9r8dr+RvaDZpNRQohyxQFZV5ioJw== + resolved "http://npm.cha0sdev/@latus%2fcore/-/core-2.0.0.tgz#24e8313875563b729f32c7d98fb394b116f2adba" + integrity sha512-CKEb7xoyBXwZHlUmPWUU/egXuzpKkIZFVioKfnDTHNydDKaKG0TW0ugg6EX6Le81CFt9RovMALKJm2s4A7UiVQ== dependencies: debug "4.3.1" js-yaml "3.14.0" @@ -915,8 +915,8 @@ "@latus/http@2.0.0": version "2.0.0" - resolved "http://npm.cha0sdev/@latus%2fhttp/-/http-2.0.0.tgz#887a144f8029291818ed85fbe1a6462a2e01740f" - integrity sha512-f0tlfVq5Yp0ioYS/cY24odm4N3jJaqeq/gNshppNKzYf+k9/HzM+8khGBbol+1/6OZLq3zVDoZqYNJRQUci3Rg== + resolved "http://npm.cha0sdev/@latus%2fhttp/-/http-2.0.0.tgz#3589fcb76a5e7a4763b45853d696289b3ce478b3" + integrity sha512-jWhJa93uLksNEEQhFKq36de5jHCKoQZBel57DIxaTk+jAIfzPO+kmWlTaq/wGCiCxlnHLjvTuMGOiDABVew4aQ== dependencies: "@latus/core" "2.0.0" "@neutrinojs/web" "^9.1.0" @@ -935,8 +935,8 @@ "@latus/react@2.0.0": version "2.0.0" - resolved "http://npm.cha0sdev/@latus%2freact/-/react-2.0.0.tgz#09f4699218a73c19ff0c7c299a6c48f053316512" - integrity sha512-HZN9THHkZSWUwDDh8S2k+FiLfrmRbT4eUTs+ZJsQuWCdS6NQpBoTp2kjGe5wG/h0HoHwFfh+tjs728BXZXlLNQ== + resolved "http://npm.cha0sdev/@latus%2freact/-/react-2.0.0.tgz#25fd38202ff83a5ceb9ab0574a45a255db96905a" + integrity sha512-Yy7x2BdDlNe7njxAZONx1fI2MhebnlLjZfT2mz9JkoGNfaFWdDCLdaouYn8WH5u7ihMeGcSCVTizFwr4rZj9UQ== dependencies: "@hot-loader/react-dom" "^17.0.1" "@neutrinojs/react" "^9.4.0" @@ -950,8 +950,8 @@ "@latus/socket@^2.0.0": version "2.0.0" - resolved "http://npm.cha0sdev/@latus%2fsocket/-/socket-2.0.0.tgz#8128b1244b3458ac0dfcd4d6d1256cd741b0e73e" - integrity sha512-bH6WZZ2C0FiIZEsJuJQk2M9iHBPzAZZ8gBKB3XYWl+pwb535bHLnoMCkbV3LZhMiguZnIjUt7mSYZAGybvOvNw== + resolved "http://npm.cha0sdev/@latus%2fsocket/-/socket-2.0.0.tgz#ba0d9cc2099474ba1dbba2b4e27e92a6fc271087" + integrity sha512-ZDOxbRwoiEO2E/QeS4GjO1950oVeH+i4Gw4ep6K/TPBbhkaiDrp8MpZyUxM6hDDEDf1Q6V1gAH+4FLPsUncdYw== dependencies: "@latus/core" "2.0.0" "@latus/http" "2.0.0" diff --git a/packages/socket/src/client/index.js b/packages/socket/src/client/index.js index 4e5cec1..62ddf5a 100644 --- a/packages/socket/src/client/index.js +++ b/packages/socket/src/client/index.js @@ -1,8 +1,6 @@ import acceptor from '../packet/acceptor'; import SocketClient from './socket'; -export {socket} from './socket'; - export default { hooks: { '@latus/http/client/up': (latus) => { diff --git a/packages/socket/src/packet/acceptor.js b/packages/socket/src/packet/acceptor.js index d7d549b..cb85ac2 100644 --- a/packages/socket/src/packet/acceptor.js +++ b/packages/socket/src/packet/acceptor.js @@ -1,3 +1,7 @@ +import D from 'debug'; + +const debug = D('@latus/socket/acceptor'); + export default (socket) => async (packet, fn) => { const Packet = packet.constructor; try { @@ -9,6 +13,7 @@ export default (socket) => async (packet, fn) => { fn(error.payload); return; } + debug('acceptor error: %O', error); if (error instanceof Error) { fn({ code: error.code || 500, diff --git a/packages/socket/src/packet/bundle.js b/packages/socket/src/packet/bundle.js index 720f4e7..01ef302 100644 --- a/packages/socket/src/packet/bundle.js +++ b/packages/socket/src/packet/bundle.js @@ -6,7 +6,7 @@ export default (latus) => class BundlePacket extends Packet { static bundle(packets) { return this.pack({ - data: [this.id, packets], + data: [this.id, packets.map((packet) => normalize(latus, packet))], }); } diff --git a/packages/socket/src/packet/socket.io-parser.js b/packages/socket/src/packet/socket.io-parser.js index 31531b8..4add0bc 100644 --- a/packages/socket/src/packet/socket.io-parser.js +++ b/packages/socket/src/packet/socket.io-parser.js @@ -52,6 +52,8 @@ const Encoder = (latus) => class Encoder { JSON.stringify(packet.data[1], null, 2) }): ${ error.message + }: ${ + error.stack }`); // eslint-disable-next-line no-console console.error(next); diff --git a/packages/socket/yarn.lock b/packages/socket/yarn.lock index a759fe0..cfdb3f9 100644 --- a/packages/socket/yarn.lock +++ b/packages/socket/yarn.lock @@ -903,8 +903,8 @@ "@latus/core@2.0.0": version "2.0.0" - resolved "http://npm.cha0sdev/@latus%2fcore/-/core-2.0.0.tgz#1f001c8deead6c58e51a32aa4cedee7f26403a58" - integrity sha512-0Co6k1MZE5dBwwa8IMtl2Szk69KdvmMBvLQh45JLnGPhSodQ06+carStEn9r8dr+RvaDZpNRQohyxQFZV5ioJw== + resolved "http://npm.cha0sdev/@latus%2fcore/-/core-2.0.0.tgz#24e8313875563b729f32c7d98fb394b116f2adba" + integrity sha512-CKEb7xoyBXwZHlUmPWUU/egXuzpKkIZFVioKfnDTHNydDKaKG0TW0ugg6EX6Le81CFt9RovMALKJm2s4A7UiVQ== dependencies: debug "4.3.1" js-yaml "3.14.0" @@ -915,8 +915,8 @@ "@latus/http@2.0.0": version "2.0.0" - resolved "http://npm.cha0sdev/@latus%2fhttp/-/http-2.0.0.tgz#887a144f8029291818ed85fbe1a6462a2e01740f" - integrity sha512-f0tlfVq5Yp0ioYS/cY24odm4N3jJaqeq/gNshppNKzYf+k9/HzM+8khGBbol+1/6OZLq3zVDoZqYNJRQUci3Rg== + resolved "http://npm.cha0sdev/@latus%2fhttp/-/http-2.0.0.tgz#3589fcb76a5e7a4763b45853d696289b3ce478b3" + integrity sha512-jWhJa93uLksNEEQhFKq36de5jHCKoQZBel57DIxaTk+jAIfzPO+kmWlTaq/wGCiCxlnHLjvTuMGOiDABVew4aQ== dependencies: "@latus/core" "2.0.0" "@neutrinojs/web" "^9.1.0" @@ -935,8 +935,8 @@ "@latus/react@2.0.0": version "2.0.0" - resolved "http://npm.cha0sdev/@latus%2freact/-/react-2.0.0.tgz#09f4699218a73c19ff0c7c299a6c48f053316512" - integrity sha512-HZN9THHkZSWUwDDh8S2k+FiLfrmRbT4eUTs+ZJsQuWCdS6NQpBoTp2kjGe5wG/h0HoHwFfh+tjs728BXZXlLNQ== + resolved "http://npm.cha0sdev/@latus%2freact/-/react-2.0.0.tgz#25fd38202ff83a5ceb9ab0574a45a255db96905a" + integrity sha512-Yy7x2BdDlNe7njxAZONx1fI2MhebnlLjZfT2mz9JkoGNfaFWdDCLdaouYn8WH5u7ihMeGcSCVTizFwr4rZj9UQ== dependencies: "@hot-loader/react-dom" "^17.0.1" "@neutrinojs/react" "^9.4.0" diff --git a/packages/user/yarn.lock b/packages/user/yarn.lock index b626caf..b16673d 100644 --- a/packages/user/yarn.lock +++ b/packages/user/yarn.lock @@ -903,8 +903,8 @@ "@latus/core@2.0.0": version "2.0.0" - resolved "http://npm.cha0sdev/@latus%2fcore/-/core-2.0.0.tgz#1f001c8deead6c58e51a32aa4cedee7f26403a58" - integrity sha512-0Co6k1MZE5dBwwa8IMtl2Szk69KdvmMBvLQh45JLnGPhSodQ06+carStEn9r8dr+RvaDZpNRQohyxQFZV5ioJw== + resolved "http://npm.cha0sdev/@latus%2fcore/-/core-2.0.0.tgz#24e8313875563b729f32c7d98fb394b116f2adba" + integrity sha512-CKEb7xoyBXwZHlUmPWUU/egXuzpKkIZFVioKfnDTHNydDKaKG0TW0ugg6EX6Le81CFt9RovMALKJm2s4A7UiVQ== dependencies: debug "4.3.1" js-yaml "3.14.0" @@ -915,8 +915,8 @@ "@latus/db@2.0.0": version "2.0.0" - resolved "http://npm.cha0sdev/@latus%2fdb/-/db-2.0.0.tgz#21bddda5c5b8427bf3a5249937c99dd8da3bbbf6" - integrity sha512-cOn4EOP1swprHBfHr/QWV1E9zS8BK77GEux8I3pJHprNNSOjxem/rk4RaMJdgLmHk7UZks7Obk7a3Y+TJ09E8A== + resolved "http://npm.cha0sdev/@latus%2fdb/-/db-2.0.0.tgz#1b8512131c639233916f8ccf3daa1454b9415e58" + integrity sha512-I5xb/wBHR3ISnY0awxpepBIU3cTgBp4VQEZxbAlsnN6IxEZbRLHNcpulG9P3QLyDOk/Ch48Iech2GDR5yd2DDg== dependencies: "@latus/core" "2.0.0" debug "4.3.1" @@ -926,8 +926,8 @@ "@latus/http@2.0.0": version "2.0.0" - resolved "http://npm.cha0sdev/@latus%2fhttp/-/http-2.0.0.tgz#887a144f8029291818ed85fbe1a6462a2e01740f" - integrity sha512-f0tlfVq5Yp0ioYS/cY24odm4N3jJaqeq/gNshppNKzYf+k9/HzM+8khGBbol+1/6OZLq3zVDoZqYNJRQUci3Rg== + resolved "http://npm.cha0sdev/@latus%2fhttp/-/http-2.0.0.tgz#3589fcb76a5e7a4763b45853d696289b3ce478b3" + integrity sha512-jWhJa93uLksNEEQhFKq36de5jHCKoQZBel57DIxaTk+jAIfzPO+kmWlTaq/wGCiCxlnHLjvTuMGOiDABVew4aQ== dependencies: "@latus/core" "2.0.0" "@neutrinojs/web" "^9.1.0" @@ -946,8 +946,8 @@ "@latus/react@2.0.0": version "2.0.0" - resolved "http://npm.cha0sdev/@latus%2freact/-/react-2.0.0.tgz#09f4699218a73c19ff0c7c299a6c48f053316512" - integrity sha512-HZN9THHkZSWUwDDh8S2k+FiLfrmRbT4eUTs+ZJsQuWCdS6NQpBoTp2kjGe5wG/h0HoHwFfh+tjs728BXZXlLNQ== + resolved "http://npm.cha0sdev/@latus%2freact/-/react-2.0.0.tgz#25fd38202ff83a5ceb9ab0574a45a255db96905a" + integrity sha512-Yy7x2BdDlNe7njxAZONx1fI2MhebnlLjZfT2mz9JkoGNfaFWdDCLdaouYn8WH5u7ihMeGcSCVTizFwr4rZj9UQ== dependencies: "@hot-loader/react-dom" "^17.0.1" "@neutrinojs/react" "^9.4.0" @@ -961,8 +961,8 @@ "@latus/socket@2.0.0": version "2.0.0" - resolved "http://npm.cha0sdev/@latus%2fsocket/-/socket-2.0.0.tgz#8128b1244b3458ac0dfcd4d6d1256cd741b0e73e" - integrity sha512-bH6WZZ2C0FiIZEsJuJQk2M9iHBPzAZZ8gBKB3XYWl+pwb535bHLnoMCkbV3LZhMiguZnIjUt7mSYZAGybvOvNw== + resolved "http://npm.cha0sdev/@latus%2fsocket/-/socket-2.0.0.tgz#ba0d9cc2099474ba1dbba2b4e27e92a6fc271087" + integrity sha512-ZDOxbRwoiEO2E/QeS4GjO1950oVeH+i4Gw4ep6K/TPBbhkaiDrp8MpZyUxM6hDDEDf1Q6V1gAH+4FLPsUncdYw== dependencies: "@latus/core" "2.0.0" "@latus/http" "2.0.0"