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

Remove modifiers from compat overloads #8604

Merged
merged 3 commits into from
Oct 25, 2024
Merged

Remove modifiers from compat overloads #8604

merged 3 commits into from
Oct 25, 2024

Conversation

dlarocque
Copy link
Contributor

Fixes issue in the e2e tests where there are declare statements inside of declare blocks: https://github.com/firebase/firebase-js-sdk/actions/runs/11518441707/job/32075789147

In #8561, this script was modified, and all modifiers were accidentally added to all function declarations. This means that the export and declare modifiers were brought over, which is what caused the issue.

@dlarocque dlarocque requested a review from hsubox76 October 25, 2024 17:44
@dlarocque dlarocque requested a review from a team as a code owner October 25, 2024 17:44
Copy link

changeset-bot bot commented Oct 25, 2024

🦋 Changeset detected

Latest commit: 46986eb

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

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

Copy link
Contributor

@hsubox76 hsubox76 left a comment

Choose a reason for hiding this comment

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

This should probably have a changeset for all -compat packages. Actually just noticed that the TS PR doesn't have a changeset. Can you add a patch changeset in this PR for all packages that says "Upgraded TypeScript to 5.5.4"? It'll affect the build artifact of every package, and they should all be rebuilt and published.

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Oct 25, 2024

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Oct 25, 2024

@dlarocque dlarocque requested review from a team as code owners October 25, 2024 18:30
@dlarocque
Copy link
Contributor Author

This should probably have a changeset for all -compat packages. Actually just noticed that the TS PR doesn't have a changeset. Can you add a patch changeset in this PR for all packages that says "Upgraded TypeScript to 5.5.4"? It'll affect the build artifact of every package, and they should all be rebuilt and published.

Done

@dlarocque dlarocque requested a review from hsubox76 October 25, 2024 18:31
@dlarocque dlarocque force-pushed the dl/fix-compat-builds branch from 276349c to 46986eb Compare October 25, 2024 19:06
@dlarocque dlarocque merged commit b807119 into main Oct 25, 2024
34 checks passed
@dlarocque dlarocque deleted the dl/fix-compat-builds branch October 25, 2024 19:16
@google-oss-bot google-oss-bot mentioned this pull request Nov 12, 2024
ashish-kothari added a commit that referenced this pull request Nov 24, 2024
Squashed commit of the following:

commit ffbf5a6
Author: Google Open Source Bot <[email protected]>
Date:   Thu Nov 14 07:04:30 2024 -0800

    Version Packages (#8635)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

commit 2c27206
Merge: a75082f e3e2078
Author: Google Open Source Bot <[email protected]>
Date:   Tue Nov 12 07:48:12 2024 -0800

    Merge main into release

commit e3e2078
Author: Daniel La Rocque <[email protected]>
Date:   Wed Nov 6 09:57:57 2024 -0500

    Consolidate CI test output into a single string (#8489)

    * Consolidate CI test output into a single string

    Having CI test process stdout and stderr in a single string makes it
    easier to read when looking through failures, since you can see the test
    output alongside the error messages.

    Without this, any stderr output written during a test will be captured
    seperately from the test output, so when we then log it after a test
    failure, we can't tell which test logged which errors.

    * Prefix stdout and stderr output

commit 274e9a5
Author: Daniel La Rocque <[email protected]>
Date:   Tue Nov 5 17:25:54 2024 -0500

    Remove unused `convertPropertiesForEnclosingClass" (#8618)

commit caf3090
Author: Daniel La Rocque <[email protected]>
Date:   Wed Oct 30 15:12:32 2024 -0400

    Upgrade ts-node to 10.19.2 (#8531)

commit 0f5714b
Author: Mark Duckworth <[email protected]>
Date:   Wed Oct 30 10:05:19 2024 -0600

    Fix for 8474 - Prevent a possible condition of slow snapshots, caused by a rapid series of document update(s) followed by a delete. (#8595)

commit d4cb3f8
Author: Daniel La Rocque <[email protected]>
Date:   Mon Oct 28 14:32:13 2024 -0400

    Upgrade workflows Node version from `20.x` to `22.10.0` (#8601)

    Node 22 enters LTS on October 29th, 2024, so we should upgrade CI to run
    on Node 22.

commit b807119
Author: Daniel La Rocque <[email protected]>
Date:   Fri Oct 25 15:16:08 2024 -0400

    Remove modifiers from compat overloads (#8604)

    * Remove modifiers from compat overloads

    * format

    * Add changeset

commit 612335d
Author: Daniel La Rocque <[email protected]>
Date:   Fri Oct 25 14:31:32 2024 -0400

    Upgrade webpack dependencies in e2e tests (#8605)
@firebase firebase locked and limited conversation to collaborators Nov 25, 2024
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