@whotracksme/reporting 6.3.0 → 6.3.2

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.
@@ -10,8 +10,8 @@ jobs:
10
10
  runs-on: ubuntu-24.04
11
11
  if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
12
12
  steps:
13
- - uses: actions/checkout@v2
14
- - uses: actions/setup-node@v2
13
+ - uses: actions/checkout@v4
14
+ - uses: actions/setup-node@v4
15
15
  with:
16
16
  node-version: '22'
17
17
  cache: 'npm'
@@ -11,7 +11,7 @@ jobs:
11
11
  runs-on: ubuntu-latest
12
12
 
13
13
  steps:
14
- - uses: actions/checkout@v2
14
+ - uses: actions/checkout@v4
15
15
  - uses: jdx/mise-action@v2
16
16
  - run: npm ci
17
17
  - run: npm run lint
package/CHANGELOG.md CHANGED
@@ -1,3 +1,28 @@
1
+ # v6.3.2 (Tue May 06 2025)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Upgrade Github actions [#157](https://github.com/whotracksme/webextension-packages/pull/157) ([@philipp-classen](https://github.com/philipp-classen))
6
+ - Update Linkedom [#156](https://github.com/whotracksme/webextension-packages/pull/156) ([@philipp-classen](https://github.com/philipp-classen))
7
+
8
+ #### Authors: 1
9
+
10
+ - Philipp Claßen ([@philipp-classen](https://github.com/philipp-classen))
11
+
12
+ ---
13
+
14
+ # v6.3.1 (Wed Jan 29 2025)
15
+
16
+ #### 🐛 Bug Fix
17
+
18
+ - Fixed: TypeError: this.config is undefined [#155](https://github.com/whotracksme/webextension-packages/pull/155) ([@philipp-classen](https://github.com/philipp-classen))
19
+
20
+ #### Authors: 1
21
+
22
+ - Philipp Claßen ([@philipp-classen](https://github.com/philipp-classen))
23
+
24
+ ---
25
+
1
26
  # v6.3.0 (Wed Jan 29 2025)
2
27
 
3
28
  #### 🚀 Enhancement
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whotracksme/reporting",
3
- "version": "6.3.0",
3
+ "version": "6.3.2",
4
4
  "type": "module",
5
5
  "description": "",
6
6
  "scripts": {
@@ -44,7 +44,7 @@
44
44
  "@cliqz/url-parser": "^1.1.5",
45
45
  "date-fns": "^2.29.3",
46
46
  "idb": "^7.1.1",
47
- "linkedom": "^0.16.11",
47
+ "linkedom": "^0.18.10",
48
48
  "pako": "^2.1.0",
49
49
  "tldts-experimental": "^6.0.11"
50
50
  }
@@ -41,7 +41,7 @@
41
41
  "@cliqz/url-parser": "^1.1.5",
42
42
  "date-fns": "^2.29.3",
43
43
  "idb": "^7.1.1",
44
- "linkedom": "^0.16.11",
44
+ "linkedom": "^0.18.10",
45
45
  "tldts-experimental": "^6.0.11"
46
46
  },
47
47
  "exports": {
@@ -252,17 +252,11 @@ export default class RequestReporter {
252
252
  unload() {
253
253
  this.ready = false;
254
254
 
255
- this.config.unload();
256
-
257
- if (this.cookieContext) {
258
- this.cookieContext.unload();
259
- }
260
- if (this.tokenExaminer) {
261
- this.tokenExaminer.unload();
262
- }
263
- if (this.tokenChecker) {
264
- this.tokenChecker.unload();
265
- }
255
+ this.config?.unload();
256
+ this.cookieContext?.unload();
257
+ this.tokenExaminer?.unload();
258
+ this.tokenChecker?.unload();
259
+ this.db?.unload();
266
260
 
267
261
  chrome.webRequest.onBeforeRequest.removeListener(this.onBeforeRequest);
268
262
  chrome.webRequest.onBeforeSendHeaders.removeListener(
@@ -272,9 +266,6 @@ export default class RequestReporter {
272
266
  chrome.webRequest.onCompleted.removeListener(this.onCompleted);
273
267
  chrome.webRequest.onErrorOccurred.removeListener(this.onErrorOccurred);
274
268
 
275
- if (this.db) {
276
- this.db.unload();
277
- }
278
269
  clearInterval(this.dayChangedInterval);
279
270
  this.dayChangedInterval = null;
280
271
  }