Socket
Socket
Sign inDemoInstall

@feathersjs/socketio

Package Overview
Dependencies
33
Maintainers
3
Versions
121
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.0.0-pre.31 to 5.0.0-pre.32

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [5.0.0-pre.32](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.31...v5.0.0-pre.32) (2022-10-26)
### Bug Fixes
- **authentication:** Improve logout and disconnect connection handling ([#2813](https://github.com/feathersjs/feathers/issues/2813)) ([dd77379](https://github.com/feathersjs/feathers/commit/dd77379d8bdcd32d529bef912e672639e4899823))
- **docs:** Review transport API docs and update Express middleware setup ([#2811](https://github.com/feathersjs/feathers/issues/2811)) ([1b97f14](https://github.com/feathersjs/feathers/commit/1b97f14d474f5613482f259eeaa585c24fcfab43))
### Features
- **cli:** Add authentication client to generated client ([#2801](https://github.com/feathersjs/feathers/issues/2801)) ([bd59f91](https://github.com/feathersjs/feathers/commit/bd59f91b45a01c2eea0c4386e567f4de5aa6ad99))
# [5.0.0-pre.31](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.30...v5.0.0-pre.31) (2022-10-12)

@@ -8,0 +19,0 @@

2

lib/index.d.ts

@@ -7,3 +7,3 @@ /// <reference types="node" />

interface Application<Services, Settings> {
io: Server;
io: any;
listen(options: any): Promise<http.Server>;

@@ -10,0 +10,0 @@ }

@@ -7,3 +7,3 @@ "use strict";

const disconnect = (app, getParams) => (socket, next) => {
socket.once('disconnect', () => app.emit('disconnect', getParams(socket)));
socket.on('disconnect', () => app.emit('disconnect', getParams(socket)));
next();

@@ -10,0 +10,0 @@ };

{
"name": "@feathersjs/socketio",
"description": "The Feathers Socket.io real-time API provider",
"version": "5.0.0-pre.31",
"version": "5.0.0-pre.32",
"homepage": "https://feathersjs.com",

@@ -56,11 +56,11 @@ "main": "lib/",

"dependencies": {
"@feathersjs/commons": "^5.0.0-pre.31",
"@feathersjs/feathers": "^5.0.0-pre.31",
"@feathersjs/transport-commons": "^5.0.0-pre.31",
"@feathersjs/commons": "^5.0.0-pre.32",
"@feathersjs/feathers": "^5.0.0-pre.32",
"@feathersjs/transport-commons": "^5.0.0-pre.32",
"socket.io": "^4.5.2"
},
"devDependencies": {
"@feathersjs/express": "^5.0.0-pre.31",
"@feathersjs/memory": "^5.0.0-pre.31",
"@feathersjs/tests": "^5.0.0-pre.31",
"@feathersjs/express": "^5.0.0-pre.32",
"@feathersjs/memory": "^5.0.0-pre.32",
"@feathersjs/tests": "^5.0.0-pre.32",
"@types/mocha": "^10.0.0",

@@ -74,3 +74,3 @@ "@types/node": "^18.8.2",

},
"gitHead": "4500dbeb8cea566678cf88b3313a88efd93a2ed9"
"gitHead": "b405e205fc6d9fbd42b42c7a3f30ea4bf33d121d"
}

@@ -14,4 +14,3 @@ import http from 'http'

interface Application<Services, Settings> {
// eslint-disable-line
io: Server
io: any
listen(options: any): Promise<http.Server>

@@ -18,0 +17,0 @@ }

@@ -15,3 +15,3 @@ import { Application, Params } from '@feathersjs/feathers'

(app: Application, getParams: ParamsGetter) => (socket: FeathersSocket, next: NextFunction) => {
socket.once('disconnect', () => app.emit('disconnect', getParams(socket)))
socket.on('disconnect', () => app.emit('disconnect', getParams(socket)))
next()

@@ -18,0 +18,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc