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.1.4 to 0.1.5

3

dist/transport/ws.d.ts

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

import type WebSocket from 'ws';
/// <reference types="ws" />
import type WebSocket from 'isomorphic-ws';
import { Transport } from './types';

@@ -3,0 +4,0 @@ import { MessageId, OpaqueTransportMessage, TransportClientId } from './message';

/// <reference types="node" />
import http from 'http';
import WebSocket, { WebSocketServer } from 'ws';
import WebSocket from 'isomorphic-ws';
import { WebSocketServer } from 'ws';
import { Transport } from './types';

@@ -5,0 +6,0 @@ import { OpaqueTransportMessage } from './message';

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

import WebSocket, { WebSocketServer } from 'ws';
import WebSocket from 'isomorphic-ws';
import { WebSocketServer } from 'ws';
import { WebSocketTransport } from './ws';

@@ -3,0 +4,0 @@ export async function createWebSocketServer(server) {

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

@@ -13,2 +13,3 @@ "main": "dist/index.js",

"@sinclair/typebox": "^0.31.8",
"isomorphic-ws": "^5.0.0",
"it-pushable": "^3.2.1",

@@ -15,0 +16,0 @@ "nanoid": "^4.0.2",

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