diff --git a/package.json b/package.json index 464118b..25cd100 100644 --- a/package.json +++ b/package.json @@ -37,17 +37,15 @@ }, "dependencies": { "7zip-bin": "^5.0.3", - "@types/jimp": "^0.2.28", "glob": "^7.1.6", - "jaz-signals": "^0.3.0", "jaz-ts-utils": "^1.0.0", "jimp": "^0.16.1", "luaparse": "^0.3.1", "node-7z": "^2.1.2", - "node-stream-zip": "^1.13.0", - "typescript": "^4.1.3" + "node-stream-zip": "^1.13.0" }, "devDependencies": { + "@types/jimp": "^0.2.28", "@types/eslint": "^7.2.5", "@types/glob": "^7.1.3", "@types/jest": "^26.0.20", @@ -60,6 +58,7 @@ "eslint-plugin-unused-imports": "^1.0.0", "jest": "^26.6.3", "ts-jest": "^26.4.4", + "typescript": "^4.1.3", "ts-node": "^9.1.1" } } diff --git a/src/map-parser.ts b/src/map-parser.ts index 97ccac1..032c3e6 100644 --- a/src/map-parser.ts +++ b/src/map-parser.ts @@ -119,6 +119,8 @@ export class MapParser { scriptName = archive.smfName; } + sigintBinding.removeAllListeners(); + return { fileName: filePath.name, fileNameWithExt: filePath.base,