refactor: rename the theme brand and every identifier from AKSRT to Jio
Full-project rename. `git grep -i aksrt` is now empty apart from the
DBMigrator 3.3.0 changelog note that documents the rename itself.
Code identifiers
- PHP namespace AKSRT\ -> Jio\ (composer PSR-4 + 378 declarations)
- global constants AKSRT_* -> JIO_* (VERSION/DIR/URI, PAY_TYPE_*, CAPTCHA_*)
- procedural functions, hooks, options, meta keys, table names,
cookies, query vars, ajax actions and nonces: aksrt_ -> jio_
- text domain aksrt -> jio; Theme Name -> Jio
- JS globals: aksrtData/aksrtAdminData/... -> jioData/jioAdminData/...,
window.AKSRTCaptcha & friends -> window.JioCaptcha, Aksrt* -> Jio*
- Vue components Aks*.vue -> Jio*.vue (15 files renamed + imports)
- CSS classes/data-attrs/custom properties: aksrt- -> jio-
- REST namespace aksrt/v1 -> jio/v1 (incl. payment gateway callbacks)
Storage layer
- DB tables {prefix}aksrt_* -> {prefix}jio_*; SCHEMA_VERSION 3.2.0 -> 3.3.0
so dbDelta creates the new names on install
- widget id_base aksrt_widget_* -> jio_widget_*
- uninstall.php drop list rebuilt from the actual migrator tables
(dropped 3 stale entries, added the 17 missing ones)
Removed
- hardcoded https://api.aksrt.com/version.json default update endpoint;
get_endpoint() now reads the 「更新端点」 setting and do_check() no-ops
when it is empty
Files renamed: inc/helpers/aksrt-*.php -> jio-*.php (54),
assets/admin/src/components/form/Aks*.vue -> Jio*.vue (15).
Build artifacts regenerated: assets/css/build, assets/js/runtime,
assets/admin/build.
Verified: audit-psr4-paths errors=0, audit-admin-contracts errors=0
(warnings=56, unchanged baseline), 813/813 widget-system tests,
44/44 phpunit, php -l clean across all PHP.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
5b16bc6e15
commit
35bb96e82f
997 files changed
+28216
-28188
No files matched your search
@@ -202,9 +202,9 @@ test('balance center actions use direct fixed-id notyf flows', () => {
|
||||
const css = read('assets/css/routes/user-center/credits.css');
|
||||
const shell = read('assets/css/routes/user-center/shell.css');
|
||||
const header = read('inc/helpers/user-center-renderers/profile-header.php');
|
||||
const headerUserbox = read('inc/helpers/aksrt-header-userbox.php');
|
||||
const headerUserbox = read('inc/helpers/jio-header-userbox.php');
|
||||
const signinService = read('src/Credits/Signin.php');
|
||||
const context = read('inc/helpers/aksrt-user-center.php');
|
||||
const context = read('inc/helpers/jio-user-center.php');
|
||||
const renderers = [
|
||||
'inc/helpers/user-center-renderers/credits-balance.php',
|
||||
'inc/helpers/user-center-renderers/credits-wallet.php',
|
||||
@@ -221,45 +221,45 @@ test('balance center actions use direct fixed-id notyf flows', () => {
|
||||
}
|
||||
|
||||
const flows = [
|
||||
[signinController, 'aksrt-balance-signin-toast'],
|
||||
[section('initBalanceCharge', 'initTransfer'), 'aksrt-balance-charge-toast'],
|
||||
[section('initTransfer', 'initPointsPay'), 'aksrt-balance-transfer-toast'],
|
||||
[section('initPointsPay', 'initWithdraw'), 'aksrt-balance-points-toast'],
|
||||
[section('initWithdraw', 'initAssetTabs'), 'aksrt-balance-withdraw-toast'],
|
||||
[signinController, 'jio-balance-signin-toast'],
|
||||
[section('initBalanceCharge', 'initTransfer'), 'jio-balance-charge-toast'],
|
||||
[section('initTransfer', 'initPointsPay'), 'jio-balance-transfer-toast'],
|
||||
[section('initPointsPay', 'initWithdraw'), 'jio-balance-points-toast'],
|
||||
[section('initWithdraw', 'initAssetTabs'), 'jio-balance-withdraw-toast'],
|
||||
];
|
||||
|
||||
flows.forEach(([source, id]) => {
|
||||
assert.match(source, new RegExp("notyf\\([^;]+?'load'[^;]+?'" + id + "'\\);"));
|
||||
assert.match(source, new RegExp("notyf\\([^;]+?'danger'[^;]+?'" + id + "'\\);"));
|
||||
assert.match(source, new RegExp("notyf\\([^;]+?'success'[^;]+?'" + id + "'\\);"));
|
||||
assert.doesNotMatch(source, /setTip|data-(?:signin|aksrt-(?:card|charge|transfer|points-exchange|withdraw))-tip/);
|
||||
assert.doesNotMatch(source, /setTip|data-(?:signin|jio-(?:card|charge|transfer|points-exchange|withdraw))-tip/);
|
||||
});
|
||||
|
||||
assert.match(credits, /notyf\('等待支付结果…', 'load', '', 'aksrt-balance-charge-payment-toast'\)/);
|
||||
assert.match(credits, /notyf\('等待支付结果…', 'load', '', 'jio-balance-charge-payment-toast'\)/);
|
||||
assert.match(signinController, /querySelectorAll\('\[data-signin-btn\]'\)/);
|
||||
assert.match(signinController, /freshButtons\.forEach[\s\S]*?addEventListener\('click'/);
|
||||
assert.match(credits, /onTimeout:[\s\S]*?notyf\([^;]+?'danger'[^;]+?'aksrt-balance-charge-payment-toast'\)/);
|
||||
assert.match(credits, /auto_fun\.aksrt-credits'[\s\S]*?bootAssets\(\);/);
|
||||
assert.match(credits, /onTimeout:[\s\S]*?notyf\([^;]+?'danger'[^;]+?'jio-balance-charge-payment-toast'\)/);
|
||||
assert.match(credits, /auto_fun\.jio-credits'[\s\S]*?bootAssets\(\);/);
|
||||
assert.match(credits, /function bootAssets\(\)[\s\S]*?initSigninGoto\(\);[\s\S]*?initBalanceCharge\(\);[\s\S]*?initPointsPay\(\);[\s\S]*?initWithdraw\(\);/);
|
||||
assert.doesNotMatch(credits, /function initSignin\(|\/signin\/today|POST \/signin/);
|
||||
assert.match(signinController, /aksrtSigninInitialized/);
|
||||
assert.match(credits, /aksrtPointsPayInitialized[\s\S]*?aksrtWithdrawInitialized/);
|
||||
assert.match(scripts, /'aksrt-credits',[\s\S]*?\/assets\/js\/credits\.js',[\s\S]*?\[[^\]]*'loader_js'[^\]]*\]/);
|
||||
assert.match(scripts, /\$signin_on\s*=\s*is_user_logged_in\(\)[\s\S]*?'aksrt-signin',[\s\S]*?\/assets\/js\/signin\.js',[\s\S]*?'loader_js'/);
|
||||
assert.match(signinController, /jioSigninInitialized/);
|
||||
assert.match(credits, /jioPointsPayInitialized[\s\S]*?jioWithdrawInitialized/);
|
||||
assert.match(scripts, /'jio-credits',[\s\S]*?\/assets\/js\/credits\.js',[\s\S]*?\[[^\]]*'loader_js'[^\]]*\]/);
|
||||
assert.match(scripts, /\$signin_on\s*=\s*is_user_logged_in\(\)[\s\S]*?'jio-signin',[\s\S]*?\/assets\/js\/signin\.js',[\s\S]*?'loader_js'/);
|
||||
assert.ok(header.indexOf('data-signin-btn') < header.indexOf('uc-header__message-btn'));
|
||||
assert.match(header, /uc-header__message-btn[^>]+aria-label="<\?php esc_attr_e\('消息通知'/);
|
||||
assert.doesNotMatch(header, /<i class="fa fas fa-bell"[^>]*><\/i>\s*<\?php esc_html_e\('消息通知'/);
|
||||
assert.doesNotMatch(header, /data-signin-captcha|aksrt_render_captcha\('signin'\)/);
|
||||
assert.doesNotMatch(header, /data-signin-captcha|jio_render_captcha\('signin'\)/);
|
||||
assert.match(headerUserbox, /data-signin-btn[\s\S]*?data-signin-label/);
|
||||
assert.match(headerUserbox, /add_action\('wp_footer', 'aksrt_render_signin_captcha'\)/);
|
||||
assert.match(headerUserbox, /data-signin-captcha[\s\S]*?aksrt_render_captcha\('signin'\)/);
|
||||
assert.match(headerUserbox, /add_action\('wp_footer', 'jio_render_signin_captcha'\)/);
|
||||
assert.match(headerUserbox, /data-signin-captcha[\s\S]*?jio_render_captcha\('signin'\)/);
|
||||
assert.match(signinService, /but c-blue ml10 p2-10 radius" data-signin-btn/);
|
||||
assert.doesNotMatch(headerUserbox + signinService, /data-aksrt-checkin/);
|
||||
assert.doesNotMatch(headerUserbox + signinService, /data-jio-checkin/);
|
||||
assert.match(context, /'signin_enabled'\s*=>\s*\$signin_enabled/);
|
||||
assert.match(context, /'signin_signed_today'\s*=>\s*\$signin_signed_today/);
|
||||
assert.match(shell, /\.uc-header__actions\s*\{[^}]*display:\s*flex;[^}]*gap:\s*6px;/s);
|
||||
assert.match(shell, /\.uc-header__message-btn\s*\{[^}]*position:\s*relative;/s);
|
||||
assert.doesNotMatch(renderers, /data-(?:signin|aksrt-(?:card|charge|transfer|points-exchange|withdraw))-tip/);
|
||||
assert.doesNotMatch(renderers, /data-(?:signin|jio-(?:card|charge|transfer|points-exchange|withdraw))-tip/);
|
||||
assert.doesNotMatch(css, /\.uc-(?:card-pass|modal|balance-card)__tip/);
|
||||
});
|
||||
|
||||
@@ -268,24 +268,24 @@ test('VIP purchase and points exchange use direct fixed-id notyf flows', () => {
|
||||
const css = read('assets/css/frontend/vip-modal.css');
|
||||
const scripts = read('src/Core/ScriptsPart1b.php');
|
||||
|
||||
assert.match(vip, /notyf\("正在兑换会员…", "load", "", "aksrt-vip-points-toast"\)/);
|
||||
assert.match(vip, /notyf\([^;]+?"success"[^;]+?"aksrt-vip-points-toast"\)/);
|
||||
assert.match(vip, /notyf\([^;]+?"danger"[^;]+?"aksrt-vip-points-toast"\)/);
|
||||
assert.match(vip, /notyf\("正在兑换会员…", "load", "", "jio-vip-points-toast"\)/);
|
||||
assert.match(vip, /notyf\([^;]+?"success"[^;]+?"jio-vip-points-toast"\)/);
|
||||
assert.match(vip, /notyf\([^;]+?"danger"[^;]+?"jio-vip-points-toast"\)/);
|
||||
|
||||
assert.match(vip, /activePurchaseToastId = "aksrt-vip-purchase-toast";[\s\S]*?notyf\("正在创建会员订单…", "load"/);
|
||||
assert.match(vip, /onPending:[\s\S]*?"info"[\s\S]*?activePurchaseToastId = "aksrt-vip-payment-toast";[\s\S]*?notyf\("等待支付结果…", "load"/);
|
||||
assert.match(vip, /activePurchaseToastId = "jio-vip-purchase-toast";[\s\S]*?notyf\("正在创建会员订单…", "load"/);
|
||||
assert.match(vip, /onPending:[\s\S]*?"info"[\s\S]*?activePurchaseToastId = "jio-vip-payment-toast";[\s\S]*?notyf\("等待支付结果…", "load"/);
|
||||
assert.match(vip, /onSuccess:[\s\S]*?notyf\([^;]+?"success"/);
|
||||
assert.match(vip, /onFailure:[\s\S]*?notyf\([^;]+?"danger"[^;]+?"aksrt-vip-payment-toast"/);
|
||||
assert.match(vip, /onTimeout:[\s\S]*?notyf\([^;]+?"danger"[^;]+?"aksrt-vip-payment-toast"/);
|
||||
assert.match(vip, /onFailure:[\s\S]*?notyf\([^;]+?"danger"[^;]+?"jio-vip-payment-toast"/);
|
||||
assert.match(vip, /onTimeout:[\s\S]*?notyf\([^;]+?"danger"[^;]+?"jio-vip-payment-toast"/);
|
||||
assert.match(vip, /已取消会员购买", "warning", 3, activePurchaseToastId/);
|
||||
assert.match(vip, /会员套餐加载失败,请重试[\s\S]*?"danger"/);
|
||||
// 积分兑换弹窗改为服务端静态壳(inc/helpers/aksrt-vip.php 输出,pay-vip.js 只负责
|
||||
// 积分兑换弹窗改为服务端静态壳(inc/helpers/jio-vip.php 输出,pay-vip.js 只负责
|
||||
// 开合与提交),兑换失败沿用固定 id 的 danger toast。
|
||||
assert.match(vip, /兑换失败,请重试。[\s\S]*?"danger"/);
|
||||
|
||||
assert.doesNotMatch(vip, /setTip|aksrt-vip-modal-tip/);
|
||||
assert.doesNotMatch(css, /\.aksrt-vip-modal-tip/);
|
||||
assert.match(scripts, /'aksrt-pay-vip',[\s\S]*?\/assets\/js\/pay-vip\.js',[\s\S]*?\[[^\]]*'loader_js'[^\]]*\]/);
|
||||
assert.doesNotMatch(vip, /setTip|jio-vip-modal-tip/);
|
||||
assert.doesNotMatch(css, /\.jio-vip-modal-tip/);
|
||||
assert.match(scripts, /'jio-pay-vip',[\s\S]*?\/assets\/js\/pay-vip\.js',[\s\S]*?\[[^\]]*'loader_js'[^\]]*\]/);
|
||||
});
|
||||
|
||||
test('payment entry points never load the removed legacy pay runtime', () => {
|
||||
@@ -305,9 +305,9 @@ test('payment entry points never load the removed legacy pay runtime', () => {
|
||||
assert.doesNotMatch(legacyMain, /tbquire\(\[['"]pay['"]\]\)/);
|
||||
assert.doesNotMatch(legacyMain, /indexOf\(['"]zippay['"]\)/);
|
||||
assert.match(vip, /\.pay-vip/);
|
||||
assert.match(content, /data-aksrt-pay-content/);
|
||||
assert.match(scripts, /'aksrt-pay-vip'/);
|
||||
assert.match(scripts, /'aksrt-cms-download'/);
|
||||
assert.match(content, /data-jio-pay-content/);
|
||||
assert.match(scripts, /'jio-pay-vip'/);
|
||||
assert.match(scripts, /'jio-cms-download'/);
|
||||
// Every lazy module shares _win.ver, so changing any runtime file must
|
||||
// invalidate the URL. Watching main.min.js alone misses rebuilt leaves.
|
||||
assert.match(scripts, /\$runtime_mtimes = array_map\(\s*'filemtime',\s*glob\(get_template_directory\(\) \. '\/assets\/js\/runtime\/\*\.js'\) \?: \[\]/);
|
||||
@@ -323,11 +323,11 @@ test('profile save uses AJAX rehydrate and a fixed-id notyf flow without query f
|
||||
const lists = read('assets/css/routes/profile/lists.css');
|
||||
const scripts = read('src/Core/ScriptsPart1b.php');
|
||||
|
||||
assert.match(profile, /function initProfileForm\(root\)[\s\S]*?aksrtProfileInitialized[\s\S]*?addEventListener\('submit'/);
|
||||
assert.match(profile, /auto_fun\.aksrt-user-center'[\s\S]*?initProfileForm\(\)/);
|
||||
assert.match(profile, /notyf\([^;]+?'load'[^;]+?'aksrt-profile-save-toast'\);/);
|
||||
assert.match(profile, /notyf\([^;]+?'success'[^;]+?'aksrt-profile-save-toast'\);/);
|
||||
assert.match(profile, /notyf\([^;]+?'danger'[^;]+?'aksrt-profile-save-toast'\);/);
|
||||
assert.match(profile, /function initProfileForm\(root\)[\s\S]*?jioProfileInitialized[\s\S]*?addEventListener\('submit'/);
|
||||
assert.match(profile, /auto_fun\.jio-user-center'[\s\S]*?initProfileForm\(\)/);
|
||||
assert.match(profile, /notyf\([^;]+?'load'[^;]+?'jio-profile-save-toast'\);/);
|
||||
assert.match(profile, /notyf\([^;]+?'success'[^;]+?'jio-profile-save-toast'\);/);
|
||||
assert.match(profile, /notyf\([^;]+?'danger'[^;]+?'jio-profile-save-toast'\);/);
|
||||
assert.match(profile, /fetch\(ajaxUrl, \{ method: 'POST', credentials: 'same-origin', body: data \}\)/);
|
||||
assert.match(scripts, /\$user_center_deps[\s\S]*?\[[^\]]*'loader_js'[^\]]*\][\s\S]*?\/assets\/js\/routes\/user-center\.js/);
|
||||
|
||||
@@ -339,28 +339,28 @@ test('settings actions use rehydrated fixed-id notyf flows', () => {
|
||||
const userCenter = read('assets/js/routes/user-center.js');
|
||||
const auth = read('assets/js/auth.js');
|
||||
const settings = read('inc/helpers/user-center-renderers/profile-settings.php');
|
||||
const context = read('inc/helpers/aksrt-user-center.php');
|
||||
const context = read('inc/helpers/jio-user-center.php');
|
||||
const page = read('templates/pages/page-profile.php');
|
||||
|
||||
assert.match(userCenter, /aksrt-settings-oauth-unbind-toast/);
|
||||
assert.doesNotMatch(userCenter, /aksrt-settings-(?:password|email|phone)-(?:code-)?toast/);
|
||||
assert.match(userCenter, /jio-settings-oauth-unbind-toast/);
|
||||
assert.doesNotMatch(userCenter, /jio-settings-(?:password|email|phone)-(?:code-)?toast/);
|
||||
|
||||
assert.match(userCenter, /notyf\([^;]+?'load'[^;]+?toastId\);/);
|
||||
assert.match(userCenter, /notyf\([^;]+?'success'[^;]+?toastId\);/);
|
||||
assert.match(userCenter, /notyf\([^;]+?'danger'[^;]+?toastId\);/);
|
||||
assert.match(userCenter, /auto_fun\.aksrt-user-center'[\s\S]*?initSettings\(\);[\s\S]*?initSettingsCallbackToast\(\);/);
|
||||
assert.match(userCenter, /auto_fun\.jio-user-center'[\s\S]*?initSettings\(\);[\s\S]*?initSettingsCallbackToast\(\);/);
|
||||
assert.doesNotMatch(userCenter, /initBindPhone\(/);
|
||||
assert.match(userCenter, /aksrtSettingsInitialized/);
|
||||
assert.match(userCenter, /jioSettingsInitialized/);
|
||||
assert.match(userCenter, /oauth_action[\s\S]*?notyf\(message, type\)[\s\S]*?history\.replaceState/);
|
||||
assert.doesNotMatch(userCenter, /oauth_unbound/);
|
||||
assert.match(auth, /\[data-identity-root\], \[data-aksrt-settings-root\]/);
|
||||
assert.match(auth, /\[data-identity-root\], \[data-jio-settings-root\]/);
|
||||
assert.doesNotMatch(auth, /\.settings-section/);
|
||||
|
||||
assert.match(userCenter, /\/user\/phone-code/);
|
||||
assert.match(userCenter, /\/user\/phone-verify/);
|
||||
const accountSettings = read('inc/helpers/user-center-renderers/settings-account.php');
|
||||
assert.match(accountSettings, /data-aksrt-sms-scene="verify_old_phone"/);
|
||||
assert.match(accountSettings, /data-aksrt-sms-scene="bind_new_phone"/);
|
||||
assert.match(accountSettings, /data-jio-sms-scene="verify_old_phone"/);
|
||||
assert.match(accountSettings, /data-jio-sms-scene="bind_new_phone"/);
|
||||
|
||||
assert.match(settings, /require \$dir \. '\/settings-account\.php';/);
|
||||
assert.doesNotMatch(context, /account_modals_html|'account-modals'/);
|
||||
@@ -376,31 +376,31 @@ test('front submit actions use direct fixed-id notyf flows', () => {
|
||||
const page = read('templates/pages/page-submit.php');
|
||||
|
||||
[
|
||||
'aksrt-front-submit-draft-toast',
|
||||
'aksrt-front-submit-publish-toast',
|
||||
'aksrt-front-submit-delete-draft-toast',
|
||||
'aksrt-front-submit-resource-upload-toast',
|
||||
'aksrt-front-submit-editor-media-toast',
|
||||
'jio-front-submit-draft-toast',
|
||||
'jio-front-submit-publish-toast',
|
||||
'jio-front-submit-delete-draft-toast',
|
||||
'jio-front-submit-resource-upload-toast',
|
||||
'jio-front-submit-editor-media-toast',
|
||||
].forEach((id) => assert.match(source, new RegExp("['\"]" + id + "['\"]")));
|
||||
|
||||
assert.match(submit, /submit: function[\s\S]*?notyf\([^;]+?'load'[^;]+?toastId[\s\S]*?notyf\([^;]+?'success'[^;]+?toastId[\s\S]*?notyf\([^;]+?'danger'[^;]+?toastId/);
|
||||
assert.match(submit, /bindDraftDelete: function[\s\S]*?'aksrt-front-submit-delete-draft-toast'[\s\S]*?'load'[\s\S]*?'success'[\s\S]*?'danger'/);
|
||||
assert.match(submit, /bindDraftDelete: function[\s\S]*?'jio-front-submit-delete-draft-toast'[\s\S]*?'load'[\s\S]*?'success'[\s\S]*?'danger'/);
|
||||
|
||||
// 封面(单图/多图共用 image 入口、视频封面、视频)选择统一走
|
||||
// AksrtSubmitMedia 选择器,上传中的 load/success/danger 通知由选择器
|
||||
// JioSubmitMedia 选择器,上传中的 load/success/danger 通知由选择器
|
||||
// 以固定 id 独立承载;幻灯片动作已并入 image 多选,无独立分支。
|
||||
['image', 'video_pic', 'video'].forEach((type) => {
|
||||
assert.match(submit, new RegExp("act === '" + type + "'[\\s\\S]{0,400}?self\\.openMediaPicker\\("));
|
||||
});
|
||||
assert.match(editor, /var toastId = 'aksrt-front-submit-editor-media-toast';/);
|
||||
assert.match(editor, /var toastId = 'jio-front-submit-editor-media-toast';/);
|
||||
assert.match(editor, /notify\([^;]+?'load'[^;]+?toastId\);[\s\S]*?notify\([^;]+?'success'[^;]+?toastId\);[\s\S]*?notify\([^;]+?'danger'[^;]+?toastId\);/);
|
||||
|
||||
// 付费下载附件选择后仅补一条成功确认,上传过程通知属于选择器。
|
||||
assert.match(downloads, /AksrtSubmitMedia\.open\([\s\S]*?'success', 5, 'aksrt-front-submit-resource-upload-toast'/);
|
||||
assert.match(editor, /aksrt-front-submit-editor-media-toast[\s\S]*?'load'[\s\S]*?'success'[\s\S]*?'danger'/);
|
||||
assert.match(downloads, /JioSubmitMedia\.open\([\s\S]*?'success', 5, 'jio-front-submit-resource-upload-toast'/);
|
||||
assert.match(editor, /jio-front-submit-editor-media-toast[\s\S]*?'load'[\s\S]*?'success'[\s\S]*?'danger'/);
|
||||
assert.doesNotMatch(submit, /\b(?:window\.)?alert\s*\(/);
|
||||
|
||||
assert.match(page, /'aksrt-front-submit',[\s\S]*?'\/assets\/js\/front-submit\.js',[\s\S]*?\[[^\]]*'loader_js'[^\]]*\]/);
|
||||
assert.match(page, /'jio-front-submit',[\s\S]*?'\/assets\/js\/front-submit\.js',[\s\S]*?\[[^\]]*'loader_js'[^\]]*\]/);
|
||||
});
|
||||
|
||||
test('legacy frontend toast APIs and selectors are fully removed', () => {
|
||||
@@ -412,7 +412,7 @@ test('legacy frontend toast APIs and selectors are fully removed', () => {
|
||||
'page.php',
|
||||
'templates/pages/page-profile.php',
|
||||
];
|
||||
const legacy = /AksrtToast|aksrtToast|aksrtShowToast|aksrt\.(?:toast|notyf)|showToast|toast-container|toast-item|aksrt-toast/;
|
||||
const legacy = /JioToast|jioToast|jioShowToast|jio\.(?:toast|notyf)|showToast|toast-container|toast-item|jio-toast/;
|
||||
|
||||
function sourceFiles(target) {
|
||||
const absolute = path.join(root, target);
|
||||
|
||||
Reference in new issue
Block a user