Socket
Socket
Sign inDemoInstall

handle-thing

Package Overview
Dependencies
0
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.1 to 1.2.0

18

lib/handle.js

@@ -50,3 +50,3 @@ var assert = require('assert');

this.emit('_stream');
this.emit('stream', stream);
};

@@ -56,3 +56,3 @@

if (!this._stream) {
this.once('_stream', this.readStart);
this.once('stream', this.readStart);
return 0;

@@ -117,3 +117,3 @@ }

if (!this._stream) {
this.once('_stream', this.readStop);
this.once('stream', this.readStop);
return 0;

@@ -128,3 +128,3 @@ }

if (!this._stream) {
this.once('_stream', function() {
this.once('stream', function() {
this.shutdown(req);

@@ -147,3 +147,3 @@ });

if (!this._stream) {
this.once('_stream', function() {
this.once('stream', function() {
this.shutdown(req);

@@ -165,3 +165,3 @@ });

if (!this._stream) {
this.once('_stream', function() {
this.once('stream', function() {
this.close(callback);

@@ -181,3 +181,3 @@ });

if (!this._stream)
this.once('_stream', this.close);
this.once('stream', this.close);
else if (this._options.close)

@@ -192,3 +192,3 @@ this._options.close(function() {});

if (!this._stream) {
this.once('_stream', function() {
this.once('stream', function() {
this.writeEnc(req, data, enc);

@@ -215,3 +215,3 @@ });

if (!this._stream) {
this.once('_stream', function() {
this.once('stream', function() {
this.writeEnc(data, ignored, enc, req);

@@ -218,0 +218,0 @@ });

{
"name": "handle-thing",
"version": "1.1.1",
"version": "1.2.0",
"description": "Wrap Streams2 instance into a HandleWrap",

@@ -5,0 +5,0 @@ "main": "lib/handle.js",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc