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

Revert introduction of safevalues #8395

Merged
merged 2 commits into from
Jul 26, 2024
Merged

Conversation

dlarocque
Copy link
Contributor

This reverts commit f58d48c.

An issue in App Check revealed that safevalues is not compatible with es5, since template tag functions are required, and those are not supported in es5. Our bundler tries to compensate for this by replacing template tag functions with tslib.__makeTemplateObject, but safevalues does not assert that those are valid template string literals, and throws an error.

This can be fixed by upgrading all of our browser cjs bundles from es5 to es6, but we don't want to make that breaking change at this time, so we must revert our usage of safevalues until we're ready to drop es5 support.

For more details, see #8386 (comment)

Copy link

changeset-bot bot commented Jul 25, 2024

🦋 Changeset detected

Latest commit: 2e00374

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

This PR includes changesets to release 5 packages
Name Type
@firebase/analytics Patch
@firebase/app-check Patch
@firebase/analytics-compat Patch
firebase Patch
@firebase/app-check-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

@dlarocque dlarocque requested review from a team as code owners July 25, 2024 19:58
Copy link
Contributor

Changeset File Check ⚠️

  • Warning: This PR modifies files in the following packages but they have not been included in the changeset file:%0A - @firebase/auth%0A - @firebase/database-compat%0A - @firebase/database%0A - @firebase/messaging%0A%0A Make sure this was intentional.

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Jul 25, 2024

Size Report 1

Affected Products

  • @firebase/analytics

    TypeBase (e542f1d)Merge (d717de4)Diff
    browser21.3 kB21.8 kB+531 B (+2.5%)
    esm526.6 kB27.0 kB+386 B (+1.5%)
    main28.1 kB28.4 kB+351 B (+1.3%)
    module21.3 kB21.8 kB+531 B (+2.5%)
  • @firebase/app-check

    TypeBase (e542f1d)Merge (d717de4)Diff
    browser26.4 kB26.3 kB-64 B (-0.2%)
    esm531.9 kB31.6 kB-348 B (-1.1%)
    main33.2 kB32.8 kB-404 B (-1.2%)
    module26.4 kB26.3 kB-64 B (-0.2%)
  • bundle

    TypeBase (e542f1d)Merge (d717de4)Diff
    analytics (logEvent)48.3 kB44.5 kB-3.82 kB (-7.9%)
    app-check (ReCaptchaEnterpriseProvider)44.0 kB39.9 kB-4.09 kB (-9.3%)
    app-check (ReCaptchaV3Provider)43.9 kB39.8 kB-4.09 kB (-9.3%)
  • firebase

    TypeBase (e542f1d)Merge (d717de4)Diff
    firebase-analytics-compat.js29.9 kB26.5 kB-3.41 kB (-11.4%)
    firebase-analytics.js33.7 kB29.7 kB-4.01 kB (-11.9%)
    firebase-app-check-compat.js27.0 kB23.4 kB-3.67 kB (-13.6%)
    firebase-app-check.js29.4 kB25.0 kB-4.40 kB (-15.0%)
    firebase-compat.js789 kB786 kB-3.38 kB (-0.4%)

Test Logs

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

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Jul 25, 2024

Size Analysis Report 1

