@damn-dev/cli 0.13.9 → 0.13.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -8173,10 +8173,13 @@ var require_skillToolDispatcher = __commonJS({
|
|
|
8173
8173
|
return { ok: false, error: safety.reason, code: safety.code };
|
|
8174
8174
|
}
|
|
8175
8175
|
let url = safety.url;
|
|
8176
|
+
const declaredParams = new Set(tool.parameters.map((p) => p.name));
|
|
8176
8177
|
if (tool.method === "GET" || tool.method === "DELETE" || tool.method === "HEAD") {
|
|
8177
8178
|
for (const [k, v] of Object.entries(req.params)) {
|
|
8178
8179
|
if (pathParamNames.has(k))
|
|
8179
8180
|
continue;
|
|
8181
|
+
if (!declaredParams.has(k))
|
|
8182
|
+
continue;
|
|
8180
8183
|
if (v === void 0 || v === null)
|
|
8181
8184
|
continue;
|
|
8182
8185
|
if (typeof v === "object")
|
|
@@ -30937,7 +30940,7 @@ var require_package = __commonJS({
|
|
|
30937
30940
|
module2.exports = {
|
|
30938
30941
|
name: "backend",
|
|
30939
30942
|
private: true,
|
|
30940
|
-
version: "0.13.
|
|
30943
|
+
version: "0.13.10",
|
|
30941
30944
|
scripts: {
|
|
30942
30945
|
dev: "tsx watch src/server.ts",
|
|
30943
30946
|
build: "tsc && rm -rf dist/resources && cp -r resources dist/resources",
|