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

View file

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