@duckduckgo/autoconsent 10.7.0 → 10.9.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.
Files changed (37) hide show
  1. package/.github/workflows/ddg-release.yml +5 -9
  2. package/CHANGELOG.md +51 -0
  3. package/ci/asana-create-tasks.js +2 -2
  4. package/ci/clients_pr_template.md +3 -0
  5. package/data/coverage.json +997 -1011
  6. package/dist/addon-firefox/background.bundle.js +5 -0
  7. package/dist/addon-firefox/content.bundle.js +28 -10
  8. package/dist/addon-firefox/manifest.json +1 -1
  9. package/dist/addon-firefox/rules.json +135 -17
  10. package/dist/addon-mv3/background.bundle.js +5 -0
  11. package/dist/addon-mv3/content.bundle.js +28 -10
  12. package/dist/addon-mv3/manifest.json +1 -1
  13. package/dist/addon-mv3/rules.json +135 -17
  14. package/dist/autoconsent.cjs.js +28 -10
  15. package/dist/autoconsent.esm.js +28 -10
  16. package/dist/autoconsent.playwright.js +1 -1
  17. package/dist/autoconsent.unit.js +163 -27
  18. package/lib/cmps/evidon.ts +4 -3
  19. package/lib/cmps/trustarc-frame.ts +25 -6
  20. package/lib/cmps/trustarc-top.ts +2 -1
  21. package/lib/eval-snippets.ts +5 -0
  22. package/package.json +1 -1
  23. package/readme.md +2 -4
  24. package/rules/autoconsent/aquasana-com.json +12 -3
  25. package/rules/autoconsent/complianz-opt-out.json +12 -1
  26. package/rules/autoconsent/cookiecuttr.json +37 -0
  27. package/rules/autoconsent/fides.json +5 -2
  28. package/rules/autoconsent/instagram.json +1 -1
  29. package/rules/autoconsent/ketch.json +8 -5
  30. package/rules/autoconsent/roblox.json +36 -0
  31. package/rules/autoconsent/uswitch.json +10 -5
  32. package/rules/rules.json +135 -17
  33. package/tests/aquasana-com.spec.ts +4 -1
  34. package/tests/cookiecuttr.spec.ts +7 -0
  35. package/tests/fides.spec.ts +1 -0
  36. package/tests/ketch.spec.ts +6 -0
  37. package/tests/roblox.spec.ts +5 -0
@@ -9,6 +9,7 @@ on:
9
9
 
10
10
  env:
11
11
  TAG: ${{ inputs.tag_name }}
