| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent fbb2f89 commit c17a448
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -988,6 +988,9 @@ instead. | |||
| 988 | 988 | ||
| 989 | 989 | <!-- YAML | |
| 990 | 990 | changes: | |
| 991 | + - version: REPLACEME | ||
| 992 | + pr-url: https://github.com/nodejs/node/pull/50488 | ||
| 993 | + description: Runtime deprecation. | ||
| 991 | 994 | - version: | |
| 992 | 995 | - v6.12.0 | |
| 993 | 996 | - v4.8.6 | |
@@ -1000,7 +1003,7 @@ changes: | |||
| 1000 | 1003 | description: Documentation-only deprecation. | |
| 1001 | 1004 | --> | |
| 1002 | 1005 | ||
| 1003 | - Type: Documentation-only | ||
| 1006 | + Type: Runtime | ||
| 1004 | 1007 | ||
| 1005 | 1008 | The [`util.isBoolean()`][] API is deprecated. | |
| 1006 | 1009 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -391,8 +391,10 @@ module.exports = { | |||
| 391 | 391 | isArray: deprecate(ArrayIsArray, | |
| 392 | 392 | 'The `util.isArray` API is deprecated. Please use `Array.isArray()` instead.', | |
| 393 | 393 | 'DEP0044'), | |
| 394 | - isBoolean, | ||
| 395 | - isBuffer, | ||
| 394 | + isBoolean: deprecate(isBoolean, | ||
| 395 | + 'The `util.isBoolean` API is deprecated. Please use `typeof arg === "boolean"` instead.', | ||
| 396 | + 'DEP0045'), | ||
| 397 | + isBuffer: deprecate(isBuffer, 'The `util.isBuffer API is deprecated.', 'DEP0046'), | ||
| 396 | 398 | isDeepStrictEqual(a, b) { | |
| 397 | 399 | if (internalDeepEqual === undefined) { | |
| 398 | 400 | internalDeepEqual = require('internal/util/comparisons') | |
| Back | FazBrowse Home | New Git URL |
0 commit comments