@duckduckgo/autoconsent 9.7.2 → 10.1.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/.github/workflows/asana.yml +5 -1
- package/CHANGELOG.md +53 -0
- package/Jenkinsfile +36 -11
- package/data/coverage.json +1536 -964
- package/dist/addon-firefox/background.bundle.js +7 -1
- package/dist/addon-firefox/content.bundle.js +7 -1
- package/dist/addon-firefox/manifest.json +1 -1
- package/dist/addon-firefox/rules.json +27 -15
- package/dist/addon-mv3/background.bundle.js +7 -1
- package/dist/addon-mv3/content.bundle.js +7 -1
- package/dist/addon-mv3/manifest.json +1 -1
- package/dist/addon-mv3/rules.json +27 -15
- package/dist/autoconsent.cjs.js +7 -1
- package/dist/autoconsent.esm.js +7 -1
- package/dist/autoconsent.playwright.js +1 -1
- package/dist/autoconsent.unit.js +34 -16
- package/lib/eval-snippets.ts +6 -1
- package/package.json +5 -5
- package/playwright/runner.ts +1 -1
- package/rules/autoconsent/cc-banner-springer.json +1 -1
- package/rules/autoconsent/clinch.json +21 -9
- package/rules/autoconsent/sirdata.json +4 -3
- package/rules/rules.json +27 -15
|
@@ -7,16 +7,20 @@ on:
|
|
|
7
7
|
- closed
|
|
8
8
|
- reopened
|
|
9
9
|
- synchronize
|
|
10
|
+
- review_requested
|
|
10
11
|
|
|
11
12
|
jobs:
|
|
12
13
|
sync:
|
|
13
14
|
runs-on: ubuntu-latest
|
|
15
|
+
environment: development
|
|
14
16
|
concurrency: 'asana-${{ github.repository }}'
|
|
15
17
|
steps:
|
|
16
18
|
- uses: actions/checkout@v3
|
|
17
|
-
- uses: sammacbeth/action-asana-sync@
|
|
19
|
+
- uses: sammacbeth/action-asana-sync@v4
|
|
18
20
|
with:
|
|
19
21
|
ASANA_ACCESS_TOKEN: ${{ secrets.ASANA_ACCESS_TOKEN }}
|
|
20
22
|
ASANA_WORKSPACE_ID: ${{ secrets.ASANA_WORKSPACE_ID }}
|
|
21
23
|
ASANA_PROJECT_ID: '1203409672862476'
|
|
22
24
|
move_to_section_id: '1203409672862480'
|
|
25
|
+
USER_MAP: ${{ vars.USER_MAP }}
|
|
26
|
+
NO_AUTOCLOSE_PROJECTS: '1203409672862476'
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,56 @@
|
|
|
1
|
+
# v10.1.0 (Tue Mar 05 2024)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- Sirdata fix [#379](https://github.com/duckduckgo/autoconsent/pull/379) ([@sammacbeth](https://github.com/sammacbeth) [@muodov](https://github.com/muodov))
|
|
6
|
+
|
|
7
|
+
#### 🐛 Bug Fix
|
|
8
|
+
|
|
9
|
+
- Fix a US popup on nature.com [#384](https://github.com/duckduckgo/autoconsent/pull/384) ([@muodov](https://github.com/muodov))
|
|
10
|
+
- Monthly Coverage data update [#383](https://github.com/duckduckgo/autoconsent/pull/383) (dax@duckduckgo.com [@sammacbeth](https://github.com/sammacbeth))
|
|
11
|
+
|
|
12
|
+
#### Authors: 3
|
|
13
|
+
|
|
14
|
+
- Dax the Deployer (dax@duckduckgo.com)
|
|
15
|
+
- Maxim Tsoy ([@muodov](https://github.com/muodov))
|
|
16
|
+
- Sam Macbeth ([@sammacbeth](https://github.com/sammacbeth))
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
# v10.0.0 (Fri Mar 01 2024)
|
|
21
|
+
|
|
22
|
+
#### 💥 Breaking Change
|
|
23
|
+
|
|
24
|
+
- Bump the dev-dependencies group with 4 updates [#377](https://github.com/duckduckgo/autoconsent/pull/377) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
|
25
|
+
|
|
26
|
+
#### 🚀 Enhancement
|
|
27
|
+
|
|
28
|
+
- Support reject button in clinch [#375](https://github.com/duckduckgo/autoconsent/pull/375) ([@muodov](https://github.com/muodov))
|
|
29
|
+
|
|
30
|
+
#### 🐛 Bug Fix
|
|
31
|
+
|
|
32
|
+
- Update action-asana-sync [#378](https://github.com/duckduckgo/autoconsent/pull/378) ([@sammacbeth](https://github.com/sammacbeth))
|
|
33
|
+
- Setup github status reporting for Jenkins multibranch job [#373](https://github.com/duckduckgo/autoconsent/pull/373) ([@sammacbeth](https://github.com/sammacbeth))
|
|
34
|
+
- Monthly Coverage data update [#372](https://github.com/duckduckgo/autoconsent/pull/372) (dax@duckduckgo.com [@sammacbeth](https://github.com/sammacbeth))
|
|
35
|
+
|
|
36
|
+
#### ⚠️ Pushed to `main`
|
|
37
|
+
|
|
38
|
+
- Update asana.yml ([@sammacbeth](https://github.com/sammacbeth))
|
|
39
|
+
|
|
40
|
+
#### 🔩 Dependency Updates
|
|
41
|
+
|
|
42
|
+
- Bump the dev-dependencies group with 7 updates [#382](https://github.com/duckduckgo/autoconsent/pull/382) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
|
43
|
+
- Bump the dev-dependencies group with 5 updates [#374](https://github.com/duckduckgo/autoconsent/pull/374) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
|
44
|
+
|
|
45
|
+
#### Authors: 4
|
|
46
|
+
|
|
47
|
+
- [@dependabot[bot]](https://github.com/dependabot[bot])
|
|
48
|
+
- Dax the Deployer (dax@duckduckgo.com)
|
|
49
|
+
- Maxim Tsoy ([@muodov](https://github.com/muodov))
|
|
50
|
+
- Sam Macbeth ([@sammacbeth](https://github.com/sammacbeth))
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
1
54
|
# v9.7.2 (Fri Feb 02 2024)
|
|
2
55
|
|
|
3
56
|
#### 🐛 Bug Fix
|
package/Jenkinsfile
CHANGED
|
@@ -7,7 +7,8 @@ def runPlaywrightTests(resultDir, browser, grep) {
|
|
|
7
7
|
"""
|
|
8
8
|
}
|
|
9
9
|
} finally {
|
|
10
|
-
junit 'results.xml'
|
|
10
|
+
def summary = junit skipMarkingBuildUnstable: true, skipPublishingChecks: true, testResults: 'results.xml'
|
|
11
|
+
return summary
|
|
11
12
|
}
|
|
12
13
|
}
|
|
13
14
|
|
|
@@ -34,6 +35,12 @@ pipeline {
|
|
|
34
35
|
}
|
|
35
36
|
stages {
|
|
36
37
|
stage('Checkout') {
|
|
38
|
+
when {
|
|
39
|
+
expression {
|
|
40
|
+
// skip the BRANCH variable if this is running in a multibranch job
|
|
41
|
+
return env.BRANCH_NAME == null
|
|
42
|
+
}
|
|
43
|
+
}
|
|
37
44
|
steps {
|
|
38
45
|
checkout([$class: 'GitSCM', branches: [[name: "${params.BRANCH}"]],
|
|
39
46
|
extensions: [[$class: 'LocalBranch']],
|
|
@@ -48,23 +55,41 @@ pipeline {
|
|
|
48
55
|
npx playwright install
|
|
49
56
|
'''
|
|
50
57
|
script {
|
|
51
|
-
|
|
58
|
+
if (env.BRANCH_NAME == null) {
|
|
59
|
+
currentBuild.description = "${params.BRANCH} - ${params.BROWSER}"
|
|
60
|
+
} else {
|
|
61
|
+
currentBuild.description = "${env.GIT_COMMIT}"
|
|
62
|
+
}
|
|
52
63
|
}
|
|
53
64
|
}
|
|
54
65
|
}
|
|
55
66
|
|
|
56
67
|
stage('Test') {
|
|
57
68
|
steps {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
69
|
+
script {
|
|
70
|
+
def testsFailed = 0
|
|
71
|
+
def testsTotal = 0
|
|
72
|
+
withEnv(["NSITES=${params.NSITES}}"]) {
|
|
73
|
+
def testEnvs = [
|
|
74
|
+
"${params.TEST_RESULT_ROOT}/de.env",
|
|
75
|
+
"${params.TEST_RESULT_ROOT}/us.env",
|
|
76
|
+
"${params.TEST_RESULT_ROOT}/gb.env"
|
|
77
|
+
]
|
|
78
|
+
for (testEnv in testEnvs) {
|
|
79
|
+
withEnvFile(testEnv) {
|
|
80
|
+
def summary = runPlaywrightTests(params.TEST_RESULT_ROOT, params.BROWSER, params.GREP)
|
|
81
|
+
testsFailed += summary.failCount
|
|
82
|
+
testsTotal += summary.totalCount
|
|
83
|
+
}
|
|
84
|
+
}
|
|
67
85
|
}
|
|
86
|
+
githubNotify(
|
|
87
|
+
account: 'duckduckgo',
|
|
88
|
+
repo: 'autoconsent',
|
|
89
|
+
context: 'Tests / Coverage sample',
|
|
90
|
+
sha: "${env.GIT_COMMIT}",
|
|
91
|
+
description: "${testsFailed}/${testsTotal} failed",
|
|
92
|
+
status: testsFailed > 50 ? 'FAILURE' : 'SUCCESS')
|
|
68
93
|
}
|
|
69
94
|
}
|
|
70
95
|
}
|