github.com/replit/upm@v0.0.0-20240423230255-9ce4fc3ea24c/test-suite/templates/guess/js/original (about)

     1  import * as fs from 'fs';
     2  import 'assert';
     3  import { isAbsolute } from 'path';
     4  import nan from "nan";
     5  const foo = require('buffer');
     6  const foo2 = require("console");
     7  require("cluster", "crypto");
     8  require('async_hooks', 'constants');
     9  require('dns',)
    10  require(`child_process`)
    11  foo('bar');
    12  fs.doThing();
    13  const foo = ({
    14  	// this is the reason we switched to tree-sitter
    15  	foo = () => {},
    16  }) => void 0;
    17  process.exit(1);