@yarnpkg/fslib
Advanced tools
Comparing version 3.0.0-rc.22 to 3.0.0-rc.23
@@ -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": { |
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
220422
5651