trustycsv 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.txt +21 -0
- package/README.md +138 -2
- package/THIRD-PARTY-LICENSES.txt +421 -0
- package/bin/chunks/cli-BUck2dri.js +538 -0
- package/bin/chunks/excel-pdfNVgvx.js +142 -0
- package/bin/chunks/mcp-BtQ-Hy3_.js +5 -0
- package/bin/chunks/zip--IbYBxOO.js +1 -0
- package/bin/trustycsv.js +2 -0
- package/package.json +35 -4
package/LICENSE.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Yusef Hassan Montero
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,139 @@
|
|
|
1
|
-
#
|
|
1
|
+
# trustycsv
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Check, clean, convert and compare CSV files from the command line, and an MCP
|
|
4
|
+
server that lets AI assistants do the same. It is the engine of the
|
|
5
|
+
[Trusty CSV](https://trustycsv.com) editor, and it runs on your computer:
|
|
6
|
+
nothing is uploaded, and it never goes online.
|
|
7
|
+
|
|
8
|
+
Free, under the MIT license. Needs Node.js 22 or later.
|
|
9
|
+
|
|
10
|
+
```sh
|
|
11
|
+
npx trustycsv check orders.csv
|
|
12
|
+
# or install it
|
|
13
|
+
npm install -g trustycsv
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## What it does
|
|
17
|
+
|
|
18
|
+
```sh
|
|
19
|
+
trustycsv inspect orders.csv # how it is written, and what each column holds
|
|
20
|
+
trustycsv check orders.csv # what is wrong in it, and where
|
|
21
|
+
trustycsv fix orders.csv --kinds all -o clean.csv
|
|
22
|
+
trustycsv apply cleanup.recipe.json exports/*.csv --out-dir clean/
|
|
23
|
+
trustycsv convert report.xlsx --to csv -o report.csv
|
|
24
|
+
trustycsv compare last-week.csv today.csv --key id
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
- **inspect**: the file's encoding, delimiter, header row and line breaks, its
|
|
28
|
+
rows, each column's type (numbers with their decimal separator, dates with
|
|
29
|
+
their day and month order, times, email addresses, text), how many of its
|
|
30
|
+
values are empty, missing (`NA`, `null`, `-`…) or different, and the first
|
|
31
|
+
rows.
|
|
32
|
+
- **check**: Trusty CSV's Quality Check. It reports only what is surely wrong:
|
|
33
|
+
rows with too few or too many values, rows cut by a line break, empty and
|
|
34
|
+
repeated rows and columns, missing or repeated column names, text with a
|
|
35
|
+
broken encoding (`España`), invisible characters, spaces at the edges,
|
|
36
|
+
numbers, dates, yes/no values and countries written in several ways in one
|
|
37
|
+
column, codes that lost their leading zeros, impossible dates, spreadsheet
|
|
38
|
+
errors and rounded numbers, repeated keys… Each problem comes with its line,
|
|
39
|
+
column and value, in the order to fix them. It exits with code 1 if it finds
|
|
40
|
+
any, so it fits in a CI job.
|
|
41
|
+
- **fix**: the Quality Check's fixes, kind by kind (`--kinds edgeSpace,emptyRow`)
|
|
42
|
+
or every one that has a fix (`--kinds all`). Then it checks again and says
|
|
43
|
+
what is left.
|
|
44
|
+
- **apply**: a recipe's steps on one file or many: cleaning cells, reformatting
|
|
45
|
+
numbers and dates, sorting, removing duplicate rows, filtering, splitting,
|
|
46
|
+
joining and reshaping columns, summarizing by group, find and replace. A
|
|
47
|
+
recipe is a JSON file, exported from the Trusty CSV desktop app or written by
|
|
48
|
+
hand (`trustycsv steps` shows how).
|
|
49
|
+
- **convert**: CSV, TSV, Excel (`.xlsx`), OpenDocument (`.ods`), JSON, JSON
|
|
50
|
+
Lines, SQL (`CREATE TABLE` and `INSERT`), Markdown and HTML; or CSV with
|
|
51
|
+
another delimiter, encoding or line breaks.
|
|
52
|
+
- **compare**: what changed between two versions of a table: columns added,
|
|
53
|
+
removed or renamed, rows changed, added or removed, and every cell that
|
|
54
|
+
changed. Rows are matched by their content, or by a key column wherever they
|
|
55
|
+
are. It exits with code 1 if the versions differ.
|
|
56
|
+
|
|
57
|
+
It reads CSV, TSV and text files in UTF-8, UTF-16 or Windows-1252 (detected),
|
|
58
|
+
Excel and OpenDocument workbooks (`--sheet`), JSON and JSON Lines, and any of
|
|
59
|
+
those inside a `.gz` or a `.zip`. `-` reads standard input.
|
|
60
|
+
|
|
61
|
+
## Your file stays your file
|
|
62
|
+
|
|
63
|
+
A file is written back the way it came: in its encoding, with its delimiter and
|
|
64
|
+
its line breaks, and a value only changes if a step changes it. A CSV that goes
|
|
65
|
+
through without changes comes out identical, byte for byte.
|
|
66
|
+
|
|
67
|
+
Results go to standard output, or where you say (`-o`, `--out-dir`). Nothing is
|
|
68
|
+
written over an existing file without `--force`, and `--in-place` only writes
|
|
69
|
+
over CSV, TSV and text files, in their own format.
|
|
70
|
+
|
|
71
|
+
## A recipe
|
|
72
|
+
|
|
73
|
+
```json
|
|
74
|
+
[
|
|
75
|
+
{ "op": "cell", "name": "trim", "in": "all" },
|
|
76
|
+
{ "op": "cell", "name": "title", "in": ["first_name", "last_name"] },
|
|
77
|
+
{ "op": "dates", "in": ["signed_up"], "format": "YYYY-MM-DD" },
|
|
78
|
+
{ "op": "dedupe", "by": "email", "loose": true },
|
|
79
|
+
{ "op": "sort", "keys": [{ "by": "signed_up", "desc": true }] }
|
|
80
|
+
]
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
Columns go by their header names, so the same recipe works on next month's
|
|
84
|
+
export even if its columns moved. A step whose column isn't in a file is
|
|
85
|
+
skipped, and says so. Try one with `--dry-run` first: it says what each step
|
|
86
|
+
would do and writes nothing.
|
|
87
|
+
|
|
88
|
+
## In continuous integration
|
|
89
|
+
|
|
90
|
+
```yaml
|
|
91
|
+
- run: npx trustycsv check data/*.csv
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
`--json` gives every report as JSON, for scripts.
|
|
95
|
+
|
|
96
|
+
## For AI assistants (MCP)
|
|
97
|
+
|
|
98
|
+
`trustycsv mcp` is a [Model Context Protocol](https://modelcontextprotocol.io)
|
|
99
|
+
server. It lets an assistant inspect, check, fix, convert and compare CSV files
|
|
100
|
+
on your computer, and write and apply recipes, with the same engine.
|
|
101
|
+
|
|
102
|
+
Claude Code:
|
|
103
|
+
|
|
104
|
+
```sh
|
|
105
|
+
claude mcp add trustycsv -- npx -y trustycsv mcp
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
Claude Desktop (`claude_desktop_config.json`), Cursor (`.cursor/mcp.json`) and
|
|
109
|
+
other clients:
|
|
110
|
+
|
|
111
|
+
```json
|
|
112
|
+
{
|
|
113
|
+
"mcpServers": {
|
|
114
|
+
"trustycsv": { "command": "npx", "args": ["-y", "trustycsv", "mcp"] }
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
On Windows, if the client can't start `npx`, use
|
|
120
|
+
`"command": "cmd", "args": ["/c", "npx", "-y", "trustycsv", "mcp"]`.
|
|
121
|
+
|
|
122
|
+
Its tools: `inspect_file`, `check_quality`, `fix_problems`, `apply_recipe`
|
|
123
|
+
(with a dry run), `convert_file`, `compare_files` and `recipe_reference`. The
|
|
124
|
+
tools that write need an output file and never write over one unless asked to.
|
|
125
|
+
|
|
126
|
+
Your files are read and written on your computer, but what a tool returns goes
|
|
127
|
+
to the assistant's model: counts, column types, the first rows of a file, the
|
|
128
|
+
values where a problem is. Keep that in mind with private data.
|
|
129
|
+
|
|
130
|
+
## The editor
|
|
131
|
+
|
|
132
|
+
The same engine runs [Trusty CSV](https://trustycsv.com), an editor that shows a
|
|
133
|
+
CSV file in aligned, coloured columns and edits it like code: free online, and
|
|
134
|
+
as a desktop app for Windows, macOS and Linux.
|
|
135
|
+
|
|
136
|
+
## License
|
|
137
|
+
|
|
138
|
+
MIT: see [LICENSE.txt](LICENSE.txt). It includes open-source libraries, each
|
|
139
|
+
under its own license: see [THIRD-PARTY-LICENSES.txt](THIRD-PARTY-LICENSES.txt).
|
|
@@ -0,0 +1,421 @@
|
|
|
1
|
+
trustycsv includes the open-source software listed below. Each comes with its own license, whose text follows its name.
|
|
2
|
+
|
|
3
|
+
========================================================================
|
|
4
|
+
@codemirror/commands 6.11.1
|
|
5
|
+
License: MIT
|
|
6
|
+
https://code.haverbeke.berlin/codemirror/commands
|
|
7
|
+
|
|
8
|
+
MIT License
|
|
9
|
+
|
|
10
|
+
Copyright (C) 2018-2021 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
|
|
11
|
+
|
|
12
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
13
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
14
|
+
in the Software without restriction, including without limitation the rights
|
|
15
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
16
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
17
|
+
furnished to do so, subject to the following conditions:
|
|
18
|
+
|
|
19
|
+
The above copyright notice and this permission notice shall be included in
|
|
20
|
+
all copies or substantial portions of the Software.
|
|
21
|
+
|
|
22
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
23
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
24
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
25
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
26
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
27
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
28
|
+
THE SOFTWARE.
|
|
29
|
+
|
|
30
|
+
========================================================================
|
|
31
|
+
@codemirror/search 6.7.2
|
|
32
|
+
License: MIT
|
|
33
|
+
https://code.haverbeke.berlin/codemirror/search
|
|
34
|
+
|
|
35
|
+
MIT License
|
|
36
|
+
|
|
37
|
+
Copyright (C) 2018-2021 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
|
|
38
|
+
|
|
39
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
40
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
41
|
+
in the Software without restriction, including without limitation the rights
|
|
42
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
43
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
44
|
+
furnished to do so, subject to the following conditions:
|
|
45
|
+
|
|
46
|
+
The above copyright notice and this permission notice shall be included in
|
|
47
|
+
all copies or substantial portions of the Software.
|
|
48
|
+
|
|
49
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
50
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
51
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
52
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
53
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
54
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
55
|
+
THE SOFTWARE.
|
|
56
|
+
|
|
57
|
+
========================================================================
|
|
58
|
+
@codemirror/state 6.7.6
|
|
59
|
+
License: MIT
|
|
60
|
+
https://code.haverbeke.berlin/codemirror/state
|
|
61
|
+
|
|
62
|
+
MIT License
|
|
63
|
+
|
|
64
|
+
Copyright (C) 2018-2021 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
|
|
65
|
+
|
|
66
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
67
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
68
|
+
in the Software without restriction, including without limitation the rights
|
|
69
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
70
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
71
|
+
furnished to do so, subject to the following conditions:
|
|
72
|
+
|
|
73
|
+
The above copyright notice and this permission notice shall be included in
|
|
74
|
+
all copies or substantial portions of the Software.
|
|
75
|
+
|
|
76
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
77
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
78
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
79
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
80
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
81
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
82
|
+
THE SOFTWARE.
|
|
83
|
+
|
|
84
|
+
========================================================================
|
|
85
|
+
@codemirror/view 6.43.15
|
|
86
|
+
License: MIT
|
|
87
|
+
https://code.haverbeke.berlin/codemirror/view
|
|
88
|
+
|
|
89
|
+
MIT License
|
|
90
|
+
|
|
91
|
+
Copyright (C) 2018-2021 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
|
|
92
|
+
|
|
93
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
94
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
95
|
+
in the Software without restriction, including without limitation the rights
|
|
96
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
97
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
98
|
+
furnished to do so, subject to the following conditions:
|
|
99
|
+
|
|
100
|
+
The above copyright notice and this permission notice shall be included in
|
|
101
|
+
all copies or substantial portions of the Software.
|
|
102
|
+
|
|
103
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
104
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
105
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
106
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
107
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
108
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
109
|
+
THE SOFTWARE.
|
|
110
|
+
|
|
111
|
+
========================================================================
|
|
112
|
+
@e965/xlsx 0.20.3
|
|
113
|
+
License: Apache-2.0
|
|
114
|
+
https://sheetjs.com/
|
|
115
|
+
|
|
116
|
+
Apache License
|
|
117
|
+
Version 2.0, January 2004
|
|
118
|
+
http://www.apache.org/licenses/
|
|
119
|
+
|
|
120
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
121
|
+
|
|
122
|
+
1. Definitions.
|
|
123
|
+
|
|
124
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
125
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
126
|
+
|
|
127
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
128
|
+
the copyright owner that is granting the License.
|
|
129
|
+
|
|
130
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
131
|
+
other entities that control, are controlled by, or are under common
|
|
132
|
+
control with that entity. For the purposes of this definition,
|
|
133
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
134
|
+
direction or management of such entity, whether by contract or
|
|
135
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
136
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
137
|
+
|
|
138
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
139
|
+
exercising permissions granted by this License.
|
|
140
|
+
|
|
141
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
142
|
+
including but not limited to software source code, documentation
|
|
143
|
+
source, and configuration files.
|
|
144
|
+
|
|
145
|
+
"Object" form shall mean any form resulting from mechanical
|
|
146
|
+
transformation or translation of a Source form, including but
|
|
147
|
+
not limited to compiled object code, generated documentation,
|
|
148
|
+
and conversions to other media types.
|
|
149
|
+
|
|
150
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
151
|
+
Object form, made available under the License, as indicated by a
|
|
152
|
+
copyright notice that is included in or attached to the work
|
|
153
|
+
(an example is provided in the Appendix below).
|
|
154
|
+
|
|
155
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
156
|
+
form, that is based on (or derived from) the Work and for which the
|
|
157
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
158
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
159
|
+
of this License, Derivative Works shall not include works that remain
|
|
160
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
161
|
+
the Work and Derivative Works thereof.
|
|
162
|
+
|
|
163
|
+
"Contribution" shall mean any work of authorship, including
|
|
164
|
+
the original version of the Work and any modifications or additions
|
|
165
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
166
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
167
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
168
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
169
|
+
means any form of electronic, verbal, or written communication sent
|
|
170
|
+
to the Licensor or its representatives, including but not limited to
|
|
171
|
+
communication on electronic mailing lists, source code control systems,
|
|
172
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
173
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
174
|
+
excluding communication that is conspicuously marked or otherwise
|
|
175
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
176
|
+
|
|
177
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
178
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
179
|
+
subsequently incorporated within the Work.
|
|
180
|
+
|
|
181
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
182
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
183
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
184
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
185
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
186
|
+
Work and such Derivative Works in Source or Object form.
|
|
187
|
+
|
|
188
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
189
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
190
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
191
|
+
(except as stated in this section) patent license to make, have made,
|
|
192
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
193
|
+
where such license applies only to those patent claims licensable
|
|
194
|
+
by such Contributor that are necessarily infringed by their
|
|
195
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
196
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
197
|
+
institute patent litigation against any entity (including a
|
|
198
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
199
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
200
|
+
or contributory patent infringement, then any patent licenses
|
|
201
|
+
granted to You under this License for that Work shall terminate
|
|
202
|
+
as of the date such litigation is filed.
|
|
203
|
+
|
|
204
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
205
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
206
|
+
modifications, and in Source or Object form, provided that You
|
|
207
|
+
meet the following conditions:
|
|
208
|
+
|
|
209
|
+
(a) You must give any other recipients of the Work or
|
|
210
|
+
Derivative Works a copy of this License; and
|
|
211
|
+
|
|
212
|
+
(b) You must cause any modified files to carry prominent notices
|
|
213
|
+
stating that You changed the files; and
|
|
214
|
+
|
|
215
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
216
|
+
that You distribute, all copyright, patent, trademark, and
|
|
217
|
+
attribution notices from the Source form of the Work,
|
|
218
|
+
excluding those notices that do not pertain to any part of
|
|
219
|
+
the Derivative Works; and
|
|
220
|
+
|
|
221
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
222
|
+
distribution, then any Derivative Works that You distribute must
|
|
223
|
+
include a readable copy of the attribution notices contained
|
|
224
|
+
within such NOTICE file, excluding those notices that do not
|
|
225
|
+
pertain to any part of the Derivative Works, in at least one
|
|
226
|
+
of the following places: within a NOTICE text file distributed
|
|
227
|
+
as part of the Derivative Works; within the Source form or
|
|
228
|
+
documentation, if provided along with the Derivative Works; or,
|
|
229
|
+
within a display generated by the Derivative Works, if and
|
|
230
|
+
wherever such third-party notices normally appear. The contents
|
|
231
|
+
of the NOTICE file are for informational purposes only and
|
|
232
|
+
do not modify the License. You may add Your own attribution
|
|
233
|
+
notices within Derivative Works that You distribute, alongside
|
|
234
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
235
|
+
that such additional attribution notices cannot be construed
|
|
236
|
+
as modifying the License.
|
|
237
|
+
|
|
238
|
+
You may add Your own copyright statement to Your modifications and
|
|
239
|
+
may provide additional or different license terms and conditions
|
|
240
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
241
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
242
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
243
|
+
the conditions stated in this License.
|
|
244
|
+
|
|
245
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
246
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
247
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
248
|
+
this License, without any additional terms or conditions.
|
|
249
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
250
|
+
the terms of any separate license agreement you may have executed
|
|
251
|
+
with Licensor regarding such Contributions.
|
|
252
|
+
|
|
253
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
254
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
255
|
+
except as required for reasonable and customary use in describing the
|
|
256
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
257
|
+
|
|
258
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
259
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
260
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
261
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
262
|
+
implied, including, without limitation, any warranties or conditions
|
|
263
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
264
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
265
|
+
appropriateness of using or redistributing the Work and assume any
|
|
266
|
+
risks associated with Your exercise of permissions under this License.
|
|
267
|
+
|
|
268
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
269
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
270
|
+
unless required by applicable law (such as deliberate and grossly
|
|
271
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
272
|
+
liable to You for damages, including any direct, indirect, special,
|
|
273
|
+
incidental, or consequential damages of any character arising as a
|
|
274
|
+
result of this License or out of the use or inability to use the
|
|
275
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
276
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
277
|
+
other commercial damages or losses), even if such Contributor
|
|
278
|
+
has been advised of the possibility of such damages.
|
|
279
|
+
|
|
280
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
281
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
282
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
283
|
+
or other liability obligations and/or rights consistent with this
|
|
284
|
+
License. However, in accepting such obligations, You may act only
|
|
285
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
286
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
287
|
+
defend, and hold each Contributor harmless for any liability
|
|
288
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
289
|
+
of your accepting any such warranty or additional liability.
|
|
290
|
+
|
|
291
|
+
END OF TERMS AND CONDITIONS
|
|
292
|
+
|
|
293
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
294
|
+
|
|
295
|
+
To apply the Apache License to your work, attach the following
|
|
296
|
+
boilerplate notice, with the fields enclosed by brackets "{}"
|
|
297
|
+
replaced with your own identifying information. (Don't include
|
|
298
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
299
|
+
comment syntax for the file format. We also recommend that a
|
|
300
|
+
file or class name and description of purpose be included on the
|
|
301
|
+
same "printed page" as the copyright notice for easier
|
|
302
|
+
identification within third-party archives.
|
|
303
|
+
|
|
304
|
+
Copyright (C) 2012-present SheetJS LLC
|
|
305
|
+
|
|
306
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
307
|
+
you may not use this file except in compliance with the License.
|
|
308
|
+
You may obtain a copy of the License at
|
|
309
|
+
|
|
310
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
311
|
+
|
|
312
|
+
Unless required by applicable law or agreed to in writing, software
|
|
313
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
314
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
315
|
+
See the License for the specific language governing permissions and
|
|
316
|
+
limitations under the License.
|
|
317
|
+
|
|
318
|
+
========================================================================
|
|
319
|
+
@lezer/common 1.5.5
|
|
320
|
+
License: MIT
|
|
321
|
+
https://code.haverbeke.berlin/lezer/common
|
|
322
|
+
|
|
323
|
+
MIT License
|
|
324
|
+
|
|
325
|
+
Copyright (C) 2018 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
|
|
326
|
+
|
|
327
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
328
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
329
|
+
in the Software without restriction, including without limitation the rights
|
|
330
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
331
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
332
|
+
furnished to do so, subject to the following conditions:
|
|
333
|
+
|
|
334
|
+
The above copyright notice and this permission notice shall be included in
|
|
335
|
+
all copies or substantial portions of the Software.
|
|
336
|
+
|
|
337
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
338
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
339
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
340
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
341
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
342
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
343
|
+
THE SOFTWARE.
|
|
344
|
+
|
|
345
|
+
========================================================================
|
|
346
|
+
@marijn/find-cluster-break 1.0.4
|
|
347
|
+
License: MIT
|
|
348
|
+
https://code.haverbeke.berlin/marijn/find-cluster-break
|
|
349
|
+
|
|
350
|
+
MIT License
|
|
351
|
+
|
|
352
|
+
Copyright (C) 2024 by Marijn Haverbeke <marijn@haverbeke.berlin>
|
|
353
|
+
|
|
354
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
355
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
356
|
+
in the Software without restriction, including without limitation the rights
|
|
357
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
358
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
359
|
+
furnished to do so, subject to the following conditions:
|
|
360
|
+
|
|
361
|
+
The above copyright notice and this permission notice shall be included in
|
|
362
|
+
all copies or substantial portions of the Software.
|
|
363
|
+
|
|
364
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
365
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
366
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
367
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
368
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
369
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
370
|
+
THE SOFTWARE.
|
|
371
|
+
|
|
372
|
+
========================================================================
|
|
373
|
+
style-mod 4.1.4
|
|
374
|
+
License: MIT
|
|
375
|
+
https://code.haverbeke.berlin/marijn/style-mod
|
|
376
|
+
|
|
377
|
+
Copyright (C) 2018 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
|
|
378
|
+
|
|
379
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
380
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
381
|
+
in the Software without restriction, including without limitation the rights
|
|
382
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
383
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
384
|
+
furnished to do so, subject to the following conditions:
|
|
385
|
+
|
|
386
|
+
The above copyright notice and this permission notice shall be included in
|
|
387
|
+
all copies or substantial portions of the Software.
|
|
388
|
+
|
|
389
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
390
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
391
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
392
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
393
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
394
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
395
|
+
THE SOFTWARE.
|
|
396
|
+
|
|
397
|
+
========================================================================
|
|
398
|
+
w3c-keyname 2.2.8
|
|
399
|
+
License: MIT
|
|
400
|
+
https://github.com/marijnh/w3c-keyname#readme
|
|
401
|
+
|
|
402
|
+
Copyright (C) 2016 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
|
|
403
|
+
|
|
404
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
405
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
406
|
+
in the Software without restriction, including without limitation the rights
|
|
407
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
408
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
409
|
+
furnished to do so, subject to the following conditions:
|
|
410
|
+
|
|
411
|
+
The above copyright notice and this permission notice shall be included in
|
|
412
|
+
all copies or substantial portions of the Software.
|
|
413
|
+
|
|
414
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
415
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
416
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
417
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
418
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
419
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
420
|
+
THE SOFTWARE.
|
|
421
|
+
|