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

fetch-event-stream

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fetch-event-stream - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

esm/deps/jsr.io/@std/http/0.221.0/server_sent_event_stream.js

2

esm/utils.js

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

import { TextLineStream } from './deps/jsr.io/@std/streams/0.220.1/text_line_stream.js';
import { TextLineStream } from './deps/jsr.io/@std/streams/0.221.0/text_line_stream.js';
export function stream(input) {

@@ -3,0 +3,0 @@ let decoder = new TextDecoderStream();

{
"name": "fetch-event-stream",
"version": "0.1.4",
"description": "A tiny (774b) utility for Server Sent Event (SSE) streaming via `fetch` and Web Streams API",
"version": "0.1.5",
"description": "A tiny (736b) utility for Server Sent Event (SSE) streaming via `fetch` and Web Streams API",
"keywords": [

@@ -6,0 +6,0 @@ "SSE",

<!-- deno-fmt-ignore-file -->
# fetch-event-stream [![CI](https://github.com/lukeed/fetch-event-stream/workflows/CI/badge.svg)](https://github.com/lukeed/fetch-event-stream/actions?query=workflow%3ACI) [![licenses](https://licenses.dev/b/npm/fetch-event-stream)](https://licenses.dev/npm/fetch-event-stream)
> A tiny (774b) utility for Server Sent Event (SSE) streaming via `fetch` and Web Streams API
> A tiny (736b) utility for Server Sent Event (SSE) streaming via `fetch` and Web Streams API

@@ -6,0 +6,0 @@ * Allows any HTTP method

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.fallback = exports.split = exports.stream = void 0;
const text_line_stream_js_1 = require("./deps/jsr.io/@std/streams/0.220.1/text_line_stream.js");
const text_line_stream_js_1 = require("./deps/jsr.io/@std/streams/0.221.0/text_line_stream.js");
function stream(input) {

@@ -6,0 +6,0 @@ let decoder = new TextDecoderStream();

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

import type { ServerSentEventMessage } from './deps/jsr.io/@std/http/0.220.1/server_sent_event_stream.js';
import type { ServerSentEventMessage } from './deps/jsr.io/@std/http/0.221.0/server_sent_event_stream.js';
export type { ServerSentEventMessage };

@@ -3,0 +3,0 @@ /**

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