Skip to content

Commit b93ca6c

Browse files
doc: include it in util.md
1 parent fd2a197 commit b93ca6c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/api/util.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3807,6 +3807,12 @@ Node.js modules. The community found and used it anyway.
38073807
It is deprecated and should not be used in new code. JavaScript comes with very
38083808
similar built-in functionality through [`Object.assign()`][].
38093809
3810+
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/util-extend-to-object-assign)):
3811+
3812+
```bash
3813+
npx codemod@latest @nodejs/util-extend-to-object-assign
3814+
```
3815+
38103816
### `util.isArray(object)`
38113817
38123818
<!-- YAML

0 commit comments

Comments
 (0)