From 4179b2c277f51c2a39992b6d61b65ff0fc7f81a7 Mon Sep 17 00:00:00 2001 From: Stepan Mikhailiuk Date: Tue, 9 Jan 2024 01:09:15 -0800 Subject: [PATCH 1/2] fix(*): remove segfault-handler --- index.js | 4 ---- package.json | 5 ++--- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/index.js b/index.js index c9ee041..f0952cb 100644 --- a/index.js +++ b/index.js @@ -22,10 +22,6 @@ const beamcoder = require('bindings')('beamcoder'); const beamstreams = require('./beamstreams.js'); -// Provide useful debug on segfault-related crash -const SegfaultHandler = require('segfault-handler'); -SegfaultHandler.registerHandler('crash.log'); - const splash = `Aerostat Beam Coder Copyright (C) 2019 Streampunk Media Ltd GPL v3.0 or later license. This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it diff --git a/package.json b/package.json index 1441821..9520a60 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lumen5/beamcoder", - "version": "0.0.2", + "version": "0.0.3", "description": "Node.js native bindings to FFmpeg.", "main": "index.js", "types": "index.d.ts", @@ -34,8 +34,7 @@ }, "homepage": "https://github.com/Streampunk/beamcoder#readme", "dependencies": { - "bindings": "^1.5.0", - "segfault-handler": "^1.3.0" + "bindings": "^1.5.0" }, "devDependencies": { "eslint": "^8.9.0", From 22fcde886454a51009bfe9fc79ebd2815275abca Mon Sep 17 00:00:00 2001 From: Stepan Mikhailiuk Date: Tue, 9 Jan 2024 01:13:02 -0800 Subject: [PATCH 2/2] fix(*): update yarn.lock --- yarn.lock | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/yarn.lock b/yarn.lock index fef5cb7..2bb1d7a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -176,7 +176,7 @@ balanced-match@^1.0.0: resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== -bindings@^1.2.1, bindings@^1.5.0: +bindings@^1.5.0: version "1.5.0" resolved "https://registry.yarnpkg.com/bindings/-/bindings-1.5.0.tgz#10353c9e945334bc0511a6d90b38fbc7c9c504df" integrity sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ== @@ -964,11 +964,6 @@ ms@2.1.2: resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== -nan@^2.14.0: - version "2.18.0" - resolved "https://registry.yarnpkg.com/nan/-/nan-2.18.0.tgz#26a6faae7ffbeb293a39660e88a76b82e30b7554" - integrity sha512-W7tfG7vMOGtD30sHoZSSc/JVYiyDPEyQVso/Zz+/uQd0B0L46gtC+pHha5FFMRpil6fm/AoEcRWyOVi4+E/f8w== - natural-compare@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" @@ -1138,14 +1133,6 @@ safe-regex-test@^1.0.0: get-intrinsic "^1.1.3" is-regex "^1.1.4" -segfault-handler@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/segfault-handler/-/segfault-handler-1.3.0.tgz#054bc847832fa14f218ba6a79e42877501c8870e" - integrity sha512-p7kVHo+4uoYkr0jmIiTBthwV5L2qmWtben/KDunDZ834mbos+tY+iO0//HpAJpOFSQZZ+wxKWuRo4DxV02B7Lg== - dependencies: - bindings "^1.2.1" - nan "^2.14.0" - set-function-length@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/set-function-length/-/set-function-length-1.1.1.tgz#4bc39fafb0307224a33e106a7d35ca1218d659ed"