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.22 to 3.0.0-rc.23

lib/NodePathFS.d.ts

6

lib/patchFs/patchFs.js

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

const util_1 = require("util");
const URLFS_1 = require("../URLFS");
const NodePathFS_1 = require("../NodePathFS");
const FileHandle_1 = require("./FileHandle");

@@ -79,4 +79,4 @@ const SYNC_IMPLEMENTATIONS = new Set([

function patchFs(patchedFs, fakeFs) {
// We wrap the `fakeFs` with a `URLFS` to add support for URL instances
fakeFs = new URLFS_1.URLFS(fakeFs);
// We wrap the `fakeFs` with a `NodePathFS` to add support for all path types supported by Node
fakeFs = new NodePathFS_1.NodePathFS(fakeFs);
const setupFn = (target, name, replacement) => {

@@ -83,0 +83,0 @@ const orig = target[name];

{
"name": "@yarnpkg/fslib",
"version": "3.0.0-rc.22",
"stableVersion": "2.7.0",
"version": "3.0.0-rc.23",
"stableVersion": "2.8.0",
"license": "BSD-2-Clause",

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

"devDependencies": {
"@yarnpkg/libzip": "^3.0.0-rc.22"
"@yarnpkg/libzip": "^3.0.0-rc.23"
},

@@ -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