@joe-broadhead/messaging-bin-linux-arm64-gnu 0.0.0-stage → 0.1.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/LICENSE +173 -0
- package/bin/messagingd +4 -0
- package/lib/messagingd.mjs +20128 -0
- package/package.json +24 -4
- package/README.md +0 -3
package/LICENSE
ADDED
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
messagingd: the Messaging daemon and CLI, as one self-contained executable.
|
|
2
|
+
|
|
3
|
+
Messaging is licensed under the MIT License:
|
|
4
|
+
|
|
5
|
+
MIT License
|
|
6
|
+
|
|
7
|
+
Copyright (c) 2026 Joe Broadhead
|
|
8
|
+
|
|
9
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
10
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
11
|
+
in the Software without restriction, including without limitation the rights
|
|
12
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
13
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
14
|
+
furnished to do so, subject to the following conditions:
|
|
15
|
+
|
|
16
|
+
The above copyright notice and this permission notice shall be included in all
|
|
17
|
+
copies or substantial portions of the Software.
|
|
18
|
+
|
|
19
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
20
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
21
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
22
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
23
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
24
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
25
|
+
SOFTWARE.
|
|
26
|
+
|
|
27
|
+
The executable contains the Bun runtime it was compiled with (https://bun.sh), version 1.4.3, under the
|
|
28
|
+
MIT License. Bun includes third-party code under the licences listed in its LICENSE.md, reproduced in full at
|
|
29
|
+
the end of this file: among them JavaScriptCore from WebKit (LGPL-2 and BSD licences), BoringSSL, SQLite
|
|
30
|
+
(public domain), zlib, libuv and others.
|
|
31
|
+
|
|
32
|
+
Relinking (LGPL). Bun statically links JavaScriptCore. To run this program on a modified JavaScriptCore,
|
|
33
|
+
relink Bun as its LICENSE.md below describes, then compile this package's `lib/messagingd.mjs` (the
|
|
34
|
+
application in JavaScript form, the exact file `bin/messagingd` was compiled from) with that Bun:
|
|
35
|
+
`bun build --compile lib/messagingd.mjs --outfile messagingd`, with the other flags recorded in the release's
|
|
36
|
+
provenance.json.
|
|
37
|
+
|
|
38
|
+
The executable also contains the third-party JavaScript packages below, under their own licences.
|
|
39
|
+
|
|
40
|
+
--- ws 8.22.0 (MIT) ---
|
|
41
|
+
|
|
42
|
+
Copyright (c) 2011 Einar Otto Stangvik <einaros@gmail.com>
|
|
43
|
+
Copyright (c) 2013 Arnout Kazemier and contributors
|
|
44
|
+
Copyright (c) 2016 Luigi Pinca and contributors
|
|
45
|
+
|
|
46
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
47
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
48
|
+
the Software without restriction, including without limitation the rights to
|
|
49
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
50
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
51
|
+
subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
The above copyright notice and this permission notice shall be included in all
|
|
54
|
+
copies or substantial portions of the Software.
|
|
55
|
+
|
|
56
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
57
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
58
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
59
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
60
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
61
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
62
|
+
|
|
63
|
+
--- zod 4.6.7 (MIT) ---
|
|
64
|
+
|
|
65
|
+
MIT License
|
|
66
|
+
|
|
67
|
+
Copyright (c) 2025 Colin McDonnell
|
|
68
|
+
|
|
69
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
70
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
71
|
+
in the Software without restriction, including without limitation the rights
|
|
72
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
73
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
74
|
+
furnished to do so, subject to the following conditions:
|
|
75
|
+
|
|
76
|
+
The above copyright notice and this permission notice shall be included in all
|
|
77
|
+
copies or substantial portions of the Software.
|
|
78
|
+
|
|
79
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
80
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
81
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
82
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
83
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
84
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
85
|
+
SOFTWARE.
|
|
86
|
+
|
|
87
|
+
--- Bun 1.4.3: LICENSE.md ---
|
|
88
|
+
|
|
89
|
+
Bun itself is MIT-licensed.
|
|
90
|
+
|
|
91
|
+
## JavaScriptCore
|
|
92
|
+
|
|
93
|
+
Bun statically links JavaScriptCore (and WebKit) which is LGPL-2 licensed. WebCore files from WebKit are also licensed under LGPL2. Per LGPL2:
|
|
94
|
+
|
|
95
|
+
> (1) If you statically link against an LGPL’d library, you must also provide your application in an object (not necessarily source) format, so that a user has the opportunity to modify the library and relink the application.
|
|
96
|
+
|
|
97
|
+
You can find the patched version of WebKit used by Bun here: <https://github.com/oven-sh/webkit>. If you would like to relink Bun with changes:
|
|
98
|
+
|
|
99
|
+
- `git clone https://github.com/oven-sh/WebKit vendor/WebKit`
|
|
100
|
+
- `bun sync-webkit-source` (checks out the version pinned in `WEBKIT_VERSION` in `scripts/build/deps/webkit.ts`)
|
|
101
|
+
- `bun run build:local`
|
|
102
|
+
|
|
103
|
+
This compiles JavaScriptCore, compiles Bun’s `.cpp` bindings for JavaScriptCore (which are the object files using JavaScriptCore) and outputs a new `bun` binary with your changes.
|
|
104
|
+
|
|
105
|
+
## Linked libraries
|
|
106
|
+
|
|
107
|
+
Bun statically links these libraries:
|
|
108
|
+
|
|
109
|
+
| Library | License |
|
|
110
|
+
|---------|---------|
|
|
111
|
+
| [`boringssl`](https://boringssl.googlesource.com/boringssl/) | [several licenses](https://boringssl.googlesource.com/boringssl/+/refs/heads/master/LICENSE) |
|
|
112
|
+
| [`brotli`](https://github.com/google/brotli) | MIT |
|
|
113
|
+
| [`libarchive`](https://github.com/libarchive/libarchive) | [several licenses](https://github.com/libarchive/libarchive/blob/master/COPYING) |
|
|
114
|
+
| [`lol-html`](https://github.com/cloudflare/lol-html/tree/master/c-api) | BSD 3-Clause |
|
|
115
|
+
| [`ls-hpack`](https://github.com/litespeedtech/ls-hpack) | MIT |
|
|
116
|
+
| [`ls-qpack`](https://github.com/litespeedtech/ls-qpack) | MIT |
|
|
117
|
+
| [`lsquic`](https://github.com/litespeedtech/lsquic) | MIT (portions derived from [Chromium proto-quic](https://github.com/litespeedtech/lsquic/blob/master/LICENSE.chrome), BSD 3-Clause) |
|
|
118
|
+
| [`mimalloc`](https://github.com/microsoft/mimalloc) | MIT |
|
|
119
|
+
| [`picohttp`](https://github.com/h2o/picohttpparser) | dual-licensed under the Perl License or the MIT License |
|
|
120
|
+
| [`zstd`](https://github.com/facebook/zstd) | dual-licensed under the BSD License or GPLv2 license |
|
|
121
|
+
| [`simdutf`](https://github.com/simdutf/simdutf) | Apache 2.0 |
|
|
122
|
+
| [`tinycc`](https://github.com/tinycc/tinycc) | LGPL v2.1 |
|
|
123
|
+
| [`uSockets`](https://github.com/uNetworking/uSockets) | Apache 2.0 |
|
|
124
|
+
| [`zlib-ng`](https://github.com/zlib-ng/zlib-ng) | zlib |
|
|
125
|
+
| [`c-ares`](https://github.com/c-ares/c-ares) | MIT licensed |
|
|
126
|
+
| [`libicu`](https://github.com/unicode-org/icu) 78 | [license here](https://github.com/unicode-org/icu/blob/main/icu4c/LICENSE) |
|
|
127
|
+
| [`libbase64`](https://github.com/aklomp/base64/blob/master/LICENSE) | BSD 2-Clause |
|
|
128
|
+
| [`libuv`](https://github.com/libuv/libuv) (on Windows) | MIT |
|
|
129
|
+
| [`libdeflate`](https://github.com/ebiggers/libdeflate) | MIT |
|
|
130
|
+
| [`libjpeg-turbo`](https://github.com/libjpeg-turbo/libjpeg-turbo) | [BSD 3-Clause / IJG / zlib](https://github.com/libjpeg-turbo/libjpeg-turbo/blob/main/LICENSE.md) |
|
|
131
|
+
| [`libspng`](https://github.com/randy408/libspng) | BSD 2-Clause |
|
|
132
|
+
| [`libwebp`](https://github.com/webmproject/libwebp) | BSD 3-Clause |
|
|
133
|
+
| [`highway`](https://github.com/google/highway) | Apache 2.0 |
|
|
134
|
+
| [`uucode`](https://github.com/jacobsandlund/uucode) | MIT |
|
|
135
|
+
| A fork of [`uWebsockets`](https://github.com/jarred-sumner/uwebsockets) | Apache 2.0 licensed |
|
|
136
|
+
| Parts of [Tigerbeetle's IO code](https://github.com/tigerbeetle/tigerbeetle/blob/532c8b70b9142c17e07737ab6d3da68d7500cbca/src/io/windows.zig#L1) | Apache 2.0 licensed |
|
|
137
|
+
| `__cxa_thread_atexit` fallback from [LLVM libc++abi](https://github.com/llvm/llvm-project/blob/llvmorg-19.1.0/libcxxabi/src/cxa_thread_atexit.cpp) | Apache 2.0 with LLVM exception |
|
|
138
|
+
| The type checker behind `bun check` is a port of [`typescript-go`](https://github.com/microsoft/typescript-go), and uses TypeScript's diagnostic messages and `lib.*.d.ts` files | Apache 2.0 |
|
|
139
|
+
|
|
140
|
+
## Polyfills
|
|
141
|
+
|
|
142
|
+
For compatibility reasons, the following packages are embedded into Bun's binary and injected if imported.
|
|
143
|
+
|
|
144
|
+
| Package | License |
|
|
145
|
+
|---------|---------|
|
|
146
|
+
| [`acorn`](https://github.com/acornjs/acorn) | MIT |
|
|
147
|
+
| [`acorn-walk`](https://github.com/acornjs/acorn) | MIT |
|
|
148
|
+
| [`assert`](https://npmjs.com/package/assert) | MIT |
|
|
149
|
+
| [`browserify-zlib`](https://npmjs.com/package/browserify-zlib) | MIT |
|
|
150
|
+
| [`buffer`](https://npmjs.com/package/buffer) | MIT |
|
|
151
|
+
| [`constants-browserify`](https://npmjs.com/package/constants-browserify) | MIT |
|
|
152
|
+
| [`crypto-browserify`](https://npmjs.com/package/crypto-browserify) | MIT |
|
|
153
|
+
| [`domain-browser`](https://npmjs.com/package/domain-browser) | MIT |
|
|
154
|
+
| [`events`](https://npmjs.com/package/events) | MIT |
|
|
155
|
+
| [`https-browserify`](https://npmjs.com/package/https-browserify) | MIT |
|
|
156
|
+
| [`os-browserify`](https://npmjs.com/package/os-browserify) | MIT |
|
|
157
|
+
| [`path-browserify`](https://npmjs.com/package/path-browserify) | MIT |
|
|
158
|
+
| [`process`](https://npmjs.com/package/process) | MIT |
|
|
159
|
+
| [`punycode`](https://npmjs.com/package/punycode) | MIT |
|
|
160
|
+
| [`querystring-es3`](https://npmjs.com/package/querystring-es3) | MIT |
|
|
161
|
+
| [`stream-browserify`](https://npmjs.com/package/stream-browserify) | MIT |
|
|
162
|
+
| [`stream-http`](https://npmjs.com/package/stream-http) | MIT |
|
|
163
|
+
| [`string_decoder`](https://npmjs.com/package/string_decoder) | MIT |
|
|
164
|
+
| [`timers-browserify`](https://npmjs.com/package/timers-browserify) | MIT |
|
|
165
|
+
| [`tty-browserify`](https://npmjs.com/package/tty-browserify) | MIT |
|
|
166
|
+
| [`url`](https://npmjs.com/package/url) | MIT |
|
|
167
|
+
| [`util`](https://npmjs.com/package/util) | MIT |
|
|
168
|
+
| [`vm-browserify`](https://npmjs.com/package/vm-browserify) | MIT |
|
|
169
|
+
|
|
170
|
+
## Additional credits
|
|
171
|
+
|
|
172
|
+
- Bun's JS transpiler, CSS lexer, and Node.js module resolver source code is a port of [@evanw](https://github.com/evanw)’s [esbuild](https://github.com/evanw/esbuild) project.
|
|
173
|
+
- Credit to [@kipply](https://github.com/kipply) for the name "Bun"!
|
package/bin/messagingd
ADDED