Skip to content

improve optional dependencies import #112

Description

@Gioee

Feature Request

Is your feature request related to a problem? Please describe.
Remove useless imports like the Buffer one here in certain environments. e.g. node doesn't need buffer import since it's already defined https://nodejs.org/api/buffer.html

Describe the solution you'd like
Use dynamic imports to improve efficiency of the driver.
Dependencies we can remove using dynamic imports:

  • whatwg-url
  • buffer

Activity

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions