@duckduckgo/autoconsent 16.43.0 → 16.43.1

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
+ # v16.43.1 (Wed Sep 30 2026)
2
+
3
+ #### Dependencies
4
+
5
+ - Upgrade @duckduckgo/eslint-config to v0.3.0 (ESLint 10) [#1581](https://github.com/duckduckgo/autoconsent/pull/1581) ([@muodov](https://github.com/muodov))
6
+
7
+ #### Authors: 1
8
+
9
+ - Maxim Tsoy ([@muodov](https://github.com/muodov))
10
+
11
+ ---
12
+
1
13
  # v16.43.0 (Tue Sep 29 2026)
2
14
 
3
15
  #### Rules
@@ -25,7 +25,7 @@ const asanaUpdateTasks = async () => {
25
25
  try {
26
26
  asanaOutput = JSON.parse(asanaOutputRaw || '');
27
27
  } catch (e) {
28
- throw new Error('Unable to parse Asana output JSON');
28
+ throw new Error('Unable to parse Asana output JSON', { cause: e });
29
29
  }
30
30
 
31
31
  setupAsana();
@@ -2687,7 +2687,7 @@
2687
2687
  if (selector.startsWith("xpath/")) {
2688
2688
  const xpath = selector.slice(6);
2689
2689
  const result = document.evaluate(xpath, parent, null, XPathResult.ANY_TYPE, null);
2690
- let node = null;
2690
+ let node;
2691
2691
  const elements = [];
2692
2692
  while (node = result.iterateNext()) {
2693
2693
  elements.push(node);
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "manifest_version": 3,
3
3
  "name": "Autoconsent",
4
- "version": "2026.9.25",
4
+ "version": "2026.9.29",
5
5
  "background": {
6
6
  "scripts": [
7
7
  "background.bundle.js"
@@ -2687,7 +2687,7 @@
2687
2687
  if (selector.startsWith("xpath/")) {
2688
2688
  const xpath = selector.slice(6);
2689
2689
  const result = document.evaluate(xpath, parent, null, XPathResult.ANY_TYPE, null);
2690
- let node = null;
2690
+ let node;
2691
2691
  const elements = [];
2692
2692
  while (node = result.iterateNext()) {
2693
2693
  elements.push(node);
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "manifest_version": 3,
3
3
  "name": "Autoconsent",
4
- "version": "2026.9.25",
4
+ "version": "2026.9.29",
5
5
  "background": {
6
6
  "service_worker": "background.bundle.js"
7
7
  },
@@ -2723,7 +2723,7 @@ var DomActions = class {
2723
2723
  if (selector.startsWith("xpath/")) {
2724
2724
  const xpath = selector.slice(6);
2725
2725
  const result = document.evaluate(xpath, parent, null, XPathResult.ANY_TYPE, null);
2726
- let node = null;
2726
+ let node;
2727
2727
  const elements = [];
2728
2728
  while (node = result.iterateNext()) {
2729
2729
  elements.push(node);
@@ -2693,7 +2693,7 @@ var DomActions = class {
2693
2693
  if (selector.startsWith("xpath/")) {
2694
2694
  const xpath = selector.slice(6);
2695
2695
  const result = document.evaluate(xpath, parent, null, XPathResult.ANY_TYPE, null);
2696
- let node = null;
2696
+ let node;
2697
2697
  const elements = [];
2698
2698
  while (node = result.iterateNext()) {
2699
2699
  elements.push(node);
@@ -2695,7 +2695,7 @@
2695
2695
  if (selector.startsWith("xpath/")) {
2696
2696
  const xpath = selector.slice(6);
2697
2697
  const result = document.evaluate(xpath, parent, null, XPathResult.ANY_TYPE, null);
2698
- let node = null;
2698
+ let node;
2699
2699
  const elements = [];
2700
2700
  while (node = result.iterateNext()) {
2701
2701
  elements.push(node);
@@ -2695,7 +2695,7 @@
2695
2695
  if (selector.startsWith("xpath/")) {
2696
2696
  const xpath = selector.slice(6);
2697
2697
  const result = document.evaluate(xpath, parent, null, XPathResult.ANY_TYPE, null);
2698
- let node = null;
2698
+ let node;
2699
2699
  const elements = [];
2700
2700
  while (node = result.iterateNext()) {
2701
2701
  elements.push(node);
@@ -178,7 +178,7 @@ export class DomActions implements DomActionsProvider {
178
178
  if (selector.startsWith('xpath/')) {
179
179
  const xpath = selector.slice(6);
180
180
  const result = document.evaluate(xpath, parent, null, XPathResult.ANY_TYPE, null);
181
- let node: Node | null = null;
181
+ let node: Node | null;
182
182
  const elements: HTMLElement[] = [];
183
183
  while ((node = result.iterateNext())) {
184
184
  elements.push(node as HTMLElement);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duckduckgo/autoconsent",
3
- "version": "16.43.0",
3
+ "version": "16.43.1",
4
4
  "description": "",
5
5
  "types": "./dist/types/web.d.ts",
6
6
  "exports": {
@@ -42,13 +42,12 @@
42
42
  "author": "Sam Macbeth",
43
43
  "license": "MPL-2.0",
44
44
  "devDependencies": {
45
- "@duckduckgo/eslint-config": "github:duckduckgo/eslint-config#v0.1.0",
45
+ "@duckduckgo/eslint-config": "github:duckduckgo/eslint-config#v0.3.0",
46
46
  "@esm-bundle/chai": "^4.3.4-fix.0",
47
47
  "@octokit/rest": "^22.0.1",
48
48
  "@playwright/test": "^1.17.1",
49
49
  "@types/chai": "^5.0.0",
50
50
  "@types/chrome": "^0.1.0",
51
- "@types/eslint": "^9.6.1",
52
51
  "@types/mocha": "^10.0.1",
53
52
  "@types/sinon": "^21.0.0",
54
53
  "@web/dev-server-esbuild": "^1.0.2",
package/tsconfig.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "compilerOptions": {
3
3
  "target": "es2021",
4
+ "lib": ["es2021", "es2022.error", "dom", "dom.iterable", "dom.asynciterable", "webworker.importscripts", "scripthost"],
4
5
  "allowJs": true,
5
6
  "checkJs": true,
6
7
  "resolveJsonModule": true,