diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 87747788..4b16f597 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -9,4 +9,4 @@ community_bridge: # Replace with a single Community Bridge project-name e.g., cl liberapay: # Replace with a single Liberapay username issuehunt: # Replace with a single IssueHunt username otechie: # Replace with a single Otechie username -custom: ['https://afdian.com/a/new-api'] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] +custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/Dockerfile b/Dockerfile index b12d35c3..17c4398d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -44,6 +44,7 @@ RUN apt-get update \ && update-ca-certificates COPY --from=builder2 /build/new-api / +COPY LICENSE NOTICE THIRD-PARTY-LICENSES.md /licenses/ EXPOSE 3000 WORKDIR /data ENTRYPOINT ["/new-api"] diff --git a/Dockerfile.dev b/Dockerfile.dev index 6601e3dd..81c221bf 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -30,6 +30,7 @@ RUN apt-get update \ && update-ca-certificates COPY --from=builder /build/new-api / +COPY LICENSE NOTICE THIRD-PARTY-LICENSES.md /licenses/ EXPOSE 3000 WORKDIR /data ENTRYPOINT ["/new-api"] diff --git a/NOTICE b/NOTICE new file mode 100644 index 00000000..7cfacabb --- /dev/null +++ b/NOTICE @@ -0,0 +1,58 @@ +new-api Notices + +new-api +Copyright (c) QuantumNous and contributors. + +This project is licensed under the GNU Affero General Public License v3.0. +See LICENSE for the full project license terms. + +==== Additional Terms under AGPLv3 Section 7 ==== + +Pursuant to Section 7(b) of the GNU Affero General Public License version 3, +the following reasonable legal notice and author attribution must be preserved +by modified versions in the Appropriate Legal Notices and in any prominent +about, legal, footer, or attribution location presented by the user interface: + +"Frontend design and development by New API contributors." + +Modified versions that present a user interface must also preserve a visible +link to the original project in a prominent about, legal, footer, or +attribution location: + +https://github.com/QuantumNous/new-api + +Modified versions must not misrepresent the origin of the software and must +mark their changes in accordance with AGPLv3 Section 7(c). + +==== Third-Party Notices ==== + +This product includes third-party open source software. Copyright notices and +license terms for direct third-party dependencies are listed in +THIRD-PARTY-LICENSES.md. + +Apache-2.0 upstream NOTICE entries identified for direct dependencies are +reproduced below. Preserve this file with Docker images, standalone binaries, +frontend bundles, and Electron desktop installers distributed to users. + +==== Apache-2.0 Notices ==== + +AWS SDK for Go +Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. +Copyright 2014-2015 Stripe, Inc. + +smithy-go +Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + +otp +Copyright (c) 2014, Paul Querna + +This product includes software developed by +Paul Querna (http://paul.querna.org/). + +==== Electron / Chromium Notices ==== + +Desktop distributions include Electron, which embeds Chromium, Node.js, V8, +and other third-party components. Electron and Chromium third-party license +notices must remain available with desktop installers and installed apps. + +==== End of Notices ==== diff --git a/README.md b/README.md index cb037a86..59239f0a 100644 --- a/README.md +++ b/README.md @@ -447,6 +447,14 @@ Welcome all forms of contribution! This project is licensed under the [GNU Affero General Public License v3.0 (AGPLv3)](./LICENSE). +Additional terms under AGPLv3 Section 7 apply. Modified versions must preserve +the author attribution notice `Frontend design and development by New API +contributors.` in the appropriate legal notices and in any prominent about, +legal, footer, or attribution location presented by the user interface. + +Modified versions that present a user interface must also preserve a visible +link to the original project: . + This is an open-source project developed based on [One API](https://github.com/songquanpeng/one-api) (MIT License). If your organization's policies do not permit the use of AGPLv3-licensed software, or if you wish to avoid the open-source obligations of AGPLv3, please contact us at: [support@quantumnous.com](mailto:support@quantumnous.com) diff --git a/THIRD-PARTY-LICENSES.md b/THIRD-PARTY-LICENSES.md new file mode 100644 index 00000000..4b8b1b17 --- /dev/null +++ b/THIRD-PARTY-LICENSES.md @@ -0,0 +1,375 @@ +# Third-Party Licenses + +This file summarizes direct third-party dependencies used by distributed builds of this project. +It is an engineering compliance artifact and should be kept with Docker images, standalone binaries, frontend bundles, and Electron installers. + +Scope: direct dependencies from `go.mod`, `web/default/package.json`, `web/classic/package.json`, and `electron/package.json`. +Transitive dependencies should be audited before a final external release. + +## Dependency Inventory + +| Area | Scope | Ecosystem | Dependency | Version | License | +|-------------|-------------|-----------|-------------------------------------------------------|--------------------------------------|----------------------------------------------------| +| backend | production | Go | `github.com/Calcium-Ion/go-epay` | `v0.0.4` | Proprietary/Internal - owned by project maintainer | +| backend | production | Go | `github.com/abema/go-mp4` | `v1.4.1` | MIT | +| backend | production | Go | `github.com/andybalholm/brotli` | `v1.1.1` | MIT | +| backend | production | Go | `github.com/anknown/ahocorasick` | `v0.0.0-20190904063843-d75dbd5169c0` | MIT | +| backend | production | Go | `github.com/aws/aws-sdk-go-v2` | `v1.41.5` | Apache-2.0 | +| backend | production | Go | `github.com/aws/aws-sdk-go-v2/credentials` | `v1.19.10` | Apache-2.0 | +| backend | production | Go | `github.com/aws/aws-sdk-go-v2/service/bedrockruntime` | `v1.50.4` | Apache-2.0 | +| backend | production | Go | `github.com/aws/smithy-go` | `v1.24.2` | Apache-2.0 | +| backend | production | Go | `github.com/bytedance/gopkg` | `v0.1.3` | Apache-2.0 | +| backend | production | Go | `github.com/gin-contrib/cors` | `v1.7.2` | MIT | +| backend | production | Go | `github.com/gin-contrib/gzip` | `v0.0.6` | MIT | +| backend | production | Go | `github.com/gin-contrib/sessions` | `v0.0.5` | MIT | +| backend | production | Go | `github.com/gin-contrib/static` | `v0.0.1` | MIT | +| backend | production | Go | `github.com/gin-gonic/gin` | `v1.9.1` | MIT | +| backend | production | Go | `github.com/glebarez/sqlite` | `v1.9.0` | MIT | +| backend | production | Go | `github.com/go-audio/aiff` | `v1.1.0` | Apache-2.0 | +| backend | production | Go | `github.com/go-audio/wav` | `v1.1.0` | Apache-2.0 | +| backend | production | Go | `github.com/go-playground/validator/v10` | `v10.20.0` | MIT | +| backend | production | Go | `github.com/go-redis/redis/v8` | `v8.11.5` | BSD-2-Clause | +| backend | production | Go | `github.com/go-webauthn/webauthn` | `v0.14.0` | BSD-3-Clause | +| backend | production | Go | `github.com/golang-jwt/jwt/v5` | `v5.3.0` | MIT | +| backend | production | Go | `github.com/google/uuid` | `v1.6.0` | BSD-3-Clause | +| backend | production | Go | `github.com/gorilla/websocket` | `v1.5.0` | BSD-2-Clause | +| backend | production | Go | `github.com/grafana/pyroscope-go` | `v1.2.7` | Apache-2.0 | +| backend | production | Go | `github.com/jfreymuth/oggvorbis` | `v1.0.5` | MIT | +| backend | production | Go | `github.com/jinzhu/copier` | `v0.4.0` | MIT | +| backend | production | Go | `github.com/joho/godotenv` | `v1.5.1` | MIT | +| backend | production | Go | `github.com/mewkiz/flac` | `v1.0.13` | Unlicense | +| backend | production | Go | `github.com/nicksnyder/go-i18n/v2` | `v2.6.1` | MIT | +| backend | production | Go | `github.com/pkg/errors` | `v0.9.1` | BSD-2-Clause | +| backend | production | Go | `github.com/pquerna/otp` | `v1.5.0` | Apache-2.0 | +| backend | production | Go | `github.com/samber/hot` | `v0.11.0` | MIT | +| backend | production | Go | `github.com/samber/lo` | `v1.52.0` | MIT | +| backend | production | Go | `github.com/shirou/gopsutil` | `v3.21.11+incompatible` | BSD-3-Clause | +| backend | production | Go | `github.com/shopspring/decimal` | `v1.4.0` | MIT | +| backend | production | Go | `github.com/stretchr/testify` | `v1.11.1` | MIT | +| backend | production | Go | `github.com/stripe/stripe-go/v81` | `v81.4.0` | MIT | +| backend | production | Go | `github.com/tcolgate/mp3` | `v0.0.0-20170426193717-e79c5a46d300` | MIT | +| backend | production | Go | `github.com/thanhpk/randstr` | `v1.0.6` | MIT | +| backend | production | Go | `github.com/tidwall/gjson` | `v1.18.0` | MIT | +| backend | production | Go | `github.com/tidwall/sjson` | `v1.2.5` | MIT | +| backend | production | Go | `github.com/tiktoken-go/tokenizer` | `v0.6.2` | MIT | +| backend | production | Go | `github.com/waffo-com/waffo-go` | `v1.3.1` | MIT | +| backend | production | Go | `github.com/yapingcat/gomedia` | `v0.0.0-20240906162731-17feea57090c` | MIT | +| backend | production | Go | `golang.org/x/crypto` | `v0.45.0` | BSD-3-Clause | +| backend | production | Go | `golang.org/x/image` | `v0.38.0` | BSD-3-Clause | +| backend | production | Go | `golang.org/x/net` | `v0.47.0` | BSD-3-Clause | +| backend | production | Go | `golang.org/x/sync` | `v0.20.0` | BSD-3-Clause | +| backend | production | Go | `golang.org/x/sys` | `v0.38.0` | BSD-3-Clause | +| backend | production | Go | `golang.org/x/text` | `v0.35.0` | BSD-3-Clause | +| backend | production | Go | `gopkg.in/yaml.v3` | `v3.0.1` | Apache-2.0 OR MIT | +| backend | production | Go | `gorm.io/driver/mysql` | `v1.4.3` | MIT | +| backend | production | Go | `gorm.io/driver/postgres` | `v1.5.2` | MIT | +| backend | production | Go | `gorm.io/gorm` | `v1.25.2` | MIT | +| backend | production | Go | `github.com/expr-lang/expr` | `v1.17.8` | MIT | +| web/default | production | npm | `@base-ui/react` | `1.4.1` | MIT | +| web/default | production | npm | `@fontsource-variable/public-sans` | `5.2.7` | OFL-1.1 | +| web/default | production | npm | `@hookform/resolvers` | `5.2.2` | MIT | +| web/default | production | npm | `@hugeicons/core-free-icons` | `4.1.1` | MIT | +| web/default | production | npm | `@hugeicons/react` | `1.1.6` | MIT | +| web/default | production | npm | `@lobehub/icons` | `4.12.0` | MIT | +| web/default | production | npm | `@tailwindcss/postcss` | `4.2.2` | MIT | +| web/default | production | npm | `@tanstack/react-query` | `5.97.0` | MIT | +| web/default | production | npm | `@tanstack/react-router` | `1.168.23` | MIT | +| web/default | production | npm | `@tanstack/react-table` | `8.21.3` | MIT | +| web/default | production | npm | `@tanstack/react-virtual` | `3.13.23` | MIT | +| web/default | production | npm | `@visactor/react-vchart` | `2.0.21` | MIT | +| web/default | production | npm | `@visactor/vchart` | `2.0.21` | MIT | +| web/default | production | npm | `ai` | `6.0.158` | Apache-2.0 | +| web/default | production | npm | `auto-skeleton-react` | `1.0.5` | MIT | +| web/default | production | npm | `axios` | `1.15.0` | MIT | +| web/default | production | npm | `class-variance-authority` | `0.7.1` | Apache-2.0 | +| web/default | production | npm | `clsx` | `2.1.1` | MIT | +| web/default | production | npm | `cmdk` | `1.1.1` | MIT | +| web/default | production | npm | `date-fns` | `4.1.0` | MIT | +| web/default | production | npm | `dayjs` | `1.11.20` | MIT | +| web/default | production | npm | `i18next` | `25.10.10` | MIT | +| web/default | production | npm | `i18next-browser-languagedetector` | `8.2.1` | MIT | +| web/default | production | npm | `input-otp` | `1.4.2` | MIT | +| web/default | production | npm | `lucide-react` | `1.8.0` | ISC | +| web/default | production | npm | `motion` | `12.38.0` | MIT | +| web/default | production | npm | `nanoid` | `5.1.7` | MIT | +| web/default | production | npm | `next-themes` | `0.4.6` | MIT | +| web/default | production | npm | `qrcode.react` | `4.2.0` | ISC | +| web/default | production | npm | `react` | `19.2.5` | MIT | +| web/default | production | npm | `react-day-picker` | `9.14.0` | MIT | +| web/default | production | npm | `react-dom` | `19.2.5` | MIT | +| web/default | production | npm | `react-hook-form` | `7.72.1` | MIT | +| web/default | production | npm | `react-i18next` | `16.6.6` | MIT | +| web/default | production | npm | `react-icons` | `5.6.0` | MIT | +| web/default | production | npm | `react-markdown` | `10.1.0` | MIT | +| web/default | production | npm | `react-resizable-panels` | `4.11.0` | MIT | +| web/default | production | npm | `react-top-loading-bar` | `3.0.2` | MIT | +| web/default | production | npm | `recharts` | `3.8.0` | MIT | +| web/default | production | npm | `rehype-raw` | `7.0.0` | MIT | +| web/default | production | npm | `remark-gfm` | `4.0.1` | MIT | +| web/default | production | npm | `shiki` | `4.0.2` | MIT | +| web/default | production | npm | `sonner` | `2.0.7` | MIT | +| web/default | production | npm | `sse.js` | `2.8.0` | Apache-2.0 | +| web/default | production | npm | `streamdown` | `2.5.0` | Apache-2.0 | +| web/default | production | npm | `tailwind-merge` | `3.5.0` | MIT | +| web/default | production | npm | `tailwindcss` | `4.2.2` | MIT | +| web/default | production | npm | `tokenlens` | `1.3.1` | MIT | +| web/default | production | npm | `tw-animate-css` | `1.4.0` | MIT | +| web/default | production | npm | `use-stick-to-bottom` | `1.1.3` | MIT | +| web/default | production | npm | `vaul` | `1.1.2` | MIT | +| web/default | production | npm | `zod` | `4.3.6` | MIT | +| web/default | production | npm | `zustand` | `5.0.12` | MIT | +| web/default | development | npm | `@eslint/js` | `10.0.1` | MIT | +| web/default | development | npm | `@rsbuild/core` | `2.0.1` | MIT | +| web/default | development | npm | `@rsbuild/plugin-react` | `2.0.0` | MIT | +| web/default | development | npm | `@tanstack/eslint-plugin-query` | `5.97.0` | MIT | +| web/default | development | npm | `@tanstack/react-query-devtools` | `5.97.0` | MIT | +| web/default | development | npm | `@tanstack/react-router-devtools` | `1.166.13` | MIT | +| web/default | development | npm | `@tanstack/router-plugin` | `1.167.23` | MIT | +| web/default | development | npm | `@trivago/prettier-plugin-sort-imports` | `6.0.2` | Apache-2.0 | +| web/default | development | npm | `@types/node` | `25.6.0` | MIT | +| web/default | development | npm | `@types/react` | `19.2.14` | MIT | +| web/default | development | npm | `@types/react-dom` | `19.2.3` | MIT | +| web/default | development | npm | `@xyflow/react` | `12.10.2` | MIT | +| web/default | development | npm | `embla-carousel-react` | `8.6.0` | MIT | +| web/default | development | npm | `eslint` | `10.2.0` | MIT | +| web/default | development | npm | `eslint-plugin-react-hooks` | `7.0.1` | MIT | +| web/default | development | npm | `eslint-plugin-react-refresh` | `0.5.2` | MIT | +| web/default | development | npm | `globals` | `17.4.0` | MIT | +| web/default | development | npm | `knip` | `6.3.1` | ISC | +| web/default | development | npm | `prettier` | `3.8.2` | MIT | +| web/default | development | npm | `prettier-plugin-tailwindcss` | `0.7.2` | MIT | +| web/default | development | npm | `shadcn` | `3.8.5` | MIT | +| web/default | development | npm | `typescript` | `5.9.3` | Apache-2.0 | +| web/default | development | npm | `typescript-eslint` | `8.58.1` | MIT | +| web/classic | production | npm | `@douyinfe/semi-icons` | `2.72.2` | MIT | +| web/classic | production | npm | `@douyinfe/semi-ui` | `2.72.2` | MIT | +| web/classic | production | npm | `@lobehub/icons` | `2.1.0` | MIT | +| web/classic | production | npm | `@visactor/react-vchart` | `1.8.11` | MIT | +| web/classic | production | npm | `@visactor/vchart` | `1.8.11` | MIT | +| web/classic | production | npm | `@visactor/vchart-semi-theme` | `1.8.8` | MIT | +| web/classic | production | npm | `axios` | `1.15.0` | MIT | +| web/classic | production | npm | `clsx` | `2.1.1` | MIT | +| web/classic | production | npm | `dayjs` | `1.11.13` | MIT | +| web/classic | production | npm | `history` | `5.3.0` | MIT | +| web/classic | production | npm | `i18next` | `23.16.8` | MIT | +| web/classic | production | npm | `i18next-browser-languagedetector` | `7.2.2` | MIT | +| web/classic | production | npm | `katex` | `0.16.22` | MIT | +| web/classic | production | npm | `lucide-react` | `0.511.0` | ISC | +| web/classic | production | npm | `marked` | `4.3.0` | MIT | +| web/classic | production | npm | `mermaid` | `11.6.0` | MIT | +| web/classic | production | npm | `qrcode.react` | `4.2.0` | ISC | +| web/classic | production | npm | `react` | `18.3.1` | MIT | +| web/classic | production | npm | `react-dom` | `18.3.1` | MIT | +| web/classic | production | npm | `react-dropzone` | `14.3.5` | MIT | +| web/classic | production | npm | `react-fireworks` | `1.0.4` | ISC | +| web/classic | production | npm | `react-i18next` | `13.5.0` | MIT | +| web/classic | production | npm | `react-icons` | `5.5.0` | MIT | +| web/classic | production | npm | `react-markdown` | `10.1.0` | MIT | +| web/classic | production | npm | `react-router-dom` | `6.28.1` | MIT | +| web/classic | production | npm | `react-telegram-login` | `1.1.2` | MIT | +| web/classic | production | npm | `react-toastify` | `9.1.3` | MIT | +| web/classic | production | npm | `react-turnstile` | `1.1.4` | MIT | +| web/classic | production | npm | `rehype-highlight` | `7.0.2` | MIT | +| web/classic | production | npm | `rehype-katex` | `7.0.1` | MIT | +| web/classic | production | npm | `remark-breaks` | `4.0.0` | MIT | +| web/classic | production | npm | `remark-gfm` | `4.0.1` | MIT | +| web/classic | production | npm | `remark-math` | `6.0.0` | MIT | +| web/classic | production | npm | `sse.js` | `2.6.0` | Apache-2.0 | +| web/classic | production | npm | `unist-util-visit` | `5.0.0` | MIT | +| web/classic | production | npm | `use-debounce` | `10.0.4` | MIT | +| web/classic | development | npm | `@douyinfe/vite-plugin-semi` | `2.74.0-alpha.6` | MIT | +| web/classic | development | npm | `@so1ve/prettier-config` | `3.1.0` | MIT | +| web/classic | development | npm | `@vitejs/plugin-react` | `4.3.4` | MIT | +| web/classic | development | npm | `autoprefixer` | `10.4.21` | MIT | +| web/classic | development | npm | `code-inspector-plugin` | `1.3.3` | MIT | +| web/classic | development | npm | `eslint` | `8.57.0` | MIT | +| web/classic | development | npm | `eslint-plugin-header` | `3.1.1` | MIT | +| web/classic | development | npm | `eslint-plugin-react-hooks` | `5.2.0` | MIT | +| web/classic | development | npm | `i18next-cli` | `1.15.0` | MIT | +| web/classic | development | npm | `postcss` | `8.5.3` | MIT | +| web/classic | development | npm | `prettier` | `3.4.2` | MIT | +| web/classic | development | npm | `tailwindcss` | `3.4.17` | MIT | +| web/classic | development | npm | `typescript` | `4.4.2` | Apache-2.0 | +| web/classic | development | npm | `vite` | `5.4.11` | MIT | +| electron | development | npm | `cross-env` | `7.0.3` | MIT | +| electron | development | npm | `electron` | `39.8.5` | MIT | +| electron | development | npm | `electron-builder` | `26.7.0` | MIT | + +## License Texts + +### Apache-2.0 + +Apache License +Version 2.0, January 2004 +https://www.apache.org/licenses/ + +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: + + https://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. + +### Apache-2.0 OR MIT + +Dual-licensed components may be used under Apache-2.0 or MIT. Both standard license texts are included below. + +Apache License +Version 2.0, January 2004 +https://www.apache.org/licenses/ + +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: + + https://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. + +MIT License + +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. + +### BSD-2-Clause + +BSD 2-Clause License + +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 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 HOLDER 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. + +### BSD-3-Clause + +BSD 3-Clause License + +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 copyright holder 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 HOLDER 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. + +### ISC + +ISC License + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +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. + +### MIT + +MIT License + +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. + +### OFL-1.1 + +SIL Open Font License 1.1 + +The font dependency listed under OFL-1.1 is licensed under the SIL Open Font +License, Version 1.1. The full license text is available at: +https://openfontlicense.org/open-font-license-official-text/ + +When distributing font files, preserve the OFL license text, copyright notices, +and reserved font name restrictions supplied by the upstream font project. + +### Proprietary/Internal - owned by project maintainer + +This dependency is owned by the project maintainer and is not treated as a third-party open source dependency for this review. + +### Unlicense + +The Unlicense + +This is free and unencumbered software released into the public domain. +Anyone is free to copy, modify, publish, use, compile, sell, or distribute +this software, either in source code form or as a compiled binary, for any +purpose, commercial or non-commercial, and by any means. + +For more information, please refer to https://unlicense.org/ + diff --git a/electron/package.json b/electron/package.json index c62bad10..137785b2 100644 --- a/electron/package.json +++ b/electron/package.json @@ -63,6 +63,26 @@ { "from": "../web/dist", "to": "web/dist" + }, + { + "from": "../LICENSE", + "to": "licenses/LICENSE" + }, + { + "from": "../NOTICE", + "to": "licenses/NOTICE" + }, + { + "from": "../THIRD-PARTY-LICENSES.md", + "to": "licenses/THIRD-PARTY-LICENSES.md" + }, + { + "from": "node_modules/electron/dist/LICENSE", + "to": "licenses/electron/LICENSE" + }, + { + "from": "node_modules/electron/dist/LICENSES.chromium.html", + "to": "licenses/electron/LICENSES.chromium.html" } ] }, @@ -76,6 +96,26 @@ { "from": "../new-api.exe", "to": "bin/new-api.exe" + }, + { + "from": "../LICENSE", + "to": "licenses/LICENSE" + }, + { + "from": "../NOTICE", + "to": "licenses/NOTICE" + }, + { + "from": "../THIRD-PARTY-LICENSES.md", + "to": "licenses/THIRD-PARTY-LICENSES.md" + }, + { + "from": "node_modules/electron/dist/LICENSE", + "to": "licenses/electron/LICENSE" + }, + { + "from": "node_modules/electron/dist/LICENSES.chromium.html", + "to": "licenses/electron/LICENSES.chromium.html" } ] }, @@ -90,6 +130,26 @@ { "from": "../new-api", "to": "bin/new-api" + }, + { + "from": "../LICENSE", + "to": "licenses/LICENSE" + }, + { + "from": "../NOTICE", + "to": "licenses/NOTICE" + }, + { + "from": "../THIRD-PARTY-LICENSES.md", + "to": "licenses/THIRD-PARTY-LICENSES.md" + }, + { + "from": "node_modules/electron/dist/LICENSE", + "to": "licenses/electron/LICENSE" + }, + { + "from": "node_modules/electron/dist/LICENSES.chromium.html", + "to": "licenses/electron/LICENSES.chromium.html" } ] }, @@ -98,4 +158,4 @@ "allowToChangeInstallationDirectory": true } } -} \ No newline at end of file +}