db2567b01b
.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated Signed-off-by: Tobias Speicher <rootcommander@gmail.com> Co-authored-by: Steven <steven@ceriously.com> |
||
---|---|---|
.. | ||
bin | ||
lib | ||
transforms | ||
.gitignore | ||
license.md | ||
package.json | ||
README.md | ||
tsconfig.json |
Next.js Codemods
Next.js provides Codemod transformations to help upgrade your Next.js codebase when a feature is deprecated.
Codemods are transformations that run on your codebase programmatically. This allows for a large amount of changes to be applied without having to manually go through every file.
Documentation
Visit nextjs.org/docs/advanced-features/codemods to view the documentation for this package.