Skip to content

Commit 016c7ab

Browse files
nschonniMylesBorins
authored andcommitted
fix: Remove commented out "anonymous" tag
1 parent 5153a2f commit 016c7ab

File tree

2 files changed

+1
-27
lines changed

2 files changed

+1
-27
lines changed

.markdownlint.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@
2424
"table", "th", "tr", "td",
2525
"code", "pre",
2626
"i", "strong", "em", "b",
27-
"sup",
28-
"anonymous"
27+
"sup"
2928
]
3029
},
3130
"MD034": false,

locale/ja/docs/guides/buffer-constructor-deprecation.md

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -48,31 +48,6 @@ exceptions).
4848

4949
それにより自身のコードの中ですべての潜在的に危険な箇所が分かるでしょう (とてもありそうにない例外を除いて)。
5050

51-
<!--
52-
### Finding problematic bits of code using Node.js 8
53-
54-
If you’re using Node.js ≥ 8.0.0 (which is recommended), Node.js exposes multiple options that help with finding the relevant pieces of code:
55-
56-
- `--trace-warnings` will make Node.js show a stack trace for this warning and other warnings that are printed by Node.js.
57-
- `--trace-deprecation` does the same thing, but only for deprecation warnings.
58-
- `--pending-deprecation` will show more types of deprecation warnings. In particular, it will show the `Buffer()` deprecation warning, even on Node.js 8.
59-
60-
You can set these flags using environment variables:
61-
62-
```bash
63-
$ export NODE_OPTIONS='--trace-warnings --pending-deprecation'
64-
$ cat example.js
65-
'use strict';
66-
const foo = new Buffer('foo');
67-
$ node example.js
68-
(node:7147) [DEP0005] DeprecationWarning: The Buffer() and new Buffer() constructors are not recommended for use due to security and usability concerns. Please use the new Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() construction methods instead.
69-
at showFlaggedDeprecation (buffer.js:127:13)
70-
at new Buffer (buffer.js:148:3)
71-
at Object.<anonymous> (/path/to/example.js:2:13)
72-
[... more stack trace lines ...]
73-
```
74-
75-
-->
7651
### Node.js 8 を使用して問題のあるコードを見つける
7752

7853
Node.js ≥ 8.0.0 (これが推奨されています) を使用している場合、Node.js は関連するコードを見つけるのに役立つ複数のオプションを公開します。

0 commit comments

Comments
 (0)