socket.io-client
Advanced tools
Comparing version 2.3.1 to 3.0.0-rc1
@@ -0,1 +1,27 @@ | ||
# [3.0.0-rc1](https://github.com/Automattic/socket.io-client/compare/2.3.1...3.0.0-rc1) (2020-10-13) | ||
### Features | ||
* add ES6 module export ([cbabb03](https://github.com/Automattic/socket.io-client/commit/cbabb0308ef4f7d302654755e08fe2103b9f22c8)) | ||
* do not reuse the Engine.IO id ([bbe94ad](https://github.com/Automattic/socket.io-client/commit/bbe94adb822a306c6272e977d394e3e203cae25d)) | ||
* remove the implicit connection to the default namespace ([249e0be](https://github.com/Automattic/socket.io-client/commit/249e0bef9071e7afd785485961c4eef0094254e8)) | ||
* split the events of the Manager and Socket ([132f8ec](https://github.com/Automattic/socket.io-client/commit/132f8ec918a596eec872aee0c61d4ce63714c400)) | ||
* throw upon reserved event names ([6494f61](https://github.com/Automattic/socket.io-client/commit/6494f61be0d38d267d77c30ea4f43941f97b1bc0)) | ||
### BREAKING CHANGES | ||
* the Socket instance will no longer forward the events | ||
of its Manager | ||
Those events can still be accessed on the Manager instance though: | ||
```js | ||
socket.io.on("reconnect", () => { | ||
// ... | ||
}); | ||
``` | ||
## [2.3.1](https://github.com/socketio/socket.io-client/compare/2.3.0...2.3.1) (2020-09-30) | ||
@@ -2,0 +28,0 @@ |
{ | ||
"name": "socket.io-client", | ||
"version": "2.3.1", | ||
"version": "3.0.0-rc1", | ||
"keywords": [ | ||
@@ -12,7 +12,18 @@ "realtime", | ||
], | ||
"main": "./lib/index", | ||
"files": [ | ||
"lib/", | ||
"dist/" | ||
"dist/", | ||
"build/" | ||
], | ||
"type": "commonjs", | ||
"main": "./build/index.js", | ||
"exports": { | ||
"./package.json": "./package.json", | ||
"./dist/socket.io.js": "./dist/socket.io.js", | ||
"./dist/socket.io.js.map": "./dist/socket.io.js.map", | ||
".": { | ||
"import": "./wrapper.mjs", | ||
"require": "./build/index.js" | ||
} | ||
}, | ||
"types": "./build/index.d.ts", | ||
"dependencies": { | ||
@@ -22,38 +33,34 @@ "backo2": "1.0.2", | ||
"component-emitter": "~1.3.0", | ||
"debug": "~3.1.0", | ||
"engine.io-client": "~3.4.0", | ||
"debug": "~4.1.0", | ||
"engine.io-client": "~4.0.0", | ||
"has-binary2": "~1.0.2", | ||
"indexof": "0.0.1", | ||
"parseqs": "0.0.6", | ||
"parseuri": "0.0.6", | ||
"socket.io-parser": "~3.3.0", | ||
"socket.io-parser": "4.0.1-rc1", | ||
"to-array": "0.1.4" | ||
}, | ||
"devDependencies": { | ||
"babel-core": "^6.24.1", | ||
"babel-eslint": "4.1.7", | ||
"babel-loader": "7.0.0", | ||
"@babel/core": "^7.11.6", | ||
"@babel/plugin-transform-object-assign": "^7.10.4", | ||
"@babel/preset-env": "^7.11.5", | ||
"@types/node": "^14.11.2", | ||
"babel-eslint": "^10.1.0", | ||
"babel-loader": "^8.1.0", | ||
"babel-preset-es2015": "6.24.1", | ||
"base64-arraybuffer": "^0.1.5", | ||
"concat-stream": "^1.6.0", | ||
"derequire": "^2.0.6", | ||
"eslint": "^6.8.0", | ||
"eslint-config-standard": "4.4.0", | ||
"eslint-plugin-standard": "1.3.1", | ||
"expect.js": "0.3.1", | ||
"gulp": "^3.9.1", | ||
"gulp-eslint": "1.1.1", | ||
"gulp-file": "^0.3.0", | ||
"gulp-istanbul": "^1.1.1", | ||
"gulp-mocha": "^4.3.1", | ||
"gulp-task-listing": "1.0.1", | ||
"has-cors": "^1.1.0", | ||
"imports-loader": "^0.7.1", | ||
"istanbul": "^0.4.5", | ||
"mocha": "^3.3.0", | ||
"socket.io": "2.3.0", | ||
"prettier": "^2.1.2", | ||
"socket.io": "3.0.0-rc1", | ||
"socket.io-browsers": "^1.0.0", | ||
"strip-loader": "0.1.2", | ||
"text-blob-builder": "0.0.1", | ||
"webpack-merge": "4.1.2", | ||
"webpack-stream": "3.2.0", | ||
"typescript": "^4.0.3", | ||
"webpack": "^4.44.2", | ||
"webpack-cli": "^3.3.12", | ||
"webpack-remove-debug": "^0.1.0", | ||
"zuul": "~3.11.1", | ||
@@ -64,3 +71,10 @@ "zuul-builder-webpack": "^1.2.0", | ||
"scripts": { | ||
"test": "gulp test" | ||
"compile": "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 --require test/support/server.js test/index.js", | ||
"test:browser": "zuul test/index.js", | ||
"build": "npm run compile && webpack --config ./support/webpack.config.js --config ./support/prod.config.js", | ||
"format:check": "prettier --check 'lib/**/*.ts' 'test/**/*.js' 'support/**/*.js'", | ||
"format:fix": "prettier --write 'lib/**/*.ts' 'test/**/*.js' 'support/**/*.js'", | ||
"prepack": "npm run compile" | ||
}, | ||
@@ -89,3 +103,6 @@ "contributors": [ | ||
}, | ||
"license": "MIT" | ||
"license": "MIT", | ||
"engines": { | ||
"node": ">=10.0.0" | ||
} | ||
} |
@@ -36,3 +36,3 @@ | ||
A slim build (without `JSON3`, a JSON polyfill for IE6/IE7, and `debug`) is also available: `socket.io.slim.js`. | ||
A slim build (without [debug](https://github.com/visionmedia/debug)) is also available: `socket.io.slim.js`. | ||
@@ -39,0 +39,0 @@ Socket.IO is compatible with [browserify](http://browserify.org/) and [webpack](https://webpack.js.org/) (see example [there](https://github.com/socketio/socket.io/tree/2.0.3/examples/webpack-build)). |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
10
26
18
728793
6749
2
1
+ Addeddebug@4.1.14.3.7(transitive)
+ Addedengine.io-client@4.0.6(transitive)
+ Addedengine.io-parser@4.0.3(transitive)
+ Addedms@2.1.3(transitive)
+ Addedsocket.io-parser@4.0.1-rc1(transitive)
+ Addedws@7.4.6(transitive)
- Removedparseqs@0.0.6
- Removedafter@0.8.2(transitive)
- Removedarraybuffer.slice@0.0.7(transitive)
- Removedasync-limiter@1.0.1(transitive)
- Removedblob@0.0.5(transitive)
- Removedcomponent-inherit@0.0.3(transitive)
- Removeddebug@3.1.0(transitive)
- Removedengine.io-client@3.4.4(transitive)
- Removedengine.io-parser@2.2.1(transitive)
- Removedms@2.0.0(transitive)
- Removedsocket.io-parser@3.3.4(transitive)
- Removedws@6.1.4(transitive)
Updateddebug@~4.1.0
Updatedengine.io-client@~4.0.0
Updatedsocket.io-parser@4.0.1-rc1