@whotracksme/reporting 12.1.21 → 12.1.23

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,27 @@
1
+ # v12.1.23 (Mon Nov 23 2026)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Fixed: init tab before calling _initAllOptionalFields [#265](https://github.com/whotracksme/webextension-packages/pull/265) ([@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
+
13
+ # v12.1.22 (Mon Nov 23 2026)
14
+
15
+ #### 🐛 Bug Fix
16
+
17
+ - Fixed: page analysis of active tab cancels itself [#264](https://github.com/whotracksme/webextension-packages/pull/264) ([@philipp-classen](https://github.com/philipp-classen))
18
+
19
+ #### Authors: 1
20
+
21
+ - Philipp Claßen ([@philipp-classen](https://github.com/philipp-classen))
22
+
23
+ ---
24
+
1
25
  # v12.1.21 (Fri Nov 20 2026)
2
26
 
3
27
  #### 🐛 Bug Fix
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whotracksme/reporting",
3
- "version": "12.1.21",
3
+ "version": "12.1.23",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./sanitizer": "./reporting/src/sanitizer.js",
@@ -681,6 +681,7 @@ export default class Pages {
681
681
  pageId: ++this._pageIdGenerator,
682
682
  };
683
683
  this._initVisibility(tabId, entry, now);
684
+ this.openTabs.set(tabId, entry);
684
685
 
685
686
  if (tab.active && isRealPage(tab.url)) {
686
687
  this.activeTab.saveActiveTabInWindow({
@@ -695,7 +696,6 @@ export default class Pages {
695
696
  }
696
697
  }
697
698
  }
698
- this.openTabs.set(tabId, entry);
699
699
  }
700
700
 
701
701
  if (
@@ -1032,8 +1032,8 @@ export default class Pages {
1032
1032
  entry.pageId = ++this._pageIdGenerator;
1033
1033
  }
1034
1034
 
1035
- this._initAllOptionalFields(tabId, entry, now);
1036
1035
  this.openTabs.set(tabId, entry);
1036
+ this._initAllOptionalFields(tabId, entry, now);
1037
1037
 
1038
1038
  if (entry.search?.depth === 1) {
1039
1039
  const { url, search, redirects = [] } = entry;