Skip to content

Commit

Permalink
Merge branch 'main' into primsa
Browse files Browse the repository at this point in the history
  • Loading branch information
timokoessler committed Dec 18, 2024
2 parents a8f910b + 2bb2e37 commit 512413c
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 109 deletions.
2 changes: 0 additions & 2 deletions library/agent/protect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ import { Fastify } from "../sources/Fastify";
import { Koa } from "../sources/Koa";
import { ClickHouse } from "../sinks/ClickHouse";
import { Prisma } from "../sinks/Prisma";
import { Eval } from "../sinks/Eval";
import { Function } from "../sinks/Function";

function getLogger(): Logger {
Expand Down Expand Up @@ -140,7 +139,6 @@ export function getWrappers() {
new Koa(),
new ClickHouse(),
new Prisma(),
new Eval(),
new Function(),
];
}
Expand Down
4 changes: 2 additions & 2 deletions library/helpers/ip-matcher/performance.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -810,6 +810,6 @@ t.test("test performance in comparison to node:net.blocklist", async (t) => {

const percentageDiff = ((blockListMs - ipMatcherMs) / ipMatcherMs) * 100;

// Expect the IPMatcher to be at least 100% faster than the BlockList
t.same(percentageDiff > 100, true);
// Expect the IPMatcher to be faster than the BlockList
t.same(percentageDiff > 25, true);
});
75 changes: 0 additions & 75 deletions library/sinks/Eval.test.ts

This file was deleted.

30 changes: 0 additions & 30 deletions library/sinks/Eval.ts

This file was deleted.

0 comments on commit 512413c

Please sign in to comment.