Skip to content

Remove inherit dependency and use Object.create for inheritance #239

@gyandeeps

Description

@gyandeeps

Would you be open to removing the module inherit and use Object.create to provide inheritance at this place: https://github.com/nodeca/js-yaml/blob/master/lib/js-yaml/exception.js#L30
This is the only place inherit module is getting used.

Why I am proposing this is because of the license issue which we have seen for inherit and because of that we had to pin down version of js-yaml in eslint library.
inherit has not been released in over 2 years now so i am not sure when that would happen.
Ref: eslint/eslint#4553

If this is accepted then I will send a PR.

Thanks

CC: @puzrin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions