mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2026-04-11 20:33:16 +08:00
feat: 订阅支持输出哪吒探针兼容响应; 清理输出数据; 增加内部数据字段
This commit is contained in:
@@ -153,7 +153,7 @@ export default function Clash_Producer() {
|
||||
delete proxy.id;
|
||||
delete proxy.resolved;
|
||||
for (const key in proxy) {
|
||||
if (proxy[key] == null) {
|
||||
if (proxy[key] == null || /^_/i.test(key)) {
|
||||
delete proxy[key];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -168,7 +168,7 @@ export default function ClashMeta_Producer() {
|
||||
delete proxy.id;
|
||||
delete proxy.resolved;
|
||||
for (const key in proxy) {
|
||||
if (proxy[key] == null) {
|
||||
if (proxy[key] == null || /^_/i.test(key)) {
|
||||
delete proxy[key];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -171,7 +171,7 @@ export default function ShadowRocket_Producer() {
|
||||
delete proxy.id;
|
||||
delete proxy.resolved;
|
||||
for (const key in proxy) {
|
||||
if (proxy[key] == null) {
|
||||
if (proxy[key] == null || /^_/i.test(key)) {
|
||||
delete proxy[key];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -260,7 +260,7 @@ export default function Stash_Producer() {
|
||||
delete proxy.id;
|
||||
delete proxy.resolved;
|
||||
for (const key in proxy) {
|
||||
if (proxy[key] == null) {
|
||||
if (proxy[key] == null || /^_/i.test(key)) {
|
||||
delete proxy[key];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ export default function URI_Producer() {
|
||||
delete proxy.id;
|
||||
delete proxy.resolved;
|
||||
for (const key in proxy) {
|
||||
if (proxy[key] == null) {
|
||||
if (proxy[key] == null || /^_/i.test(key)) {
|
||||
delete proxy[key];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user