Skip to content

Commit 96976d5

Browse files
committed
docs: add socket.dev link to safeDelete/safeDeleteSync JSDoc
1 parent 8568370 commit 96976d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/fs.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1203,7 +1203,7 @@ export function readJsonSync(
12031203
/**
12041204
* Safely delete a file or directory asynchronously with built-in protections.
12051205
*
1206-
* Uses `del` for safer deletion with these safety features:
1206+
* Uses [`del`](https://socket.dev/npm/package/del/overview/8.0.1) for safer deletion with these safety features:
12071207
* - By default, prevents deleting the current working directory (cwd) and above
12081208
* - Allows deleting within cwd (descendant paths) without force option
12091209
* - Automatically uses force: true for temp directory, cacache, and ~/.socket subdirectories
@@ -1284,7 +1284,7 @@ export async function safeDelete(
12841284
/**
12851285
* Safely delete a file or directory synchronously with built-in protections.
12861286
*
1287-
* Uses `del` for safer deletion with these safety features:
1287+
* Uses [`del`](https://socket.dev/npm/package/del/overview/8.0.1) for safer deletion with these safety features:
12881288
* - By default, prevents deleting the current working directory (cwd) and above
12891289
* - Allows deleting within cwd (descendant paths) without force option
12901290
* - Automatically uses force: true for temp directory, cacache, and ~/.socket subdirectories

0 commit comments

Comments
 (0)