<commit_before>".source.js":
  "new Promise":
    prefix: "Promise",
    body: """
    new Promise((resolve, reject) => {
    \t${0}
    });
    """
  "new Promise +":
    prefix: "new Promise",
    body: """
    new Promise((resolve, reject) => {
    \t${0}
    });
    """

  "Promise.prototype.then":
    prefix: "then"
    body: """
    then(${1:(${2:value}) => {
    \t${0}
    \\}})
    """
  "Promise.prototype.catch":
    prefix: "catch"
    body: """
    catch(${1:(${2:err}) => {
    \t${0}
    \\}})
    """

  "Promise.all":
    prefix: "all"
    body: "Promise.all(${1:iterable})"
  "Promise.all +":
    prefix: "Promise.all"
    body: "Promise.all(${1:iterable})"

  "Promise.race":
    prefix: "race"
    body: "Promise.race(${1:iterable})"
  "Promise.race +":
    prefix: "Promise.race"
    body: "Promise.race(${1:iterable})"

  "Promise.resolve":
    prefix: "resolve"
    body: "Promise.resolve(${1:value})"
  "Promise.resolve +":
    prefix: "Promise.resolve"
    body: "Promise.resolve(${1:value})"

  "Promise.reject":
    prefix: "reject"
    body: "Promise.reject(${1:err})"<commit_msg>Promises: Add snippet for Promise.prototype.finally<commit_after>".source.js":
  "new Promise":
    prefix: "Promise",
    body: """
    new Promise((resolve, reject) => {
    \t${0}
    });
    """
  "new Promise +":
    prefix: "new Promise",
    body: """
    new Promise((resolve, reject) => {
    \t${0}
    });
    """

  "Promise.prototype.then":
    prefix: "then"
    body: """
    then(${1:(${2:value}) => {
    \t${0}
    \\}})
    """
  "Promise.prototype.catch":
    prefix: "catch"
    body: """
    catch(${1:(${2:err}) => {
    \t${0}
    \\}})
    """
  "Promise.prototype.finally":
    prefix: "finally"
    body: """
    finally(${1:() => {
    \t${0}
    \\}})
    """

  "Promise.all":
    prefix: "all"
    body: "Promise.all(${1:iterable})"
  "Promise.all +":
    prefix: "Promise.all"
    body: "Promise.all(${1:iterable})"

  "Promise.race":
    prefix: "race"
    body: "Promise.race(${1:iterable})"
  "Promise.race +":
    prefix: "Promise.race"
    body: "Promise.race(${1:iterable})"

  "Promise.resolve":
    prefix: "resolve"
    body: "Promise.resolve(${1:value})"
  "Promise.resolve +":
    prefix: "Promise.resolve"
    body: "Promise.resolve(${1:value})"

  "Promise.reject":
    prefix: "reject"
    body: "Promise.reject(${1:err})"
{'fraction_non_alphanumeric': 0.23717409587888982, 'fraction_numerical': 0.01345668629100084, 'mean_word_length': 2.6656394453004624, 'pattern_counts': {'":': 25, '<': 3, '<?xml version=': 0, '>': 12, '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': '5073328', 'n_tokens_mistral': 910, 'n_tokens_neox': 889, 'n_words': 143}