@satorijs/core
Advanced tools
+5
-1
@@ -867,3 +867,7 @@ "use strict"; | ||
| try { | ||
| let result = bot.internal[params.name](...args); | ||
| let root = bot.internal; | ||
| for (const part of params.name.split(".")) { | ||
| root = root[part]; | ||
| } | ||
| let result = root(...args); | ||
| if (headers["satori-pagination"]) { | ||
@@ -870,0 +874,0 @@ if (!result?.[Symbol.for("satori.pagination")]) { |
+5
-1
@@ -817,3 +817,7 @@ var __defProp = Object.defineProperty; | ||
| try { | ||
| let result = bot.internal[params.name](...args); | ||
| let root = bot.internal; | ||
| for (const part of params.name.split(".")) { | ||
| root = root[part]; | ||
| } | ||
| let result = root(...args); | ||
| if (headers["satori-pagination"]) { | ||
@@ -820,0 +824,0 @@ if (!result?.[Symbol.for("satori.pagination")]) { |
+1
-1
| { | ||
| "name": "@satorijs/core", | ||
| "description": "Core components of Satorijs", | ||
| "version": "4.5.1", | ||
| "version": "4.5.2", | ||
| "type": "module", | ||
@@ -6,0 +6,0 @@ "main": "lib/index.cjs", |
+5
-1
@@ -208,3 +208,7 @@ import { Context, Logger, Service, z } from 'cordis' | ||
| try { | ||
| let result = bot.internal[params.name](...args) | ||
| let root = bot.internal | ||
| for (const part of params.name.split('.')) { | ||
| root = root[part] | ||
| } | ||
| let result = root(...args) | ||
| if (headers['satori-pagination']) { | ||
@@ -211,0 +215,0 @@ if (!result?.[Symbol.for('satori.pagination')]) { |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
110064
0.28%3150
0.38%