socket.io-parser
Advanced tools
Comparing version 3.4.1 to 4.0.0
@@ -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 @@ |
{ | ||
"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" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21158
2
12
501
14
1
+ Addedcomponent-emitter@1.3.1(transitive)
- Removedisarray@2.0.1
- Removedcomponent-emitter@1.2.1(transitive)
- Removedisarray@2.0.1(transitive)
Updatedcomponent-emitter@~1.3.0