Skip to content

Support for filesize@10 #397

@amitdahan

Description

@amitdahan

Summary

Starting with ngx-filesize@3.0.0 we now support a predefined set of filesize versions - >= 6.0.0 < 10.0.0, this is due to 10.0.0 requiring a { filesize } from 'filesize' import whereas previous versions require filesize from 'filesize'.

I could only thing of 2 ways for us to add support for filesize@10:

  1. Only support ^10.0.0 (or >= 10.0.0?) with the named-import API, maybe in ngx-filesize@4.0.0?
  2. Provide a new import { NgxFilesizeModule } from 'ngx-filesize/filesize@10 opt-in export, effectively letting us support filesize@10 but with a secondary API entrypoint.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions