<commit_before>import assign from 'lodash/assign'
import Client from 'jsonrpc-websocket-client'
import eventToPromise from 'event-to-promise'
import forEach from 'lodash.foreach'
import makeError from 'make-error'
import map from 'lodash/map'
import { EventEmitter } from 'events'
import {
  xoaConfiguration,
  xoaRegisterState,
  xoaTrialState,
  xoaUpdaterLog,
  xoaUpdaterState
} from 'store/actions'

// ===================================================================

const states = [
  'disconnected',
  'updating',
  'upgrading',
  'upToDate',
  'upgradeNeeded',
  'registerNeeded',
  'error'
]

// ===================================================================
<commit_msg>fix(xoa-updater): fix import lodash/forEach<commit_after>import assign from 'lodash/assign'
import Client from 'jsonrpc-websocket-client'
import eventToPromise from 'event-to-promise'
import forEach from 'lodash/forEach'
import makeError from 'make-error'
import map from 'lodash/map'
import { EventEmitter } from 'events'
import {
  xoaConfiguration,
  xoaRegisterState,
  xoaTrialState,
  xoaUpdaterLog,
  xoaUpdaterState
} from 'store/actions'

// ===================================================================

const states = [
  'disconnected',
  'updating',
  'upgrading',
  'upToDate',
  'upgradeNeeded',
  'registerNeeded',
  'error'
]

// ===================================================================

{'fraction_non_alphanumeric': 0.28257790368271957, 'fraction_numerical': 0.0, 'mean_word_length': 6.136363636363637, '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': '7117967', 'n_tokens_mistral': 432, 'n_tokens_neox': 412, 'n_words': 93}