<commit_before>#!/bin/bash

# adapted from : https://gist.github.com/othiym23/4ac31155da23962afd0e
function npm_upgrade () {
  for package in $(npm -g outdated --parseable --depth=0 | cut -d: -f2)
  do
      npm -g install "$package"
  done
}<commit_msg>added nvm upgrade script<commit_after>#!/bin/bash

# adapted from : https://gist.github.com/othiym23/4ac31155da23962afd0e
function npm_upgrade () {
  for package in $(npm -g outdated --parseable --depth=0 | cut -d: -f2)
  do
      npm -g install "$package"
  done
}

function nvm_upgrade () {
  (
    cd "$NVM_DIR"
    git fetch origin
    git checkout `git describe --abbrev=0 --tags --match "v[0-9]*" origin`
  ) && . "$NVM_DIR/nvm.sh"
}
{'fraction_non_alphanumeric': 0.15295815295815296, 'fraction_numerical': 0.050505050505050504, 'mean_word_length': 3.106508875739645, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '622047', 'n_tokens_mistral': 294, 'n_tokens_neox': 261, 'n_words': 66}