Skip to content

Commit f688122

Browse files
cjihrigtargos
authored andcommitted
doc: drop 'for more details' in deprecations
The deprecations documentation links to the GitHub issue tracker in several places. This commit makes the text around those links consistent. PR-URL: #28617 Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
1 parent 29fda66 commit f688122

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

doc/api/deprecations.md

+5-6
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ changes:
339339
Type: End-of-Life
340340

341341
Calling an asynchronous function without a callback throws a `TypeError`
342-
in Node.js 10.0.0 onwards. (See <https://github.com/nodejs/node/pull/12562>.)
342+
in Node.js 10.0.0 onwards. See <https://github.com/nodejs/node/pull/12562>.
343343

344344
<a id="DEP0014"></a>
345345
### DEP0014: fs.read legacy String interface
@@ -1754,8 +1754,8 @@ changes:
17541754
Type: End-of-Life
17551755
17561756
The AsyncHooks Sensitive API was never documented and had various minor issues.
1757-
(See <https://github.com/nodejs/node/issues/15572>.) Use the `AsyncResource`
1758-
API instead.
1757+
Use the `AsyncResource` API instead. See
1758+
<https://github.com/nodejs/node/issues/15572>.
17591759
17601760
<a id="DEP0086"></a>
17611761
### DEP0086: Remove runInAsyncIdScope
@@ -1774,8 +1774,7 @@ changes:
17741774
Type: End-of-Life
17751775
17761776
`runInAsyncIdScope` doesn't emit the `'before'` or `'after'` event and can thus
1777-
cause a lot of issues. See <https://github.com/nodejs/node/issues/14328> for
1778-
more details.
1777+
cause a lot of issues. See <https://github.com/nodejs/node/issues/14328>.
17791778
17801779
<a id="DEP0089"></a>
17811780
### DEP0089: require('assert')
@@ -1937,7 +1936,7 @@ to unrecoverable errors.
19371936
19381937
Use [`asyncResource.runInAsyncScope()`][] API instead which provides a much
19391938
safer, and more convenient, alternative. See
1940-
<https://github.com/nodejs/node/pull/18513> for more details.
1939+
<https://github.com/nodejs/node/pull/18513>.
19411940
19421941
<a id="DEP0099"></a>
19431942
### DEP0099: async context-unaware node::MakeCallback C++ APIs

0 commit comments

Comments
 (0)