Index: trip-planner-front/node_modules/engine.io-parser/CHANGELOG.md
===================================================================
--- trip-planner-front/node_modules/engine.io-parser/CHANGELOG.md	(revision 59329aad30ff25ec5095bb7ffb78ddb59b7dc111)
+++ trip-planner-front/node_modules/engine.io-parser/CHANGELOG.md	(revision 76712b2bf7daeb245c9ca388ce322e0b98098d99)
@@ -1,2 +1,27 @@
+## [5.0.2](https://github.com/socketio/engine.io-parser/compare/5.0.1...5.0.2) (2021-11-14)
+
+
+### Bug Fixes
+
+* add package name in nested package.json ([7e27159](https://github.com/socketio/engine.io-parser/commit/7e271596c3305fb4e4a9fbdcc7fd442e8ff71200))
+* fix vite build for CommonJS users ([5f22ed0](https://github.com/socketio/engine.io-parser/commit/5f22ed0527cc80aa0cac415dfd12db2f94f0a855))
+
+
+
+## [5.0.1](https://github.com/socketio/engine.io-parser/compare/5.0.0...5.0.1) (2021-10-15)
+
+
+### Bug Fixes
+
+* fix vite build ([900346e](https://github.com/socketio/engine.io-parser/commit/900346ea34ddc178d80eaabc8ea516d929457855))
+
+
+
+# [5.0.0](https://github.com/socketio/engine.io-parser/compare/4.0.3...5.0.0) (2021-10-04)
+
+This release includes the migration to TypeScript. The major bump is due to the new "exports" field in the package.json file.
+
+See also: https://nodejs.org/api/packages.html#packages_package_entry_points
+
 ## [4.0.3](https://github.com/socketio/engine.io-parser/compare/4.0.2...4.0.3) (2021-08-29)
 
Index: trip-planner-front/node_modules/engine.io-parser/build/cjs/commons.js
===================================================================
--- trip-planner-front/node_modules/engine.io-parser/build/cjs/commons.js	(revision 76712b2bf7daeb245c9ca388ce322e0b98098d99)
+++ trip-planner-front/node_modules/engine.io-parser/build/cjs/commons.js	(revision 76712b2bf7daeb245c9ca388ce322e0b98098d99)
@@ -0,0 +1,19 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.ERROR_PACKET = exports.PACKET_TYPES_REVERSE = exports.PACKET_TYPES = void 0;
+const PACKET_TYPES = Object.create(null); // no Map = no polyfill
+exports.PACKET_TYPES = PACKET_TYPES;
+PACKET_TYPES["open"] = "0";
+PACKET_TYPES["close"] = "1";
+PACKET_TYPES["ping"] = "2";
+PACKET_TYPES["pong"] = "3";
+PACKET_TYPES["message"] = "4";
+PACKET_TYPES["upgrade"] = "5";
+PACKET_TYPES["noop"] = "6";
+const PACKET_TYPES_REVERSE = Object.create(null);
+exports.PACKET_TYPES_REVERSE = PACKET_TYPES_REVERSE;
+Object.keys(PACKET_TYPES).forEach(key => {
+    PACKET_TYPES_REVERSE[PACKET_TYPES[key]] = key;
+});
+const ERROR_PACKET = { type: "error", data: "parser error" };
+exports.ERROR_PACKET = ERROR_PACKET;
Index: trip-planner-front/node_modules/engine.io-parser/build/cjs/decodePacket.browser.js
===================================================================
--- trip-planner-front/node_modules/engine.io-parser/build/cjs/decodePacket.browser.js	(revision 76712b2bf7daeb245c9ca388ce322e0b98098d99)
+++ trip-planner-front/node_modules/engine.io-parser/build/cjs/decodePacket.browser.js	(revision 76712b2bf7daeb245c9ca388ce322e0b98098d99)
@@ -0,0 +1,51 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+const commons_js_1 = require("./commons.js");
+const base64_arraybuffer_1 = require("base64-arraybuffer");
+const withNativeArrayBuffer = typeof ArrayBuffer === "function";
+const decodePacket = (encodedPacket, binaryType) => {
+    if (typeof encodedPacket !== "string") {
+        return {
+            type: "message",
+            data: mapBinary(encodedPacket, binaryType)
+        };
+    }
+    const type = encodedPacket.charAt(0);
+    if (type === "b") {
+        return {
+            type: "message",
+            data: decodeBase64Packet(encodedPacket.substring(1), binaryType)
+        };
+    }
+    const packetType = commons_js_1.PACKET_TYPES_REVERSE[type];
+    if (!packetType) {
+        return commons_js_1.ERROR_PACKET;
+    }
+    return encodedPacket.length > 1
+        ? {
+            type: commons_js_1.PACKET_TYPES_REVERSE[type],
+            data: encodedPacket.substring(1)
+        }
+        : {
+            type: commons_js_1.PACKET_TYPES_REVERSE[type]
+        };
+};
+const decodeBase64Packet = (data, binaryType) => {
+    if (withNativeArrayBuffer) {
+        const decoded = (0, base64_arraybuffer_1.decode)(data);
+        return mapBinary(decoded, binaryType);
+    }
+    else {
+        return { base64: true, data }; // fallback for old browsers
+    }
+};
+const mapBinary = (data, binaryType) => {
+    switch (binaryType) {
+        case "blob":
+            return data instanceof ArrayBuffer ? new Blob([data]) : data;
+        case "arraybuffer":
+        default:
+            return data; // assuming the data is already an ArrayBuffer
+    }
+};
+exports.default = decodePacket;
Index: trip-planner-front/node_modules/engine.io-parser/build/cjs/decodePacket.js
===================================================================
--- trip-planner-front/node_modules/engine.io-parser/build/cjs/decodePacket.js	(revision 76712b2bf7daeb245c9ca388ce322e0b98098d99)
+++ trip-planner-front/node_modules/engine.io-parser/build/cjs/decodePacket.js	(revision 76712b2bf7daeb245c9ca388ce322e0b98098d99)
@@ -0,0 +1,49 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+const commons_js_1 = require("./commons.js");
+const decodePacket = (encodedPacket, binaryType) => {
+    if (typeof encodedPacket !== "string") {
+        return {
+            type: "message",
+            data: mapBinary(encodedPacket, binaryType)
+        };
+    }
+    const type = encodedPacket.charAt(0);
+    if (type === "b") {
+        const buffer = Buffer.from(encodedPacket.substring(1), "base64");
+        return {
+            type: "message",
+            data: mapBinary(buffer, binaryType)
+        };
+    }
+    if (!commons_js_1.PACKET_TYPES_REVERSE[type]) {
+        return commons_js_1.ERROR_PACKET;
+    }
+    return encodedPacket.length > 1
+        ? {
+            type: commons_js_1.PACKET_TYPES_REVERSE[type],
+            data: encodedPacket.substring(1)
+        }
+        : {
+            type: commons_js_1.PACKET_TYPES_REVERSE[type]
+        };
+};
+const mapBinary = (data, binaryType) => {
+    const isBuffer = Buffer.isBuffer(data);
+    switch (binaryType) {
+        case "arraybuffer":
+            return isBuffer ? toArrayBuffer(data) : data;
+        case "nodebuffer":
+        default:
+            return data; // assuming the data is already a Buffer
+    }
+};
+const toArrayBuffer = buffer => {
+    const arrayBuffer = new ArrayBuffer(buffer.length);
+    const view = new Uint8Array(arrayBuffer);
+    for (let i = 0; i < buffer.length; i++) {
+        view[i] = buffer[i];
+    }
+    return arrayBuffer;
+};
+exports.default = decodePacket;
Index: trip-planner-front/node_modules/engine.io-parser/build/cjs/encodePacket.browser.js
===================================================================
--- trip-planner-front/node_modules/engine.io-parser/build/cjs/encodePacket.browser.js	(revision 76712b2bf7daeb245c9ca388ce322e0b98098d99)
+++ trip-planner-front/node_modules/engine.io-parser/build/cjs/encodePacket.browser.js	(revision 76712b2bf7daeb245c9ca388ce322e0b98098d99)
@@ -0,0 +1,43 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+const commons_js_1 = require("./commons.js");
+const withNativeBlob = typeof Blob === "function" ||
+    (typeof Blob !== "undefined" &&
+        Object.prototype.toString.call(Blob) === "[object BlobConstructor]");
+const withNativeArrayBuffer = typeof ArrayBuffer === "function";
+// ArrayBuffer.isView method is not defined in IE10
+const isView = obj => {
+    return typeof ArrayBuffer.isView === "function"
+        ? ArrayBuffer.isView(obj)
+        : obj && obj.buffer instanceof ArrayBuffer;
+};
+const encodePacket = ({ type, data }, supportsBinary, callback) => {
+    if (withNativeBlob && data instanceof Blob) {
+        if (supportsBinary) {
+            return callback(data);
+        }
+        else {
+            return encodeBlobAsBase64(data, callback);
+        }
+    }
+    else if (withNativeArrayBuffer &&
+        (data instanceof ArrayBuffer || isView(data))) {
+        if (supportsBinary) {
+            return callback(data);
+        }
+        else {
+            return encodeBlobAsBase64(new Blob([data]), callback);
+        }
+    }
+    // plain string
+    return callback(commons_js_1.PACKET_TYPES[type] + (data || ""));
+};
+const encodeBlobAsBase64 = (data, callback) => {
+    const fileReader = new FileReader();
+    fileReader.onload = function () {
+        const content = fileReader.result.split(",")[1];
+        callback("b" + content);
+    };
+    return fileReader.readAsDataURL(data);
+};
+exports.default = encodePacket;
Index: trip-planner-front/node_modules/engine.io-parser/build/cjs/encodePacket.js
===================================================================
--- trip-planner-front/node_modules/engine.io-parser/build/cjs/encodePacket.js	(revision 76712b2bf7daeb245c9ca388ce322e0b98098d99)
+++ trip-planner-front/node_modules/engine.io-parser/build/cjs/encodePacket.js	(revision 76712b2bf7daeb245c9ca388ce322e0b98098d99)
@@ -0,0 +1,27 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+const commons_js_1 = require("./commons.js");
+const encodePacket = ({ type, data }, supportsBinary, callback) => {
+    if (data instanceof ArrayBuffer || ArrayBuffer.isView(data)) {
+        const buffer = toBuffer(data);
+        return callback(encodeBuffer(buffer, supportsBinary));
+    }
+    // plain string
+    return callback(commons_js_1.PACKET_TYPES[type] + (data || ""));
+};
+const toBuffer = data => {
+    if (Buffer.isBuffer(data)) {
+        return data;
+    }
+    else if (data instanceof ArrayBuffer) {
+        return Buffer.from(data);
+    }
+    else {
+        return Buffer.from(data.buffer, data.byteOffset, data.byteLength);
+    }
+};
+// only 'message' packets can contain binary, so the type prefix is not needed
+const encodeBuffer = (data, supportsBinary) => {
+    return supportsBinary ? data : "b" + data.toString("base64");
+};
+exports.default = encodePacket;
Index: trip-planner-front/node_modules/engine.io-parser/build/cjs/index.js
===================================================================
--- trip-planner-front/node_modules/engine.io-parser/build/cjs/index.js	(revision 76712b2bf7daeb245c9ca388ce322e0b98098d99)
+++ trip-planner-front/node_modules/engine.io-parser/build/cjs/index.js	(revision 76712b2bf7daeb245c9ca388ce322e0b98098d99)
@@ -0,0 +1,38 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.decodePayload = exports.decodePacket = exports.encodePayload = exports.encodePacket = exports.protocol = void 0;
+const encodePacket_js_1 = require("./encodePacket.js");
+exports.encodePacket = encodePacket_js_1.default;
+const decodePacket_js_1 = require("./decodePacket.js");
+exports.decodePacket = decodePacket_js_1.default;
+const SEPARATOR = String.fromCharCode(30); // see https://en.wikipedia.org/wiki/Delimiter#ASCII_delimited_text
+const encodePayload = (packets, callback) => {
+    // some packets may be added to the array while encoding, so the initial length must be saved
+    const length = packets.length;
+    const encodedPackets = new Array(length);
+    let count = 0;
+    packets.forEach((packet, i) => {
+        // force base64 encoding for binary packets
+        (0, encodePacket_js_1.default)(packet, false, encodedPacket => {
+            encodedPackets[i] = encodedPacket;
+            if (++count === length) {
+                callback(encodedPackets.join(SEPARATOR));
+            }
+        });
+    });
+};
+exports.encodePayload = encodePayload;
+const decodePayload = (encodedPayload, binaryType) => {
+    const encodedPackets = encodedPayload.split(SEPARATOR);
+    const packets = [];
+    for (let i = 0; i < encodedPackets.length; i++) {
+        const decodedPacket = (0, decodePacket_js_1.default)(encodedPackets[i], binaryType);
+        packets.push(decodedPacket);
+        if (decodedPacket.type === "error") {
+            break;
+        }
+    }
+    return packets;
+};
+exports.decodePayload = decodePayload;
+exports.protocol = 4;
Index: trip-planner-front/node_modules/engine.io-parser/build/cjs/package.json
===================================================================
--- trip-planner-front/node_modules/engine.io-parser/build/cjs/package.json	(revision 76712b2bf7daeb245c9ca388ce322e0b98098d99)
+++ trip-planner-front/node_modules/engine.io-parser/build/cjs/package.json	(revision 76712b2bf7daeb245c9ca388ce322e0b98098d99)
@@ -0,0 +1,8 @@
+{
+  "name": "engine.io-parser",
+  "type": "commonjs",
+  "browser": {
+    "./encodePacket.js": "./encodePacket.browser.js",
+    "./decodePacket.js": "./decodePacket.browser.js"
+  }
+}
Index: trip-planner-front/node_modules/engine.io-parser/build/esm/commons.d.ts
===================================================================
--- trip-planner-front/node_modules/engine.io-parser/build/esm/commons.d.ts	(revision 76712b2bf7daeb245c9ca388ce322e0b98098d99)
+++ trip-planner-front/node_modules/engine.io-parser/build/esm/commons.d.ts	(revision 76712b2bf7daeb245c9ca388ce322e0b98098d99)
@@ -0,0 +1,7 @@
+declare const PACKET_TYPES: any;
+declare const PACKET_TYPES_REVERSE: any;
+declare const ERROR_PACKET: {
+    type: string;
+    data: string;
+};
+export { PACKET_TYPES, PACKET_TYPES_REVERSE, ERROR_PACKET };
Index: trip-planner-front/node_modules/engine.io-parser/build/esm/commons.js
===================================================================
--- trip-planner-front/node_modules/engine.io-parser/build/esm/commons.js	(revision 76712b2bf7daeb245c9ca388ce322e0b98098d99)
+++ trip-planner-front/node_modules/engine.io-parser/build/esm/commons.js	(revision 76712b2bf7daeb245c9ca388ce322e0b98098d99)
@@ -0,0 +1,14 @@
+const PACKET_TYPES = Object.create(null); // no Map = no polyfill
+PACKET_TYPES["open"] = "0";
+PACKET_TYPES["close"] = "1";
+PACKET_TYPES["ping"] = "2";
+PACKET_TYPES["pong"] = "3";
+PACKET_TYPES["message"] = "4";
+PACKET_TYPES["upgrade"] = "5";
+PACKET_TYPES["noop"] = "6";
+const PACKET_TYPES_REVERSE = Object.create(null);
+Object.keys(PACKET_TYPES).forEach(key => {
+    PACKET_TYPES_REVERSE[PACKET_TYPES[key]] = key;
+});
+const ERROR_PACKET = { type: "error", data: "parser error" };
+export { PACKET_TYPES, PACKET_TYPES_REVERSE, ERROR_PACKET };
Index: trip-planner-front/node_modules/engine.io-parser/build/esm/decodePacket.browser.d.ts
===================================================================
--- trip-planner-front/node_modules/engine.io-parser/build/esm/decodePacket.browser.d.ts	(revision 76712b2bf7daeb245c9ca388ce322e0b98098d99)
+++ trip-planner-front/node_modules/engine.io-parser/build/esm/decodePacket.browser.d.ts	(revision 76712b2bf7daeb245c9ca388ce322e0b98098d99)
@@ -0,0 +1,11 @@
+declare const decodePacket: (encodedPacket: any, binaryType: any) => {
+    type: string;
+    data: any;
+} | {
+    type: any;
+    data: string;
+} | {
+    type: any;
+    data?: undefined;
+};
+export default decodePacket;
Index: trip-planner-front/node_modules/engine.io-parser/build/esm/decodePacket.browser.js
===================================================================
--- trip-planner-front/node_modules/engine.io-parser/build/esm/decodePacket.browser.js	(revision 76712b2bf7daeb245c9ca388ce322e0b98098d99)
+++ trip-planner-front/node_modules/engine.io-parser/build/esm/decodePacket.browser.js	(revision 76712b2bf7daeb245c9ca388ce322e0b98098d99)
@@ -0,0 +1,49 @@
+import { ERROR_PACKET, PACKET_TYPES_REVERSE } from "./commons.js";
+import { decode } from "base64-arraybuffer";
+const withNativeArrayBuffer = typeof ArrayBuffer === "function";
+const decodePacket = (encodedPacket, binaryType) => {
+    if (typeof encodedPacket !== "string") {
+        return {
+            type: "message",
+            data: mapBinary(encodedPacket, binaryType)
+        };
+    }
+    const type = encodedPacket.charAt(0);
+    if (type === "b") {
+        return {
+            type: "message",
+            data: decodeBase64Packet(encodedPacket.substring(1), binaryType)
+        };
+    }
+    const packetType = PACKET_TYPES_REVERSE[type];
+    if (!packetType) {
+        return ERROR_PACKET;
+    }
+    return encodedPacket.length > 1
+        ? {
+            type: PACKET_TYPES_REVERSE[type],
+            data: encodedPacket.substring(1)
+        }
+        : {
+            type: PACKET_TYPES_REVERSE[type]
+        };
+};
+const decodeBase64Packet = (data, binaryType) => {
+    if (withNativeArrayBuffer) {
+        const decoded = decode(data);
+        return mapBinary(decoded, binaryType);
+    }
+    else {
+        return { base64: true, data }; // fallback for old browsers
+    }
+};
+const mapBinary = (data, binaryType) => {
+    switch (binaryType) {
+        case "blob":
+            return data instanceof ArrayBuffer ? new Blob([data]) : data;
+        case "arraybuffer":
+        default:
+            return data; // assuming the data is already an ArrayBuffer
+    }
+};
+export default decodePacket;
Index: trip-planner-front/node_modules/engine.io-parser/build/esm/decodePacket.d.ts
===================================================================
--- trip-planner-front/node_modules/engine.io-parser/build/esm/decodePacket.d.ts	(revision 76712b2bf7daeb245c9ca388ce322e0b98098d99)
+++ trip-planner-front/node_modules/engine.io-parser/build/esm/decodePacket.d.ts	(revision 76712b2bf7daeb245c9ca388ce322e0b98098d99)
@@ -0,0 +1,11 @@
+declare const decodePacket: (encodedPacket: any, binaryType?: any) => {
+    type: string;
+    data: any;
+} | {
+    type: any;
+    data: string;
+} | {
+    type: any;
+    data?: undefined;
+};
+export default decodePacket;
Index: trip-planner-front/node_modules/engine.io-parser/build/esm/decodePacket.js
===================================================================
--- trip-planner-front/node_modules/engine.io-parser/build/esm/decodePacket.js	(revision 76712b2bf7daeb245c9ca388ce322e0b98098d99)
+++ trip-planner-front/node_modules/engine.io-parser/build/esm/decodePacket.js	(revision 76712b2bf7daeb245c9ca388ce322e0b98098d99)
@@ -0,0 +1,47 @@
+import { ERROR_PACKET, PACKET_TYPES_REVERSE } from "./commons.js";
+const decodePacket = (encodedPacket, binaryType) => {
+    if (typeof encodedPacket !== "string") {
+        return {
+            type: "message",
+            data: mapBinary(encodedPacket, binaryType)
+        };
+    }
+    const type = encodedPacket.charAt(0);
+    if (type === "b") {
+        const buffer = Buffer.from(encodedPacket.substring(1), "base64");
+        return {
+            type: "message",
+            data: mapBinary(buffer, binaryType)
+        };
+    }
+    if (!PACKET_TYPES_REVERSE[type]) {
+        return ERROR_PACKET;
+    }
+    return encodedPacket.length > 1
+        ? {
+            type: PACKET_TYPES_REVERSE[type],
+            data: encodedPacket.substring(1)
+        }
+        : {
+            type: PACKET_TYPES_REVERSE[type]
+        };
+};
+const mapBinary = (data, binaryType) => {
+    const isBuffer = Buffer.isBuffer(data);
+    switch (binaryType) {
+        case "arraybuffer":
+            return isBuffer ? toArrayBuffer(data) : data;
+        case "nodebuffer":
+        default:
+            return data; // assuming the data is already a Buffer
+    }
+};
+const toArrayBuffer = buffer => {
+    const arrayBuffer = new ArrayBuffer(buffer.length);
+    const view = new Uint8Array(arrayBuffer);
+    for (let i = 0; i < buffer.length; i++) {
+        view[i] = buffer[i];
+    }
+    return arrayBuffer;
+};
+export default decodePacket;
Index: trip-planner-front/node_modules/engine.io-parser/build/esm/encodePacket.browser.d.ts
===================================================================
--- trip-planner-front/node_modules/engine.io-parser/build/esm/encodePacket.browser.d.ts	(revision 76712b2bf7daeb245c9ca388ce322e0b98098d99)
+++ trip-planner-front/node_modules/engine.io-parser/build/esm/encodePacket.browser.d.ts	(revision 76712b2bf7daeb245c9ca388ce322e0b98098d99)
@@ -0,0 +1,5 @@
+declare const encodePacket: ({ type, data }: {
+    type: any;
+    data: any;
+}, supportsBinary: any, callback: any) => any;
+export default encodePacket;
Index: trip-planner-front/node_modules/engine.io-parser/build/esm/encodePacket.browser.js
===================================================================
--- trip-planner-front/node_modules/engine.io-parser/build/esm/encodePacket.browser.js	(revision 76712b2bf7daeb245c9ca388ce322e0b98098d99)
+++ trip-planner-front/node_modules/engine.io-parser/build/esm/encodePacket.browser.js	(revision 76712b2bf7daeb245c9ca388ce322e0b98098d99)
@@ -0,0 +1,41 @@
+import { PACKET_TYPES } from "./commons.js";
+const withNativeBlob = typeof Blob === "function" ||
+    (typeof Blob !== "undefined" &&
+        Object.prototype.toString.call(Blob) === "[object BlobConstructor]");
+const withNativeArrayBuffer = typeof ArrayBuffer === "function";
+// ArrayBuffer.isView method is not defined in IE10
+const isView = obj => {
+    return typeof ArrayBuffer.isView === "function"
+        ? ArrayBuffer.isView(obj)
+        : obj && obj.buffer instanceof ArrayBuffer;
+};
+const encodePacket = ({ type, data }, supportsBinary, callback) => {
+    if (withNativeBlob && data instanceof Blob) {
+        if (supportsBinary) {
+            return callback(data);
+        }
+        else {
+            return encodeBlobAsBase64(data, callback);
+        }
+    }
+    else if (withNativeArrayBuffer &&
+        (data instanceof ArrayBuffer || isView(data))) {
+        if (supportsBinary) {
+            return callback(data);
+        }
+        else {
+            return encodeBlobAsBase64(new Blob([data]), callback);
+        }
+    }
+    // plain string
+    return callback(PACKET_TYPES[type] + (data || ""));
+};
+const encodeBlobAsBase64 = (data, callback) => {
+    const fileReader = new FileReader();
+    fileReader.onload = function () {
+        const content = fileReader.result.split(",")[1];
+        callback("b" + content);
+    };
+    return fileReader.readAsDataURL(data);
+};
+export default encodePacket;
Index: trip-planner-front/node_modules/engine.io-parser/build/esm/encodePacket.d.ts
===================================================================
--- trip-planner-front/node_modules/engine.io-parser/build/esm/encodePacket.d.ts	(revision 76712b2bf7daeb245c9ca388ce322e0b98098d99)
+++ trip-planner-front/node_modules/engine.io-parser/build/esm/encodePacket.d.ts	(revision 76712b2bf7daeb245c9ca388ce322e0b98098d99)
@@ -0,0 +1,5 @@
+declare const encodePacket: ({ type, data }: {
+    type: any;
+    data: any;
+}, supportsBinary: any, callback: any) => any;
+export default encodePacket;
Index: trip-planner-front/node_modules/engine.io-parser/build/esm/encodePacket.js
===================================================================
--- trip-planner-front/node_modules/engine.io-parser/build/esm/encodePacket.js	(revision 76712b2bf7daeb245c9ca388ce322e0b98098d99)
+++ trip-planner-front/node_modules/engine.io-parser/build/esm/encodePacket.js	(revision 76712b2bf7daeb245c9ca388ce322e0b98098d99)
@@ -0,0 +1,25 @@
+import { PACKET_TYPES } from "./commons.js";
+const encodePacket = ({ type, data }, supportsBinary, callback) => {
+    if (data instanceof ArrayBuffer || ArrayBuffer.isView(data)) {
+        const buffer = toBuffer(data);
+        return callback(encodeBuffer(buffer, supportsBinary));
+    }
+    // plain string
+    return callback(PACKET_TYPES[type] + (data || ""));
+};
+const toBuffer = data => {
+    if (Buffer.isBuffer(data)) {
+        return data;
+    }
+    else if (data instanceof ArrayBuffer) {
+        return Buffer.from(data);
+    }
+    else {
+        return Buffer.from(data.buffer, data.byteOffset, data.byteLength);
+    }
+};
+// only 'message' packets can contain binary, so the type prefix is not needed
+const encodeBuffer = (data, supportsBinary) => {
+    return supportsBinary ? data : "b" + data.toString("base64");
+};
+export default encodePacket;
Index: trip-planner-front/node_modules/engine.io-parser/build/esm/index.d.ts
===================================================================
--- trip-planner-front/node_modules/engine.io-parser/build/esm/index.d.ts	(revision 76712b2bf7daeb245c9ca388ce322e0b98098d99)
+++ trip-planner-front/node_modules/engine.io-parser/build/esm/index.d.ts	(revision 76712b2bf7daeb245c9ca388ce322e0b98098d99)
@@ -0,0 +1,6 @@
+import encodePacket from "./encodePacket.js";
+import decodePacket from "./decodePacket.js";
+declare const encodePayload: (packets: any, callback: any) => void;
+declare const decodePayload: (encodedPayload: any, binaryType?: any) => any[];
+export declare const protocol = 4;
+export { encodePacket, encodePayload, decodePacket, decodePayload };
Index: trip-planner-front/node_modules/engine.io-parser/build/esm/index.js
===================================================================
--- trip-planner-front/node_modules/engine.io-parser/build/esm/index.js	(revision 76712b2bf7daeb245c9ca388ce322e0b98098d99)
+++ trip-planner-front/node_modules/engine.io-parser/build/esm/index.js	(revision 76712b2bf7daeb245c9ca388ce322e0b98098d99)
@@ -0,0 +1,32 @@
+import encodePacket from "./encodePacket.js";
+import decodePacket from "./decodePacket.js";
+const SEPARATOR = String.fromCharCode(30); // see https://en.wikipedia.org/wiki/Delimiter#ASCII_delimited_text
+const encodePayload = (packets, callback) => {
+    // some packets may be added to the array while encoding, so the initial length must be saved
+    const length = packets.length;
+    const encodedPackets = new Array(length);
+    let count = 0;
+    packets.forEach((packet, i) => {
+        // force base64 encoding for binary packets
+        encodePacket(packet, false, encodedPacket => {
+            encodedPackets[i] = encodedPacket;
+            if (++count === length) {
+                callback(encodedPackets.join(SEPARATOR));
+            }
+        });
+    });
+};
+const decodePayload = (encodedPayload, binaryType) => {
+    const encodedPackets = encodedPayload.split(SEPARATOR);
+    const packets = [];
+    for (let i = 0; i < encodedPackets.length; i++) {
+        const decodedPacket = decodePacket(encodedPackets[i], binaryType);
+        packets.push(decodedPacket);
+        if (decodedPacket.type === "error") {
+            break;
+        }
+    }
+    return packets;
+};
+export const protocol = 4;
+export { encodePacket, encodePayload, decodePacket, decodePayload };
Index: trip-planner-front/node_modules/engine.io-parser/build/esm/package.json
===================================================================
--- trip-planner-front/node_modules/engine.io-parser/build/esm/package.json	(revision 76712b2bf7daeb245c9ca388ce322e0b98098d99)
+++ trip-planner-front/node_modules/engine.io-parser/build/esm/package.json	(revision 76712b2bf7daeb245c9ca388ce322e0b98098d99)
@@ -0,0 +1,8 @@
+{
+  "name": "engine.io-parser",
+  "type": "module",
+  "browser": {
+    "./encodePacket.js": "./encodePacket.browser.js",
+    "./decodePacket.js": "./decodePacket.browser.js"
+  }
+}
Index: trip-planner-front/node_modules/engine.io-parser/lib/commons.js
===================================================================
--- trip-planner-front/node_modules/engine.io-parser/lib/commons.js	(revision 59329aad30ff25ec5095bb7ffb78ddb59b7dc111)
+++ 	(revision )
@@ -1,21 +1,0 @@
-const PACKET_TYPES = Object.create(null); // no Map = no polyfill
-PACKET_TYPES["open"] = "0";
-PACKET_TYPES["close"] = "1";
-PACKET_TYPES["ping"] = "2";
-PACKET_TYPES["pong"] = "3";
-PACKET_TYPES["message"] = "4";
-PACKET_TYPES["upgrade"] = "5";
-PACKET_TYPES["noop"] = "6";
-
-const PACKET_TYPES_REVERSE = Object.create(null);
-Object.keys(PACKET_TYPES).forEach(key => {
-  PACKET_TYPES_REVERSE[PACKET_TYPES[key]] = key;
-});
-
-const ERROR_PACKET = { type: "error", data: "parser error" };
-
-module.exports = {
-  PACKET_TYPES,
-  PACKET_TYPES_REVERSE,
-  ERROR_PACKET
-};
Index: trip-planner-front/node_modules/engine.io-parser/lib/decodePacket.browser.js
===================================================================
--- trip-planner-front/node_modules/engine.io-parser/lib/decodePacket.browser.js	(revision 59329aad30ff25ec5095bb7ffb78ddb59b7dc111)
+++ 	(revision )
@@ -1,57 +1,0 @@
-const { PACKET_TYPES_REVERSE, ERROR_PACKET } = require("./commons");
-
-const withNativeArrayBuffer = typeof ArrayBuffer === "function";
-
-let base64decoder;
-if (withNativeArrayBuffer) {
-  base64decoder = require("base64-arraybuffer");
-}
-
-const decodePacket = (encodedPacket, binaryType) => {
-  if (typeof encodedPacket !== "string") {
-    return {
-      type: "message",
-      data: mapBinary(encodedPacket, binaryType)
-    };
-  }
-  const type = encodedPacket.charAt(0);
-  if (type === "b") {
-    return {
-      type: "message",
-      data: decodeBase64Packet(encodedPacket.substring(1), binaryType)
-    };
-  }
-  const packetType = PACKET_TYPES_REVERSE[type];
-  if (!packetType) {
-    return ERROR_PACKET;
-  }
-  return encodedPacket.length > 1
-    ? {
-        type: PACKET_TYPES_REVERSE[type],
-        data: encodedPacket.substring(1)
-      }
-    : {
-        type: PACKET_TYPES_REVERSE[type]
-      };
-};
-
-const decodeBase64Packet = (data, binaryType) => {
-  if (base64decoder) {
-    const decoded = base64decoder.decode(data);
-    return mapBinary(decoded, binaryType);
-  } else {
-    return { base64: true, data }; // fallback for old browsers
-  }
-};
-
-const mapBinary = (data, binaryType) => {
-  switch (binaryType) {
-    case "blob":
-      return data instanceof ArrayBuffer ? new Blob([data]) : data;
-    case "arraybuffer":
-    default:
-      return data; // assuming the data is already an ArrayBuffer
-  }
-};
-
-module.exports = decodePacket;
Index: trip-planner-front/node_modules/engine.io-parser/lib/decodePacket.js
===================================================================
--- trip-planner-front/node_modules/engine.io-parser/lib/decodePacket.js	(revision 59329aad30ff25ec5095bb7ffb78ddb59b7dc111)
+++ 	(revision )
@@ -1,51 +1,0 @@
-const { PACKET_TYPES_REVERSE, ERROR_PACKET } = require("./commons");
-
-const decodePacket = (encodedPacket, binaryType) => {
-  if (typeof encodedPacket !== "string") {
-    return {
-      type: "message",
-      data: mapBinary(encodedPacket, binaryType)
-    };
-  }
-  const type = encodedPacket.charAt(0);
-  if (type === "b") {
-    const buffer = Buffer.from(encodedPacket.substring(1), "base64");
-    return {
-      type: "message",
-      data: mapBinary(buffer, binaryType)
-    };
-  }
-  if (!PACKET_TYPES_REVERSE[type]) {
-    return ERROR_PACKET;
-  }
-  return encodedPacket.length > 1
-    ? {
-        type: PACKET_TYPES_REVERSE[type],
-        data: encodedPacket.substring(1)
-      }
-    : {
-        type: PACKET_TYPES_REVERSE[type]
-      };
-};
-
-const mapBinary = (data, binaryType) => {
-  const isBuffer = Buffer.isBuffer(data);
-  switch (binaryType) {
-    case "arraybuffer":
-      return isBuffer ? toArrayBuffer(data) : data;
-    case "nodebuffer":
-    default:
-      return data; // assuming the data is already a Buffer
-  }
-};
-
-const toArrayBuffer = buffer => {
-  const arrayBuffer = new ArrayBuffer(buffer.length);
-  const view = new Uint8Array(arrayBuffer);
-  for (let i = 0; i < buffer.length; i++) {
-    view[i] = buffer[i];
-  }
-  return arrayBuffer;
-};
-
-module.exports = decodePacket;
Index: trip-planner-front/node_modules/engine.io-parser/lib/encodePacket.browser.js
===================================================================
--- trip-planner-front/node_modules/engine.io-parser/lib/encodePacket.browser.js	(revision 59329aad30ff25ec5095bb7ffb78ddb59b7dc111)
+++ 	(revision )
@@ -1,46 +1,0 @@
-const { PACKET_TYPES } = require("./commons");
-
-const withNativeBlob =
-  typeof Blob === "function" ||
-  (typeof Blob !== "undefined" &&
-    Object.prototype.toString.call(Blob) === "[object BlobConstructor]");
-const withNativeArrayBuffer = typeof ArrayBuffer === "function";
-
-// ArrayBuffer.isView method is not defined in IE10
-const isView = obj => {
-  return typeof ArrayBuffer.isView === "function"
-    ? ArrayBuffer.isView(obj)
-    : obj && obj.buffer instanceof ArrayBuffer;
-};
-
-const encodePacket = ({ type, data }, supportsBinary, callback) => {
-  if (withNativeBlob && data instanceof Blob) {
-    if (supportsBinary) {
-      return callback(data);
-    } else {
-      return encodeBlobAsBase64(data, callback);
-    }
-  } else if (
-    withNativeArrayBuffer &&
-    (data instanceof ArrayBuffer || isView(data))
-  ) {
-    if (supportsBinary) {
-      return callback(data);
-    } else {
-      return encodeBlobAsBase64(new Blob([data]), callback);
-    }
-  }
-  // plain string
-  return callback(PACKET_TYPES[type] + (data || ""));
-};
-
-const encodeBlobAsBase64 = (data, callback) => {
-  const fileReader = new FileReader();
-  fileReader.onload = function() {
-    const content = fileReader.result.split(",")[1];
-    callback("b" + content);
-  };
-  return fileReader.readAsDataURL(data);
-};
-
-module.exports = encodePacket;
Index: trip-planner-front/node_modules/engine.io-parser/lib/encodePacket.js
===================================================================
--- trip-planner-front/node_modules/engine.io-parser/lib/encodePacket.js	(revision 59329aad30ff25ec5095bb7ffb78ddb59b7dc111)
+++ 	(revision )
@@ -1,27 +1,0 @@
-const { PACKET_TYPES } = require("./commons");
-
-const encodePacket = ({ type, data }, supportsBinary, callback) => {
-  if (data instanceof ArrayBuffer || ArrayBuffer.isView(data)) {
-    const buffer = toBuffer(data);
-    return callback(encodeBuffer(buffer, supportsBinary));
-  }
-  // plain string
-  return callback(PACKET_TYPES[type] + (data || ""));
-};
-
-const toBuffer = data => {
-  if (Buffer.isBuffer(data)) {
-    return data;
-  } else if (data instanceof ArrayBuffer) {
-    return Buffer.from(data);
-  } else {
-    return Buffer.from(data.buffer, data.byteOffset, data.byteLength);
-  }
-};
-
-// only 'message' packets can contain binary, so the type prefix is not needed
-const encodeBuffer = (data, supportsBinary) => {
-  return supportsBinary ? data : "b" + data.toString("base64");
-};
-
-module.exports = encodePacket;
Index: trip-planner-front/node_modules/engine.io-parser/lib/index.js
===================================================================
--- trip-planner-front/node_modules/engine.io-parser/lib/index.js	(revision 59329aad30ff25ec5095bb7ffb78ddb59b7dc111)
+++ 	(revision )
@@ -1,42 +1,0 @@
-const encodePacket = require("./encodePacket");
-const decodePacket = require("./decodePacket");
-
-const SEPARATOR = String.fromCharCode(30); // see https://en.wikipedia.org/wiki/Delimiter#ASCII_delimited_text
-
-const encodePayload = (packets, callback) => {
-  // some packets may be added to the array while encoding, so the initial length must be saved
-  const length = packets.length;
-  const encodedPackets = new Array(length);
-  let count = 0;
-
-  packets.forEach((packet, i) => {
-    // force base64 encoding for binary packets
-    encodePacket(packet, false, encodedPacket => {
-      encodedPackets[i] = encodedPacket;
-      if (++count === length) {
-        callback(encodedPackets.join(SEPARATOR));
-      }
-    });
-  });
-};
-
-const decodePayload = (encodedPayload, binaryType) => {
-  const encodedPackets = encodedPayload.split(SEPARATOR);
-  const packets = [];
-  for (let i = 0; i < encodedPackets.length; i++) {
-    const decodedPacket = decodePacket(encodedPackets[i], binaryType);
-    packets.push(decodedPacket);
-    if (decodedPacket.type === "error") {
-      break;
-    }
-  }
-  return packets;
-};
-
-module.exports = {
-  protocol: 4,
-  encodePacket,
-  encodePayload,
-  decodePacket,
-  decodePayload
-};
Index: trip-planner-front/node_modules/engine.io-parser/package.json
===================================================================
--- trip-planner-front/node_modules/engine.io-parser/package.json	(revision 59329aad30ff25ec5095bb7ffb78ddb59b7dc111)
+++ trip-planner-front/node_modules/engine.io-parser/package.json	(revision 76712b2bf7daeb245c9ca388ce322e0b98098d99)
@@ -1,68 +1,75 @@
 {
-  "_args": [
-    [
-      "engine.io-parser@4.0.3",
-      "C:\\Users\\DELL\\Desktop\\bachelor-thesis\\trip-planner-front"
-    ]
-  ],
-  "_development": true,
-  "_from": "engine.io-parser@4.0.3",
-  "_id": "engine.io-parser@4.0.3",
+  "_from": "engine.io-parser@~5.0.0",
+  "_id": "engine.io-parser@5.0.2",
   "_inBundle": false,
-  "_integrity": "sha512-xEAAY0msNnESNPc00e19y5heTPX4y/TJ36gr8t1voOaNmTojP9b3oK3BbJLFufW2XFPQaaijpFewm2g2Um3uqA==",
+  "_integrity": "sha512-wuiO7qO/OEkPJSFueuATIXtrxF7/6GTbAO9QLv7nnbjwZ5tYhLm9zxvLwxstRs0dcT0KUlWTjtIOs1T86jt12g==",
   "_location": "/engine.io-parser",
   "_phantomChildren": {},
   "_requested": {
-    "type": "version",
+    "type": "range",
     "registry": true,
-    "raw": "engine.io-parser@4.0.3",
+    "raw": "engine.io-parser@~5.0.0",
     "name": "engine.io-parser",
     "escapedName": "engine.io-parser",
-    "rawSpec": "4.0.3",
+    "rawSpec": "~5.0.0",
     "saveSpec": null,
-    "fetchSpec": "4.0.3"
+    "fetchSpec": "~5.0.0"
   },
   "_requiredBy": [
     "/engine.io"
   ],
-  "_resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-4.0.3.tgz",
-  "_spec": "4.0.3",
-  "_where": "C:\\Users\\DELL\\Desktop\\bachelor-thesis\\trip-planner-front",
+  "_resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-5.0.2.tgz",
+  "_shasum": "69a2ec3ed431da021f0666712d07f106bcffa6ce",
+  "_spec": "engine.io-parser@~5.0.0",
+  "_where": "C:\\Users\\DELL\\Desktop\\bachelor-thesis\\trip-planner-front\\node_modules\\engine.io",
   "browser": {
-    "./lib/encodePacket.js": "./lib/encodePacket.browser.js",
-    "./lib/decodePacket.js": "./lib/decodePacket.browser.js"
+    "./test/node": "./test/browser",
+    "./build/esm/encodePacket.js": "./build/esm/encodePacket.browser.js",
+    "./build/esm/decodePacket.js": "./build/esm/decodePacket.browser.js",
+    "./build/cjs/encodePacket.js": "./build/cjs/encodePacket.browser.js",
+    "./build/cjs/decodePacket.js": "./build/cjs/decodePacket.browser.js"
   },
   "bugs": {
     "url": "https://github.com/socketio/engine.io-parser/issues"
   },
+  "bundleDependencies": false,
   "dependencies": {
-    "base64-arraybuffer": "0.1.4"
+    "base64-arraybuffer": "~1.0.1"
   },
+  "deprecated": false,
   "description": "Parser for the client for the realtime Engine",
   "devDependencies": {
     "@babel/core": "~7.9.6",
     "@babel/preset-env": "~7.9.6",
-    "babel-eslint": "^10.0.3",
+    "@types/mocha": "^9.0.0",
+    "@types/node": "^16.9.6",
     "babelify": "^10.0.0",
     "benchmark": "^2.1.4",
-    "eslint": "^6.8.0",
-    "eslint-config-prettier": "^6.9.0",
     "expect.js": "0.3.1",
     "mocha": "^5.2.0",
     "nyc": "~15.0.1",
     "prettier": "^1.19.1",
+    "rimraf": "^3.0.2",
     "socket.io-browsers": "^1.0.4",
+    "ts-node": "^10.2.1",
+    "tsify": "^5.0.4",
+    "typescript": "^4.4.3",
     "zuul": "3.11.1",
     "zuul-ngrok": "4.0.0"
   },
   "engines": {
-    "node": ">=8.0.0"
+    "node": ">=10.0.0"
+  },
+  "exports": {
+    "import": "./build/esm/index.js",
+    "require": "./build/cjs/index.js"
   },
   "files": [
-    "lib/"
+    "build/"
   ],
   "homepage": "https://github.com/socketio/engine.io-parser",
   "license": "MIT",
-  "main": "lib/index.js",
+  "main": "./build/cjs/index.js",
+  "module": "./build/esm/index.js",
   "name": "engine.io-parser",
   "repository": {
@@ -71,11 +78,12 @@
   },
   "scripts": {
-    "format:check": "prettier --check 'lib/**/*.js' 'test/**/*.js'",
-    "format:fix": "prettier --write 'lib/**/*.js' 'test/**/*.js'",
-    "lint": "eslint 'lib/**/*.js' 'test/**/*.js'",
-    "test": "npm run lint && npm run format:check && if test \"$BROWSERS\" = \"1\" ; then npm run test:browser; else npm run test:node; fi",
-    "test:browser": "zuul test/index.js --no-coverage",
-    "test:node": "nyc mocha test/index.js"
+    "compile": "rimraf ./build && tsc && tsc -p tsconfig.esm.json && ./postcompile.sh",
+    "format:check": "prettier --check 'lib/**/*.ts' 'test/**/*.ts'",
+    "format:fix": "prettier --write 'lib/**/*.ts' 'test/**/*.ts'",
+    "test": "npm run format:check && npm run compile && if test \"$BROWSERS\" = \"1\" ; then npm run test:browser; else npm run test:node; fi",
+    "test:browser": "zuul test/index.ts --no-coverage",
+    "test:node": "nyc mocha -r ts-node/register test/index.ts"
   },
-  "version": "4.0.3"
+  "types": "build/esm/index.d.ts",
+  "version": "5.0.2"
 }
