| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -744,6 +744,12 @@ Type: End-of-Life | |||
| 744 | 744 | The `SlowBuffer` class has been removed. Please use | |
| 745 | 745 | [`Buffer.allocUnsafeSlow(size)`][] instead. | |
| 746 | 746 | ||
| 747 | + An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/slow-buffer-to-buffer-alloc-unsafe-slow)). | ||
| 748 | + | ||
| 749 | + ```bash | ||
| 750 | + npx codemod@latest @nodejs/slow-buffer-to-buffer-alloc-unsafe-slow | ||
| 751 | + ``` | ||
| 752 | + | ||
| 747 | 753 | ### DEP0031: `ecdh.setPublicKey()` | |
| 748 | 754 | ||
| 749 | 755 | <!-- YAML | |
@@ -1568,6 +1574,12 @@ The [`util._extend()`][] API is deprecated because it's an unmaintained | |||
| 1568 | 1574 | legacy API that was exposed to user land by accident. | |
| 1569 | 1575 | Please use `target = Object.assign(target, source)` instead. | |
| 1570 | 1576 | ||
| 1577 | + An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/util-extend-to-object-assign)): | ||
| 1578 | + | ||
| 1579 | + ```bash | ||
| 1580 | + npx codemod@latest @nodejs/util-extend-to-object-assign | ||
| 1581 | + ``` | ||
| 1582 | + | ||
| 1571 | 1583 | ### DEP0061: `fs.SyncWriteStream` | |
| 1572 | 1584 | ||
| 1573 | 1585 | <!-- YAML | |
@@ -1712,6 +1724,12 @@ The `OutgoingMessage.prototype._headers` and | |||
| 1712 | 1724 | `OutgoingMessage.prototype._headerNames` properties were never documented as | |
| 1713 | 1725 | officially supported properties. | |
| 1714 | 1726 | ||
| 1727 | + An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/http-outgoingmessage-headers)): | ||
| 1728 | + | ||
| 1729 | + ```bash | ||
| 1730 | + npx codemod@latest @nodejs/http-outgoingmessage-headers | ||
| 1731 | + ``` | ||
| 1732 | + | ||
| 1715 | 1733 | ### DEP0067: `OutgoingMessage.prototype._renderHeaders` | |
| 1716 | 1734 | ||
| 1717 | 1735 | <!-- YAML | |
@@ -2340,10 +2358,10 @@ Type: End-of-Life | |||
| 2340 | 2358 | ||
| 2341 | 2359 | This was never a documented feature. | |
| 2342 | 2360 | ||
| 2343 | - An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/createCredentials-to-createSecureContext)). | ||
| 2361 | + An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/process-assert-to-node-assert)). | ||
| 2344 | 2362 | ||
| 2345 | 2363 | ```bash | |
| 2346 | - npx codemod@latest @nodejs/createCredentials-to-createSecureContext | ||
| 2364 | + npx codemod@latest @nodejs/process-assert-to-node-assert | ||
| 2347 | 2365 | ``` | |
| 2348 | 2366 | ||
| 2349 | 2367 | ### DEP0101: `--with-lttng` | |
@@ -3930,6 +3948,12 @@ Type: End-of-Life | |||
| 3930 | 3948 | The `dirent.path` property has been removed due to its lack of consistency across | |
| 3931 | 3949 | release lines. Please use [`dirent.parentPath`][] instead. | |
| 3932 | 3950 | ||
| 3951 | + An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/dirent-path-to-parent-path)): | ||
| 3952 | + | ||
| 3953 | + ```bash | ||
| 3954 | + npx codemod@latest @nodejs/dirent-path-to-parent-path | ||
| 3955 | + ``` | ||
| 3956 | + | ||
| 3933 | 3957 | ### DEP0179: `Hash` constructor | |
| 3934 | 3958 | ||
| 3935 | 3959 | <!-- YAML | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3803,6 +3803,12 @@ Node.js modules. The community found and used it anyway. | |||
| 3803 | 3803 | It is deprecated and should not be used in new code. JavaScript comes with very | |
| 3804 | 3804 | similar built-in functionality through [`Object.assign()`][]. | |
| 3805 | 3805 | ||
| 3806 | + An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/util-extend-to-object-assign)): | ||
| 3807 | + | ||
| 3808 | + ```bash | ||
| 3809 | + npx codemod@latest @nodejs/util-extend-to-object-assign | ||
| 3810 | + ``` | ||
| 3811 | + | ||
| 3806 | 3812 | ### `util.isArray(object)` | |
| 3807 | 3813 | ||
| 3808 | 3814 | <!-- YAML | |
| Back | FazBrowse Home | New Git URL |
0 commit comments