@stacksjs/path 0.70.160 → 0.70.161
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +0 -8
- package/dist/index.js +0 -5
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -936,13 +936,6 @@ export declare function validationPath(path?: string): string;
|
|
|
936
936
|
* @returns The absolute path to the specified file or directory within the validation directory.
|
|
937
937
|
*/
|
|
938
938
|
export declare function socialsPath(path?: string): string;
|
|
939
|
-
/**
|
|
940
|
-
* Returns the path to the `x-ray` directory within the `stacks` directory of the framework.
|
|
941
|
-
*
|
|
942
|
-
* @param path - The relative path to the file or directory within the x-ray directory.
|
|
943
|
-
* @returns The absolute path to the specified file or directory within the x-ray directory.
|
|
944
|
-
*/
|
|
945
|
-
export declare function xRayPath(path?: string): string;
|
|
946
939
|
/**
|
|
947
940
|
* Returns the path to the home directory, optionally appending a given path.
|
|
948
941
|
*
|
|
@@ -1075,7 +1068,6 @@ export declare interface Path {
|
|
|
1075
1068
|
userEmailsPath: (path?: string) => string
|
|
1076
1069
|
utilsPath: (path?: string) => string
|
|
1077
1070
|
validationPath: (path?: string) => string
|
|
1078
|
-
xRayPath: (path?: string) => string
|
|
1079
1071
|
homeDir: (path?: string) => string
|
|
1080
1072
|
basename: (path: string) => string
|
|
1081
1073
|
delimiter: () => ';' | ':'
|
package/dist/index.js
CHANGED
|
@@ -453,9 +453,6 @@ function validationPath(path) {
|
|
|
453
453
|
function socialsPath(path) {
|
|
454
454
|
return corePath(`socials/${path || ""}`);
|
|
455
455
|
}
|
|
456
|
-
function xRayPath(path) {
|
|
457
|
-
return frameworkPath(`stacks/x-ray/${path || ""}`);
|
|
458
|
-
}
|
|
459
456
|
function homeDir(path) {
|
|
460
457
|
return os.homedir() + (path ? (path.startsWith("/") ? "" : "/") + path : "~");
|
|
461
458
|
}
|
|
@@ -583,7 +580,6 @@ var path = {
|
|
|
583
580
|
userEmailsPath,
|
|
584
581
|
utilsPath,
|
|
585
582
|
validationPath,
|
|
586
|
-
xRayPath,
|
|
587
583
|
homeDir,
|
|
588
584
|
basename,
|
|
589
585
|
delimiter: () => delimiter,
|
|
@@ -599,7 +595,6 @@ var path = {
|
|
|
599
595
|
toNamespacedPath
|
|
600
596
|
};
|
|
601
597
|
export {
|
|
602
|
-
xRayPath,
|
|
603
598
|
viewsPath,
|
|
604
599
|
validationPath,
|
|
605
600
|
utilsPath,
|