Ignore:
Timestamp:
11/25/21 22:08:24 (3 years ago)
Author:
Ema <ema_spirova@…>
Branches:
master
Children:
8d391a1
Parents:
59329aa
Message:

primeNG components

Location:
trip-planner-front/node_modules/engine.io
Files:
48 added
10 deleted
3 edited
5 moved

Legend:

Unmodified
Added
Removed
  • trip-planner-front/node_modules/engine.io/CHANGELOG.md

    r59329aa re29cc2e  
     1# [6.1.0](https://github.com/socketio/engine.io/compare/6.0.0...6.1.0) (2021-11-08)
     2
     3
     4### Bug Fixes
     5
     6* fix payload encoding for v3 clients ([ed50fc3](https://github.com/socketio/engine.io/commit/ed50fc346b9c58459bf4e6fe5c45e8d34faac8da))
     7
     8
     9### Features
     10
     11* add an implementation based on uWebSockets.js ([271e2df](https://github.com/socketio/engine.io/commit/271e2df94d39bbd13c33cab98cdd5915f9d28536))
     12
     13
     14### Performance Improvements
     15
     16* refresh ping timer ([#628](https://github.com/socketio/engine.io/issues/628)) ([37474c7](https://github.com/socketio/engine.io/commit/37474c7e67be7c5f25f9ca2d4ea99f3a256bd2de))
     17
     18
     19
     20## [6.0.1](https://github.com/socketio/engine.io/compare/6.0.0...6.0.1) (2021-11-06)
     21
     22
     23### Bug Fixes
     24
     25* fix payload encoding for v3 clients ([3f42262](https://github.com/socketio/engine.io/commit/3f42262fd27a77a7383cdbb44ede7c6211a9782b))
     26
     27
     28
     29# [6.0.0](https://github.com/socketio/engine.io/compare/5.2.0...6.0.0) (2021-10-08)
     30
     31The codebase was migrated to TypeScript ([c0d6eaa](https://github.com/socketio/engine.io/commit/c0d6eaa1ba1291946dc8425d5f533d5f721862dd))
     32
     33An ES module wrapper was also added ([401f4b6](https://github.com/socketio/engine.io/commit/401f4b60693fb6702c942692ce42e5bb701d81d7)).
     34
     35Please note that the communication protocol was not updated, so a v5 client will be able to reach a v6 server (and vice-versa).
     36
     37Reference: https://github.com/socketio/engine.io-protocol
     38
     39### BREAKING CHANGES
     40
     41- the default export was removed, so the following code won't work anymore:
     42
     43```js
     44const eioServer = require("engine.io")(httpServer);
     45```
     46
     47Please use this instead:
     48
     49```js
     50const { Server } = require("engine.io");
     51const eioServer = new Server(httpServer);
     52```
     53
     54### Dependencies
     55
     56`ws` version: `~8.2.3` (bumped from `~7.4.2`)
     57
     58# [5.2.0](https://github.com/socketio/engine.io/compare/5.1.1...5.2.0) (2021-08-29)
     59
     60No change on the server-side, this matches the client release.
     61
     62
     63## [5.1.1](https://github.com/socketio/engine.io/compare/5.1.0...5.1.1) (2021-05-16)
     64
     65
     66### Bug Fixes
     67
     68* properly close the websocket connection upon handshake error ([4360686](https://github.com/socketio/engine.io/commit/43606865e5299747cbb31f3ed9baf4567502a879))
     69
     70
     71# [5.1.0](https://github.com/socketio/engine.io/compare/5.0.0...5.1.0) (2021-05-04)
     72
     73
     74### Features
     75
     76* add a "connection_error" event ([7096e98](https://github.com/socketio/engine.io/commit/7096e98a02295a62c8ea2aa56461d4875887092d))
     77* add the "initial_headers" and "headers" events ([2527543](https://github.com/socketio/engine.io/commit/252754353a0e88eb036ebb3082e9d6a9a5f497db))
     78
     79
     80### Performance Improvements
     81
     82* **websocket:** add a "wsPreEncoded" writing option ([7706b12](https://github.com/socketio/engine.io/commit/7706b123df914777d19c8179b45ab6932f82916c))
     83* **websocket:** fix write back-pressure ([#618](https://github.com/socketio/engine.io/issues/618)) ([ad5306a](https://github.com/socketio/engine.io/commit/ad5306aeaedf06ac7a49f791e1b76e55c35a564e))
     84
     85
     86# [5.0.0](https://github.com/socketio/engine.io/compare/4.1.1...5.0.0) (2021-03-10)
     87
     88
     89### Bug Fixes
     90
     91* set default protocol version to 3 ([#616](https://github.com/socketio/engine.io/issues/616)) ([868d891](https://github.com/socketio/engine.io/commit/868d89111de0ab5bd0e147ecaff7983afbf5d087))
     92
     93
     94### Features
     95
     96* increase the default value of pingTimeout ([5a7fa13](https://github.com/socketio/engine.io/commit/5a7fa132c442bc1e7eefa1cf38168ee951575ded))
     97* remove dynamic require() with wsEngine ([edb7343](https://github.com/socketio/engine.io/commit/edb734316f143bf0f1bbc344e966d18e2676b934))
     98
     99
     100### BREAKING CHANGES
     101
     102* the syntax of the "wsEngine" option is updated
     103
     104Before:
     105
     106```js
     107const eioServer = require("engine.io")(httpServer, {
     108  wsEngine: "eiows"
     109});
     110```
     111
     112After:
     113
     114```js
     115const eioServer = require("engine.io")(httpServer, {
     116  wsEngine: require("eiows").Server
     117});
     118```
     119
     120
    1121## [4.1.1](https://github.com/socketio/engine.io/compare/4.1.0...4.1.1) (2021-02-02)
    2122
  • trip-planner-front/node_modules/engine.io/README.md

    r59329aa re29cc2e  
    22# Engine.IO: the realtime engine
    33
    4 [![Build Status](https://github.com/socketio/engine.io/workflows/CI/badge.svg?branch=master))](https://github.com/socketio/engine.io/actions)
     4[![Build Status](https://github.com/socketio/engine.io/workflows/CI/badge.svg?branch=master)](https://github.com/socketio/engine.io/actions)
    55[![NPM version](https://badge.fury.io/js/engine.io.svg)](http://badge.fury.io/js/engine.io)
    66
     
    189189const httpServer = require('http').createServer().listen(3000);
    190190const server = engine.attach(httpServer, {
    191   wsEngine: 'uws' // requires having uws as dependency
     191  wsEngine: require('eiows').Server // requires having eiows as dependency
    192192});
    193193
     
    205205    - **Arguments**
    206206      - `Socket`: a Socket object
     207
     208- `initial_headers`
     209    - Fired on the first request of the connection, before writing the response headers
     210    - **Arguments**
     211      - `headers` (`Object`): a hash of headers
     212      - `req` (`http.IncomingMessage`): the request
     213
     214- `headers`
     215    - Fired on the all requests of the connection, before writing the response headers
     216    - **Arguments**
     217      - `headers` (`Object`): a hash of headers
     218      - `req` (`http.IncomingMessage`): the request
     219
     220- `connection_error`
     221    - Fired when an error occurs when establishing the connection.
     222    - **Arguments**
     223      - `error`: an object with following properties:
     224        - `req` (`http.IncomingMessage`): the request that was dropped
     225        - `code` (`Number`): one of `Server.errors`
     226        - `message` (`string`): one of `Server.errorMessages`
     227        - `context` (`Object`): extra info about the error
     228
     229| Code | Message |
     230| ---- | ------- |
     231| 0 | "Transport unknown"
     232| 1 | "Session ID unknown"
     233| 2 | "Bad handshake method"
     234| 3 | "Bad request"
     235| 4 | "Forbidden"
     236| 5 | "Unsupported protocol version"
     237
    207238
    208239##### Properties
     
    223254    - **Options**
    224255      - `pingTimeout` (`Number`): how many ms without a pong packet to
    225         consider the connection closed (`5000`)
     256        consider the connection closed (`20000`)
    226257      - `pingInterval` (`Number`): how many ms before sending a new ping
    227258        packet (`25000`)
     
    250281        headers. This cookie might be used for sticky-session. Defaults to not sending any cookie (`false`).
    251282        See [here](https://github.com/jshttp/cookie#options-1) for all supported options.
    252       - `wsEngine` (`String`): what WebSocket server implementation to use. Specified module must conform to the `ws` interface (see [ws module api docs](https://github.com/websockets/ws/blob/master/doc/ws.md)). Default value is `ws`. An alternative c++ addon is also available by installing `uws` module.
     283      - `wsEngine` (`Function`): what WebSocket server implementation to use. Specified module must conform to the `ws` interface (see [ws module api docs](https://github.com/websockets/ws/blob/master/doc/ws.md)). Default value is `ws`. An alternative c++ addon is also available by installing `eiows` module.
    253284      - `cors` (`Object`): the options that will be forwarded to the cors module. See [there](https://github.com/expressjs/cors#configuration-options) for all available options. Defaults to no CORS allowed.
    254285      - `initialPacket` (`Object`): an optional packet which will be concatenated to the handshake packet emitted by Engine.IO.
     
    325356      - `type`: packet type
    326357      - `data`: packet data (if type is message)
     358- `heartbeat`
     359    - Called when `ping` or `pong` packed is received (depends of client version)
    327360
    328361##### Properties
  • trip-planner-front/node_modules/engine.io/node_modules/cookie/HISTORY.md

    r59329aa re29cc2e  
     10.4.1 / 2020-04-21
     2==================
     3
     4  * Fix `maxAge` option to reject invalid values
     5
    160.4.0 / 2019-05-15
    27==================
  • trip-planner-front/node_modules/engine.io/node_modules/ws/lib/extension.js

    r59329aa re29cc2e  
    11'use strict';
    22
    3 //
    4 // Allowed token characters:
    5 //
    6 // '!', '#', '$', '%', '&', ''', '*', '+', '-',
    7 // '.', 0-9, A-Z, '^', '_', '`', a-z, '|', '~'
    8 //
    9 // tokenChars[32] === 0 // ' '
    10 // tokenChars[33] === 1 // '!'
    11 // tokenChars[34] === 0 // '"'
    12 // ...
    13 //
    14 // prettier-ignore
    15 const tokenChars = [
    16   0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 0 - 15
    17   0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 16 - 31
    18   0, 1, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, // 32 - 47
    19   1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, // 48 - 63
    20   0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 64 - 79
    21   1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, // 80 - 95
    22   1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 96 - 111
    23   1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0 // 112 - 127
    24 ];
     3const { tokenChars } = require('./validation');
    254
    265/**
     
    3514 */
    3615function push(dest, name, elem) {
    37   if (Object.prototype.hasOwnProperty.call(dest, name)) dest[name].push(elem);
    38   else dest[name] = [elem];
     16  if (dest[name] === undefined) dest[name] = [elem];
     17  else dest[name].push(elem);
    3918}
    4019
     
    4726 */
    4827function parse(header) {
    49   const offers = {};
    50 
    51   if (header === undefined || header === '') return offers;
    52 
    53   var params = {};
    54   var mustUnescape = false;
    55   var isEscaping = false;
    56   var inQuotes = false;
    57   var extensionName;
    58   var paramName;
    59   var start = -1;
    60   var end = -1;
    61 
    62   for (var i = 0; i < header.length; i++) {
    63     const code = header.charCodeAt(i);
     28  const offers = Object.create(null);
     29  let params = Object.create(null);
     30  let mustUnescape = false;
     31  let isEscaping = false;
     32  let inQuotes = false;
     33  let extensionName;
     34  let paramName;
     35  let start = -1;
     36  let code = -1;
     37  let end = -1;
     38  let i = 0;
     39
     40  for (; i < header.length; i++) {
     41    code = header.charCodeAt(i);
    6442
    6543    if (extensionName === undefined) {
    6644      if (end === -1 && tokenChars[code] === 1) {
    6745        if (start === -1) start = i;
    68       } else if (code === 0x20 /* ' ' */ || code === 0x09 /* '\t' */) {
     46      } else if (
     47        i !== 0 &&
     48        (code === 0x20 /* ' ' */ || code === 0x09) /* '\t' */
     49      ) {
    6950        if (end === -1 && start !== -1) end = i;
    7051      } else if (code === 0x3b /* ';' */ || code === 0x2c /* ',' */) {
     
    7758        if (code === 0x2c) {
    7859          push(offers, name, params);
    79           params = {};
     60          params = Object.create(null);
    8061        } else {
    8162          extensionName = name;
     
    10081        if (code === 0x2c) {
    10182          push(offers, extensionName, params);
    102           params = {};
     83          params = Object.create(null);
    10384          extensionName = undefined;
    10485        }
     
    147128
    148129        if (end === -1) end = i;
    149         var value = header.slice(start, end);
     130        let value = header.slice(start, end);
    150131        if (mustUnescape) {
    151132          value = value.replace(/\\/g, '');
     
    155136        if (code === 0x2c) {
    156137          push(offers, extensionName, params);
    157           params = {};
     138          params = Object.create(null);
    158139          extensionName = undefined;
    159140        }
     
    167148  }
    168149
    169   if (start === -1 || inQuotes) {
     150  if (start === -1 || inQuotes || code === 0x20 || code === 0x09) {
    170151    throw new SyntaxError('Unexpected end of input');
    171152  }
     
    174155  const token = header.slice(start, end);
    175156  if (extensionName === undefined) {
    176     push(offers, token, {});
     157    push(offers, token, params);
    177158  } else {
    178159    if (paramName === undefined) {
     
    199180  return Object.keys(extensions)
    200181    .map((extension) => {
    201       var configurations = extensions[extension];
     182      let configurations = extensions[extension];
    202183      if (!Array.isArray(configurations)) configurations = [configurations];
    203184      return configurations
     
    206187            .concat(
    207188              Object.keys(params).map((k) => {
    208                 var values = params[k];
     189                let values = params[k];
    209190                if (!Array.isArray(values)) values = [values];
    210191                return values
  • trip-planner-front/node_modules/engine.io/node_modules/ws/lib/permessage-deflate.js

    r59329aa re29cc2e  
    11'use strict';
    22
    3 const Limiter = require('async-limiter');
    43const zlib = require('zlib');
    54
    65const bufferUtil = require('./buffer-util');
    7 const { kStatusCode, NOOP } = require('./constants');
     6const Limiter = require('./limiter');
     7const { kStatusCode } = require('./constants');
    88
    99const TRAILER = Buffer.from([0x00, 0x00, 0xff, 0xff]);
    10 const EMPTY_BLOCK = Buffer.from([0x00]);
    11 
    1210const kPerMessageDeflate = Symbol('permessage-deflate');
    1311const kTotalLength = Symbol('total-length');
     
    3230   * Creates a PerMessageDeflate instance.
    3331   *
    34    * @param {Object} options Configuration options
    35    * @param {Boolean} options.serverNoContextTakeover Request/accept disabling
    36    *     of server context takeover
    37    * @param {Boolean} options.clientNoContextTakeover Advertise/acknowledge
    38    *     disabling of client context takeover
    39    * @param {(Boolean|Number)} options.serverMaxWindowBits Request/confirm the
     32   * @param {Object} [options] Configuration options
     33   * @param {(Boolean|Number)} [options.clientMaxWindowBits] Advertise support
     34   *     for, or request, a custom client window size
     35   * @param {Boolean} [options.clientNoContextTakeover=false] Advertise/
     36   *     acknowledge disabling of client context takeover
     37   * @param {Number} [options.concurrencyLimit=10] The number of concurrent
     38   *     calls to zlib
     39   * @param {(Boolean|Number)} [options.serverMaxWindowBits] Request/confirm the
    4040   *     use of a custom server window size
    41    * @param {(Boolean|Number)} options.clientMaxWindowBits Advertise support
    42    *     for, or request, a custom client window size
    43    * @param {Object} options.zlibDeflateOptions Options to pass to zlib on deflate
    44    * @param {Object} options.zlibInflateOptions Options to pass to zlib on inflate
    45    * @param {Number} options.threshold Size (in bytes) below which messages
    46    *     should not be compressed
    47    * @param {Number} options.concurrencyLimit The number of concurrent calls to
    48    *     zlib
    49    * @param {Boolean} isServer Create the instance in either server or client
    50    *     mode
    51    * @param {Number} maxPayload The maximum allowed message length
     41   * @param {Boolean} [options.serverNoContextTakeover=false] Request/accept
     42   *     disabling of server context takeover
     43   * @param {Number} [options.threshold=1024] Size (in bytes) below which
     44   *     messages should not be compressed if context takeover is disabled
     45   * @param {Object} [options.zlibDeflateOptions] Options to pass to zlib on
     46   *     deflate
     47   * @param {Object} [options.zlibInflateOptions] Options to pass to zlib on
     48   *     inflate
     49   * @param {Boolean} [isServer=false] Create the instance in either server or
     50   *     client mode
     51   * @param {Number} [maxPayload=0] The maximum allowed message length
    5252   */
    5353  constructor(options, isServer, maxPayload) {
     
    6767          ? this._options.concurrencyLimit
    6868          : 10;
    69       zlibLimiter = new Limiter({ concurrency });
     69      zlibLimiter = new Limiter(concurrency);
    7070    }
    7171  }
     
    134134
    135135    if (this._deflate) {
     136      const callback = this._deflate[kCallback];
     137
    136138      this._deflate.close();
    137139      this._deflate = null;
     140
     141      if (callback) {
     142        callback(
     143          new Error(
     144            'The deflate stream was closed while data was being processed'
     145          )
     146        );
     147      }
    138148    }
    139149  }
     
    234244    configurations.forEach((params) => {
    235245      Object.keys(params).forEach((key) => {
    236         var value = params[key];
     246        let value = params[key];
    237247
    238248        if (value.length > 1) {
     
    285295
    286296  /**
    287    * Decompress data. Concurrency limited by async-limiter.
     297   * Decompress data. Concurrency limited.
    288298   *
    289299   * @param {Buffer} data Compressed data
     
    293303   */
    294304  decompress(data, fin, callback) {
    295     zlibLimiter.push((done) => {
     305    zlibLimiter.add((done) => {
    296306      this._decompress(data, fin, (err, result) => {
    297307        done();
     
    302312
    303313  /**
    304    * Compress data. Concurrency limited by async-limiter.
     314   * Compress data. Concurrency limited.
    305315   *
    306316   * @param {Buffer} data Data to compress
     
    310320   */
    311321  compress(data, fin, callback) {
    312     zlibLimiter.push((done) => {
     322    zlibLimiter.add((done) => {
    313323      this._compress(data, fin, (err, result) => {
    314324        done();
     
    336346          : this.params[key];
    337347
    338       this._inflate = zlib.createInflateRaw(
    339         Object.assign({}, this._options.zlibInflateOptions, { windowBits })
    340       );
     348      this._inflate = zlib.createInflateRaw({
     349        ...this._options.zlibInflateOptions,
     350        windowBits
     351      });
    341352      this._inflate[kPerMessageDeflate] = this;
    342353      this._inflate[kTotalLength] = 0;
     
    366377      );
    367378
    368       if (fin && this.params[`${endpoint}_no_context_takeover`]) {
     379      if (this._inflate._readableState.endEmitted) {
    369380        this._inflate.close();
    370381        this._inflate = null;
     
    372383        this._inflate[kTotalLength] = 0;
    373384        this._inflate[kBuffers] = [];
     385
     386        if (fin && this.params[`${endpoint}_no_context_takeover`]) {
     387          this._inflate.reset();
     388        }
    374389      }
    375390
     
    387402   */
    388403  _compress(data, fin, callback) {
    389     if (!data || data.length === 0) {
    390       process.nextTick(callback, null, EMPTY_BLOCK);
    391       return;
    392     }
    393 
    394404    const endpoint = this._isServer ? 'server' : 'client';
    395405
     
    401411          : this.params[key];
    402412
    403       this._deflate = zlib.createDeflateRaw(
    404         Object.assign({}, this._options.zlibDeflateOptions, { windowBits })
    405       );
     413      this._deflate = zlib.createDeflateRaw({
     414        ...this._options.zlibDeflateOptions,
     415        windowBits
     416      });
    406417
    407418      this._deflate[kTotalLength] = 0;
    408419      this._deflate[kBuffers] = [];
    409420
    410       //
    411       // An `'error'` event is emitted, only on Node.js < 10.0.0, if the
    412       // `zlib.DeflateRaw` instance is closed while data is being processed.
    413       // This can happen if `PerMessageDeflate#cleanup()` is called at the wrong
    414       // time due to an abnormal WebSocket closure.
    415       //
    416       this._deflate.on('error', NOOP);
    417421      this._deflate.on('data', deflateOnData);
    418422    }
     423
     424    this._deflate[kCallback] = callback;
    419425
    420426    this._deflate.write(data);
     
    422428      if (!this._deflate) {
    423429        //
    424         // This `if` statement is only needed for Node.js < 10.0.0 because as of
    425         // commit https://github.com/nodejs/node/commit/5e3f5164, the flush
    426         // callback is no longer called if the deflate stream is closed while
    427         // data is being processed.
     430        // The deflate stream was closed while data was being processed.
    428431        //
    429432        return;
    430433      }
    431434
    432       var data = bufferUtil.concat(
     435      let data = bufferUtil.concat(
    433436        this._deflate[kBuffers],
    434437        this._deflate[kTotalLength]
     
    437440      if (fin) data = data.slice(0, data.length - 4);
    438441
     442      //
     443      // Ensure that the callback will not be called again in
     444      // `PerMessageDeflate#cleanup()`.
     445      //
     446      this._deflate[kCallback] = null;
     447
     448      this._deflate[kTotalLength] = 0;
     449      this._deflate[kBuffers] = [];
     450
    439451      if (fin && this.params[`${endpoint}_no_context_takeover`]) {
    440         this._deflate.close();
    441         this._deflate = null;
    442       } else {
    443         this._deflate[kTotalLength] = 0;
    444         this._deflate[kBuffers] = [];
     452        this._deflate.reset();
    445453      }
    446454
     
    481489
    482490  this[kError] = new RangeError('Max payload size exceeded');
     491  this[kError].code = 'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH';
    483492  this[kError][kStatusCode] = 1009;
    484493  this.removeListener('data', inflateOnData);
  • trip-planner-front/node_modules/engine.io/package.json

    r59329aa re29cc2e  
    11{
    2   "_args": [
    3     [
    4       "engine.io@4.1.1",
    5       "C:\\Users\\DELL\\Desktop\\bachelor-thesis\\trip-planner-front"
    6     ]
    7   ],
    8   "_development": true,
    9   "_from": "engine.io@4.1.1",
    10   "_id": "engine.io@4.1.1",
     2  "_from": "engine.io@~6.1.0",
     3  "_id": "engine.io@6.1.0",
    114  "_inBundle": false,
    12   "_integrity": "sha512-t2E9wLlssQjGw0nluF6aYyfX8LwYU8Jj0xct+pAhfWfv/YrBn6TSNtEYsgxHIfaMqfrLx07czcMg9bMN6di+3w==",
     5  "_integrity": "sha512-ErhZOVu2xweCjEfYcTdkCnEYUiZgkAcBBAhW4jbIvNG8SLU3orAqoJCiytZjYF7eTpVmmCrLDjLIEaPlUAs1uw==",
    136  "_location": "/engine.io",
    147  "_phantomChildren": {},
    158  "_requested": {
    16     "type": "version",
     9    "type": "range",
    1710    "registry": true,
    18     "raw": "engine.io@4.1.1",
     11    "raw": "engine.io@~6.1.0",
    1912    "name": "engine.io",
    2013    "escapedName": "engine.io",
    21     "rawSpec": "4.1.1",
     14    "rawSpec": "~6.1.0",
    2215    "saveSpec": null,
    23     "fetchSpec": "4.1.1"
     16    "fetchSpec": "~6.1.0"
    2417  },
    2518  "_requiredBy": [
    2619    "/socket.io"
    2720  ],
    28   "_resolved": "https://registry.npmjs.org/engine.io/-/engine.io-4.1.1.tgz",
    29   "_spec": "4.1.1",
    30   "_where": "C:\\Users\\DELL\\Desktop\\bachelor-thesis\\trip-planner-front",
     21  "_resolved": "https://registry.npmjs.org/engine.io/-/engine.io-6.1.0.tgz",
     22  "_shasum": "459eab0c3724899d7b63a20c3a6835cf92857939",
     23  "_spec": "engine.io@~6.1.0",
     24  "_where": "C:\\Users\\DELL\\Desktop\\bachelor-thesis\\trip-planner-front\\node_modules\\socket.io",
    3125  "author": {
    3226    "name": "Guillermo Rauch",
     
    3630    "url": "https://github.com/socketio/engine.io/issues"
    3731  },
     32  "bundleDependencies": false,
    3833  "contributors": [
    3934    {
     
    5550  ],
    5651  "dependencies": {
     52    "@types/cookie": "^0.4.1",
     53    "@types/cors": "^2.8.12",
     54    "@types/node": ">=10.0.0",
    5755    "accepts": "~1.3.4",
    5856    "base64id": "2.0.0",
     
    6058    "cors": "~2.8.5",
    6159    "debug": "~4.3.1",
    62     "engine.io-parser": "~4.0.0",
    63     "ws": "~7.4.2"
     60    "engine.io-parser": "~5.0.0",
     61    "ws": "~8.2.3"
    6462  },
     63  "deprecated": false,
    6564  "description": "The realtime engine behind Socket.IO. Provides the foundation of a bidirectional connection between client and server",
    6665  "devDependencies": {
    6766    "babel-eslint": "^8.0.2",
    6867    "eiows": "^3.3.0",
    69     "engine.io-client": "4.1.1",
    70     "engine.io-client-v3": "npm:engine.io-client@3.5.0",
    71     "eslint": "^4.19.1",
    72     "eslint-config-prettier": "^6.9.0",
     68    "engine.io-client": "6.1.0",
     69    "engine.io-client-v3": "npm:engine.io-client@3.5.2",
    7370    "expect.js": "^0.3.1",
    74     "mocha": "^4.0.1",
     71    "mocha": "^9.1.3",
    7572    "prettier": "^1.19.1",
    76     "s": "0.1.1",
    77     "superagent": "^3.8.1"
     73    "rimraf": "^3.0.2",
     74    "superagent": "^3.8.1",
     75    "typescript": "^4.4.3",
     76    "uWebSockets.js": "github:uNetworking/uWebSockets.js#v20.0.0"
    7877  },
    7978  "engines": {
    8079    "node": ">=10.0.0"
    8180  },
     81  "exports": {
     82    "import": "./wrapper.mjs",
     83    "require": "./build/engine.io.js"
     84  },
    8285  "files": [
    83     "lib/"
     86    "build/",
     87    "wrapper.mjs"
    8488  ],
    8589  "homepage": "https://github.com/socketio/engine.io",
    8690  "license": "MIT",
    87   "main": "lib/engine.io.js",
     91  "main": "./build/engine.io.js",
    8892  "name": "engine.io",
    8993  "repository": {
     
    9296  },
    9397  "scripts": {
    94     "format:check": "prettier --check 'lib/**/*.js' 'test/**/*.js'",
    95     "format:fix": "prettier --write 'lib/**/*.js' 'test/**/*.js'",
    96     "lint": "eslint lib/ test/ *.js",
    97     "test": "npm run lint && npm run format:check && mocha && EIO_CLIENT=3 mocha && EIO_WS_ENGINE=eiows mocha"
     98    "compile": "rimraf ./build && tsc",
     99    "format:check": "prettier --check 'lib/**/*.ts' 'test/**/*.js'",
     100    "format:fix": "prettier --write 'lib/**/*.ts' 'test/**/*.js'",
     101    "prepack": "npm run compile",
     102    "test": "npm run compile && npm run format:check && npm run test:default && npm run test:compat-v3 && npm run test:eiows && npm run test:uws",
     103    "test:compat-v3": "EIO_CLIENT=3 mocha --exit",
     104    "test:default": "mocha --bail --exit",
     105    "test:eiows": "EIO_WS_ENGINE=eiows mocha --exit",
     106    "test:uws": "EIO_WS_ENGINE=uws mocha --exit"
    98107  },
    99   "version": "4.1.1"
     108  "type": "commonjs",
     109  "types": "./build/engine.io.d.ts",
     110  "version": "6.1.0"
    100111}
Note: See TracChangeset for help on using the changeset viewer.