<commit_before>import { CRLReason, CRLReasons } from '@peculiar/asn1-x509';

import { rowValue } from '../row_value';
import { Extension } from '../../../crypto/extension';

import { basic } from './basic';

export function crlReason(extension: Extension, value: CRLReason) {
  return basic(
    extension,
    rowValue(
      'Reason',
      CRLReasons[value.reason],
    ),
  );
}<commit_msg>chore(viewer): Updated render value for "CRLReason" extension<commit_after>import { CRLReason } from '@peculiar/asn1-x509';

import { rowValue } from '../row_value';
import { Extension } from '../../../crypto/extension';

import { basic } from './basic';

export function crlReason(extension: Extension, value: CRLReason) {
  return basic(
    extension,
    rowValue(
      'Reason',
      value.toJSON(),
    ),
  );
}
{'fraction_non_alphanumeric': 0.1597051597051597, 'fraction_numerical': 0.009828009828009828, 'mean_word_length': 3.4293478260869565, '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': '415159', 'n_tokens_mistral': 259, 'n_tokens_neox': 255, 'n_words': 63}