Socket
Socket
Sign inDemoInstall

@file-services/overlay

Package Overview
Dependencies
Maintainers
4
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@file-services/overlay - npm Package Compare versions

Comparing version 5.2.0 to 5.2.1

6

package.json
{
"name": "@file-services/overlay",
"description": "Overlay files and directories from one file system on top of another.",
"version": "5.2.0",
"version": "5.2.1",
"main": "dist/index.js",

@@ -12,4 +12,4 @@ "scripts": {

"dependencies": {
"@file-services/types": "^5.2.0",
"@file-services/utils": "^5.2.0"
"@file-services/types": "^5.2.1",
"@file-services/utils": "^5.2.1"
},

@@ -16,0 +16,0 @@ "files": [

@@ -9,2 +9,3 @@ import type {

IDirectoryEntry,
BufferEncoding,
} from '@file-services/types';

@@ -242,3 +243,3 @@ import { createFileSystem } from '@file-services/utils';

path: string,
options: string | { encoding?: string | null; flag?: string } | undefined | null | CallbackFn<Buffer>,
options?: ReadFileOptions | CallbackFn<Buffer>,
callback?: CallbackFn<string> | CallbackFn<Buffer> | CallbackFn<string | Buffer>

@@ -256,9 +257,9 @@ ): void {

if (upperError) {
lowerFs.readFile(resolvedLowerPath, options as string, callback as CallbackFn<Buffer | string>);
lowerFs.readFile(resolvedLowerPath, options as BufferEncoding, callback as CallbackFn<string | Buffer>);
} else {
(callback as CallbackFn<Buffer | string>)(upperError, upperValue);
(callback as CallbackFn<string | Buffer>)(upperError, upperValue);
}
});
} else {
lowerFs.readFile(resolvedLowerPath, options, callback as CallbackFn<Buffer | string>);
lowerFs.readFile(resolvedLowerPath, options, callback as CallbackFn<string | Buffer>);
}

@@ -265,0 +266,0 @@ },

Sorry, the diff of this file is not supported yet

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