Sha256: 12ecfc63358a43e1a242b3fd859f45d364302e865debf5c36ab440e3022421c3

Contents?: true

Size: 1.24 KB

Versions: 36

Compression:

Stored size: 1.24 KB

Contents

import constants from 'node:constants';
export const allSignals = 
// this is the full list of signals that Node will let us do anything with
Object.keys(constants).filter(k => k.startsWith('SIG') &&
    // https://github.com/tapjs/signal-exit/issues/21
    k !== 'SIGPROF' &&
    // no sense trying to listen for SIGKILL, it's impossible
    k !== 'SIGKILL');
// These are some obscure signals that are reported by kill -l
// on macOS, Linux, or Windows, but which don't have any mapping
// in Node.js. No sense trying if they're just going to throw
// every time on every platform.
//
// 'SIGEMT',
// 'SIGLOST',
// 'SIGPOLL',
// 'SIGRTMAX',
// 'SIGRTMAX-1',
// 'SIGRTMAX-10',
// 'SIGRTMAX-11',
// 'SIGRTMAX-12',
// 'SIGRTMAX-13',
// 'SIGRTMAX-14',
// 'SIGRTMAX-15',
// 'SIGRTMAX-2',
// 'SIGRTMAX-3',
// 'SIGRTMAX-4',
// 'SIGRTMAX-5',
// 'SIGRTMAX-6',
// 'SIGRTMAX-7',
// 'SIGRTMAX-8',
// 'SIGRTMAX-9',
// 'SIGRTMIN',
// 'SIGRTMIN+1',
// 'SIGRTMIN+10',
// 'SIGRTMIN+11',
// 'SIGRTMIN+12',
// 'SIGRTMIN+13',
// 'SIGRTMIN+14',
// 'SIGRTMIN+15',
// 'SIGRTMIN+16',
// 'SIGRTMIN+2',
// 'SIGRTMIN+3',
// 'SIGRTMIN+4',
// 'SIGRTMIN+5',
// 'SIGRTMIN+6',
// 'SIGRTMIN+7',
// 'SIGRTMIN+8',
// 'SIGRTMIN+9',
// 'SIGSTKFLT',
// 'SIGUNUSED',
//# sourceMappingURL=all-signals.js.map

Version data entries

36 entries across 36 versions & 2 rubygems

Version Path
rapid_stack-0.2.0 templates/frontend/node_modules/foreground-child/dist/esm/all-signals.js
rapid_stack-0.1.1 templates/FrontEnd/node_modules/foreground-child/dist/esm/all-signals.js
rapid_stack-0.1.0 templates/FrontEnd/node_modules/foreground-child/dist/esm/all-signals.js
immosquare-cleaner-0.1.60 node_modules/foreground-child/dist/mjs/all-signals.js
immosquare-cleaner-0.1.59 node_modules/foreground-child/dist/mjs/all-signals.js
immosquare-cleaner-0.1.58 node_modules/foreground-child/dist/mjs/all-signals.js
immosquare-cleaner-0.1.57 node_modules/foreground-child/dist/mjs/all-signals.js
immosquare-cleaner-0.1.56 node_modules/foreground-child/dist/mjs/all-signals.js
immosquare-cleaner-0.1.55 node_modules/foreground-child/dist/mjs/all-signals.js
immosquare-cleaner-0.1.54 node_modules/foreground-child/dist/mjs/all-signals.js
immosquare-cleaner-0.1.53 node_modules/foreground-child/dist/mjs/all-signals.js
immosquare-cleaner-0.1.52 node_modules/foreground-child/dist/mjs/all-signals.js
immosquare-cleaner-0.1.51 node_modules/foreground-child/dist/mjs/all-signals.js
immosquare-cleaner-0.1.50 node_modules/foreground-child/dist/mjs/all-signals.js
immosquare-cleaner-0.1.49 node_modules/foreground-child/dist/mjs/all-signals.js
immosquare-cleaner-0.1.48 node_modules/foreground-child/dist/mjs/all-signals.js
immosquare-cleaner-0.1.47 node_modules/foreground-child/dist/mjs/all-signals.js
immosquare-cleaner-0.1.46 node_modules/foreground-child/dist/mjs/all-signals.js
immosquare-cleaner-0.1.45 node_modules/foreground-child/dist/mjs/all-signals.js
immosquare-cleaner-0.1.44 node_modules/foreground-child/dist/mjs/all-signals.js