1# Third-Party Licenses
2
3Alchemy is licensed under the Apache License 2.0. Portions of the repository
4are derived from the projects listed below and remain subject to their
5respective license notices.
6
7## Astro
8
9Portions of `packages/frontend-frameworks/src/astro` are derived from
10`@astrojs/cloudflare`.
11
12Copyright (c) 2021 Fred K. Schott
13
14MIT License
15
16Permission is hereby granted, free of charge, to any person obtaining a copy
17of this software and associated documentation files (the "Software"), to deal
18in the Software without restriction, including without limitation the rights
19to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
20copies of the Software, and to permit persons to whom the Software is
21furnished to do so, subject to the following conditions:
22
23The above copyright notice and this permission notice shall be included in all
24copies or substantial portions of the Software.
25
26THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
27IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
28FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
29AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
30LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
31OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
32SOFTWARE.
33
34## SvelteKit
35
36Portions of `packages/frontend-frameworks/src/sveltekit` are derived from
37`@sveltejs/adapter-cloudflare`.
38
39Copyright (c) 2020 SvelteKit contributors
40
41The SvelteKit portions are provided under the MIT License reproduced in the
42Astro section above.
43
44## Waku
45
46Portions of `packages/frontend-frameworks/src/waku` are derived from Waku.
47
48Copyright (c) 2023 Daishi Kato
49
50The Waku portions are provided under the MIT License reproduced in the Astro
51section above.
52
53## Cloudflare Workers SDK and Miniflare
54
55Portions of `packages/cloudflare-runtime`, including the vendored
56`workers-shared` and `workflows-shared` source trees and local binding
57implementations adapted from Miniflare, are derived from Cloudflare's
58`workers-sdk` repository. Alchemy uses these portions under the MIT option of
59the upstream `MIT OR Apache-2.0` license.
60
61Copyright (c) 2020 Cloudflare, Inc. <wrangler@cloudflare.com>
62
63The Cloudflare Workers SDK and Miniflare portions are provided under the MIT
64License reproduced in the Astro section above.
65
66## OpenNext for Cloudflare
67
68Portions of `packages/frontend-frameworks/src/nextjs`, including the build
69runner and development-context integration, are derived from OpenNext for
70Cloudflare.
71
72Copyright (c) 2020 Cloudflare, Inc.
73
74The OpenNext portions are provided under the MIT License reproduced in the
75Astro section above.
76
77## SST
78
79`packages/alchemy/src/AWS/Website/cfcode.ts` contains CloudFront Function code
80ported from SST's Router component.
81
82Copyright (c) 2024 SST
83
84The SST portions are provided under the MIT License reproduced in the Astro
85section above.
86
87## node-sanitize-filename
88
89Path-sanitization expressions in
90`packages/cloudflare-runtime/src/core/internal/shared.worker.ts` are adapted
91from `node-sanitize-filename` and used under its ISC license option.
92
93Copyright Parsha Pourkhomami
94
95Permission to use, copy, modify, and/or distribute this software for any
96purpose with or without fee is hereby granted, provided that the above
97copyright notice and this permission notice appear in all copies.
98
99THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
100REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
101AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
102INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
103LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
104OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
105PERFORMANCE OF THIS SOFTWARE.
106
107## node-ignore
108
109`packages/node-utils/src/ignore.ts` is a TypeScript port
110of `ignore` (node-ignore) v7.0.5.
111
112Copyright (c) 2013 Kael Zhang <i@kael.me>, contributors
113
114The node-ignore portions are provided under the MIT License reproduced in the
115Astro section above.
116
117## SQLite
118
119The D1 simulator contains a TypeScript port of SQLite shell quoting logic.
120SQLite's deliverable source code, including its command-line interface, has
121been dedicated to the public domain. See <https://www.sqlite.org/copyright.html>.
122
123## Upstream source references
124
125- Astro: [`a2240c43830e29c1d85667f4c610655d6b10253f`](https://github.com/withastro/astro/tree/a2240c43830e29c1d85667f4c610655d6b10253f)
126- SvelteKit: [`f36b3a4cd307bd8c89e03fa191becc175e7b3077`](https://github.com/sveltejs/kit/tree/f36b3a4cd307bd8c89e03fa191becc175e7b3077)
127- Waku: [`39e868f2638c27de9635c68ebf965e14a4112e9b`](https://github.com/wakujs/waku/tree/39e868f2638c27de9635c68ebf965e14a4112e9b)
128- Cloudflare Workers SDK: [`f9e7727dbef58e71c6b297dc688d3c544cef87cb`](https://github.com/cloudflare/workers-sdk/tree/f9e7727dbef58e71c6b297dc688d3c544cef87cb)
129- Cloudflare Workers SDK (local R2 S3 endpoint, `R2BucketS3.worker.ts`): [`cd7508cccf2de1ea010320d6f3e70ec80e6e5e2e`](https://github.com/cloudflare/workers-sdk/tree/cd7508cccf2de1ea010320d6f3e70ec80e6e5e2e)
130- OpenNext for Cloudflare: [`da4b7fc8c89441a6f96205635fa70e329d1f0df7`](https://github.com/opennextjs/opennextjs-cloudflare/tree/da4b7fc8c89441a6f96205635fa70e329d1f0df7)
131- SST: <https://github.com/sst/sst>
132- node-sanitize-filename: <https://github.com/parshap/node-sanitize-filename>
133- node-ignore: <https://github.com/kaelzhang/node-ignore>
134- SQLite: <https://github.com/sqlite/sqlite>
135
136The first-class `submodules/` checkouts (distilled, floci) are separate works
137governed by the license files in their respective repositories. This notice covers code copied
138or adapted into the Alchemy repository; it does not replace the license
139documentation within those submodules.