@duckduckgo/autoconsent 5.2.0 → 5.3.0

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
+ # v5.3.0 (Wed Aug 09 2023)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - Fix the target ES version to avoid surprises downstream [#227](https://github.com/duckduckgo/autoconsent/pull/227) ([@muodov](https://github.com/muodov))
6
+
7
+ #### Authors: 1
8
+
9
+ - Maxim Tsoy ([@muodov](https://github.com/muodov))
10
+
11
+ ---
12
+
1
13
  # v5.2.0 (Thu Aug 03 2023)
2
14
 
3
15
  #### 🚀 Enhancement
package/build.sh CHANGED
@@ -4,8 +4,8 @@ set -ex
4
4
  ESBUILD="node_modules/.bin/esbuild --bundle"
5
5
 
6
6
  $ESBUILD --format=iife --target=chrome90 --minify playwright/content.ts --outfile=dist/autoconsent.playwright.js
7
- $ESBUILD --format=esm lib/web.ts --outfile=dist/autoconsent.esm.js
8
- $ESBUILD --format=cjs --platform=node lib/web.ts --outfile=dist/autoconsent.cjs.js
7
+ $ESBUILD --format=esm --target=es2021 lib/web.ts --outfile=dist/autoconsent.esm.js
8
+ $ESBUILD --format=cjs --target=es2021 --platform=node lib/web.ts --outfile=dist/autoconsent.cjs.js
9
9
 
10
10
  # Extension
11
11
  $ESBUILD addon/background.ts --outfile=dist/addon-mv3/background.bundle.js
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "manifest_version": 2,
3
3
  "name": "Autoconsent",
4
- "version": "2023.7.31",
4
+ "version": "2023.8.3",
5
5
  "background": {
6
6
  "scripts": [
7
7
  "background.bundle.js"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "manifest_version": 3,
3
3
  "name": "Autoconsent",
4
- "version": "2023.7.31",
4
+ "version": "2023.8.3",
5
5
  "background": {
6
6
  "service_worker": "background.bundle.js"
7
7
  },
@@ -1225,10 +1225,7 @@ var all_default = rules;
1225
1225
  var rules2 = all_default;
1226
1226
 
1227
1227
  // lib/consentomatic/tools.ts
1228
- var Tools = class _Tools {
1229
- static {
1230
- this.base = null;
1231
- }
1228
+ var _Tools = class _Tools {
1232
1229
  static setBase(base) {
1233
1230
  _Tools.base = base;
1234
1231
  }
@@ -1395,6 +1392,8 @@ var Tools = class _Tools {
1395
1392
  }
1396
1393
  }
1397
1394
  };
1395
+ _Tools.base = null;
1396
+ var Tools = _Tools;
1398
1397
 
1399
1398
  // lib/consentomatic/index.ts
1400
1399
  function matches(config) {
@@ -1198,10 +1198,7 @@ var all_default = rules;
1198
1198
  var rules2 = all_default;
1199
1199
 
1200
1200
  // lib/consentomatic/tools.ts
1201
- var Tools = class _Tools {
1202
- static {
1203
- this.base = null;
1204
- }
1201
+ var _Tools = class _Tools {
1205
1202
  static setBase(base) {
1206
1203
  _Tools.base = base;
1207
1204
  }
@@ -1368,6 +1365,8 @@ var Tools = class _Tools {
1368
1365
  }
1369
1366
  }
1370
1367
  };
1368
+ _Tools.base = null;
1369
+ var Tools = _Tools;
1371
1370
 
1372
1371
  // lib/consentomatic/index.ts
1373
1372
  function matches(config) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duckduckgo/autoconsent",
3
- "version": "5.2.0",
3
+ "version": "5.3.0",
4
4
  "description": "",
5
5
  "main": "dist/autoconsent.cjs.js",
6
6
  "module": "dist/autoconsent.esm.js",