Modernize octal escape sequences

MSAL

Convert old-style octal escape sequences (e.g., \0, \123) to modern hex escape sequences (e.g., \x00, \x53) or Unicode escape sequences (e.g., \u0000, \u0053).

org.openrewrite.javascript.migrate.es6.modernize-octal-escape-sequences

Optional

Use Unicode escape sequences (\uXXXX) instead of hex escape sequences (\xXX). Default is false.

mod run . --recipe=org.openrewrite.javascript.migrate.es6.modernize-octal-escape-sequences

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.