Code Duplication    Length = 1-1 lines in 2 locations

node_modules/mocha/mocha.js 1 location

@@ 7805-7805 (lines=1) @@
7802
7803
	// This function handles the presence of circular references by bailing out when encountering an
7804
	// object that is already on the "stack" of items being processed.
7805
	function canonicalize(obj, stack, replacementStack) {
7806
	  stack = stack || [];
7807
	  replacementStack = replacementStack || [];
7808

node_modules/diff/lib/diff/json.js 1 location

@@ 50-50 (lines=1) @@
47
48
// This function handles the presence of circular references by bailing out when encountering an
49
// object that is already on the "stack" of items being processed.
50
function canonicalize(obj, stack, replacementStack) {
51
  stack = stack || [];
52
  replacementStack = replacementStack || [];
53