doc: update MDN links · nodejs/node@461c5e6 · GitHub
Skip to content

Commit 461c5e6

Browse files
LiviaMedeirosaduh95
authored andcommitted
doc: update MDN links
PR-URL: #61062 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent dde45ba commit 461c5e6

8 files changed

Lines changed: 14 additions & 14 deletions

File tree

doc/api/assert.md

Lines changed: 2 additions & 2 deletions

doc/api/esm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1221,7 +1221,7 @@ resolution for ESM specifiers is [commonjs-extension-resolution-loader][].
12211221
[`"type"`]: packages.md#type
12221222
[`--experimental-default-type`]: cli.md#--experimental-default-typetype
12231223
[`--input-type`]: cli.md#--input-typetype
1224-
[`data:` URLs]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs
1224+
[`data:` URLs]: https://developer.mozilla.org/en-US/docs/Web/URI/Reference/Schemes/data
12251225
[`export`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/export
12261226
[`import()`]: #import-expressions
12271227
[`import.meta.dirname`]: #importmetadirname

doc/api/fs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8454,7 +8454,7 @@ the file contents.
84548454
[File access constants]: #file-access-constants
84558455
[File modes]: #file-modes
84568456
[MDN-Date]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date
8457-
[MDN-Number]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type
8457+
[MDN-Number]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Data_structures#number_type
84588458
[MSDN-Rel-Path]: https://docs.microsoft.com/en-us/windows/desktop/FileIO/naming-a-file#fully-qualified-vs-relative-paths
84598459
[MSDN-Using-Streams]: https://docs.microsoft.com/en-us/windows/desktop/FileIO/using-streams
84608460
[Naming Files, Paths, and Namespaces]: https://docs.microsoft.com/en-us/windows/desktop/FileIO/naming-a-file

doc/api/globals.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1252,7 +1252,7 @@ A browser-compatible implementation of [`WritableStreamDefaultWriter`][].
12521252
[`clearTimeout`]: timers.md#cleartimeouttimeout
12531253
[`console`]: console.md
12541254
[`exports`]: modules.md#exports
1255-
[`fetch()`]: https://developer.mozilla.org/en-US/docs/Web/API/fetch
1255+
[`fetch()`]: https://developer.mozilla.org/en-US/docs/Web/API/Window/fetch
12561256
[`globalThis`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis
12571257
[`localStorage`]: https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage
12581258
[`module`]: modules.md#module
@@ -1264,7 +1264,7 @@ A browser-compatible implementation of [`WritableStreamDefaultWriter`][].
12641264
[`setImmediate`]: timers.md#setimmediatecallback-args
12651265
[`setInterval`]: timers.md#setintervalcallback-delay-args
12661266
[`setTimeout`]: timers.md#settimeoutcallback-delay-args
1267-
[`structuredClone`]: https://developer.mozilla.org/en-US/docs/Web/API/structuredClone
1267+
[`structuredClone`]: https://developer.mozilla.org/en-US/docs/Web/API/Window/structuredClone
12681268
[`window.navigator`]: https://developer.mozilla.org/en-US/docs/Web/API/Window/navigator
12691269
[buffer section]: buffer.md
12701270
[built-in objects]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects

doc/api/intl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ to be helpful:
222222
[WHATWG URL parser]: url.md#the-whatwg-url-api
223223
[`--icu-data-dir`]: cli.md#--icu-data-dirfile
224224
[`Date.prototype.toLocaleString()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleString
225-
[`Intl.DateTimeFormat`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat
225+
[`Intl.DateTimeFormat`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat
226226
[`Intl`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl
227227
[`NODE_ICU_DATA`]: cli.md#node_icu_datafile
228228
[`Number.prototype.toLocaleString()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toLocaleString

doc/api/util.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4138,7 +4138,7 @@ util.log('Timestamped message.');
41384138
[`mime.toString()`]: #mimetostring
41394139
[`mimeParams.entries()`]: #mimeparamsentries
41404140
[`napi_create_external()`]: n-api.md#napi_create_external
4141-
[`target` and `handler`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy#Terminology
4141+
[`target` and `handler`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy#terminology
41424142
[`tty.hasColors()`]: tty.md#writestreamhascolorscount-env
41434143
[`util.diff()`]: #utildiffactual-expected
41444144
[`util.format()`]: #utilformatformat-args
@@ -4151,7 +4151,7 @@ util.log('Timestamped message.');
41514151
[`util.types.isSharedArrayBuffer()`]: #utiltypesissharedarraybuffervalue
41524152
[async function]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function
41534153
[built-in `Error` type]: https://tc39.es/ecma262/#sec-error-objects
4154-
[compare function]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#Parameters
4154+
[compare function]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#parameters
41554155
[constructor]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/constructor
41564156
[default sort]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort
41574157
[global symbol registry]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol/for

doc/api/wasi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,5 +258,5 @@ should be passed as the `wasi_snapshot_preview1` import during the instantiation
258258
of a [`WebAssembly.Instance`][].
259259
260260
[WebAssembly System Interface]: https://wasi.dev/
261-
[`WebAssembly.Instance`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Instance
262-
[`WebAssembly.Memory`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Memory
261+
[`WebAssembly.Instance`]: https://developer.mozilla.org/en-US/docs/WebAssembly/Reference/JavaScript_interface/Instance
262+
[`WebAssembly.Memory`]: https://developer.mozilla.org/en-US/docs/WebAssembly/Reference/JavaScript_interface/Memory

doc/api/worker_threads.md

Lines changed: 3 additions & 3 deletions

0 commit comments

Comments
 (0)