Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

path-string-prepend

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

path-string-prepend - npm Package Compare versions

Comparing version
1.1.2
to
1.1.3
+11
dist/cjs/index.d.cts
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;
+1
-1
{
"name": "path-string-prepend",
"version": "1.1.2",
"version": "1.1.3",
"description": "Prepends a path to a platform-specfic delimited path string and removes duplicate paths",

@@ -5,0 +5,0 @@ "keywords": [