Repository navigation
Bump version to v5.8.4 - #78
github-actions[bot] wants to merge 3 commits into
Conversation
* chore: remove custom jest matchers * build: validate types before webpack instead of using fork-ts-checker * chore: update dependencies * chore: revert flow-bin update
* fix: type import * build: bump version (5.8.4) * build: update dist files * build: drop ineffective ie11 transpilation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d3933025f6
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| .then(connection => { | ||
| this.indexedDbConnection = connection | ||
| this.indexedDbConnection.onclose = () => this.destroy | ||
| this.indexedDbConnection.onclose = () => this.destroy() |
There was a problem hiding this comment.
Attach the close handler to custom database connections
When initialization receives a nonempty namespace, setCustomName() calls migrateDb(), which caches customDbConnection before any storage operation. Consequently, open() returns at lines 342–343 and this new onclose assignment never runs. If the browser then closes that custom connection, subsequent operations keep using the stale connection and fail instead of reopening it. Install the handler whenever migrateDb() assigns the cached custom connection as well.
Useful? React with 👍 / 👎.
Includes a fix for #77