Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

connection

Package Overview
Dependencies
Maintainers
3
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

connection - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

6

History.md
1.1.0 / 2019-08-02
==================
**features**
* [[`f518e35`](http://github.com/node-modules/connection/commit/f518e351dc6e7d7069e15d42e692d7b9c083c5e4)] - feat: oneway should throw encode error (killagu <<killa123@126.com>>)
1.0.0 / 2019-03-19

@@ -3,0 +9,0 @@ ==================

5

lib/connection.js

@@ -14,3 +14,3 @@ 'use strict';

/**
* @constructor
* @class
* @param {object} options -

@@ -43,2 +43,3 @@ * @param {Socket} options.socket -

this.buildErrorNames(this.protocol.name || DEFAULT_ERROR_PREFIX);
this.on('error', err => this.logger.error(err));
}

@@ -108,3 +109,3 @@

err.resultCode = '02';
this.logger.error(err);
this.emit('error', err);
}

@@ -111,0 +112,0 @@ });

4

package.json
{
"name": "connection",
"version": "1.0.0",
"version": "1.1.0",
"description": "wrap for socket",

@@ -55,4 +55,4 @@ "dependencies": {

"ci": {
"version": "8, 10, 11"
"version": "8, 10, 12"
}
}
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