Skip to content

Commit 16378e3

Browse files
stevemaoMyles Borins
authored and
Myles Borins
committed
doc: fix markdown links
Fixes: #5322 PR-URL: #5641 Reviewed-By: Robert Lindstädt <[email protected]> Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: Roman Reiss <[email protected]>
1 parent 3c1d762 commit 16378e3

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

doc/api/crypto.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -826,7 +826,7 @@ recent OpenSSL releases, `openssl list-cipher-algorithms` will display the
826826
available cipher algorithms.
827827

828828
The `password` is used to derive the cipher key and initialization vector (IV).
829-
The value must be either a `'binary'` encoded string or a [`Buffer`[].
829+
The value must be either a `'binary'` encoded string or a [`Buffer`][].
830830

831831
The implementation of `crypto.createCipher()` derives keys using the OpenSSL
832832
function [`EVP_BytesToKey`][] with the digest algorithm set to MD5, one

doc/api/errors.markdown

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,6 +520,8 @@ found [here][online].
520520
encountered by [`http`][] or [`net`][] -- often a sign that a `socket.end()`
521521
was not properly called.
522522

523+
[`domain`]: domain.html
524+
[`EvalError`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/EvalError
523525
[`Error`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error
524526
[`fs.readdir`]: fs.html#fs_fs_readdir_path_callback
525527
[`fs.readFileSync`]: fs.html#fs_fs_readfilesync_file_options
@@ -540,6 +542,7 @@ found [here][online].
540542
[V8's stack trace API]: https://github.com/v8/v8/wiki/Stack-Trace-API
541543
[vm]: vm.html
542544
[`SyntaxError`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError
545+
[`RangeError`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError
543546
[`ReferenceError`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError
544547
[`TypeError`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError
545-
[`domain`]: domain.html
548+
[`URIError`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError

0 commit comments

Comments
 (0)