@whotracksme/reporting 12.1.11 → 12.1.13

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.13 (Thu Nov 19 2026)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Fixed: search and ref could be wrong after a redirect [#255](https://github.com/whotracksme/webextension-packages/pull/255) ([@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.12 (Thu Nov 19 2026)
14
+
15
+ #### 🐛 Bug Fix
16
+
17
+ - fixed: internal data corruption on chrome.webRequest.onAuthRequired events [#254](https://github.com/whotracksme/webextension-packages/pull/254) ([@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.11 (Wed Nov 18 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.11",
3
+ "version": "12.1.13",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./sanitizer": "./reporting/src/sanitizer.js",
@@ -1115,6 +1115,7 @@ export default class Pages {
1115
1115
  // If a link opened in a new tab, we need to merge the opener.
1116
1116
  if (
1117
1117
  entry.openedFrom?.status === 'redirecting' &&
1118
+ !isRealPage(entry.openedFrom.url) &&
1118
1119
  entry.openedFrom.openedFrom
1119
1120
  ) {
1120
1121
  entry.openedFrom = { ...entry.openedFrom.openedFrom };
@@ -1325,7 +1326,7 @@ export default class Pages {
1325
1326
  const entry = this.openTabs.get(tabId);
1326
1327
  if (entry?.url === url) {
1327
1328
  this.openTabs.set(tabId, {
1328
- entry,
1329
+ ...entry,
1329
1330
  visibility: 'private',
1330
1331
  pageId: ++this._pageIdGenerator,
1331
1332
  lastUpdatedAt: Date.now(),