@visulima/notification 0.0.1 → 1.0.0-alpha.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.
Files changed (134) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/LICENSE.md +434 -0
  3. package/README.md +296 -6
  4. package/dist/channels/email/index.d.ts +46 -0
  5. package/dist/channels/email/index.js +1 -0
  6. package/dist/channels/inapp/index.d.ts +99 -0
  7. package/dist/channels/inapp/index.js +1 -0
  8. package/dist/events/index.d.ts +37 -0
  9. package/dist/events/index.js +1 -0
  10. package/dist/index.d.ts +174 -0
  11. package/dist/index.js +1 -0
  12. package/dist/middleware/index.d.ts +382 -0
  13. package/dist/middleware/index.js +1 -0
  14. package/dist/packem_shared/MemoryEventStore-BGD_xRxu.js +1 -0
  15. package/dist/packem_shared/MemoryInAppStore-48qlrDCx.js +1 -0
  16. package/dist/packem_shared/MemoryQueue-CXgWoZoY.js +1 -0
  17. package/dist/packem_shared/Notification-D1YeYxrQ.js +1 -0
  18. package/dist/packem_shared/NotificationError-DVfMJQ1u.js +1 -0
  19. package/dist/packem_shared/NotificationMessageBuilder-Br_aZusY.js +1 -0
  20. package/dist/packem_shared/RequiredOptionError-CuL42XRq.js +1 -0
  21. package/dist/packem_shared/UnstorageInAppStore-Bq2LoDMO.js +1 -0
  22. package/dist/packem_shared/apnsProvider-C9WSv5sc.js +1 -0
  23. package/dist/packem_shared/circuitBreakerMiddleware-BlZN7SVT.js +1 -0
  24. package/dist/packem_shared/composeMiddleware-D6dR8DUS.js +1 -0
  25. package/dist/packem_shared/createQueueWorker-DjQBxjXc.js +1 -0
  26. package/dist/packem_shared/credentials-CG0zkn-W.js +1 -0
  27. package/dist/packem_shared/dedupeMiddleware-CQmPJd_h.js +1 -0
  28. package/dist/packem_shared/defineProvider-C9q-7iwt.js +1 -0
  29. package/dist/packem_shared/discordProvider-ewPfe-J7.js +1 -0
  30. package/dist/packem_shared/emailChannel-CNDlX96Q.js +1 -0
  31. package/dist/packem_shared/expoProvider-CXq101FD.js +1 -0
  32. package/dist/packem_shared/failoverProvider-D1dAmW8U.js +1 -0
  33. package/dist/packem_shared/fcmProvider-WdJGZ55l.js +1 -0
  34. package/dist/packem_shared/getHeader-C_gkdnMQ.js +1 -0
  35. package/dist/packem_shared/hmacBase64-BhhoX0uo.js +1 -0
  36. package/dist/packem_shared/http-BMYcUNBU.js +1 -0
  37. package/dist/packem_shared/id-C_FRCsUM.js +1 -0
  38. package/dist/packem_shared/inAppProvider-ElbahgSj.js +1 -0
  39. package/dist/packem_shared/loggingMiddleware-Cs6EDLcL.js +1 -0
  40. package/dist/packem_shared/messageBirdProvider-CHUFB0hd.js +1 -0
  41. package/dist/packem_shared/mockProvider-BLwTZlkw.js +1 -0
  42. package/dist/packem_shared/msTeamsProvider-DBhrmuSd.js +1 -0
  43. package/dist/packem_shared/notification.d-BBLyVuqi.d.ts +87 -0
  44. package/dist/packem_shared/otelProvider-b6LVo0BS.js +1 -0
  45. package/dist/packem_shared/plivoProvider-CIOl6DWw.js +1 -0
  46. package/dist/packem_shared/provider.d-BQAGriz6.d.ts +33 -0
  47. package/dist/packem_shared/rateLimitMiddleware-DWmEYq-m.js +1 -0
  48. package/dist/packem_shared/retryMiddleware-uUJDcUoP.js +1 -0
  49. package/dist/packem_shared/roundRobinProvider-BetXJUUm.js +1 -0
  50. package/dist/packem_shared/slackProvider-N1wNtAZ3.js +1 -0
  51. package/dist/packem_shared/slackWebhook-GEx_GdcV.js +1 -0
  52. package/dist/packem_shared/sms-CU-OZvNU.js +1 -0
  53. package/dist/packem_shared/snsProvider-KCciJ-nj.js +4 -0
  54. package/dist/packem_shared/snsWebhook-ChZnBBT3.js +1 -0
  55. package/dist/packem_shared/standardWebhook-B-LxP8U7.js +1 -0
  56. package/dist/packem_shared/suppressionMiddleware-CY-Qo1A_.js +1 -0
  57. package/dist/packem_shared/telegramProvider-jqR5BhJL.js +1 -0
  58. package/dist/packem_shared/telemetryMiddleware-B1N4k171.js +1 -0
  59. package/dist/packem_shared/telnyxProvider-C8TMPir1.js +1 -0
  60. package/dist/packem_shared/tracer.d-Co1s_NwG.d.ts +494 -0
  61. package/dist/packem_shared/twilioProvider-BxI0e6LX.js +1 -0
  62. package/dist/packem_shared/twilioWebhook-F0mTmGXD.js +1 -0
  63. package/dist/packem_shared/types.d-CximoA8M.d.ts +29 -0
  64. package/dist/packem_shared/types.d-DyM9JjL7.d.ts +33 -0
  65. package/dist/packem_shared/types.d-GUzX1jTk.d.ts +235 -0
  66. package/dist/packem_shared/types.d-td-F2Oh0.d.ts +10 -0
  67. package/dist/packem_shared/unstorage.DqlWKU2I.d-CogP3Etw.d.ts +120 -0
  68. package/dist/packem_shared/vonageProvider-BF76ca89.js +1 -0
  69. package/dist/packem_shared/webPushProvider-B962RwsA.js +1 -0
  70. package/dist/packem_shared/webcrypto-bY7wJCB5.js +1 -0
  71. package/dist/packem_shared/webhookProvider-BALSb2pc.js +1 -0
  72. package/dist/preferences/index.d.ts +49 -0
  73. package/dist/preferences/index.js +1 -0
  74. package/dist/providers/chat/discord/index.d.ts +14 -0
  75. package/dist/providers/chat/discord/index.js +1 -0
  76. package/dist/providers/chat/msteams/index.d.ts +14 -0
  77. package/dist/providers/chat/msteams/index.js +1 -0
  78. package/dist/providers/chat/slack/index.d.ts +19 -0
  79. package/dist/providers/chat/slack/index.js +1 -0
  80. package/dist/providers/chat/telegram/index.d.ts +18 -0
  81. package/dist/providers/chat/telegram/index.js +1 -0
  82. package/dist/providers/failover/index.d.ts +16 -0
  83. package/dist/providers/failover/index.js +1 -0
  84. package/dist/providers/mock/index.d.ts +29 -0
  85. package/dist/providers/mock/index.js +1 -0
  86. package/dist/providers/opentelemetry/index.d.ts +21 -0
  87. package/dist/providers/opentelemetry/index.js +1 -0
  88. package/dist/providers/push/apns/index.d.ts +24 -0
  89. package/dist/providers/push/apns/index.js +1 -0
  90. package/dist/providers/push/expo/index.d.ts +14 -0
  91. package/dist/providers/push/expo/index.js +1 -0
  92. package/dist/providers/push/fcm/index.d.ts +26 -0
  93. package/dist/providers/push/fcm/index.js +1 -0
  94. package/dist/providers/push/web-push/index.d.ts +36 -0
  95. package/dist/providers/push/web-push/index.js +1 -0
  96. package/dist/providers/roundrobin/index.d.ts +17 -0
  97. package/dist/providers/roundrobin/index.js +1 -0
  98. package/dist/providers/sms/messagebird/index.d.ts +16 -0
  99. package/dist/providers/sms/messagebird/index.js +1 -0
  100. package/dist/providers/sms/plivo/index.d.ts +18 -0
  101. package/dist/providers/sms/plivo/index.js +1 -0
  102. package/dist/providers/sms/sns/index.d.ts +21 -0
  103. package/dist/providers/sms/sns/index.js +1 -0
  104. package/dist/providers/sms/telnyx/index.d.ts +18 -0
  105. package/dist/providers/sms/telnyx/index.js +1 -0
  106. package/dist/providers/sms/twilio/index.d.ts +20 -0
  107. package/dist/providers/sms/twilio/index.js +1 -0
  108. package/dist/providers/sms/vonage/index.d.ts +18 -0
  109. package/dist/providers/sms/vonage/index.js +1 -0
  110. package/dist/providers/webhook/index.d.ts +18 -0
  111. package/dist/providers/webhook/index.js +1 -0
  112. package/dist/queue/bullmq-queue.d.ts +58 -0
  113. package/dist/queue/bullmq-queue.js +1 -0
  114. package/dist/queue/index.d.ts +50 -0
  115. package/dist/queue/index.js +1 -0
  116. package/dist/queue/pg-boss-queue.d.ts +66 -0
  117. package/dist/queue/pg-boss-queue.js +1 -0
  118. package/dist/queue/sqs-queue.d.ts +91 -0
  119. package/dist/queue/sqs-queue.js +1 -0
  120. package/dist/queue/unstorage-queue.d.ts +30 -0
  121. package/dist/queue/unstorage-queue.js +1 -0
  122. package/dist/routing/index.d.ts +35 -0
  123. package/dist/routing/index.js +1 -0
  124. package/dist/template-engines/handlebars.d.ts +16 -0
  125. package/dist/template-engines/handlebars.js +1 -0
  126. package/dist/template-engines/liquid.d.ts +16 -0
  127. package/dist/template-engines/liquid.js +1 -0
  128. package/dist/template-engines/string.d.ts +20 -0
  129. package/dist/template-engines/string.js +1 -0
  130. package/dist/utils/result.d.ts +54 -0
  131. package/dist/utils/result.js +1 -0
  132. package/dist/webhooks/index.d.ts +110 -0
  133. package/dist/webhooks/index.js +1 -0
  134. package/package.json +255 -43
