Skip to content

Commit c516851

Browse files
committed
AG-51186 update agtree to v4.0.2, prepare release v2.3.0
Squashed commit of the following: commit 2e49b77 Merge: 702c95a 06f152a Author: slvvko <v.leleka@adguard.com> Date: Wed Mar 18 09:00:32 2026 -0400 Merge branch 'master' into fix/AG-51186 commit 702c95a Author: slvvko <v.leleka@adguard.com> Date: Tue Mar 17 19:41:33 2026 -0400 prepare release v2.3.0 commit fcfebca Author: slvvko <v.leleka@adguard.com> Date: Tue Mar 17 19:40:34 2026 -0400 update agtree to 4.0.2
1 parent 06f152a commit c516851

File tree

8 files changed

+15
-14
lines changed

8 files changed

+15
-14
lines changed

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ 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]
13+
## [v2.3.0] - 2026-03-18
1414

1515
### Added
1616

@@ -31,6 +31,7 @@ The format is based on [Keep a Changelog], and this project adheres to [Semantic
3131
`abort-current-inline-script`, `debug-on-property-write`, `debug-on-property-read`,
3232
`debug-current-inline-script` and `log-on-stack-trace` scriptlets [#513].
3333
- `prevent-window-open` now checks all parameters [#549].
34+
- Updated [@adguard/agtree] to `4.0.2`.
3435

3536
### Fixed
3637

@@ -40,7 +41,7 @@ The format is based on [Keep a Changelog], and this project adheres to [Semantic
4041
`abort-current-inline-script`, `debug-on-property-write`, `debug-on-property-read`,
4142
`debug-current-inline-script` and `log-on-stack-trace` scriptlets [#513].
4243

43-
[Unreleased]: https://github.com/AdguardTeam/Scriptlets/compare/v2.2.16...HEAD
44+
[v2.3.0]: https://github.com/AdguardTeam/Scriptlets/compare/v2.2.16...v2.3.0
4445
[#308]: https://github.com/AdguardTeam/Scriptlets/issues/308
4546
[#401]: https://github.com/AdguardTeam/Scriptlets/issues/401
4647
[#501]: https://github.com/AdguardTeam/Scriptlets/issues/501

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@adguard/scriptlets",
3-
"version": "2.2.16",
3+
"version": "2.3.0",
44
"description": "AdGuard's JavaScript library of Scriptlets and Redirect resources",
55
"type": "module",
66
"scripts": {
@@ -65,7 +65,7 @@
6565
"neverBuiltDependencies": []
6666
},
6767
"dependencies": {
68-
"@adguard/agtree": "^4.0.1",
68+
"@adguard/agtree": "^4.0.2",
6969
"@types/trusted-types": "^2.0.7",
7070
"js-yaml": "^3.14.1"
7171
},

pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/redirects/freewheel-admanager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { hit, noopFunc, noopThis } from '../helpers';
1212
* ||mssl.fwmrm.net/libs/adm/6.55.0/AdManager.js$script,redirect=freewheel-admanager
1313
* ```
1414
*
15-
* @added unknown.
15+
* @added v2.3.0.
1616
*/
1717

1818
export function FreewheelAdManager(source) {

src/scriptlets/freewheel-admanager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ import { FreewheelAdManager, FreewheelAdManagerNames } from '../redirects/freewh
1212
* example.org#%#//scriptlet('freewheel-admanager')
1313
* ```
1414
*
15-
* @added unknown.
15+
* @added v2.3.0.
1616
*/
1717
export { FreewheelAdManager, FreewheelAdManagerNames };

src/scriptlets/trusted-json-set-fetch-response.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ import { type Source } from './scriptlets';
101101
* example.org#%#//scriptlet('trusted-json-set-fetch-response', 'foo', 'replace:/advertisement/article/')
102102
* ```
103103
*
104-
* @added unknown.
104+
* @added v2.3.0.
105105
*/
106106
/* eslint-enable max-len */
107107
export function trustedJsonSetFetchResponse(

src/scriptlets/trusted-json-set-xhr-response.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ import { type Source } from './scriptlets';
7575
* example.org#%#//scriptlet('trusted-json-set-xhr-response', 'foo', 'json:{"a":{"test":1},"b":{"c":1}}')
7676
* ```
7777
*
78-
* @added unknown.
78+
* @added v2.3.0.
7979
*/
8080
/* eslint-enable max-len */
8181
export function trustedJsonSetXhrResponse(

src/scriptlets/trusted-json-set.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ import { type Source } from './scriptlets';
306306
* { ads: { enabled: false }, content: 'article' }
307307
* ```
308308
*
309-
* @added unknown.
309+
* @added v2.3.0.
310310
*/
311311
/* eslint-enable max-len */
312312
export function trustedJsonSet(

0 commit comments

Comments
 (0)