@alwatr/exit-hook 5.3.0 → 5.5.0
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/CHANGELOG.md +48 -11
- package/dist/main.cjs +2 -3
- package/dist/main.mjs +2 -3
- package/package.json +6 -6
- package/dist/main.cjs.LEGAL.txt +0 -0
- package/dist/main.mjs.LEGAL.txt +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,43 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [5.5.0](https://github.com/Alwatr/nanolib/compare/@alwatr/exit-hook@5.4.0...@alwatr/exit-hook@5.5.0) (2025-03-06)
|
|
7
|
+
|
|
8
|
+
### Miscellaneous Chores
|
|
9
|
+
|
|
10
|
+
* update username casing in changelog entries ([9722ac9](https://github.com/Alwatr/nanolib/commit/9722ac9a078438a4e8ebfa5826ea70e0e3a52ca6)) by @
|
|
11
|
+
|
|
12
|
+
### Dependencies update
|
|
13
|
+
|
|
14
|
+
* bump the development-dependencies group across 1 directory with 11 updates ([720c395](https://github.com/Alwatr/nanolib/commit/720c3954da55c929fe8fb16957121f4c51fb7f0c)) by @dependabot[bot]
|
|
15
|
+
|
|
16
|
+
## [5.4.0](https://github.com/Alwatr/nanolib/compare/@alwatr/exit-hook@1.1.8...@alwatr/exit-hook@5.4.0) (2025-02-18)
|
|
17
|
+
|
|
18
|
+
### Dependencies update
|
|
19
|
+
|
|
20
|
+
* bump @types/node from ^22.13.0 to ^22.13.4 and prettier from 3.4.2 to 3.5.1; update eslint-import-resolver-typescript to 3.8.2 ([b9a8399](https://github.com/Alwatr/nanolib/commit/b9a8399add39509e90bfdc589fb5e2321718029d)) by @
|
|
21
|
+
|
|
22
|
+
## 5.3.0 (2025-02-03)
|
|
23
|
+
|
|
24
|
+
### Miscellaneous Chores
|
|
25
|
+
|
|
26
|
+
* edit README ([3860b3d](https://github.com/Alwatr/nanolib/commit/3860b3df48ab82dc479d5236c2e8579df614aabf)) by @
|
|
27
|
+
|
|
28
|
+
### Dependencies update
|
|
29
|
+
|
|
30
|
+
* bump the development-dependencies group across 1 directory with 11 updates ([cb79d07](https://github.com/Alwatr/nanolib/commit/cb79d072a57c79e1c01abff1a293d6757bb65350)) by @
|
|
31
|
+
* update typescript and @types/node to version 5.7.3 and 22.13.0 respectively across multiple packages ([ddab05b](https://github.com/Alwatr/nanolib/commit/ddab05b5d767c30191f36a065e4bc88744e8e3fe)) by @
|
|
32
|
+
|
|
33
|
+
## 5.0.0 (2024-11-02)
|
|
34
|
+
|
|
35
|
+
### ⚠ BREAKING CHANGES
|
|
36
|
+
|
|
37
|
+
* To simplify version management and ensure consistency, all nanolib packages now use the same version as @alwatr/nanolib. This may require updates to your project's dependencies.
|
|
38
|
+
|
|
39
|
+
### Code Refactoring
|
|
40
|
+
|
|
41
|
+
* use the same version as @alwatr/nanolib ([60eb860](https://github.com/Alwatr/nanolib/commit/60eb860a0e33dfffe2d1d95e63ce54c60876be06)) by @
|
|
42
|
+
|
|
6
43
|
## [5.3.0](https://github.com/Alwatr/nanolib/compare/v5.2.1...v5.3.0) (2025-02-03)
|
|
7
44
|
|
|
8
45
|
### Miscellaneous Chores
|
|
@@ -76,7 +113,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
76
113
|
|
|
77
114
|
### Dependencies update
|
|
78
115
|
|
|
79
|
-
* update ([4434ba6](https://github.com/Alwatr/nanolib/commit/4434ba67c3f576bb1a0c307fbdb263c43cd9733a)) by @
|
|
116
|
+
* update ([4434ba6](https://github.com/Alwatr/nanolib/commit/4434ba67c3f576bb1a0c307fbdb263c43cd9733a)) by @alimd
|
|
80
117
|
|
|
81
118
|
## [1.1.7](https://github.com/Alwatr/nanolib/compare/@alwatr/exit-hook@1.1.6...@alwatr/exit-hook@1.1.7) (2024-10-25)
|
|
82
119
|
|
|
@@ -100,13 +137,13 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
100
137
|
|
|
101
138
|
### Miscellaneous Chores
|
|
102
139
|
|
|
103
|
-
- include LICENSE and LEGAL files to publish ([09f366f](https://github.com/Alwatr/nanolib/commit/09f366f680bfa9fb26acb2cd1ccbc68c5a9e9ad8)) by @
|
|
140
|
+
- include LICENSE and LEGAL files to publish ([09f366f](https://github.com/Alwatr/nanolib/commit/09f366f680bfa9fb26acb2cd1ccbc68c5a9e9ad8)) by @alimd
|
|
104
141
|
|
|
105
142
|
## [1.1.3](https://github.com/Alwatr/nanolib/compare/@alwatr/exit-hook@1.1.2...@alwatr/exit-hook@1.1.3) (2024-10-11)
|
|
106
143
|
|
|
107
144
|
### Bug Fixes
|
|
108
145
|
|
|
109
|
-
- **exit-hook:** Refactor exitHook function to prevent automatically register process exit events ([32d7e29](https://github.com/Alwatr/nanolib/commit/32d7e29dcd89dd4b7dc1a57da391ba8e70f5021d)) by @
|
|
146
|
+
- **exit-hook:** Refactor exitHook function to prevent automatically register process exit events ([32d7e29](https://github.com/Alwatr/nanolib/commit/32d7e29dcd89dd4b7dc1a57da391ba8e70f5021d)) by @alimd
|
|
110
147
|
|
|
111
148
|
## [1.1.2](https://github.com/Alwatr/nanolib/compare/@alwatr/exit-hook@1.1.1...@alwatr/exit-hook@1.1.2) (2024-10-10)
|
|
112
149
|
|
|
@@ -130,12 +167,12 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
130
167
|
|
|
131
168
|
### Code Refactoring
|
|
132
169
|
|
|
133
|
-
- **exit-hook:** use new dedupe api ([185aced](https://github.com/Alwatr/nanolib/commit/185aced6566ba986062fbc0d936fb8090430f681)) by @
|
|
170
|
+
- **exit-hook:** use new dedupe api ([185aced](https://github.com/Alwatr/nanolib/commit/185aced6566ba986062fbc0d936fb8090430f681)) by @alimd
|
|
134
171
|
|
|
135
172
|
### Miscellaneous Chores
|
|
136
173
|
|
|
137
174
|
- **exit-hook:** change the license to AGPL-3.0 ([74e89a1](https://github.com/Alwatr/nanolib/commit/74e89a18044831c225649494734d284bb95d4629)) by @ArmanAsadian
|
|
138
|
-
- Update build and lint scripts ([392d0b7](https://github.com/Alwatr/nanolib/commit/392d0b71f446bce336b0256119a80f07aff794ba)) by @
|
|
175
|
+
- Update build and lint scripts ([392d0b7](https://github.com/Alwatr/nanolib/commit/392d0b71f446bce336b0256119a80f07aff794ba)) by @alimd
|
|
139
176
|
|
|
140
177
|
### Dependencies update
|
|
141
178
|
|
|
@@ -150,7 +187,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
150
187
|
### Dependencies update
|
|
151
188
|
|
|
152
189
|
- bump the development-dependencies group across 1 directory with 10 updates ([9ed98ff](https://github.com/Alwatr/nanolib/commit/9ed98ffd0668d5a36e255c82edab3af53bffda8f)) by @dependabot[bot]
|
|
153
|
-
- update ([c36ed50](https://github.com/Alwatr/nanolib/commit/c36ed50f68da2f5608ccd96119963a16cfacb4ce)) by @
|
|
190
|
+
- update ([c36ed50](https://github.com/Alwatr/nanolib/commit/c36ed50f68da2f5608ccd96119963a16cfacb4ce)) by @alimd
|
|
154
191
|
|
|
155
192
|
## [1.0.14](https://github.com/Alwatr/nanolib/compare/@alwatr/exit-hook@1.0.13...@alwatr/exit-hook@1.0.14) (2024-08-31)
|
|
156
193
|
|
|
@@ -162,13 +199,13 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
162
199
|
|
|
163
200
|
### Bug Fixes
|
|
164
201
|
|
|
165
|
-
- **exit-hook:** define package using @alwatr/dedupe to prevent duplicates ([e16638c](https://github.com/Alwatr/nanolib/commit/e16638cb69639f1c7c1316d72db8032fef617d00)) by @
|
|
202
|
+
- **exit-hook:** define package using @alwatr/dedupe to prevent duplicates ([e16638c](https://github.com/Alwatr/nanolib/commit/e16638cb69639f1c7c1316d72db8032fef617d00)) by @alimd
|
|
166
203
|
|
|
167
204
|
## [1.0.12](https://github.com/Alwatr/nanolib/compare/@alwatr/exit-hook@1.0.11...@alwatr/exit-hook@1.0.12) (2024-08-31)
|
|
168
205
|
|
|
169
206
|
### Dependencies update
|
|
170
207
|
|
|
171
|
-
- update all dependencies ([1e0c30e](https://github.com/Alwatr/nanolib/commit/1e0c30e6a3a8e19deb5185814e24ab6c08dca573)) by @
|
|
208
|
+
- update all dependencies ([1e0c30e](https://github.com/Alwatr/nanolib/commit/1e0c30e6a3a8e19deb5185814e24ab6c08dca573)) by @alimd
|
|
172
209
|
|
|
173
210
|
## [1.0.11](https://github.com/Alwatr/nanolib/compare/@alwatr/exit-hook@1.0.10...@alwatr/exit-hook@1.0.11) (2024-07-04)
|
|
174
211
|
|
|
@@ -180,11 +217,11 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
180
217
|
|
|
181
218
|
### Bug Fixes
|
|
182
219
|
|
|
183
|
-
- **exit-hook:** show error properly and safe exit on SIGTERM ([b0a27b8](https://github.com/Alwatr/nanolib/commit/b0a27b8c89945069c98637269f976b5e9f3618c0)) by @
|
|
220
|
+
- **exit-hook:** show error properly and safe exit on SIGTERM ([b0a27b8](https://github.com/Alwatr/nanolib/commit/b0a27b8c89945069c98637269f976b5e9f3618c0)) by @alimd
|
|
184
221
|
|
|
185
222
|
### Dependencies update
|
|
186
223
|
|
|
187
|
-
- upgrade ([6dbd300](https://github.com/Alwatr/nanolib/commit/6dbd300642c9bcc9e7d0b281e244bf1b06eb1c38)) by @
|
|
224
|
+
- upgrade ([6dbd300](https://github.com/Alwatr/nanolib/commit/6dbd300642c9bcc9e7d0b281e244bf1b06eb1c38)) by @alimd
|
|
188
225
|
|
|
189
226
|
## [1.0.9](https://github.com/Alwatr/nanolib/compare/@alwatr/exit-hook@1.0.8...@alwatr/exit-hook@1.0.9) (2024-04-25)
|
|
190
227
|
|
|
@@ -201,7 +238,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
201
238
|
|
|
202
239
|
### Miscellaneous Chores
|
|
203
240
|
|
|
204
|
-
- **deps:** update ([1a45030](https://github.com/Alwatr/nanolib/commit/1a450305440b710a300787d4ca24b1ed8c6a39d7)) by @
|
|
241
|
+
- **deps:** update ([1a45030](https://github.com/Alwatr/nanolib/commit/1a450305440b710a300787d4ca24b1ed8c6a39d7)) by @alimd
|
|
205
242
|
|
|
206
243
|
## [1.0.6](https://github.com/Alwatr/nanolib/compare/@alwatr/exit-hook@1.0.5...@alwatr/exit-hook@1.0.6) (2024-01-24)
|
|
207
244
|
|
package/dist/main.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @alwatr/exit-hook v5.
|
|
1
|
+
/* @alwatr/exit-hook v5.5.0 */
|
|
2
2
|
"use strict";
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -25,7 +25,7 @@ __export(main_exports, {
|
|
|
25
25
|
});
|
|
26
26
|
module.exports = __toCommonJS(main_exports);
|
|
27
27
|
var import_package_tracer = require("@alwatr/package-tracer");
|
|
28
|
-
__dev_mode__: import_package_tracer.packageTracer.add("@alwatr/exit-hook", "5.
|
|
28
|
+
__dev_mode__: import_package_tracer.packageTracer.add("@alwatr/exit-hook", "5.5.0");
|
|
29
29
|
var callbacks = null;
|
|
30
30
|
var exiting = false;
|
|
31
31
|
function exitHook(callback) {
|
|
@@ -61,5 +61,4 @@ function registerExitEvents() {
|
|
|
61
61
|
0 && (module.exports = {
|
|
62
62
|
exitHook
|
|
63
63
|
});
|
|
64
|
-
/*! For license information please see main.cjs.LEGAL.txt */
|
|
65
64
|
//# sourceMappingURL=main.cjs.map
|
package/dist/main.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/* @alwatr/exit-hook v5.
|
|
1
|
+
/* @alwatr/exit-hook v5.5.0 */
|
|
2
2
|
|
|
3
3
|
// src/main.ts
|
|
4
4
|
import { packageTracer } from "@alwatr/package-tracer";
|
|
5
|
-
__dev_mode__: packageTracer.add("@alwatr/exit-hook", "5.
|
|
5
|
+
__dev_mode__: packageTracer.add("@alwatr/exit-hook", "5.5.0");
|
|
6
6
|
var callbacks = null;
|
|
7
7
|
var exiting = false;
|
|
8
8
|
function exitHook(callback) {
|
|
@@ -37,5 +37,4 @@ function registerExitEvents() {
|
|
|
37
37
|
export {
|
|
38
38
|
exitHook
|
|
39
39
|
};
|
|
40
|
-
/*! For license information please see main.mjs.LEGAL.txt */
|
|
41
40
|
//# sourceMappingURL=main.mjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alwatr/exit-hook",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.5.0",
|
|
4
4
|
"description": "A utility for registering exit handlers in Node.js.",
|
|
5
5
|
"author": "S. Ali Mihandoost <ali.mihandoost@gmail.com>",
|
|
6
6
|
"keywords": [
|
|
@@ -66,14 +66,14 @@
|
|
|
66
66
|
"clean": "rm -rfv dist *.tsbuildinfo"
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"@alwatr/package-tracer": "^5.
|
|
69
|
+
"@alwatr/package-tracer": "^5.5.0"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
|
-
"@alwatr/nano-build": "^5.
|
|
72
|
+
"@alwatr/nano-build": "^5.5.0",
|
|
73
73
|
"@alwatr/prettier-config": "^5.0.0",
|
|
74
74
|
"@alwatr/tsconfig-base": "^5.0.0",
|
|
75
|
-
"@types/node": "^22.13.
|
|
76
|
-
"typescript": "^5.
|
|
75
|
+
"@types/node": "^22.13.9",
|
|
76
|
+
"typescript": "^5.8.2"
|
|
77
77
|
},
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "fdf8e6de77cca359465110a75ff18faff0649a95"
|
|
79
79
|
}
|
package/dist/main.cjs.LEGAL.txt
DELETED
|
File without changes
|
package/dist/main.mjs.LEGAL.txt
DELETED
|
File without changes
|