fetch-event-stream
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -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 @@ /** |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package