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

Add CJS browser entry points for all packages #6981

Merged
merged 6 commits into from
Jan 31, 2023
Merged

Conversation

hsubox76
Copy link
Contributor

@hsubox76 hsubox76 commented Jan 25, 2023

Jest in JSDOM mode expects browser-specific CJS packages to exist. Added CJS browser builds in packages where we don't have them and added exports.browser paths to point to them. (Note: packages that do not have separate Node and browser bundles do not use exports.node and exports.browser fields - a top level require field points at the CJS bundle and the default field points at the ESM bundle. Jest will recognize and use the top level require field.)

See https://github.com/uuidjs/uuid/pull/642/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519 for similar fix in uuid.

Note: Jest has experimental support for ESM and will probably make it officially supported at some point. We should test and make sure our setup and entry points work in that arrangement as well.

@changeset-bot
Copy link

changeset-bot bot commented Jan 25, 2023

🦋 Changeset detected

Latest commit: 3d2bc9a

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

This PR includes changesets to release 30 packages
Name Type
@firebase/auth Patch
@firebase/auth-compat Patch
@firebase/database Patch
@firebase/database-compat Patch
firebase Patch
@firebase/firestore Patch
@firebase/firestore-compat Patch
@firebase/functions Patch
@firebase/functions-compat Patch
@firebase/messaging Patch
@firebase/messaging-compat Patch
@firebase/rules-unit-testing Patch
@firebase/storage Patch
@firebase/template Patch
@firebase/util Patch
@firebase/storage-compat Patch
@firebase/analytics-compat Patch
@firebase/analytics Patch
@firebase/app-check-compat Patch
@firebase/app-check Patch
@firebase/app-compat Patch
@firebase/app Patch
@firebase/component Patch
@firebase/database-types Patch
@firebase/installations-compat Patch
@firebase/installations Patch
@firebase/performance-compat Patch
@firebase/performance Patch
@firebase/remote-config-compat Patch
@firebase/remote-config 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

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Jan 25, 2023

Size Report 1

Affected Products

  • @firebase/firestore

    TypeBase (6836974)Merge (b84be14)Diff
    browser273 kB273 kB+107 B (+0.0%)
    esm5339 kB339 kB+107 B (+0.0%)
    main545 kB546 kB+240 B (+0.0%)
    module273 kB273 kB+107 B (+0.0%)
    react-native273 kB273 kB+107 B (+0.0%)
  • @firebase/storage

    TypeBase (6836974)Merge (b84be14)Diff
    browser56.0 kB57.8 kB+1.87 kB (+3.3%)
    esm562.5 kB64.4 kB+1.87 kB (+3.0%)
    main58.5 kB59.6 kB+1.07 kB (+1.8%)
    module56.0 kB57.8 kB+1.87 kB (+3.3%)
  • bundle

    15 size changes

    TypeBase (6836974)Merge (b84be14)Diff
    firestore (Persistence)281 kB281 kB+107 B (+0.0%)
    firestore (Query Cursors)220 kB220 kB+43 B (+0.0%)
    firestore (Query)217 kB218 kB+43 B (+0.0%)
    firestore (Read data once)205 kB205 kB+43 B (+0.0%)
    firestore (Realtime updates)207 kB207 kB+43 B (+0.0%)
    firestore (Transaction)188 kB188 kB+43 B (+0.0%)
    firestore (Write data)188 kB188 kB+43 B (+0.0%)
    storage (getBytes)40.1 kB41.1 kB+1.08 kB (+2.7%)
    storage (getDownloadURL)42.1 kB43.2 kB+1.08 kB (+2.6%)
    storage (getMetadata)41.6 kB42.7 kB+1.08 kB (+2.6%)
    storage (list + listAll)41.0 kB42.1 kB+1.08 kB (+2.6%)
    storage (updateMetadata)41.8 kB42.9 kB+1.08 kB (+2.6%)
    storage (uploadBytes)46.9 kB48.0 kB+1.08 kB (+2.3%)
    storage (uploadBytesResumable)56.9 kB58.0 kB+1.08 kB (+1.9%)
    storage (uploadString)47.2 kB48.2 kB+1.08 kB (+2.3%)

  • firebase

    TypeBase (6836974)Merge (b84be14)Diff
    firebase-compat.js746 kB747 kB+1.13 kB (+0.2%)
    firebase-firestore-compat.js321 kB321 kB+109 B (+0.0%)
    firebase-firestore.js321 kB321 kB+107 B (+0.0%)
    firebase-storage-compat.js40.2 kB41.2 kB+967 B (+2.4%)
    firebase-storage.js39.1 kB40.2 kB+1.06 kB (+2.7%)

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/z28HZZ289q.html

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Jan 25, 2023

