Skip to content

lodash cloneDeep console v12.20.0 #37023

Closed
@sjcoder-2021

Description

@sjcoder-2021
  • Version: 12.20.0
  • Platform: OSX
  • Subsystem:

What steps will reproduce the bug?

The cloneDeep from lodash 4.17.20 works fine for console object on 12.19.0, 12.19.1 and broken from 12.20.0.

var _ = require('lodash');
console.log(_.cloneDeep(console));

How often does it reproduce? Is there a required condition?

Always

What is the expected behavior?

{
  log: [Function: log],
  warn: [Function: warn],
  dir: [Function: dir],
  time: [Function: time],
  timeEnd: [Function: timeEnd],
  timeLog: [Function: timeLog],
  trace: [Function: trace],
  assert: [Function: assert],
  clear: [Function: clear],
  count: [Function: count],
  countReset: [Function: countReset],
  group: [Function: group],
  groupEnd: [Function: groupEnd],
  table: [Function: table],
  debug: [Function: debug],
  info: [Function: info],
  dirxml: [Function: dirxml],
  error: [Function: error],
  groupCollapsed: [Function: groupCollapsed],
  Console: [Function: Console],
  profile: [Function: profile],
  profileEnd: [Function: profileEnd],
  timeStamp: [Function: timeStamp],
  context: [Function: context]
}

What do you see instead?

{}

Additional information

Metadata

Metadata

Assignees

No one assigned

    Labels

    consoleIssues and PRs related to the console subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions