# Third-party notices Third-party code that reaches the people who use SciCycle. The table runs as a WebGL build that is downloaded into every browser that opens it — that is a redistribution, so the notices of everything compiled into it go with it: the server delivers this file at **`/licenses`**, linked from the controller page. Code that only runs on our machine (the server's own dependencies, such as QRCoder and ASP.NET Core) is not handed to anybody and is not listed. The Unity engine and Unity's own packages come under Unity's terms, which allow shipping them in a build. The server refuses to start without this file next to it: an obligation that can quietly disappear from a deploy is not being met. --- ## NativeWebSocket - **Location in this repo:** `game/Packages/com.endel.nativewebsocket/` - **Upstream:** https://github.com/endel/NativeWebSocket - **Version:** 2.0.4 - **Vendored from:** branch `upm-2`, commit `522f0c3f5c2ef7273737707effaa840c65e20e98` (2026-03-23) — the distribution branch published for tag 2.0.4 - **License:** Apache License 2.0 — see *License* below and `game/Packages/com.endel.nativewebsocket/LICENSE` - **Copyright:** 2019 Endel Dreyer; 2018 Jiri Hybek ### Why the copy is verbatim, and taken from `upm-2` The Unity client needs a WebSocket that survives the WebGL build, where .NET sockets do not exist and the connection has to go through the browser via a JS bridge. Upstream publishes the Unity package only as a **git URL**, not through a registry: a dependency on it would mean every build resolves whatever that branch points at today. Vendoring pins the exact bytes we build against and keeps the build offline-capable. The copy is unmodified. It comes from the `upm-2` branch rather than the sources on `main` because upstream states explicitly that `WebSocket.cs` on `main` lacks the WebGL conditional-compilation guards — a build step adds them, and `upm-2` is that step's output. It is what the documented install method actually pulls. ### Updating Replace the folder with the same file set from a newer `upm-2` commit and update the version, commit and date above. Do not patch the vendored sources: a local fix would be silently overwritten on the next update. If something needs to change, wrap it on our side or fork upstream openly. ### License Upstream is inconsistent about its own license: the `LICENSE` file (reproduced verbatim below) grants **Apache 2.0**, while `package.json` declares `"license": "MIT"`. The source files carry no headers. We follow the `LICENSE` file, because that is the actual grant shipped with the code — and honouring Apache 2.0 also satisfies MIT, so the stricter reading is the safe one either way. Both terms are permissive and neither restricts our use; the full Apache 2.0 text is at http://www.apache.org/licenses/LICENSE-2.0. ``` Copyright 2019 Endel Dreyer Copyright 2018 Jiri Hybek 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. ``` --- ## Newtonsoft.Json (through `com.unity.nuget.newtonsoft-json`) - **How it gets in:** the Unity package `com.unity.nuget.newtonsoft-json` **3.2.1** from the Unity registry (`game/Packages/manifest.json`); the client reads and writes the protocol's JSON with it, so it is compiled into the WebGL build. - **Licenses:** the package itself is under the Unity Companion License; the Json.NET code inside it is MIT, from the four components below. Their notices are reproduced verbatim from the package's `Third Party Notices.md`. - **Updating:** when the package version in `manifest.json` changes, copy that file's text again. ``` This package contains third-party software components governed by the license(s) indicated below: --------- Component Name: Newtonsoft.Json License Type: MIT The MIT License (MIT) Copyright (c) 2007 James Newton-King 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. --------- Component Name: Json.Net.Unity3D License Type: MIT The MIT License (MIT) Copyright (c) Copyright (c) 2016 SaladLab 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. --------- Component Name: Newtonsoft.Json-for-Unity License Type: MIT The MIT License (MIT) Copyright (c) Copyright (c) 2019 Kalle Jillheden (jilleJr) 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. --------- Component Name: com.newtonsoft.json License Type: MIT MIT License Copyright (c) 2019 Mike Wuetherick 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. ```