<commit_before>// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.

const resetColor = "\x1b[0m";
const brightColor = "\x1b[1m";
const highlightColor = "\x1b[31m";

const customPackageMapping = {
    "azure-arm-sb": "@azure/arm-servicebus"
};

try {
    const packageConfig = require("../../../package.json");
    const packageName = packageConfig["name"];
    const typeScriptPackageName = customPackageMapping[packageName] || "@azure/" + packageName.replace("azure-", "");

    const firstLine = "This package will soon be deprecated.";
    const secondLine = `Please use ${highlightColor}${typeScriptPackageName}${resetColor}${brightColor} instead.`;
    const thirdLine = `https://www.npmjs.com/package/${typeScriptPackageName}`;<commit_msg>Update message with migration doc URL<commit_after>// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.

const resetColor = "\x1b[0m";
const brightColor = "\x1b[1m";
const highlightColor = "\x1b[31m";

const customPackageMapping = {
    "azure-arm-sb": "@azure/arm-servicebus"
};

try {
    const packageConfig = require("../../../package.json");
    const packageName = packageConfig["name"];
    const typeScriptPackageName = customPackageMapping[packageName] || "@azure/" + packageName.replace("azure-", "");

    const firstLine = "This package will soon be deprecated.";
    const secondLine = `Please use ${highlightColor}${typeScriptPackageName}${resetColor}${brightColor} instead.`;
    const thirdLine = "Visit https://aka.ms/azure-sdk-for-js-migration for details";
{'fraction_non_alphanumeric': 0.14401388085598613, 'fraction_numerical': 0.008097165991902834, 'mean_word_length': 4.598705501618123, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1199924', 'n_tokens_mistral': 489, 'n_tokens_neox': 478, 'n_words': 135}