From 53261c1dfa8b1fa594ae99dd85caba9b7ba6756e Mon Sep 17 00:00:00 2001 From: Matt Moretti Date: Fri, 17 May 2024 21:32:39 -0400 Subject: [PATCH] Remove heapdump Having build errors and it's unused --- app.js | 2 -- package-lock.json | 27 ++++----------------------- package.json | 1 - 3 files changed, 4 insertions(+), 26 deletions(-) diff --git a/app.js b/app.js index d0bf2b5..c43c356 100644 --- a/app.js +++ b/app.js @@ -36,8 +36,6 @@ loadConfig(); module.exports.config = config; -//require('heapdump'); - logger.info('Backend service is starting up...'); process.on('uncaughtException', function (err) { diff --git a/package-lock.json b/package-lock.json index 363bbd3..ed24433 100644 --- a/package-lock.json +++ b/package-lock.json @@ -29,7 +29,6 @@ "express-form": "0.12.6", "express-session": "^1.17.1", "firebase-messaging": "^1.0.6", - "heapdump": "0.3.15", "ioredis": "^4.28.5", "less-middleware": "3.1.0", "luxon": "^1.28.1", @@ -5883,18 +5882,6 @@ "he": "bin/he" } }, - "node_modules/heapdump": { - "version": "0.3.15", - "resolved": "https://registry.npmjs.org/heapdump/-/heapdump-0.3.15.tgz", - "integrity": "sha512-n8aSFscI9r3gfhOcAECAtXFaQ1uy4QSke6bnaL+iymYZ/dWs9cqDqHM+rALfsHUwukUbxsdlECZ0pKmJdQ/4OA==", - "hasInstallScript": true, - "dependencies": { - "nan": "^2.13.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/homedir-polyfill": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz", @@ -8859,7 +8846,8 @@ "node_modules/nan": { "version": "2.14.2", "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.2.tgz", - "integrity": "sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ==" + "integrity": "sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ==", + "optional": true }, "node_modules/nanoid": { "version": "3.3.3", @@ -18502,14 +18490,6 @@ "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==" }, - "heapdump": { - "version": "0.3.15", - "resolved": "https://registry.npmjs.org/heapdump/-/heapdump-0.3.15.tgz", - "integrity": "sha512-n8aSFscI9r3gfhOcAECAtXFaQ1uy4QSke6bnaL+iymYZ/dWs9cqDqHM+rALfsHUwukUbxsdlECZ0pKmJdQ/4OA==", - "requires": { - "nan": "^2.13.2" - } - }, "homedir-polyfill": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz", @@ -20734,7 +20714,8 @@ "nan": { "version": "2.14.2", "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.2.tgz", - "integrity": "sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ==" + "integrity": "sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ==", + "optional": true }, "nanoid": { "version": "3.3.3", diff --git a/package.json b/package.json index 22812ae..6dd8cdd 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,6 @@ "express-form": "0.12.6", "express-session": "^1.17.1", "firebase-messaging": "^1.0.6", - "heapdump": "0.3.15", "ioredis": "^4.28.5", "less-middleware": "3.1.0", "luxon": "^1.28.1",