Fixes
Fixes
agent: false to allow usage of globalAgent. Fixes #421dependencies
url-parse due to CVE-2022-0686, CVE-2022-0639, and CVE-2022-0512. Fixes #576json3 dependency. Fixes #476eventsource to 1.1.0faye-websocket to 0.11.4debug to 3.2.7devDependencies
follow-redirects (devDep) due to CVE-2022-0536 and CVE-2022-0155karma (devDep) due to CVE-2022-0437cached-path-relative (devDep) due to CVE-2021-23518fsevents (devDep) to fix:
ini CVE-2020-7788minimist CVE-2020-7598tar CVE-2021-37713, CVE-2021-37701, CVE-2021-32804, CVE-2021-32803copy-props (devDep) due to CVE-2020-28503eslint, mocha, gulp-replace, karma-browserify, gulp-sourcemaps, and browserifyOther Changes
url-parse due to CVE-2021-3664.url-parse due to CVE-2021-27515.url-parse, kind-of, minimist, websocket-extensions due to security vulnerabilies.timeout option to set a minimum transport timeout. Fixes #403npm auditthis._transport in debug statement. Fixes #448debug to ^3 because v4 starts using ES6. Fixes #457: #396debug and fix object key literal mangling, fixes regression in Opera 11.10 #359close - #344undefined when WebSocket does not exist. Fixes Webpack. #321dist folder on npm - #265protocols or options arguments to browser WebSocket constructor - #309console.log which does not have apply - #279dbg global variable - #282faye-websocket version to 0.11.0 - #267arguments usage - #263https module for xhr requests in node when url uses https - #254url-parse - #242url-parse 1.0.1 to fix colon issue if auth has no passwordurl-parse to 1.0.0 to fix #218 againurl-parse to 0.2.3 to fix #222url-parse to 0.2.1 to fix 'too much recursion' errorsurl-parse to 0.2.0 to fix inheritance issuesurl-parse to 0.1.3 to avoid CSP issuesurl-parse to 0.1.1 to fix #214url-parse to 0.1.0 and sockjs to 0.3.11debug from devDependencies to dependencieswindow.location instead of document.location - #195new optional for SockJS constructor (via substack).protocols_whitelist option instead of
passing  an array of protocols as a second argument to SockJS constructor.session_id, especially when trying
fallback protocols.send will be converted to string. This is also how nativestatus property on EventClose is renamed to code
as per Websocket API
WebSockets behave.sockjs-node API