Use `trusted-` prefix for `replace-node-text`

The official name is `trusted-replace-node-text`.

`replace-node-text` is demoted to alias. `trusted-rpnt` added
asan alias. Aliases not prefixed with `trusted-` are deprecated
and will be removed eventually.

Related feedback:
https://github.com/uBlockOrigin/uBlock-issues/discussions/2895#discussioncomment-7567863
This commit is contained in:
Raymond Hill 2023-11-14 13:53:29 -05:00
parent 6a9c69aa94
commit 28d92d38f3
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 3 additions and 1 deletions

View File

@ -3726,9 +3726,11 @@ function multiup() {
**/ **/
builtinScriptlets.push({ builtinScriptlets.push({
name: 'replace-node-text.js', name: 'trusted-replace-node-text.js',
requiresTrust: true, requiresTrust: true,
aliases: [ aliases: [
'trusted-rpnt.js',
'replace-node-text.js',
'rpnt.js', 'rpnt.js',
], ],
fn: replaceNodeText, fn: replaceNodeText,