@whotracksme/reporting 7.11.3 β†’ 7.11.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ # v7.11.4 (Fri Feb 27 2026)
2
+
3
+ #### πŸ› Bug Fix
4
+
5
+ - Experiment: sequentialize writes to work around a Safari bug [#187](https://github.com/whotracksme/webextension-packages/pull/187) ([@philipp-classen](https://github.com/philipp-classen))
6
+
7
+ #### Authors: 1
8
+
9
+ - Philipp Claßen ([@philipp-classen](https://github.com/philipp-classen))
10
+
11
+ ---
12
+
1
13
  # v7.11.3 (Thu Feb 19 2026)
2
14
 
3
15
  #### πŸ› Bug Fix
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whotracksme/reporting",
3
- "version": "7.11.3",
3
+ "version": "7.11.4",
4
4
  "type": "module",
5
5
  "description": "",
6
6
  "scripts": {
@@ -847,10 +847,18 @@ export default class JobScheduler {
847
847
 
848
848
  async _writeJobsToDisk() {
849
849
  this._clearAutoFlushTimer();
850
- return this.storage.set(this.storageKey, {
851
- dbVersion: DB_VERSION,
852
- jobQueues: this.jobQueues,
853
- });
850
+
851
+ // [Experiment] Potential workaround for a Safari bug:
852
+ // * we see indicators that Safari corrupts the data when there
853
+ // are concurrent write operation to chrome.storage.local
854
+ // * as a mitigation, serialize the writes now
855
+ this._writeToDiskExecutor ||= new SeqExecutor();
856
+ return this._writeToDiskExecutor.run(async () =>
857
+ this.storage.set(this.storageKey, {
858
+ dbVersion: DB_VERSION,
859
+ jobQueues: this.jobQueues,
860
+ }),
861
+ );
854
862
  }
855
863
 
856
864
  /**