Find code by asking what it does. A CLI for coding agents that uses Jev to discover relevant files and source context.
TypeScript ai-sdkclaude-codeclicode-searchcodexcoding-agentscontext-retrievaldeveloper-toolsjevsemantic-searchtypescriptvercel-ai-gateway
Package pinned offline CPython worker and runtime notices
David Zhang5df3fc4fb670
diff --git a/apps/cli/package.json b/apps/cli/package.jsonindex 5c77e64..d0cd07b 100644--- a/apps/cli/package.json+++ b/apps/cli/package.json@@ -30,7 +30,7 @@},"dependencies": {"typescript": "5.9.3",- "web-tree-sitter": "0.25.10"+ "pyodide": "0.25.1"},"devDependencies": {"@clack/prompts": "1.8.1",diff --git a/packages/core/assets/README.md b/packages/core/assets/README.mdindex d36fe7a..088eebf 100644--- a/packages/core/assets/README.md+++ b/packages/core/assets/README.md@@ -1,12 +1,11 @@-# Packaged Python parser+# Packaged Python helpers-The grammar is the unmodified `tree-sitter-python.wasm` from the official-[`[email protected]` npm tarball](https://registry.npmjs.org/tree-sitter-python/-/tree-sitter-python-0.25.0.tgz).-Its SHA-256 is `16108b50df4ee9a30168794252ab55e7c93bfc5765d7fa0aa3e335752c515f47`.-The adjacent MIT license comes from that same archive.+The Python helpers in `python/` are the frozen reference scripts. The standalone+worker executes them with the pinned Pyodide CPython runtime, supplied by the+normal npm dependency. The installed package includes the worker and helpers;+Pyodide includes its interpreter WASM and standard library. Parsing requires no+Python executable or runtime download.-Keep this directory beside the compiled source module's parent. The parser resolves-its grammar from the module location, so installing or running from another working-directory does not change asset lookup. The Web Tree-sitter runtime is an exact npm-dependency with its own WASM and MIT license; it must remain available in the packed-installation. Neither grammar nor runtime is downloaded while inspecting source.+Helpers resolve relative to the worker module, independently of the working+directory. Runtime source provenance and component licenses are retained in the+package's `THIRD_PARTY_NOTICES.txt`; their source copies live in `scripts/licenses/`.diff --git a/packages/core/assets/tree-sitter-python.LICENSE b/packages/core/assets/tree-sitter-python.LICENSEdeleted file mode 100644index ff8ed93..0000000--- a/packages/core/assets/tree-sitter-python.LICENSE+++ /dev/null@@ -1,21 +0,0 @@-The MIT License (MIT)--Copyright (c) 2016 Max Brunsfeld--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:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--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.diff --git a/packages/core/assets/tree-sitter-python.wasm b/packages/core/assets/tree-sitter-python.wasmdeleted file mode 100644index dc9de36..0000000Binary files a/packages/core/assets/tree-sitter-python.wasm and /dev/null differdiff --git a/scripts/build-cli.ts b/scripts/build-cli.tsindex 5ba2f72..4ced079 100644--- a/scripts/build-cli.ts+++ b/scripts/build-cli.ts@@ -1,11 +1,12 @@-import { chmod, cp, mkdir, rm, writeFile } from "node:fs/promises";+import { chmod, cp, mkdir, readFile, rm, writeFile } from "node:fs/promises";import { dirname, join } from "node:path";import { fileURLToPath } from "node:url";-import { bundledNotices } from "./package-notices.mjs";+import { bundledNotices, pythonRuntimeNotices } from "./package-notices.mjs";const root = fileURLToPath(new URL("../", import.meta.url));const out = join(root, "apps/cli/dist");+const metadata = JSON.parse(await readFile(join(root, "apps/cli/package.json"), "utf8"));await rm(out, { recursive: true, force: true });await mkdir(join(out, "bin"), { recursive: true });const build = await Bun.build({@@ -14,14 +15,16 @@ const build = await Bun.build({target: "node",format: "esm",metafile: true,- external: ["web-tree-sitter", "typescript"],+ external: ["pyodide", "typescript"],});if (!build.success) throw new AggregateError(build.logs, "CLI build failed");await chmod(join(out, "bin/index.js"), 0o755);await writeFile(join(out, "THIRD_PARTY_NOTICES.txt"),- await bundledNotices(build.metafile!, process.cwd()),+ (await bundledNotices(build.metafile!, process.cwd())) ++ (await pythonRuntimeNotices(metadata.dependencies.pyodide)),);+await cp(join(root, "packages/core/src/python-worker.mjs"), join(out, "bin/python-worker.mjs"));await cp(join(root, "LICENSE"), join(out, "LICENSE"));await cp(join(root, "packages/core/assets"), join(out, "assets"), { recursive: true });const skill = join(out, "skills/jevgrep/SKILL.md");diff --git a/scripts/licenses/README.md b/scripts/licenses/README.mdindex 26f0bad..2b20449 100644--- a/scripts/licenses/README.md+++ b/scripts/licenses/README.md@@ -9,3 +9,23 @@ version-specific so an upgrade cannot silently reuse an unchecked notice.The notice generator retains package copyright notices and includes these termswhen emitted dependencies use Apache-2.0. Builds read these retained sources;there is no build-time or runtime license download.++## External Python runtime++Pyodide's npm package omits license files and labels itself Apache-2.0, while its+[tagged upstream license](https://github.com/pyodide/pyodide/blob/0.25.1/LICENSE)+is MPL-2.0. The notice generator preserves both records and the actual component+texts; it does not relabel the whole distribution Apache-only. Corresponding+source links are included for the unmodified runtime and its build/CPython patches.++The pinned [build configuration](https://github.com/pyodide/pyodide/blob/0.25.1/Makefile.envs)+identifies CPython 3.11.3 and Emscripten 3.1.46; the+[CPython makefile](https://github.com/pyodide/pyodide/blob/0.25.1/cpython/Makefile)+pins libffi and hiwire. Retained license files come from those exact source+versions. CPython's license documentation preserves its bundled-component+notices; Emscripten's license and system-library notices preserve the runtime+terms. The source URLs are maintained with the notice generator. The separately+installed `base-64` and `ws` packages already carry their own licenses.++Changing the runtime version requires checking these source versions and notices+again. No license text is downloaded during build or execution.diff --git a/scripts/licenses/bzip2-1.0.6.LICENSE b/scripts/licenses/bzip2-1.0.6.LICENSEnew file mode 100644index 0000000..cc61417--- /dev/null+++ b/scripts/licenses/bzip2-1.0.6.LICENSE@@ -0,0 +1,42 @@++--------------------------------------------------------------------------++This program, "bzip2", the associated library "libbzip2", and all+documentation, are copyright (C) 1996-2010 Julian R Seward. All+rights reserved.++Redistribution and use in source and binary forms, with or without+modification, are permitted provided that the following conditions+are met:++1. Redistributions of source code must retain the above copyright+ notice, this list of conditions and the following disclaimer.++2. The origin of this software must not be misrepresented; you must+ not claim that you wrote the original software. If you use this+ software in a product, an acknowledgment in the product+ documentation would be appreciated but is not required.++3. Altered source versions must be plainly marked as such, and must+ not be misrepresented as being the original software.++4. The name of the author may not be used to endorse or promote+ products derived from this software without specific prior written+ permission.++THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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.++Julian Seward, [email protected]+bzip2/libbzip2 version 1.0.6 of 6 September 2010++--------------------------------------------------------------------------diff --git a/scripts/licenses/cpython-3.11.3-license.rst b/scripts/licenses/cpython-3.11.3-license.rstnew file mode 100644index 0000000..37a3d4f--- /dev/null+++ b/scripts/licenses/cpython-3.11.3-license.rst@@ -0,0 +1,1014 @@+.. highlight:: none++.. _history-and-license:++*******************+History and License+*******************+++History of the software+=======================++Python was created in the early 1990s by Guido van Rossum at Stichting+Mathematisch Centrum (CWI, see https://www.cwi.nl/) in the Netherlands as a+successor of a language called ABC. Guido remains Python's principal author,+although it includes many contributions from others.++In 1995, Guido continued his work on Python at the Corporation for National+Research Initiatives (CNRI, see https://www.cnri.reston.va.us/) in Reston,+Virginia where he released several versions of the software.++In May 2000, Guido and the Python core development team moved to BeOpen.com to+form the BeOpen PythonLabs team. In October of the same year, the PythonLabs+team moved to Digital Creations (now Zope Corporation; see+https://www.zope.org/). In 2001, the Python Software Foundation (PSF, see+https://www.python.org/psf/) was formed, a non-profit organization created+specifically to own Python-related Intellectual Property. Zope Corporation is a+sponsoring member of the PSF.++All Python releases are Open Source (see https://opensource.org/ for the Open+Source Definition). Historically, most, but not all, Python releases have also+been GPL-compatible; the table below summarizes the various releases.+++----------------+--------------+------------+------------+-----------------++| Release | Derived from | Year | Owner | GPL compatible? |++================+==============+============+============+=================++| 0.9.0 thru 1.2 | n/a | 1991-1995 | CWI | yes |++----------------+--------------+------------+------------+-----------------++| 1.3 thru 1.5.2 | 1.2 | 1995-1999 | CNRI | yes |++----------------+--------------+------------+------------+-----------------++| 1.6 | 1.5.2 | 2000 | CNRI | no |++----------------+--------------+------------+------------+-----------------++| 2.0 | 1.6 | 2000 | BeOpen.com | no |++----------------+--------------+------------+------------+-----------------++| 1.6.1 | 1.6 | 2001 | CNRI | no |++----------------+--------------+------------+------------+-----------------++| 2.1 | 2.0+1.6.1 | 2001 | PSF | no |++----------------+--------------+------------+------------+-----------------++| 2.0.1 | 2.0+1.6.1 | 2001 | PSF | yes |++----------------+--------------+------------+------------+-----------------++| 2.1.1 | 2.1+2.0.1 | 2001 | PSF | yes |++----------------+--------------+------------+------------+-----------------++| 2.1.2 | 2.1.1 | 2002 | PSF | yes |++----------------+--------------+------------+------------+-----------------++| 2.1.3 | 2.1.2 | 2002 | PSF | yes |++----------------+--------------+------------+------------+-----------------++| 2.2 and above | 2.1.1 | 2001-now | PSF | yes |++----------------+--------------+------------+------------+-----------------+++.. note::++ GPL-compatible doesn't mean that we're distributing Python under the GPL. All+ Python licenses, unlike the GPL, let you distribute a modified version without+ making your changes open source. The GPL-compatible licenses make it possible to+ combine Python with other software that is released under the GPL; the others+ don't.++Thanks to the many outside volunteers who have worked under Guido's direction to+make these releases possible.+++Terms and conditions for accessing or otherwise using Python+============================================================++Python software and documentation are licensed under the+:ref:`PSF License Agreement <PSF-license>`.++Starting with Python 3.8.6, examples, recipes, and other code in+the documentation are dual licensed under the PSF License Agreement+and the :ref:`Zero-Clause BSD license <BSD0>`.++Some software incorporated into Python is under different licenses.+The licenses are listed with code falling under that license.+See :ref:`OtherLicenses` for an incomplete list of these licenses.+++.. _PSF-license:++PSF LICENSE AGREEMENT FOR PYTHON |release|+------------------------------------------++.. parsed-literal::++ 1. This LICENSE AGREEMENT is between the Python Software Foundation ("PSF"), and+ the Individual or Organization ("Licensee") accessing and otherwise using Python+ |release| software in source or binary form and its associated documentation.++ 2. Subject to the terms and conditions of this License Agreement, PSF hereby+ grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,+ analyze, test, perform and/or display publicly, prepare derivative works,+ distribute, and otherwise use Python |release| alone or in any derivative+ version, provided, however, that PSF's License Agreement and PSF's notice of+ copyright, i.e., "Copyright © 2001-2023 Python Software Foundation; All Rights+ Reserved" are retained in Python |release| alone or in any derivative version+ prepared by Licensee.++ 3. In the event Licensee prepares a derivative work that is based on or+ incorporates Python |release| or any part thereof, and wants to make the+ derivative work available to others as provided herein, then Licensee hereby+ agrees to include in any such work a brief summary of the changes made to Python+ |release|.++ 4. PSF is making Python |release| available to Licensee on an "AS IS" basis.+ PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF+ EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND DISCLAIMS ANY REPRESENTATION OR+ WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE+ USE OF PYTHON |release| WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.++ 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON |release|+ FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF+ MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON |release|, OR ANY DERIVATIVE+ THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.++ 6. This License Agreement will automatically terminate upon a material breach of+ its terms and conditions.++ 7. Nothing in this License Agreement shall be deemed to create any relationship+ of agency, partnership, or joint venture between PSF and Licensee. This License+ Agreement does not grant permission to use PSF trademarks or trade name in a+ trademark sense to endorse or promote products or services of Licensee, or any+ third party.++ 8. By copying, installing or otherwise using Python |release|, Licensee agrees+ to be bound by the terms and conditions of this License Agreement.+++BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0+-------------------------------------------++BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1++.. parsed-literal::++ 1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an office at+ 160 Saratoga Avenue, Santa Clara, CA 95051, and the Individual or Organization+ ("Licensee") accessing and otherwise using this software in source or binary+ form and its associated documentation ("the Software").++ 2. Subject to the terms and conditions of this BeOpen Python License Agreement,+ BeOpen hereby grants Licensee a non-exclusive, royalty-free, world-wide license+ to reproduce, analyze, test, perform and/or display publicly, prepare derivative+ works, distribute, and otherwise use the Software alone or in any derivative+ version, provided, however, that the BeOpen Python License is retained in the+ Software, alone or in any derivative version prepared by Licensee.++ 3. BeOpen is making the Software available to Licensee on an "AS IS" basis.+ BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF+ EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND DISCLAIMS ANY REPRESENTATION OR+ WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE+ USE OF THE SOFTWARE WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.++ 4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE SOFTWARE FOR+ ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF USING,+ MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY DERIVATIVE THEREOF, EVEN IF+ ADVISED OF THE POSSIBILITY THEREOF.++ 5. This License Agreement will automatically terminate upon a material breach of+ its terms and conditions.++ 6. This License Agreement shall be governed by and interpreted in all respects+ by the law of the State of California, excluding conflict of law provisions.+ Nothing in this License Agreement shall be deemed to create any relationship of+ agency, partnership, or joint venture between BeOpen and Licensee. This License+ Agreement does not grant permission to use BeOpen trademarks or trade names in a+ trademark sense to endorse or promote products or services of Licensee, or any+ third party. As an exception, the "BeOpen Python" logos available at+ http://www.pythonlabs.com/logos.html may be used according to the permissions+ granted on that web page.++ 7. By copying, installing or otherwise using the software, Licensee agrees to be+ bound by the terms and conditions of this License Agreement.+++CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1+---------------------------------------++.. parsed-literal::++ 1. This LICENSE AGREEMENT is between the Corporation for National Research+ Initiatives, having an office at 1895 Preston White Drive, Reston, VA 20191+ ("CNRI"), and the Individual or Organization ("Licensee") accessing and+ otherwise using Python 1.6.1 software in source or binary form and its+ associated documentation.++ 2. Subject to the terms and conditions of this License Agreement, CNRI hereby+ grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,+ analyze, test, perform and/or display publicly, prepare derivative works,+ distribute, and otherwise use Python 1.6.1 alone or in any derivative version,+ provided, however, that CNRI's License Agreement and CNRI's notice of copyright,+ i.e., "Copyright © 1995-2001 Corporation for National Research Initiatives; All+ Rights Reserved" are retained in Python 1.6.1 alone or in any derivative version+ prepared by Licensee. Alternately, in lieu of CNRI's License Agreement,+ Licensee may substitute the following text (omitting the quotes): "Python 1.6.1+ is made available subject to the terms and conditions in CNRI's License+ Agreement. This Agreement together with Python 1.6.1 may be located on the+ internet using the following unique, persistent identifier (known as a handle):+ 1895.22/1013. This Agreement may also be obtained from a proxy server on the+ internet using the following URL: http://hdl.handle.net/1895.22/1013."++ 3. In the event Licensee prepares a derivative work that is based on or+ incorporates Python 1.6.1 or any part thereof, and wants to make the derivative+ work available to others as provided herein, then Licensee hereby agrees to+ include in any such work a brief summary of the changes made to Python 1.6.1.++ 4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS" basis. CNRI+ MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE,+ BUT NOT LIMITATION, CNRI MAKES NO AND DISCLAIMS ANY REPRESENTATION OR WARRANTY+ OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF+ PYTHON 1.6.1 WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.++ 5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON 1.6.1 FOR+ ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF+ MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1, OR ANY DERIVATIVE+ THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.++ 6. This License Agreement will automatically terminate upon a material breach of+ its terms and conditions.++ 7. This License Agreement shall be governed by the federal intellectual property+ law of the United States, including without limitation the federal copyright+ law, and, to the extent such U.S. federal law does not apply, by the law of the+ Commonwealth of Virginia, excluding Virginia's conflict of law provisions.+ Notwithstanding the foregoing, with regard to derivative works based on Python+ 1.6.1 that incorporate non-separable material that was previously distributed+ under the GNU General Public License (GPL), the law of the Commonwealth of+ Virginia shall govern this License Agreement only as to issues arising under or+ with respect to Paragraphs 4, 5, and 7 of this License Agreement. Nothing in+ this License Agreement shall be deemed to create any relationship of agency,+ partnership, or joint venture between CNRI and Licensee. This License Agreement+ does not grant permission to use CNRI trademarks or trade name in a trademark+ sense to endorse or promote products or services of Licensee, or any third+ party.++ 8. By clicking on the "ACCEPT" button where indicated, or by copying, installing+ or otherwise using Python 1.6.1, Licensee agrees to be bound by the terms and+ conditions of this License Agreement.+++CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2+--------------------------------------------------++.. parsed-literal::++ Copyright © 1991 - 1995, Stichting Mathematisch Centrum Amsterdam, The+ Netherlands. All rights reserved.++ Permission to use, copy, modify, and distribute this software and its+ documentation for any purpose and without fee is hereby granted, provided that+ the above copyright notice appear in all copies and that both that copyright+ notice and this permission notice appear in supporting documentation, and that+ the name of Stichting Mathematisch Centrum or CWI not be used in advertising or+ publicity pertaining to distribution of the software without specific, written+ prior permission.++ STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS+ SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO+ EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE FOR ANY SPECIAL, INDIRECT+ OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,+ DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS+ ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS+ SOFTWARE.+++.. _BSD0:++ZERO-CLAUSE BSD LICENSE FOR CODE IN THE PYTHON |release| DOCUMENTATION+----------------------------------------------------------------------++.. parsed-literal::++ Permission to use, copy, modify, and/or distribute this software for any+ purpose with or without fee is hereby granted.++ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR+ PERFORMANCE OF THIS SOFTWARE.+++.. _OtherLicenses:++Licenses and Acknowledgements for Incorporated Software+=======================================================++This section is an incomplete, but growing list of licenses and acknowledgements+for third-party software incorporated in the Python distribution.+++Mersenne Twister+----------------++The :mod:`_random` module includes code based on a download from+http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/MT2002/emt19937ar.html. The following are+the verbatim comments from the original code::++ A C-program for MT19937, with initialization improved 2002/1/26.+ Coded by Takuji Nishimura and Makoto Matsumoto.++ Before using, initialize the state by using init_genrand(seed)+ or init_by_array(init_key, key_length).++ Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura,+ All rights reserved.++ Redistribution and use in source and binary forms, with or without+ modification, are permitted provided that the following conditions+ are met:++ 1. Redistributions of source code must retain the above copyright+ notice, this list of conditions and the following disclaimer.++ 2. 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.++ 3. The names of its contributors may not be used to endorse or promote+ products derived from this software without specific prior written+ permission.++ 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.+++ Any feedback is very welcome.+ http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html+ email: m-mat @ math.sci.hiroshima-u.ac.jp (remove space)+++Sockets+-------++The :mod:`socket` module uses the functions, :func:`getaddrinfo`, and+:func:`getnameinfo`, which are coded in separate source files from the WIDE+Project, https://www.wide.ad.jp/. ::++ Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.+ All rights reserved.++ Redistribution and use in source and binary forms, with or without+ modification, are permitted provided that the following conditions+ are met:+ 1. Redistributions of source code must retain the above copyright+ notice, this list of conditions and the following disclaimer.+ 2. 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.+ 3. Neither the name of the project nor the names of its contributors+ may be used to endorse or promote products derived from this software+ without specific prior written permission.++ THIS SOFTWARE IS PROVIDED BY THE PROJECT 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 PROJECT 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.+++Asynchronous socket services+----------------------------++The :mod:`asynchat` and :mod:`asyncore` modules contain the following notice::++ Copyright 1996 by Sam Rushing++ All Rights Reserved++ Permission to use, copy, modify, and distribute this software and+ its documentation for any purpose and without fee is hereby+ granted, provided that the above copyright notice appear in all+ copies and that both that copyright notice and this permission+ notice appear in supporting documentation, and that the name of Sam+ Rushing not be used in advertising or publicity pertaining to+ distribution of the software without specific, written prior+ permission.++ SAM RUSHING DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,+ INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN+ NO EVENT SHALL SAM RUSHING BE LIABLE FOR ANY SPECIAL, INDIRECT OR+ CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS+ OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,+ NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN+ CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.+++Cookie management+-----------------++The :mod:`http.cookies` module contains the following notice::++ Copyright 2000 by Timothy O'Malley <[email protected]>++ All Rights Reserved++ Permission to use, copy, modify, and distribute this software+ and its documentation for any purpose and without fee is hereby+ granted, provided that the above copyright notice appear in all+ copies and that both that copyright notice and this permission+ notice appear in supporting documentation, and that the name of+ Timothy O'Malley not be used in advertising or publicity+ pertaining to distribution of the software without specific, written+ prior permission.++ Timothy O'Malley DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS+ SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY+ AND FITNESS, IN NO EVENT SHALL Timothy O'Malley BE LIABLE FOR+ ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS+ ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR+ PERFORMANCE OF THIS SOFTWARE.+++Execution tracing+-----------------++The :mod:`trace` module contains the following notice::++ portions copyright 2001, Autonomous Zones Industries, Inc., all rights...+ err... reserved and offered to the public under the terms of the+ Python 2.2 license.+ Author: Zooko O'Whielacronx+ http://zooko.com/+ mailto:[email protected]++ Copyright 2000, Mojam Media, Inc., all rights reserved.+ Author: Skip Montanaro++ Copyright 1999, Bioreason, Inc., all rights reserved.+ Author: Andrew Dalke++ Copyright 1995-1997, Automatrix, Inc., all rights reserved.+ Author: Skip Montanaro++ Copyright 1991-1995, Stichting Mathematisch Centrum, all rights reserved.+++ Permission to use, copy, modify, and distribute this Python software and+ its associated documentation for any purpose without fee is hereby+ granted, provided that the above copyright notice appears in all copies,+ and that both that copyright notice and this permission notice appear in+ supporting documentation, and that the name of neither Automatrix,+ Bioreason or Mojam Media be used in advertising or publicity pertaining to+ distribution of the software without specific, written prior permission.+++UUencode and UUdecode functions+-------------------------------++The :mod:`uu` module contains the following notice::++ Copyright 1994 by Lance Ellinghouse+ Cathedral City, California Republic, United States of America.+ All Rights Reserved+ Permission to use, copy, modify, and distribute this software and its+ documentation for any purpose and without fee is hereby granted,+ provided that the above copyright notice appear in all copies and that+ both that copyright notice and this permission notice appear in+ supporting documentation, and that the name of Lance Ellinghouse+ not be used in advertising or publicity pertaining to distribution+ of the software without specific, written prior permission.+ LANCE ELLINGHOUSE DISCLAIMS ALL WARRANTIES WITH REGARD TO+ THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND+ FITNESS, IN NO EVENT SHALL LANCE ELLINGHOUSE CENTRUM BE LIABLE+ FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT+ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.++ Modified by Jack Jansen, CWI, July 1995:+ - Use binascii module to do the actual line-by-line conversion+ between ascii and binary. This results in a 1000-fold speedup. The C+ version is still 5 times faster, though.+ - Arguments more compliant with Python standard+++XML Remote Procedure Calls+--------------------------++The :mod:`xmlrpc.client` module contains the following notice::++ The XML-RPC client interface is++ Copyright (c) 1999-2002 by Secret Labs AB+ Copyright (c) 1999-2002 by Fredrik Lundh++ By obtaining, using, and/or copying this software and/or its+ associated documentation, you agree that you have read, understood,+ and will comply with the following terms and conditions:++ Permission to use, copy, modify, and distribute this software and+ its associated documentation for any purpose and without fee is+ hereby granted, provided that the above copyright notice appears in+ all copies, and that both that copyright notice and this permission+ notice appear in supporting documentation, and that the name of+ Secret Labs AB or the author not be used in advertising or publicity+ pertaining to distribution of the software without specific, written+ prior permission.++ SECRET LABS AB AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD+ TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANT-+ ABILITY AND FITNESS. IN NO EVENT SHALL SECRET LABS AB OR THE AUTHOR+ BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY+ DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS+ ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE+ OF THIS SOFTWARE.+++test_epoll+----------++The :mod:`test_epoll` module contains the following notice::++ Copyright (c) 2001-2006 Twisted Matrix Laboratories.++ 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:++ The above copyright notice and this permission notice shall be+ included in all copies or substantial portions of the Software.++ 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.++Select kqueue+-------------++The :mod:`select` module contains the following notice for the kqueue+interface::++ Copyright (c) 2000 Doug White, 2006 James Knight, 2007 Christian Heimes+ All rights reserved.++ Redistribution and use in source and binary forms, with or without+ modification, are permitted provided that the following conditions+ are met:+ 1. Redistributions of source code must retain the above copyright+ notice, this list of conditions and the following disclaimer.+ 2. 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.++ THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR 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.+++SipHash24+---------++The file :file:`Python/pyhash.c` contains Marek Majkowski' implementation of+Dan Bernstein's SipHash24 algorithm. It contains the following note::++ <MIT License>+ Copyright (c) 2013 Marek Majkowski <[email protected]>++ 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:++ The above copyright notice and this permission notice shall be included in+ all copies or substantial portions of the Software.+ </MIT License>++ Original location:+ https://github.com/majek/csiphash/++ Solution inspired by code from:+ Samuel Neves (supercop/crypto_auth/siphash24/little)+ djb (supercop/crypto_auth/siphash24/little2)+ Jean-Philippe Aumasson (https://131002.net/siphash/siphash24.c)+++strtod and dtoa+---------------++The file :file:`Python/dtoa.c`, which supplies C functions dtoa and+strtod for conversion of C doubles to and from strings, is derived+from the file of the same name by David M. Gay, currently available+from https://web.archive.org/web/20220517033456/http://www.netlib.org/fp/dtoa.c.+The original file, as retrieved on March 16, 2009, contains the following+copyright and licensing notice::++ /****************************************************************+ *+ * The author of this software is David M. Gay.+ *+ * Copyright (c) 1991, 2000, 2001 by Lucent Technologies.+ *+ * Permission to use, copy, modify, and distribute this software for any+ * purpose without fee is hereby granted, provided that this entire notice+ * is included in all copies of any software which is or includes a copy+ * or modification of this software and in all copies of the supporting+ * documentation for such software.+ *+ * THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED+ * WARRANTY. IN PARTICULAR, NEITHER THE AUTHOR NOR LUCENT MAKES ANY+ * REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY+ * OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.+ *+ ***************************************************************/+++OpenSSL+-------++The modules :mod:`hashlib`, :mod:`posix`, :mod:`ssl`, :mod:`crypt` use+the OpenSSL library for added performance if made available by the+operating system. Additionally, the Windows and macOS installers for+Python may include a copy of the OpenSSL libraries, so we include a copy+of the OpenSSL license here::+++ LICENSE ISSUES+ ==============++ The OpenSSL toolkit stays under a dual license, i.e. both the conditions of+ the OpenSSL License and the original SSLeay license apply to the toolkit.+ See below for the actual license texts. Actually both licenses are BSD-style+ Open Source licenses. In case of any license issues related to OpenSSL+ please contact [email protected].++ OpenSSL License+ ---------------++ /* ====================================================================+ * Copyright (c) 1998-2008 The OpenSSL Project. All rights reserved.+ *+ * Redistribution and use in source and binary forms, with or without+ * modification, are permitted provided that the following conditions+ * are met:+ *+ * 1. Redistributions of source code must retain the above copyright+ * notice, this list of conditions and the following disclaimer.+ *+ * 2. 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.+ *+ * 3. All advertising materials mentioning features or use of this+ * software must display the following acknowledgment:+ * "This product includes software developed by the OpenSSL Project+ * for use in the OpenSSL Toolkit. (http://www.openssl.org/)"+ *+ * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to+ * endorse or promote products derived from this software without+ * prior written permission. For written permission, please contact+ * [email protected].+ *+ * 5. Products derived from this software may not be called "OpenSSL"+ * nor may "OpenSSL" appear in their names without prior written+ * permission of the OpenSSL Project.+ *+ * 6. Redistributions of any form whatsoever must retain the following+ * acknowledgment:+ * "This product includes software developed by the OpenSSL Project+ * for use in the OpenSSL Toolkit (http://www.openssl.org/)"+ *+ * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY+ * EXPRESSED 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 OpenSSL PROJECT OR+ * ITS 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.+ * ====================================================================+ *+ * This product includes cryptographic software written by Eric Young+ * ([email protected]). This product includes software written by Tim+ * Hudson ([email protected]).+ *+ */++ Original SSLeay License+ -----------------------++ /* Copyright (C) 1995-1998 Eric Young ([email protected])+ * All rights reserved.+ *+ * This package is an SSL implementation written+ * by Eric Young ([email protected]).+ * The implementation was written so as to conform with Netscapes SSL.+ *+ * This library is free for commercial and non-commercial use as long as+ * the following conditions are aheared to. The following conditions+ * apply to all code found in this distribution, be it the RC4, RSA,+ * lhash, DES, etc., code; not just the SSL code. The SSL documentation+ * included with this distribution is covered by the same copyright terms+ * except that the holder is Tim Hudson ([email protected]).+ *+ * Copyright remains Eric Young's, and as such any Copyright notices in+ * the code are not to be removed.+ * If this package is used in a product, Eric Young should be given attribution+ * as the author of the parts of the library used.+ * This can be in the form of a textual message at program startup or+ * in documentation (online or textual) provided with the package.+ *+ * Redistribution and use in source and binary forms, with or without+ * modification, are permitted provided that the following conditions+ * are met:+ * 1. Redistributions of source code must retain the copyright+ * notice, this list of conditions and the following disclaimer.+ * 2. 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.+ * 3. All advertising materials mentioning features or use of this software+ * must display the following acknowledgement:+ * "This product includes cryptographic software written by+ * Eric Young ([email protected])"+ * The word 'cryptographic' can be left out if the rouines from the library+ * being used are not cryptographic related :-).+ * 4. If you include any Windows specific code (or a derivative thereof) from+ * the apps directory (application code) you must include an acknowledgement:+ * "This product includes software written by Tim Hudson ([email protected])"+ *+ * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``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 AUTHOR 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.+ *+ * The licence and distribution terms for any publically available version or+ * derivative of this code cannot be changed. i.e. this code cannot simply be+ * copied and put under another distribution licence+ * [including the GNU Public Licence.]+ */+++expat+-----++The :mod:`pyexpat` extension is built using an included copy of the expat+sources unless the build is configured ``--with-system-expat``::++ Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd+ and Clark Cooper++ 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:++ The above copyright notice and this permission notice shall be included+ in all copies or substantial portions of the Software.++ 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.+++libffi+------++The :mod:`_ctypes` extension is built using an included copy of the libffi+sources unless the build is configured ``--with-system-libffi``::++ Copyright (c) 1996-2008 Red Hat, Inc and others.++ 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:++ The above copyright notice and this permission notice shall be included+ in all copies or substantial portions of the Software.++ 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.+++zlib+----++The :mod:`zlib` extension is built using an included copy of the zlib+sources if the zlib version found on the system is too old to be+used for the build::++ Copyright (C) 1995-2011 Jean-loup Gailly and Mark Adler++ This software is provided 'as-is', without any express or implied+ warranty. In no event will the authors be held liable for any damages+ arising from the use of this software.++ Permission is granted to anyone to use this software for any purpose,+ including commercial applications, and to alter it and redistribute it+ freely, subject to the following restrictions:++ 1. The origin of this software must not be misrepresented; you must not+ claim that you wrote the original software. If you use this software+ in a product, an acknowledgment in the product documentation would be+ appreciated but is not required.++ 2. Altered source versions must be plainly marked as such, and must not be+ misrepresented as being the original software.++ 3. This notice may not be removed or altered from any source distribution.++ Jean-loup Gailly Mark Adler+++cfuhash+-------++The implementation of the hash table used by the :mod:`tracemalloc` is based+on the cfuhash project::++ Copyright (c) 2005 Don Owens+ All rights reserved.++ This code is released under the BSD license:++ Redistribution and use in source and binary forms, with or without+ modification, are permitted provided that the following conditions+ are met:++ * Redistributions of source code must retain the above copyright+ notice, this list of conditions and the following disclaimer.++ * 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.++ * Neither the name of the author nor the names of its+ contributors may be used to endorse or promote products derived+ from this software without specific prior written permission.++ 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.+++libmpdec+--------++The :mod:`_decimal` module is built using an included copy of the libmpdec+library unless the build is configured ``--with-system-libmpdec``::++ Copyright (c) 2008-2020 Stefan Krah. All rights reserved.++ Redistribution and use in source and binary forms, with or without+ modification, are permitted provided that the following conditions+ are met:++ 1. Redistributions of source code must retain the above copyright+ notice, this list of conditions and the following disclaimer.++ 2. 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.++ THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR 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.+++W3C C14N test suite+-------------------++The C14N 2.0 test suite in the :mod:`test` package+(``Lib/test/xmltestdata/c14n-20/``) was retrieved from the W3C website at+https://www.w3.org/TR/xml-c14n2-testcases/ and is distributed under the+3-clause BSD license::++ Copyright (c) 2013 W3C(R) (MIT, ERCIM, Keio, Beihang),+ All Rights Reserved.++ Redistribution and use in source and binary forms, with or without+ modification, are permitted provided that the following conditions+ are met:++ * Redistributions of works must retain the original copyright notice,+ this list of conditions and the following disclaimer.+ * Redistributions in binary form must reproduce the original copyright+ notice, this list of conditions and the following disclaimer in the+ documentation and/or other materials provided with the distribution.+ * Neither the name of the W3C nor the names of its contributors may be+ used to endorse or promote products derived from this work without+ specific prior written permission.++ 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.+++Audioop+-------++The audioop module uses the code base in g771.c file of the SoX project::++ Programming the AdLib/Sound Blaster+ FM Music Chips+ Version 2.0 (24 Feb 1992)+ Copyright (c) 1991, 1992 by Jeffrey S. Lee+ Warranty and Copyright Policy+ This document is provided on an "as-is" basis, and its author makes+ no warranty or representation, express or implied, with respect to+ its quality performance or fitness for a particular purpose. In no+ event will the author of this document be liable for direct, indirect,+ special, incidental, or consequential damages arising out of the use+ or inability to use the information contained within. Use of this+ document is at your own risk.+ This file may be used and copied freely so long as the applicable+ copyright notices are retained, and no modifications are made to the+ text of the document. No money shall be charged for its distribution+ beyond reasonable shipping, handling and duplication costs, nor shall+ proprietary changes be made to this document so that it cannot be+ distributed freely. This document may not be included in published+ material or commercial packages without the written consent of its+ author.diff --git a/scripts/licenses/cpython-3.11.3.LICENSE b/scripts/licenses/cpython-3.11.3.LICENSEnew file mode 100644index 0000000..f26bcf4--- /dev/null+++ b/scripts/licenses/cpython-3.11.3.LICENSE@@ -0,0 +1,279 @@+A. HISTORY OF THE SOFTWARE+==========================++Python was created in the early 1990s by Guido van Rossum at Stichting+Mathematisch Centrum (CWI, see https://www.cwi.nl) in the Netherlands+as a successor of a language called ABC. Guido remains Python's+principal author, although it includes many contributions from others.++In 1995, Guido continued his work on Python at the Corporation for+National Research Initiatives (CNRI, see https://www.cnri.reston.va.us)+in Reston, Virginia where he released several versions of the+software.++In May 2000, Guido and the Python core development team moved to+BeOpen.com to form the BeOpen PythonLabs team. In October of the same+year, the PythonLabs team moved to Digital Creations, which became+Zope Corporation. In 2001, the Python Software Foundation (PSF, see+https://www.python.org/psf/) was formed, a non-profit organization+created specifically to own Python-related Intellectual Property.+Zope Corporation was a sponsoring member of the PSF.++All Python releases are Open Source (see https://opensource.org for+the Open Source Definition). Historically, most, but not all, Python+releases have also been GPL-compatible; the table below summarizes+the various releases.++ Release Derived Year Owner GPL-+ from compatible? (1)++ 0.9.0 thru 1.2 1991-1995 CWI yes+ 1.3 thru 1.5.2 1.2 1995-1999 CNRI yes+ 1.6 1.5.2 2000 CNRI no+ 2.0 1.6 2000 BeOpen.com no+ 1.6.1 1.6 2001 CNRI yes (2)+ 2.1 2.0+1.6.1 2001 PSF no+ 2.0.1 2.0+1.6.1 2001 PSF yes+ 2.1.1 2.1+2.0.1 2001 PSF yes+ 2.1.2 2.1.1 2002 PSF yes+ 2.1.3 2.1.2 2002 PSF yes+ 2.2 and above 2.1.1 2001-now PSF yes++Footnotes:++(1) GPL-compatible doesn't mean that we're distributing Python under+ the GPL. All Python licenses, unlike the GPL, let you distribute+ a modified version without making your changes open source. The+ GPL-compatible licenses make it possible to combine Python with+ other software that is released under the GPL; the others don't.++(2) According to Richard Stallman, 1.6.1 is not GPL-compatible,+ because its license has a choice of law clause. According to+ CNRI, however, Stallman's lawyer has told CNRI's lawyer that 1.6.1+ is "not incompatible" with the GPL.++Thanks to the many outside volunteers who have worked under Guido's+direction to make these releases possible.+++B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON+===============================================================++Python software and documentation are licensed under the+Python Software Foundation License Version 2.++Starting with Python 3.8.6, examples, recipes, and other code in+the documentation are dual licensed under the PSF License Version 2+and the Zero-Clause BSD license.++Some software incorporated into Python is under different licenses.+The licenses are listed with code falling under that license.+++PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2+--------------------------------------------++1. This LICENSE AGREEMENT is between the Python Software Foundation+("PSF"), and the Individual or Organization ("Licensee") accessing and+otherwise using this software ("Python") in source or binary form and+its associated documentation.++2. Subject to the terms and conditions of this License Agreement, PSF hereby+grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,+analyze, test, perform and/or display publicly, prepare derivative works,+distribute, and otherwise use Python alone or in any derivative version,+provided, however, that PSF's License Agreement and PSF's notice of copyright,+i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,+2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023 Python Software Foundation;+All Rights Reserved" are retained in Python alone or in any derivative version+prepared by Licensee.++3. In the event Licensee prepares a derivative work that is based on+or incorporates Python or any part thereof, and wants to make+the derivative work available to others as provided herein, then+Licensee hereby agrees to include in any such work a brief summary of+the changes made to Python.++4. PSF is making Python available to Licensee on an "AS IS"+basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR+IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND+DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS+FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT+INFRINGE ANY THIRD PARTY RIGHTS.++5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON+FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS+A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,+OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.++6. This License Agreement will automatically terminate upon a material+breach of its terms and conditions.++7. Nothing in this License Agreement shall be deemed to create any+relationship of agency, partnership, or joint venture between PSF and+Licensee. This License Agreement does not grant permission to use PSF+trademarks or trade name in a trademark sense to endorse or promote+products or services of Licensee, or any third party.++8. By copying, installing or otherwise using Python, Licensee+agrees to be bound by the terms and conditions of this License+Agreement.+++BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0+-------------------------------------------++BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1++1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an+office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the+Individual or Organization ("Licensee") accessing and otherwise using+this software in source or binary form and its associated+documentation ("the Software").++2. Subject to the terms and conditions of this BeOpen Python License+Agreement, BeOpen hereby grants Licensee a non-exclusive,+royalty-free, world-wide license to reproduce, analyze, test, perform+and/or display publicly, prepare derivative works, distribute, and+otherwise use the Software alone or in any derivative version,+provided, however, that the BeOpen Python License is retained in the+Software, alone or in any derivative version prepared by Licensee.++3. BeOpen is making the Software available to Licensee on an "AS IS"+basis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR+IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND+DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS+FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT+INFRINGE ANY THIRD PARTY RIGHTS.++4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE+SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS+AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY+DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.++5. This License Agreement will automatically terminate upon a material+breach of its terms and conditions.++6. This License Agreement shall be governed by and interpreted in all+respects by the law of the State of California, excluding conflict of+law provisions. Nothing in this License Agreement shall be deemed to+create any relationship of agency, partnership, or joint venture+between BeOpen and Licensee. This License Agreement does not grant+permission to use BeOpen trademarks or trade names in a trademark+sense to endorse or promote products or services of Licensee, or any+third party. As an exception, the "BeOpen Python" logos available at+http://www.pythonlabs.com/logos.html may be used according to the+permissions granted on that web page.++7. By copying, installing or otherwise using the software, Licensee+agrees to be bound by the terms and conditions of this License+Agreement.+++CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1+---------------------------------------++1. This LICENSE AGREEMENT is between the Corporation for National+Research Initiatives, having an office at 1895 Preston White Drive,+Reston, VA 20191 ("CNRI"), and the Individual or Organization+("Licensee") accessing and otherwise using Python 1.6.1 software in+source or binary form and its associated documentation.++2. Subject to the terms and conditions of this License Agreement, CNRI+hereby grants Licensee a nonexclusive, royalty-free, world-wide+license to reproduce, analyze, test, perform and/or display publicly,+prepare derivative works, distribute, and otherwise use Python 1.6.1+alone or in any derivative version, provided, however, that CNRI's+License Agreement and CNRI's notice of copyright, i.e., "Copyright (c)+1995-2001 Corporation for National Research Initiatives; All Rights+Reserved" are retained in Python 1.6.1 alone or in any derivative+version prepared by Licensee. Alternately, in lieu of CNRI's License+Agreement, Licensee may substitute the following text (omitting the+quotes): "Python 1.6.1 is made available subject to the terms and+conditions in CNRI's License Agreement. This Agreement together with+Python 1.6.1 may be located on the internet using the following+unique, persistent identifier (known as a handle): 1895.22/1013. This+Agreement may also be obtained from a proxy server on the internet+using the following URL: http://hdl.handle.net/1895.22/1013".++3. In the event Licensee prepares a derivative work that is based on+or incorporates Python 1.6.1 or any part thereof, and wants to make+the derivative work available to others as provided herein, then+Licensee hereby agrees to include in any such work a brief summary of+the changes made to Python 1.6.1.++4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS"+basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR+IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND+DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS+FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT+INFRINGE ANY THIRD PARTY RIGHTS.++5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON+1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS+A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1,+OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.++6. This License Agreement will automatically terminate upon a material+breach of its terms and conditions.++7. This License Agreement shall be governed by the federal+intellectual property law of the United States, including without+limitation the federal copyright law, and, to the extent such+U.S. federal law does not apply, by the law of the Commonwealth of+Virginia, excluding Virginia's conflict of law provisions.+Notwithstanding the foregoing, with regard to derivative works based+on Python 1.6.1 that incorporate non-separable material that was+previously distributed under the GNU General Public License (GPL), the+law of the Commonwealth of Virginia shall govern this License+Agreement only as to issues arising under or with respect to+Paragraphs 4, 5, and 7 of this License Agreement. Nothing in this+License Agreement shall be deemed to create any relationship of+agency, partnership, or joint venture between CNRI and Licensee. This+License Agreement does not grant permission to use CNRI trademarks or+trade name in a trademark sense to endorse or promote products or+services of Licensee, or any third party.++8. By clicking on the "ACCEPT" button where indicated, or by copying,+installing or otherwise using Python 1.6.1, Licensee agrees to be+bound by the terms and conditions of this License Agreement.++ ACCEPT+++CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2+--------------------------------------------------++Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam,+The Netherlands. All rights reserved.++Permission to use, copy, modify, and distribute this software and its+documentation for any purpose and without fee is hereby granted,+provided that the above copyright notice appear in all copies and that+both that copyright notice and this permission notice appear in+supporting documentation, and that the name of Stichting Mathematisch+Centrum or CWI not be used in advertising or publicity pertaining to+distribution of the software without specific, written prior+permission.++STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO+THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND+FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE+FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT+OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.++ZERO-CLAUSE BSD LICENSE FOR CODE IN THE PYTHON DOCUMENTATION+----------------------------------------------------------------------++Permission to use, copy, modify, and/or distribute this software for any+purpose with or without fee is hereby granted.++THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH+REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY+AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,+INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM+LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR+OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR+PERFORMANCE OF THIS SOFTWARE.diff --git a/scripts/licenses/emscripten-3.1.46-compiler-rt.LICENSE b/scripts/licenses/emscripten-3.1.46-compiler-rt.LICENSEnew file mode 100644index 0000000..5a79a1b--- /dev/null+++ b/scripts/licenses/emscripten-3.1.46-compiler-rt.LICENSE@@ -0,0 +1,311 @@+==============================================================================+The LLVM Project is under the Apache License v2.0 with LLVM Exceptions:+==============================================================================++ Apache License+ Version 2.0, January 2004+ http://www.apache.org/licenses/++ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION++ 1. Definitions.++ "License" shall mean the terms and conditions for use, reproduction,+ and distribution as defined by Sections 1 through 9 of this document.++ "Licensor" shall mean the copyright owner or entity authorized by+ the copyright owner that is granting the License.++ "Legal Entity" shall mean the union of the acting entity and all+ other entities that control, are controlled by, or are under common+ control with that entity. For the purposes of this definition,+ "control" means (i) the power, direct or indirect, to cause the+ direction or management of such entity, whether by contract or+ otherwise, or (ii) ownership of fifty percent (50%) or more of the+ outstanding shares, or (iii) beneficial ownership of such entity.++ "You" (or "Your") shall mean an individual or Legal Entity+ exercising permissions granted by this License.++ "Source" form shall mean the preferred form for making modifications,+ including but not limited to software source code, documentation+ source, and configuration files.++ "Object" form shall mean any form resulting from mechanical+ transformation or translation of a Source form, including but+ not limited to compiled object code, generated documentation,+ and conversions to other media types.++ "Work" shall mean the work of authorship, whether in Source or+ Object form, made available under the License, as indicated by a+ copyright notice that is included in or attached to the work+ (an example is provided in the Appendix below).++ "Derivative Works" shall mean any work, whether in Source or Object+ form, that is based on (or derived from) the Work and for which the+ editorial revisions, annotations, elaborations, or other modifications+ represent, as a whole, an original work of authorship. For the purposes+ of this License, Derivative Works shall not include works that remain+ separable from, or merely link (or bind by name) to the interfaces of,+ the Work and Derivative Works thereof.++ "Contribution" shall mean any work of authorship, including+ the original version of the Work and any modifications or additions+ to that Work or Derivative Works thereof, that is intentionally+ submitted to Licensor for inclusion in the Work by the copyright owner+ or by an individual or Legal Entity authorized to submit on behalf of+ the copyright owner. For the purposes of this definition, "submitted"+ means any form of electronic, verbal, or written communication sent+ to the Licensor or its representatives, including but not limited to+ communication on electronic mailing lists, source code control systems,+ and issue tracking systems that are managed by, or on behalf of, the+ Licensor for the purpose of discussing and improving the Work, but+ excluding communication that is conspicuously marked or otherwise+ designated in writing by the copyright owner as "Not a Contribution."++ "Contributor" shall mean Licensor and any individual or Legal Entity+ on behalf of whom a Contribution has been received by Licensor and+ subsequently incorporated within the Work.++ 2. Grant of Copyright License. Subject to the terms and conditions of+ this License, each Contributor hereby grants to You a perpetual,+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable+ copyright license to reproduce, prepare Derivative Works of,+ publicly display, publicly perform, sublicense, and distribute the+ Work and such Derivative Works in Source or Object form.++ 3. Grant of Patent License. Subject to the terms and conditions of+ this License, each Contributor hereby grants to You a perpetual,+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable+ (except as stated in this section) patent license to make, have made,+ use, offer to sell, sell, import, and otherwise transfer the Work,+ where such license applies only to those patent claims licensable+ by such Contributor that are necessarily infringed by their+ Contribution(s) alone or by combination of their Contribution(s)+ with the Work to which such Contribution(s) was submitted. If You+ institute patent litigation against any entity (including a+ cross-claim or counterclaim in a lawsuit) alleging that the Work+ or a Contribution incorporated within the Work constitutes direct+ or contributory patent infringement, then any patent licenses+ granted to You under this License for that Work shall terminate+ as of the date such litigation is filed.++ 4. Redistribution. You may reproduce and distribute copies of the+ Work or Derivative Works thereof in any medium, with or without+ modifications, and in Source or Object form, provided that You+ meet the following conditions:++ (a) You must give any other recipients of the Work or+ Derivative Works a copy of this License; and++ (b) You must cause any modified files to carry prominent notices+ stating that You changed the files; and++ (c) You must retain, in the Source form of any Derivative Works+ that You distribute, all copyright, patent, trademark, and+ attribution notices from the Source form of the Work,+ excluding those notices that do not pertain to any part of+ the Derivative Works; and++ (d) If the Work includes a "NOTICE" text file as part of its+ distribution, then any Derivative Works that You distribute must+ include a readable copy of the attribution notices contained+ within such NOTICE file, excluding those notices that do not+ pertain to any part of the Derivative Works, in at least one+ of the following places: within a NOTICE text file distributed+ as part of the Derivative Works; within the Source form or+ documentation, if provided along with the Derivative Works; or,+ within a display generated by the Derivative Works, if and+ wherever such third-party notices normally appear. The contents+ of the NOTICE file are for informational purposes only and+ do not modify the License. You may add Your own attribution+ notices within Derivative Works that You distribute, alongside+ or as an addendum to the NOTICE text from the Work, provided+ that such additional attribution notices cannot be construed+ as modifying the License.++ You may add Your own copyright statement to Your modifications and+ may provide additional or different license terms and conditions+ for use, reproduction, or distribution of Your modifications, or+ for any such Derivative Works as a whole, provided Your use,+ reproduction, and distribution of the Work otherwise complies with+ the conditions stated in this License.++ 5. Submission of Contributions. Unless You explicitly state otherwise,+ any Contribution intentionally submitted for inclusion in the Work+ by You to the Licensor shall be under the terms and conditions of+ this License, without any additional terms or conditions.+ Notwithstanding the above, nothing herein shall supersede or modify+ the terms of any separate license agreement you may have executed+ with Licensor regarding such Contributions.++ 6. Trademarks. This License does not grant permission to use the trade+ names, trademarks, service marks, or product names of the Licensor,+ except as required for reasonable and customary use in describing the+ origin of the Work and reproducing the content of the NOTICE file.++ 7. Disclaimer of Warranty. Unless required by applicable law or+ agreed to in writing, Licensor provides the Work (and each+ Contributor provides its Contributions) on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or+ implied, including, without limitation, any warranties or conditions+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A+ PARTICULAR PURPOSE. You are solely responsible for determining the+ appropriateness of using or redistributing the Work and assume any+ risks associated with Your exercise of permissions under this License.++ 8. Limitation of Liability. In no event and under no legal theory,+ whether in tort (including negligence), contract, or otherwise,+ unless required by applicable law (such as deliberate and grossly+ negligent acts) or agreed to in writing, shall any Contributor be+ liable to You for damages, including any direct, indirect, special,+ incidental, or consequential damages of any character arising as a+ result of this License or out of the use or inability to use the+ Work (including but not limited to damages for loss of goodwill,+ work stoppage, computer failure or malfunction, or any and all+ other commercial damages or losses), even if such Contributor+ has been advised of the possibility of such damages.++ 9. Accepting Warranty or Additional Liability. While redistributing+ the Work or Derivative Works thereof, You may choose to offer,+ and charge a fee for, acceptance of support, warranty, indemnity,+ or other liability obligations and/or rights consistent with this+ License. However, in accepting such obligations, You may act only+ on Your own behalf and on Your sole responsibility, not on behalf+ of any other Contributor, and only if You agree to indemnify,+ defend, and hold each Contributor harmless for any liability+ incurred by, or claims asserted against, such Contributor by reason+ of your accepting any such warranty or additional liability.++ END OF TERMS AND CONDITIONS++ APPENDIX: How to apply the Apache License to your work.++ To apply the Apache License to your work, attach the following+ boilerplate notice, with the fields enclosed by brackets "[]"+ replaced with your own identifying information. (Don't include+ the brackets!) The text should be enclosed in the appropriate+ comment syntax for the file format. We also recommend that a+ file or class name and description of purpose be included on the+ same "printed page" as the copyright notice for easier+ identification within third-party archives.++ Copyright [yyyy] [name of copyright owner]++ Licensed under the Apache License, Version 2.0 (the "License");+ you may not use this file except in compliance with the License.+ You may obtain a copy of the License at++ http://www.apache.org/licenses/LICENSE-2.0++ Unless required by applicable law or agreed to in writing, software+ distributed under the License is distributed on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ See the License for the specific language governing permissions and+ limitations under the License.+++---- LLVM Exceptions to the Apache 2.0 License ----++As an exception, if, as a result of your compiling your source code, portions+of this Software are embedded into an Object form of such source code, you+may redistribute such embedded portions in such Object form without complying+with the conditions of Sections 4(a), 4(b) and 4(d) of the License.++In addition, if you combine or link compiled forms of this Software with+software that is licensed under the GPLv2 ("Combined Software") and if a+court of competent jurisdiction determines that the patent provision (Section+3), the indemnity provision (Section 9) or other Section of the License+conflicts with the conditions of the GPLv2, you may retroactively and+prospectively choose to deem waived or otherwise exclude such Section(s) of+the License, but only in their entirety and only with respect to the Combined+Software.++==============================================================================+Software from third parties included in the LLVM Project:+==============================================================================+The LLVM Project contains third party software which is under different license+terms. All such code will be identified clearly using at least one of two+mechanisms:+1) It will be in a separate directory tree with its own `LICENSE.txt` or+ `LICENSE` file at the top containing the specific license and restrictions+ which apply to that software, or+2) It will contain specific license and restriction terms at the top of every+ file.++==============================================================================+Legacy LLVM License (https://llvm.org/docs/DeveloperPolicy.html#legacy):+==============================================================================++The compiler_rt library is dual licensed under both the University of Illinois+"BSD-Like" license and the MIT license. As a user of this code you may choose+to use it under either license. As a contributor, you agree to allow your code+to be used under both.++Full text of the relevant licenses is included below.++==============================================================================++University of Illinois/NCSA+Open Source License++Copyright (c) 2009-2019 by the contributors listed in CREDITS.TXT++All rights reserved.++Developed by:++ LLVM Team++ University of Illinois at Urbana-Champaign++ http://llvm.org++Permission is hereby granted, free of charge, to any person obtaining a copy of+this software and associated documentation files (the "Software"), to deal with+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:++ * Redistributions of source code must retain the above copyright notice,+ this list of conditions and the following disclaimers.++ * Redistributions in binary form must reproduce the above copyright notice,+ this list of conditions and the following disclaimers in the+ documentation and/or other materials provided with the distribution.++ * Neither the names of the LLVM Team, University of Illinois at+ Urbana-Champaign, nor the names of its contributors may be used to+ endorse or promote products derived from this Software without specific+ prior written permission.++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+CONTRIBUTORS 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 WITH THE+SOFTWARE.++==============================================================================++Copyright (c) 2009-2015 by the contributors listed in CREDITS.TXT++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:++The above copyright notice and this permission notice shall be included in+all copies or substantial portions of the Software.++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.diff --git a/scripts/licenses/emscripten-3.1.46-libcxx.LICENSE b/scripts/licenses/emscripten-3.1.46-libcxx.LICENSEnew file mode 100644index 0000000..e159d28--- /dev/null+++ b/scripts/licenses/emscripten-3.1.46-libcxx.LICENSE@@ -0,0 +1,311 @@+==============================================================================+The LLVM Project is under the Apache License v2.0 with LLVM Exceptions:+==============================================================================++ Apache License+ Version 2.0, January 2004+ http://www.apache.org/licenses/++ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION++ 1. Definitions.++ "License" shall mean the terms and conditions for use, reproduction,+ and distribution as defined by Sections 1 through 9 of this document.++ "Licensor" shall mean the copyright owner or entity authorized by+ the copyright owner that is granting the License.++ "Legal Entity" shall mean the union of the acting entity and all+ other entities that control, are controlled by, or are under common+ control with that entity. For the purposes of this definition,+ "control" means (i) the power, direct or indirect, to cause the+ direction or management of such entity, whether by contract or+ otherwise, or (ii) ownership of fifty percent (50%) or more of the+ outstanding shares, or (iii) beneficial ownership of such entity.++ "You" (or "Your") shall mean an individual or Legal Entity+ exercising permissions granted by this License.++ "Source" form shall mean the preferred form for making modifications,+ including but not limited to software source code, documentation+ source, and configuration files.++ "Object" form shall mean any form resulting from mechanical+ transformation or translation of a Source form, including but+ not limited to compiled object code, generated documentation,+ and conversions to other media types.++ "Work" shall mean the work of authorship, whether in Source or+ Object form, made available under the License, as indicated by a+ copyright notice that is included in or attached to the work+ (an example is provided in the Appendix below).++ "Derivative Works" shall mean any work, whether in Source or Object+ form, that is based on (or derived from) the Work and for which the+ editorial revisions, annotations, elaborations, or other modifications+ represent, as a whole, an original work of authorship. For the purposes+ of this License, Derivative Works shall not include works that remain+ separable from, or merely link (or bind by name) to the interfaces of,+ the Work and Derivative Works thereof.++ "Contribution" shall mean any work of authorship, including+ the original version of the Work and any modifications or additions+ to that Work or Derivative Works thereof, that is intentionally+ submitted to Licensor for inclusion in the Work by the copyright owner+ or by an individual or Legal Entity authorized to submit on behalf of+ the copyright owner. For the purposes of this definition, "submitted"+ means any form of electronic, verbal, or written communication sent+ to the Licensor or its representatives, including but not limited to+ communication on electronic mailing lists, source code control systems,+ and issue tracking systems that are managed by, or on behalf of, the+ Licensor for the purpose of discussing and improving the Work, but+ excluding communication that is conspicuously marked or otherwise+ designated in writing by the copyright owner as "Not a Contribution."++ "Contributor" shall mean Licensor and any individual or Legal Entity+ on behalf of whom a Contribution has been received by Licensor and+ subsequently incorporated within the Work.++ 2. Grant of Copyright License. Subject to the terms and conditions of+ this License, each Contributor hereby grants to You a perpetual,+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable+ copyright license to reproduce, prepare Derivative Works of,+ publicly display, publicly perform, sublicense, and distribute the+ Work and such Derivative Works in Source or Object form.++ 3. Grant of Patent License. Subject to the terms and conditions of+ this License, each Contributor hereby grants to You a perpetual,+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable+ (except as stated in this section) patent license to make, have made,+ use, offer to sell, sell, import, and otherwise transfer the Work,+ where such license applies only to those patent claims licensable+ by such Contributor that are necessarily infringed by their+ Contribution(s) alone or by combination of their Contribution(s)+ with the Work to which such Contribution(s) was submitted. If You+ institute patent litigation against any entity (including a+ cross-claim or counterclaim in a lawsuit) alleging that the Work+ or a Contribution incorporated within the Work constitutes direct+ or contributory patent infringement, then any patent licenses+ granted to You under this License for that Work shall terminate+ as of the date such litigation is filed.++ 4. Redistribution. You may reproduce and distribute copies of the+ Work or Derivative Works thereof in any medium, with or without+ modifications, and in Source or Object form, provided that You+ meet the following conditions:++ (a) You must give any other recipients of the Work or+ Derivative Works a copy of this License; and++ (b) You must cause any modified files to carry prominent notices+ stating that You changed the files; and++ (c) You must retain, in the Source form of any Derivative Works+ that You distribute, all copyright, patent, trademark, and+ attribution notices from the Source form of the Work,+ excluding those notices that do not pertain to any part of+ the Derivative Works; and++ (d) If the Work includes a "NOTICE" text file as part of its+ distribution, then any Derivative Works that You distribute must+ include a readable copy of the attribution notices contained+ within such NOTICE file, excluding those notices that do not+ pertain to any part of the Derivative Works, in at least one+ of the following places: within a NOTICE text file distributed+ as part of the Derivative Works; within the Source form or+ documentation, if provided along with the Derivative Works; or,+ within a display generated by the Derivative Works, if and+ wherever such third-party notices normally appear. The contents+ of the NOTICE file are for informational purposes only and+ do not modify the License. You may add Your own attribution+ notices within Derivative Works that You distribute, alongside+ or as an addendum to the NOTICE text from the Work, provided+ that such additional attribution notices cannot be construed+ as modifying the License.++ You may add Your own copyright statement to Your modifications and+ may provide additional or different license terms and conditions+ for use, reproduction, or distribution of Your modifications, or+ for any such Derivative Works as a whole, provided Your use,+ reproduction, and distribution of the Work otherwise complies with+ the conditions stated in this License.++ 5. Submission of Contributions. Unless You explicitly state otherwise,+ any Contribution intentionally submitted for inclusion in the Work+ by You to the Licensor shall be under the terms and conditions of+ this License, without any additional terms or conditions.+ Notwithstanding the above, nothing herein shall supersede or modify+ the terms of any separate license agreement you may have executed+ with Licensor regarding such Contributions.++ 6. Trademarks. This License does not grant permission to use the trade+ names, trademarks, service marks, or product names of the Licensor,+ except as required for reasonable and customary use in describing the+ origin of the Work and reproducing the content of the NOTICE file.++ 7. Disclaimer of Warranty. Unless required by applicable law or+ agreed to in writing, Licensor provides the Work (and each+ Contributor provides its Contributions) on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or+ implied, including, without limitation, any warranties or conditions+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A+ PARTICULAR PURPOSE. You are solely responsible for determining the+ appropriateness of using or redistributing the Work and assume any+ risks associated with Your exercise of permissions under this License.++ 8. Limitation of Liability. In no event and under no legal theory,+ whether in tort (including negligence), contract, or otherwise,+ unless required by applicable law (such as deliberate and grossly+ negligent acts) or agreed to in writing, shall any Contributor be+ liable to You for damages, including any direct, indirect, special,+ incidental, or consequential damages of any character arising as a+ result of this License or out of the use or inability to use the+ Work (including but not limited to damages for loss of goodwill,+ work stoppage, computer failure or malfunction, or any and all+ other commercial damages or losses), even if such Contributor+ has been advised of the possibility of such damages.++ 9. Accepting Warranty or Additional Liability. While redistributing+ the Work or Derivative Works thereof, You may choose to offer,+ and charge a fee for, acceptance of support, warranty, indemnity,+ or other liability obligations and/or rights consistent with this+ License. However, in accepting such obligations, You may act only+ on Your own behalf and on Your sole responsibility, not on behalf+ of any other Contributor, and only if You agree to indemnify,+ defend, and hold each Contributor harmless for any liability+ incurred by, or claims asserted against, such Contributor by reason+ of your accepting any such warranty or additional liability.++ END OF TERMS AND CONDITIONS++ APPENDIX: How to apply the Apache License to your work.++ To apply the Apache License to your work, attach the following+ boilerplate notice, with the fields enclosed by brackets "[]"+ replaced with your own identifying information. (Don't include+ the brackets!) The text should be enclosed in the appropriate+ comment syntax for the file format. We also recommend that a+ file or class name and description of purpose be included on the+ same "printed page" as the copyright notice for easier+ identification within third-party archives.++ Copyright [yyyy] [name of copyright owner]++ Licensed under the Apache License, Version 2.0 (the "License");+ you may not use this file except in compliance with the License.+ You may obtain a copy of the License at++ http://www.apache.org/licenses/LICENSE-2.0++ Unless required by applicable law or agreed to in writing, software+ distributed under the License is distributed on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ See the License for the specific language governing permissions and+ limitations under the License.+++---- LLVM Exceptions to the Apache 2.0 License ----++As an exception, if, as a result of your compiling your source code, portions+of this Software are embedded into an Object form of such source code, you+may redistribute such embedded portions in such Object form without complying+with the conditions of Sections 4(a), 4(b) and 4(d) of the License.++In addition, if you combine or link compiled forms of this Software with+software that is licensed under the GPLv2 ("Combined Software") and if a+court of competent jurisdiction determines that the patent provision (Section+3), the indemnity provision (Section 9) or other Section of the License+conflicts with the conditions of the GPLv2, you may retroactively and+prospectively choose to deem waived or otherwise exclude such Section(s) of+the License, but only in their entirety and only with respect to the Combined+Software.++==============================================================================+Software from third parties included in the LLVM Project:+==============================================================================+The LLVM Project contains third party software which is under different license+terms. All such code will be identified clearly using at least one of two+mechanisms:+1) It will be in a separate directory tree with its own `LICENSE.txt` or+ `LICENSE` file at the top containing the specific license and restrictions+ which apply to that software, or+2) It will contain specific license and restriction terms at the top of every+ file.++==============================================================================+Legacy LLVM License (https://llvm.org/docs/DeveloperPolicy.html#legacy):+==============================================================================++The libc++ library is dual licensed under both the University of Illinois+"BSD-Like" license and the MIT license. As a user of this code you may choose+to use it under either license. As a contributor, you agree to allow your code+to be used under both.++Full text of the relevant licenses is included below.++==============================================================================++University of Illinois/NCSA+Open Source License++Copyright (c) 2009-2019 by the contributors listed in CREDITS.TXT++All rights reserved.++Developed by:++ LLVM Team++ University of Illinois at Urbana-Champaign++ http://llvm.org++Permission is hereby granted, free of charge, to any person obtaining a copy of+this software and associated documentation files (the "Software"), to deal with+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:++ * Redistributions of source code must retain the above copyright notice,+ this list of conditions and the following disclaimers.++ * Redistributions in binary form must reproduce the above copyright notice,+ this list of conditions and the following disclaimers in the+ documentation and/or other materials provided with the distribution.++ * Neither the names of the LLVM Team, University of Illinois at+ Urbana-Champaign, nor the names of its contributors may be used to+ endorse or promote products derived from this Software without specific+ prior written permission.++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+CONTRIBUTORS 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 WITH THE+SOFTWARE.++==============================================================================++Copyright (c) 2009-2014 by the contributors listed in CREDITS.TXT++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:++The above copyright notice and this permission notice shall be included in+all copies or substantial portions of the Software.++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.diff --git a/scripts/licenses/emscripten-3.1.46-libcxxabi.LICENSE b/scripts/licenses/emscripten-3.1.46-libcxxabi.LICENSEnew file mode 100644index 0000000..b75c044--- /dev/null+++ b/scripts/licenses/emscripten-3.1.46-libcxxabi.LICENSE@@ -0,0 +1,311 @@+==============================================================================+The LLVM Project is under the Apache License v2.0 with LLVM Exceptions:+==============================================================================++ Apache License+ Version 2.0, January 2004+ http://www.apache.org/licenses/++ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION++ 1. Definitions.++ "License" shall mean the terms and conditions for use, reproduction,+ and distribution as defined by Sections 1 through 9 of this document.++ "Licensor" shall mean the copyright owner or entity authorized by+ the copyright owner that is granting the License.++ "Legal Entity" shall mean the union of the acting entity and all+ other entities that control, are controlled by, or are under common+ control with that entity. For the purposes of this definition,+ "control" means (i) the power, direct or indirect, to cause the+ direction or management of such entity, whether by contract or+ otherwise, or (ii) ownership of fifty percent (50%) or more of the+ outstanding shares, or (iii) beneficial ownership of such entity.++ "You" (or "Your") shall mean an individual or Legal Entity+ exercising permissions granted by this License.++ "Source" form shall mean the preferred form for making modifications,+ including but not limited to software source code, documentation+ source, and configuration files.++ "Object" form shall mean any form resulting from mechanical+ transformation or translation of a Source form, including but+ not limited to compiled object code, generated documentation,+ and conversions to other media types.++ "Work" shall mean the work of authorship, whether in Source or+ Object form, made available under the License, as indicated by a+ copyright notice that is included in or attached to the work+ (an example is provided in the Appendix below).++ "Derivative Works" shall mean any work, whether in Source or Object+ form, that is based on (or derived from) the Work and for which the+ editorial revisions, annotations, elaborations, or other modifications+ represent, as a whole, an original work of authorship. For the purposes+ of this License, Derivative Works shall not include works that remain+ separable from, or merely link (or bind by name) to the interfaces of,+ the Work and Derivative Works thereof.++ "Contribution" shall mean any work of authorship, including+ the original version of the Work and any modifications or additions+ to that Work or Derivative Works thereof, that is intentionally+ submitted to Licensor for inclusion in the Work by the copyright owner+ or by an individual or Legal Entity authorized to submit on behalf of+ the copyright owner. For the purposes of this definition, "submitted"+ means any form of electronic, verbal, or written communication sent+ to the Licensor or its representatives, including but not limited to+ communication on electronic mailing lists, source code control systems,+ and issue tracking systems that are managed by, or on behalf of, the+ Licensor for the purpose of discussing and improving the Work, but+ excluding communication that is conspicuously marked or otherwise+ designated in writing by the copyright owner as "Not a Contribution."++ "Contributor" shall mean Licensor and any individual or Legal Entity+ on behalf of whom a Contribution has been received by Licensor and+ subsequently incorporated within the Work.++ 2. Grant of Copyright License. Subject to the terms and conditions of+ this License, each Contributor hereby grants to You a perpetual,+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable+ copyright license to reproduce, prepare Derivative Works of,+ publicly display, publicly perform, sublicense, and distribute the+ Work and such Derivative Works in Source or Object form.++ 3. Grant of Patent License. Subject to the terms and conditions of+ this License, each Contributor hereby grants to You a perpetual,+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable+ (except as stated in this section) patent license to make, have made,+ use, offer to sell, sell, import, and otherwise transfer the Work,+ where such license applies only to those patent claims licensable+ by such Contributor that are necessarily infringed by their+ Contribution(s) alone or by combination of their Contribution(s)+ with the Work to which such Contribution(s) was submitted. If You+ institute patent litigation against any entity (including a+ cross-claim or counterclaim in a lawsuit) alleging that the Work+ or a Contribution incorporated within the Work constitutes direct+ or contributory patent infringement, then any patent licenses+ granted to You under this License for that Work shall terminate+ as of the date such litigation is filed.++ 4. Redistribution. You may reproduce and distribute copies of the+ Work or Derivative Works thereof in any medium, with or without+ modifications, and in Source or Object form, provided that You+ meet the following conditions:++ (a) You must give any other recipients of the Work or+ Derivative Works a copy of this License; and++ (b) You must cause any modified files to carry prominent notices+ stating that You changed the files; and++ (c) You must retain, in the Source form of any Derivative Works+ that You distribute, all copyright, patent, trademark, and+ attribution notices from the Source form of the Work,+ excluding those notices that do not pertain to any part of+ the Derivative Works; and++ (d) If the Work includes a "NOTICE" text file as part of its+ distribution, then any Derivative Works that You distribute must+ include a readable copy of the attribution notices contained+ within such NOTICE file, excluding those notices that do not+ pertain to any part of the Derivative Works, in at least one+ of the following places: within a NOTICE text file distributed+ as part of the Derivative Works; within the Source form or+ documentation, if provided along with the Derivative Works; or,+ within a display generated by the Derivative Works, if and+ wherever such third-party notices normally appear. The contents+ of the NOTICE file are for informational purposes only and+ do not modify the License. You may add Your own attribution+ notices within Derivative Works that You distribute, alongside+ or as an addendum to the NOTICE text from the Work, provided+ that such additional attribution notices cannot be construed+ as modifying the License.++ You may add Your own copyright statement to Your modifications and+ may provide additional or different license terms and conditions+ for use, reproduction, or distribution of Your modifications, or+ for any such Derivative Works as a whole, provided Your use,+ reproduction, and distribution of the Work otherwise complies with+ the conditions stated in this License.++ 5. Submission of Contributions. Unless You explicitly state otherwise,+ any Contribution intentionally submitted for inclusion in the Work+ by You to the Licensor shall be under the terms and conditions of+ this License, without any additional terms or conditions.+ Notwithstanding the above, nothing herein shall supersede or modify+ the terms of any separate license agreement you may have executed+ with Licensor regarding such Contributions.++ 6. Trademarks. This License does not grant permission to use the trade+ names, trademarks, service marks, or product names of the Licensor,+ except as required for reasonable and customary use in describing the+ origin of the Work and reproducing the content of the NOTICE file.++ 7. Disclaimer of Warranty. Unless required by applicable law or+ agreed to in writing, Licensor provides the Work (and each+ Contributor provides its Contributions) on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or+ implied, including, without limitation, any warranties or conditions+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A+ PARTICULAR PURPOSE. You are solely responsible for determining the+ appropriateness of using or redistributing the Work and assume any+ risks associated with Your exercise of permissions under this License.++ 8. Limitation of Liability. In no event and under no legal theory,+ whether in tort (including negligence), contract, or otherwise,+ unless required by applicable law (such as deliberate and grossly+ negligent acts) or agreed to in writing, shall any Contributor be+ liable to You for damages, including any direct, indirect, special,+ incidental, or consequential damages of any character arising as a+ result of this License or out of the use or inability to use the+ Work (including but not limited to damages for loss of goodwill,+ work stoppage, computer failure or malfunction, or any and all+ other commercial damages or losses), even if such Contributor+ has been advised of the possibility of such damages.++ 9. Accepting Warranty or Additional Liability. While redistributing+ the Work or Derivative Works thereof, You may choose to offer,+ and charge a fee for, acceptance of support, warranty, indemnity,+ or other liability obligations and/or rights consistent with this+ License. However, in accepting such obligations, You may act only+ on Your own behalf and on Your sole responsibility, not on behalf+ of any other Contributor, and only if You agree to indemnify,+ defend, and hold each Contributor harmless for any liability+ incurred by, or claims asserted against, such Contributor by reason+ of your accepting any such warranty or additional liability.++ END OF TERMS AND CONDITIONS++ APPENDIX: How to apply the Apache License to your work.++ To apply the Apache License to your work, attach the following+ boilerplate notice, with the fields enclosed by brackets "[]"+ replaced with your own identifying information. (Don't include+ the brackets!) The text should be enclosed in the appropriate+ comment syntax for the file format. We also recommend that a+ file or class name and description of purpose be included on the+ same "printed page" as the copyright notice for easier+ identification within third-party archives.++ Copyright [yyyy] [name of copyright owner]++ Licensed under the Apache License, Version 2.0 (the "License");+ you may not use this file except in compliance with the License.+ You may obtain a copy of the License at++ http://www.apache.org/licenses/LICENSE-2.0++ Unless required by applicable law or agreed to in writing, software+ distributed under the License is distributed on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ See the License for the specific language governing permissions and+ limitations under the License.+++---- LLVM Exceptions to the Apache 2.0 License ----++As an exception, if, as a result of your compiling your source code, portions+of this Software are embedded into an Object form of such source code, you+may redistribute such embedded portions in such Object form without complying+with the conditions of Sections 4(a), 4(b) and 4(d) of the License.++In addition, if you combine or link compiled forms of this Software with+software that is licensed under the GPLv2 ("Combined Software") and if a+court of competent jurisdiction determines that the patent provision (Section+3), the indemnity provision (Section 9) or other Section of the License+conflicts with the conditions of the GPLv2, you may retroactively and+prospectively choose to deem waived or otherwise exclude such Section(s) of+the License, but only in their entirety and only with respect to the Combined+Software.++==============================================================================+Software from third parties included in the LLVM Project:+==============================================================================+The LLVM Project contains third party software which is under different license+terms. All such code will be identified clearly using at least one of two+mechanisms:+1) It will be in a separate directory tree with its own `LICENSE.txt` or+ `LICENSE` file at the top containing the specific license and restrictions+ which apply to that software, or+2) It will contain specific license and restriction terms at the top of every+ file.++==============================================================================+Legacy LLVM License (https://llvm.org/docs/DeveloperPolicy.html#legacy):+==============================================================================++The libc++abi library is dual licensed under both the University of Illinois+"BSD-Like" license and the MIT license. As a user of this code you may choose+to use it under either license. As a contributor, you agree to allow your code+to be used under both.++Full text of the relevant licenses is included below.++==============================================================================++University of Illinois/NCSA+Open Source License++Copyright (c) 2009-2019 by the contributors listed in CREDITS.TXT++All rights reserved.++Developed by:++ LLVM Team++ University of Illinois at Urbana-Champaign++ http://llvm.org++Permission is hereby granted, free of charge, to any person obtaining a copy of+this software and associated documentation files (the "Software"), to deal with+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:++ * Redistributions of source code must retain the above copyright notice,+ this list of conditions and the following disclaimers.++ * Redistributions in binary form must reproduce the above copyright notice,+ this list of conditions and the following disclaimers in the+ documentation and/or other materials provided with the distribution.++ * Neither the names of the LLVM Team, University of Illinois at+ Urbana-Champaign, nor the names of its contributors may be used to+ endorse or promote products derived from this Software without specific+ prior written permission.++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+CONTRIBUTORS 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 WITH THE+SOFTWARE.++==============================================================================++Copyright (c) 2009-2014 by the contributors listed in CREDITS.TXT++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:++The above copyright notice and this permission notice shall be included in+all copies or substantial portions of the Software.++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.diff --git a/scripts/licenses/emscripten-3.1.46-libunwind.LICENSE b/scripts/licenses/emscripten-3.1.46-libunwind.LICENSEnew file mode 100644index 0000000..1e31206--- /dev/null+++ b/scripts/licenses/emscripten-3.1.46-libunwind.LICENSE@@ -0,0 +1,311 @@+==============================================================================+The LLVM Project is under the Apache License v2.0 with LLVM Exceptions:+==============================================================================++ Apache License+ Version 2.0, January 2004+ http://www.apache.org/licenses/++ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION++ 1. Definitions.++ "License" shall mean the terms and conditions for use, reproduction,+ and distribution as defined by Sections 1 through 9 of this document.++ "Licensor" shall mean the copyright owner or entity authorized by+ the copyright owner that is granting the License.++ "Legal Entity" shall mean the union of the acting entity and all+ other entities that control, are controlled by, or are under common+ control with that entity. For the purposes of this definition,+ "control" means (i) the power, direct or indirect, to cause the+ direction or management of such entity, whether by contract or+ otherwise, or (ii) ownership of fifty percent (50%) or more of the+ outstanding shares, or (iii) beneficial ownership of such entity.++ "You" (or "Your") shall mean an individual or Legal Entity+ exercising permissions granted by this License.++ "Source" form shall mean the preferred form for making modifications,+ including but not limited to software source code, documentation+ source, and configuration files.++ "Object" form shall mean any form resulting from mechanical+ transformation or translation of a Source form, including but+ not limited to compiled object code, generated documentation,+ and conversions to other media types.++ "Work" shall mean the work of authorship, whether in Source or+ Object form, made available under the License, as indicated by a+ copyright notice that is included in or attached to the work+ (an example is provided in the Appendix below).++ "Derivative Works" shall mean any work, whether in Source or Object+ form, that is based on (or derived from) the Work and for which the+ editorial revisions, annotations, elaborations, or other modifications+ represent, as a whole, an original work of authorship. For the purposes+ of this License, Derivative Works shall not include works that remain+ separable from, or merely link (or bind by name) to the interfaces of,+ the Work and Derivative Works thereof.++ "Contribution" shall mean any work of authorship, including+ the original version of the Work and any modifications or additions+ to that Work or Derivative Works thereof, that is intentionally+ submitted to Licensor for inclusion in the Work by the copyright owner+ or by an individual or Legal Entity authorized to submit on behalf of+ the copyright owner. For the purposes of this definition, "submitted"+ means any form of electronic, verbal, or written communication sent+ to the Licensor or its representatives, including but not limited to+ communication on electronic mailing lists, source code control systems,+ and issue tracking systems that are managed by, or on behalf of, the+ Licensor for the purpose of discussing and improving the Work, but+ excluding communication that is conspicuously marked or otherwise+ designated in writing by the copyright owner as "Not a Contribution."++ "Contributor" shall mean Licensor and any individual or Legal Entity+ on behalf of whom a Contribution has been received by Licensor and+ subsequently incorporated within the Work.++ 2. Grant of Copyright License. Subject to the terms and conditions of+ this License, each Contributor hereby grants to You a perpetual,+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable+ copyright license to reproduce, prepare Derivative Works of,+ publicly display, publicly perform, sublicense, and distribute the+ Work and such Derivative Works in Source or Object form.++ 3. Grant of Patent License. Subject to the terms and conditions of+ this License, each Contributor hereby grants to You a perpetual,+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable+ (except as stated in this section) patent license to make, have made,+ use, offer to sell, sell, import, and otherwise transfer the Work,+ where such license applies only to those patent claims licensable+ by such Contributor that are necessarily infringed by their+ Contribution(s) alone or by combination of their Contribution(s)+ with the Work to which such Contribution(s) was submitted. If You+ institute patent litigation against any entity (including a+ cross-claim or counterclaim in a lawsuit) alleging that the Work+ or a Contribution incorporated within the Work constitutes direct+ or contributory patent infringement, then any patent licenses+ granted to You under this License for that Work shall terminate+ as of the date such litigation is filed.++ 4. Redistribution. You may reproduce and distribute copies of the+ Work or Derivative Works thereof in any medium, with or without+ modifications, and in Source or Object form, provided that You+ meet the following conditions:++ (a) You must give any other recipients of the Work or+ Derivative Works a copy of this License; and++ (b) You must cause any modified files to carry prominent notices+ stating that You changed the files; and++ (c) You must retain, in the Source form of any Derivative Works+ that You distribute, all copyright, patent, trademark, and+ attribution notices from the Source form of the Work,+ excluding those notices that do not pertain to any part of+ the Derivative Works; and++ (d) If the Work includes a "NOTICE" text file as part of its+ distribution, then any Derivative Works that You distribute must+ include a readable copy of the attribution notices contained+ within such NOTICE file, excluding those notices that do not+ pertain to any part of the Derivative Works, in at least one+ of the following places: within a NOTICE text file distributed+ as part of the Derivative Works; within the Source form or+ documentation, if provided along with the Derivative Works; or,+ within a display generated by the Derivative Works, if and+ wherever such third-party notices normally appear. The contents+ of the NOTICE file are for informational purposes only and+ do not modify the License. You may add Your own attribution+ notices within Derivative Works that You distribute, alongside+ or as an addendum to the NOTICE text from the Work, provided+ that such additional attribution notices cannot be construed+ as modifying the License.++ You may add Your own copyright statement to Your modifications and+ may provide additional or different license terms and conditions+ for use, reproduction, or distribution of Your modifications, or+ for any such Derivative Works as a whole, provided Your use,+ reproduction, and distribution of the Work otherwise complies with+ the conditions stated in this License.++ 5. Submission of Contributions. Unless You explicitly state otherwise,+ any Contribution intentionally submitted for inclusion in the Work+ by You to the Licensor shall be under the terms and conditions of+ this License, without any additional terms or conditions.+ Notwithstanding the above, nothing herein shall supersede or modify+ the terms of any separate license agreement you may have executed+ with Licensor regarding such Contributions.++ 6. Trademarks. This License does not grant permission to use the trade+ names, trademarks, service marks, or product names of the Licensor,+ except as required for reasonable and customary use in describing the+ origin of the Work and reproducing the content of the NOTICE file.++ 7. Disclaimer of Warranty. Unless required by applicable law or+ agreed to in writing, Licensor provides the Work (and each+ Contributor provides its Contributions) on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or+ implied, including, without limitation, any warranties or conditions+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A+ PARTICULAR PURPOSE. You are solely responsible for determining the+ appropriateness of using or redistributing the Work and assume any+ risks associated with Your exercise of permissions under this License.++ 8. Limitation of Liability. In no event and under no legal theory,+ whether in tort (including negligence), contract, or otherwise,+ unless required by applicable law (such as deliberate and grossly+ negligent acts) or agreed to in writing, shall any Contributor be+ liable to You for damages, including any direct, indirect, special,+ incidental, or consequential damages of any character arising as a+ result of this License or out of the use or inability to use the+ Work (including but not limited to damages for loss of goodwill,+ work stoppage, computer failure or malfunction, or any and all+ other commercial damages or losses), even if such Contributor+ has been advised of the possibility of such damages.++ 9. Accepting Warranty or Additional Liability. While redistributing+ the Work or Derivative Works thereof, You may choose to offer,+ and charge a fee for, acceptance of support, warranty, indemnity,+ or other liability obligations and/or rights consistent with this+ License. However, in accepting such obligations, You may act only+ on Your own behalf and on Your sole responsibility, not on behalf+ of any other Contributor, and only if You agree to indemnify,+ defend, and hold each Contributor harmless for any liability+ incurred by, or claims asserted against, such Contributor by reason+ of your accepting any such warranty or additional liability.++ END OF TERMS AND CONDITIONS++ APPENDIX: How to apply the Apache License to your work.++ To apply the Apache License to your work, attach the following+ boilerplate notice, with the fields enclosed by brackets "[]"+ replaced with your own identifying information. (Don't include+ the brackets!) The text should be enclosed in the appropriate+ comment syntax for the file format. We also recommend that a+ file or class name and description of purpose be included on the+ same "printed page" as the copyright notice for easier+ identification within third-party archives.++ Copyright [yyyy] [name of copyright owner]++ Licensed under the Apache License, Version 2.0 (the "License");+ you may not use this file except in compliance with the License.+ You may obtain a copy of the License at++ http://www.apache.org/licenses/LICENSE-2.0++ Unless required by applicable law or agreed to in writing, software+ distributed under the License is distributed on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ See the License for the specific language governing permissions and+ limitations under the License.+++---- LLVM Exceptions to the Apache 2.0 License ----++As an exception, if, as a result of your compiling your source code, portions+of this Software are embedded into an Object form of such source code, you+may redistribute such embedded portions in such Object form without complying+with the conditions of Sections 4(a), 4(b) and 4(d) of the License.++In addition, if you combine or link compiled forms of this Software with+software that is licensed under the GPLv2 ("Combined Software") and if a+court of competent jurisdiction determines that the patent provision (Section+3), the indemnity provision (Section 9) or other Section of the License+conflicts with the conditions of the GPLv2, you may retroactively and+prospectively choose to deem waived or otherwise exclude such Section(s) of+the License, but only in their entirety and only with respect to the Combined+Software.++==============================================================================+Software from third parties included in the LLVM Project:+==============================================================================+The LLVM Project contains third party software which is under different license+terms. All such code will be identified clearly using at least one of two+mechanisms:+1) It will be in a separate directory tree with its own `LICENSE.txt` or+ `LICENSE` file at the top containing the specific license and restrictions+ which apply to that software, or+2) It will contain specific license and restriction terms at the top of every+ file.++==============================================================================+Legacy LLVM License (https://llvm.org/docs/DeveloperPolicy.html#legacy):+==============================================================================++The libunwind library is dual licensed under both the University of Illinois+"BSD-Like" license and the MIT license. As a user of this code you may choose+to use it under either license. As a contributor, you agree to allow your code+to be used under both.++Full text of the relevant licenses is included below.++==============================================================================++University of Illinois/NCSA+Open Source License++Copyright (c) 2009-2019 by the contributors listed in CREDITS.TXT++All rights reserved.++Developed by:++ LLVM Team++ University of Illinois at Urbana-Champaign++ http://llvm.org++Permission is hereby granted, free of charge, to any person obtaining a copy of+this software and associated documentation files (the "Software"), to deal with+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:++ * Redistributions of source code must retain the above copyright notice,+ this list of conditions and the following disclaimers.++ * Redistributions in binary form must reproduce the above copyright notice,+ this list of conditions and the following disclaimers in the+ documentation and/or other materials provided with the distribution.++ * Neither the names of the LLVM Team, University of Illinois at+ Urbana-Champaign, nor the names of its contributors may be used to+ endorse or promote products derived from this Software without specific+ prior written permission.++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+CONTRIBUTORS 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 WITH THE+SOFTWARE.++==============================================================================++Copyright (c) 2009-2014 by the contributors listed in CREDITS.TXT++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:++The above copyright notice and this permission notice shall be included in+all copies or substantial portions of the Software.++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.diff --git a/scripts/licenses/emscripten-3.1.46-musl.LICENSE b/scripts/licenses/emscripten-3.1.46-musl.LICENSEnew file mode 100644index 0000000..c1628e9--- /dev/null+++ b/scripts/licenses/emscripten-3.1.46-musl.LICENSE@@ -0,0 +1,193 @@+musl as a whole is licensed under the following standard MIT license:++----------------------------------------------------------------------+Copyright © 2005-2020 Rich Felker, et al.++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:++The above copyright notice and this permission notice shall be+included in all copies or substantial portions of the Software.++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.+----------------------------------------------------------------------++Authors/contributors include:++A. Wilcox+Ada Worcester+Alex Dowad+Alex Suykov+Alexander Monakov+Andre McCurdy+Andrew Kelley+Anthony G. Basile+Aric Belsito+Arvid Picciani+Bartosz Brachaczek+Benjamin Peterson+Bobby Bingham+Boris Brezillon+Brent Cook+Chris Spiegel+Clément Vasseur+Daniel Micay+Daniel Sabogal+Daurnimator+David Carlier+David Edelsohn+Denys Vlasenko+Dmitry Ivanov+Dmitry V. Levin+Drew DeVault+Emil Renner Berthing+Fangrui Song+Felix Fietkau+Felix Janda+Gianluca Anzolin+Hauke Mehrtens+He X+Hiltjo Posthuma+Isaac Dunham+Jaydeep Patil+Jens Gustedt+Jeremy Huntwork+Jo-Philipp Wich+Joakim Sindholt+John Spencer+Julien Ramseier+Justin Cormack+Kaarle Ritvanen+Khem Raj+Kylie McClain+Leah Neukirchen+Luca Barbato+Luka Perkov+M Farkas-Dyck (Strake)+Mahesh Bodapati+Markus Wichmann+Masanori Ogino+Michael Clark+Michael Forney+Mikhail Kremnyov+Natanael Copa+Nicholas J. Kain+orc+Pascal Cuoq+Patrick Oppenlander+Petr Hosek+Petr Skocik+Pierre Carrier+Reini Urban+Rich Felker+Richard Pennington+Ryan Fairfax+Samuel Holland+Segev Finer+Shiz+sin+Solar Designer+Stefan Kristiansson+Stefan O'Rear+Szabolcs Nagy+Timo Teräs+Trutz Behn+Valentin Ochs+Will Dietz+William Haddon+William Pitcock++Portions of this software are derived from third-party works licensed+under terms compatible with the above MIT license:++The TRE regular expression implementation (src/regex/reg* and+src/regex/tre*) is Copyright © 2001-2008 Ville Laurikari and licensed+under a 2-clause BSD license (license text in the source files). The+included version has been heavily modified by Rich Felker in 2012, in+the interests of size, simplicity, and namespace cleanliness.++Much of the math library code (src/math/* and src/complex/*) is+Copyright © 1993,2004 Sun Microsystems or+Copyright © 2003-2011 David Schultz or+Copyright © 2003-2009 Steven G. Kargl or+Copyright © 2003-2009 Bruce D. Evans or+Copyright © 2008 Stephen L. Moshier or+Copyright © 2017-2018 Arm Limited+and labelled as such in comments in the individual source files. All+have been licensed under extremely permissive terms.++The ARM memcpy code (src/string/arm/memcpy.S) is Copyright © 2008+The Android Open Source Project and is licensed under a two-clause BSD+license. It was taken from Bionic libc, used on Android.++The AArch64 memcpy and memset code (src/string/aarch64/*) are+Copyright © 1999-2019, Arm Limited.++The implementation of DES for crypt (src/crypt/crypt_des.c) is+Copyright © 1994 David Burren. It is licensed under a BSD license.++The implementation of blowfish crypt (src/crypt/crypt_blowfish.c) was+originally written by Solar Designer and placed into the public+domain. The code also comes with a fallback permissive license for use+in jurisdictions that may not recognize the public domain.++The smoothsort implementation (src/stdlib/qsort.c) is Copyright © 2011+Valentin Ochs and is licensed under an MIT-style license.++The x86_64 port was written by Nicholas J. Kain and is licensed under+the standard MIT terms.++The mips and microblaze ports were originally written by Richard+Pennington for use in the ellcc project. The original code was adapted+by Rich Felker for build system and code conventions during upstream+integration. It is licensed under the standard MIT terms.++The mips64 port was contributed by Imagination Technologies and is+licensed under the standard MIT terms.++The powerpc port was also originally written by Richard Pennington,+and later supplemented and integrated by John Spencer. It is licensed+under the standard MIT terms.++All other files which have no copyright comments are original works+produced specifically for use as part of this library, written either+by Rich Felker, the main author of the library, or by one or more+contibutors listed above. Details on authorship of individual files+can be found in the git version control history of the project. The+omission of copyright and license comments in each file is in the+interest of source tree size.++In addition, permission is hereby granted for all public header files+(include/* and arch/*/bits/*) and crt files intended to be linked into+applications (crt/*, ldso/dlstart.c, and arch/*/crt_arch.h) to omit+the copyright notice and permission notice otherwise required by the+license, and to use these files without any requirement of+attribution. These files include substantial contributions from:++Bobby Bingham+John Spencer+Nicholas J. Kain+Rich Felker+Richard Pennington+Stefan Kristiansson+Szabolcs Nagy++all of whom have explicitly granted such permission.++This file previously contained text expressing a belief that most of+the files covered by the above exception were sufficiently trivial not+to be subject to copyright, resulting in confusion over whether it+negated the permissions granted in the license. In the spirit of+permissive licensing, and of not having licensing issues being an+obstacle to adoption, that text has been removed.diff --git a/scripts/licenses/emscripten-3.1.46.LICENSE b/scripts/licenses/emscripten-3.1.46.LICENSEnew file mode 100644index 0000000..70cabe3--- /dev/null+++ b/scripts/licenses/emscripten-3.1.46.LICENSE@@ -0,0 +1,102 @@+Emscripten is available under 2 licenses, the MIT license and the+University of Illinois/NCSA Open Source License.++Both are permissive open source licenses, with little if any+practical difference between them.++The reason for offering both is that (1) the MIT license is+well-known, while (2) the University of Illinois/NCSA Open Source+License allows Emscripten's code to be integrated upstream into+LLVM, which uses that license, should the opportunity arise.++The full text of both licenses follows.++==============================================================================++Copyright (c) 2010-2014 Emscripten authors, see AUTHORS file.++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:++The above copyright notice and this permission notice shall be included in+all copies or substantial portions of the Software.++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.++==============================================================================++Copyright (c) 2010-2014 Emscripten authors, see AUTHORS file.+All rights reserved.++Permission is hereby granted, free of charge, to any person obtaining a+copy of this software and associated documentation files (the+"Software"), to deal with 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:++ Redistributions of source code must retain the above copyright+ notice, this list of conditions and the following disclaimers.++ Redistributions in binary form must reproduce the above+ copyright notice, this list of conditions and the following disclaimers+ in the documentation and/or other materials provided with the+ distribution.++ Neither the names of Mozilla,+ nor the names of its contributors may be used to endorse+ or promote products derived from this Software without specific prior+ written permission.++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 CONTRIBUTORS 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 WITH THE SOFTWARE.++==============================================================================++This program uses portions of Node.js source code located in src/library_path.js,+in accordance with the terms of the MIT license. Node's license follows:++ """+ Copyright Joyent, Inc. and other Node contributors. All rights reserved.+ 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:++ The above copyright notice and this permission notice shall be included in+ all copies or substantial portions of the Software.++ 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.+ """++The musl libc project is bundled in this repo, and it has the MIT license, see+system/lib/libc/musl/COPYRIGHT++The third_party/ subdirectory contains code with other licenses. None of it is+used by default, but certain options use it (e.g., the optional closure compiler+flag will run closure compiler from third_party/).+diff --git a/scripts/licenses/hiwire-49f3450.LICENSE b/scripts/licenses/hiwire-49f3450.LICENSEnew file mode 100644index 0000000..a612ad9--- /dev/null+++ b/scripts/licenses/hiwire-49f3450.LICENSE@@ -0,0 +1,373 @@+Mozilla Public License Version 2.0+==================================++1. Definitions+--------------++1.1. "Contributor"+ means each individual or legal entity that creates, contributes to+ the creation of, or owns Covered Software.++1.2. "Contributor Version"+ means the combination of the Contributions of others (if any) used+ by a Contributor and that particular Contributor's Contribution.++1.3. "Contribution"+ means Covered Software of a particular Contributor.++1.4. "Covered Software"+ means Source Code Form to which the initial Contributor has attached+ the notice in Exhibit A, the Executable Form of such Source Code+ Form, and Modifications of such Source Code Form, in each case+ including portions thereof.++1.5. "Incompatible With Secondary Licenses"+ means++ (a) that the initial Contributor has attached the notice described+ in Exhibit B to the Covered Software; or++ (b) that the Covered Software was made available under the terms of+ version 1.1 or earlier of the License, but not also under the+ terms of a Secondary License.++1.6. "Executable Form"+ means any form of the work other than Source Code Form.++1.7. "Larger Work"+ means a work that combines Covered Software with other material, in+ a separate file or files, that is not Covered Software.++1.8. "License"+ means this document.++1.9. "Licensable"+ means having the right to grant, to the maximum extent possible,+ whether at the time of the initial grant or subsequently, any and+ all of the rights conveyed by this License.++1.10. "Modifications"+ means any of the following:++ (a) any file in Source Code Form that results from an addition to,+ deletion from, or modification of the contents of Covered+ Software; or++ (b) any new file in Source Code Form that contains any Covered+ Software.++1.11. "Patent Claims" of a Contributor+ means any patent claim(s), including without limitation, method,+ process, and apparatus claims, in any patent Licensable by such+ Contributor that would be infringed, but for the grant of the+ License, by the making, using, selling, offering for sale, having+ made, import, or transfer of either its Contributions or its+ Contributor Version.++1.12. "Secondary License"+ means either the GNU General Public License, Version 2.0, the GNU+ Lesser General Public License, Version 2.1, the GNU Affero General+ Public License, Version 3.0, or any later versions of those+ licenses.++1.13. "Source Code Form"+ means the form of the work preferred for making modifications.++1.14. "You" (or "Your")+ means an individual or a legal entity exercising rights under this+ License. For legal entities, "You" includes any entity that+ controls, is controlled by, or is under common control with You. For+ purposes of this definition, "control" means (a) the power, direct+ or indirect, to cause the direction or management of such entity,+ whether by contract or otherwise, or (b) ownership of more than+ fifty percent (50%) of the outstanding shares or beneficial+ ownership of such entity.++2. License Grants and Conditions+--------------------------------++2.1. Grants++Each Contributor hereby grants You a world-wide, royalty-free,+non-exclusive license:++(a) under intellectual property rights (other than patent or trademark)+ Licensable by such Contributor to use, reproduce, make available,+ modify, display, perform, distribute, and otherwise exploit its+ Contributions, either on an unmodified basis, with Modifications, or+ as part of a Larger Work; and++(b) under Patent Claims of such Contributor to make, use, sell, offer+ for sale, have made, import, and otherwise transfer either its+ Contributions or its Contributor Version.++2.2. Effective Date++The licenses granted in Section 2.1 with respect to any Contribution+become effective for each Contribution on the date the Contributor first+distributes such Contribution.++2.3. Limitations on Grant Scope++The licenses granted in this Section 2 are the only rights granted under+this License. No additional rights or licenses will be implied from the+distribution or licensing of Covered Software under this License.+Notwithstanding Section 2.1(b) above, no patent license is granted by a+Contributor:++(a) for any code that a Contributor has removed from Covered Software;+ or++(b) for infringements caused by: (i) Your and any other third party's+ modifications of Covered Software, or (ii) the combination of its+ Contributions with other software (except as part of its Contributor+ Version); or++(c) under Patent Claims infringed by Covered Software in the absence of+ its Contributions.++This License does not grant any rights in the trademarks, service marks,+or logos of any Contributor (except as may be necessary to comply with+the notice requirements in Section 3.4).++2.4. Subsequent Licenses++No Contributor makes additional grants as a result of Your choice to+distribute the Covered Software under a subsequent version of this+License (see Section 10.2) or under the terms of a Secondary License (if+permitted under the terms of Section 3.3).++2.5. Representation++Each Contributor represents that the Contributor believes its+Contributions are its original creation(s) or it has sufficient rights+to grant the rights to its Contributions conveyed by this License.++2.6. Fair Use++This License is not intended to limit any rights You have under+applicable copyright doctrines of fair use, fair dealing, or other+equivalents.++2.7. Conditions++Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted+in Section 2.1.++3. Responsibilities+-------------------++3.1. Distribution of Source Form++All distribution of Covered Software in Source Code Form, including any+Modifications that You create or to which You contribute, must be under+the terms of this License. You must inform recipients that the Source+Code Form of the Covered Software is governed by the terms of this+License, and how they can obtain a copy of this License. You may not+attempt to alter or restrict the recipients' rights in the Source Code+Form.++3.2. Distribution of Executable Form++If You distribute Covered Software in Executable Form then:++(a) such Covered Software must also be made available in Source Code+ Form, as described in Section 3.1, and You must inform recipients of+ the Executable Form how they can obtain a copy of such Source Code+ Form by reasonable means in a timely manner, at a charge no more+ than the cost of distribution to the recipient; and++(b) You may distribute such Executable Form under the terms of this+ License, or sublicense it under different terms, provided that the+ license for the Executable Form does not attempt to limit or alter+ the recipients' rights in the Source Code Form under this License.++3.3. Distribution of a Larger Work++You may create and distribute a Larger Work under terms of Your choice,+provided that You also comply with the requirements of this License for+the Covered Software. If the Larger Work is a combination of Covered+Software with a work governed by one or more Secondary Licenses, and the+Covered Software is not Incompatible With Secondary Licenses, this+License permits You to additionally distribute such Covered Software+under the terms of such Secondary License(s), so that the recipient of+the Larger Work may, at their option, further distribute the Covered+Software under the terms of either this License or such Secondary+License(s).++3.4. Notices++You may not remove or alter the substance of any license notices+(including copyright notices, patent notices, disclaimers of warranty,+or limitations of liability) contained within the Source Code Form of+the Covered Software, except that You may alter any license notices to+the extent required to remedy known factual inaccuracies.++3.5. Application of Additional Terms++You may choose to offer, and to charge a fee for, warranty, support,+indemnity or liability obligations to one or more recipients of Covered+Software. However, You may do so only on Your own behalf, and not on+behalf of any Contributor. You must make it absolutely clear that any+such warranty, support, indemnity, or liability obligation is offered by+You alone, and You hereby agree to indemnify every Contributor for any+liability incurred by such Contributor as a result of warranty, support,+indemnity or liability terms You offer. You may include additional+disclaimers of warranty and limitations of liability specific to any+jurisdiction.++4. Inability to Comply Due to Statute or Regulation+---------------------------------------------------++If it is impossible for You to comply with any of the terms of this+License with respect to some or all of the Covered Software due to+statute, judicial order, or regulation then You must: (a) comply with+the terms of this License to the maximum extent possible; and (b)+describe the limitations and the code they affect. Such description must+be placed in a text file included with all distributions of the Covered+Software under this License. Except to the extent prohibited by statute+or regulation, such description must be sufficiently detailed for a+recipient of ordinary skill to be able to understand it.++5. Termination+--------------++5.1. The rights granted under this License will terminate automatically+if You fail to comply with any of its terms. However, if You become+compliant, then the rights granted under this License from a particular+Contributor are reinstated (a) provisionally, unless and until such+Contributor explicitly and finally terminates Your grants, and (b) on an+ongoing basis, if such Contributor fails to notify You of the+non-compliance by some reasonable means prior to 60 days after You have+come back into compliance. Moreover, Your grants from a particular+Contributor are reinstated on an ongoing basis if such Contributor+notifies You of the non-compliance by some reasonable means, this is the+first time You have received notice of non-compliance with this License+from such Contributor, and You become compliant prior to 30 days after+Your receipt of the notice.++5.2. If You initiate litigation against any entity by asserting a patent+infringement claim (excluding declaratory judgment actions,+counter-claims, and cross-claims) alleging that a Contributor Version+directly or indirectly infringes any patent, then the rights granted to+You by any and all Contributors for the Covered Software under Section+2.1 of this License shall terminate.++5.3. In the event of termination under Sections 5.1 or 5.2 above, all+end user license agreements (excluding distributors and resellers) which+have been validly granted by You or Your distributors under this License+prior to termination shall survive termination.++************************************************************************+* *+* 6. Disclaimer of Warranty *+* ------------------------- *+* *+* Covered Software is provided under this License on an "as is" *+* basis, without warranty of any kind, either expressed, implied, or *+* statutory, including, without limitation, warranties that the *+* Covered Software is free of defects, merchantable, fit for a *+* particular purpose or non-infringing. The entire risk as to the *+* quality and performance of the Covered Software is with You. *+* Should any Covered Software prove defective in any respect, You *+* (not any Contributor) assume the cost of any necessary servicing, *+* repair, or correction. This disclaimer of warranty constitutes an *+* essential part of this License. No use of any Covered Software is *+* authorized under this License except under this disclaimer. *+* *+************************************************************************++************************************************************************+* *+* 7. Limitation of Liability *+* -------------------------- *+* *+* Under no circumstances and under no legal theory, whether tort *+* (including negligence), contract, or otherwise, shall any *+* Contributor, or anyone who distributes Covered Software as *+* permitted above, be liable to You for any direct, indirect, *+* special, incidental, or consequential damages of any character *+* including, without limitation, damages for lost profits, loss of *+* goodwill, work stoppage, computer failure or malfunction, or any *+* and all other commercial damages or losses, even if such party *+* shall have been informed of the possibility of such damages. This *+* limitation of liability shall not apply to liability for death or *+* personal injury resulting from such party's negligence to the *+* extent applicable law prohibits such limitation. Some *+* jurisdictions do not allow the exclusion or limitation of *+* incidental or consequential damages, so this exclusion and *+* limitation may not apply to You. *+* *+************************************************************************++8. Litigation+-------------++Any litigation relating to this License may be brought only in the+courts of a jurisdiction where the defendant maintains its principal+place of business and such litigation shall be governed by laws of that+jurisdiction, without reference to its conflict-of-law provisions.+Nothing in this Section shall prevent a party's ability to bring+cross-claims or counter-claims.++9. Miscellaneous+----------------++This License represents the complete agreement concerning the subject+matter hereof. If any provision of this License is held to be+unenforceable, such provision shall be reformed only to the extent+necessary to make it enforceable. Any law or regulation which provides+that the language of a contract shall be construed against the drafter+shall not be used to construe this License against a Contributor.++10. Versions of the License+---------------------------++10.1. New Versions++Mozilla Foundation is the license steward. Except as provided in Section+10.3, no one other than the license steward has the right to modify or+publish new versions of this License. Each version will be given a+distinguishing version number.++10.2. Effect of New Versions++You may distribute the Covered Software under the terms of the version+of the License under which You originally received the Covered Software,+or under the terms of any subsequent version published by the license+steward.++10.3. Modified Versions++If you create software not governed by this License, and you want to+create a new license for such software, you may create and use a+modified version of this License if you rename the license and remove+any references to the name of the license steward (except to note that+such modified license differs from this License).++10.4. Distributing Source Code Form that is Incompatible With Secondary+Licenses++If You choose to distribute Source Code Form that is Incompatible With+Secondary Licenses under the terms of this version of the License, the+notice described in Exhibit B of this License must be attached.++Exhibit A - Source Code Form License Notice+-------------------------------------------++ This Source Code Form is subject to the terms of the Mozilla Public+ License, v. 2.0. If a copy of the MPL was not distributed with this+ file, You can obtain one at http://mozilla.org/MPL/2.0/.++If it is not possible or desirable to put the notice in a particular+file, then You may include the notice in a location (such as a LICENSE+file in a relevant directory) where a recipient would be likely to look+for such a notice.++You may add additional accurate notices of copyright ownership.++Exhibit B - "Incompatible With Secondary Licenses" Notice+---------------------------------------------------------++ This Source Code Form is "Incompatible With Secondary Licenses", as+ defined by the Mozilla Public License, v. 2.0.diff --git a/scripts/licenses/libffi-f08493d.LICENSE b/scripts/licenses/libffi-f08493d.LICENSEnew file mode 100644index 0000000..75d1bce--- /dev/null+++ b/scripts/licenses/libffi-f08493d.LICENSE@@ -0,0 +1,21 @@+libffi - Copyright (c) 1996-2022 Anthony Green, Red Hat, Inc and others.+See source files for details.++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:++The above copyright notice and this permission notice shall be+included in all copies or substantial portions of the Software.++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.diff --git a/scripts/licenses/pyodide-0.25.1.LICENSE b/scripts/licenses/pyodide-0.25.1.LICENSEnew file mode 100644index 0000000..a612ad9--- /dev/null+++ b/scripts/licenses/pyodide-0.25.1.LICENSE@@ -0,0 +1,373 @@+Mozilla Public License Version 2.0+==================================++1. Definitions+--------------++1.1. "Contributor"+ means each individual or legal entity that creates, contributes to+ the creation of, or owns Covered Software.++1.2. "Contributor Version"+ means the combination of the Contributions of others (if any) used+ by a Contributor and that particular Contributor's Contribution.++1.3. "Contribution"+ means Covered Software of a particular Contributor.++1.4. "Covered Software"+ means Source Code Form to which the initial Contributor has attached+ the notice in Exhibit A, the Executable Form of such Source Code+ Form, and Modifications of such Source Code Form, in each case+ including portions thereof.++1.5. "Incompatible With Secondary Licenses"+ means++ (a) that the initial Contributor has attached the notice described+ in Exhibit B to the Covered Software; or++ (b) that the Covered Software was made available under the terms of+ version 1.1 or earlier of the License, but not also under the+ terms of a Secondary License.++1.6. "Executable Form"+ means any form of the work other than Source Code Form.++1.7. "Larger Work"+ means a work that combines Covered Software with other material, in+ a separate file or files, that is not Covered Software.++1.8. "License"+ means this document.++1.9. "Licensable"+ means having the right to grant, to the maximum extent possible,+ whether at the time of the initial grant or subsequently, any and+ all of the rights conveyed by this License.++1.10. "Modifications"+ means any of the following:++ (a) any file in Source Code Form that results from an addition to,+ deletion from, or modification of the contents of Covered+ Software; or++ (b) any new file in Source Code Form that contains any Covered+ Software.++1.11. "Patent Claims" of a Contributor+ means any patent claim(s), including without limitation, method,+ process, and apparatus claims, in any patent Licensable by such+ Contributor that would be infringed, but for the grant of the+ License, by the making, using, selling, offering for sale, having+ made, import, or transfer of either its Contributions or its+ Contributor Version.++1.12. "Secondary License"+ means either the GNU General Public License, Version 2.0, the GNU+ Lesser General Public License, Version 2.1, the GNU Affero General+ Public License, Version 3.0, or any later versions of those+ licenses.++1.13. "Source Code Form"+ means the form of the work preferred for making modifications.++1.14. "You" (or "Your")+ means an individual or a legal entity exercising rights under this+ License. For legal entities, "You" includes any entity that+ controls, is controlled by, or is under common control with You. For+ purposes of this definition, "control" means (a) the power, direct+ or indirect, to cause the direction or management of such entity,+ whether by contract or otherwise, or (b) ownership of more than+ fifty percent (50%) of the outstanding shares or beneficial+ ownership of such entity.++2. License Grants and Conditions+--------------------------------++2.1. Grants++Each Contributor hereby grants You a world-wide, royalty-free,+non-exclusive license:++(a) under intellectual property rights (other than patent or trademark)+ Licensable by such Contributor to use, reproduce, make available,+ modify, display, perform, distribute, and otherwise exploit its+ Contributions, either on an unmodified basis, with Modifications, or+ as part of a Larger Work; and++(b) under Patent Claims of such Contributor to make, use, sell, offer+ for sale, have made, import, and otherwise transfer either its+ Contributions or its Contributor Version.++2.2. Effective Date++The licenses granted in Section 2.1 with respect to any Contribution+become effective for each Contribution on the date the Contributor first+distributes such Contribution.++2.3. Limitations on Grant Scope++The licenses granted in this Section 2 are the only rights granted under+this License. No additional rights or licenses will be implied from the+distribution or licensing of Covered Software under this License.+Notwithstanding Section 2.1(b) above, no patent license is granted by a+Contributor:++(a) for any code that a Contributor has removed from Covered Software;+ or++(b) for infringements caused by: (i) Your and any other third party's+ modifications of Covered Software, or (ii) the combination of its+ Contributions with other software (except as part of its Contributor+ Version); or++(c) under Patent Claims infringed by Covered Software in the absence of+ its Contributions.++This License does not grant any rights in the trademarks, service marks,+or logos of any Contributor (except as may be necessary to comply with+the notice requirements in Section 3.4).++2.4. Subsequent Licenses++No Contributor makes additional grants as a result of Your choice to+distribute the Covered Software under a subsequent version of this+License (see Section 10.2) or under the terms of a Secondary License (if+permitted under the terms of Section 3.3).++2.5. Representation++Each Contributor represents that the Contributor believes its+Contributions are its original creation(s) or it has sufficient rights+to grant the rights to its Contributions conveyed by this License.++2.6. Fair Use++This License is not intended to limit any rights You have under+applicable copyright doctrines of fair use, fair dealing, or other+equivalents.++2.7. Conditions++Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted+in Section 2.1.++3. Responsibilities+-------------------++3.1. Distribution of Source Form++All distribution of Covered Software in Source Code Form, including any+Modifications that You create or to which You contribute, must be under+the terms of this License. You must inform recipients that the Source+Code Form of the Covered Software is governed by the terms of this+License, and how they can obtain a copy of this License. You may not+attempt to alter or restrict the recipients' rights in the Source Code+Form.++3.2. Distribution of Executable Form++If You distribute Covered Software in Executable Form then:++(a) such Covered Software must also be made available in Source Code+ Form, as described in Section 3.1, and You must inform recipients of+ the Executable Form how they can obtain a copy of such Source Code+ Form by reasonable means in a timely manner, at a charge no more+ than the cost of distribution to the recipient; and++(b) You may distribute such Executable Form under the terms of this+ License, or sublicense it under different terms, provided that the+ license for the Executable Form does not attempt to limit or alter+ the recipients' rights in the Source Code Form under this License.++3.3. Distribution of a Larger Work++You may create and distribute a Larger Work under terms of Your choice,+provided that You also comply with the requirements of this License for+the Covered Software. If the Larger Work is a combination of Covered+Software with a work governed by one or more Secondary Licenses, and the+Covered Software is not Incompatible With Secondary Licenses, this+License permits You to additionally distribute such Covered Software+under the terms of such Secondary License(s), so that the recipient of+the Larger Work may, at their option, further distribute the Covered+Software under the terms of either this License or such Secondary+License(s).++3.4. Notices++You may not remove or alter the substance of any license notices+(including copyright notices, patent notices, disclaimers of warranty,+or limitations of liability) contained within the Source Code Form of+the Covered Software, except that You may alter any license notices to+the extent required to remedy known factual inaccuracies.++3.5. Application of Additional Terms++You may choose to offer, and to charge a fee for, warranty, support,+indemnity or liability obligations to one or more recipients of Covered+Software. However, You may do so only on Your own behalf, and not on+behalf of any Contributor. You must make it absolutely clear that any+such warranty, support, indemnity, or liability obligation is offered by+You alone, and You hereby agree to indemnify every Contributor for any+liability incurred by such Contributor as a result of warranty, support,+indemnity or liability terms You offer. You may include additional+disclaimers of warranty and limitations of liability specific to any+jurisdiction.++4. Inability to Comply Due to Statute or Regulation+---------------------------------------------------++If it is impossible for You to comply with any of the terms of this+License with respect to some or all of the Covered Software due to+statute, judicial order, or regulation then You must: (a) comply with+the terms of this License to the maximum extent possible; and (b)+describe the limitations and the code they affect. Such description must+be placed in a text file included with all distributions of the Covered+Software under this License. Except to the extent prohibited by statute+or regulation, such description must be sufficiently detailed for a+recipient of ordinary skill to be able to understand it.++5. Termination+--------------++5.1. The rights granted under this License will terminate automatically+if You fail to comply with any of its terms. However, if You become+compliant, then the rights granted under this License from a particular+Contributor are reinstated (a) provisionally, unless and until such+Contributor explicitly and finally terminates Your grants, and (b) on an+ongoing basis, if such Contributor fails to notify You of the+non-compliance by some reasonable means prior to 60 days after You have+come back into compliance. Moreover, Your grants from a particular+Contributor are reinstated on an ongoing basis if such Contributor+notifies You of the non-compliance by some reasonable means, this is the+first time You have received notice of non-compliance with this License+from such Contributor, and You become compliant prior to 30 days after+Your receipt of the notice.++5.2. If You initiate litigation against any entity by asserting a patent+infringement claim (excluding declaratory judgment actions,+counter-claims, and cross-claims) alleging that a Contributor Version+directly or indirectly infringes any patent, then the rights granted to+You by any and all Contributors for the Covered Software under Section+2.1 of this License shall terminate.++5.3. In the event of termination under Sections 5.1 or 5.2 above, all+end user license agreements (excluding distributors and resellers) which+have been validly granted by You or Your distributors under this License+prior to termination shall survive termination.++************************************************************************+* *+* 6. Disclaimer of Warranty *+* ------------------------- *+* *+* Covered Software is provided under this License on an "as is" *+* basis, without warranty of any kind, either expressed, implied, or *+* statutory, including, without limitation, warranties that the *+* Covered Software is free of defects, merchantable, fit for a *+* particular purpose or non-infringing. The entire risk as to the *+* quality and performance of the Covered Software is with You. *+* Should any Covered Software prove defective in any respect, You *+* (not any Contributor) assume the cost of any necessary servicing, *+* repair, or correction. This disclaimer of warranty constitutes an *+* essential part of this License. No use of any Covered Software is *+* authorized under this License except under this disclaimer. *+* *+************************************************************************++************************************************************************+* *+* 7. Limitation of Liability *+* -------------------------- *+* *+* Under no circumstances and under no legal theory, whether tort *+* (including negligence), contract, or otherwise, shall any *+* Contributor, or anyone who distributes Covered Software as *+* permitted above, be liable to You for any direct, indirect, *+* special, incidental, or consequential damages of any character *+* including, without limitation, damages for lost profits, loss of *+* goodwill, work stoppage, computer failure or malfunction, or any *+* and all other commercial damages or losses, even if such party *+* shall have been informed of the possibility of such damages. This *+* limitation of liability shall not apply to liability for death or *+* personal injury resulting from such party's negligence to the *+* extent applicable law prohibits such limitation. Some *+* jurisdictions do not allow the exclusion or limitation of *+* incidental or consequential damages, so this exclusion and *+* limitation may not apply to You. *+* *+************************************************************************++8. Litigation+-------------++Any litigation relating to this License may be brought only in the+courts of a jurisdiction where the defendant maintains its principal+place of business and such litigation shall be governed by laws of that+jurisdiction, without reference to its conflict-of-law provisions.+Nothing in this Section shall prevent a party's ability to bring+cross-claims or counter-claims.++9. Miscellaneous+----------------++This License represents the complete agreement concerning the subject+matter hereof. If any provision of this License is held to be+unenforceable, such provision shall be reformed only to the extent+necessary to make it enforceable. Any law or regulation which provides+that the language of a contract shall be construed against the drafter+shall not be used to construe this License against a Contributor.++10. Versions of the License+---------------------------++10.1. New Versions++Mozilla Foundation is the license steward. Except as provided in Section+10.3, no one other than the license steward has the right to modify or+publish new versions of this License. Each version will be given a+distinguishing version number.++10.2. Effect of New Versions++You may distribute the Covered Software under the terms of the version+of the License under which You originally received the Covered Software,+or under the terms of any subsequent version published by the license+steward.++10.3. Modified Versions++If you create software not governed by this License, and you want to+create a new license for such software, you may create and use a+modified version of this License if you rename the license and remove+any references to the name of the license steward (except to note that+such modified license differs from this License).++10.4. Distributing Source Code Form that is Incompatible With Secondary+Licenses++If You choose to distribute Source Code Form that is Incompatible With+Secondary Licenses under the terms of this version of the License, the+notice described in Exhibit B of this License must be attached.++Exhibit A - Source Code Form License Notice+-------------------------------------------++ This Source Code Form is subject to the terms of the Mozilla Public+ License, v. 2.0. If a copy of the MPL was not distributed with this+ file, You can obtain one at http://mozilla.org/MPL/2.0/.++If it is not possible or desirable to put the notice in a particular+file, then You may include the notice in a location (such as a LICENSE+file in a relevant directory) where a recipient would be likely to look+for such a notice.++You may add additional accurate notices of copyright ownership.++Exhibit B - "Incompatible With Secondary Licenses" Notice+---------------------------------------------------------++ This Source Code Form is "Incompatible With Secondary Licenses", as+ defined by the Mozilla Public License, v. 2.0.diff --git a/scripts/licenses/zlib-1.2.13.LICENSE b/scripts/licenses/zlib-1.2.13.LICENSEnew file mode 100644index 0000000..ab8ee6f--- /dev/null+++ b/scripts/licenses/zlib-1.2.13.LICENSE@@ -0,0 +1,22 @@+Copyright notice:++ (C) 1995-2022 Jean-loup Gailly and Mark Adler++ This software is provided 'as-is', without any express or implied+ warranty. In no event will the authors be held liable for any damages+ arising from the use of this software.++ Permission is granted to anyone to use this software for any purpose,+ including commercial applications, and to alter it and redistribute it+ freely, subject to the following restrictions:++ 1. The origin of this software must not be misrepresented; you must not+ claim that you wrote the original software. If you use this software+ in a product, an acknowledgment in the product documentation would be+ appreciated but is not required.+ 2. Altered source versions must be plainly marked as such, and must not be+ misrepresented as being the original software.+ 3. This notice may not be removed or altered from any source distribution.++ Jean-loup Gailly Mark Adlerdiff --git a/scripts/package-notices.mjs b/scripts/package-notices.mjsindex fc4419a..7d44550 100644--- a/scripts/package-notices.mjs+++ b/scripts/package-notices.mjs@@ -67,3 +67,60 @@ export async function bundledNotices(metafile, root) {.map(([, text]) => text).join("\n")}`;}++/** The external runtime's npm archive omits its upstream/component license files. */+export async function pythonRuntimeNotices(version) {+ if (version !== "0.25.1")+ throw new Error("Review Python runtime notices before upgrading Pyodide");+ const sources = [+ ["zlib 1.2.13", "zlib-1.2.13.LICENSE", "https://github.com/madler/zlib/tree/v1.2.13"],+ ["bzip2 1.0.6", "bzip2-1.0.6.LICENSE", "https://github.com/emscripten-ports/bzip2/tree/1.0.6"],+ ["Pyodide 0.25.1", "pyodide-0.25.1.LICENSE", "https://github.com/pyodide/pyodide/tree/0.25.1"],+ ["CPython 3.11.3", "cpython-3.11.3.LICENSE", "https://github.com/python/cpython/tree/v3.11.3"],+ [+ "CPython bundled component notices",+ "cpython-3.11.3-license.rst",+ "https://github.com/python/cpython/blob/v3.11.3/Doc/license.rst",+ ],+ [+ "Emscripten 3.1.46",+ "emscripten-3.1.46.LICENSE",+ "https://github.com/emscripten-core/emscripten/tree/3.1.46",+ ],+ ...["musl", "compiler-rt", "libcxx", "libcxxabi", "libunwind"].map((name) => [+ `Emscripten ${name}`,+ `emscripten-3.1.46-${name}.LICENSE`,+ `https://github.com/emscripten-core/emscripten/tree/3.1.46/system/lib`,+ ]),+ [+ "libffi f08493d",+ "libffi-f08493d.LICENSE",+ "https://github.com/libffi/libffi/tree/f08493d249d2067c8b3207ba46693dd858f95db3",+ ],+ [+ "hiwire 49f3450",+ "hiwire-49f3450.LICENSE",+ "https://github.com/hoodmane/hiwire/tree/49f3450e34f3f50d4b8296e782dc321bb2e3264e",+ ],+ [+ "Pyodide npm metadata: Apache-2.0 terms",+ "Apache-2.0.txt",+ "https://github.com/pyodide/pyodide/blob/0.25.1/src/js/package.json",+ ],+ ];+ return (+ "\nExternal Python runtime notices\n\n" ++ "Pyodide is installed unmodified as an npm dependency. Its package metadata declares Apache-2.0; " ++ "the tagged upstream source is MPL-2.0. This metadata label does not replace the component licenses below. " ++ "Corresponding source (including Pyodide's CPython patches and build configuration) is available at the linked versions. " ++ "The external base-64 and ws dependencies retain their own installed LICENSE files.\n\n" ++ (+ await Promise.all(+ sources.map(+ async ([name, file, source]) =>+ `=== ${name} ===\nSource: ${source}\n${await readFile(new URL(`./licenses/${file}`, import.meta.url), "utf8")}\n`,+ ),+ )+ ).join("\n")+ );+}diff --git a/scripts/validate-release.mjs b/scripts/validate-release.mjsindex db015ab..9160ce0 100644--- a/scripts/validate-release.mjs+++ b/scripts/validate-release.mjs@@ -4,6 +4,7 @@ import { readFile, stat } from "node:fs/promises";import { resolve } from "node:path";import { fileURLToPath } from "node:url";import { promisify } from "node:util";+import { pythonRuntimeNotices } from "./package-notices.mjs";const execute = promisify(execFile);export const repository = fileURLToPath(new URL("../", import.meta.url));@@ -29,7 +30,7 @@ export function releaseIdentity(metadata, tag) {for (const [name, version] of Object.entries(metadata.dependencies ?? {}))if (!/^\d+\.\d+\.\d+(?:-[\w.-]+)?$/.test(version))throw new Error(`Runtime dependency ${name} must use an exact registry version`);- for (const name of ["typescript", "web-tree-sitter"])+ for (const name of ["typescript", "pyodide"])if (!metadata.dependencies?.[name])throw new Error(`Missing runtime parser dependency ${name}`);return { name: metadata.name, version, distTag: match[4] ? "next" : "latest" };@@ -47,7 +48,7 @@ export async function validateRelease(tarball, tag, root = repository) {if (new Set(files).size !== files.length) throw new Error("Duplicate archive entries");for (const path of files)if (- !/^package\/(?:package\.json|README(?:\.md)?|LICENSE|dist\/(?:bin\/index\.js|assets\/(?:tree-sitter-python\.wasm|tree-sitter-python\.LICENSE|README\.md)|skills\/jevgrep\/SKILL\.md|LICENSE|THIRD_PARTY_NOTICES\.txt))$/.test(+ !/^package\/(?:package\.json|README(?:\.md)?|LICENSE|dist\/(?:bin\/(?:index\.js|python-worker\.mjs)|assets\/(?:python\/(?:inspect|preview|neighborhood)\.py|README\.md)|skills\/jevgrep\/SKILL\.md|LICENSE|THIRD_PARTY_NOTICES\.txt))$/.test(path,))@@ -75,15 +76,19 @@ export async function validateRelease(tarball, tag, root = repository) {for (const [packed, original] of [["dist/LICENSE", "LICENSE"],["dist/skills/jevgrep/SKILL.md", "skills/jevgrep/SKILL.md"],- ["dist/assets/tree-sitter-python.wasm", "packages/core/assets/tree-sitter-python.wasm"],- ["dist/assets/tree-sitter-python.LICENSE", "packages/core/assets/tree-sitter-python.LICENSE"],+ ["dist/bin/python-worker.mjs", "packages/core/src/python-worker.mjs"],+ ...["inspect", "preview", "neighborhood"].map((name) => [+ `dist/assets/python/${name}.py`,+ `packages/core/assets/python/${name}.py`,+ ]),])if (!(await extract(packed)).equals(await readFile(resolve(root, original))))throw new Error(`Packaged ${packed} differs from its canonical source`);const notices = (await extract("dist/THIRD_PARTY_NOTICES.txt")).toString();if (!notices.startsWith("Third-party notices for bundled JavaScript dependencies\n") ||- !notices.includes("=== ")+ !notices.includes("=== ") ||+ !notices.endsWith(await pythonRuntimeNotices(metadata.dependencies.pyodide)))throw new Error("Missing bundled dependency license notices");const integrity = `sha512-${createHash("sha512")diff --git a/test/installed.test.mjs b/test/installed.test.mjsindex 8b7be9e..10bde81 100644--- a/test/installed.test.mjs+++ b/test/installed.test.mjs@@ -5,6 +5,7 @@ import { createServer } from "node:http";import {access,chmod,+ cp,mkdir,mkdtemp,readFile,@@ -37,7 +38,7 @@ const branches = [const source = (branch, name) =>`# Synthetic installed-package fixture\nclass ${name}:\n """Records an event in the ${branch} package."""\n @staticmethod\n def record_event(value):\n return "py-evidence-${branch}:" + value\n\n def unrelated():\n return "unrelated"\n`;-async function context(t, mode = "healthy") {+async function context(t, mode = "healthy", executable = binary) {let expectedQuery = query;const scratch = await mkdtemp(join(tmpdir(), "jg-installed-"));const tree = join(scratch, "repository");@@ -213,8 +214,12 @@ async function context(t, mode = "healthy") {const run = async (args, overrides = {}, head = false) => {const result = await new Promise((resolve, reject) => {const child = spawn(- head ? "bash" : binary,- head ? ["-o", "pipefail", "-c", '"$@" | head -200', "jg-pipe", binary, ...args] : args,+ head ? "bash" : executable === binary ? binary : process.execPath,+ head+ ? ["-o", "pipefail", "-c", '"$@" | head -200', "jg-pipe", executable, ...args]+ : executable === binary+ ? args+ : [executable, ...args],{cwd: tree,detached: true,@@ -691,3 +696,31 @@ test("source budget preserves every file and lead while explicitly omitting sourassert.deepEqual(locations(bounded.stdout), expectedLocations);assertCachedRequestsAreReused(fixture.requests, before);});++test("missing or corrupt packaged Python assets fail closed without downloads", async (t) => {+ const scratch = await mkdtemp(join(tmpdir(), "jg-missing-python-"));+ t.after(() => rm(scratch, { recursive: true, force: true }));+ for (const [asset, corrupt] of [+ ["dist/bin/python-worker.mjs", false],+ ["dist/assets/python/inspect.py", false],+ ["node_modules/pyodide/pyodide.asm.wasm", false],+ ["node_modules/pyodide/python_stdlib.zip", false],+ ["node_modules/pyodide/pyodide.asm.wasm", true],+ ]) {+ const copy = join(scratch, "package");+ await cp(packageDirectory, copy, { recursive: true, dereference: true });+ await access(join(copy, asset));+ if (corrupt) await writeFile(join(copy, asset), "corrupt runtime fixture");+ else await rm(join(copy, asset));+ const fixture = await context(t, "healthy", join(copy, "dist/bin/index.js"));+ const result = await fixture.run([query, fixture.tree, "--no-cache"]);+ assert.equal(result.code, 1, `${asset} (corrupt=${corrupt}): ${result.stdout}`);+ assert.ok(result.stdout.trim(), "Asset failure must produce a diagnostic");+ assert.ok(+ !fixture.requests.some(({ body }) => body.state.declarations),+ "Unavailable parser assets must not fabricate declaration evidence",+ );+ assert.equal((await fixture.run(["--help"], { AI_GATEWAY_API_KEY: "" })).code, 0);+ await rm(copy, { recursive: true, force: true });+ }+});diff --git a/test/release.test.mjs b/test/release.test.mjsindex 199e5e9..23389c8 100644--- a/test/release.test.mjs+++ b/test/release.test.mjs@@ -8,7 +8,7 @@ const metadata = {publishConfig: { access: "public" },license: "MIT",engines: { node: ">=22" },- dependencies: { typescript: "5.9.3", "web-tree-sitter": "0.25.10" },+ dependencies: { typescript: "5.9.3", pyodide: "0.25.1" },};test("release tags select the authored version and keep prereleases off latest", () => {assert.deepEqual(releaseIdentity(metadata, "v1.2.3"), {@@ -88,8 +88,13 @@ test("archive validation rejects changed skill bytes and accidental source paylo"apps/cli/package.json": JSON.stringify(metadata),LICENSE: "MIT canonical copyright\n","skills/jevgrep/SKILL.md": "Use jg for unfamiliar code.\n",- "packages/core/assets/tree-sitter-python.wasm": "fixture wasm",- "packages/core/assets/tree-sitter-python.LICENSE": "fixture grammar license",+ "packages/core/src/python-worker.mjs": "// worker fixture",+ ...Object.fromEntries(+ ["inspect", "preview", "neighborhood"].map((name) => [+ `packages/core/assets/python/${name}.py`,+ `# ${name} helper fixture`,+ ]),+ ),};for (const [path, text] of Object.entries(files)) {await mkdir(join(root, path, ".."), { recursive: true });@@ -99,26 +104,45 @@ test("archive validation rejects changed skill bytes and accidental source paylopkg = join(archiveRoot, "package");await mkdir(join(pkg, "dist/bin"), { recursive: true });await mkdir(join(pkg, "dist/skills/jevgrep"), { recursive: true });- await mkdir(join(pkg, "dist/assets"), { recursive: true });+ await mkdir(join(pkg, "dist/assets/python"), { recursive: true });for (const [from, to] of [["apps/cli/package.json", "package.json"],["LICENSE", "dist/LICENSE"],["skills/jevgrep/SKILL.md", "dist/skills/jevgrep/SKILL.md"],- ["packages/core/assets/tree-sitter-python.wasm", "dist/assets/tree-sitter-python.wasm"],- ["packages/core/assets/tree-sitter-python.LICENSE", "dist/assets/tree-sitter-python.LICENSE"],+ ["packages/core/src/python-worker.mjs", "dist/bin/python-worker.mjs"],+ ...["inspect", "preview", "neighborhood"].map((name) => [+ `packages/core/assets/python/${name}.py`,+ `dist/assets/python/${name}.py`,+ ]),])await cp(join(root, from), join(pkg, to));await writeFile(join(pkg, "dist/bin/index.js"), '#!/usr/bin/env node\nconsole.log("jg");\n');await chmod(join(pkg, "dist/bin/index.js"), 0o755);+ const { pythonRuntimeNotices } = await import("../scripts/package-notices.mjs");await writeFile(join(pkg, "dist/THIRD_PARTY_NOTICES.txt"),- "Third-party notices for bundled JavaScript dependencies\n\n=== [email protected] (MIT) ===\nFixture license\n",+ "Third-party notices for bundled JavaScript dependencies\n\n=== [email protected] (MIT) ===\nFixture license\n" ++ (await pythonRuntimeNotices("0.25.1")),);const tarball = join(root, "package.tgz"),pack = () => execute("tar", ["-czf", tarball, "-C", archiveRoot, "package"]);const { validateRelease } = await import("../scripts/validate-release.mjs");await pack();assert.equal((await validateRelease(tarball, "v1.2.3", root)).version, "1.2.3");+ await writeFile(join(pkg, "dist/bin/python-worker.mjs"), "changed worker");+ await pack();+ await assert.rejects(validateRelease(tarball, "v1.2.3", root), /canonical source/);+ await cp(+ join(root, "packages/core/src/python-worker.mjs"),+ join(pkg, "dist/bin/python-worker.mjs"),+ );+ await rm(join(pkg, "dist/assets/python/inspect.py"));+ await pack();+ await assert.rejects(validateRelease(tarball, "v1.2.3", root), /Missing packaged file/);+ await cp(+ join(root, "packages/core/assets/python/inspect.py"),+ join(pkg, "dist/assets/python/inspect.py"),+ );await writeFile(join(pkg, "dist/skills/jevgrep/SKILL.md"), "Changed skill");await pack();await assert.rejects(validateRelease(tarball, "v1.2.3", root), /canonical source/);@@ -132,3 +156,14 @@ test("archive validation rejects changed skill bytes and accidental source payloawait pack();await assert.rejects(validateRelease(tarball, "v1.2.3", root), /Unexpected published file/);});++test("external Python runtime notices retain conflicting metadata and component provenance", async () => {+ const { pythonRuntimeNotices } = await import("../scripts/package-notices.mjs");+ const notices = await pythonRuntimeNotices("0.25.1");+ assert.match(notices, /Mozilla Public License Version 2.0/);+ assert.match(notices, /PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2/);+ assert.match(notices, /CPython 3.11.3/);+ assert.match(notices, /github.com\/pyodide\/pyodide\/tree\/0.25.1/);+ assert.match(notices, /Apache License/);+ await assert.rejects(pythonRuntimeNotices("0.26.0"), /Review Python runtime notices/);+});