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

@yarnpkg/fslib

Package Overview
Dependencies
Maintainers
6
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yarnpkg/fslib - npm Package Compare versions

Comparing version 3.0.0-rc.33 to 3.0.0-rc.34

2

lib/patchFs/FileHandle.d.ts
/// <reference types="node" />
/// <reference types="node" />
/// <reference types="node" />
/// <reference types="node" />
import type { BigIntStats, ReadStream, StatOptions, Stats, WriteStream, WriteVResult } from 'fs';

@@ -81,2 +82,3 @@ import type { CreateReadStreamOptions, CreateWriteStreamOptions, FakeFS } from '../FakeFS';

} | BufferEncoding): Promise<string>;
readLines(options?: CreateReadStreamOptions): import("readline").Interface;
stat(opts?: StatOptions & {

@@ -83,0 +85,0 @@ bigint?: false | undefined;

@@ -5,2 +5,3 @@ "use strict";

exports.FileHandle = void 0;
const readline_1 = require("readline");
const kBaseFs = Symbol(`kBaseFs`);

@@ -113,2 +114,8 @@ const kFd = Symbol(`kFd`);

}
readLines(options) {
return (0, readline_1.createInterface)({
input: this.createReadStream(options),
crlfDelay: Infinity,
});
}
async stat(opts) {

@@ -115,0 +122,0 @@ try {

6

package.json
{
"name": "@yarnpkg/fslib",
"version": "3.0.0-rc.33",
"stableVersion": "2.8.0",
"version": "3.0.0-rc.34",
"stableVersion": "2.10.0",
"license": "BSD-2-Clause",

@@ -16,3 +16,3 @@ "main": "./lib/index.js",

"devDependencies": {
"@yarnpkg/libzip": "^3.0.0-rc.33"
"@yarnpkg/libzip": "^3.0.0-rc.34"
},

@@ -19,0 +19,0 @@ "scripts": {

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