Changeset e29cc2e for trip-planner-front/node_modules/engine.io
- Timestamp:
- 11/25/21 22:08:24 (3 years ago)
- Branches:
- master
- Children:
- 8d391a1
- Parents:
- 59329aa
- 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 31 The codebase was migrated to TypeScript ([c0d6eaa](https://github.com/socketio/engine.io/commit/c0d6eaa1ba1291946dc8425d5f533d5f721862dd)) 32 33 An ES module wrapper was also added ([401f4b6](https://github.com/socketio/engine.io/commit/401f4b60693fb6702c942692ce42e5bb701d81d7)). 34 35 Please note that the communication protocol was not updated, so a v5 client will be able to reach a v6 server (and vice-versa). 36 37 Reference: 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 44 const eioServer = require("engine.io")(httpServer); 45 ``` 46 47 Please use this instead: 48 49 ```js 50 const { Server } = require("engine.io"); 51 const 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 60 No 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 104 Before: 105 106 ```js 107 const eioServer = require("engine.io")(httpServer, { 108 wsEngine: "eiows" 109 }); 110 ``` 111 112 After: 113 114 ```js 115 const eioServer = require("engine.io")(httpServer, { 116 wsEngine: require("eiows").Server 117 }); 118 ``` 119 120 1 121 ## [4.1.1](https://github.com/socketio/engine.io/compare/4.1.0...4.1.1) (2021-02-02) 2 122 -
trip-planner-front/node_modules/engine.io/README.md
r59329aa re29cc2e 2 2 # Engine.IO: the realtime engine 3 3 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) 5 5 [![NPM version](https://badge.fury.io/js/engine.io.svg)](http://badge.fury.io/js/engine.io) 6 6 … … 189 189 const httpServer = require('http').createServer().listen(3000); 190 190 const server = engine.attach(httpServer, { 191 wsEngine: 'uws' // requires having uws as dependency191 wsEngine: require('eiows').Server // requires having eiows as dependency 192 192 }); 193 193 … … 205 205 - **Arguments** 206 206 - `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 207 238 208 239 ##### Properties … … 223 254 - **Options** 224 255 - `pingTimeout` (`Number`): how many ms without a pong packet to 225 consider the connection closed (` 5000`)256 consider the connection closed (`20000`) 226 257 - `pingInterval` (`Number`): how many ms before sending a new ping 227 258 packet (`25000`) … … 250 281 headers. This cookie might be used for sticky-session. Defaults to not sending any cookie (`false`). 251 282 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. 253 284 - `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. 254 285 - `initialPacket` (`Object`): an optional packet which will be concatenated to the handshake packet emitted by Engine.IO. … … 325 356 - `type`: packet type 326 357 - `data`: packet data (if type is message) 358 - `heartbeat` 359 - Called when `ping` or `pong` packed is received (depends of client version) 327 360 328 361 ##### Properties -
trip-planner-front/node_modules/engine.io/node_modules/cookie/HISTORY.md
r59329aa re29cc2e 1 0.4.1 / 2020-04-21 2 ================== 3 4 * Fix `maxAge` option to reject invalid values 5 1 6 0.4.0 / 2019-05-15 2 7 ================== -
trip-planner-front/node_modules/engine.io/node_modules/ws/lib/extension.js
r59329aa re29cc2e 1 1 'use strict'; 2 2 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 ]; 3 const { tokenChars } = require('./validation'); 25 4 26 5 /** … … 35 14 */ 36 15 function 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); 39 18 } 40 19 … … 47 26 */ 48 27 function 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); 64 42 65 43 if (extensionName === undefined) { 66 44 if (end === -1 && tokenChars[code] === 1) { 67 45 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 ) { 69 50 if (end === -1 && start !== -1) end = i; 70 51 } else if (code === 0x3b /* ';' */ || code === 0x2c /* ',' */) { … … 77 58 if (code === 0x2c) { 78 59 push(offers, name, params); 79 params = {};60 params = Object.create(null); 80 61 } else { 81 62 extensionName = name; … … 100 81 if (code === 0x2c) { 101 82 push(offers, extensionName, params); 102 params = {};83 params = Object.create(null); 103 84 extensionName = undefined; 104 85 } … … 147 128 148 129 if (end === -1) end = i; 149 varvalue = header.slice(start, end);130 let value = header.slice(start, end); 150 131 if (mustUnescape) { 151 132 value = value.replace(/\\/g, ''); … … 155 136 if (code === 0x2c) { 156 137 push(offers, extensionName, params); 157 params = {};138 params = Object.create(null); 158 139 extensionName = undefined; 159 140 } … … 167 148 } 168 149 169 if (start === -1 || inQuotes ) {150 if (start === -1 || inQuotes || code === 0x20 || code === 0x09) { 170 151 throw new SyntaxError('Unexpected end of input'); 171 152 } … … 174 155 const token = header.slice(start, end); 175 156 if (extensionName === undefined) { 176 push(offers, token, {});157 push(offers, token, params); 177 158 } else { 178 159 if (paramName === undefined) { … … 199 180 return Object.keys(extensions) 200 181 .map((extension) => { 201 varconfigurations = extensions[extension];182 let configurations = extensions[extension]; 202 183 if (!Array.isArray(configurations)) configurations = [configurations]; 203 184 return configurations … … 206 187 .concat( 207 188 Object.keys(params).map((k) => { 208 varvalues = params[k];189 let values = params[k]; 209 190 if (!Array.isArray(values)) values = [values]; 210 191 return values -
trip-planner-front/node_modules/engine.io/node_modules/ws/lib/permessage-deflate.js
r59329aa re29cc2e 1 1 'use strict'; 2 2 3 const Limiter = require('async-limiter');4 3 const zlib = require('zlib'); 5 4 6 5 const bufferUtil = require('./buffer-util'); 7 const { kStatusCode, NOOP } = require('./constants'); 6 const Limiter = require('./limiter'); 7 const { kStatusCode } = require('./constants'); 8 8 9 9 const TRAILER = Buffer.from([0x00, 0x00, 0xff, 0xff]); 10 const EMPTY_BLOCK = Buffer.from([0x00]);11 12 10 const kPerMessageDeflate = Symbol('permessage-deflate'); 13 11 const kTotalLength = Symbol('total-length'); … … 32 30 * Creates a PerMessageDeflate instance. 33 31 * 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 40 40 * use of a custom server window size 41 * @param { (Boolean|Number)} options.clientMaxWindowBits Advertise support42 * for, or request, a custom client window size43 * @param { Object} options.zlibDeflateOptions Options to pass to zlib on deflate44 * @param {Object} options.zlibInflateOptions Options to pass to zlib on inflate45 * @param { Number} options.threshold Size (in bytes) below which messages46 * should not be compressed47 * @param { Number} options.concurrencyLimit The number of concurrent calls to48 * zlib49 * @param {Boolean} isServer Create the instance in either server or client50 * mode51 * @param {Number} maxPayloadThe maximum allowed message length41 * @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 52 52 */ 53 53 constructor(options, isServer, maxPayload) { … … 67 67 ? this._options.concurrencyLimit 68 68 : 10; 69 zlibLimiter = new Limiter( { concurrency });69 zlibLimiter = new Limiter(concurrency); 70 70 } 71 71 } … … 134 134 135 135 if (this._deflate) { 136 const callback = this._deflate[kCallback]; 137 136 138 this._deflate.close(); 137 139 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 } 138 148 } 139 149 } … … 234 244 configurations.forEach((params) => { 235 245 Object.keys(params).forEach((key) => { 236 varvalue = params[key];246 let value = params[key]; 237 247 238 248 if (value.length > 1) { … … 285 295 286 296 /** 287 * Decompress data. Concurrency limited by async-limiter.297 * Decompress data. Concurrency limited. 288 298 * 289 299 * @param {Buffer} data Compressed data … … 293 303 */ 294 304 decompress(data, fin, callback) { 295 zlibLimiter. push((done) => {305 zlibLimiter.add((done) => { 296 306 this._decompress(data, fin, (err, result) => { 297 307 done(); … … 302 312 303 313 /** 304 * Compress data. Concurrency limited by async-limiter.314 * Compress data. Concurrency limited. 305 315 * 306 316 * @param {Buffer} data Data to compress … … 310 320 */ 311 321 compress(data, fin, callback) { 312 zlibLimiter. push((done) => {322 zlibLimiter.add((done) => { 313 323 this._compress(data, fin, (err, result) => { 314 324 done(); … … 336 346 : this.params[key]; 337 347 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 }); 341 352 this._inflate[kPerMessageDeflate] = this; 342 353 this._inflate[kTotalLength] = 0; … … 366 377 ); 367 378 368 if ( fin && this.params[`${endpoint}_no_context_takeover`]) {379 if (this._inflate._readableState.endEmitted) { 369 380 this._inflate.close(); 370 381 this._inflate = null; … … 372 383 this._inflate[kTotalLength] = 0; 373 384 this._inflate[kBuffers] = []; 385 386 if (fin && this.params[`${endpoint}_no_context_takeover`]) { 387 this._inflate.reset(); 388 } 374 389 } 375 390 … … 387 402 */ 388 403 _compress(data, fin, callback) { 389 if (!data || data.length === 0) {390 process.nextTick(callback, null, EMPTY_BLOCK);391 return;392 }393 394 404 const endpoint = this._isServer ? 'server' : 'client'; 395 405 … … 401 411 : this.params[key]; 402 412 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 }); 406 417 407 418 this._deflate[kTotalLength] = 0; 408 419 this._deflate[kBuffers] = []; 409 420 410 //411 // An `'error'` event is emitted, only on Node.js < 10.0.0, if the412 // `zlib.DeflateRaw` instance is closed while data is being processed.413 // This can happen if `PerMessageDeflate#cleanup()` is called at the wrong414 // time due to an abnormal WebSocket closure.415 //416 this._deflate.on('error', NOOP);417 421 this._deflate.on('data', deflateOnData); 418 422 } 423 424 this._deflate[kCallback] = callback; 419 425 420 426 this._deflate.write(data); … … 422 428 if (!this._deflate) { 423 429 // 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. 428 431 // 429 432 return; 430 433 } 431 434 432 vardata = bufferUtil.concat(435 let data = bufferUtil.concat( 433 436 this._deflate[kBuffers], 434 437 this._deflate[kTotalLength] … … 437 440 if (fin) data = data.slice(0, data.length - 4); 438 441 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 439 451 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(); 445 453 } 446 454 … … 481 489 482 490 this[kError] = new RangeError('Max payload size exceeded'); 491 this[kError].code = 'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH'; 483 492 this[kError][kStatusCode] = 1009; 484 493 this.removeListener('data', inflateOnData); -
trip-planner-front/node_modules/engine.io/package.json
r59329aa re29cc2e 1 1 { 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", 11 4 "_inBundle": false, 12 "_integrity": "sha512- t2E9wLlssQjGw0nluF6aYyfX8LwYU8Jj0xct+pAhfWfv/YrBn6TSNtEYsgxHIfaMqfrLx07czcMg9bMN6di+3w==",5 "_integrity": "sha512-ErhZOVu2xweCjEfYcTdkCnEYUiZgkAcBBAhW4jbIvNG8SLU3orAqoJCiytZjYF7eTpVmmCrLDjLIEaPlUAs1uw==", 13 6 "_location": "/engine.io", 14 7 "_phantomChildren": {}, 15 8 "_requested": { 16 "type": " version",9 "type": "range", 17 10 "registry": true, 18 "raw": "engine.io@ 4.1.1",11 "raw": "engine.io@~6.1.0", 19 12 "name": "engine.io", 20 13 "escapedName": "engine.io", 21 "rawSpec": " 4.1.1",14 "rawSpec": "~6.1.0", 22 15 "saveSpec": null, 23 "fetchSpec": " 4.1.1"16 "fetchSpec": "~6.1.0" 24 17 }, 25 18 "_requiredBy": [ 26 19 "/socket.io" 27 20 ], 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", 31 25 "author": { 32 26 "name": "Guillermo Rauch", … … 36 30 "url": "https://github.com/socketio/engine.io/issues" 37 31 }, 32 "bundleDependencies": false, 38 33 "contributors": [ 39 34 { … … 55 50 ], 56 51 "dependencies": { 52 "@types/cookie": "^0.4.1", 53 "@types/cors": "^2.8.12", 54 "@types/node": ">=10.0.0", 57 55 "accepts": "~1.3.4", 58 56 "base64id": "2.0.0", … … 60 58 "cors": "~2.8.5", 61 59 "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" 64 62 }, 63 "deprecated": false, 65 64 "description": "The realtime engine behind Socket.IO. Provides the foundation of a bidirectional connection between client and server", 66 65 "devDependencies": { 67 66 "babel-eslint": "^8.0.2", 68 67 "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", 73 70 "expect.js": "^0.3.1", 74 "mocha": "^ 4.0.1",71 "mocha": "^9.1.3", 75 72 "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" 78 77 }, 79 78 "engines": { 80 79 "node": ">=10.0.0" 81 80 }, 81 "exports": { 82 "import": "./wrapper.mjs", 83 "require": "./build/engine.io.js" 84 }, 82 85 "files": [ 83 "lib/" 86 "build/", 87 "wrapper.mjs" 84 88 ], 85 89 "homepage": "https://github.com/socketio/engine.io", 86 90 "license": "MIT", 87 "main": " lib/engine.io.js",91 "main": "./build/engine.io.js", 88 92 "name": "engine.io", 89 93 "repository": { … … 92 96 }, 93 97 "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" 98 107 }, 99 "version": "4.1.1" 108 "type": "commonjs", 109 "types": "./build/engine.io.d.ts", 110 "version": "6.1.0" 100 111 }
Note:
See TracChangeset
for help on using the changeset viewer.