Skip to content

Commit 1d76481

Browse files
committed
AG-15846 Add new redirect — 'google-ima3-dai'. #239
Squashed commit of the following: commit 763feac Author: Adam Wróblewski <adam@adguard.com> Date: Wed Apr 22 09:27:32 2026 +0200 Update JSDoc Co-authored-by: Copilot <copilot@github.com> commit 6ea0265 Author: Adam Wróblewski <adam@adguard.com> Date: Tue Apr 21 19:46:25 2026 +0200 Add `google-ima3-dai` redirect resource and scriptlet Co-authored-by: Copilot <copilot@github.com>
1 parent 1906291 commit 1d76481

11 files changed

Lines changed: 2218 additions & 1 deletion

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,15 @@ The format is based on [Keep a Changelog], and this project adheres to [Semantic
1010
<!-- TODO: change `@added unknown` tag due to the actual version -->
1111
<!-- during new scriptlets or redirects releasing -->
1212

13+
## [Unreleased]
14+
15+
### Added
16+
17+
- `google-ima3-dai` redirect resource and scriptlet [#239].
18+
19+
[Unreleased]: https://github.com/AdguardTeam/Scriptlets/compare/v2.4.0-beta...HEAD
20+
[#239]: https://github.com/AdguardTeam/Scriptlets/issues/239
21+
1322
## 2.4.0-beta
1423

1524
### Added

scripts/build-redirects.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ const getJsRedirects = async (options = {}) => {
199199
};
200200

201201
const complementJsRedirects = (fileName) => {
202-
const redirectName = fileName.replace(/\.js/, '');
202+
const redirectName = fileName.replace(/\.(js|ts)$/, '');
203203
const complement = listOfRedirectsData.find((obj) => obj.name === redirectName);
204204
const comment = getComment(redirectName);
205205

scripts/compatibility-table.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@
8787
{
8888
"adg": "google-ima3"
8989
},
90+
{
91+
"adg": "google-ima3-dai"
92+
},
9093
{
9194
"adg": "googlesyndication-adsbygoogle"
9295
},
@@ -485,6 +488,9 @@
485488
"adg": "google-ima3",
486489
"ubo": "google-ima.js"
487490
},
491+
{
492+
"adg": "google-ima3-dai"
493+
},
488494
{
489495
"adg": "googlesyndication-adsbygoogle",
490496
"ubo": "googlesyndication_adsbygoogle.js"

0 commit comments

Comments
 (0)