From 695a460897cb06b0041190d082c909c429566d1f Mon Sep 17 00:00:00 2001 From: BitterPanda Date: Mon, 19 Feb 2024 09:44:34 +0100 Subject: [PATCH] Revert "Minor changes" This reverts commit 05e7f9bd6a3d9ea735bd7a543db2810dc9feebcc. --- README.md | 2 +- library/src/agent/Agent.ts | 2 +- library/src/sinks/MongoDB.test.ts | 2 +- package-lock.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 89bfee70d..c273c41e3 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ See [benchmarks](benchmarks) for more information. ## Development -* `$ make install` to install dependencies (with administrator privileges on linux) +* `$ make install` to install dependencies * `$ make build` to build the library * `$ make watch` to watch for changes and rebuild the library * `$ make test` to run tests using tap diff --git a/library/src/agent/Agent.ts b/library/src/agent/Agent.ts index 20f464cea..4a14fc917 100644 --- a/library/src/agent/Agent.ts +++ b/library/src/agent/Agent.ts @@ -7,7 +7,7 @@ import { resolve } from "path"; import { Source } from "./Source"; export class Agent { - private heartbeatIntervalInMS = 60 * 60 * 1000; // 1h + private heartbeatIntervalInMS = 60 * 60 * 1000; private interval: NodeJS.Timeout | undefined = undefined; private stats: Stats = {}; private preventedPrototypePollution = false; diff --git a/library/src/sinks/MongoDB.test.ts b/library/src/sinks/MongoDB.test.ts index f4f8f546d..f5d3fe739 100644 --- a/library/src/sinks/MongoDB.test.ts +++ b/library/src/sinks/MongoDB.test.ts @@ -20,7 +20,7 @@ const context: Context = { cookies: {}, }; -t.test("we can hijack the MongoDB library", async (t) => { +t.test("we can highjack the MongoDB library", async (t) => { new MongoDB().wrap(); const agent = new Agent( diff --git a/package-lock.json b/package-lock.json index 1eb31ab53..feb02b47f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "guard-node", + "name": "node-RASP", "lockfileVersion": 3, "requires": true, "packages": {