@alwatr/exit-hook 5.4.0 → 5.5.1
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 +27 -11
- package/dist/main.cjs +2 -2
- package/dist/main.mjs +2 -2
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
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.1](https://github.com/Alwatr/nanolib/compare/@alwatr/exit-hook@5.5.0...@alwatr/exit-hook@5.5.1) (2025-03-18)
|
|
7
|
+
|
|
8
|
+
### Dependencies update
|
|
9
|
+
|
|
10
|
+
* bump the development-dependencies group with 9 updates ([7290aa3](https://github.com/Alwatr/nanolib/commit/7290aa3b52ce66ca237d2a12d28a7687b113f83d)) by @dependabot[bot]
|
|
11
|
+
|
|
12
|
+
## [5.5.0](https://github.com/Alwatr/nanolib/compare/@alwatr/exit-hook@5.4.0...@alwatr/exit-hook@5.5.0) (2025-03-06)
|
|
13
|
+
|
|
14
|
+
### Miscellaneous Chores
|
|
15
|
+
|
|
16
|
+
* update username casing in changelog entries ([9722ac9](https://github.com/Alwatr/nanolib/commit/9722ac9a078438a4e8ebfa5826ea70e0e3a52ca6)) by @
|
|
17
|
+
|
|
18
|
+
### Dependencies update
|
|
19
|
+
|
|
20
|
+
* bump the development-dependencies group across 1 directory with 11 updates ([720c395](https://github.com/Alwatr/nanolib/commit/720c3954da55c929fe8fb16957121f4c51fb7f0c)) by @dependabot[bot]
|
|
21
|
+
|
|
6
22
|
## [5.4.0](https://github.com/Alwatr/nanolib/compare/@alwatr/exit-hook@1.1.8...@alwatr/exit-hook@5.4.0) (2025-02-18)
|
|
7
23
|
|
|
8
24
|
### Dependencies update
|
|
@@ -103,7 +119,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
103
119
|
|
|
104
120
|
### Dependencies update
|
|
105
121
|
|
|
106
|
-
* update ([4434ba6](https://github.com/Alwatr/nanolib/commit/4434ba67c3f576bb1a0c307fbdb263c43cd9733a)) by @
|
|
122
|
+
* update ([4434ba6](https://github.com/Alwatr/nanolib/commit/4434ba67c3f576bb1a0c307fbdb263c43cd9733a)) by @alimd
|
|
107
123
|
|
|
108
124
|
## [1.1.7](https://github.com/Alwatr/nanolib/compare/@alwatr/exit-hook@1.1.6...@alwatr/exit-hook@1.1.7) (2024-10-25)
|
|
109
125
|
|
|
@@ -127,13 +143,13 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
127
143
|
|
|
128
144
|
### Miscellaneous Chores
|
|
129
145
|
|
|
130
|
-
- include LICENSE and LEGAL files to publish ([09f366f](https://github.com/Alwatr/nanolib/commit/09f366f680bfa9fb26acb2cd1ccbc68c5a9e9ad8)) by @
|
|
146
|
+
- include LICENSE and LEGAL files to publish ([09f366f](https://github.com/Alwatr/nanolib/commit/09f366f680bfa9fb26acb2cd1ccbc68c5a9e9ad8)) by @alimd
|
|
131
147
|
|
|
132
148
|
## [1.1.3](https://github.com/Alwatr/nanolib/compare/@alwatr/exit-hook@1.1.2...@alwatr/exit-hook@1.1.3) (2024-10-11)
|
|
133
149
|
|
|
134
150
|
### Bug Fixes
|
|
135
151
|
|
|
136
|
-
- **exit-hook:** Refactor exitHook function to prevent automatically register process exit events ([32d7e29](https://github.com/Alwatr/nanolib/commit/32d7e29dcd89dd4b7dc1a57da391ba8e70f5021d)) by @
|
|
152
|
+
- **exit-hook:** Refactor exitHook function to prevent automatically register process exit events ([32d7e29](https://github.com/Alwatr/nanolib/commit/32d7e29dcd89dd4b7dc1a57da391ba8e70f5021d)) by @alimd
|
|
137
153
|
|
|
138
154
|
## [1.1.2](https://github.com/Alwatr/nanolib/compare/@alwatr/exit-hook@1.1.1...@alwatr/exit-hook@1.1.2) (2024-10-10)
|
|
139
155
|
|
|
@@ -157,12 +173,12 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
157
173
|
|
|
158
174
|
### Code Refactoring
|
|
159
175
|
|
|
160
|
-
- **exit-hook:** use new dedupe api ([185aced](https://github.com/Alwatr/nanolib/commit/185aced6566ba986062fbc0d936fb8090430f681)) by @
|
|
176
|
+
- **exit-hook:** use new dedupe api ([185aced](https://github.com/Alwatr/nanolib/commit/185aced6566ba986062fbc0d936fb8090430f681)) by @alimd
|
|
161
177
|
|
|
162
178
|
### Miscellaneous Chores
|
|
163
179
|
|
|
164
180
|
- **exit-hook:** change the license to AGPL-3.0 ([74e89a1](https://github.com/Alwatr/nanolib/commit/74e89a18044831c225649494734d284bb95d4629)) by @ArmanAsadian
|
|
165
|
-
- Update build and lint scripts ([392d0b7](https://github.com/Alwatr/nanolib/commit/392d0b71f446bce336b0256119a80f07aff794ba)) by @
|
|
181
|
+
- Update build and lint scripts ([392d0b7](https://github.com/Alwatr/nanolib/commit/392d0b71f446bce336b0256119a80f07aff794ba)) by @alimd
|
|
166
182
|
|
|
167
183
|
### Dependencies update
|
|
168
184
|
|
|
@@ -177,7 +193,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
177
193
|
### Dependencies update
|
|
178
194
|
|
|
179
195
|
- bump the development-dependencies group across 1 directory with 10 updates ([9ed98ff](https://github.com/Alwatr/nanolib/commit/9ed98ffd0668d5a36e255c82edab3af53bffda8f)) by @dependabot[bot]
|
|
180
|
-
- update ([c36ed50](https://github.com/Alwatr/nanolib/commit/c36ed50f68da2f5608ccd96119963a16cfacb4ce)) by @
|
|
196
|
+
- update ([c36ed50](https://github.com/Alwatr/nanolib/commit/c36ed50f68da2f5608ccd96119963a16cfacb4ce)) by @alimd
|
|
181
197
|
|
|
182
198
|
## [1.0.14](https://github.com/Alwatr/nanolib/compare/@alwatr/exit-hook@1.0.13...@alwatr/exit-hook@1.0.14) (2024-08-31)
|
|
183
199
|
|
|
@@ -189,13 +205,13 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
189
205
|
|
|
190
206
|
### Bug Fixes
|
|
191
207
|
|
|
192
|
-
- **exit-hook:** define package using @alwatr/dedupe to prevent duplicates ([e16638c](https://github.com/Alwatr/nanolib/commit/e16638cb69639f1c7c1316d72db8032fef617d00)) by @
|
|
208
|
+
- **exit-hook:** define package using @alwatr/dedupe to prevent duplicates ([e16638c](https://github.com/Alwatr/nanolib/commit/e16638cb69639f1c7c1316d72db8032fef617d00)) by @alimd
|
|
193
209
|
|
|
194
210
|
## [1.0.12](https://github.com/Alwatr/nanolib/compare/@alwatr/exit-hook@1.0.11...@alwatr/exit-hook@1.0.12) (2024-08-31)
|
|
195
211
|
|
|
196
212
|
### Dependencies update
|
|
197
213
|
|
|
198
|
-
- update all dependencies ([1e0c30e](https://github.com/Alwatr/nanolib/commit/1e0c30e6a3a8e19deb5185814e24ab6c08dca573)) by @
|
|
214
|
+
- update all dependencies ([1e0c30e](https://github.com/Alwatr/nanolib/commit/1e0c30e6a3a8e19deb5185814e24ab6c08dca573)) by @alimd
|
|
199
215
|
|
|
200
216
|
## [1.0.11](https://github.com/Alwatr/nanolib/compare/@alwatr/exit-hook@1.0.10...@alwatr/exit-hook@1.0.11) (2024-07-04)
|
|
201
217
|
|
|
@@ -207,11 +223,11 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
207
223
|
|
|
208
224
|
### Bug Fixes
|
|
209
225
|
|
|
210
|
-
- **exit-hook:** show error properly and safe exit on SIGTERM ([b0a27b8](https://github.com/Alwatr/nanolib/commit/b0a27b8c89945069c98637269f976b5e9f3618c0)) by @
|
|
226
|
+
- **exit-hook:** show error properly and safe exit on SIGTERM ([b0a27b8](https://github.com/Alwatr/nanolib/commit/b0a27b8c89945069c98637269f976b5e9f3618c0)) by @alimd
|
|
211
227
|
|
|
212
228
|
### Dependencies update
|
|
213
229
|
|
|
214
|
-
- upgrade ([6dbd300](https://github.com/Alwatr/nanolib/commit/6dbd300642c9bcc9e7d0b281e244bf1b06eb1c38)) by @
|
|
230
|
+
- upgrade ([6dbd300](https://github.com/Alwatr/nanolib/commit/6dbd300642c9bcc9e7d0b281e244bf1b06eb1c38)) by @alimd
|
|
215
231
|
|
|
216
232
|
## [1.0.9](https://github.com/Alwatr/nanolib/compare/@alwatr/exit-hook@1.0.8...@alwatr/exit-hook@1.0.9) (2024-04-25)
|
|
217
233
|
|
|
@@ -228,7 +244,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
228
244
|
|
|
229
245
|
### Miscellaneous Chores
|
|
230
246
|
|
|
231
|
-
- **deps:** update ([1a45030](https://github.com/Alwatr/nanolib/commit/1a450305440b710a300787d4ca24b1ed8c6a39d7)) by @
|
|
247
|
+
- **deps:** update ([1a45030](https://github.com/Alwatr/nanolib/commit/1a450305440b710a300787d4ca24b1ed8c6a39d7)) by @alimd
|
|
232
248
|
|
|
233
249
|
## [1.0.6](https://github.com/Alwatr/nanolib/compare/@alwatr/exit-hook@1.0.5...@alwatr/exit-hook@1.0.6) (2024-01-24)
|
|
234
250
|
|
package/dist/main.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @alwatr/exit-hook v5.
|
|
1
|
+
/* @alwatr/exit-hook v5.5.1 */
|
|
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.1");
|
|
29
29
|
var callbacks = null;
|
|
30
30
|
var exiting = false;
|
|
31
31
|
function exitHook(callback) {
|
package/dist/main.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/* @alwatr/exit-hook v5.
|
|
1
|
+
/* @alwatr/exit-hook v5.5.1 */
|
|
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.1");
|
|
6
6
|
var callbacks = null;
|
|
7
7
|
var exiting = false;
|
|
8
8
|
function exitHook(callback) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alwatr/exit-hook",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.5.1",
|
|
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.1"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
|
-
"@alwatr/nano-build": "^5.
|
|
72
|
+
"@alwatr/nano-build": "^5.5.1",
|
|
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.10",
|
|
76
|
+
"typescript": "^5.8.2"
|
|
77
77
|
},
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "21cb1fe0f26a580944d9e72a313fc99308cd8be7"
|
|
79
79
|
}
|