yarn-audit-fix - v11.0.5
    Preparing search index...

    Function maskUrlCreds

    • Strip the userinfo out of any URL in a string. A registry URL legitimately carries basic-auth (https://user:token@host, via --registry / YAF_REGISTRY), and it reaches stdout by two routes: the runtime digest, and — less obviously — error text, where a failed request quotes the URL it tried. Apply this at every print of text yaf did not compose itself.

      Parameters

      • text: string

      Returns string