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

line-async-iterator

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

line-async-iterator - npm Package Compare versions

Comparing version 3.0.0 to 5.0.0

2

dist/index.d.ts

@@ -5,2 +5,2 @@ /// <reference types="node" />

import { Readable } from 'stream';
export default function createLineIterator(stream: Readable | tty.ReadStream): AsyncGenerator<string, void, unknown>;
export declare function createLineIterator(stream: Readable | tty.ReadStream): AsyncGenerator<string, void, unknown>;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createLineIterator = void 0;
async function* createLineIterator(stream) {

@@ -16,3 +17,3 @@ let leftover = '';

}
exports.default = createLineIterator;
exports.createLineIterator = createLineIterator;
//# sourceMappingURL=index.js.map
{
"name": "line-async-iterator",
"version": "3.0.0",
"version": "5.0.0",
"description": "Async Iterator for every line of a Readable Stream",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

import tty from 'tty';
import { Readable } from 'stream';
export default async function* createLineIterator(
export async function* createLineIterator(
stream: Readable | tty.ReadStream

@@ -6,0 +6,0 @@ ) {

Sorry, the diff of this file is not supported yet

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