Socket
Socket
Sign inDemoInstall

@file-services/utils

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@file-services/utils - npm Package Compare versions

Comparing version 0.4.6 to 0.4.7

6

cjs/directory-fs.js

@@ -74,2 +74,8 @@ "use strict";

watchService: scopedWatchService,
async copyFile(src, dest, flags) {
return fs.copyFile(joinPath(src), joinPath(dest), flags);
},
copyFileSync(src, dest, flags) {
return fs.copyFileSync(joinPath(src), joinPath(dest), flags);
},
async lstat(path) {

@@ -76,0 +82,0 @@ return fs.lstat(joinPath(path));

3

cjs/sync-to-async-fs.js

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

return syncFs.renameSync(path, newPath);
},
async copyFile(src, dest, flags) {
return syncFs.copyFileSync(src, dest, flags);
}

@@ -42,0 +45,0 @@ };

@@ -69,2 +69,8 @@ import pathMain from 'path';

watchService: scopedWatchService,
async copyFile(src, dest, flags) {
return fs.copyFile(joinPath(src), joinPath(dest), flags);
},
copyFileSync(src, dest, flags) {
return fs.copyFileSync(joinPath(src), joinPath(dest), flags);
},
async lstat(path) {

@@ -71,0 +77,0 @@ return fs.lstat(joinPath(path));

@@ -38,2 +38,5 @@ export function syncToAsyncFs(syncFs) {

return syncFs.renameSync(path, newPath);
},
async copyFile(src, dest, flags) {
return syncFs.copyFileSync(src, dest, flags);
}

@@ -40,0 +43,0 @@ };

8

package.json
{
"name": "@file-services/utils",
"description": "Common file system utility functions.",
"version": "0.4.6",
"version": "0.4.7",
"main": "cjs/index.js",

@@ -17,6 +17,6 @@ "module": "esm/index.js",

"dependencies": {
"@file-services/types": "^0.4.6"
"@file-services/types": "^0.4.7"
},
"devDependencies": {
"@file-services/test-kit": "^0.4.6"
"@file-services/test-kit": "^0.4.7"
},

@@ -35,3 +35,3 @@ "files": [

"sideEffects": false,
"gitHead": "e8d923d4e5bd5553276b195acd5a9d794eb733c0"
"gitHead": "801ee42213735758dfacaedcf14537635f89e3d0"
}

@@ -77,2 +77,8 @@ import { IBaseFileSystem, IFileSystem, WatchEventListener, IWatchService } from '@file-services/types'

watchService: scopedWatchService,
async copyFile(src, dest, flags) {
return fs.copyFile(joinPath(src), joinPath(dest), flags)
},
copyFileSync(src, dest, flags) {
return fs.copyFileSync(joinPath(src), joinPath(dest), flags)
},
async lstat(path) {

@@ -79,0 +85,0 @@ return fs.lstat(joinPath(path))

@@ -51,4 +51,8 @@ import { IBaseFileSystemSync, IBaseFileSystemAsync } from '@file-services/types'

return syncFs.renameSync(path, newPath)
},
async copyFile(src, dest, flags) {
return syncFs.copyFileSync(src, dest, flags)
}
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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