@alwatr/exit-hook 1.1.6 → 1.1.7

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 CHANGED
@@ -3,6 +3,13 @@
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
+ ## [1.1.7](https://github.com/Alwatr/nanolib/compare/@alwatr/exit-hook@1.1.6...@alwatr/exit-hook@1.1.7) (2024-10-25)
7
+
8
+ ### Dependencies update
9
+
10
+ * bump the development-dependencies group across 1 directory with 2 updates ([2dfda9e](https://github.com/Alwatr/nanolib/commit/2dfda9ec38a595f1fd961490d1a2fbf060f20a66)) by @dependabot[bot]
11
+ * bump the development-dependencies group with 8 updates ([16847ac](https://github.com/Alwatr/nanolib/commit/16847acba91da027c422e3910d0f2dcc1f084e93)) by @dependabot[bot]
12
+
6
13
  ## [1.1.6](https://github.com/Alwatr/nanolib/compare/@alwatr/exit-hook@1.1.5...@alwatr/exit-hook@1.1.6) (2024-10-12)
7
14
 
8
15
  **Note:** Version bump only for package @alwatr/exit-hook
@@ -11,26 +18,26 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
11
18
 
12
19
  ### Code Refactoring
13
20
 
14
- * **exit-hook:** dosen't use `dedupe` anymore ([e6c3ce9](https://github.com/Alwatr/nanolib/commit/e6c3ce91be0a42d5d1f857eca824a200eacc911c)) by @mohammadhonarvar
15
- * prevent side-effects ([01e00e1](https://github.com/Alwatr/nanolib/commit/01e00e191385cc92b28677df0c01a085916ae677)) by @mohammadhonarvar
21
+ - **exit-hook:** dosen't use `dedupe` anymore ([e6c3ce9](https://github.com/Alwatr/nanolib/commit/e6c3ce91be0a42d5d1f857eca824a200eacc911c)) by @mohammadhonarvar
22
+ - prevent side-effects ([01e00e1](https://github.com/Alwatr/nanolib/commit/01e00e191385cc92b28677df0c01a085916ae677)) by @mohammadhonarvar
16
23
 
17
24
  ## [1.1.4](https://github.com/Alwatr/nanolib/compare/@alwatr/exit-hook@1.1.3...@alwatr/exit-hook@1.1.4) (2024-10-11)
18
25
 
19
26
  ### Miscellaneous Chores
20
27
 
21
- * include LICENSE and LEGAL files to publish ([09f366f](https://github.com/Alwatr/nanolib/commit/09f366f680bfa9fb26acb2cd1ccbc68c5a9e9ad8)) by @AliMD
28
+ - include LICENSE and LEGAL files to publish ([09f366f](https://github.com/Alwatr/nanolib/commit/09f366f680bfa9fb26acb2cd1ccbc68c5a9e9ad8)) by @AliMD
22
29
 
23
30
  ## [1.1.3](https://github.com/Alwatr/nanolib/compare/@alwatr/exit-hook@1.1.2...@alwatr/exit-hook@1.1.3) (2024-10-11)
24
31
 
25
32
  ### Bug Fixes
26
33
 
27
- * **exit-hook:** Refactor exitHook function to prevent automatically register process exit events ([32d7e29](https://github.com/Alwatr/nanolib/commit/32d7e29dcd89dd4b7dc1a57da391ba8e70f5021d)) by @AliMD
34
+ - **exit-hook:** Refactor exitHook function to prevent automatically register process exit events ([32d7e29](https://github.com/Alwatr/nanolib/commit/32d7e29dcd89dd4b7dc1a57da391ba8e70f5021d)) by @AliMD
28
35
 
29
36
  ## [1.1.2](https://github.com/Alwatr/nanolib/compare/@alwatr/exit-hook@1.1.1...@alwatr/exit-hook@1.1.2) (2024-10-10)
30
37
 
31
38
  ### Dependencies update
32
39
 
33
- * bump the development-dependencies group with 10 updates ([fa4aaf0](https://github.com/Alwatr/nanolib/commit/fa4aaf04c907ecae06aa14000ce35216170c15ad)) by @dependabot[bot]
40
+ - bump the development-dependencies group with 10 updates ([fa4aaf0](https://github.com/Alwatr/nanolib/commit/fa4aaf04c907ecae06aa14000ce35216170c15ad)) by @dependabot[bot]
34
41
 
35
42
  ## [1.1.1](https://github.com/Alwatr/nanolib/compare/@alwatr/exit-hook@1.1.0...@alwatr/exit-hook@1.1.1) (2024-10-08)
36
43
 
@@ -40,24 +47,24 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
40
47
 
41
48
  ### Features
42
49
 
43
- * use `package-tracer` ([cc3c5f9](https://github.com/Alwatr/nanolib/commit/cc3c5f9c1a3d03f0d81b46835665f16a0426fd0d)) by @mohammadhonarvar
50
+ - use `package-tracer` ([cc3c5f9](https://github.com/Alwatr/nanolib/commit/cc3c5f9c1a3d03f0d81b46835665f16a0426fd0d)) by @mohammadhonarvar
44
51
 
45
52
  ### Bug Fixes
46
53
 
47
- * all dependeny topology ([1c17f34](https://github.com/Alwatr/nanolib/commit/1c17f349adf3e98e2a80ab2da4f0f81028dc9c5f)) by @mohammadhonarvar
54
+ - all dependeny topology ([1c17f34](https://github.com/Alwatr/nanolib/commit/1c17f349adf3e98e2a80ab2da4f0f81028dc9c5f)) by @mohammadhonarvar
48
55
 
49
56
  ### Code Refactoring
50
57
 
51
- * **exit-hook:** use new dedupe api ([185aced](https://github.com/Alwatr/nanolib/commit/185aced6566ba986062fbc0d936fb8090430f681)) by @AliMD
58
+ - **exit-hook:** use new dedupe api ([185aced](https://github.com/Alwatr/nanolib/commit/185aced6566ba986062fbc0d936fb8090430f681)) by @AliMD
52
59
 
53
60
  ### Miscellaneous Chores
54
61
 
55
- * **exit-hook:** change the license to AGPL-3.0 ([74e89a1](https://github.com/Alwatr/nanolib/commit/74e89a18044831c225649494734d284bb95d4629)) by @ArmanAsadian
56
- * Update build and lint scripts ([392d0b7](https://github.com/Alwatr/nanolib/commit/392d0b71f446bce336b0256119a80f07aff794ba)) by @AliMD
62
+ - **exit-hook:** change the license to AGPL-3.0 ([74e89a1](https://github.com/Alwatr/nanolib/commit/74e89a18044831c225649494734d284bb95d4629)) by @ArmanAsadian
63
+ - Update build and lint scripts ([392d0b7](https://github.com/Alwatr/nanolib/commit/392d0b71f446bce336b0256119a80f07aff794ba)) by @AliMD
57
64
 
58
65
  ### Dependencies update
59
66
 
60
- * bump @types/node ([3d80fed](https://github.com/Alwatr/nanolib/commit/3d80fedaf720af792feb060c2f81c737ebb84e11)) by @dependabot[bot]
67
+ - bump @types/node ([3d80fed](https://github.com/Alwatr/nanolib/commit/3d80fedaf720af792feb060c2f81c737ebb84e11)) by @dependabot[bot]
61
68
 
62
69
  ## [1.0.16](https://github.com/Alwatr/nanolib/compare/@alwatr/exit-hook@1.0.15...@alwatr/exit-hook@1.0.16) (2024-09-21)
63
70
 
@@ -67,49 +74,49 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
67
74
 
68
75
  ### Dependencies update
69
76
 
70
- * bump the development-dependencies group across 1 directory with 10 updates ([9ed98ff](https://github.com/Alwatr/nanolib/commit/9ed98ffd0668d5a36e255c82edab3af53bffda8f)) by @dependabot[bot]
71
- * update ([c36ed50](https://github.com/Alwatr/nanolib/commit/c36ed50f68da2f5608ccd96119963a16cfacb4ce)) by @AliMD
77
+ - bump the development-dependencies group across 1 directory with 10 updates ([9ed98ff](https://github.com/Alwatr/nanolib/commit/9ed98ffd0668d5a36e255c82edab3af53bffda8f)) by @dependabot[bot]
78
+ - update ([c36ed50](https://github.com/Alwatr/nanolib/commit/c36ed50f68da2f5608ccd96119963a16cfacb4ce)) by @AliMD
72
79
 
73
80
  ## [1.0.14](https://github.com/Alwatr/nanolib/compare/@alwatr/exit-hook@1.0.13...@alwatr/exit-hook@1.0.14) (2024-08-31)
74
81
 
75
82
  ### Miscellaneous Chores
76
83
 
77
- * Update package.json exports for [@alwatr](https://github.com/alwatr) packages ([dacb362](https://github.com/Alwatr/nanolib/commit/dacb362b145e3c51b4aba00ff643687a3fac11d2)) by @
84
+ - Update package.json exports for [@alwatr](https://github.com/alwatr) packages ([dacb362](https://github.com/Alwatr/nanolib/commit/dacb362b145e3c51b4aba00ff643687a3fac11d2)) by @
78
85
 
79
86
  ## [1.0.13](https://github.com/Alwatr/nanolib/compare/@alwatr/exit-hook@1.0.12...@alwatr/exit-hook@1.0.13) (2024-08-31)
80
87
 
81
88
  ### Bug Fixes
82
89
 
83
- * **exit-hook:** define package using @alwatr/dedupe to prevent duplicates ([e16638c](https://github.com/Alwatr/nanolib/commit/e16638cb69639f1c7c1316d72db8032fef617d00)) by @AliMD
90
+ - **exit-hook:** define package using @alwatr/dedupe to prevent duplicates ([e16638c](https://github.com/Alwatr/nanolib/commit/e16638cb69639f1c7c1316d72db8032fef617d00)) by @AliMD
84
91
 
85
92
  ## [1.0.12](https://github.com/Alwatr/nanolib/compare/@alwatr/exit-hook@1.0.11...@alwatr/exit-hook@1.0.12) (2024-08-31)
86
93
 
87
94
  ### Dependencies update
88
95
 
89
- * update all dependencies ([1e0c30e](https://github.com/Alwatr/nanolib/commit/1e0c30e6a3a8e19deb5185814e24ab6c08dca573)) by @AliMD
96
+ - update all dependencies ([1e0c30e](https://github.com/Alwatr/nanolib/commit/1e0c30e6a3a8e19deb5185814e24ab6c08dca573)) by @AliMD
90
97
 
91
98
  ## [1.0.11](https://github.com/Alwatr/nanolib/compare/@alwatr/exit-hook@1.0.10...@alwatr/exit-hook@1.0.11) (2024-07-04)
92
99
 
93
100
  ### Dependencies update
94
101
 
95
- * update all dependencies ([0e908b4](https://github.com/Alwatr/nanolib/commit/0e908b476a6b976ec2447f864c8cafcbb8a0f099)) by @
102
+ - update all dependencies ([0e908b4](https://github.com/Alwatr/nanolib/commit/0e908b476a6b976ec2447f864c8cafcbb8a0f099)) by @
96
103
 
97
104
  ## [1.0.10](https://github.com/Alwatr/nanolib/compare/@alwatr/exit-hook@1.0.9...@alwatr/exit-hook@1.0.10) (2024-05-12)
98
105
 
99
106
  ### Bug Fixes
100
107
 
101
- * **exit-hook:** show error properly and safe exit on SIGTERM ([b0a27b8](https://github.com/Alwatr/nanolib/commit/b0a27b8c89945069c98637269f976b5e9f3618c0)) by @AliMD
108
+ - **exit-hook:** show error properly and safe exit on SIGTERM ([b0a27b8](https://github.com/Alwatr/nanolib/commit/b0a27b8c89945069c98637269f976b5e9f3618c0)) by @AliMD
102
109
 
103
110
  ### Dependencies update
104
111
 
105
- * upgrade ([6dbd300](https://github.com/Alwatr/nanolib/commit/6dbd300642c9bcc9e7d0b281e244bf1b06eb1c38)) by @AliMD
112
+ - upgrade ([6dbd300](https://github.com/Alwatr/nanolib/commit/6dbd300642c9bcc9e7d0b281e244bf1b06eb1c38)) by @AliMD
106
113
 
107
114
  ## [1.0.9](https://github.com/Alwatr/nanolib/compare/@alwatr/exit-hook@1.0.8...@alwatr/exit-hook@1.0.9) (2024-04-25)
108
115
 
109
116
  ### Bug Fixes
110
117
 
111
- * **exit-hook:** disable beforeExit event and get exit signal from process.exitCode ([2dbed18](https://github.com/Alwatr/nanolib/commit/2dbed18455ab252f686c7af58b9c5bf39f818f0d)) by @njfamirm
112
- * **exit-hook:** exit after listener called ([70c9f62](https://github.com/Alwatr/nanolib/commit/70c9f624899f87bb417f189792144aa05fca99ba)) by @njfamirm
118
+ - **exit-hook:** disable beforeExit event and get exit signal from process.exitCode ([2dbed18](https://github.com/Alwatr/nanolib/commit/2dbed18455ab252f686c7af58b9c5bf39f818f0d)) by @njfamirm
119
+ - **exit-hook:** exit after listener called ([70c9f62](https://github.com/Alwatr/nanolib/commit/70c9f624899f87bb417f189792144aa05fca99ba)) by @njfamirm
113
120
 
114
121
  ## [1.0.8](https://github.com/Alwatr/nanolib/compare/@alwatr/exit-hook@1.0.7...@alwatr/exit-hook@1.0.8) (2024-03-28)
115
122
 
@@ -119,7 +126,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
119
126
 
120
127
  ### Miscellaneous Chores
121
128
 
122
- * **deps:** update ([1a45030](https://github.com/Alwatr/nanolib/commit/1a450305440b710a300787d4ca24b1ed8c6a39d7)) by @AliMD
129
+ - **deps:** update ([1a45030](https://github.com/Alwatr/nanolib/commit/1a450305440b710a300787d4ca24b1ed8c6a39d7)) by @AliMD
123
130
 
124
131
  ## [1.0.6](https://github.com/Alwatr/nanolib/compare/@alwatr/exit-hook@1.0.5...@alwatr/exit-hook@1.0.6) (2024-01-24)
125
132
 
package/dist/main.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /* @alwatr/exit-hook v1.1.6 */
1
+ /* @alwatr/exit-hook v1.1.7 */
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", "1.1.6");
28
+ __dev_mode__: import_package_tracer.packageTracer.add("@alwatr/exit-hook", "1.1.7");
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 v1.1.6 */
1
+ /* @alwatr/exit-hook v1.1.7 */
2
2
 
3
3
  // src/main.ts
4
4
  import { packageTracer } from "@alwatr/package-tracer";
5
- __dev_mode__: packageTracer.add("@alwatr/exit-hook", "1.1.6");
5
+ __dev_mode__: packageTracer.add("@alwatr/exit-hook", "1.1.7");
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": "1.1.6",
3
+ "version": "1.1.7",
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": "^1.0.6"
69
+ "@alwatr/package-tracer": "^1.0.7"
70
70
  },
71
71
  "devDependencies": {
72
- "@alwatr/nano-build": "^2.0.2",
72
+ "@alwatr/nano-build": "^2.0.3",
73
73
  "@alwatr/prettier-config": "^1.0.6",
74
- "@alwatr/tsconfig-base": "^1.3.2",
75
- "@types/node": "^22.7.5",
74
+ "@alwatr/tsconfig-base": "^1.3.3",
75
+ "@types/node": "^22.8.0",
76
76
  "typescript": "^5.6.3"
77
77
  },
78
- "gitHead": "15d12342d2e69fbb6129675cce620132c5bd0bfc"
78
+ "gitHead": "a1e430a02f9a5711fc43f19012091bcd8806c4f9"
79
79
  }