@duckduckgo/autoconsent 14.69.0 โ 14.71.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 +42 -0
- package/Jenkinsfile +8 -22
- package/dist/addon-firefox/background.bundle.js +15 -2
- package/dist/addon-firefox/compact-rules.json +1 -1
- package/dist/addon-firefox/content.bundle.js +13 -0
- package/dist/addon-firefox/manifest.json +1 -1
- package/dist/addon-firefox/popup.bundle.js +1 -1
- package/dist/addon-firefox/rules.json +1 -1
- package/dist/addon-mv3/background.bundle.js +15 -2
- package/dist/addon-mv3/compact-rules.json +1 -1
- package/dist/addon-mv3/content.bundle.js +13 -0
- package/dist/addon-mv3/manifest.json +1 -1
- package/dist/addon-mv3/popup.bundle.js +1 -1
- package/dist/addon-mv3/rules.json +1 -1
- package/dist/autoconsent.cjs.js +13 -0
- package/dist/autoconsent.esm.js +13 -0
- package/dist/autoconsent.extra.cjs.js +14 -1
- package/dist/autoconsent.extra.esm.js +14 -1
- package/dist/autoconsent.playwright.js +14 -1
- package/dist/types/eval-snippets.d.ts +2 -0
- package/docs/puppeteer.md +82 -0
- package/lib/eval-snippets.ts +13 -0
- package/package.json +1 -1
- package/readme.md +4 -0
- package/rules/autoconsent/consentmo.json +44 -0
- package/rules/autoconsent/didomi.json +22 -0
- package/rules/autoconsent/gallup.json +9 -0
- package/rules/autoconsent/real-cookie-banner.json +1 -1
- package/rules/autoconsent/squarespace-cookie-banner.json +31 -0
- package/rules/build.ts +1 -1
- package/rules/compact-rules.json +1 -1
- package/rules/consentomatic.json +1 -1
- package/rules/generated/auto_AU_goodmoodprints.com_9fy.json +11 -11
- package/rules/generated/auto_GB_supremecourt.uk_0.json +9 -9
- package/rules/generated/auto_US_musicnotes.com_0.json +20 -5
- package/rules/rules.json +1 -1
- package/scripts/get-tests-to-run.js +79 -0
- package/tests/consentmo.spec.ts +15 -0
- package/tests/didomi.spec.ts +5 -4
- package/tests/gallup.spec.ts +6 -0
- package/tests/squarespace-cookie-banner.spec.ts +9 -0
- package/rules/generated/auto_AU_urallawoolroom.com.au_3ng.json +0 -28
- package/rules/generated/auto_CH_degussa-goldhandel.ch_mqc.json +0 -40
- package/rules/generated/auto_GB_filofax.com_uxo.json +0 -40
- package/rules/generated/auto_GB_musicnotes.com_0.json +0 -28
- package/tests/generated/auto_AU_urallawoolroom.com.au_3ng.spec.ts +0 -6
- package/tests/generated/auto_CH_degussa-goldhandel.ch_mqc.spec.ts +0 -6
- package/tests/generated/auto_GB_filofax.com_uxo.spec.ts +0 -2
- package/tests/generated/auto_GB_musicnotes.com_0.spec.ts +0 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,45 @@
|
|
|
1
|
+
# v14.71.0 (Tue Apr 14 2026)
|
|
2
|
+
|
|
3
|
+
#### ๐ Enhancement
|
|
4
|
+
|
|
5
|
+
- fix: update rule selectors for goodmoodprints.com, supremecourt.uk, musicnotes.com, degussa-goldhandel.ch; add generic squarespace-cookie-banner and consentmo rules [#1248](https://github.com/duckduckgo/autoconsent/pull/1248) ([@cursoragent](https://github.com/cursoragent) [@muodov](https://github.com/muodov))
|
|
6
|
+
- Replace Didomi consent-o-matic rule with native autoconsent JSON rule [#1247](https://github.com/duckduckgo/autoconsent/pull/1247) ([@cursoragent](https://github.com/cursoragent) [@muodov](https://github.com/muodov))
|
|
7
|
+
|
|
8
|
+
#### ๐ Bug Fix
|
|
9
|
+
|
|
10
|
+
- Bump tldts-experimental from 7.0.27 to 7.0.28 [#1243](https://github.com/duckduckgo/autoconsent/pull/1243) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
|
11
|
+
|
|
12
|
+
#### ๐ Documentation
|
|
13
|
+
|
|
14
|
+
- docs: add puppeteer tutorial [#1152](https://github.com/duckduckgo/autoconsent/pull/1152) ([@Kikobeats](https://github.com/Kikobeats) [@muodov](https://github.com/muodov))
|
|
15
|
+
|
|
16
|
+
#### ๐งช Tests
|
|
17
|
+
|
|
18
|
+
- Fix test runner to detect code-based rule changes and generated rules [#1204](https://github.com/duckduckgo/autoconsent/pull/1204) ([@cursoragent](https://github.com/cursoragent) [@sammacbeth](https://github.com/sammacbeth))
|
|
19
|
+
|
|
20
|
+
#### Authors: 5
|
|
21
|
+
|
|
22
|
+
- [@dependabot[bot]](https://github.com/dependabot[bot])
|
|
23
|
+
- Cursor Agent ([@cursoragent](https://github.com/cursoragent))
|
|
24
|
+
- Jose Francisco 'Kiko' Verdรบ Gambรญn ([@Kikobeats](https://github.com/Kikobeats))
|
|
25
|
+
- Maxim Tsoy ([@muodov](https://github.com/muodov))
|
|
26
|
+
- Sam Macbeth ([@sammacbeth](https://github.com/sammacbeth))
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
# v14.70.0 (Sat Apr 11 2026)
|
|
31
|
+
|
|
32
|
+
#### ๐ Enhancement
|
|
33
|
+
|
|
34
|
+
- Add autoconsent rule for Gallup cookie banner [#1251](https://github.com/duckduckgo/autoconsent/pull/1251) ([@cursoragent](https://github.com/cursoragent) [@muodov](https://github.com/muodov))
|
|
35
|
+
|
|
36
|
+
#### Authors: 2
|
|
37
|
+
|
|
38
|
+
- Cursor Agent ([@cursoragent](https://github.com/cursoragent))
|
|
39
|
+
- Maxim Tsoy ([@muodov](https://github.com/muodov))
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
1
43
|
# v14.69.0 (Thu Apr 09 2026)
|
|
2
44
|
|
|
3
45
|
#### ๐ Enhancement
|
package/Jenkinsfile
CHANGED
|
@@ -32,29 +32,15 @@ def getModifiedFiles() {
|
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
def getTestsToRun(modifiedFiles) {
|
|
35
|
-
def
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
for (file in modifiedFiles) {
|
|
39
|
-
if (file.startsWith("tests/") && file.endsWith(".spec.ts")) {
|
|
40
|
-
testsToRun.add(file)
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
// Run the corresponding test file for any modified rule file
|
|
45
|
-
for (file in modifiedFiles) {
|
|
46
|
-
if (file.startsWith("rules/autoconsent/") && file.endsWith(".json")) {
|
|
47
|
-
def fileName = file.substring("rules/autoconsent/".length())
|
|
48
|
-
def baseName = fileName.substring(0, fileName.lastIndexOf(".json"))
|
|
49
|
-
def testFile = "tests/${baseName}.spec.ts"
|
|
50
|
-
|
|
51
|
-
if (fileExists(testFile) && !testsToRun.contains(testFile)) {
|
|
52
|
-
testsToRun.add(testFile)
|
|
53
|
-
}
|
|
54
|
-
}
|
|
35
|
+
def filesArg = modifiedFiles.findAll { it }.join(' ')
|
|
36
|
+
if (!filesArg) {
|
|
37
|
+
return []
|
|
55
38
|
}
|
|
56
|
-
|
|
57
|
-
|
|
39
|
+
def result = sh(
|
|
40
|
+
script: "node scripts/get-tests-to-run.js ${filesArg}",
|
|
41
|
+
returnStdout: true,
|
|
42
|
+
).trim()
|
|
43
|
+
return result ? result.split("\n").collect { it.trim() }.findAll { it } : []
|
|
58
44
|
}
|
|
59
45
|
|
|
60
46
|
pipeline {
|