Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 3, 2025

Bumps fake-indexeddb from 5.0.2 to 6.2.2.

Release notes

Sourced from fake-indexeddb's releases.

v6.2.2

  • Fixed regression in v6.2.0 where overwriting the global indexedDB variable created by fake-indexeddb/auto (such as with indexedDB = new IDBFactory();) was no longer working (#135 by @​nolanlawson)

v6.2.1

  • Fixed the IDBDatabase variable created by a CommonJS require of fake-indexeddb/auto, which was broken in v6.2.0 (#131 by @​nolanlawson)

v6.2.0

New features

  • Add new forceCloseDatabase API to simulate the database being abnormally closed, emitting a "close" event (#126 by @​nolanlawson)

Performance

  • Significantly improved performance of some operations (like 13x for inserts with many multiEntry indexes) by using a binary search tree to store data, although for most simple use cases you won't notice a difference (#128 by @​nolanlawson)

  • Improved performance in non-Safari browsers by using scheduler.postTask rather than setTimeout (#129 by @​nolanlawson)

Bug fixes

Infrastructure

v6.1.0

  • Added support for new IndexedDB features: querying keys and values at the same time with getAllRecords, and passing a descending direction into getAll/getAllKeys. (#112 by @​nolanlawson)

  • Better DOMStringList polyfill that doesn't include various inappropriate array methods. (#66 by @​dumbmatter)

  • Updated the Web Platform Tests from 2019 to 2025 which improved test coverage and uncovered a few minor bugs that were fixed. (#117 by @​nolanlawson)

v6.0.1

  • #110 - Fix handling of "undefined value" vs "missing value" in IDBObjectStore.add/put when that value is at the keyPath and autoIncrement is true - it should throw an error if the keyPath value is undefined, but previously it was not.

v6.0.0

I made this a new major version because it includes a few changes that could in theory break something in some weird situations. But I think the vast majority of users (possibly all users?) won't have any issue upgrading.

  • #48 - Switched to using DOMException errors rather than normal errors, since that's what the IndexedDB spec says to use, and Node.js now has a built-in DOMException in all supported versions.

  • #93 - @​bryan-codaio made the latest tweak to event scheduling, this time improving how setImmediate is used in some situations where people are mocking timers.

  • #99 - @​sjnho fixed handling of Date objects to account for some edge cases, including jsdom overriding the native Date constructor.

Changelog

Sourced from fake-indexeddb's changelog.

6.2.2 (2025-08-29)

  • Fixed regression in v6.2.0 where overwriting the global indexedDB variable created by fake-indexeddb/auto (such as with indexedDB = new IDBFactory();) was no longer working (#135 by @​nolanlawson)

6.2.1 (2025-08-29)

  • Fixed the IDBDatabase variable created by a CommonJS require of fake-indexeddb/auto, which was broken in v6.2.0 (#131 by @​nolanlawson)

6.2.0 (2025-08-28)

New features

  • Add new forceCloseDatabase API to simulate the database being abnormally closed, emitting a "close" event (#126 by @​nolanlawson)

Performance

  • Significantly improved performance of some operations (like 13x for inserts with many multiEntry indexes) by using a binary search tree to store data, although for most simple use cases you won't notice a difference (#128 by @​nolanlawson)

  • Improved performance in non-Safari browsers by using scheduler.postTask rather than setTimeout (#129 by @​nolanlawson)

Bug fixes

Infrastructure

6.1.0 (2025-08-08)

  • Added support for new IndexedDB features: querying keys and values at the same time with getAllRecords, and passing a descending direction into getAll/getAllKeys. (#112 by @​nolanlawson)

  • Better DOMStringList polyfill that doesn't include various inappropriate array methods. (#66 by @​dumbmatter)

  • Updated the Web Platform Tests from 2019 to 2025 which improved test coverage and uncovered a few minor bugs that were fixed. (#117 by @​nolanlawson)

6.0.1 (2025-05-09)

  • #110 - Fix handling of "undefined value" vs "missing value" in IDBObjectStore.add/put when that value is at the keyPath and autoIncrement is true - it should throw an error if the keyPath value is undefined, but previously it was not.

6.0.0 (2024-05-20)

I made this a new major version because it includes a few changes that could in theory break something in some weird situations. But I think the vast majority of users (possibly all users?) won't have any issue upgrading.

  • #48 - Switched to using DOMException errors rather than normal errors, since that's what the IndexedDB spec says to use, and Node.js now has a built-in DOMException in all supported versions.

  • #93 - @​bryan-codaio made the latest tweak to event scheduling, this time improving how setImmediate is used in some situations where people are mocking timers.

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [fake-indexeddb](https://github.com/dumbmatter/fakeIndexedDB) from 5.0.2 to 6.2.2.
- [Release notes](https://github.com/dumbmatter/fakeIndexedDB/releases)
- [Changelog](https://github.com/dumbmatter/fakeIndexedDB/blob/master/CHANGELOG.md)
- [Commits](dumbmatter/fakeIndexedDB@v5.0.2...v6.2.2)

---
updated-dependencies:
- dependency-name: fake-indexeddb
  dependency-version: 6.2.2
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Sep 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant