<commit_before>var me = {

    url: '/v1/people/~:(id,first-name,last-name,headline,picture-url,email-address,public-profile-url,positions)?format=json',
    params: {},
    fields: {
        id: 'id',
        name: function(me) {
            return me.firstName + ' ' + me.lastName;
        },
        firstname: 'firstName',
        lastname: 'lastName',
        alias: 'screen_name',
        bio: 'headline',
        avatar: 'pictureUrl',
        email: 'emailAddress',
        url: 'publicProfileUrl'
    }
};

module.exports = me;
<commit_msg>Change me.js to use people v2 endpoint<commit_after>var me = {

    url: '/v2/people/~:(id,first-name,last-name,headline,picture-url,email-address,public-profile-url,positions)?format=json',
    params: {},
    fields: {
        id: 'id',
        name: function(me) {
            return me.firstName + ' ' + me.lastName;
        },
        firstname: 'firstName',
        lastname: 'lastName',
        alias: 'screen_name',
        bio: 'headline',
        avatar: 'pictureUrl',
        email: 'emailAddress',
        url: 'publicProfileUrl'
    }
};

module.exports = me;

{'fraction_non_alphanumeric': 0.15611061552185548, 'fraction_numerical': 0.0026761819803746653, 'mean_word_length': 2.3392857142857144, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '2234435', 'n_tokens_mistral': 370, 'n_tokens_neox': 361, 'n_words': 64}