Compare commits

...

4 Commits

Author SHA1 Message Date
55fc30139f 5.0.17 2024-04-22 18:41:58 +02:00
be85880e54 fix(core): update 2024-04-22 18:41:58 +02:00
ebc523cb9f 5.0.16 2024-04-20 10:17:51 +02:00
6fae04e92a fix(core): update 2024-04-20 10:17:51 +02:00
4 changed files with 7 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@push.rocks/smartpath",
"version": "5.0.15",
"version": "5.0.17",
"private": false,
"description": "A library offering smart ways to handle file and directory paths.",
"main": "dist_ts/index.js",

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@push.rocks/smartpath',
version: '5.0.15',
version: '5.0.17',
description: 'A library offering smart ways to handle file and directory paths.'
}

View File

@ -1,3 +1,5 @@
import * as plugins from './smartpath.plugins.js';
// import modules
import * as check from './smartpath.check.js';
import * as get from './smartpath.get.js';
@ -5,4 +7,6 @@ import * as transform from './smartpath.transform.js';
export { check, get, transform };
export const join = (...args: string[]) => plugins.path.join(...args);
export * from './smartpath.classes.smartpath.js';

View File

@ -22,7 +22,7 @@ export const dirnameFromImportMetaUrl = (importMetaUrlArg: string) => {
};
export const dirname = (pathArg: string) => {
return dirnameFromImportMetaUrl(pathArg);
return plugins.path.dirname(pathArg);
}
/**