Skip to content

Version 1.4 breaks uploads with transformations #106

@Airswoop1

Description

@Airswoop1

In the latest version of the repository 1.4, lib/utils.js line 341, there is a check for width.startsWith("auto"). In prior versions <=1.3, the check is width == "auto". The modification to use startsWith expects that the parameter being passed in is a string. If it is a number, (as it was for me), the function throws an unhandled exception.

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