Skip to content

Commit 9893ccb

Browse files
committed
AG-21246 Fix 'trusted-json-set' documentation
Squashed commit of the following: commit 2d8a47e Merge: 0da79be 6c0a4f6 Author: Adam Wróblewski <adam@adguard.com> Date: Mon Mar 16 07:53:38 2026 +0100 Merge branch 'master' into fix/AG-21246-01 commit 0da79be Author: Adam Wróblewski <adam@adguard.com> Date: Sat Mar 14 09:15:02 2026 +0100 Fix 'trusted-json-set' documentation
1 parent 6c0a4f6 commit 9893ccb

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/scriptlets/trusted-json-set.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,6 @@ import { type Source } from './scriptlets';
7979
* - `throwFunc` — function throwing an error
8080
* - `noopPromiseResolve` — function returning Promise resolved with an empty response
8181
* - `noopPromiseReject` — function returning Promise.reject()
82-
* - `json:{...}` — parses the provided JSON value; if the current target value is also an object,
83-
* the parsed object is merged into it
8482
* - any other string is set as a string literal
8583
* Can also be a replacement applied to the current string value at the target path,
8684
* in the format `replace:/regex/replacement/`:
@@ -90,7 +88,6 @@ import { type Source } from './scriptlets';
9088
* if the current target value is also an object, the parsed object is merged into it.
9189
* - `requiredInitialProps` — optional, space-separated list of property paths.
9290
* All listed paths must be present in the JSON object for the modification to occur.
93-
* the value at the target path even if it does not exist unless the path includes wildcards.
9491
* - `jsonSource` — optional, where to read and modify the JSON value from. Defaults to `result`.
9592
* Supported values:
9693
* - `arg` — only the first argument

0 commit comments

Comments
 (0)