<commit_before>import { debug } from '../../../utils';

const npmUrl = 'https://www.npmjs.com/package';
const nodeUrl = 'https://nodejs.org/api';
const regexes = [
  /require\(["']([\w-\/\.]+)["']\)/,
  /(?:import)?.*\sfrom\s+["']([\w-\/\.]+)["']/,
];

const builtinLibs = [
  'assert',<commit_msg>Add support to multiline require js parser<commit_after>import { debug } from '../../../utils';

const npmUrl = 'https://www.npmjs.com/package';
const nodeUrl = 'https://nodejs.org/api';
const regexes = [
  /=?\s*require\(["']([\w-\/\.]+)["']\)/,
  /(?:import)?.*\sfrom\s+["']([\w-\/\.]+)["']/,
];

const builtinLibs = [
  'assert',
{'fraction_non_alphanumeric': 0.3333333333333333, 'fraction_numerical': 0.0, 'mean_word_length': 3.151315789473684, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, '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': '4422535', 'n_tokens_mistral': 256, 'n_tokens_neox': 248, 'n_words': 39}