path-string-prepend
Advanced tools
+2
-2
| { | ||
| "name": "path-string-prepend", | ||
| "version": "1.1.1", | ||
| "version": "1.1.2", | ||
| "description": "Prepends a path to a platform-specfic delimited path string and removes duplicate paths", | ||
@@ -26,3 +26,3 @@ "keywords": [ | ||
| "main": "dist/cjs/index.js", | ||
| "types": "dist/cjs/index.d.cts", | ||
| "types": "dist/cjs/index.d.ts", | ||
| "files": [ | ||
@@ -29,0 +29,0 @@ "dist" |
| export interface PrependResult { | ||
| added: string[]; | ||
| removed: string[]; | ||
| path: string; | ||
| } | ||
| export interface PrependOptions { | ||
| delimiter?: string; | ||
| filter?: (_path?: string) => boolean; | ||
| changes?: boolean; | ||
| } | ||
| export default function prepend(pathString: string, prependPath: string, options?: PrependOptions): PrependResult | string; |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
12093
-2.79%11
-8.33%