| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 5478e11 commit e0b8de7
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1198,6 +1198,9 @@ The [`util.isObject()`][] API is deprecated. | |||
| 1198 | 1198 | ||
| 1199 | 1199 | <!-- YAML | |
| 1200 | 1200 | changes: | |
| 1201 | + - version: REPLACEME | ||
| 1202 | + pr-url: https://github.com/nodejs/node/pull/50488 | ||
| 1203 | + description: Runtime deprecation. | ||
| 1201 | 1204 | - version: | |
| 1202 | 1205 | - v6.12.0 | |
| 1203 | 1206 | - v4.8.6 | |
@@ -1210,7 +1213,7 @@ changes: | |||
| 1210 | 1213 | description: Documentation-only deprecation. | |
| 1211 | 1214 | --> | |
| 1212 | 1215 | ||
| 1213 | - Type: Documentation-only | ||
| 1216 | + Type: Runtime | ||
| 1214 | 1217 | ||
| 1215 | 1218 | The [`util.isPrimitive()`][] API is deprecated. | |
| 1216 | 1219 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -441,7 +441,11 @@ module.exports = { | |||
| 441 | 441 | isFunction: deprecate(isFunction, | |
| 442 | 442 | 'The `util.isFunction` API is deprecated. Please use `typeof arg === "function"` instead.', | |
| 443 | 443 | 'DEP0049'), | |
| 444 | - isPrimitive: deprecate(isPrimitive, 'The `util.isPrimitive API is deprecated.', 'DEP0054'), | ||
| 444 | + isPrimitive: deprecate(isPrimitive, | ||
| 445 | + 'The `util.isPrimitive` API is deprecated. ' + | ||
| 446 | + 'Please use `arg === null || ' + | ||
| 447 | + '(typeof arg !== "object" && typeof arg !== "function")` instead.', | ||
| 448 | + 'DEP0054'), | ||
| 445 | 449 | log: deprecate(log, 'The `util.log API is deprecated.', 'DEP0059'), | |
| 446 | 450 | promisify, | |
| 447 | 451 | stripVTControlCharacters, | |
| Back | FazBrowse Home | New Git URL |
0 commit comments