<commit_before>import { Driver } from '@cycle/run'
import xs, { Stream } from 'xstream'
import * as deepstream from 'deepstream.io-client-js'
import { EventEmitter } from 'events'
import * as stringify from 'json-stringify-safe'

export type Intent = {
  action: string,
  name?: string
}

export type LoginIntent = {
  action: string,
  name?: string,
  auth: Object
}

export type SubscribeIntent = {
  action: string,
  name?: string,
  events: Object
}

export type RecordSetIntent = {
  action: string,
  name?: string,
  data: Object,
  path?: string,<commit_msg>Require json-stringify-safe instead of import<commit_after>import { Driver } from '@cycle/run'
import xs, { Stream } from 'xstream'
import * as deepstream from 'deepstream.io-client-js'
import { EventEmitter } from 'events'
const stringify = require('json-stringify-safe')

export type Intent = {
  action: string,
  name?: string
}

export type LoginIntent = {
  action: string,
  name?: string,
  auth: Object
}

export type SubscribeIntent = {
  action: string,
  name?: string,
  events: Object
}

export type RecordSetIntent = {
  action: string,
  name?: string,
  data: Object,
  path?: string,
{'fraction_non_alphanumeric': 0.11623931623931624, 'fraction_numerical': 0.0, 'mean_word_length': 4.158590308370044, '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': '2901746', 'n_tokens_mistral': 368, 'n_tokens_neox': 367, 'n_words': 119}