Skip to content

Commit

Permalink
Update autoconsent to v10.2.0 (#4267)
Browse files Browse the repository at this point in the history
Task/Issue URL:
https://app.asana.com/0/1206787859054349/1206787859054349
Autoconsent Release:
https://github.com/duckduckgo/autoconsent/releases/tag/v10.2.0


## Description
Updates Autoconsent to version
[v10.2.0](https://github.com/duckduckgo/autoconsent/releases/tag/v10.2.0).

### Autoconsent v10.2.0 release notes
#### 🚀 Enhancement

- feat: support coca-cola.com using OneTrust
[#376](duckduckgo/autoconsent#376)
([@seia-soto](https://github.com/seia-soto))

#### 🔩 Dependency Updates

- Bump the dev-dependencies group with 4 updates
[#385](duckduckgo/autoconsent#385)
([@dependabot[bot]](https://github.com/dependabot[bot]))

#### Authors: 2

- [@dependabot[bot]](https://github.com/dependabot[bot])
- HoJeong Go ([@seia-soto](https://github.com/seia-soto))


## Steps to test
This release has been tested during Autoconsent development. You can
check the release notes for more information.

Co-authored-by: muodov <muodov@users.noreply.github.com>
  • Loading branch information
2 people authored and joshliebe committed Mar 11, 2024
1 parent af96f57 commit 7a3907f
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 21 deletions.
2 changes: 1 addition & 1 deletion autoconsent/autoconsent-impl/libs/autoconsent-bundle.js

Large diffs are not rendered by default.

42 changes: 27 additions & 15 deletions autoconsent/autoconsent-impl/libs/rules.json
Original file line number Diff line number Diff line change
Expand Up @@ -1057,7 +1057,8 @@
},
{
"click": ".cc-preferences[data-cc-preferences] input[type=radio][data-cc-action=toggle-category][value=off]",
"all": true
"all": true,
"optional": true
},
{
"if": {
Expand Down Expand Up @@ -1253,15 +1254,27 @@
],
"optOut": [
{
"click": "#manage_cookie_preferences"
},
{
"click": "#cookie_consent_preferences input:checked",
"all": true,
"optional": true
},
{
"click": "#consent_save"
"if": {
"exists": "#consent_reject"
},
"then": [
{
"click": "#consent_reject"
}
],
"else": [
{
"click": "#manage_cookie_preferences"
},
{
"click": "#cookie_consent_preferences input:checked",
"all": true,
"optional": true
},
{
"click": "#consent_save"
}
]
}
],
"test": [
Expand Down Expand Up @@ -5188,6 +5201,7 @@
},
{
"name": "Sirdata",
"cosmetic": true,
"prehideSelectors": [
"#sd-cmp"
],
Expand All @@ -5208,12 +5222,10 @@
],
"optOut": [
{
"waitForThenClick": "#sd-cmp .sd-cmp-1pO44"
}
],
"test": [
"hide": "#sd-cmp"
},
{
"eval": "EVAL_SIRDATA_0"
"eval": "EVAL_SIRDATA_UNBLOCK_SCROLL"
}
]
},
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"rollup-plugin-terser": "^7.0.2"
},
"dependencies": {
"@duckduckgo/autoconsent": "^9.7.2",
"@duckduckgo/autoconsent": "^10.2.0",
"@duckduckgo/autofill": "github:duckduckgo/duckduckgo-autofill#10.1.0",
"@duckduckgo/content-scope-scripts": "github:duckduckgo/content-scope-scripts#5.4.0",
"@duckduckgo/privacy-dashboard": "github:duckduckgo/privacy-dashboard#3.0.0",
Expand Down

0 comments on commit 7a3907f

Please sign in to comment.