@alwatr/exit-hook 5.5.4 → 5.5.6

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/README.md CHANGED
@@ -28,6 +28,4 @@ The following companies, organizations, and individuals support Nanolib ongoing
28
28
 
29
29
  Contributions are welcome! Please read our [contribution guidelines](https://github.com/Alwatr/.github/blob/next/CONTRIBUTING.md) before submitting a pull request.
30
30
 
31
- ### License
32
31
 
33
- This project is licensed under the [AGPL-3.0 License](LICENSE).
package/dist/main.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /* @alwatr/exit-hook v5.5.4 */
1
+ /* @alwatr/exit-hook v5.5.6 */
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.5.4");
28
+ __dev_mode__: import_package_tracer.packageTracer.add("@alwatr/exit-hook", "5.5.6");
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.5.4 */
1
+ /* @alwatr/exit-hook v5.5.6 */
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.4");
5
+ __dev_mode__: packageTracer.add("@alwatr/exit-hook", "5.5.6");
6
6
  var callbacks = null;
7
7
  var exiting = false;
8
8
  function exitHook(callback) {
package/package.json CHANGED
@@ -1,30 +1,19 @@
1
1
  {
2
2
  "name": "@alwatr/exit-hook",
3
- "version": "5.5.4",
4
3
  "description": "A utility for registering exit handlers in Node.js.",
4
+ "version": "5.5.6",
5
5
  "author": "S. Ali Mihandoost <ali.mihandoost@gmail.com>",
6
- "keywords": [
7
- "exit-hook",
8
- "hook",
9
- "exit",
10
- "cross-platform",
11
- "ECMAScript",
12
- "typescript",
13
- "javascript",
14
- "node",
15
- "nodejs",
16
- "esm",
17
- "module",
18
- "utility",
19
- "util",
20
- "utils",
21
- "nanolib",
22
- "alwatr"
23
- ],
24
- "type": "module",
25
- "main": "./dist/main.cjs",
26
- "module": "./dist/main.mjs",
27
- "types": "./dist/main.d.ts",
6
+ "bugs": "https://github.com/Alwatr/nanolib/issues",
7
+ "dependencies": {
8
+ "@alwatr/package-tracer": "5.5.6"
9
+ },
10
+ "devDependencies": {
11
+ "@alwatr/nano-build": "6.0.1",
12
+ "@alwatr/prettier-config": "5.0.2",
13
+ "@alwatr/tsconfig-base": "5.0.2",
14
+ "@types/node": "^22.17.2",
15
+ "typescript": "^5.9.2"
16
+ },
28
17
  "exports": {
29
18
  ".": {
30
19
  "types": "./dist/main.d.ts",
@@ -32,12 +21,34 @@
32
21
  "require": "./dist/main.cjs"
33
22
  }
34
23
  },
35
- "license": "AGPL-3.0-only",
36
24
  "files": [
37
25
  "**/*.{js,mjs,cjs,map,d.ts,html,md,LEGAL.txt}",
38
26
  "LICENSE",
39
27
  "!demo/**/*"
40
28
  ],
29
+ "homepage": "https://github.com/Alwatr/nanolib/tree/next/packages/exit-hook#readme",
30
+ "keywords": [
31
+ "alwatr",
32
+ "cross-platform",
33
+ "ECMAScript",
34
+ "esm",
35
+ "exit",
36
+ "exit-hook",
37
+ "hook",
38
+ "javascript",
39
+ "module",
40
+ "nanolib",
41
+ "node",
42
+ "nodejs",
43
+ "typescript",
44
+ "util",
45
+ "utility",
46
+ "utils"
47
+ ],
48
+ "license": "MPL-2.0",
49
+ "main": "./dist/main.cjs",
50
+ "module": "./dist/main.mjs",
51
+ "prettier": "@alwatr/prettier-config",
41
52
  "publishConfig": {
42
53
  "access": "public"
43
54
  },
@@ -46,34 +57,21 @@
46
57
  "url": "https://github.com/Alwatr/nanolib",
47
58
  "directory": "packages/exit-hook"
48
59
  },
49
- "homepage": "https://github.com/Alwatr/nanolib/tree/next/packages/exit-hook#readme",
50
- "bugs": {
51
- "url": "https://github.com/Alwatr/nanolib/issues"
52
- },
53
- "prettier": "@alwatr/prettier-config",
54
60
  "scripts": {
55
61
  "b": "yarn run build",
56
- "w": "yarn run watch",
57
- "c": "yarn run clean",
58
- "cb": "yarn run clean && yarn run build",
59
- "d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings",
60
62
  "build": "yarn run build:ts && yarn run build:es",
61
63
  "build:es": "nano-build --preset=module",
62
64
  "build:ts": "tsc --build",
65
+ "c": "yarn run clean",
66
+ "cb": "yarn run clean && yarn run build",
67
+ "clean": "rm -rfv dist *.tsbuildinfo",
68
+ "d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings",
69
+ "w": "yarn run watch",
63
70
  "watch": "yarn run watch:ts & yarn run watch:es",
64
71
  "watch:es": "yarn run build:es --watch",
65
- "watch:ts": "yarn run build:ts --watch --preserveWatchOutput",
66
- "clean": "rm -rfv dist *.tsbuildinfo"
67
- },
68
- "dependencies": {
69
- "@alwatr/package-tracer": "5.5.4"
72
+ "watch:ts": "yarn run build:ts --watch --preserveWatchOutput"
70
73
  },
71
- "devDependencies": {
72
- "@alwatr/nano-build": "5.5.4",
73
- "@alwatr/prettier-config": "5.0.0",
74
- "@alwatr/tsconfig-base": "5.0.0",
75
- "@types/node": "^22.14.1",
76
- "typescript": "^5.8.3"
77
- },
78
- "gitHead": "dd749e0b9adecdefa8e906669858c014b53bdab0"
74
+ "type": "module",
75
+ "types": "./dist/main.d.ts",
76
+ "gitHead": "be87ff1a4a783c0707e0b06efe728a54b5348b38"
79
77
  }