@searchia-widget-test/widget 0.0.0-stage → 0.1.0-test.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.md +21 -0
- package/OFL.txt +93 -0
- package/README.md +105 -2
- package/dist/THIRD_PARTY_NOTICES.txt +279 -0
- package/dist/index.cjs +157 -0
- package/dist/index.d.cts +397 -0
- package/dist/index.d.ts +397 -0
- package/dist/index.js +157 -0
- package/dist/style.css +2158 -0
- package/package.json +48 -4
package/LICENSE.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025-present Algolia, Inc.
|
|
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.
|
package/OFL.txt
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2015 The Vazirmatn Project Authors (https://github.com/rastikerdar/vazirmatn)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,106 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Searchia Widget
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
AI search and chat for JavaScript websites. Persian/English UI, scoped CSS and an embedded Persian font. The UI runtime (Preact) is bundled; the host application does not need React or Bun.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
This package is prepared for npm but has not been published to the public registry yet. To build the installable archive from this repository (after installing the repository's development dependencies):
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
npm run pack:widget
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
In the customer project:
|
|
14
|
+
|
|
15
|
+
```sh
|
|
16
|
+
npm install /absolute/path/to/sitesearch/artifacts/npm/searchia-widget-test-widget-0.1.0-test.0.tgz
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
This is an experimental release under the test organization `@searchia-widget-test`, not the final company package. After publication, install it with `npm install @searchia-widget-test/widget@test`.
|
|
20
|
+
|
|
21
|
+
## Use
|
|
22
|
+
|
|
23
|
+
In a project with a bundler such as Vite, Next.js or webpack:
|
|
24
|
+
|
|
25
|
+
```js
|
|
26
|
+
import SearchiaChat from "@searchia-widget-test/widget";
|
|
27
|
+
import "@searchia-widget-test/widget/style.css";
|
|
28
|
+
|
|
29
|
+
SearchiaChat.init({
|
|
30
|
+
locale: "fa",
|
|
31
|
+
title: "دستیار سرچیا",
|
|
32
|
+
});
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
This creates a floating chat button and uses mock answers. For an inline AI search input, create `<div id="searchia"></div>` and pass `container: "#searchia", showSearch: true`.
|
|
36
|
+
|
|
37
|
+
### Connect Searchia
|
|
38
|
+
|
|
39
|
+
Add the existing Searchia preview API configuration to `init`:
|
|
40
|
+
|
|
41
|
+
```js
|
|
42
|
+
SearchiaChat.init({
|
|
43
|
+
locale: "fa",
|
|
44
|
+
searchia: {
|
|
45
|
+
endpoint: "/api/v1/agents/test/completions",
|
|
46
|
+
configuration: () => loadAgentConfiguration(),
|
|
47
|
+
},
|
|
48
|
+
});
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
`loadAgentConfiguration` is a function provided by your application, returning the backend's configuration including `id` and `tools`. It may be async. `searchia.apiKey` is optional and sent as `X-API-Key`; only use a key intended for public browser use. Cross-origin endpoints must allow the website's origin. The current Searchia backend requires the preview configuration; installing the package does not change that contract.
|
|
52
|
+
|
|
53
|
+
The existing Algolia adapter is also available through `algolia: { applicationId, apiKey, indexName, assistantId, agentStudio: true }`. `apiKey` must be a public, restricted key. A custom `adapter` takes precedence over `searchia`, which takes precedence over `algolia`. Without a connection, the widget uses mock responses.
|
|
54
|
+
|
|
55
|
+
### Methods and types
|
|
56
|
+
|
|
57
|
+
```ts
|
|
58
|
+
import { init, destroy, setLocale, type SearchiaChatInitOptions } from "@searchia-widget-test/widget";
|
|
59
|
+
|
|
60
|
+
const options: SearchiaChatInitOptions = { container: "#searchia", locale: "fa", showSearch: true };
|
|
61
|
+
init(options);
|
|
62
|
+
setLocale("en", "#searchia");
|
|
63
|
+
destroy("#searchia");
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
`open`, `openSearch`, `ask`, `SearchiaApiAdapter`, `AlgoliaChatAdapter` and `MockSearchiaAdapter` are named exports too. Importing on a server is supported; call `init` only after the DOM is available. Load the CSS once in your app's stylesheet entry point. CommonJS consumers can use `const { init } = require("@searchia-widget-test/widget")`.
|
|
67
|
+
|
|
68
|
+
### React / Next.js
|
|
69
|
+
|
|
70
|
+
```tsx
|
|
71
|
+
"use client";
|
|
72
|
+
import { useEffect, useRef } from "react";
|
|
73
|
+
import { init, destroy } from "@searchia-widget-test/widget";
|
|
74
|
+
|
|
75
|
+
export function SearchiaSearch() {
|
|
76
|
+
const ref = useRef<HTMLDivElement>(null);
|
|
77
|
+
useEffect(() => {
|
|
78
|
+
const container = ref.current;
|
|
79
|
+
if (!container) return;
|
|
80
|
+
init({ container, locale: "fa", showSearch: true, showChatTrigger: false });
|
|
81
|
+
return () => destroy(container);
|
|
82
|
+
}, []);
|
|
83
|
+
return <div ref={ref} />;
|
|
84
|
+
}
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
Import `@searchia-widget-test/widget/style.css` in your global CSS entry, for example Next.js `app/layout.tsx`. This mounts the JavaScript widget into a host element; it does not export a native React component.
|
|
88
|
+
|
|
89
|
+
## Verify and publish
|
|
90
|
+
|
|
91
|
+
From the repository root:
|
|
92
|
+
|
|
93
|
+
```sh
|
|
94
|
+
npm run test:widget
|
|
95
|
+
npm run pack:widget
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
The verification installs the actual tarball into an independent project and checks ESM/CommonJS imports, TypeScript declarations and CSS bundling. To include a DOM check with a simulated SSE backend, set `SEARCHIA_TEST_DOM_MODULE` to an installed `happy-dom/lib/index.js`.
|
|
99
|
+
|
|
100
|
+
After confirming ownership of the final package scope, updating the name if necessary, and logging in with `npm login`, publish the exact reviewed artifact:
|
|
101
|
+
|
|
102
|
+
```sh
|
|
103
|
+
npm publish ./artifacts/npm/searchia-widget-test-widget-0.1.0-test.0.tgz --access public --tag test
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
MIT; see `LICENSE.md`. The bundled Vazirmatn font uses SIL OFL; see `OFL.txt`.
|
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
@ai-sdk/provider-utils@3.0.9
|
|
2
|
+
============================
|
|
3
|
+
|
|
4
|
+
Copyright 2023 Vercel, Inc.
|
|
5
|
+
|
|
6
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
you may not use this file except in compliance with the License.
|
|
8
|
+
You may obtain a copy of the License at
|
|
9
|
+
|
|
10
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
|
|
12
|
+
Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
See the License for the specific language governing permissions and
|
|
16
|
+
limitations under the License.
|
|
17
|
+
|
|
18
|
+
@ai-sdk/provider@2.0.0
|
|
19
|
+
======================
|
|
20
|
+
|
|
21
|
+
Copyright 2023 Vercel, Inc.
|
|
22
|
+
|
|
23
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
24
|
+
you may not use this file except in compliance with the License.
|
|
25
|
+
You may obtain a copy of the License at
|
|
26
|
+
|
|
27
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
28
|
+
|
|
29
|
+
Unless required by applicable law or agreed to in writing, software
|
|
30
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
31
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
32
|
+
See the License for the specific language governing permissions and
|
|
33
|
+
limitations under the License.
|
|
34
|
+
|
|
35
|
+
@ai-sdk/react@2.0.48
|
|
36
|
+
====================
|
|
37
|
+
|
|
38
|
+
Copyright 2023 Vercel, Inc.
|
|
39
|
+
|
|
40
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
41
|
+
you may not use this file except in compliance with the License.
|
|
42
|
+
You may obtain a copy of the License at
|
|
43
|
+
|
|
44
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
45
|
+
|
|
46
|
+
Unless required by applicable law or agreed to in writing, software
|
|
47
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
48
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
49
|
+
See the License for the specific language governing permissions and
|
|
50
|
+
limitations under the License.
|
|
51
|
+
|
|
52
|
+
@algolia/client-common@5.40.0
|
|
53
|
+
=============================
|
|
54
|
+
|
|
55
|
+
MIT License
|
|
56
|
+
|
|
57
|
+
Copyright (c) 2013-Present Algolia
|
|
58
|
+
|
|
59
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
60
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
61
|
+
in the Software without restriction, including without limitation the rights
|
|
62
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
63
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
64
|
+
furnished to do so, subject to the following conditions:
|
|
65
|
+
|
|
66
|
+
The above copyright notice and this permission notice shall be included in all
|
|
67
|
+
copies or substantial portions of the Software.
|
|
68
|
+
|
|
69
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
70
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
71
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
72
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
73
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
74
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
75
|
+
SOFTWARE.
|
|
76
|
+
|
|
77
|
+
@algolia/requester-browser-xhr@5.40.0
|
|
78
|
+
=====================================
|
|
79
|
+
|
|
80
|
+
MIT License
|
|
81
|
+
|
|
82
|
+
Copyright (c) 2013-Present Algolia
|
|
83
|
+
|
|
84
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
85
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
86
|
+
in the Software without restriction, including without limitation the rights
|
|
87
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
88
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
89
|
+
furnished to do so, subject to the following conditions:
|
|
90
|
+
|
|
91
|
+
The above copyright notice and this permission notice shall be included in all
|
|
92
|
+
copies or substantial portions of the Software.
|
|
93
|
+
|
|
94
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
95
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
96
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
97
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
98
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
99
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
100
|
+
SOFTWARE.
|
|
101
|
+
|
|
102
|
+
ai@5.0.48
|
|
103
|
+
=========
|
|
104
|
+
|
|
105
|
+
Copyright 2023 Vercel, Inc.
|
|
106
|
+
|
|
107
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
108
|
+
you may not use this file except in compliance with the License.
|
|
109
|
+
You may obtain a copy of the License at
|
|
110
|
+
|
|
111
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
112
|
+
|
|
113
|
+
Unless required by applicable law or agreed to in writing, software
|
|
114
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
115
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
116
|
+
See the License for the specific language governing permissions and
|
|
117
|
+
limitations under the License.
|
|
118
|
+
|
|
119
|
+
algoliasearch@5.40.0
|
|
120
|
+
====================
|
|
121
|
+
|
|
122
|
+
MIT License
|
|
123
|
+
|
|
124
|
+
Copyright (c) 2013-Present Algolia
|
|
125
|
+
|
|
126
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
127
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
128
|
+
in the Software without restriction, including without limitation the rights
|
|
129
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
130
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
131
|
+
furnished to do so, subject to the following conditions:
|
|
132
|
+
|
|
133
|
+
The above copyright notice and this permission notice shall be included in all
|
|
134
|
+
copies or substantial portions of the Software.
|
|
135
|
+
|
|
136
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
137
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
138
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
139
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
140
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
141
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
142
|
+
SOFTWARE.
|
|
143
|
+
|
|
144
|
+
eventsource-parser@3.0.6
|
|
145
|
+
========================
|
|
146
|
+
|
|
147
|
+
MIT License
|
|
148
|
+
|
|
149
|
+
Copyright (c) 2025 Espen Hovlandsdal <espen@hovlandsdal.com>
|
|
150
|
+
|
|
151
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
152
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
153
|
+
in the Software without restriction, including without limitation the rights
|
|
154
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
155
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
156
|
+
furnished to do so, subject to the following conditions:
|
|
157
|
+
|
|
158
|
+
The above copyright notice and this permission notice shall be included in all
|
|
159
|
+
copies or substantial portions of the Software.
|
|
160
|
+
|
|
161
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
162
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
163
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
164
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
165
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
166
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
167
|
+
SOFTWARE.
|
|
168
|
+
|
|
169
|
+
marked@16.4.0
|
|
170
|
+
=============
|
|
171
|
+
|
|
172
|
+
# License information
|
|
173
|
+
|
|
174
|
+
## Contribution License Agreement
|
|
175
|
+
|
|
176
|
+
If you contribute code to this project, you are implicitly allowing your code
|
|
177
|
+
to be distributed under the MIT license. You are also implicitly verifying that
|
|
178
|
+
all code is your original work. `</legalese>`
|
|
179
|
+
|
|
180
|
+
## Marked
|
|
181
|
+
|
|
182
|
+
Copyright (c) 2018+, MarkedJS (https://github.com/markedjs/)
|
|
183
|
+
Copyright (c) 2011-2018, Christopher Jeffrey (https://github.com/chjj/)
|
|
184
|
+
|
|
185
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
186
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
187
|
+
in the Software without restriction, including without limitation the rights
|
|
188
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
189
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
190
|
+
furnished to do so, subject to the following conditions:
|
|
191
|
+
|
|
192
|
+
The above copyright notice and this permission notice shall be included in
|
|
193
|
+
all copies or substantial portions of the Software.
|
|
194
|
+
|
|
195
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
196
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
197
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
198
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
199
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
200
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
201
|
+
THE SOFTWARE.
|
|
202
|
+
|
|
203
|
+
## Markdown
|
|
204
|
+
|
|
205
|
+
Copyright © 2004, John Gruber
|
|
206
|
+
http://daringfireball.net/
|
|
207
|
+
All rights reserved.
|
|
208
|
+
|
|
209
|
+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
210
|
+
|
|
211
|
+
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
|
212
|
+
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
|
213
|
+
* Neither the name “Markdown” nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
|
|
214
|
+
|
|
215
|
+
This software is provided by the copyright holders and contributors “as is” and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the copyright owner or contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.
|
|
216
|
+
|
|
217
|
+
preact@10.27.2
|
|
218
|
+
==============
|
|
219
|
+
|
|
220
|
+
The MIT License (MIT)
|
|
221
|
+
|
|
222
|
+
Copyright (c) 2015-present Jason Miller
|
|
223
|
+
|
|
224
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
225
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
226
|
+
in the Software without restriction, including without limitation the rights
|
|
227
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
228
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
229
|
+
furnished to do so, subject to the following conditions:
|
|
230
|
+
|
|
231
|
+
The above copyright notice and this permission notice shall be included in all
|
|
232
|
+
copies or substantial portions of the Software.
|
|
233
|
+
|
|
234
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
235
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
236
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
237
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
238
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
239
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
240
|
+
SOFTWARE.
|
|
241
|
+
|
|
242
|
+
throttleit@2.1.0
|
|
243
|
+
================
|
|
244
|
+
|
|
245
|
+
MIT License
|
|
246
|
+
|
|
247
|
+
Copyright (c) TJ Holowaychuk <tj@tjholowaychuk.com>
|
|
248
|
+
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
249
|
+
|
|
250
|
+
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:
|
|
251
|
+
|
|
252
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
253
|
+
|
|
254
|
+
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.
|
|
255
|
+
|
|
256
|
+
zod@3.25.76
|
|
257
|
+
===========
|
|
258
|
+
|
|
259
|
+
MIT License
|
|
260
|
+
|
|
261
|
+
Copyright (c) 2025 Colin McDonnell
|
|
262
|
+
|
|
263
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
264
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
265
|
+
in the Software without restriction, including without limitation the rights
|
|
266
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
267
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
268
|
+
furnished to do so, subject to the following conditions:
|
|
269
|
+
|
|
270
|
+
The above copyright notice and this permission notice shall be included in all
|
|
271
|
+
copies or substantial portions of the Software.
|
|
272
|
+
|
|
273
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
274
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
275
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
276
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
277
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
278
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
279
|
+
SOFTWARE.
|