New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

socket.io-client-xcontrol

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

socket.io-client-xcontrol - npm Package Compare versions

Comparing version 0.0.0 to 0.0.1

5

package.json
{
"name": "socket.io-client-xcontrol",
"version": "0.0.0",
"version": "0.0.1",
"description": "A Controller for the socket.io client",

@@ -27,3 +27,4 @@ "main": "src/index.js",

"peerDependencies": {
"xcontrol": "^0.1.4"
"xcontrol": "^0.1.4",
"socket.io-client": "^2.1.0"
},

@@ -30,0 +31,0 @@ "devDependencies": {

2

src/index.js

@@ -25,3 +25,3 @@ export default (Controller, methods = []) => {

socket.emit(eventName, args)
Controller.prototype[methodName](args)
Controller.prototype[methodName](...args)
}

@@ -28,0 +28,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