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

react-streaming

Package Overview
Dependencies
Maintainers
0
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.42 to 0.3.43

dist/cjs/utils/PROJECT_VERSION.d.ts

10

dist/cjs/server/renderToStream.d.ts

@@ -5,3 +5,3 @@ export { renderToStream };

export { renderToWebStream_set };
export type { StreamUtils };
export type { StreamReturnUtils };
export type { SetAbortFn };

@@ -29,3 +29,3 @@ export type { ClearTimeouts };

};
declare type StreamReturn = {
declare type StreamReturnMain = {
pipe: Pipe;

@@ -37,3 +37,3 @@ readable: null;

};
declare type StreamUtils = {
declare type StreamReturnUtils = {
injectToStream: InjectToStream;

@@ -43,3 +43,3 @@ hasStreamEnded: () => boolean;

};
declare type Return = StreamReturn & StreamUtils & {
declare type StreamReturn = StreamReturnMain & StreamReturnUtils & {
streamEnd: Promise<boolean>;

@@ -53,4 +53,4 @@ disabled: boolean;

declare function disable(): void;
declare function renderToStream(element: React.ReactNode, options?: Options): Promise<Return>;
declare function renderToStream(element: React.ReactNode, options?: Options): Promise<StreamReturn>;
declare function renderToNodeStream_set(renderToNodeStream: typeof renderToNodeStream_): void;
declare function renderToWebStream_set(renderToWebStream: typeof renderToWebStream_): void;
export { useStream };
export { StreamProvider };
import React from 'react';
import type { StreamUtils } from './renderToStream';
declare const StreamProvider: React.Provider<StreamUtils | null>;
declare function useStream(): StreamUtils | null;
import type { StreamReturnUtils } from './renderToStream';
declare const StreamProvider: React.Provider<StreamReturnUtils | null>;
declare function useStream(): StreamReturnUtils | null;

@@ -5,6 +5,6 @@ "use strict";

const getGlobalObject_1 = require("./getGlobalObject");
const PROJECT_VERSION = '0.3.42';
const PROJECT_VERSION_1 = require("./PROJECT_VERSION");
const projectInfo = {
projectName: 'react-streaming',
projectVersion: PROJECT_VERSION,
projectVersion: PROJECT_VERSION_1.PROJECT_VERSION,
npmPackageName: 'react-streaming',

@@ -11,0 +11,0 @@ githubRepository: 'https://github.com/brillout/react-streaming',

@@ -5,3 +5,3 @@ export { renderToStream };

export { renderToWebStream_set };
export type { StreamUtils };
export type { StreamReturnUtils };
export type { SetAbortFn };

@@ -29,3 +29,3 @@ export type { ClearTimeouts };

};
declare type StreamReturn = {
declare type StreamReturnMain = {
pipe: Pipe;

@@ -37,3 +37,3 @@ readable: null;

};
declare type StreamUtils = {
declare type StreamReturnUtils = {
injectToStream: InjectToStream;

@@ -43,3 +43,3 @@ hasStreamEnded: () => boolean;

};
declare type Return = StreamReturn & StreamUtils & {
declare type StreamReturn = StreamReturnMain & StreamReturnUtils & {
streamEnd: Promise<boolean>;

@@ -53,4 +53,4 @@ disabled: boolean;

declare function disable(): void;
declare function renderToStream(element: React.ReactNode, options?: Options): Promise<Return>;
declare function renderToStream(element: React.ReactNode, options?: Options): Promise<StreamReturn>;
declare function renderToNodeStream_set(renderToNodeStream: typeof renderToNodeStream_): void;
declare function renderToWebStream_set(renderToWebStream: typeof renderToWebStream_): void;
export { useStream };
export { StreamProvider };
import React from 'react';
import type { StreamUtils } from './renderToStream';
declare const StreamProvider: React.Provider<StreamUtils | null>;
declare function useStream(): StreamUtils | null;
import type { StreamReturnUtils } from './renderToStream';
declare const StreamProvider: React.Provider<StreamReturnUtils | null>;
declare function useStream(): StreamReturnUtils | null;
export { projectInfo };
import { getGlobalObject } from './getGlobalObject';
const PROJECT_VERSION = '0.3.42';
import { PROJECT_VERSION } from './PROJECT_VERSION';
const projectInfo = {

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

{
"name": "react-streaming",
"description": "React 18 Streaming. Full-fledged & Easy.",
"version": "0.3.42",
"version": "0.3.43",
"peerDependencies": {

@@ -71,3 +71,3 @@ "react": ">=18",

"@brillout/part-regex": "^0.1.2",
"@brillout/release-me": "^0.3.8",
"@brillout/release-me": "^0.4.0",
"@types/node": "^15.12.2",

@@ -74,0 +74,0 @@ "@types/react": "^18.0.9",

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