Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
87454d41da | |||
97ae2d87b1 | |||
e23624a93f | |||
7183fcc00a |
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@pushrocks/smartpath",
|
||||
"version": "5.0.1",
|
||||
"version": "5.0.3",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@pushrocks/smartpath",
|
||||
"version": "5.0.1",
|
||||
"version": "5.0.3",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"@gitzone/tsbuild": "^2.1.48",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@pushrocks/smartpath",
|
||||
"version": "5.0.1",
|
||||
"version": "5.0.3",
|
||||
"private": false,
|
||||
"description": "offers smart ways to handle paths",
|
||||
"main": "dist_ts/index.js",
|
||||
|
@ -16,7 +16,7 @@ export const type = (pathStringArg: string): TPathType => {
|
||||
/**
|
||||
* gets the dirname from import.meta.url
|
||||
*/
|
||||
export const getDirnameFromImportMetaUrl = (importMetaUrlArg: string) => {
|
||||
export const dirnameFromImportMetaUrl = (importMetaUrlArg: string) => {
|
||||
return plugins.path.dirname(plugins.url.fileURLToPath(importMetaUrlArg));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user