@file-services/utils
Advanced tools
Comparing version 5.3.1 to 5.4.0
@@ -1,4 +0,4 @@ | ||
export * from './create-extended-api'; | ||
export * from './set-multi-map'; | ||
export * from './sync-to-async-fs'; | ||
export * from './create-extended-api.js'; | ||
export * from './set-multi-map.js'; | ||
export * from './sync-to-async-fs.js'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -13,5 +13,5 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./create-extended-api"), exports); | ||
__exportStar(require("./set-multi-map"), exports); | ||
__exportStar(require("./sync-to-async-fs"), exports); | ||
__exportStar(require("./create-extended-api.js"), exports); | ||
__exportStar(require("./set-multi-map.js"), exports); | ||
__exportStar(require("./sync-to-async-fs.js"), exports); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@file-services/utils", | ||
"description": "Common file system utility functions.", | ||
"version": "5.3.1", | ||
"version": "5.4.0", | ||
"main": "dist/index.js", | ||
"dependencies": { | ||
"@file-services/types": "^5.3.1" | ||
"@file-services/types": "^5.4.0" | ||
}, | ||
@@ -9,0 +9,0 @@ "files": [ |
@@ -1,3 +0,3 @@ | ||
export * from './create-extended-api'; | ||
export * from './set-multi-map'; | ||
export * from './sync-to-async-fs'; | ||
export * from './create-extended-api.js'; | ||
export * from './set-multi-map.js'; | ||
export * from './sync-to-async-fs.js'; |
@@ -66,3 +66,3 @@ import type { | ||
readdir: callbackify(syncFs.readdirSync) as IBaseFileSystemAsync['readdir'], | ||
mkdir: (callbackify(syncFs.mkdirSync) as unknown) as IBaseFileSystemAsync['mkdir'], | ||
mkdir: callbackify(syncFs.mkdirSync) as unknown as IBaseFileSystemAsync['mkdir'], | ||
rmdir: callbackify(syncFs.rmdirSync), | ||
@@ -84,8 +84,8 @@ stat: callbackify(syncFs.statSync), | ||
try { | ||
const result = fn(...((args as unknown) as [...T])); | ||
const result = fn(...(args as unknown as [...T])); | ||
callback(null, result); | ||
} catch (e) { | ||
(callback as CallbackFnVoid)(e); | ||
(callback as CallbackFnVoid)(e as Error | undefined | null); | ||
} | ||
}; | ||
} |
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
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
59726
Updated@file-services/types@^5.4.0