node/doc/api
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
..
addons.md doc: replace "below" with "following" 2024-04-03 20:21:28 +00:00
assert.md doc: updates for better json generating 2024-02-13 21:37:42 +00:00
async_context.md 2023-04-18, Version 20.0.0 (Current) 2023-04-18 13:04:39 -03:00
async_hooks.md doc: declare path on example of async_hooks.executionAsyncId() 2023-07-18 20:00:50 +00:00
buffer.md doc: use consistent plural form of "index" 2024-04-07 06:46:29 +00:00
child_process.md doc: edit ChildProcess 'message' event docs 2024-03-26 11:31:23 +01:00
cli.md 2024-05-02, Version 22.1.0 (Current) 2024-05-02 16:01:20 +02:00
cluster.md doc: improve the documentation of the stdio option 2023-05-30 06:10:58 +00:00
console.md doc: update to align console.table row to the left 2023-11-06 16:47:53 +00:00
corepack.md doc: update pnpm link 2024-03-18 14:27:59 +00:00
crypto.md 2024-04-24, Version 22.0.0 (Current) 2024-04-24 15:20:02 -03:00
debugger.md debugger: improve validations and documents for watch and unwatch 2023-03-13 04:29:53 +00:00
deprecations.md util: move util.log to eol 2024-05-06 09:38:08 +00:00
dgram.md doc: use consistent plural form of "index" 2024-04-07 06:46:29 +00:00
diagnostics_channel.md diagnostics_channel: early-exit tracing channel trace methods 2024-03-07 03:03:32 +00:00
dns.md 2024-05-02, Version 22.1.0 (Current) 2024-05-02 16:01:20 +02:00
documentation.md doc: use consistent plural form of "index" 2024-04-07 06:46:29 +00:00
domain.md doc: fix typos 2023-04-23 13:34:08 +00:00
embedding.md src: add detailed embedder process initialization API 2022-08-05 19:46:08 +00:00
errors.md fs: adjust typecheck for type in fs.symlink() 2024-05-06 13:18:42 +00:00
esm.md lib, url: add a windows option to path parsing 2024-04-24 15:47:48 +00:00
events.md 2024-05-02, Version 22.1.0 (Current) 2024-05-02 16:01:20 +02:00
fs.md fs: adjust typecheck for type in fs.symlink() 2024-05-06 13:18:42 +00:00
globals.md cli: remove --no-experimental-global-customevent flag 2024-04-29 15:15:40 +00:00
http2.md tools: use stylistic ESLint plugin for formatting 2024-04-15 15:08:10 +00:00
http.md doc: correct unsafe URL example in http docs 2024-04-21 12:56:11 +00:00
https.md doc: call out http(s).globalAgent default 2024-04-08 20:33:46 +00:00
index.md src: add initial support for single executable applications 2023-02-18 02:49:18 +00:00
inspector.md doc: updates for better json generating 2024-02-13 21:37:42 +00:00
intl.md doc: improve documentation about ICU data fallback 2023-09-22 13:24:23 +00:00
module.md doc,module: clarify hook chain execution sequence 2024-03-02 14:33:25 +00:00
modules.md module: support ESM detection in the CJS loader 2024-04-29 20:21:53 +00:00
n-api.md doc: update the location of build_with_cmake 2024-04-07 20:34:28 +00:00
net.md src: add UV_PIPE_NO_TRUNCATE for bind in pipe_wrap.cc 2024-05-06 12:56:36 +00:00
os.md tools: use stylistic ESLint plugin for formatting 2024-04-15 15:08:10 +00:00
packages.md module: support require()ing synchronous ESM graphs 2024-03-18 18:10:06 +08:00
path.md doc: note that path.normalize deviates from POSIX 2024-01-29 15:45:38 +00:00
perf_hooks.md doc: updates for better json generating 2024-02-13 21:37:42 +00:00
permissions.md src,permission: resolve path on fs_permission 2024-05-03 03:40:49 +00:00
policy.md doc: add missing period 2023-08-10 15:37:10 +00:00
process.md doc: update process.versions properties 2024-04-30 15:44:48 +00:00
punycode.md doc: format doc/api/*.md with markdown formatter 2021-10-20 11:59:11 +02:00
querystring.md doc: get rid of unnecessary eslint-skip comments 2023-11-22 19:03:33 +00:00
readline.md doc: detailed description of keystrokes Ctrl-Y and Meta-Y 2023-08-08 19:51:43 +00:00
repl.md doc: harmonize fenced code snippet flags 2023-05-21 09:36:57 +02:00
report.md 2024-04-24, Version 22.0.0 (Current) 2024-04-24 15:20:02 -03:00
single-executable-applications.md 2024-03-26, Version 20.12.0 'Iron' (LTS) 2024-03-26 17:42:38 +00:00
stream.md 2024-04-24, Version 22.0.0 (Current) 2024-04-24 15:20:02 -03:00
string_decoder.md doc: add print results for examples in StringDecoder 2023-08-27 15:32:47 +00:00
synopsis.md doc: clarify explaination text on how to run the example 2023-10-06 13:37:31 +00:00
test.md 2024-04-24, Version 22.0.0 (Current) 2024-04-24 15:20:02 -03:00
timers.md 2023-09-18, Version 18.18.0 'Hydrogen' (LTS) 2023-09-18 17:39:17 -04:00
tls.md doc: updates for better json generating 2024-02-13 21:37:42 +00:00
tracing.md src: trace threadpool event 2022-11-01 04:21:13 +00:00
tty.md doc: clarify tty.isRaw 2023-05-21 16:41:28 +00:00
url.md 2024-05-02, Version 22.1.0 (Current) 2024-05-02 16:01:20 +02:00
util.md util: move util.log to eol 2024-05-06 09:38:08 +00:00
v8.md 2024-04-24, Version 22.0.0 (Current) 2024-04-24 15:20:02 -03:00
vm.md 2024-03-26, Version 20.12.0 'Iron' (LTS) 2024-03-26 17:42:38 +00:00
wasi.md 2024-01-09, Version 20.11.0 'Iron' (LTS) 2024-01-09 20:47:16 +00:00
webcrypto.md doc: updates for better json generating 2024-02-13 21:37:42 +00:00
webstreams.md doc: fix grammatical mistake 2024-05-03 13:30:09 +00:00
worker_threads.md doc: updates for better json generating 2024-02-13 21:37:42 +00:00
zlib.md zlib: expose zlib.crc32() 2024-05-02 12:54:46 +00:00