Socket
Socket
Sign inDemoInstall

socket.io-parser

Package Overview
Dependencies
Maintainers
2
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

socket.io-parser - npm Package Compare versions

Comparing version 3.4.1 to 4.0.0

dist/binary.d.ts

18

CHANGELOG.md

@@ -0,1 +1,19 @@

# [4.0.0](https://github.com/socketio/socket.io-parser/compare/3.4.1...4.0.0) (2020-09-28)
This release will be included in Socket.IO v3.
There is a breaking API change (see below), but the exchange [protocol](https://github.com/socketio/socket.io-protocol) is left untouched and thus stays in version 4.
### Bug Fixes
* do not catch encoding errors ([aeae87c](https://github.com/socketio/socket.io-parser/commit/aeae87c220287197cb78370dbd86b950a7dd29eb))
* throw upon invalid payload format ([c327acb](https://github.com/socketio/socket.io-parser/commit/c327acbc3c3c2d0b2b439136cbcb56c81db173d6))
### BREAKING CHANGES
* the encode method is now synchronous ([28d4f03](https://github.com/socketio/socket.io-parser/commit/28d4f0309bdd9e306b78d1946d3e1760941d6544))
## [3.4.1](https://github.com/socketio/socket.io-parser/compare/3.4.0...3.4.1) (2020-05-13)

@@ -2,0 +20,0 @@

29

package.json
{
"name": "socket.io-parser",
"version": "3.4.1",
"version": "4.0.0",
"description": "socket.io protocol parser",

@@ -10,10 +10,9 @@ "repository": {

"files": [
"binary.js",
"index.js",
"is-buffer.js"
"dist/"
],
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"dependencies": {
"debug": "~4.1.0",
"component-emitter": "1.2.1",
"isarray": "2.0.1"
"component-emitter": "~1.3.0",
"debug": "~4.1.0"
},

@@ -23,2 +22,5 @@ "devDependencies": {

"@babel/preset-env": "~7.9.6",
"@types/component-emitter": "^1.2.10",
"@types/debug": "^4.1.5",
"@types/node": "^14.11.1",
"babelify": "~10.0.0",

@@ -28,3 +30,5 @@ "benchmark": "2.1.2",

"mocha": "3.2.0",
"prettier": "^2.1.2",
"socket.io-browsers": "^1.0.0",
"typescript": "^4.0.3",
"zuul": "3.11.1",

@@ -34,5 +38,12 @@ "zuul-ngrok": "4.0.0"

"scripts": {
"test": "make test"
"test": "npm run format:check && tsc && if test \"$BROWSERS\" = \"1\" ; then npm run test:browser; else npm run test:node; fi",
"test:node": "mocha --reporter dot --bail test/index.js",
"test:browser": "zuul test/index.js --no-coverage",
"format:fix": "prettier --write --parser typescript 'lib/**/*.ts' 'test/**/*.js'",
"format:check": "prettier --check --parser typescript 'lib/**/*.ts' 'test/**/*.js'"
},
"license": "MIT"
"license": "MIT",
"engines": {
"node": ">=10.0.0"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc