@dotpi/tools 2.9.0 → 2.9.4

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.
Files changed (114) hide show
  1. package/dotpi-tools.js +14 -4
  2. package/dotpi_root/dist/@dotpi/avahi-monitor-module/LICENSE +28 -0
  3. package/dotpi_root/dist/@dotpi/avahi-monitor-module/package.json +3 -2
  4. package/dotpi_root/dist/@dotpi/javascript/LICENSE +28 -0
  5. package/dotpi_root/dist/@dotpi/javascript/package.json +3 -2
  6. package/dotpi_root/dist/@dotpi/module/LICENSE +28 -0
  7. package/dotpi_root/dist/@dotpi/module/package.json +4 -3
  8. package/dotpi_root/dist/@dotpi/module-module/LICENSE +28 -0
  9. package/dotpi_root/dist/@dotpi/module-module/package.json +5 -4
  10. package/package.json +6 -5
  11. package/dotpi_root/dist/@dotpi/javascript/node_modules/figures/index.d.ts +0 -279
  12. package/dotpi_root/dist/@dotpi/javascript/node_modules/figures/index.js +0 -292
  13. package/dotpi_root/dist/@dotpi/javascript/node_modules/figures/license +0 -9
  14. package/dotpi_root/dist/@dotpi/javascript/node_modules/figures/package.json +0 -49
  15. package/dotpi_root/dist/@dotpi/javascript/node_modules/figures/readme.md +0 -337
  16. package/dotpi_root/dist/@dotpi/javascript/node_modules/human-signals/LICENSE +0 -201
  17. package/dotpi_root/dist/@dotpi/javascript/node_modules/human-signals/README.md +0 -180
  18. package/dotpi_root/dist/@dotpi/javascript/node_modules/human-signals/build/src/core.js +0 -273
  19. package/dotpi_root/dist/@dotpi/javascript/node_modules/human-signals/build/src/main.d.ts +0 -206
  20. package/dotpi_root/dist/@dotpi/javascript/node_modules/human-signals/build/src/main.js +0 -70
  21. package/dotpi_root/dist/@dotpi/javascript/node_modules/human-signals/build/src/realtime.js +0 -16
  22. package/dotpi_root/dist/@dotpi/javascript/node_modules/human-signals/build/src/signals.js +0 -34
  23. package/dotpi_root/dist/@dotpi/javascript/node_modules/human-signals/package.json +0 -64
  24. package/dotpi_root/dist/@dotpi/javascript/node_modules/is-plain-obj/index.d.ts +0 -35
  25. package/dotpi_root/dist/@dotpi/javascript/node_modules/is-plain-obj/index.js +0 -8
  26. package/dotpi_root/dist/@dotpi/javascript/node_modules/is-plain-obj/license +0 -9
  27. package/dotpi_root/dist/@dotpi/javascript/node_modules/is-plain-obj/package.json +0 -41
  28. package/dotpi_root/dist/@dotpi/javascript/node_modules/is-plain-obj/readme.md +0 -58
  29. package/dotpi_root/dist/@dotpi/javascript/node_modules/is-unicode-supported/index.d.ts +0 -12
  30. package/dotpi_root/dist/@dotpi/javascript/node_modules/is-unicode-supported/index.js +0 -21
  31. package/dotpi_root/dist/@dotpi/javascript/node_modules/is-unicode-supported/license +0 -9
  32. package/dotpi_root/dist/@dotpi/javascript/node_modules/is-unicode-supported/package.json +0 -47
  33. package/dotpi_root/dist/@dotpi/javascript/node_modules/is-unicode-supported/readme.md +0 -35
  34. package/dotpi_root/dist/@dotpi/javascript/node_modules/npm-run-path/index.d.ts +0 -90
  35. package/dotpi_root/dist/@dotpi/javascript/node_modules/npm-run-path/index.js +0 -55
  36. package/dotpi_root/dist/@dotpi/javascript/node_modules/npm-run-path/license +0 -9
  37. package/dotpi_root/dist/@dotpi/javascript/node_modules/npm-run-path/package.json +0 -52
  38. package/dotpi_root/dist/@dotpi/javascript/node_modules/npm-run-path/readme.md +0 -104
  39. package/dotpi_root/dist/@dotpi/javascript/node_modules/path-key/index.d.ts +0 -31
  40. package/dotpi_root/dist/@dotpi/javascript/node_modules/path-key/index.js +0 -12
  41. package/dotpi_root/dist/@dotpi/javascript/node_modules/path-key/license +0 -9
  42. package/dotpi_root/dist/@dotpi/javascript/node_modules/path-key/package.json +0 -41
  43. package/dotpi_root/dist/@dotpi/javascript/node_modules/path-key/readme.md +0 -57
  44. package/dotpi_root/dist/@dotpi/javascript/node_modules/strip-final-newline/index.d.ts +0 -18
  45. package/dotpi_root/dist/@dotpi/javascript/node_modules/strip-final-newline/index.js +0 -26
  46. package/dotpi_root/dist/@dotpi/javascript/node_modules/strip-final-newline/license +0 -9
  47. package/dotpi_root/dist/@dotpi/javascript/node_modules/strip-final-newline/package.json +0 -49
  48. package/dotpi_root/dist/@dotpi/javascript/node_modules/strip-final-newline/readme.md +0 -34
  49. package/dotpi_root/dist/@dotpi/module/node_modules/figures/index.d.ts +0 -279
  50. package/dotpi_root/dist/@dotpi/module/node_modules/figures/index.js +0 -292
  51. package/dotpi_root/dist/@dotpi/module/node_modules/figures/license +0 -9
  52. package/dotpi_root/dist/@dotpi/module/node_modules/figures/package.json +0 -49
  53. package/dotpi_root/dist/@dotpi/module/node_modules/figures/readme.md +0 -337
  54. package/dotpi_root/dist/@dotpi/module/node_modules/globby/ignore.js +0 -109
  55. package/dotpi_root/dist/@dotpi/module/node_modules/globby/index.d.ts +0 -207
  56. package/dotpi_root/dist/@dotpi/module/node_modules/globby/index.js +0 -264
  57. package/dotpi_root/dist/@dotpi/module/node_modules/globby/license +0 -9
  58. package/dotpi_root/dist/@dotpi/module/node_modules/globby/node_modules/@sindresorhus/merge-streams/index.d.ts +0 -44
  59. package/dotpi_root/dist/@dotpi/module/node_modules/globby/node_modules/@sindresorhus/merge-streams/index.js +0 -223
  60. package/dotpi_root/dist/@dotpi/module/node_modules/globby/node_modules/@sindresorhus/merge-streams/license +0 -9
  61. package/dotpi_root/dist/@dotpi/module/node_modules/globby/node_modules/@sindresorhus/merge-streams/package.json +0 -49
  62. package/dotpi_root/dist/@dotpi/module/node_modules/globby/node_modules/@sindresorhus/merge-streams/readme.md +0 -53
  63. package/dotpi_root/dist/@dotpi/module/node_modules/globby/node_modules/unicorn-magic/default.js +0 -14
  64. package/dotpi_root/dist/@dotpi/module/node_modules/globby/node_modules/unicorn-magic/index.d.ts +0 -29
  65. package/dotpi_root/dist/@dotpi/module/node_modules/globby/node_modules/unicorn-magic/license +0 -9
  66. package/dotpi_root/dist/@dotpi/module/node_modules/globby/node_modules/unicorn-magic/node.js +0 -7
  67. package/dotpi_root/dist/@dotpi/module/node_modules/globby/node_modules/unicorn-magic/package.json +0 -49
  68. package/dotpi_root/dist/@dotpi/module/node_modules/globby/node_modules/unicorn-magic/readme.md +0 -25
  69. package/dotpi_root/dist/@dotpi/module/node_modules/globby/package.json +0 -94
  70. package/dotpi_root/dist/@dotpi/module/node_modules/globby/readme.md +0 -177
  71. package/dotpi_root/dist/@dotpi/module/node_modules/globby/utilities.js +0 -1
  72. package/dotpi_root/dist/@dotpi/module/node_modules/human-signals/LICENSE +0 -201
  73. package/dotpi_root/dist/@dotpi/module/node_modules/human-signals/README.md +0 -180
  74. package/dotpi_root/dist/@dotpi/module/node_modules/human-signals/build/src/core.js +0 -273
  75. package/dotpi_root/dist/@dotpi/module/node_modules/human-signals/build/src/main.d.ts +0 -206
  76. package/dotpi_root/dist/@dotpi/module/node_modules/human-signals/build/src/main.js +0 -70
  77. package/dotpi_root/dist/@dotpi/module/node_modules/human-signals/build/src/realtime.js +0 -16
  78. package/dotpi_root/dist/@dotpi/module/node_modules/human-signals/build/src/signals.js +0 -34
  79. package/dotpi_root/dist/@dotpi/module/node_modules/human-signals/package.json +0 -64
  80. package/dotpi_root/dist/@dotpi/module/node_modules/is-plain-obj/index.d.ts +0 -35
  81. package/dotpi_root/dist/@dotpi/module/node_modules/is-plain-obj/index.js +0 -8
  82. package/dotpi_root/dist/@dotpi/module/node_modules/is-plain-obj/license +0 -9
  83. package/dotpi_root/dist/@dotpi/module/node_modules/is-plain-obj/package.json +0 -41
  84. package/dotpi_root/dist/@dotpi/module/node_modules/is-plain-obj/readme.md +0 -58
  85. package/dotpi_root/dist/@dotpi/module/node_modules/is-unicode-supported/index.d.ts +0 -12
  86. package/dotpi_root/dist/@dotpi/module/node_modules/is-unicode-supported/index.js +0 -21
  87. package/dotpi_root/dist/@dotpi/module/node_modules/is-unicode-supported/license +0 -9
  88. package/dotpi_root/dist/@dotpi/module/node_modules/is-unicode-supported/package.json +0 -47
  89. package/dotpi_root/dist/@dotpi/module/node_modules/is-unicode-supported/readme.md +0 -35
  90. package/dotpi_root/dist/@dotpi/module/node_modules/npm-run-path/index.d.ts +0 -90
  91. package/dotpi_root/dist/@dotpi/module/node_modules/npm-run-path/index.js +0 -55
  92. package/dotpi_root/dist/@dotpi/module/node_modules/npm-run-path/license +0 -9
  93. package/dotpi_root/dist/@dotpi/module/node_modules/npm-run-path/package.json +0 -52
  94. package/dotpi_root/dist/@dotpi/module/node_modules/npm-run-path/readme.md +0 -104
  95. package/dotpi_root/dist/@dotpi/module/node_modules/path-key/index.d.ts +0 -31
  96. package/dotpi_root/dist/@dotpi/module/node_modules/path-key/index.js +0 -12
  97. package/dotpi_root/dist/@dotpi/module/node_modules/path-key/license +0 -9
  98. package/dotpi_root/dist/@dotpi/module/node_modules/path-key/package.json +0 -41
  99. package/dotpi_root/dist/@dotpi/module/node_modules/path-key/readme.md +0 -57
  100. package/dotpi_root/dist/@dotpi/module/node_modules/path-type/index.d.ts +0 -51
  101. package/dotpi_root/dist/@dotpi/module/node_modules/path-type/index.js +0 -41
  102. package/dotpi_root/dist/@dotpi/module/node_modules/path-type/license +0 -9
  103. package/dotpi_root/dist/@dotpi/module/node_modules/path-type/package.json +0 -47
  104. package/dotpi_root/dist/@dotpi/module/node_modules/path-type/readme.md +0 -74
  105. package/dotpi_root/dist/@dotpi/module/node_modules/slash/index.d.ts +0 -23
  106. package/dotpi_root/dist/@dotpi/module/node_modules/slash/index.js +0 -9
  107. package/dotpi_root/dist/@dotpi/module/node_modules/slash/license +0 -9
  108. package/dotpi_root/dist/@dotpi/module/node_modules/slash/package.json +0 -39
  109. package/dotpi_root/dist/@dotpi/module/node_modules/slash/readme.md +0 -36
  110. package/dotpi_root/dist/@dotpi/module/node_modules/strip-final-newline/index.d.ts +0 -18
  111. package/dotpi_root/dist/@dotpi/module/node_modules/strip-final-newline/index.js +0 -26
  112. package/dotpi_root/dist/@dotpi/module/node_modules/strip-final-newline/license +0 -9
  113. package/dotpi_root/dist/@dotpi/module/node_modules/strip-final-newline/package.json +0 -49
  114. package/dotpi_root/dist/@dotpi/module/node_modules/strip-final-newline/readme.md +0 -34