package/CHANGELOG.md ADDED
@@ -0,0 +1,19 @@
1
+ ## @visulima/notification 1.0.0-alpha.1 (2026-06-20)
2
+
3
+ ### Features
4
+
5
+ * **notification:** add multi-channel notification package ([88fe816](https://github.com/visulima/visulima/commit/88fe81690763e334aa403b4baa455a77557f5880))
6
+
7
+ ### Bug Fixes
8
+
9
+ * **notification:** harden webhook verifiers + dedupe crypto helpers ([22a7b74](https://github.com/visulima/visulima/commit/22a7b74504619d2c513ef3e5954a0c92d4aea972))
10
+
11
+ ### Tests
12
+
13
+ * **notification:** cover provider + middleware error/guard branches ([9eff3fb](https://github.com/visulima/visulima/commit/9eff3fbf6c72f1154ec942280622f5cb9fc5f8f5))
14
+ * **notification:** cover webhook provider, unstorage queue, worker, middleware ([6a4bbb5](https://github.com/visulima/visulima/commit/6a4bbb569787f0f4a3138ed854ba89a4c7df04dd))
15
+
16
+
17
+ ### Dependencies
18
+
19
+ * **@visulima/email:** upgraded to 1.0.0-alpha.41
package/LICENSE.md ADDED
@@ -0,0 +1,434 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 visulima
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
23
+ <!-- DEPENDENCIES -->
24
+
25
+ # Licenses of bundled dependencies
26
+ The published @visulima/notification artifact additionally contains code with the following licenses:
27
+ MIT
28
+
29
+ # Bundled dependencies:
30
+ ## @visulima/error
31
+ License: MIT
32
+ By: Daniel Bannert
33
+ Repository: git+https://github.com/visulima/visulima.git
34
+
35
+ > MIT License
36
+ >
37
+ > Copyright (c) 2026 visulima
38
+ >
39
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
40
+ > of this software and associated documentation files (the "Software"), to deal
41
+ > in the Software without restriction, including without limitation the rights
42
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
43
+ > copies of the Software, and to permit persons to whom the Software is
44
+ > furnished to do so, subject to the following conditions:
45
+ >
46
+ > The above copyright notice and this permission notice shall be included in all
47
+ > copies or substantial portions of the Software.
48
+ >
49
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
50
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
51
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
52
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
53
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
54
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
55
+ > SOFTWARE.
56
+ >
57
+ >
58
+ >
59
+ > # Licenses of bundled dependencies
60
+ >
61
+ > The published @visulima/error artifact additionally contains code with the following licenses:
62
+ > MIT
63
+ >
64
+ > # Bundled dependencies:
65
+ >
66
+ > ## is-plain-obj
67
+ >
68
+ > License: MIT
69
+ > By: Sindre Sorhus
70
+ > Repository: sindresorhus/is-plain-obj
71
+ >
72
+ > > MIT License
73
+ > >
74
+ > > Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
75
+ > >
76
+ > > Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
77
+ > >
78
+ > > The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
79
+ > >
80
+ > > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
81
+ >
82
+ >
83
+ >
84
+ >
85
+ >
86
+ > # Licenses of bundled types
87
+ > The published @visulima/error artifact additionally contains code with the following licenses:
88
+ > Apache-2.0
89
+ >
90
+ > # Bundled types:
91
+ > ## ai
92
+ > License: Apache-2.0
93
+ > Repository: https://github.com/vercel/ai
94
+ >
95
+ > > Copyright 2023 Vercel, Inc.
96
+ > >
97
+ > > Licensed under the Apache License, Version 2.0 (the "License");
98
+ > > you may not use this file except in compliance with the License.
99
+ > > You may obtain a copy of the License at
100
+ > >
101
+ > > http://www.apache.org/licenses/LICENSE-2.0
102
+ > >
103
+ > > Unless required by applicable law or agreed to in writing, software
104
+ > > distributed under the License is distributed on an "AS IS" BASIS,
105
+ > > WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
106
+ > > See the License for the specific language governing permissions and
107
+ > > limitations under the License.
108
+
109
+ <!-- /DEPENDENCIES -->
110
+
111
+ <!-- TYPE_DEPENDENCIES -->
112
+
113
+ # Licenses of bundled types
114
+ The published @visulima/notification artifact additionally contains code with the following licenses:
115
+ Apache-2.0, MIT
116
+
117
+ # Bundled types:
118
+ ## @opentelemetry/api
119
+ License: Apache-2.0
120
+ By: OpenTelemetry Authors
121
+ Repository: open-telemetry/opentelemetry-js
122
+
123
+ > Apache License
124
+ > Version 2.0, January 2004
125
+ > http://www.apache.org/licenses/
126
+ >
127
+ > TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
128
+ >
129
+ > 1. Definitions.
130
+ >
131
+ > "License" shall mean the terms and conditions for use, reproduction,
132
+ > and distribution as defined by Sections 1 through 9 of this document.
133
+ >
134
+ > "Licensor" shall mean the copyright owner or entity authorized by
135
+ > the copyright owner that is granting the License.
136
+ >
137
+ > "Legal Entity" shall mean the union of the acting entity and all
138
+ > other entities that control, are controlled by, or are under common
139
+ > control with that entity. For the purposes of this definition,
140
+ > "control" means (i) the power, direct or indirect, to cause the
141
+ > direction or management of such entity, whether by contract or
142
+ > otherwise, or (ii) ownership of fifty percent (50%) or more of the
143
+ > outstanding shares, or (iii) beneficial ownership of such entity.
144
+ >
145
+ > "You" (or "Your") shall mean an individual or Legal Entity
146
+ > exercising permissions granted by this License.
147
+ >
148
+ > "Source" form shall mean the preferred form for making modifications,
149
+ > including but not limited to software source code, documentation
150
+ > source, and configuration files.
151
+ >
152
+ > "Object" form shall mean any form resulting from mechanical
153
+ > transformation or translation of a Source form, including but
154
+ > not limited to compiled object code, generated documentation,
155
+ > and conversions to other media types.
156
+ >
157
+ > "Work" shall mean the work of authorship, whether in Source or
158
+ > Object form, made available under the License, as indicated by a
159
+ > copyright notice that is included in or attached to the work
160
+ > (an example is provided in the Appendix below).
161
+ >
162
+ > "Derivative Works" shall mean any work, whether in Source or Object
163
+ > form, that is based on (or derived from) the Work and for which the
164
+ > editorial revisions, annotations, elaborations, or other modifications
165
+ > represent, as a whole, an original work of authorship. For the purposes
166
+ > of this License, Derivative Works shall not include works that remain
167
+ > separable from, or merely link (or bind by name) to the interfaces of,
168
+ > the Work and Derivative Works thereof.
169
+ >
170
+ > "Contribution" shall mean any work of authorship, including
171
+ > the original version of the Work and any modifications or additions
172
+ > to that Work or Derivative Works thereof, that is intentionally
173
+ > submitted to Licensor for inclusion in the Work by the copyright owner
174
+ > or by an individual or Legal Entity authorized to submit on behalf of
175
+ > the copyright owner. For the purposes of this definition, "submitted"
176
+ > means any form of electronic, verbal, or written communication sent
177
+ > to the Licensor or its representatives, including but not limited to
178
+ > communication on electronic mailing lists, source code control systems,
179
+ > and issue tracking systems that are managed by, or on behalf of, the
180
+ > Licensor for the purpose of discussing and improving the Work, but
181
+ > excluding communication that is conspicuously marked or otherwise
182
+ > designated in writing by the copyright owner as "Not a Contribution."
183
+ >
184
+ > "Contributor" shall mean Licensor and any individual or Legal Entity
185
+ > on behalf of whom a Contribution has been received by Licensor and
186
+ > subsequently incorporated within the Work.
187
+ >
188
+ > 2. Grant of Copyright License. Subject to the terms and conditions of
189
+ > this License, each Contributor hereby grants to You a perpetual,
190
+ > worldwide, non-exclusive, no-charge, royalty-free, irrevocable
191
+ > copyright license to reproduce, prepare Derivative Works of,
192
+ > publicly display, publicly perform, sublicense, and distribute the
193
+ > Work and such Derivative Works in Source or Object form.
194
+ >
195
+ > 3. Grant of Patent License. Subject to the terms and conditions of
196
+ > this License, each Contributor hereby grants to You a perpetual,
197
+ > worldwide, non-exclusive, no-charge, royalty-free, irrevocable
198
+ > (except as stated in this section) patent license to make, have made,
199
+ > use, offer to sell, sell, import, and otherwise transfer the Work,
200
+ > where such license applies only to those patent claims licensable
201
+ > by such Contributor that are necessarily infringed by their
202
+ > Contribution(s) alone or by combination of their Contribution(s)
203
+ > with the Work to which such Contribution(s) was submitted. If You
204
+ > institute patent litigation against any entity (including a
205
+ > cross-claim or counterclaim in a lawsuit) alleging that the Work
206
+ > or a Contribution incorporated within the Work constitutes direct
207
+ > or contributory patent infringement, then any patent licenses
208
+ > granted to You under this License for that Work shall terminate
209
+ > as of the date such litigation is filed.
210
+ >
211
+ > 4. Redistribution. You may reproduce and distribute copies of the
212
+ > Work or Derivative Works thereof in any medium, with or without
213
+ > modifications, and in Source or Object form, provided that You
214
+ > meet the following conditions:
215
+ >
216
+ > (a) You must give any other recipients of the Work or
217
+ > Derivative Works a copy of this License; and
218
+ >
219
+ > (b) You must cause any modified files to carry prominent notices
220
+ > stating that You changed the files; and
221
+ >
222
+ > (c) You must retain, in the Source form of any Derivative Works
223
+ > that You distribute, all copyright, patent, trademark, and
224
+ > attribution notices from the Source form of the Work,
225
+ > excluding those notices that do not pertain to any part of
226
+ > the Derivative Works; and
227
+ >
228
+ > (d) If the Work includes a "NOTICE" text file as part of its
229
+ > distribution, then any Derivative Works that You distribute must
230
+ > include a readable copy of the attribution notices contained
231
+ > within such NOTICE file, excluding those notices that do not
232
+ > pertain to any part of the Derivative Works, in at least one
233
+ > of the following places: within a NOTICE text file distributed
234
+ > as part of the Derivative Works; within the Source form or
235
+ > documentation, if provided along with the Derivative Works; or,
236
+ > within a display generated by the Derivative Works, if and
237
+ > wherever such third-party notices normally appear. The contents
238
+ > of the NOTICE file are for informational purposes only and
239
+ > do not modify the License. You may add Your own attribution
240
+ > notices within Derivative Works that You distribute, alongside
241
+ > or as an addendum to the NOTICE text from the Work, provided
242
+ > that such additional attribution notices cannot be construed
243
+ > as modifying the License.
244
+ >
245
+ > You may add Your own copyright statement to Your modifications and
246
+ > may provide additional or different license terms and conditions
247
+ > for use, reproduction, or distribution of Your modifications, or
248
+ > for any such Derivative Works as a whole, provided Your use,
249
+ > reproduction, and distribution of the Work otherwise complies with
250
+ > the conditions stated in this License.
251
+ >
252
+ > 5. Submission of Contributions. Unless You explicitly state otherwise,
253
+ > any Contribution intentionally submitted for inclusion in the Work
254
+ > by You to the Licensor shall be under the terms and conditions of
255
+ > this License, without any additional terms or conditions.
256
+ > Notwithstanding the above, nothing herein shall supersede or modify
257
+ > the terms of any separate license agreement you may have executed
258
+ > with Licensor regarding such Contributions.
259
+ >
260
+ > 6. Trademarks. This License does not grant permission to use the trade
261
+ > names, trademarks, service marks, or product names of the Licensor,
262
+ > except as required for reasonable and customary use in describing the
263
+ > origin of the Work and reproducing the content of the NOTICE file.
264
+ >
265
+ > 7. Disclaimer of Warranty. Unless required by applicable law or
266
+ > agreed to in writing, Licensor provides the Work (and each
267
+ > Contributor provides its Contributions) on an "AS IS" BASIS,
268
+ > WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
269
+ > implied, including, without limitation, any warranties or conditions
270
+ > of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
271
+ > PARTICULAR PURPOSE. You are solely responsible for determining the
272
+ > appropriateness of using or redistributing the Work and assume any
273
+ > risks associated with Your exercise of permissions under this License.
274
+ >
275
+ > 8. Limitation of Liability. In no event and under no legal theory,
276
+ > whether in tort (including negligence), contract, or otherwise,
277
+ > unless required by applicable law (such as deliberate and grossly
278
+ > negligent acts) or agreed to in writing, shall any Contributor be
279
+ > liable to You for damages, including any direct, indirect, special,
280
+ > incidental, or consequential damages of any character arising as a
281
+ > result of this License or out of the use or inability to use the
282
+ > Work (including but not limited to damages for loss of goodwill,
283
+ > work stoppage, computer failure or malfunction, or any and all
284
+ > other commercial damages or losses), even if such Contributor
285
+ > has been advised of the possibility of such damages.
286
+ >
287
+ > 9. Accepting Warranty or Additional Liability. While redistributing
288
+ > the Work or Derivative Works thereof, You may choose to offer,
289
+ > and charge a fee for, acceptance of support, warranty, indemnity,
290
+ > or other liability obligations and/or rights consistent with this
291
+ > License. However, in accepting such obligations, You may act only
292
+ > on Your own behalf and on Your sole responsibility, not on behalf
293
+ > of any other Contributor, and only if You agree to indemnify,
294
+ > defend, and hold each Contributor harmless for any liability
295
+ > incurred by, or claims asserted against, such Contributor by reason
296
+ > of your accepting any such warranty or additional liability.
297
+ >
298
+ > END OF TERMS AND CONDITIONS
299
+ >
300
+ > APPENDIX: How to apply the Apache License to your work.
301
+ >
302
+ > To apply the Apache License to your work, attach the following
303
+ > boilerplate notice, with the fields enclosed by brackets "[]"
304
+ > replaced with your own identifying information. (Don't include
305
+ > the brackets!) The text should be enclosed in the appropriate
306
+ > comment syntax for the file format. We also recommend that a
307
+ > file or class name and description of purpose be included on the
308
+ > same "printed page" as the copyright notice for easier
309
+ > identification within third-party archives.
310
+ >
311
+ > Copyright [yyyy] [name of copyright owner]
312
+ >
313
+ > Licensed under the Apache License, Version 2.0 (the "License");
314
+ > you may not use this file except in compliance with the License.
315
+ > You may obtain a copy of the License at
316
+ >
317
+ > http://www.apache.org/licenses/LICENSE-2.0
318
+ >
319
+ > Unless required by applicable law or agreed to in writing, software
320
+ > distributed under the License is distributed on an "AS IS" BASIS,
321
+ > WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
322
+ > See the License for the specific language governing permissions and
323
+ > limitations under the License.
324
+
325
+ ---------------------------------------
326
+
327
+ ## @visulima/error
328
+ License: MIT
329
+ By: Daniel Bannert
330
+ Repository: git+https://github.com/visulima/visulima.git
331
+
332
+ > MIT License
333
+ >
334
+ > Copyright (c) 2026 visulima
335
+ >
336
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
337
+ > of this software and associated documentation files (the "Software"), to deal
338
+ > in the Software without restriction, including without limitation the rights
339
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
340
+ > copies of the Software, and to permit persons to whom the Software is
341
+ > furnished to do so, subject to the following conditions:
342
+ >
343
+ > The above copyright notice and this permission notice shall be included in all
344
+ > copies or substantial portions of the Software.
345
+ >
346
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
347
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
348
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
349
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
350
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
351
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
352
+ > SOFTWARE.
353
+ >
354
+ > <!-- DEPENDENCIES -->
355
+ >
356
+ > # Licenses of bundled dependencies
357
+ >
358
+ > The published @visulima/error artifact additionally contains code with the following licenses:
359
+ > MIT
360
+ >
361
+ > # Bundled dependencies:
362
+ >
363
+ > ## is-plain-obj
364
+ >
365
+ > License: MIT
366
+ > By: Sindre Sorhus
367
+ > Repository: sindresorhus/is-plain-obj
368
+ >
369
+ > > MIT License
370
+ > >
371
+ > > Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
372
+ > >
373
+ > > Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
374
+ > >
375
+ > > The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
376
+ > >
377
+ > > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
378
+ >
379
+ > <!-- /DEPENDENCIES -->
380
+ >
381
+ >
382
+ >
383
+ > # Licenses of bundled types
384
+ > The published @visulima/error artifact additionally contains code with the following licenses:
385
+ > Apache-2.0
386
+ >
387
+ > # Bundled types:
388
+ > ## ai
389
+ > License: Apache-2.0
390
+ > Repository: https://github.com/vercel/ai
391
+ >
392
+ > > Copyright 2023 Vercel, Inc.
393
+ > >
394
+ > > Licensed under the Apache License, Version 2.0 (the "License");
395
+ > > you may not use this file except in compliance with the License.
396
+ > > You may obtain a copy of the License at
397
+ > >
398
+ > > http://www.apache.org/licenses/LICENSE-2.0
399
+ > >
400
+ > > Unless required by applicable law or agreed to in writing, software
401
+ > > distributed under the License is distributed on an "AS IS" BASIS,
402
+ > > WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
403
+ > > See the License for the specific language governing permissions and
404
+ > > limitations under the License.
405
+
406
+ ---------------------------------------
407
+
408
+ ## unstorage
409
+ License: MIT
410
+ Repository: unjs/unstorage
411
+
412
+ > MIT License
413
+ >
414
+ > Copyright (c) Pooya Parsa <pooya@pi0.io>
415
+ >
416
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
417
+ > of this software and associated documentation files (the "Software"), to deal
418
+ > in the Software without restriction, including without limitation the rights
419
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
420
+ > copies of the Software, and to permit persons to whom the Software is
421
+ > furnished to do so, subject to the following conditions:
422
+ >
423
+ > The above copyright notice and this permission notice shall be included in all
424
+ > copies or substantial portions of the Software.
425
+ >
426
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
427
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
428
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
429
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
430
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
431
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
432
+ > SOFTWARE.
433
+
434
+ <!-- /TYPE_DEPENDENCIES -->