Skip to content

Version 0.9.0 fails on the browser #42

Description

@heyallan

Describe the bug:
Version 0.9.0 fails on the browser

To Reproduce:
Load gitrows on the browser:
<script src="https://unpkg.com/gitrows@0.9.0/dist/gitrows.min.js"></script>

Expected results:
Should load gitrows without errors

Actual results:
Error: Uncaught ReferenceError: Buffer is not defined

Additional context:

  • Buffer et al are only available to node environment, it fails on the browser
  • Fun fact: version 0.8.0 works as expected

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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