Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Storage] Removed use of native Node 18 blobs #6705

Merged
merged 6 commits into from
Oct 19, 2022

Conversation

maneesht
Copy link
Contributor

Removed use of native Node 18 blobs.

@maneesht maneesht requested a review from tonyjhuang as a code owner October 18, 2022 18:31
@changeset-bot
Copy link

changeset-bot bot commented Oct 18, 2022

🦋 Changeset detected

Latest commit: c876d7e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@firebase/storage Patch
firebase Patch
@firebase/storage-compat Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@maneesht maneesht changed the title Added a comment Oct 18, 2022
@maneesht maneesht requested a review from egilmorez as a code owner October 18, 2022 18:32
@google-oss-bot
Copy link
Contributor

google-oss-bot commented Oct 18, 2022

Size Report 1

Affected Products

  • @firebase/storage

    TypeBase (46596de)Merge (6bc5827)Diff
    browser55.6 kB55.6 kB+18 B (+0.0%)
    esm561.9 kB61.9 kB+18 B (+0.0%)
    main58.5 kB58.5 kB+16 B (+0.0%)
    module55.6 kB55.6 kB+18 B (+0.0%)
  • bundle

    TypeBase (46596de)Merge (6bc5827)Diff
    storage (uploadBytes)46.4 kB46.5 kB+123 B (+0.3%)
    storage (uploadBytesResumable)56.3 kB56.5 kB+123 B (+0.2%)
    storage (uploadString)46.6 kB46.7 kB+123 B (+0.3%)
  • firebase

    TypeBase (46596de)Merge (6bc5827)Diff
    firebase-compat.js740 kB740 kB+6 B (+0.0%)
    firebase-storage-compat.js39.0 kB39.1 kB+111 B (+0.3%)
    firebase-storage.js38.6 kB38.7 kB+113 B (+0.3%)

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/4CAqp7UQpE.html
@google-oss-bot
Copy link
Contributor

Size Analysis Report 1

Affected Products

  • @firebase/storage

    • _FbsBlob

      Size

      TypeBase (46596de)Merge (b33a355)Diff
      size14.0 kB14.1 kB+28 B (+0.2%)
      size-with-ext-deps31.0 kB31.1 kB+127 B (+0.4%)

      External Dependency

      ModuleBase (46596de)Merge (b33a355)Diff
      @firebase/util

      FirebaseError

      FirebaseError
      isNodeSdk

      + isNodeSdk

    • _UploadTask

      Size

      TypeBase (46596de)Merge (b33a355)Diff
      size29.6 kB29.6 kB+23 B (+0.1%)
      size-with-ext-deps46.6 kB46.7 kB+127 B (+0.3%)

      External Dependency

      ModuleBase (46596de)Merge (b33a355)Diff
      @firebase/util

      FirebaseError

      FirebaseError
      isNodeSdk

      + isNodeSdk

    • uploadBytes

      Size

      TypeBase (46596de)Merge (b33a355)Diff
      size19.8 kB19.8 kB+25 B (+0.1%)
      size-with-ext-deps36.8 kB36.9 kB+127 B (+0.3%)

      External Dependency

      ModuleBase (46596de)Merge (b33a355)Diff
      @firebase/util

      FirebaseError
      getModularInstance

      FirebaseError
      getModularInstance
      isNodeSdk

      + isNodeSdk

    • uploadBytesResumable

      Size

      TypeBase (46596de)Merge (b33a355)Diff
      size29.8 kB29.8 kB+23 B (+0.1%)
      size-with-ext-deps46.8 kB46.9 kB+127 B (+0.3%)

      External Dependency

      ModuleBase (46596de)Merge (b33a355)Diff
      @firebase/util

      FirebaseError
      getModularInstance

      FirebaseError
      getModularInstance
      isNodeSdk

      + isNodeSdk

    • uploadString

      Size

      TypeBase (46596de)Merge (b33a355)Diff
      size20.0 kB20.0 kB+25 B (+0.1%)
      size-with-ext-deps37.0 kB37.1 kB+127 B (+0.3%)

      External Dependency

      ModuleBase (46596de)Merge (b33a355)Diff
      @firebase/util

      FirebaseError
      getModularInstance

      FirebaseError
      getModularInstance
      isNodeSdk

      + isNodeSdk

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/G7afmJZUBN.html
@google-oss-bot
Copy link
Contributor

google-oss-bot commented Oct 18, 2022

Size Analysis Report 1

Affected Products

  • @firebase/storage

    • _FbsBlob

      Size

      TypeBase (46596de)Merge (6bc5827)Diff
      size14.0 kB14.1 kB+25 B (+0.2%)
      size-with-ext-deps31.0 kB31.1 kB+123 B (+0.4%)

      External Dependency

      ModuleBase (46596de)Merge (6bc5827)Diff
      @firebase/util

      FirebaseError

      FirebaseError
      isNode

      + isNode

    • _UploadTask

      Size

      TypeBase (46596de)Merge (6bc5827)Diff
      size29.6 kB29.6 kB+20 B (+0.1%)
      size-with-ext-deps46.6 kB46.7 kB+123 B (+0.3%)

      External Dependency

      ModuleBase (46596de)Merge (6bc5827)Diff
      @firebase/util

      FirebaseError

      FirebaseError
      isNode

      + isNode

    • uploadBytes

      Size

      TypeBase (46596de)Merge (6bc5827)Diff
      size19.8 kB19.8 kB+22 B (+0.1%)
      size-with-ext-deps36.8 kB36.9 kB+123 B (+0.3%)

      External Dependency

      ModuleBase (46596de)Merge (6bc5827)Diff
      @firebase/util

      FirebaseError
      getModularInstance

      FirebaseError
      getModularInstance
      isNode

      + isNode

    • uploadBytesResumable

      Size

      TypeBase (46596de)Merge (6bc5827)Diff
      size29.8 kB29.8 kB+20 B (+0.1%)
      size-with-ext-deps46.8 kB46.9 kB+123 B (+0.3%)

      External Dependency

      ModuleBase (46596de)Merge (6bc5827)Diff
      @firebase/util

      FirebaseError
      getModularInstance

      FirebaseError
      getModularInstance
      isNode

      + isNode

    • uploadString

      Size

      TypeBase (46596de)Merge (6bc5827)Diff
      size20.0 kB20.0 kB+22 B (+0.1%)
      size-with-ext-deps37.0 kB37.1 kB+123 B (+0.3%)

      External Dependency

      ModuleBase (46596de)Merge (6bc5827)Diff
      @firebase/util

      FirebaseError
      getModularInstance

      FirebaseError
      getModularInstance
      isNode

      + isNode

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/G5H6LlMukN.html
@maneesht maneesht merged commit de1c717 into master Oct 19, 2022
@maneesht maneesht deleted the mtewani/disable-node18-blobs branch October 19, 2022 02:18
@google-oss-bot google-oss-bot mentioned this pull request Oct 25, 2022
@firebase firebase locked and limited conversation to collaborators Nov 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
3 participants