Skip to content

feat: applyPatch reversely #105

Closed
@benjycui

Description

@benjycui

It seems that we cannot apply patch on newStr to calculate oldStr now. I read source code https://github.com/kpdecker/jsdiff/blob/master/src/patch/apply.js#L85 , and thought that we can add an option to do so.

If you accept this feature, I will create a pull request :-)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions