fix(core): update

This commit is contained in:
Philipp Kunz 2024-06-06 23:33:35 +02:00
parent 26a67d9662
commit 477736da82
3 changed files with 6 additions and 6 deletions

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@push.rocks/smartfile', name: '@push.rocks/smartfile',
version: '11.0.17', version: '11.0.18',
description: 'Provides comprehensive tools for efficient file management in Node.js using TypeScript, including handling streams, virtual directories, and various file operations.' description: 'Provides comprehensive tools for efficient file management in Node.js using TypeScript, including handling streams, virtual directories, and various file operations.'
} }

View File

@ -486,7 +486,6 @@ export let toFs = async (
return await done.promise; return await done.promise;
}; };
export const stat = async (filePathArg: string) => {
return plugins.fsPromises.stat(filePathArg);
}

View File

@ -1,9 +1,10 @@
// node native scope // node native scope
import * as fs from 'fs'; import * as fs from 'fs';
import * as fsPromises from 'fs/promises';
import * as path from 'path'; import * as path from 'path';
import * as stream from 'stream'; import * as stream from 'stream';
export { fs, path, stream }; export { fs, fsPromises, path, stream };
// @pushrocks scope // @pushrocks scope
import * as lik from '@push.rocks/lik'; import * as lik from '@push.rocks/lik';