You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
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

Comparing version 4.0.1 to 4.0.2

8

CHANGELOG.md

@@ -0,1 +1,9 @@

## [4.0.2](https://github.com/socketio/socket.io-parser/compare/4.0.1...4.0.2) (2020-11-25)
### Bug Fixes
* move @types/component-emitter to dependencies ([#99](https://github.com/socketio/socket.io-parser/issues/99)) ([4efa005](https://github.com/socketio/socket.io-parser/commit/4efa005846ae15ecc7fb0a7f27141439113b1179))
## [4.0.1](https://github.com/socketio/socket.io-parser/compare/3.4.1...4.0.1) (2020-11-05)

@@ -2,0 +10,0 @@

10

package.json
{
"name": "socket.io-parser",
"version": "4.0.1",
"version": "4.0.2",
"description": "socket.io protocol parser",

@@ -16,2 +16,3 @@ "repository": {

"component-emitter": "~1.3.0",
"@types/component-emitter": "^1.2.10",
"debug": "~4.1.0"

@@ -22,3 +23,2 @@ },

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

@@ -31,2 +31,3 @@ "@types/node": "^14.11.1",

"prettier": "^2.1.2",
"rimraf": "^3.0.2",
"socket.io-browsers": "^1.0.0",

@@ -38,3 +39,4 @@ "typescript": "^4.0.3",

"scripts": {
"test": "npm run format:check && tsc && if test \"$BROWSERS\" = \"1\" ; then npm run test:browser; else npm run test:node; fi",
"compile": "rimraf ./dist && tsc",
"test": "npm run format:check && npm run compile && if test \"$BROWSERS\" = \"1\" ; then npm run test:browser; else npm run test:node; fi",
"test:node": "mocha --reporter dot --bail test/index.js",

@@ -44,3 +46,3 @@ "test:browser": "zuul test/index.js --no-coverage",

"format:check": "prettier --check --parser typescript 'lib/**/*.ts' 'test/**/*.js'",
"prepack": "tsc"
"prepack": "npm run compile"
},

@@ -47,0 +49,0 @@ "license": "MIT",

10

Readme.md

@@ -7,3 +7,3 @@

A socket.io encoder and decoder written in JavaScript complying with version `4`
A socket.io encoder and decoder written in JavaScript complying with version `5`
of [socket.io-protocol](https://github.com/socketio/socket.io-protocol).

@@ -13,2 +13,10 @@ Used by [socket.io](https://github.com/automattic/socket.io) and

Compatibility table:
| Parser version | Socket.IO server version | Protocol revision |
|----------------| ------------------------ | ----------------- |
| 3.x | 1.x / 2.x | 4 |
| 4.x | 3.x | 5 |
## Parser API

@@ -15,0 +23,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc