<commit_before>const decompress = require('decompress')
const request = require('request')
const ProgressBar = require('progress');
const tmpdir = require('os-tmpdir')

import * as mkdirp from 'mkdirp'
import * as path from 'path'
import * as fs from 'fs'
import * as checksum from 'checksum'
import * as rimraf from 'rimraf'

const baseUrl = process.env.NPM_CONFIG_ELECTRON_MIRROR ||
  process.env.npm_config_electron_mirror ||
  process.env.ELECTRON_MIRROR ||
  process.env.electron_mirror ||
  'https://github.com/electron/electron/releases/download/v'

const config = {
  baseUrl: baseUrl,
  outputPath: path.join(__dirname, '..', 'git'),
  version: '2.10.0',
  source: '',
  checksum: '',
  upstreamVersion: '',
  fileName: ''
}

if (process.platform === 'darwin') {
  config.fileName = `Git-macOS-${config.version}-64-bit.zip`
  // TODO: swap this out for something more official, lol
  config.source = `https://www.dropbox.com/s/xy7e94h6lnw2vts/${config.fileName}?dl=1`
  config.checksum = 'adce2f8cdd9954c59ece5d05b8324c8a03a8185c1f2460f3752eca40f9922198'
} else if (process.platform === 'win32') {<commit_msg>published new version of Git for OSX due to folder layout differences<commit_after>const decompress = require('decompress')
const request = require('request')
const ProgressBar = require('progress');
const tmpdir = require('os-tmpdir')

import * as mkdirp from 'mkdirp'
import * as path from 'path'
import * as fs from 'fs'
import * as checksum from 'checksum'
import * as rimraf from 'rimraf'

const baseUrl = process.env.NPM_CONFIG_ELECTRON_MIRROR ||
  process.env.npm_config_electron_mirror ||
  process.env.ELECTRON_MIRROR ||
  process.env.electron_mirror ||
  'https://github.com/electron/electron/releases/download/v'

const config = {
  baseUrl: baseUrl,
  outputPath: path.join(__dirname, '..', 'git'),
  version: '2.10.0',
  source: '',
  checksum: '',
  upstreamVersion: '',
  fileName: ''
}

if (process.platform === 'darwin') {
  config.fileName = `Git-macOS-${config.version}-64-bit.zip`
  // TODO: swap this out for something more official, lol
  config.source = `https://www.dropbox.com/s/wik35bpt9z86lg0/${config.fileName}?dl=1`
  config.checksum = '9b2fde854c72307dcd538e65d47133fc7c158dfe027abbc85f74d9bc11882932'
} else if (process.platform === 'win32') {
{'fraction_non_alphanumeric': 0.14397905759162305, 'fraction_numerical': 0.047556719022687606, 'mean_word_length': 4.971354166666667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2534399', 'n_tokens_mistral': 881, 'n_tokens_neox': 815, 'n_words': 169}