@@ -1,180 +0,0 @@
1
- [![Node](https://img.shields.io/badge/-Node.js-808080?logo=node.js&colorA=404040&logoColor=66cc33)](https://www.npmjs.com/package/human-signals)
2
- [![TypeScript](https://img.shields.io/badge/-Typed-808080?logo=typescript&colorA=404040&logoColor=0096ff)](/src/main.d.ts)
3
- [![Codecov](https://img.shields.io/badge/-Tested%20100%25-808080?logo=codecov&colorA=404040)](https://codecov.io/gh/ehmicky/human-signals)
4
- [![Mastodon](https://img.shields.io/badge/-Mastodon-808080.svg?logo=mastodon&colorA=404040&logoColor=9590F9)](https://fosstodon.org/@ehmicky)
5
- [![Medium](https://img.shields.io/badge/-Medium-808080.svg?logo=medium&colorA=404040)](https://medium.com/@ehmicky)
6
-
7
- Human-friendly process signals.
8
-
9
- This is a map of known process signals with some information about each signal.
10
-
11
- Unlike
12
- [`os.constants.signals`](https://nodejs.org/api/os.html#os_signal_constants)
13
- this includes:
14
-
15
- - human-friendly [descriptions](#description)
16
- - [default actions](#action), including whether they [can be prevented](#forced)
17
- - whether the signal is [supported](#supported) by the current OS
18
-
19
- # Hire me
20
-
21
- Please
22
- [reach out](https://www.linkedin.com/feed/update/urn:li:activity:7117265228068716545/)
23
- if you're looking for a Node.js API or CLI engineer (11 years of experience).
24
- Most recently I have been [Netlify Build](https://github.com/netlify/build)'s
25
- and [Netlify Plugins](https://www.netlify.com/products/build/plugins/)'
26
- technical lead for 2.5 years. I am available for full-time remote positions.
27
-
28
- # Example
29
-
30
- ```js
31
- import { signalsByName, signalsByNumber } from 'human-signals'
32
-
33
- console.log(signalsByName.SIGINT)
34
- // {
35
- // name: 'SIGINT',
36
- // number: 2,
37
- // description: 'User interruption with CTRL-C',
38
- // supported: true,
39
- // action: 'terminate',
40
- // forced: false,
41
- // standard: 'ansi'
42
- // }
43
-
44
- console.log(signalsByNumber[8])
45
- // {
46
- // name: 'SIGFPE',
47
- // number: 8,
48
- // description: 'Floating point arithmetic error',
49
- // supported: true,
50
- // action: 'core',
51
- // forced: false,
52
- // standard: 'ansi'
53
- // }
54
- ```
55
-
56
- # Install
57
-
58
- ```bash
59
- npm install human-signals
60
- ```
61
-
62
- This package works in Node.js >=18.18.0.
63
-
64
- This is an ES module. It must be loaded using
65
- [an `import` or `import()` statement](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c),
66
- not `require()`. If TypeScript is used, it must be configured to
67
- [output ES modules](https://www.typescriptlang.org/docs/handbook/esm-node.html),
68
- not CommonJS.
69
-
70
- # Usage
71
-
72
- ## signalsByName
73
-
74
- _Type_: `object`
75
-
76
- Object whose keys are signal [names](#name) and values are
77
- [signal objects](#signal).
78
-
79
- ## signalsByNumber
80
-
81
- _Type_: `object`
82
-
83
- Object whose keys are signal [numbers](#number) and values are
84
- [signal objects](#signal).
85
-
86
- ## signal
87
-
88
- _Type_: `object`
89
-
90
- Signal object with the following properties.
91
-
92
- ### name
93
-
94
- _Type_: `string`
95
-
96
- Standard name of the signal, for example `'SIGINT'`.
97
-
98
- ### number
99
-
100
- _Type_: `number`
101
-
102
- Code number of the signal, for example `2`. While most `number` are
103
- cross-platform, some are different between different OS.
104
-
105
- ### description
106
-
107
- _Type_: `string`
108
-
109
- Human-friendly description for the signal, for example
110
- `'User interruption with CTRL-C'`.
111
-
112
- ### supported
113
-
114
- _Type_: `boolean`
115
-
116
- Whether the current OS can handle this signal in Node.js using
117
- [`process.on(name, handler)`](https://nodejs.org/api/process.html#process_signal_events).
118
-
119
- The list of supported signals
120
- [is OS-specific](https://github.com/ehmicky/cross-platform-node-guide/blob/main/docs/6_networking_ipc/signals.md#cross-platform-signals).
121
-
122
- ### action
123
-
124
- _Type_: `string`\
125
- _Enum_: `'terminate'`, `'core'`, `'ignore'`, `'pause'`, `'unpause'`
126
-
127
- What is the default action for this signal when it is not handled.
128
-
129
- ### forced
130
-
131
- _Type_: `boolean`
132
-
133
- Whether the signal's default action cannot be prevented. This is `true` for
134
- `SIGTERM`, `SIGKILL` and `SIGSTOP`.
135
-
136
- ### standard
137
-
138
- _Type_: `string`\
139
- _Enum_: `'ansi'`, `'posix'`, `'bsd'`, `'systemv'`, `'other'`
140
-
141
- Which standard defined that signal.
142
-
143
- # Support
144
-
145
- For any question, _don't hesitate_ to [submit an issue on GitHub](../../issues).
146
-
147
- Everyone is welcome regardless of personal background. We enforce a
148
- [Code of conduct](CODE_OF_CONDUCT.md) in order to promote a positive and
149
- inclusive environment.
150
-
151
- # Contributing
152
-
153
- This project was made with ❤️. The simplest way to give back is by starring and
154
- sharing it online.
155
-
156
- If the documentation is unclear or has a typo, please click on the page's `Edit`
157
- button (pencil icon) and suggest a correction.
158
-
159
- If you would like to help us fix a bug or add a new feature, please check our
160
- [guidelines](CONTRIBUTING.md). Pull requests are welcome!
161
-
162
- Thanks go to our wonderful contributors:
163
-
164
- <!-- ALL-CONTRIBUTORS-LIST:START -->
165
- <!-- prettier-ignore-start -->
166
- <!-- markdownlint-disable -->
167
- <table>
168
- <tbody>
169
- <tr>
170
- <td align="center" valign="top" width="14.28%"><a href="https://fosstodon.org/@ehmicky"><img src="https://avatars2.githubusercontent.com/u/8136211?v=4?s=100" width="100px;" alt="ehmicky"/><br /><sub><b>ehmicky</b></sub></a><br /><a href="https://github.com/ehmicky/human-signals/commits?author=ehmicky" title="Code">💻</a> <a href="#design-ehmicky" title="Design">🎨</a> <a href="#ideas-ehmicky" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/ehmicky/human-signals/commits?author=ehmicky" title="Documentation">📖</a></td>
171
- <td align="center" valign="top" width="14.28%"><a href="http://www.electrovir.com"><img src="https://avatars0.githubusercontent.com/u/1205860?v=4?s=100" width="100px;" alt="electrovir"/><br /><sub><b>electrovir</b></sub></a><br /><a href="https://github.com/ehmicky/human-signals/commits?author=electrovir" title="Code">💻</a></td>
172
- <td align="center" valign="top" width="14.28%"><a href="https://fzy.se"><img src="https://avatars.githubusercontent.com/u/2656517?v=4?s=100" width="100px;" alt="Felix Zedén Yverås"/><br /><sub><b>Felix Zedén Yverås</b></sub></a><br /><a href="https://github.com/ehmicky/human-signals/commits?author=FelixZY" title="Code">💻</a> <a href="https://github.com/ehmicky/human-signals/commits?author=FelixZY" title="Tests">⚠️</a></td>
173
- </tr>
174
- </tbody>
175
- </table>
176
-
177
- <!-- markdownlint-restore -->
178
- <!-- prettier-ignore-end -->
179
-
180
- <!-- ALL-CONTRIBUTORS-LIST:END -->
@@ -1,273 +0,0 @@
1
-
2
-
3
- export const SIGNALS=[
4
- {
5
- name:"SIGHUP",
6
- number:1,
7
- action:"terminate",
8
- description:"Terminal closed",
9
- standard:"posix"
10
- },
11
- {
12
- name:"SIGINT",
13
- number:2,
14
- action:"terminate",
15
- description:"User interruption with CTRL-C",
16
- standard:"ansi"
17
- },
18
- {
19
- name:"SIGQUIT",
20
- number:3,
21
- action:"core",
22
- description:"User interruption with CTRL-\\",
23
- standard:"posix"
24
- },
25
- {
26
- name:"SIGILL",
27
- number:4,
28
- action:"core",
29
- description:"Invalid machine instruction",
30
- standard:"ansi"
31
- },
32
- {
33
- name:"SIGTRAP",
34
- number:5,
35
- action:"core",
36
- description:"Debugger breakpoint",
37
- standard:"posix"
38
- },
39
- {
40
- name:"SIGABRT",
41
- number:6,
42
- action:"core",
43
- description:"Aborted",
44
- standard:"ansi"
45
- },
46
- {
47
- name:"SIGIOT",
48
- number:6,
49
- action:"core",
50
- description:"Aborted",
51
- standard:"bsd"
52
- },
53
- {
54
- name:"SIGBUS",
55
- number:7,
56
- action:"core",
57
- description:
58
- "Bus error due to misaligned, non-existing address or paging error",
59
- standard:"bsd"
60
- },
61
- {
62
- name:"SIGEMT",
63
- number:7,
64
- action:"terminate",
65
- description:"Command should be emulated but is not implemented",
66
- standard:"other"
67
- },
68
- {
69
- name:"SIGFPE",
70
- number:8,
71
- action:"core",
72
- description:"Floating point arithmetic error",
73
- standard:"ansi"
74
- },
75
- {
76
- name:"SIGKILL",
77
- number:9,
78
- action:"terminate",
79
- description:"Forced termination",
80
- standard:"posix",
81
- forced:true
82
- },
83
- {
84
- name:"SIGUSR1",
85
- number:10,
86
- action:"terminate",
87
- description:"Application-specific signal",
88
- standard:"posix"
89
- },
90
- {
91
- name:"SIGSEGV",
92
- number:11,
93
- action:"core",
94
- description:"Segmentation fault",
95
- standard:"ansi"
96
- },
97
- {
98
- name:"SIGUSR2",
99
- number:12,
100
- action:"terminate",
101
- description:"Application-specific signal",
102
- standard:"posix"
103
- },
104
- {
105
- name:"SIGPIPE",
106
- number:13,
107
- action:"terminate",
108
- description:"Broken pipe or socket",
109
- standard:"posix"
110
- },
111
- {
112
- name:"SIGALRM",
113
- number:14,
114
- action:"terminate",
115
- description:"Timeout or timer",
116
- standard:"posix"
117
- },
118
- {
119
- name:"SIGTERM",
120
- number:15,
121
- action:"terminate",
122
- description:"Termination",
123
- standard:"ansi"
124
- },
125
- {
126
- name:"SIGSTKFLT",
127
- number:16,
128
- action:"terminate",
129
- description:"Stack is empty or overflowed",
130
- standard:"other"
131
- },
132
- {
133
- name:"SIGCHLD",
134
- number:17,
135
- action:"ignore",
136
- description:"Child process terminated, paused or unpaused",
137
- standard:"posix"
138
- },
139
- {
140
- name:"SIGCLD",
141
- number:17,
142
- action:"ignore",
143
- description:"Child process terminated, paused or unpaused",
144
- standard:"other"
145
- },
146
- {
147
- name:"SIGCONT",
148
- number:18,
149
- action:"unpause",
150
- description:"Unpaused",
151
- standard:"posix",
152
- forced:true
153
- },
154
- {
155
- name:"SIGSTOP",
156
- number:19,
157
- action:"pause",
158
- description:"Paused",
159
- standard:"posix",
160
- forced:true
161
- },
162
- {
163
- name:"SIGTSTP",
164
- number:20,
165
- action:"pause",
166
- description:"Paused using CTRL-Z or \"suspend\"",
167
- standard:"posix"
168
- },
169
- {
170
- name:"SIGTTIN",
171
- number:21,
172
- action:"pause",
173
- description:"Background process cannot read terminal input",
174
- standard:"posix"
175
- },
176
- {
177
- name:"SIGBREAK",
178
- number:21,
179
- action:"terminate",
180
- description:"User interruption with CTRL-BREAK",
181
- standard:"other"
182
- },
183
- {
184
- name:"SIGTTOU",
185
- number:22,
186
- action:"pause",
187
- description:"Background process cannot write to terminal output",
188
- standard:"posix"
189
- },
190
- {
191
- name:"SIGURG",
192
- number:23,
193
- action:"ignore",
194
- description:"Socket received out-of-band data",
195
- standard:"bsd"
196
- },
197
- {
198
- name:"SIGXCPU",
199
- number:24,
200
- action:"core",
201
- description:"Process timed out",
202
- standard:"bsd"
203
- },
204
- {
205
- name:"SIGXFSZ",
206
- number:25,
207
- action:"core",
208
- description:"File too big",
209
- standard:"bsd"
210
- },
211
- {
212
- name:"SIGVTALRM",
213
- number:26,
214
- action:"terminate",
215
- description:"Timeout or timer",
216
- standard:"bsd"
217
- },
218
- {
219
- name:"SIGPROF",
220
- number:27,
221
- action:"terminate",
222
- description:"Timeout or timer",
223
- standard:"bsd"
224
- },
225
- {
226
- name:"SIGWINCH",
227
- number:28,
228
- action:"ignore",
229
- description:"Terminal window size changed",
230
- standard:"bsd"
231
- },
232
- {
233
- name:"SIGIO",
234
- number:29,
235
- action:"terminate",
236
- description:"I/O is available",
237
- standard:"other"
238
- },
239
- {
240
- name:"SIGPOLL",
241
- number:29,
242
- action:"terminate",
243
- description:"Watched event",
244
- standard:"other"
245
- },
246
- {
247
- name:"SIGINFO",
248
- number:29,
249
- action:"ignore",
250
- description:"Request for process information",
251
- standard:"other"
252
- },
253
- {
254
- name:"SIGPWR",
255
- number:30,
256
- action:"terminate",
257
- description:"Device running out of power",
258
- standard:"systemv"
259
- },
260
- {
261
- name:"SIGSYS",
262
- number:31,
263
- action:"core",
264
- description:"Invalid system call",
265
- standard:"other"
266
- },
267
- {
268
- name:"SIGUNUSED",
269
- number:31,
270
- action:"terminate",
271
- description:"Invalid system call",
272
- standard:"other"
273
- }];
@@ -1,206 +0,0 @@
1
- /**
2
- * What is the default action for this signal when it is not handled.
3
- */
4
- export type SignalAction = 'terminate' | 'core' | 'ignore' | 'pause' | 'unpause'
5
-
6
- /**
7
- * Which standard defined that signal.
8
- */
9
- export type SignalStandard = 'ansi' | 'posix' | 'bsd' | 'systemv' | 'other'
10
-
11
- /**
12
- * Standard name of the signal, for example 'SIGINT'.
13
- */
14
- export type SignalName =
15
- | 'SIGHUP'
16
- | 'SIGINT'
17
- | 'SIGQUIT'
18
- | 'SIGILL'
19
- | 'SIGTRAP'
20
- | 'SIGABRT'
21
- | 'SIGIOT'
22
- | 'SIGBUS'
23
- | 'SIGEMT'
24
- | 'SIGFPE'
25
- | 'SIGKILL'
26
- | 'SIGUSR1'
27
- | 'SIGSEGV'
28
- | 'SIGUSR2'
29
- | 'SIGPIPE'
30
- | 'SIGALRM'
31
- | 'SIGTERM'
32
- | 'SIGSTKFLT'
33
- | 'SIGCHLD'
34
- | 'SIGCLD'
35
- | 'SIGCONT'
36
- | 'SIGSTOP'
37
- | 'SIGTSTP'
38
- | 'SIGTTIN'
39
- | 'SIGBREAK'
40
- | 'SIGTTOU'
41
- | 'SIGURG'
42
- | 'SIGXCPU'
43
- | 'SIGXFSZ'
44
- | 'SIGVTALRM'
45
- | 'SIGPROF'
46
- | 'SIGWINCH'
47
- | 'SIGIO'
48
- | 'SIGPOLL'
49
- | 'SIGINFO'
50
- | 'SIGPWR'
51
- | 'SIGSYS'
52
- | 'SIGUNUSED'
53
- | 'SIGRT1'
54
- | 'SIGRT2'
55
- | 'SIGRT3'
56
- | 'SIGRT4'
57
- | 'SIGRT5'
58
- | 'SIGRT6'
59
- | 'SIGRT7'
60
- | 'SIGRT8'
61
- | 'SIGRT9'
62
- | 'SIGRT10'
63
- | 'SIGRT11'
64
- | 'SIGRT12'
65
- | 'SIGRT13'
66
- | 'SIGRT14'
67
- | 'SIGRT15'
68
- | 'SIGRT16'
69
- | 'SIGRT17'
70
- | 'SIGRT18'
71
- | 'SIGRT19'
72
- | 'SIGRT20'
73
- | 'SIGRT21'
74
- | 'SIGRT22'
75
- | 'SIGRT23'
76
- | 'SIGRT24'
77
- | 'SIGRT25'
78
- | 'SIGRT26'
79
- | 'SIGRT27'
80
- | 'SIGRT28'
81
- | 'SIGRT29'
82
- | 'SIGRT30'
83
- | 'SIGRT31'
84
-
85
- /**
86
- * Code number of the signal, for example 2.
87
- * While most number are cross-platform, some are different between different
88
- * OS.
89
- */
90
- export type SignalNumber =
91
- | 1
92
- | 2
93
- | 3
94
- | 4
95
- | 5
96
- | 6
97
- | 7
98
- | 8
99
- | 9
100
- | 10
101
- | 11
102
- | 12
103
- | 13
104
- | 14
105
- | 15
106
- | 16
107
- | 17
108
- | 18
109
- | 19
110
- | 20
111
- | 21
112
- | 22
113
- | 23
114
- | 24
115
- | 25
116
- | 26
117
- | 27
118
- | 28
119
- | 29
120
- | 30
121
- | 31
122
- | 34
123
- | 35
124
- | 36
125
- | 37
126
- | 38
127
- | 39
128
- | 40
129
- | 41
130
- | 42
131
- | 43
132
- | 44
133
- | 45
134
- | 46
135
- | 47
136
- | 48
137
- | 49
138
- | 50
139
- | 51
140
- | 52
141
- | 53
142
- | 54
143
- | 55
144
- | 56
145
- | 57
146
- | 58
147
- | 59
148
- | 60
149
- | 61
150
- | 62
151
- | 63
152
- | 64
153
-
154
- export interface Signal {
155
- /**
156
- * Standard name of the signal, for example 'SIGINT'.
157
- */
158
- name: SignalName
159
-
160
- /**
161
- * Code number of the signal, for example 2.
162
- * While most number are cross-platform, some are different between different
163
- * OS.
164
- */
165
- number: SignalNumber
166
-
167
- /**
168
- * Human-friendly description for the signal, for example
169
- * 'User interruption with CTRL-C'.
170
- */
171
- description: string
172
-
173
- /**
174
- * Whether the current OS can handle this signal in Node.js using
175
- * `process.on(name, handler)`. The list of supported signals is OS-specific.
176
- */
177
- supported: boolean
178
-
179
- /**
180
- * What is the default action for this signal when it is not handled.
181
- */
182
- action: SignalAction
183
-
184
- /**
185
- * Whether the signal's default action cannot be prevented.
186
- * This is true for SIGTERM, SIGKILL and SIGSTOP.
187
- */
188
- forced: boolean
189
-
190
- /**
191
- * Which standard defined that signal.
192
- */
193
- standard: SignalStandard
194
- }
195
-
196
- /**
197
- * Object whose keys are signal names and values are signal objects.
198
- */
199
- export declare const signalsByName: { [SignalNameType in SignalName]: Signal }
200
-
201
- /**
202
- * Object whose keys are signal numbers and values are signal objects.
203
- */
204
- export declare const signalsByNumber: {
205
- [SignalNumberType in SignalNumber]: Signal
206
- }