| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 7c69c33 commit 70330f5
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1083,6 +1083,9 @@ instead. | |||
| 1083 | 1083 | ||
| 1084 | 1084 | <!-- YAML | |
| 1085 | 1085 | changes: | |
| 1086 | + - version: REPLACEME | ||
| 1087 | + pr-url: https://github.com/nodejs/node/pull/50488 | ||
| 1088 | + description: Runtime deprecation. | ||
| 1086 | 1089 | - version: | |
| 1087 | 1090 | - v6.12.0 | |
| 1088 | 1091 | - v4.8.6 | |
@@ -1095,7 +1098,7 @@ changes: | |||
| 1095 | 1098 | description: Documentation-only deprecation. | |
| 1096 | 1099 | --> | |
| 1097 | 1100 | ||
| 1098 | - Type: Documentation-only | ||
| 1101 | + Type: Runtime | ||
| 1099 | 1102 | ||
| 1100 | 1103 | The [`util.isFunction()`][] API is deprecated. | |
| 1101 | 1104 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -437,7 +437,9 @@ module.exports = { | |||
| 437 | 437 | 'Please use `ObjectPrototypeToString(e) === "[object Error]" ' + | |
| 438 | 438 | '|| e instanceof Error` instead.', | |
| 439 | 439 | 'DEP0048'), | |
| 440 | - isFunction: deprecate(isFunction, 'The `util.isFunction API is deprecated.', 'DEP0049'), | ||
| 440 | + isFunction: deprecate(isFunction, | ||
| 441 | + 'The `util.isFunction` API is deprecated. Please use `typeof arg === "function"` instead.', | ||
| 442 | + 'DEP0049'), | ||
| 441 | 443 | isPrimitive: deprecate(isPrimitive, 'The `util.isPrimitive API is deprecated.', 'DEP0054'), | |
| 442 | 444 | log: deprecate(log, 'The `util.log API is deprecated.', 'DEP0059'), | |
| 443 | 445 | promisify, | |
| Back | FazBrowse Home | New Git URL |
0 commit comments