Affected Products

  • @firebase/analytics

    • getAnalytics

      Size

      TypeBase (e542f1d)Merge (d717de4)Diff
      size10.4 kB10.6 kB+190 B (+1.8%)
      size-with-ext-deps48.2 kB44.4 kB-3.82 kB (-7.9%)

      Dependency

      TypeBase (e542f1d)Merge (d717de4)Diff
      functions

      23 dependencies

      _initializeAnalytics
      attemptFetchDynamicConfigWithRetry
      factory
      fetchDynamicConfig
      fetchDynamicConfigWithRetry
      findGtagScriptOnPage
      getAnalytics
      getHeaders
      getOrCreateDataLayer
      gtagOnConfig
      gtagOnEvent
      initializeAnalytics
      insertScriptTag
      isRetriableError
      logEvent
      logEvent$1
      promiseAllSettled
      registerAnalytics
      setAbortableTimeout
      validateIndexedDB
      warnOnBrowserContextMismatch
      wrapGtag
      wrapOrCreateGtag

      25 dependencies

      _initializeAnalytics
      attemptFetchDynamicConfigWithRetry
      createGtagTrustedTypesScriptURL
      createTrustedTypesPolicy
      factory
      fetchDynamicConfig
      fetchDynamicConfigWithRetry
      findGtagScriptOnPage
      getAnalytics
      getHeaders
      getOrCreateDataLayer
      gtagOnConfig
      gtagOnEvent
      initializeAnalytics
      insertScriptTag
      isRetriableError
      logEvent
      logEvent$1
      promiseAllSettled
      registerAnalytics
      setAbortableTimeout
      validateIndexedDB
      warnOnBrowserContextMismatch
      wrapGtag
      wrapOrCreateGtag

      + createGtagTrustedTypesScriptURL
      + createTrustedTypesPolicy

      External Dependency

      ModuleBase (e542f1d)Merge (d717de4)Diff
      safevalues

      trustedResourceUrl

      - trustedResourceUrl

      safevalues/dom

      safeScriptEl

      - safeScriptEl

    • getGoogleAnalyticsClientId

      Size

      TypeBase (e542f1d)Merge (d717de4)Diff
      size10.3 kB10.5 kB+190 B (+1.9%)
      size-with-ext-deps41.0 kB37.2 kB-3.82 kB (-9.3%)

      Dependency

      TypeBase (e542f1d)Merge (d717de4)Diff
      functions

      23 dependencies

      _initializeAnalytics
      attemptFetchDynamicConfigWithRetry
      factory
      fetchDynamicConfig
      fetchDynamicConfigWithRetry
      findGtagScriptOnPage
      getGoogleAnalyticsClientId
      getHeaders
      getOrCreateDataLayer
      gtagOnConfig
      gtagOnEvent
      insertScriptTag
      internalGetGoogleAnalyticsClientId
      isRetriableError
      logEvent
      logEvent$1
      promiseAllSettled
      registerAnalytics
      setAbortableTimeout
      validateIndexedDB
      warnOnBrowserContextMismatch
      wrapGtag
      wrapOrCreateGtag

      25 dependencies

      _initializeAnalytics
      attemptFetchDynamicConfigWithRetry
      createGtagTrustedTypesScriptURL
      createTrustedTypesPolicy
      factory
      fetchDynamicConfig
      fetchDynamicConfigWithRetry
      findGtagScriptOnPage
      getGoogleAnalyticsClientId
      getHeaders
      getOrCreateDataLayer
      gtagOnConfig
      gtagOnEvent
      insertScriptTag
      internalGetGoogleAnalyticsClientId
      isRetriableError
      logEvent
      logEvent$1
      promiseAllSettled
      registerAnalytics
      setAbortableTimeout
      validateIndexedDB
      warnOnBrowserContextMismatch
      wrapGtag
      wrapOrCreateGtag

      + createGtagTrustedTypesScriptURL
      + createTrustedTypesPolicy

      External Dependency

      ModuleBase (e542f1d)Merge (d717de4)Diff
      safevalues

      trustedResourceUrl

      - trustedResourceUrl

      safevalues/dom

      safeScriptEl

      - safeScriptEl

    • initializeAnalytics

      Size

      TypeBase (e542f1d)Merge (d717de4)Diff
      size10.3 kB10.5 kB+190 B (+1.8%)
      size-with-ext-deps41.3 kB37.5 kB-3.82 kB (-9.2%)

      Dependency

      TypeBase (e542f1d)Merge (d717de4)Diff
      functions

      22 dependencies

      _initializeAnalytics
      attemptFetchDynamicConfigWithRetry
      factory
      fetchDynamicConfig
      fetchDynamicConfigWithRetry
      findGtagScriptOnPage
      getHeaders
      getOrCreateDataLayer
      gtagOnConfig
      gtagOnEvent
      initializeAnalytics
      insertScriptTag
      isRetriableError
      logEvent
      logEvent$1
      promiseAllSettled
      registerAnalytics
      setAbortableTimeout
      validateIndexedDB
      warnOnBrowserContextMismatch
      wrapGtag
      wrapOrCreateGtag

      24 dependencies

      _initializeAnalytics
      attemptFetchDynamicConfigWithRetry
      createGtagTrustedTypesScriptURL
      createTrustedTypesPolicy
      factory
      fetchDynamicConfig
      fetchDynamicConfigWithRetry
      findGtagScriptOnPage
      getHeaders
      getOrCreateDataLayer
      gtagOnConfig
      gtagOnEvent
      initializeAnalytics
      insertScriptTag
      isRetriableError
      logEvent
      logEvent$1
      promiseAllSettled
      registerAnalytics
      setAbortableTimeout
      validateIndexedDB
      warnOnBrowserContextMismatch
      wrapGtag
      wrapOrCreateGtag

      + createGtagTrustedTypesScriptURL
      + createTrustedTypesPolicy

      External Dependency

      ModuleBase (e542f1d)Merge (d717de4)Diff
      safevalues

      trustedResourceUrl

      - trustedResourceUrl

      safevalues/dom

      safeScriptEl

      - safeScriptEl

    • isSupported

      Size

      TypeBase (e542f1d)Merge (d717de4)Diff
      size10.2 kB10.4 kB+190 B (+1.9%)
      size-with-ext-deps40.9 kB37.1 kB-3.82 kB (-9.3%)

      Dependency

      TypeBase (e542f1d)Merge (d717de4)Diff
      functions

      22 dependencies

      _initializeAnalytics
      attemptFetchDynamicConfigWithRetry
      factory
      fetchDynamicConfig
      fetchDynamicConfigWithRetry
      findGtagScriptOnPage
      getHeaders
      getOrCreateDataLayer
      gtagOnConfig
      gtagOnEvent
      insertScriptTag
      isRetriableError
      isSupported
      logEvent
      logEvent$1
      promiseAllSettled
      registerAnalytics
      setAbortableTimeout
      validateIndexedDB
      warnOnBrowserContextMismatch
      wrapGtag
      wrapOrCreateGtag

      24 dependencies

      _initializeAnalytics
      attemptFetchDynamicConfigWithRetry
      createGtagTrustedTypesScriptURL
      createTrustedTypesPolicy
      factory
      fetchDynamicConfig
      fetchDynamicConfigWithRetry
      findGtagScriptOnPage
      getHeaders
      getOrCreateDataLayer
      gtagOnConfig
      gtagOnEvent
      insertScriptTag
      isRetriableError
      isSupported
      logEvent
      logEvent$1
      promiseAllSettled
      registerAnalytics
      setAbortableTimeout
      validateIndexedDB
      warnOnBrowserContextMismatch
      wrapGtag
      wrapOrCreateGtag

      + createGtagTrustedTypesScriptURL
      + createTrustedTypesPolicy

      External Dependency

      ModuleBase (e542f1d)Merge (d717de4)Diff
      safevalues

      trustedResourceUrl

      - trustedResourceUrl

      safevalues/dom

      safeScriptEl

      - safeScriptEl

    • logEvent

      Size

      TypeBase (e542f1d)Merge (d717de4)Diff
      size10.0 kB10.2 kB+190 B (+1.9%)
      size-with-ext-deps40.8 kB37.0 kB-3.82 kB (-9.4%)

      Dependency

      TypeBase (e542f1d)Merge (d717de4)Diff
      functions

      21 dependencies

      _initializeAnalytics
      attemptFetchDynamicConfigWithRetry
      factory
      fetchDynamicConfig
      fetchDynamicConfigWithRetry
      findGtagScriptOnPage
      getHeaders
      getOrCreateDataLayer
      gtagOnConfig
      gtagOnEvent
      insertScriptTag
      isRetriableError
      logEvent
      logEvent$1
      promiseAllSettled
      registerAnalytics
      setAbortableTimeout
      validateIndexedDB
      warnOnBrowserContextMismatch
      wrapGtag
      wrapOrCreateGtag

      23 dependencies

      _initializeAnalytics
      attemptFetchDynamicConfigWithRetry
      createGtagTrustedTypesScriptURL
      createTrustedTypesPolicy
      factory
      fetchDynamicConfig
      fetchDynamicConfigWithRetry
      findGtagScriptOnPage
      getHeaders
      getOrCreateDataLayer
      gtagOnConfig
      gtagOnEvent
      insertScriptTag
      isRetriableError
      logEvent
      logEvent$1
      promiseAllSettled
      registerAnalytics
      setAbortableTimeout
      validateIndexedDB
      warnOnBrowserContextMismatch
      wrapGtag
      wrapOrCreateGtag

      + createGtagTrustedTypesScriptURL
      + createTrustedTypesPolicy

      External Dependency

      ModuleBase (e542f1d)Merge (d717de4)Diff
      safevalues

      trustedResourceUrl

      - trustedResourceUrl

      safevalues/dom

      safeScriptEl

      - safeScriptEl

    • setAnalyticsCollectionEnabled

      Size

      TypeBase (e542f1d)Merge (d717de4)Diff
      size10.2 kB10.4 kB+190 B (+1.9%)
      size-with-ext-deps40.9 kB37.1 kB-3.82 kB (-9.3%)

      Dependency

      TypeBase (e542f1d)Merge (d717de4)Diff
      functions

      23 dependencies

      _initializeAnalytics
      attemptFetchDynamicConfigWithRetry
      factory
      fetchDynamicConfig
      fetchDynamicConfigWithRetry
      findGtagScriptOnPage
      getHeaders
      getOrCreateDataLayer
      gtagOnConfig
      gtagOnEvent
      insertScriptTag
      isRetriableError
      logEvent
      logEvent$1
      promiseAllSettled
      registerAnalytics
      setAbortableTimeout
      setAnalyticsCollectionEnabled
      setAnalyticsCollectionEnabled$1
      validateIndexedDB
      warnOnBrowserContextMismatch
      wrapGtag
      wrapOrCreateGtag

      25 dependencies

      _initializeAnalytics
      attemptFetchDynamicConfigWithRetry
      createGtagTrustedTypesScriptURL
      createTrustedTypesPolicy
      factory
      fetchDynamicConfig
      fetchDynamicConfigWithRetry
      findGtagScriptOnPage
      getHeaders
      getOrCreateDataLayer
      gtagOnConfig
      gtagOnEvent
      insertScriptTag
      isRetriableError
      logEvent
      logEvent$1
      promiseAllSettled
      registerAnalytics
      setAbortableTimeout
      setAnalyticsCollectionEnabled
      setAnalyticsCollectionEnabled$1
      validateIndexedDB
      warnOnBrowserContextMismatch
      wrapGtag
      wrapOrCreateGtag

      + createGtagTrustedTypesScriptURL
      + createTrustedTypesPolicy

      External Dependency

      ModuleBase (e542f1d)Merge (d717de4)Diff
      safevalues

      trustedResourceUrl

      - trustedResourceUrl

      safevalues/dom

      safeScriptEl

      - safeScriptEl

    • setConsent

      Size

      TypeBase (e542f1d)Merge (d717de4)Diff
      size10.2 kB10.4 kB+190 B (+1.9%)
      size-with-ext-deps40.9 kB37.1 kB-3.82 kB (-9.3%)

      Dependency

      TypeBase (e542f1d)Merge (d717de4)Diff
      functions

      23 dependencies

      _initializeAnalytics
      _setConsentDefaultForInit
      attemptFetchDynamicConfigWithRetry
      factory
      fetchDynamicConfig
      fetchDynamicConfigWithRetry
      findGtagScriptOnPage
      getHeaders
      getOrCreateDataLayer
      gtagOnConfig
      gtagOnEvent
      insertScriptTag
      isRetriableError
      logEvent
      logEvent$1
      promiseAllSettled
      registerAnalytics
      setAbortableTimeout
      setConsent
      validateIndexedDB
      warnOnBrowserContextMismatch
      wrapGtag
      wrapOrCreateGtag

      25 dependencies

      _initializeAnalytics
      _setConsentDefaultForInit
      attemptFetchDynamicConfigWithRetry
      createGtagTrustedTypesScriptURL
      createTrustedTypesPolicy
      factory
      fetchDynamicConfig
      fetchDynamicConfigWithRetry
      findGtagScriptOnPage
      getHeaders
      getOrCreateDataLayer
      gtagOnConfig
      gtagOnEvent
      insertScriptTag
      isRetriableError
      logEvent
      logEvent$1
      promiseAllSettled
      registerAnalytics
      setAbortableTimeout
      setConsent
      validateIndexedDB
      warnOnBrowserContextMismatch
      wrapGtag
      wrapOrCreateGtag

      + createGtagTrustedTypesScriptURL
      + createTrustedTypesPolicy

      External Dependency

      ModuleBase (e542f1d)Merge (d717de4)Diff
      safevalues

      trustedResourceUrl

      - trustedResourceUrl

      safevalues/dom

      safeScriptEl

      - safeScriptEl

    • setCurrentScreen

      Size

      TypeBase (e542f1d)Merge (d717de4)Diff
      size10.3 kB10.5 kB+190 B (+1.8%)
      size-with-ext-deps41.0 kB37.2 kB-3.82 kB (-9.3%)

      Dependency

      TypeBase (e542f1d)Merge (d717de4)Diff
      functions

      23 dependencies

      _initializeAnalytics
      attemptFetchDynamicConfigWithRetry
      factory
      fetchDynamicConfig
      fetchDynamicConfigWithRetry
      findGtagScriptOnPage
      getHeaders
      getOrCreateDataLayer
      gtagOnConfig
      gtagOnEvent
      insertScriptTag
      isRetriableError
      logEvent
      logEvent$1
      promiseAllSettled
      registerAnalytics
      setAbortableTimeout
      setCurrentScreen
      setCurrentScreen$1
      validateIndexedDB
      warnOnBrowserContextMismatch
      wrapGtag
      wrapOrCreateGtag

      25 dependencies

      _initializeAnalytics
      attemptFetchDynamicConfigWithRetry
      createGtagTrustedTypesScriptURL
      createTrustedTypesPolicy
      factory
      fetchDynamicConfig
      fetchDynamicConfigWithRetry
      findGtagScriptOnPage
      getHeaders
      getOrCreateDataLayer
      gtagOnConfig
      gtagOnEvent
      insertScriptTag
      isRetriableError
      logEvent
      logEvent$1
      promiseAllSettled
      registerAnalytics
      setAbortableTimeout
      setCurrentScreen
      setCurrentScreen$1
      validateIndexedDB
      warnOnBrowserContextMismatch
      wrapGtag
      wrapOrCreateGtag

      + createGtagTrustedTypesScriptURL
      + createTrustedTypesPolicy

      External Dependency

      ModuleBase (e542f1d)Merge (d717de4)Diff
      safevalues

      trustedResourceUrl

      - trustedResourceUrl

      safevalues/dom

      safeScriptEl

      - safeScriptEl

    • setDefaultEventParameters

      Size

      TypeBase (e542f1d)Merge (d717de4)Diff
      size10.2 kB10.4 kB+190 B (+1.9%)
      size-with-ext-deps40.9 kB37.1 kB-3.82 kB (-9.3%)

      Dependency

      TypeBase (e542f1d)Merge (d717de4)Diff
      functions

      23 dependencies

      _initializeAnalytics
      _setDefaultEventParametersForInit
      attemptFetchDynamicConfigWithRetry
      factory
      fetchDynamicConfig
      fetchDynamicConfigWithRetry
      findGtagScriptOnPage
      getHeaders
      getOrCreateDataLayer
      gtagOnConfig
      gtagOnEvent
      insertScriptTag
      isRetriableError
      logEvent
      logEvent$1
      promiseAllSettled
      registerAnalytics
      setAbortableTimeout
      setDefaultEventParameters
      validateIndexedDB
      warnOnBrowserContextMismatch
      wrapGtag
      wrapOrCreateGtag

      25 dependencies

      _initializeAnalytics
      _setDefaultEventParametersForInit
      attemptFetchDynamicConfigWithRetry
      createGtagTrustedTypesScriptURL
      createTrustedTypesPolicy
      factory
      fetchDynamicConfig
      fetchDynamicConfigWithRetry
      findGtagScriptOnPage
      getHeaders
      getOrCreateDataLayer
      gtagOnConfig
      gtagOnEvent
      insertScriptTag
      isRetriableError
      logEvent
      logEvent$1
      promiseAllSettled
      registerAnalytics
      setAbortableTimeout
      setDefaultEventParameters
      validateIndexedDB
      warnOnBrowserContextMismatch
      wrapGtag
      wrapOrCreateGtag

      + createGtagTrustedTypesScriptURL
      + createTrustedTypesPolicy

      External Dependency

      ModuleBase (e542f1d)Merge (d717de4)Diff
      safevalues

      trustedResourceUrl

      - trustedResourceUrl

      safevalues/dom

      safeScriptEl

      - safeScriptEl

    • setUserId

      Size

      TypeBase (e542f1d)Merge (d717de4)Diff
      size10.3 kB10.5 kB+190 B (+1.8%)
      size-with-ext-deps41.0 kB37.2 kB-3.82 kB (-9.3%)

      Dependency

      TypeBase (e542f1d)Merge (d717de4)Diff
      functions

      23 dependencies

      _initializeAnalytics
      attemptFetchDynamicConfigWithRetry
      factory
      fetchDynamicConfig
      fetchDynamicConfigWithRetry
      findGtagScriptOnPage
      getHeaders
      getOrCreateDataLayer
      gtagOnConfig
      gtagOnEvent
      insertScriptTag
      isRetriableError
      logEvent
      logEvent$1
      promiseAllSettled
      registerAnalytics
      setAbortableTimeout
      setUserId
      setUserId$1
      validateIndexedDB
      warnOnBrowserContextMismatch
      wrapGtag
      wrapOrCreateGtag

      25 dependencies

      _initializeAnalytics
      attemptFetchDynamicConfigWithRetry
      createGtagTrustedTypesScriptURL
      createTrustedTypesPolicy
      factory
      fetchDynamicConfig
      fetchDynamicConfigWithRetry
      findGtagScriptOnPage
      getHeaders
      getOrCreateDataLayer
      gtagOnConfig
      gtagOnEvent
      insertScriptTag
      isRetriableError
      logEvent
      logEvent$1
      promiseAllSettled
      registerAnalytics
      setAbortableTimeout
      setUserId
      setUserId$1
      validateIndexedDB
      warnOnBrowserContextMismatch
      wrapGtag
      wrapOrCreateGtag

      + createGtagTrustedTypesScriptURL
      + createTrustedTypesPolicy

      External Dependency

      ModuleBase (e542f1d)Merge (d717de4)Diff
      safevalues

      trustedResourceUrl

      - trustedResourceUrl

      safevalues/dom

      safeScriptEl

      - safeScriptEl

    • setUserProperties

      Size

      TypeBase (e542f1d)Merge (d717de4)Diff
      size10.4 kB10.5 kB+190 B (+1.8%)
      size-with-ext-deps41.1 kB37.3 kB-3.82 kB (-9.3%)

      Dependency

      TypeBase (e542f1d)Merge (d717de4)Diff
      functions

      23 dependencies

      _initializeAnalytics
      attemptFetchDynamicConfigWithRetry
      factory
      fetchDynamicConfig
      fetchDynamicConfigWithRetry
      findGtagScriptOnPage
      getHeaders
      getOrCreateDataLayer
      gtagOnConfig
      gtagOnEvent
      insertScriptTag
      isRetriableError
      logEvent
      logEvent$1
      promiseAllSettled
      registerAnalytics
      setAbortableTimeout
      setUserProperties
      setUserProperties$1
      validateIndexedDB
      warnOnBrowserContextMismatch
      wrapGtag
      wrapOrCreateGtag

      25 dependencies

      _initializeAnalytics
      attemptFetchDynamicConfigWithRetry
      createGtagTrustedTypesScriptURL
      createTrustedTypesPolicy
      factory
      fetchDynamicConfig
      fetchDynamicConfigWithRetry
      findGtagScriptOnPage
      getHeaders
      getOrCreateDataLayer
      gtagOnConfig
      gtagOnEvent
      insertScriptTag
      isRetriableError
      logEvent
      logEvent$1
      promiseAllSettled
      registerAnalytics
      setAbortableTimeout
      setUserProperties
      setUserProperties$1
      validateIndexedDB
      warnOnBrowserContextMismatch
      wrapGtag
      wrapOrCreateGtag

      + createGtagTrustedTypesScriptURL
      + createTrustedTypesPolicy

      External Dependency

      ModuleBase (e542f1d)Merge (d717de4)Diff
      safevalues

      trustedResourceUrl

      - trustedResourceUrl

      safevalues/dom

      safeScriptEl

      - safeScriptEl

    • settings

      Size

      TypeBase (e542f1d)Merge (d717de4)Diff
      size10.2 kB10.4 kB+190 B (+1.9%)
      size-with-ext-deps40.9 kB37.1 kB-3.82 kB (-9.3%)

      Dependency

      TypeBase (e542f1d)Merge (d717de4)Diff
      functions

      22 dependencies

      _initializeAnalytics
      attemptFetchDynamicConfigWithRetry
      factory
      fetchDynamicConfig
      fetchDynamicConfigWithRetry
      findGtagScriptOnPage
      getHeaders
      getOrCreateDataLayer
      gtagOnConfig
      gtagOnEvent
      insertScriptTag
      isRetriableError
      logEvent
      logEvent$1
      promiseAllSettled
      registerAnalytics
      setAbortableTimeout
      settings
      validateIndexedDB
      warnOnBrowserContextMismatch
      wrapGtag
      wrapOrCreateGtag

      24 dependencies

      _initializeAnalytics
      attemptFetchDynamicConfigWithRetry
      createGtagTrustedTypesScriptURL
      createTrustedTypesPolicy
      factory
      fetchDynamicConfig
      fetchDynamicConfigWithRetry
      findGtagScriptOnPage
      getHeaders
      getOrCreateDataLayer
      gtagOnConfig
      gtagOnEvent
      insertScriptTag
      isRetriableError
      logEvent
      logEvent$1
      promiseAllSettled
      registerAnalytics
      setAbortableTimeout
      settings
      validateIndexedDB
      warnOnBrowserContextMismatch
      wrapGtag
      wrapOrCreateGtag

      + createGtagTrustedTypesScriptURL
      + createTrustedTypesPolicy

      External Dependency

      ModuleBase (e542f1d)Merge (d717de4)Diff
      safevalues

      trustedResourceUrl

      - trustedResourceUrl

      safevalues/dom

      safeScriptEl

      - safeScriptEl

  • @firebase/app-check

    • CustomProvider

      Size

      TypeBase (e542f1d)Merge (d717de4)Diff
      size7.76 kB7.72 kB-42 B (-0.5%)
    • ReCaptchaEnterpriseProvider

      Size

      TypeBase (e542f1d)Merge (d717de4)Diff
      size11.5 kB11.4 kB-93 B (-0.8%)
      size-with-ext-deps33.8 kB29.7 kB-4.09 kB (-12.1%)

      Dependency

      TypeBase (e542f1d)Merge (d717de4)Diff
      variables

      18 dependencies

      APP_CHECK_NAME
      APP_CHECK_NAME_INTERNAL
      APP_CHECK_STATES
      BASE_ENDPOINT
      DB_NAME
      DB_VERSION
      DEFAULT_STATE
      ERRORS
      ERROR_FACTORY
      EXCHANGE_RECAPTCHA_ENTERPRISE_TOKEN_METHOD
      ONE_DAY
      STORE_NAME
      TOKEN_REFRESH_TIME
      dbPromise
      defaultTokenErrorData
      logger
      name
      version

      19 dependencies

      APP_CHECK_NAME
      APP_CHECK_NAME_INTERNAL
      APP_CHECK_STATES
      BASE_ENDPOINT
      DB_NAME
      DB_VERSION
      DEFAULT_STATE
      ERRORS
      ERROR_FACTORY
      EXCHANGE_RECAPTCHA_ENTERPRISE_TOKEN_METHOD
      ONE_DAY
      RECAPTCHA_ENTERPRISE_URL
      STORE_NAME
      TOKEN_REFRESH_TIME
      dbPromise
      defaultTokenErrorData
      logger
      name
      version

      + RECAPTCHA_ENTERPRISE_URL

      External Dependency

      ModuleBase (e542f1d)Merge (d717de4)Diff
      safevalues

      trustedResourceUrl

      - trustedResourceUrl

      safevalues/dom

      safeScriptEl

      - safeScriptEl

    • ReCaptchaV3Provider

      Size

      TypeBase (e542f1d)Merge (d717de4)Diff
      size11.5 kB11.4 kB-93 B (-0.8%)
      size-with-ext-deps33.7 kB29.7 kB-4.09 kB (-12.1%)

      Dependency

      TypeBase (e542f1d)Merge (d717de4)Diff
      variables

      18 dependencies

      APP_CHECK_NAME
      APP_CHECK_NAME_INTERNAL
      APP_CHECK_STATES
      BASE_ENDPOINT
      DB_NAME
      DB_VERSION
      DEFAULT_STATE
      ERRORS
      ERROR_FACTORY
      EXCHANGE_RECAPTCHA_TOKEN_METHOD
      ONE_DAY
      STORE_NAME
      TOKEN_REFRESH_TIME
      dbPromise
      defaultTokenErrorData
      logger
      name
      version

      19 dependencies

      APP_CHECK_NAME
      APP_CHECK_NAME_INTERNAL
      APP_CHECK_STATES
      BASE_ENDPOINT
      DB_NAME
      DB_VERSION
      DEFAULT_STATE
      ERRORS
      ERROR_FACTORY
      EXCHANGE_RECAPTCHA_TOKEN_METHOD
      ONE_DAY
      RECAPTCHA_URL
      STORE_NAME
      TOKEN_REFRESH_TIME
      dbPromise
      defaultTokenErrorData
      logger
      name
      version

      + RECAPTCHA_URL

      External Dependency

      ModuleBase (e542f1d)Merge (d717de4)Diff
      safevalues

      trustedResourceUrl

      - trustedResourceUrl

      safevalues/dom

      safeScriptEl

      - safeScriptEl

    • getLimitedUseToken

      Size

      TypeBase (e542f1d)Merge (d717de4)Diff
      size7.34 kB7.29 kB-42 B (-0.6%)
    • getToken

      Size

      TypeBase (e542f1d)Merge (d717de4)Diff
      size7.39 kB7.35 kB-42 B (-0.6%)
    • initializeAppCheck

      Size

      TypeBase (e542f1d)Merge (d717de4)Diff
      size11.3 kB11.2 kB-42 B (-0.4%)
    • onTokenChanged

      Size

      TypeBase (e542f1d)Merge (d717de4)Diff
      size7.49 kB7.44 kB-42 B (-0.6%)
    • setTokenAutoRefreshEnabled

      Size

      TypeBase (e542f1d)Merge (d717de4)Diff
      size7.48 kB7.44 kB-42 B (-0.6%)

Test Logs

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

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