<commit_before>###
Find Node.js version to pack into SFX
###
spawn = require 'child_process'
  .spawnSync

args = process.argv.slice 3
if /r^/i.test args[0]
  args = []

result = []

for s in spawn 'tmp\\cli.bat', ['ls'].concat args
.stdout
.toString()
.split /\r\n?|\n/
  break unless /^(\W)\s+(\S+)\s*$/.test s
  if !args.length and '>' == RegExp.$1
    result = [RegExp.$2]
    break
  result.push RegExp.$2

if !args.length
  result = result.slice -1

module.exports = result<commit_msg>Fix SFX<commit_after>###
Find Node.js version to pack into SFX
###
spawn = require 'child_process'
  .spawnSync

args = process.argv.slice 3
if /r^/i.test args[0]
  args = []

result = []

for s in spawn 'tmp\\cli.bat', ['ls'].concat args
.stdout
.toString()
.split /\r\n?|\n/
  break unless /^(\W)\s+(\S+)(\s+|$)/.test s
  if !args.length and '>' == RegExp.$1
    result = [RegExp.$2]
    break
  result.push RegExp.$2

if !args.length
  result = result.slice -1

module.exports = result
{'fraction_non_alphanumeric': 0.19101123595505617, 'fraction_numerical': 0.012257405515832482, 'mean_word_length': 2.983739837398374, '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': '3063696', 'n_tokens_mistral': 386, 'n_tokens_neox': 377, 'n_words': 102}