From 88680470ae0dfbb9610f598ea5fb345081e3efcb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Jun 2026 11:27:29 +0000 Subject: [PATCH 1/2] Bump sinon from 9.2.4 to 22.0.0 Bumps [sinon](https://github.com/sinonjs/sinon) from 9.2.4 to 22.0.0. - [Release notes](https://github.com/sinonjs/sinon/releases) - [Changelog](https://github.com/sinonjs/sinon/blob/main/CHANGES.md) - [Commits](https://github.com/sinonjs/sinon/compare/v9.2.4...v22.0.0) --- updated-dependencies: - dependency-name: sinon dependency-version: 22.0.0 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 799d0e5..f4c0c9f 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "ot-json1": "^1.0.1", "rich-text": "^4.1.0", "sharedb-mingo-memory": "^1.0.0 || ^2.0.0 || ^3.0.0", - "sinon": "^9.2.4", + "sinon": "^22.0.0", "sinon-chai": "^3.7.0" }, "scripts": { From 0bc83f1436759bd510403ed496b705ee217ee0e0 Mon Sep 17 00:00:00 2001 From: Alec Gibson <12036746+alecgibson@users.noreply.github.com> Date: Mon, 29 Jun 2026 12:40:43 +0100 Subject: [PATCH 2/2] =?UTF-8?q?=E2=9C=85=20Test=20against=20`sharedb@6`=20?= =?UTF-8?q?to=20fix=20`sinon@22`=20fake-timer=20hangs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit At the moment, the `sinon@22` bump hangs ShareDB's bundled query- subscribe tests until they each time out. Those tests, which we run via `sharedb/test/db`, call `sinon.useFakeTimers()`, and modern fake timers fake far more globals by default than `sinon@9` did, which stalls the live MongoDB driver's async I/O. `sharedb@6` fixes this upstream by switching to a configured `util.useFakeTimers()` wrapper, but our test tree was still resolving to `sharedb@5`, since `sharedb-mingo-memory@3`'s peer dependency caps ShareDB at `^5`. This change bumps `sharedb-mingo-memory` to `^5`, whose peer range allows `sharedb@6`, and pins `sharedb@6` in `devDependencies` to make the test version explicit. The runtime range in `dependencies` stays wide, so the adapter still supports `sharedb@1` through `6`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index f4c0c9f..9395bd6 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,8 @@ "nyc": "^18.0.0", "ot-json1": "^1.0.1", "rich-text": "^4.1.0", - "sharedb-mingo-memory": "^1.0.0 || ^2.0.0 || ^3.0.0", + "sharedb": "^6.0.0", + "sharedb-mingo-memory": "^5.0.0", "sinon": "^22.0.0", "sinon-chai": "^3.7.0" },