1// RE: substack/node-browserify#713 2 3// https://github.com/substack/node-browserify/pull/713 breaks resolving 4// an identical module multiple time from different locations when the 5// module has a circular require. 6 7// other than path, mod1 and mod2 are identical 8 9require('./mod1/a') 10require('./mod2/a') 11 12// browserify entry.js 13 14// works in 3.37.2 15// >= 3.38 throws RangeError: Maximum call stack size exceeded 16