Skip to content

Erroneous warnings about deprecated options when using parse() #2793

@Conduitry

Description

@Conduitry

Marked version:
5.0.0

Describe the bug
Calling parse emits erroneous warnings about deprecated options that are not actually being used.

To Reproduce

  1. Install [email protected]
  2. Run require('marked').parse('foo') in REPL
  3. Observe warnings

Expected behavior
The warnings should only be emitted for deprecated options that I am using.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions