Livia Medeiros f202322ea4
fs: adjust typecheck for type in fs.symlink()
Throws `TypeError` instead of `Error`
Enables autodetection on Windows if `type === undefined`
Explicitly disallows unknown strings and non-string values

PR-URL: https://github.com/nodejs/node/pull/49741
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
2024-05-06 13:18:42 +00:00
..
2024-05-02 16:01:20 +02:00
2024-03-18 14:27:59 +00:00
2024-04-24 15:20:02 -03:00
2024-05-06 09:38:08 +00:00
2024-05-02 16:01:20 +02:00
2023-04-23 13:34:08 +00:00
2024-05-02 16:01:20 +02:00
2023-08-10 15:37:10 +00:00
2024-04-24 15:20:02 -03:00
2024-04-24 15:20:02 -03:00
2024-04-24 15:20:02 -03:00
2024-02-13 21:37:42 +00:00
2022-11-01 04:21:13 +00:00
2023-05-21 16:41:28 +00:00
2024-05-02 16:01:20 +02:00
2024-05-06 09:38:08 +00:00
2024-04-24 15:20:02 -03:00
2024-03-26 17:42:38 +00:00
2024-05-03 13:30:09 +00:00
2024-05-02 12:54:46 +00:00