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

@replit/river

Package Overview
Dependencies
Maintainers
29
Versions
162
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@replit/river - npm Package Compare versions

Comparing version 0.10.13 to 0.11.0

dist/chunk-GKPT5YQE.js

12

dist/transport/impls/stdio/stdio.js
import {
StreamConnection,
createDelimitedStream
} from "../../../chunk-3MQETIGZ.js";
MessageFramer,
StreamConnection
} from "../../../chunk-GKPT5YQE.js";
import "../../../chunk-ORAG7IAU.js";

@@ -33,4 +33,4 @@ import {

super(options.codec, clientId);
const delimStream = createDelimitedStream();
this.input = input.pipe(delimStream);
const framedMessageStream = MessageFramer.createFramedStream();
this.input = input.pipe(framedMessageStream);
this.output = output;

@@ -47,3 +47,3 @@ let conn = void 0;

const cleanup = () => {
delimStream.destroy();
framedMessageStream.destroy();
if (conn) {

@@ -50,0 +50,0 @@ this.onDisconnect(conn);

import {
StreamConnection,
createDelimitedStream
} from "../../../chunk-3MQETIGZ.js";
MessageFramer,
StreamConnection
} from "../../../chunk-GKPT5YQE.js";
import "../../../chunk-ORAG7IAU.js";

@@ -42,4 +42,4 @@ import "../../../chunk-WVT5QXMZ.js";

const conn = new StreamConnection(this, to, sock);
const delimStream = createDelimitedStream();
sock.pipe(delimStream).on("data", (data) => {
const framedMessageStream = MessageFramer.createFramedStream();
sock.pipe(framedMessageStream).on("data", (data) => {
const parsedMsg = this.parseMsg(data);

@@ -51,3 +51,3 @@ if (parsedMsg) {

const cleanup = () => {
delimStream.destroy();
framedMessageStream.destroy();
if (conn) {

@@ -54,0 +54,0 @@ this.onDisconnect(conn);

import {
StreamConnection,
createDelimitedStream
} from "../../../chunk-3MQETIGZ.js";
MessageFramer,
StreamConnection
} from "../../../chunk-GKPT5YQE.js";
import "../../../chunk-ORAG7IAU.js";

@@ -35,4 +35,4 @@ import "../../../chunk-WVT5QXMZ.js";

let conn = void 0;
const delimStream = createDelimitedStream();
sock.pipe(delimStream).on("data", (data) => {
const framedMessageStream = MessageFramer.createFramedStream();
sock.pipe(framedMessageStream).on("data", (data) => {
const parsedMsg = this.parseMsg(data);

@@ -49,3 +49,3 @@ if (!parsedMsg) {

const cleanup = () => {
delimStream.destroy();
framedMessageStream.destroy();
if (conn) {

@@ -52,0 +52,0 @@ this.onDisconnect(conn);

{
"name": "@replit/river",
"description": "It's like tRPC but... with JSON Schema Support, duplex streaming and support for service multiplexing. Transport agnostic!",
"version": "0.10.13",
"version": "0.11.0",
"type": "module",

@@ -6,0 +6,0 @@ "exports": {

Sorry, the diff of this file is not supported yet

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc