🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@cyberalien/git-utils

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cyberalien/git-utils - npm Package Compare versions

Comparing version
0.0.8
to
0.0.9
+1
-1
lib/misc/write.d.ts
/**
* Create file, including creating directory if it doesn't exist
*/
declare function createFile(target: string, content: string): Promise<void>;
declare function createFile(target: string, content: string | Buffer): Promise<void>;
export { createFile };

@@ -11,4 +11,4 @@ import { dirname } from "node:path";

} catch {}
await writeFile(target, content, "utf8");
await writeFile(target, content, typeof content === "string" ? "utf8" : void 0);
}
export { createFile };

@@ -6,3 +6,3 @@ {

"author": "Vjacheslav Trushkin",
"version": "0.0.8",
"version": "0.0.9",
"license": "UNLICENSED",

@@ -22,3 +22,3 @@ "homepage": "https://cyberalien.dev/",

"tsdown": "^0.21.9",
"typescript": "^5.9.3",
"typescript": "^6.0.3",
"vitest": "^4.1.4"

@@ -25,0 +25,0 @@ },