You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 28d264a
Browse filesBrowse the repository at this point in the historyBrowse files
Read this issue to learn where we are in the process. And how to manually migrate your code.
19
+
Read this issue to learn where we are in the process and how to manually migrate your code.
20
20
</a>
21
21
</AlertBox>
22
22
@@ -114,6 +114,8 @@ This codemod transforms the usage of `dirent.path` to use `dirent.parentPath`.
114
114
115
115
See [DEP0178](https://nodejs.org/api/deprecations.html#DEP0178).
116
116
117
+
The source code for this codemod can be found in the [dirent-path-to-parent-path directory](https://github.com/nodejs/userland-migrations/tree/main/recipes/dirent-path-to-parent-path).
118
+
117
119
You can find this codemod in the [Codemod Registry](https://app.codemod.com/registry/@nodejs/dirent-path-to-parent-path).
118
120
119
121
```bash
@@ -169,7 +171,7 @@ npx codemod run @nodejs/fs-access-mode-constants
The [`fs.truncate`](https://nodejs.org/api/fs.html#fs_fs_truncate_path_len_callback) function was deprecated ([DEP0081](https://nodejs.org/api/deprecations.html#DEP0081)) when used with a file descriptor. Use [`fs.ftruncate`](https://nodejs.org/api/fs.html#fs_fs_ftruncate_fd_len_callback) instead.
175
177
@@ -197,18 +199,18 @@ npx codemod run @nodejs/fs-truncate-fd-deprecation
197
199
});
198
200
```
199
201
200
-
### `http2-priority-removal`
202
+
### `http2-priority-signaling`
201
203
202
204
This recipe removes HTTP/2 priority-related options and methods since priority signaling has been deprecated.
203
205
204
206
See [DEP0194](https://nodejs.org/api/deprecations.html#DEP0194).
205
207
206
-
The source code for this codemod can be found in the [http2-priority-removal directory](https://github.com/nodejs/userland-migrations/tree/main/recipes/http2-priority-removal).
208
+
The source code for this codemod can be found in the [http2-priority-signaling directory](https://github.com/nodejs/userland-migrations/tree/main/recipes/http2-priority-signaling).
207
209
208
-
You can find this codemod in the [Codemod Registry](https://app.codemod.com/registry/@nodejs/http2-priority-removal).
210
+
You can find this codemod in the [Codemod Registry](https://app.codemod.com/registry/@nodejs/http2-priority-signaling).
In Node.js v23 the [DEP0100](https://nodejs.org/api/deprecations.html#DEP0100) deprecation was grantted to End of Life, and `process.assert` was removed in favor of using the `assert` module directly. This codemod will help you replace any references to `process.assert` with the appropriate import of the `assert` module and usage of `assert()`.
246
+
In Node.js v23 the [DEP0100](https://nodejs.org/api/deprecations.html#DEP0100) deprecation reached End-of-Life, and `process.assert` was removed in favor of using the `assert` module directly. This codemod will help you replace any references to `process.assert` with the appropriate import of the `assert` module and usage of `assert()`.
245
247
246
248
The source code for this codemod can be found in the [process-assert-to-node-assert directory](https://github.com/nodejs/userland-migrations/tree/main/recipes/process-assert-to-node-assert).
247
249
@@ -261,7 +263,7 @@ npx codemod run @nodejs/process-assert-to-node-assert
261
263
262
264
#### Additional Notes
263
265
264
-
This codemod use[`fs` capability](https://docs.codemod.com/jssg/security) to read the `package.json` file and determine if the project is using ES modules or CommonJS. Based on this information, it adds the appropriate import statement for the `assert` module.
266
+
This codemod uses the[`fs` capability](https://docs.codemod.com/jssg/security) to read the `package.json` file and determine if the project is using ES modules or CommonJS. Based on this information, it adds the appropriate import statement for the `assert` module.
0 commit comments