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

react-streaming

Package Overview
Dependencies
Maintainers
1
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-streaming - npm Package Compare versions

Comparing version 0.3.10 to 0.3.11

8

dist/cjs/server/renderToStream/createPipeWrapper.js

@@ -27,3 +27,9 @@ "use strict";

onBeforeWrite(chunk);
writableFromUser.write(chunk, encoding, callback);
if (!writableFromUser.destroyed) {
writableFromUser.write(chunk, encoding, callback);
}
else {
// Destroying twice is fine: https://github.com/brillout/react-streaming/pull/21#issuecomment-1554517163
writableForReact.destroy();
}
},

@@ -30,0 +36,0 @@ final(callback) {

2

dist/cjs/utils/projectInfo.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.projectInfo = void 0;
const PROJECT_VERSION = '0.3.10';
const PROJECT_VERSION = '0.3.11';
exports.projectInfo = {

@@ -6,0 +6,0 @@ projectName: 'react-streaming',

@@ -25,3 +25,9 @@ export { createPipeWrapper };

onBeforeWrite(chunk);
writableFromUser.write(chunk, encoding, callback);
if (!writableFromUser.destroyed) {
writableFromUser.write(chunk, encoding, callback);
}
else {
// Destroying twice is fine: https://github.com/brillout/react-streaming/pull/21#issuecomment-1554517163
writableForReact.destroy();
}
},

@@ -28,0 +34,0 @@ final(callback) {

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

const PROJECT_VERSION = '0.3.10';
const PROJECT_VERSION = '0.3.11';
export const projectInfo = {

@@ -3,0 +3,0 @@ projectName: 'react-streaming',

{
"name": "react-streaming",
"description": "React 18 Streaming. Full-fledged & Easy.",
"version": "0.3.10",
"version": "0.3.11",
"main": "./dist/cjs/server/hooks.js",

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

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