tsv includes the WHATWG HTML Living Standard's list of named character references. It
is the tsv_html crate's table (`match_named_character_reference`), which tsv's Svelte
parser decodes character references against and so compiles into every tsv binary, N-API
addon and WebAssembly module; this notice ships
with the tsv_html crate and with each tsv npm package and GitHub Release.
Source: https://html.spec.whatwg.org/entities.json
Files: in the tsv_html crate, src/entities_table.rs (generated from the list); the
list itself, src/entities.json, lives in the tsv repository
Changes: each entry is reduced to its name without the leading `&` and the characters
it stands for (the `codepoints` arrays are dropped), and the generated file
restates the list as a Rust perfect hash table (each name and its characters
in the slot the table's hash assigns it).
Copyright © WHATWG (Apple, Google, Mozilla, Microsoft).
This work is licensed under a Creative Commons Attribution 4.0 International
License. To the extent portions of it are incorporated into source code, such
portions in the source code are licensed under the BSD 3-Clause License instead.
https://creativecommons.org/licenses/by/4.0/
The BSD 3-Clause License, as it applies to src/entities_table.rs:
Copyright © WHATWG (Apple, Google, Mozilla, Microsoft).
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.
tsv's own code is licensed under 0BSD.