@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 +12 -0
- package/build.sh +2 -2
- package/dist/addon-firefox/manifest.json +1 -1
- package/dist/addon-mv3/manifest.json +1 -1
- package/dist/autoconsent.cjs.js +3 -4
- package/dist/autoconsent.esm.js +3 -4
- package/package.json +1 -1
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
|
package/dist/autoconsent.cjs.js
CHANGED
|
@@ -1225,10 +1225,7 @@ var all_default = rules;
|
|
|
1225
1225
|
var rules2 = all_default;
|
|
1226
1226
|
|
|
1227
1227
|
// lib/consentomatic/tools.ts
|
|
1228
|
-
var
|
|
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) {
|
package/dist/autoconsent.esm.js
CHANGED
|
@@ -1198,10 +1198,7 @@ var all_default = rules;
|
|
|
1198
1198
|
var rules2 = all_default;
|
|
1199
1199
|
|
|
1200
1200
|
// lib/consentomatic/tools.ts
|
|
1201
|
-
var
|
|
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) {
|