<commit_before>'use strict'

import test from 'ava'
import peerid from './'
import equals from 'buffer-equals'

test('random id', t => {
  const id = peerid()
<commit_msg>test: require `safe-buffer` for nodejs@0.10<commit_after>'use strict'

import test from 'ava'
import peerid from './'
import equals from 'buffer-equals'
import {Buffer} from 'safe-buffer'

test('random id', t => {
  const id = peerid()

{'fraction_non_alphanumeric': 0.14496314496314497, 'fraction_numerical': 0.007371007371007371, 'mean_word_length': 4.666666666666667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '3880582', 'n_tokens_mistral': 135, 'n_tokens_neox': 133, 'n_words': 46}