<commit_before>const fs = require('fs-extra')
const path = require('path')

// FF policy
fs.remove(path.join(__dirname, '../build/firefox/assets/fanyi.youdao.2.0'))<commit_msg>chore: update ff pack script<commit_after>const fs = require('fs-extra')
const path = require('path')

main()

async function main() {
  // FF policy
  await fs.remove(
    path.join(__dirname, '../build/firefox/assets/fanyi.youdao.2.0')
  )
  // Stop FF extension check errors
  await fs.outputFile(
    path.join(__dirname, '../build/firefox/assets/fanyi.youdao.2.0/main.js'),
    ''
  )
}
{'fraction_non_alphanumeric': 0.1763668430335097, 'fraction_numerical': 0.010582010582010581, 'mean_word_length': 3.7333333333333334, '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': '4516596', 'n_tokens_mistral': 204, 'n_tokens_neox': 204, 'n_words': 38}