<commit_before>const fs = require('fs')
const path = require('path')
const { parserPath } = require('./copy')
function _replacePackage(projectName) {
  const appPath = parserPath(projectName)
  const packagePath = `${appPath}/package.json`
  const data = JSON.parse(fs.readFileSync(packagePath, 'utf8'))
  data.name = projectName
  delete data.homepage<commit_msg>[style] [xs]: add empty line before method<commit_after>const fs = require('fs')
const path = require('path')
const { parserPath } = require('./copy')

function _replacePackage(projectName) {
  const appPath = parserPath(projectName)
  const packagePath = `${appPath}/package.json`
  const data = JSON.parse(fs.readFileSync(packagePath, 'utf8'))
  data.name = projectName
  delete data.homepage
{'fraction_non_alphanumeric': 0.1358839050131926, 'fraction_numerical': 0.002638522427440633, 'mean_word_length': 5.776785714285714, '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': '2131298', 'n_tokens_mistral': 226, 'n_tokens_neox': 226, 'n_words': 55}