Skip to content

v4.7.1 broke node <= 6 #4127

@ljharb

Description

@ljharb

Product

axe-core

Product Version

v4.7.1

Latest Version

  • I have tested the issue with the latest version of the product

Issue Description

Expectation

Be requireable in node < 6.

Actual

Crashes, because Object.values was added in node 7.

How to Reproduce

Run require('axe-core') in node 6.

Additional context

I suggest using https://npmjs.com/object.values until you're ready to release a major version that drops support for node 4-6 (please fix v4 for node <= 6 before doing that). I'd be happy to submit a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    fixBug fixes

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions