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

@syncot/connection

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@syncot/connection - npm Package Compare versions

Comparing version 0.0.12 to 0.0.13

4

lib/connection.js

@@ -256,3 +256,5 @@ import { createDisconnectedError, createDuplicateIdError, createInvalidEntityError, createInvalidStreamError, createNoServiceError, } from '@syncot/error';

for (const stream of streams.values()) {
stream.destroy(error);
if (stream.destroyed !== true) {
stream.destroy(error);
}
}

@@ -259,0 +261,0 @@ streams.clear();

@@ -1,2 +0,2 @@

import { SyncOtEmitter } from '@syncot/util';
import { EmitterInterface, SyncOtEmitter } from '@syncot/util';
import { Connection } from './connection';

@@ -16,3 +16,3 @@ import { StreamFactory } from './factory';

*/
export interface StreamManager extends SyncOtEmitter<StreamManagerEvents> {
export interface StreamManager extends EmitterInterface<SyncOtEmitter<StreamManagerEvents>> {
}

@@ -19,0 +19,0 @@ /**

{
"name": "@syncot/connection",
"version": "0.0.12",
"version": "0.0.13",
"description": "An RPC library for communication over Duplex object streams.",

@@ -31,4 +31,4 @@ "keywords": [

"@syncot/error": "^0.0.6",
"@syncot/util": "^0.0.7",
"@types/node": "^10.12.21",
"@syncot/util": "^0.0.8",
"@types/node": "^12.0.4",
"@types/readable-stream": "^2.3.1",

@@ -38,3 +38,3 @@ "readable-stream": "^3.3.0",

},
"gitHead": "f42e7403c10d1236587af99fc13d35b2a27a55ad"
"gitHead": "888dd1570ed3023173b3b5bbafad0f29271b246f"
}
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