@idlebox/node 1.4.10 → 1.4.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/autoindex.d.ts +85 -76
- package/lib/autoindex.d.ts.map +1 -1
- package/lib/autoindex.js +76 -65
- package/lib/autoindex.js.map +1 -1
- package/lib/lifecycle/internal-errors.d.ts +23 -0
- package/lib/lifecycle/internal-errors.d.ts.map +1 -0
- package/lib/lifecycle/internal-errors.js +60 -0
- package/lib/lifecycle/internal-errors.js.map +1 -0
- package/lib/lifecycle/register.d.ts +7 -0
- package/lib/lifecycle/register.d.ts.map +1 -1
- package/lib/lifecycle/register.js +116 -38
- package/lib/lifecycle/register.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +9 -9
- package/src/autoindex.ts +124 -113
- package/src/lifecycle/internal-errors.ts +66 -0
- package/src/lifecycle/register.ts +122 -40
- package/lib/autoindex.generated.d.ts +0 -80
- package/lib/autoindex.generated.d.ts.map +0 -1
- package/lib/autoindex.generated.js +0 -132
- package/lib/autoindex.generated.js.map +0 -1
- package/src/autoindex.generated.ts +0 -159
|
@@ -1,62 +1,138 @@
|
|
|
1
|
-
|
|
1
|
+
/** biome-ignore-all lint/suspicious/noDebugger: debug file */
|
|
2
|
+
import { AppExit, ensureDisposeGlobal, ensureGlobalObject, prettyPrintError } from '@idlebox/common';
|
|
3
|
+
import assert from 'node:assert';
|
|
2
4
|
import { createRequire, syncBuiltinESMExports } from 'node:module';
|
|
5
|
+
import { basename } from 'node:path';
|
|
3
6
|
import process from 'node:process';
|
|
7
|
+
import { Exit, InterruptError, UncaughtException, UnhandledRejection } from './internal-errors.js';
|
|
4
8
|
const originalExit = process.exit;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
9
|
+
const prefix = process.stderr.isTTY ? '' : `<${title()} ${process.pid}> `;
|
|
10
|
+
const hasInspect = process.argv.some((arg) => arg.startsWith('--inspect=') || arg.startsWith('--inspect-brk=') || arg === '--inspect' || arg === '--inspect-brk');
|
|
11
|
+
let abnormalExitCode = 1;
|
|
12
|
+
export function setAbnormalExitCode(code) {
|
|
13
|
+
if (code < 1) {
|
|
14
|
+
throw new TypeError(`abnormal exit code must be greater than 0, got ${code}`);
|
|
8
15
|
}
|
|
16
|
+
abnormalExitCode = code;
|
|
9
17
|
}
|
|
10
|
-
|
|
18
|
+
function title() {
|
|
19
|
+
if (process.title && process.title !== 'node') {
|
|
20
|
+
return process.title;
|
|
21
|
+
}
|
|
22
|
+
return basename(process.argv[1] || '') || 'node';
|
|
23
|
+
}
|
|
24
|
+
function getCurrentCode() {
|
|
25
|
+
return typeof process.exitCode === 'string' ? parseInt(process.exitCode) : process.exitCode || 0;
|
|
26
|
+
}
|
|
27
|
+
let shuttingDown = false;
|
|
11
28
|
export function shutdown(exitCode) {
|
|
12
|
-
|
|
29
|
+
if (hasInspect)
|
|
30
|
+
debugger;
|
|
13
31
|
if (exitCode) {
|
|
14
32
|
process.exitCode = exitCode;
|
|
15
33
|
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
34
|
+
if (!shuttingDown) {
|
|
35
|
+
shuttingDown = true;
|
|
36
|
+
ensureDisposeGlobal().finally(() => {
|
|
37
|
+
originalExit(getCurrentCode());
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
throw new Exit(getCurrentCode());
|
|
41
|
+
}
|
|
42
|
+
const typed_error_handlers = new WeakMap();
|
|
43
|
+
const inherit_error_handlers = new Map();
|
|
44
|
+
export function registerNodejsGlobalTypedErrorHandlerWithInheritance(ErrorCls, fn) {
|
|
45
|
+
if (typed_error_handlers.has(ErrorCls)) {
|
|
46
|
+
throw new ErrorCls(`conflict register of error type ${ErrorCls.name}`);
|
|
47
|
+
}
|
|
48
|
+
assert.notEqual(ErrorCls, Error, 'cannot register basic Error type');
|
|
49
|
+
inherit_error_handlers.set(ErrorCls, fn);
|
|
50
|
+
}
|
|
51
|
+
export function registerNodejsGlobalTypedErrorHandler(ErrorCls, fn) {
|
|
52
|
+
if (typed_error_handlers.has(ErrorCls)) {
|
|
53
|
+
throw new ErrorCls(`conflict register of error type ${ErrorCls.name}`);
|
|
54
|
+
}
|
|
55
|
+
assert.notEqual(ErrorCls, Error, 'cannot register basic Error type');
|
|
56
|
+
typed_error_handlers.set(ErrorCls, fn);
|
|
57
|
+
}
|
|
58
|
+
function callErrorHandler(e) {
|
|
59
|
+
if (!(e instanceof Error)) {
|
|
60
|
+
prettyPrintError(`${prefix}catch unexpect object`, new Error(`error object is ${typeof e} ${e ? e.constructor?.name : 'unknown'}`));
|
|
61
|
+
throw originalExit(abnormalExitCode);
|
|
62
|
+
}
|
|
63
|
+
try {
|
|
64
|
+
const catcher = typed_error_handlers.get(e.constructor);
|
|
65
|
+
if (catcher) {
|
|
66
|
+
catcher(e);
|
|
67
|
+
return;
|
|
68
|
+
}
|
|
69
|
+
for (const [Cls, fn] of inherit_error_handlers) {
|
|
70
|
+
if (e instanceof Cls) {
|
|
71
|
+
fn(e);
|
|
72
|
+
return;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
catch (ee) {
|
|
77
|
+
prettyPrintError(`${prefix}error while handle error`, {
|
|
78
|
+
message: ee.message,
|
|
79
|
+
stack: ee.stack,
|
|
80
|
+
cause: e,
|
|
81
|
+
});
|
|
82
|
+
return;
|
|
83
|
+
}
|
|
84
|
+
if (e instanceof InterruptError) {
|
|
85
|
+
if (shuttingDown) {
|
|
86
|
+
console.error(`${prefix}Exiting immediately.`);
|
|
87
|
+
originalExit(1);
|
|
88
|
+
}
|
|
89
|
+
shutdown(0);
|
|
90
|
+
}
|
|
91
|
+
if (e instanceof AppExit) {
|
|
92
|
+
ensureDisposeGlobal().finally(() => {
|
|
93
|
+
originalExit(getCurrentCode());
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
if (e instanceof UncaughtException) {
|
|
97
|
+
if (e.cause instanceof Error) {
|
|
98
|
+
prettyPrintError(`${prefix}Unhandled Rejection`, e.cause);
|
|
99
|
+
}
|
|
100
|
+
else {
|
|
101
|
+
console.error(`${prefix}Unhandled Rejection / error type unknown:`, e.cause);
|
|
102
|
+
}
|
|
103
|
+
shutdown(abnormalExitCode);
|
|
104
|
+
}
|
|
105
|
+
if (e instanceof UncaughtException) {
|
|
106
|
+
prettyPrintError(`${prefix}Uncaught Exception`, e.cause);
|
|
107
|
+
shutdown(abnormalExitCode);
|
|
19
108
|
}
|
|
20
|
-
ensureDisposeGlobal().finally(() => {
|
|
21
|
-
originalExit(process.exitCode);
|
|
22
|
-
});
|
|
23
|
-
throw new Exit(code);
|
|
24
109
|
}
|
|
25
|
-
const exitHandler = Symbol('exithandler/registed');
|
|
26
110
|
/**
|
|
27
111
|
* 注册nodejs退出处理器
|
|
28
112
|
*/
|
|
29
113
|
export function registerNodejsExitHandler() {
|
|
30
|
-
|
|
114
|
+
ensureGlobalObject('exithandler/register', _real_register);
|
|
31
115
|
}
|
|
32
116
|
function _real_register() {
|
|
33
117
|
process.on('SIGINT', () => {
|
|
34
|
-
console.
|
|
35
|
-
|
|
36
|
-
console.error('Exiting immediately.');
|
|
37
|
-
originalExit(1);
|
|
38
|
-
}
|
|
39
|
-
shutdown(0);
|
|
118
|
+
console.error(`\n${prefix}Received SIGINT. Exiting gracefully...`);
|
|
119
|
+
callErrorHandler(new InterruptError('SIGINT'));
|
|
40
120
|
});
|
|
41
121
|
process.on('SIGTERM', () => {
|
|
42
|
-
console.
|
|
43
|
-
|
|
122
|
+
console.error(`${prefix}Received SIGTERM. Exiting gracefully...`);
|
|
123
|
+
callErrorHandler(new InterruptError('SIGTERM'));
|
|
44
124
|
});
|
|
45
125
|
process.on('beforeExit', (code) => {
|
|
46
|
-
|
|
126
|
+
// empty handler prevent real exit
|
|
47
127
|
shutdown(code);
|
|
48
128
|
});
|
|
49
|
-
process.on('unhandledRejection', (reason,
|
|
50
|
-
if (reason instanceof
|
|
51
|
-
|
|
52
|
-
return;
|
|
53
|
-
}
|
|
54
|
-
prettyPrintError('Unhandled Rejection', reason);
|
|
55
|
-
}
|
|
56
|
-
else {
|
|
57
|
-
console.error('Unhandled Rejection / error type unknown:', reason);
|
|
129
|
+
process.on('unhandledRejection', (reason, promise) => {
|
|
130
|
+
if (reason instanceof AppExit) {
|
|
131
|
+
return;
|
|
58
132
|
}
|
|
59
|
-
|
|
133
|
+
if (hasInspect)
|
|
134
|
+
debugger;
|
|
135
|
+
callErrorHandler(new UnhandledRejection(reason, promise));
|
|
60
136
|
});
|
|
61
137
|
const processMdl = createRequire(import.meta.url)('node:process');
|
|
62
138
|
processMdl.exit = shutdown;
|
|
@@ -65,12 +141,13 @@ function _real_register() {
|
|
|
65
141
|
if (error instanceof AppExit) {
|
|
66
142
|
return;
|
|
67
143
|
}
|
|
68
|
-
|
|
69
|
-
|
|
144
|
+
if (hasInspect)
|
|
145
|
+
debugger;
|
|
146
|
+
callErrorHandler(new UncaughtException(error));
|
|
70
147
|
}
|
|
71
148
|
if (process.hasUncaughtExceptionCaptureCallback()) {
|
|
72
149
|
process.on('uncaughtException', uncaughtException);
|
|
73
|
-
throw new Error(
|
|
150
|
+
throw new Error(`${prefix} [uncaught exception capture] callback already registered by other module`);
|
|
74
151
|
}
|
|
75
152
|
process.setUncaughtExceptionCaptureCallback(uncaughtException);
|
|
76
153
|
return true;
|
|
@@ -79,7 +156,8 @@ function _real_register() {
|
|
|
79
156
|
* @deprecated 仅用于测试
|
|
80
157
|
*/
|
|
81
158
|
export function die(message) {
|
|
82
|
-
|
|
159
|
+
debugger;
|
|
160
|
+
console.error(`${prefix}DIE!`, message);
|
|
83
161
|
shutdown(1);
|
|
84
162
|
}
|
|
85
163
|
//# sourceMappingURL=register.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register.js","sourceRoot":"","sources":["../../src/lifecycle/register.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,mBAAmB,EAAE,
|
|
1
|
+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