Size Analysis Report 1

Affected Products

  • @firebase/firestore

    • addDoc

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size118 kB118 kB+43 B (+0.0%)
      size-with-ext-deps178 kB178 kB+43 B (+0.0%)
    • deleteDoc

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size109 kB109 kB+43 B (+0.0%)
      size-with-ext-deps169 kB169 kB+43 B (+0.0%)
    • disableNetwork

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size97.6 kB97.6 kB+43 B (+0.0%)
      size-with-ext-deps157 kB157 kB+43 B (+0.0%)
    • enableIndexedDbPersistence

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size179 kB179 kB+107 B (+0.1%)
      size-with-ext-deps240 kB240 kB+107 B (+0.0%)
    • enableMultiTabIndexedDbPersistence

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size211 kB211 kB+107 B (+0.1%)
      size-with-ext-deps272 kB272 kB+107 B (+0.0%)
    • enableNetwork

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size97.6 kB97.6 kB+43 B (+0.0%)
      size-with-ext-deps157 kB157 kB+43 B (+0.0%)
    • executeWrite

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size108 kB108 kB+43 B (+0.0%)
      size-with-ext-deps168 kB168 kB+43 B (+0.0%)
    • getCountFromServer

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size104 kB104 kB+43 B (+0.0%)
      size-with-ext-deps164 kB164 kB+43 B (+0.0%)
    • getDoc

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size135 kB135 kB+43 B (+0.0%)
      size-with-ext-deps194 kB194 kB+43 B (+0.0%)
    • getDocFromCache

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size90.7 kB90.7 kB+43 B (+0.0%)
      size-with-ext-deps150 kB150 kB+43 B (+0.0%)
    • getDocFromServer

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size135 kB135 kB+43 B (+0.0%)
      size-with-ext-deps194 kB194 kB+43 B (+0.0%)
    • getDocs

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size136 kB137 kB+43 B (+0.0%)
      size-with-ext-deps196 kB196 kB+43 B (+0.0%)
    • getDocsFromCache

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size98.4 kB98.4 kB+43 B (+0.0%)
      size-with-ext-deps157 kB157 kB+43 B (+0.0%)
    • getDocsFromServer

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size136 kB136 kB+43 B (+0.0%)
      size-with-ext-deps196 kB196 kB+43 B (+0.0%)
    • loadBundle

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size107 kB107 kB+43 B (+0.0%)
      size-with-ext-deps166 kB166 kB+43 B (+0.0%)
    • namedQuery

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size84.2 kB84.2 kB+43 B (+0.1%)
      size-with-ext-deps143 kB143 kB+43 B (+0.0%)
    • onSnapshot

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size137 kB137 kB+43 B (+0.0%)
      size-with-ext-deps197 kB197 kB+43 B (+0.0%)
    • onSnapshotsInSync

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size127 kB127 kB+43 B (+0.0%)
      size-with-ext-deps186 kB186 kB+43 B (+0.0%)
    • runTransaction

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size118 kB118 kB+43 B (+0.0%)
      size-with-ext-deps178 kB178 kB+43 B (+0.0%)
    • setDoc

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size117 kB117 kB+43 B (+0.0%)
      size-with-ext-deps177 kB177 kB+43 B (+0.0%)
    • setIndexConfiguration

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size86.8 kB86.8 kB+43 B (+0.0%)
      size-with-ext-deps146 kB146 kB+43 B (+0.0%)
    • updateDoc

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size118 kB118 kB+43 B (+0.0%)
      size-with-ext-deps177 kB177 kB+43 B (+0.0%)
    • waitForPendingWrites

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size98.0 kB98.1 kB+43 B (+0.0%)
      size-with-ext-deps157 kB157 kB+43 B (+0.0%)
    • writeBatch

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size120 kB120 kB+43 B (+0.0%)
      size-with-ext-deps179 kB179 kB+43 B (+0.0%)
  • @firebase/storage

    • StorageError

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size?11.1 kB? (?)
      size-with-ext-deps?28.1 kB? (?)

      Dependency

      TypeBase (6836974)Merge (b84be14)Diff
      functions?

      25 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addVersionHeader_
      appDeleted
      canceled
      extractBucket
      factory
      invalidArgument
      invalidDefaultBucket
      invalidRootOperation
      invalidUrl
      isJustDef
      isRetryStatusCode
      lastComponent
      makeQueryString
      makeRequest
      parent
      prependCode
      registerStorage
      retryLimitExceeded
      start
      stop
      unknown
      validateNumber

      ?
      classes?

      FailRequest
      FirebaseStorageImpl
      Location
      NetworkRequest
      Reference
      RequestEndStatus
      StorageError

      ?
      variables?

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      STORAGE_TYPE
      StorageErrorCode
      name
      version

      ?
      enums??

      External Dependency

      ModuleBase (6836974)Merge (b84be14)Diff
      @firebase/app?

      SDK_VERSION
      _registerComponent
      registerVersion

      ?
      @firebase/component?

      Component

      ?
      @firebase/util?

      FirebaseError

      ?
    • StorageErrorCode

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size?11.1 kB? (?)
      size-with-ext-deps?28.1 kB? (?)

      Dependency

      TypeBase (6836974)Merge (b84be14)Diff
      functions?

      25 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addVersionHeader_
      appDeleted
      canceled
      extractBucket
      factory
      invalidArgument
      invalidDefaultBucket
      invalidRootOperation
      invalidUrl
      isJustDef
      isRetryStatusCode
      lastComponent
      makeQueryString
      makeRequest
      parent
      prependCode
      registerStorage
      retryLimitExceeded
      start
      stop
      unknown
      validateNumber

      ?
      classes?

      FailRequest
      FirebaseStorageImpl
      Location
      NetworkRequest
      Reference
      RequestEndStatus
      StorageError

      ?
      variables?

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      STORAGE_TYPE
      StorageErrorCode
      name
      version

      ?
      enums??

      External Dependency

      ModuleBase (6836974)Merge (b84be14)Diff
      @firebase/app?

      SDK_VERSION
      _registerComponent
      registerVersion

      ?
      @firebase/component?

      Component

      ?
      @firebase/util?

      FirebaseError

      ?
    • StringFormat

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size10.1 kB11.2 kB+1.06 kB (+10.4%)
      size-with-ext-deps27.1 kB28.1 kB+1.07 kB (+4.0%)

      Dependency

      TypeBase (6836974)Merge (b84be14)Diff
      variables

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      STORAGE_TYPE
      StringFormat
      name
      version

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      STORAGE_TYPE
      StorageErrorCode
      StringFormat
      name
      version

      + StorageErrorCode

    • _FbsBlob

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size14.4 kB15.4 kB+1.06 kB (+7.4%)
      size-with-ext-deps32.4 kB33.5 kB+1.07 kB (+3.3%)

      Dependency

      TypeBase (6836974)Merge (b84be14)Diff
      variables

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      STORAGE_TYPE
      StringFormat
      name
      version

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      STORAGE_TYPE
      StorageErrorCode
      StringFormat
      name
      version

      + StorageErrorCode

    • _Location

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size10.1 kB11.1 kB+1.06 kB (+10.5%)
      size-with-ext-deps27.0 kB28.1 kB+1.07 kB (+4.0%)

      Dependency

      TypeBase (6836974)Merge (b84be14)Diff
      variables

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      STORAGE_TYPE
      name
      version

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      STORAGE_TYPE
      StorageErrorCode
      name
      version

      + StorageErrorCode

    • _TaskEvent

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size10.1 kB11.2 kB+1.06 kB (+10.5%)
      size-with-ext-deps27.0 kB28.1 kB+1.07 kB (+4.0%)

      Dependency

      TypeBase (6836974)Merge (b84be14)Diff
      variables

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      STORAGE_TYPE
      TaskEvent
      name
      version

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      STORAGE_TYPE
      StorageErrorCode
      TaskEvent
      name
      version

      + StorageErrorCode

    • _TaskState

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size10.2 kB11.2 kB+1.06 kB (+10.4%)
      size-with-ext-deps27.1 kB28.2 kB+1.07 kB (+4.0%)

      Dependency

      TypeBase (6836974)Merge (b84be14)Diff
      variables

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      STORAGE_TYPE
      TaskState
      name
      version

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      STORAGE_TYPE
      StorageErrorCode
      TaskState
      name
      version

      + StorageErrorCode

    • _UploadTask

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size29.9 kB31.0 kB+1.06 kB (+3.5%)
      size-with-ext-deps47.9 kB49.0 kB+1.08 kB (+2.3%)

      Dependency

      TypeBase (6836974)Merge (b84be14)Diff
      variables

      13 dependencies

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      DEFAULT_MIN_SLEEP_TIME_MILLIS
      ErrorCode
      RESUMABLE_UPLOAD_CHUNK_SIZE
      STORAGE_TYPE
      StringFormat
      TaskState
      mappings_
      name
      version

      14 dependencies

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      DEFAULT_MIN_SLEEP_TIME_MILLIS
      ErrorCode
      RESUMABLE_UPLOAD_CHUNK_SIZE
      STORAGE_TYPE
      StorageErrorCode
      StringFormat
      TaskState
      mappings_
      name
      version

      + StorageErrorCode

    • _dataFromString

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size12.6 kB13.6 kB+1.06 kB (+8.4%)
      size-with-ext-deps29.5 kB30.6 kB+1.07 kB (+3.6%)

      Dependency

      TypeBase (6836974)Merge (b84be14)Diff
      variables

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      STORAGE_TYPE
      StringFormat
      name
      version

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      STORAGE_TYPE
      StorageErrorCode
      StringFormat
      name
      version

      + StorageErrorCode

    • _getChild

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size10.3 kB11.4 kB+1.06 kB (+10.3%)
      size-with-ext-deps27.2 kB28.3 kB+1.07 kB (+3.9%)

      Dependency

      TypeBase (6836974)Merge (b84be14)Diff
      variables

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      STORAGE_TYPE
      name
      version

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      STORAGE_TYPE
      StorageErrorCode
      name
      version

      + StorageErrorCode

    • _invalidArgument

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size10.1 kB11.1 kB+1.06 kB (+10.5%)
      size-with-ext-deps27.0 kB28.1 kB+1.07 kB (+4.0%)

      Dependency

      TypeBase (6836974)Merge (b84be14)Diff
      variables

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      STORAGE_TYPE
      name
      version

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      STORAGE_TYPE
      StorageErrorCode
      name
      version

      + StorageErrorCode

    • _invalidRootOperation

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size10.1 kB11.1 kB+1.06 kB (+10.5%)
      size-with-ext-deps27.0 kB28.1 kB+1.07 kB (+4.0%)

      Dependency

      TypeBase (6836974)Merge (b84be14)Diff
      variables

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      STORAGE_TYPE
      name
      version

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      STORAGE_TYPE
      StorageErrorCode
      name
      version

      + StorageErrorCode

    • connectStorageEmulator

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size10.3 kB11.4 kB+1.06 kB (+10.3%)
      size-with-ext-deps27.8 kB28.8 kB+1.07 kB (+3.9%)

      Dependency

      TypeBase (6836974)Merge (b84be14)Diff
      variables

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      STORAGE_TYPE
      name
      version

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      STORAGE_TYPE
      StorageErrorCode
      name
      version

      + StorageErrorCode

    • deleteObject

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size13.4 kB14.5 kB+1.06 kB (+7.9%)
      size-with-ext-deps30.4 kB31.5 kB+1.08 kB (+3.5%)

      Dependency

      TypeBase (6836974)Merge (b84be14)Diff
      variables

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      STORAGE_TYPE
      name
      version

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      STORAGE_TYPE
      StorageErrorCode
      name
      version

      + StorageErrorCode

    • getBlob

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size13.5 kB14.5 kB+1.06 kB (+7.9%)
      size-with-ext-deps30.5 kB31.6 kB+1.08 kB (+3.5%)

      Dependency

      TypeBase (6836974)Merge (b84be14)Diff
      variables

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      STORAGE_TYPE
      name
      version

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      STORAGE_TYPE
      StorageErrorCode
      name
      version

      + StorageErrorCode

    • getBytes

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size13.5 kB14.6 kB+1.06 kB (+7.9%)
      size-with-ext-deps30.5 kB31.6 kB+1.08 kB (+3.5%)

      Dependency

      TypeBase (6836974)Merge (b84be14)Diff
      variables

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      STORAGE_TYPE
      name
      version

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      STORAGE_TYPE
      StorageErrorCode
      name
      version

      + StorageErrorCode

    • getDownloadURL

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size15.5 kB16.6 kB+1.06 kB (+6.8%)
      size-with-ext-deps32.6 kB33.6 kB+1.08 kB (+3.3%)

      Dependency

      TypeBase (6836974)Merge (b84be14)Diff
      variables

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      STORAGE_TYPE
      mappings_
      name
      version

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      STORAGE_TYPE
      StorageErrorCode
      mappings_
      name
      version

      + StorageErrorCode

    • getMetadata

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size15.0 kB16.1 kB+1.06 kB (+7.1%)
      size-with-ext-deps32.0 kB33.1 kB+1.08 kB (+3.4%)

      Dependency

      TypeBase (6836974)Merge (b84be14)Diff
      variables

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      STORAGE_TYPE
      mappings_
      name
      version

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      STORAGE_TYPE
      StorageErrorCode
      mappings_
      name
      version

      + StorageErrorCode

    • getStorage

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size10.5 kB11.6 kB+1.06 kB (+10.1%)
      size-with-ext-deps35.7 kB36.7 kB+1.07 kB (+3.0%)

      Dependency

      TypeBase (6836974)Merge (b84be14)Diff
      variables

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      STORAGE_TYPE
      name
      version

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      STORAGE_TYPE
      StorageErrorCode
      name
      version

      + StorageErrorCode

    • getStream

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size10.1 kB11.2 kB+1.06 kB (+10.4%)
      size-with-ext-deps27.1 kB28.1 kB+1.07 kB (+4.0%)

      Dependency

      TypeBase (6836974)Merge (b84be14)Diff
      variables

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      STORAGE_TYPE
      name
      version

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      STORAGE_TYPE
      StorageErrorCode
      name
      version

      + StorageErrorCode

    • list

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size14.1 kB15.2 kB+1.06 kB (+7.5%)
      size-with-ext-deps31.1 kB32.2 kB+1.08 kB (+3.5%)

      Dependency

      TypeBase (6836974)Merge (b84be14)Diff
      variables

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      ITEMS_KEY
      PREFIXES_KEY
      STORAGE_TYPE
      name
      version

      11 dependencies

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      ITEMS_KEY
      PREFIXES_KEY
      STORAGE_TYPE
      StorageErrorCode
      name
      version

      + StorageErrorCode

    • listAll

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size14.4 kB15.4 kB+1.06 kB (+7.4%)
      size-with-ext-deps31.4 kB32.4 kB+1.08 kB (+3.4%)

      Dependency

      TypeBase (6836974)Merge (b84be14)Diff
      variables

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      ITEMS_KEY
      PREFIXES_KEY
      STORAGE_TYPE
      name
      version

      11 dependencies

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      ITEMS_KEY
      PREFIXES_KEY
      STORAGE_TYPE
      StorageErrorCode
      name
      version

      + StorageErrorCode

    • ref

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size10.9 kB12.0 kB+1.06 kB (+9.7%)
      size-with-ext-deps27.9 kB29.0 kB+1.07 kB (+3.8%)

      Dependency

      TypeBase (6836974)Merge (b84be14)Diff
      variables

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      STORAGE_TYPE
      name
      version

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      STORAGE_TYPE
      StorageErrorCode
      name
      version

      + StorageErrorCode

    • updateMetadata

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size15.3 kB16.3 kB+1.06 kB (+7.0%)
      size-with-ext-deps32.3 kB33.3 kB+1.08 kB (+3.3%)

      Dependency

      TypeBase (6836974)Merge (b84be14)Diff
      variables

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      STORAGE_TYPE
      mappings_
      name
      version

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      STORAGE_TYPE
      StorageErrorCode
      mappings_
      name
      version

      + StorageErrorCode

    • uploadBytes

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size20.1 kB21.2 kB+1.06 kB (+5.3%)
      size-with-ext-deps38.2 kB39.3 kB+1.08 kB (+2.8%)

      Dependency

      TypeBase (6836974)Merge (b84be14)Diff
      variables

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      STORAGE_TYPE
      StringFormat
      mappings_
      name
      version

      11 dependencies

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      STORAGE_TYPE
      StorageErrorCode
      StringFormat
      mappings_
      name
      version

      + StorageErrorCode

    • uploadBytesResumable

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size30.1 kB31.1 kB+1.06 kB (+3.5%)
      size-with-ext-deps48.2 kB49.2 kB+1.08 kB (+2.2%)

      Dependency

      TypeBase (6836974)Merge (b84be14)Diff
      variables

      13 dependencies

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      DEFAULT_MIN_SLEEP_TIME_MILLIS
      ErrorCode
      RESUMABLE_UPLOAD_CHUNK_SIZE
      STORAGE_TYPE
      StringFormat
      TaskState
      mappings_
      name
      version

      14 dependencies

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      DEFAULT_MIN_SLEEP_TIME_MILLIS
      ErrorCode
      RESUMABLE_UPLOAD_CHUNK_SIZE
      STORAGE_TYPE
      StorageErrorCode
      StringFormat
      TaskState
      mappings_
      name
      version

      + StorageErrorCode

    • uploadString

      Size

      TypeBase (6836974)Merge (b84be14)Diff
      size20.3 kB21.4 kB+1.06 kB (+5.2%)
      size-with-ext-deps38.4 kB39.5 kB+1.08 kB (+2.8%)

      Dependency

      TypeBase (6836974)Merge (b84be14)Diff
      variables

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      STORAGE_TYPE
      StringFormat
      mappings_
      name
      version

      11 dependencies

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      STORAGE_TYPE
      StorageErrorCode
      StringFormat
      mappings_
      name
      version

      + StorageErrorCode

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/CKayt4mErC.html

Copy link
Contributor

@dwyfrequency dwyfrequency left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@firebase firebase locked and limited conversation to collaborators Mar 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants