Index: trip-planner-front/node_modules/socket.io/dist/index.js
===================================================================
--- trip-planner-front/node_modules/socket.io/dist/index.js	(revision 571e0df9a7a5e798c9941a85842f785177bedbbd)
+++ trip-planner-front/node_modules/socket.io/dist/index.js	(revision 6a3a178323fd905112b5392bd9d3cb83b66ef2d3)
@@ -30,5 +30,5 @@
 const stream_1 = require("stream");
 const path = require("path");
-const engine_io_1 = require("engine.io");
+const engine = require("engine.io");
 const client_1 = require("./client");
 const events_1 = require("events");
@@ -41,10 +41,8 @@
 const socket_1 = require("./socket");
 Object.defineProperty(exports, "Socket", { enumerable: true, get: function () { return socket_1.Socket; } });
-const typed_events_1 = require("./typed-events");
-const uws_js_1 = require("./uws.js");
-const debug = (0, debug_1.default)("socket.io:server");
+const debug = debug_1.default("socket.io:server");
 const clientVersion = require("../package.json").version;
 const dotMapRegex = /\.map/;
-class Server extends typed_events_1.StrictEventEmitter {
+class Server extends events_1.EventEmitter {
     constructor(srv, opts = {}) {
         super();
@@ -68,5 +66,5 @@
         this.sockets = this.of("/");
         this.opts = opts;
-        if (srv || typeof srv == "number")
+        if (srv)
             this.attach(srv);
     }
@@ -97,16 +95,9 @@
             nextFn.value(name, auth, (err, allow) => {
                 if (err || !allow) {
-                    return run();
+                    run();
                 }
-                if (this._nsps.has(name)) {
-                    // the namespace was created in the meantime
-                    debug("dynamic namespace %s already exists", name);
-                    return fn(this._nsps.get(name));
+                else {
+                    fn(this.parentNsps.get(nextFn.value).createChild(name));
                 }
-                const namespace = this.parentNsps.get(nextFn.value).createChild(name);
-                debug("dynamic namespace %s was created", name);
-                // @ts-ignore
-                this.sockets.emitReserved("new_namespace", namespace);
-                fn(namespace);
             });
         };
@@ -120,5 +111,5 @@
         this.clientPathRegex = new RegExp("^" +
             escapedPath +
-            "/socket\\.io(\\.msgpack|\\.esm)?(\\.min)?\\.js(\\.map)?(?:\\?|$)");
+            "/socket\\.io(\\.min|\\.msgpack\\.min)?\\.js(\\.map)?$");
         return this;
     }
@@ -183,52 +174,4 @@
         return this;
     }
-    attachApp(app /*: TemplatedApp */, opts = {}) {
-        // merge the options passed to the Socket.IO server
-        Object.assign(opts, this.opts);
-        // set engine.io path to `/socket.io`
-        opts.path = opts.path || this._path;
-        // initialize engine
-        debug("creating uWebSockets.js-based engine with opts %j", opts);
-        const engine = new engine_io_1.uServer(opts);
-        engine.attach(app, opts);
-        // bind to engine events
-        this.bind(engine);
-        if (this._serveClient) {
-            // attach static file serving
-            app.get(`${this._path}/*`, (res, req) => {
-                if (!this.clientPathRegex.test(req.getUrl())) {
-                    req.setYield(true);
-                    return;
-                }
-                const filename = req
-                    .getUrl()
-                    .replace(this._path, "")
-                    .replace(/\?.*$/, "")
-                    .replace(/^\//, "");
-                const isMap = dotMapRegex.test(filename);
-                const type = isMap ? "map" : "source";
-                // Per the standard, ETags must be quoted:
-                // https://tools.ietf.org/html/rfc7232#section-2.3
-                const expectedEtag = '"' + clientVersion + '"';
-                const weakEtag = "W/" + expectedEtag;
-                const etag = req.getHeader("if-none-match");
-                if (etag) {
-                    if (expectedEtag === etag || weakEtag === etag) {
-                        debug("serve client %s 304", type);
-                        res.writeStatus("304 Not Modified");
-                        res.end();
-                        return;
-                    }
-                }
-                debug("serve client %s", type);
-                res.writeHeader("cache-control", "public, max-age=0");
-                res.writeHeader("content-type", "application/" + (isMap ? "json" : "javascript"));
-                res.writeHeader("etag", expectedEtag);
-                const filepath = path.join(__dirname, "../client-dist/", filename);
-                (0, uws_js_1.serveFile)(res, filepath);
-            });
-        }
-        (0, uws_js_1.patchAdapter)(app);
-    }
     /**
      * Initialize engine
@@ -241,5 +184,5 @@
         // initialize engine
         debug("creating engine.io instance with opts %j", opts);
-        this.eio = (0, engine_io_1.attach)(srv, opts);
+        this.eio = engine.attach(srv, opts);
         // attach static file serving
         if (this._serveClient)
@@ -279,5 +222,5 @@
      */
     serve(req, res) {
-        const filename = req.url.replace(this._path, "").replace(/\?.*$/, "");
+        const filename = req.url.replace(this._path, "");
         const isMap = dotMapRegex.test(filename);
         const type = isMap ? "map" : "source";
@@ -299,4 +242,7 @@
         res.setHeader("Content-Type", "application/" + (isMap ? "json" : "javascript"));
         res.setHeader("ETag", expectedEtag);
+        if (!isMap) {
+            res.setHeader("X-SourceMap", filename.substring(1) + ".map");
+        }
         Server.sendFile(filename, req, res);
     }
@@ -308,5 +254,5 @@
      */
     static sendFile(filename, req, res) {
-        const readStream = (0, fs_1.createReadStream)(path.join(__dirname, "../client-dist/", filename));
+        const readStream = fs_1.createReadStream(path.join(__dirname, "../client-dist/", filename));
         const encoding = accepts(req).encodings(["br", "gzip", "deflate"]);
         const onError = (err) => {
@@ -318,18 +264,18 @@
             case "br":
                 res.writeHead(200, { "content-encoding": "br" });
-                readStream.pipe((0, zlib_1.createBrotliCompress)()).pipe(res);
-                (0, stream_1.pipeline)(readStream, (0, zlib_1.createBrotliCompress)(), res, onError);
+                readStream.pipe(zlib_1.createBrotliCompress()).pipe(res);
+                stream_1.pipeline(readStream, zlib_1.createBrotliCompress(), res, onError);
                 break;
             case "gzip":
                 res.writeHead(200, { "content-encoding": "gzip" });
-                (0, stream_1.pipeline)(readStream, (0, zlib_1.createGzip)(), res, onError);
+                stream_1.pipeline(readStream, zlib_1.createGzip(), res, onError);
                 break;
             case "deflate":
                 res.writeHead(200, { "content-encoding": "deflate" });
-                (0, stream_1.pipeline)(readStream, (0, zlib_1.createDeflate)(), res, onError);
+                stream_1.pipeline(readStream, zlib_1.createDeflate(), res, onError);
                 break;
             default:
                 res.writeHead(200);
-                (0, stream_1.pipeline)(readStream, res, onError);
+                stream_1.pipeline(readStream, res, onError);
         }
     }
@@ -392,8 +338,4 @@
             nsp = new namespace_1.Namespace(this, name);
             this._nsps.set(name, nsp);
-            if (name !== "/") {
-                // @ts-ignore
-                this.sockets.emitReserved("new_namespace", nsp);
-            }
         }
         if (fn)
@@ -412,6 +354,4 @@
         }
         this.engine.close();
-        // restore the Adapter prototype
-        (0, uws_js_1.restoreAdapter)();
         if (this.httpServer) {
             this.httpServer.close(fn);
@@ -434,30 +374,22 @@
      * Targets a room when emitting.
      *
-     * @param room
-     * @return self
-     * @public
-     */
-    to(room) {
-        return this.sockets.to(room);
+     * @param name
+     * @return self
+     * @public
+     */
+    to(name) {
+        this.sockets.to(name);
+        return this;
     }
     /**
      * Targets a room when emitting.
      *
-     * @param room
-     * @return self
-     * @public
-     */
-    in(room) {
-        return this.sockets.in(room);
-    }
-    /**
-     * Excludes a room when emitting.
-     *
      * @param name
      * @return self
      * @public
      */
-    except(name) {
-        return this.sockets.except(name);
+    in(name) {
+        this.sockets.in(name);
+        return this;
     }
     /**
@@ -482,14 +414,4 @@
     }
     /**
-     * Emit a packet to other Socket.IO servers
-     *
-     * @param ev - the event name
-     * @param args - an array of arguments, which may include an acknowledgement callback at the end
-     * @public
-     */
-    serverSideEmit(ev, ...args) {
-        return this.sockets.serverSideEmit(ev, ...args);
-    }
-    /**
      * Gets a list of socket ids.
      *
@@ -507,5 +429,6 @@
      */
     compress(compress) {
-        return this.sockets.compress(compress);
+        this.sockets.compress(compress);
+        return this;
     }
     /**
@@ -518,5 +441,6 @@
      */
     get volatile() {
-        return this.sockets.volatile;
+        this.sockets.volatile;
+        return this;
     }
     /**
@@ -527,40 +451,6 @@
      */
     get local() {
-        return this.sockets.local;
-    }
-    /**
-     * Returns the matching socket instances
-     *
-     * @public
-     */
-    fetchSockets() {
-        return this.sockets.fetchSockets();
-    }
-    /**
-     * Makes the matching socket instances join the specified rooms
-     *
-     * @param room
-     * @public
-     */
-    socketsJoin(room) {
-        return this.sockets.socketsJoin(room);
-    }
-    /**
-     * Makes the matching socket instances leave the specified rooms
-     *
-     * @param room
-     * @public
-     */
-    socketsLeave(room) {
-        return this.sockets.socketsLeave(room);
-    }
-    /**
-     * Makes the matching socket instances disconnect
-     *
-     * @param close - whether to close the underlying connection
-     * @public
-     */
-    disconnectSockets(close = false) {
-        return this.sockets.disconnectSockets(close);
+        this.sockets.local;
+        return this;
     }
 }
@@ -579,4 +469,2 @@
 module.exports = (srv, opts) => new Server(srv, opts);
 module.exports.Server = Server;
-module.exports.Namespace = namespace_1.Namespace;
-module.exports.Socket = socket_1.Socket;