12
+ RELEASE_NOTES: See release notes [here](https://github.com/duckduckgo/autoconsent/blob/${{ inputs.tag_name }}/CHANGELOG.md)
12
13
 
13
14
  jobs:
14
15
  # ------------------------------------------------------------------------------
@@ -56,7 +57,6 @@ jobs:
56
57
  asana-output: ${{ steps.create-asana-tasks.outputs.ASANA_OUTPUT }}
57
58
  env:
58
59
  RELEASE_URL: ${{ needs.get_release_info.outputs.release-url }}
59
- RELEASE_NOTES: See release notes [here](https://github.com/duckduckgo/autoconsent/blob/${{ inputs.tag_name }}/CHANGELOG.md)
60
60
  steps:
61
61
  # --- Setup ---
62
62
  - uses: actions/checkout@v3
@@ -85,7 +85,6 @@ jobs:
85
85
  - get_release_info
86
86
  env:
87
87
  RELEASE_URL: ${{ needs.get_release_info.outputs.release-url }}
88
- RELEASE_NOTES: ${{ needs.get_release_info.outputs.release-notes }}
89
88
  steps:
90
89
  # --- Setup ---
91
90
  - uses: actions/checkout@v3
@@ -105,7 +104,7 @@ jobs:
105
104
  - name: Update Android autoconsent reference
106
105
  run: |
107
106
  cd android
108
- npm install @duckduckgo/autoconsent~${{ env.TAG }}
107
+ npm install @duckduckgo/autoconsent@${{ env.TAG }}
109
108
  npm run rebuild-autoconsent
110
109
  cd ..
111
110
  - name: Create Android PR Body
@@ -148,7 +147,6 @@ jobs:
148
147
  - get_release_info
149
148
  env:
150
149
  RELEASE_URL: ${{ needs.get_release_info.outputs.release-url }}
151
- RELEASE_NOTES: ${{ needs.get_release_info.outputs.release-notes }}
152
150
  steps:
153
151
  # --- Setup ---
154
152
  - uses: actions/checkout@v3
@@ -168,7 +166,7 @@ jobs:
168
166
  - name: Update iOS autoconsent reference
169
167
  run: |
170
168
  cd ios
171
- npm install @duckduckgo/autoconsent~${{ env.TAG }}
169
+ npm install @duckduckgo/autoconsent@${{ env.TAG }}
172
170
  npm run rebuild-autoconsent
173
171
  cd ..
174
172
  - name: Create iOS PR Body
@@ -210,7 +208,6 @@ jobs:
210
208
  - get_release_info
211
209
  env:
212
210
  RELEASE_URL: ${{ needs.get_release_info.outputs.release-url }}
213
- RELEASE_NOTES: ${{ needs.get_release_info.outputs.release-notes }}
214
211
  steps:
215
212
  # --- Setup ---
216
213
  - uses: actions/checkout@v3
@@ -230,7 +227,7 @@ jobs:
230
227
  - name: Update macOS autoconsent reference
231
228
  run: |
232
229
  cd macos
233
- npm install @duckduckgo/autoconsent~${{ env.TAG }}
230
+ npm install @duckduckgo/autoconsent@${{ env.TAG }}
234
231
  npm run rebuild-autoconsent
235
232
  cd ..
236
233
  - name: Create macOS PR Body
@@ -272,7 +269,6 @@ jobs:
272
269
  - get_release_info
273
270
  env:
274
271
  RELEASE_URL: ${{ needs.get_release_info.outputs.release-url }}
275
- RELEASE_NOTES: ${{ needs.get_release_info.outputs.release-notes }}
276
272
  steps:
277
273
  # --- Setup ---
278
274
  - uses: actions/checkout@v3
@@ -292,7 +288,7 @@ jobs:
292
288
  - name: Update Windows autoconsent reference
293
289
  run: |
294
290
  cd windows/WindowsBrowser/Application/Autoconsent/External
295
- npm install @duckduckgo/autoconsent~${{ env.TAG }}
291
+ npm install @duckduckgo/autoconsent@${{ env.TAG }}
296
292
  npm run rebuild-autoconsent
297
293
  cd ../../../../../
298
294
  - name: Create Windows PR Body
package/CHANGELOG.md CHANGED
@@ -1,3 +1,54 @@
1
+ # v10.9.0 (Tue May 28 2024)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - Roblox [#448](https://github.com/duckduckgo/autoconsent/pull/448) ([@muodov](https://github.com/muodov))
6
+ - Fix the Ketch rule [#447](https://github.com/duckduckgo/autoconsent/pull/447) ([@muodov](https://github.com/muodov))
7
+ - Make Fides rule more robust [#442](https://github.com/duckduckgo/autoconsent/pull/442) ([@muodov](https://github.com/muodov))
8
+ - Add support for cookieCuttr CMP [#440](https://github.com/duckduckgo/autoconsent/pull/440) ([@muodov](https://github.com/muodov))
9
+ - Add travelonbags.com [#438](https://github.com/duckduckgo/autoconsent/pull/438) ([@seia-soto](https://github.com/seia-soto) [@muodov](https://github.com/muodov))
10
+
11
+ #### 🐛 Bug Fix
12
+
13
+ - Fix overlay in complianz-optout [#450](https://github.com/duckduckgo/autoconsent/pull/450) ([@muodov](https://github.com/muodov))
14
+ - Fix overlay on https://sports.tipico.de/de [#451](https://github.com/duckduckgo/autoconsent/pull/451) ([@muodov](https://github.com/muodov))
15
+ - upgrade dependencies [#439](https://github.com/duckduckgo/autoconsent/pull/439) ([@muodov](https://github.com/muodov))
16
+
17
+ #### ⚠️ Pushed to `main`
18
+
19
+ - Update DDG PR template ([@muodov](https://github.com/muodov))
20
+ - Refer to the changelog instead of copying github release notes ([@muodov](https://github.com/muodov))
21
+ - Fix ddg release ([@muodov](https://github.com/muodov))
22
+ - Fix Asana API usage ([@muodov](https://github.com/muodov))
23
+ - Update readme.md ([@muodov](https://github.com/muodov))
24
+
25
+ #### Authors: 2
26
+
27
+ - HoJeong Go ([@seia-soto](https://github.com/seia-soto))
28
+ - Maxim Tsoy ([@muodov](https://github.com/muodov))
29
+
30
+ ---
31
+
32
+ # v10.8.0 (Tue May 14 2024)
33
+
34
+ #### 🚀 Enhancement
35
+
36
+ - Adjusted TrustArc optout [#436](https://github.com/duckduckgo/autoconsent/pull/436) ([@hyebahi](https://github.com/hyebahi))
37
+
38
+ #### 🐛 Bug Fix
39
+
40
+ - fix: instagram.com [#435](https://github.com/duckduckgo/autoconsent/pull/435) ([@seia-soto](https://github.com/seia-soto))
41
+ - Monthly Coverage data update [#434](https://github.com/duckduckgo/autoconsent/pull/434) (dax@duckduckgo.com [@sammacbeth](https://github.com/sammacbeth))
42
+
43
+ #### Authors: 4
44
+
45
+ - [@hyebahi](https://github.com/hyebahi)
46
+ - Dax the Deployer (dax@duckduckgo.com)
47
+ - HoJeong Go ([@seia-soto](https://github.com/seia-soto))
48
+ - Sam Macbeth ([@sammacbeth](https://github.com/sammacbeth))
49
+
50
+ ---
51
+
1
52
  # v10.7.0 (Thu May 02 2024)
2
53
 
3
54
  #### 🚀 Enhancement
@@ -15,7 +15,7 @@ const releaseNotes = md.render(releaseNotesRaw)
15
15
  const templateTaskGid = '1206774921409831'
16
16
  const autoconsentProjectGid = '1201844467387842'
17
17
  const releaseSectionGid = '1202253736774466'
18
- const projectExtractorRegex = /\[\[project_gids=(.+)]]\s/
18
+ const projectExtractorRegex = /\[\[project_gids=(.*)]]/
19
19
 
20
20
  /**
21
21
  * @typedef {{taskGid: string, taskUrl: string, displayName: string}} platformData
@@ -143,7 +143,7 @@ const asanaCreateTasks = async () => {
143
143
  if (extractedProjects) {
144
144
  for (const projectGidAndSection of extractedProjects.split(',')) {
145
145
  const [projectGid, sectionGid] = projectGidAndSection.split(':')
146
- await asana.tasks.addProjectForTask(gid, { project: projectGid, insert_after: null, section: sectionGid })
146
+ await asana.tasks.addProjectForTask(gid, { project: projectGid, section: sectionGid })
147
147
  }
148
148
  }
149
149
  }
@@ -10,3 +10,6 @@ Updates Autoconsent to version [[[version]]]([[autoconsent_release_url]]).
10
10
 
11
11
  ## Steps to test
12
12
  This release has been tested during Autoconsent development. You can check the release notes for more information.
13
+ 1. Make sure that there's no unexpected failures in CI checks
14
+ 2. (optional) smoke test some of the sites mentioned in the release notes
15
+ 3. If there are problems, reach out to a CPM DRI