Compare commits

..

7 Commits

Author SHA1 Message Date
87454d41da 5.0.3 2022-03-14 15:15:23 +01:00
97ae2d87b1 fix(core): update 2022-03-14 15:15:23 +01:00
e23624a93f 5.0.2 2022-03-14 13:39:01 +01:00
7183fcc00a fix(core): update 2022-03-14 13:39:01 +01:00
9fad6100f0 5.0.1 2022-03-14 13:38:32 +01:00
d0e3065d12 fix(core): update 2022-03-14 13:38:32 +01:00
5245e50f3d 5.0.0 2022-03-14 13:27:15 +01:00
4 changed files with 5 additions and 5 deletions

View File

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@pushrocks/smartpath",
"version": "4.0.4",
"version": "5.0.3",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@pushrocks/smartpath",
"version": "4.0.4",
"version": "5.0.3",
"license": "MIT",
"devDependencies": {
"@gitzone/tsbuild": "^2.1.48",

View File

@ -1,6 +1,6 @@
{
"name": "@pushrocks/smartpath",
"version": "4.0.4",
"version": "5.0.3",
"private": false,
"description": "offers smart ways to handle paths",
"main": "dist_ts/index.js",

View File

@ -16,8 +16,8 @@ export const type = (pathStringArg: string): TPathType => {
/**
* gets the dirname from import.meta.url
*/
export const getDirnameFromImportMetaUrl = () => {
export const dirnameFromImportMetaUrl = (importMetaUrlArg: string) => {
return plugins.path.dirname(plugins.url.fileURLToPath(importMetaUrlArg));
}
/**