@hraness/sponge 0.5.2 → 0.6.1

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.
Files changed (62) hide show
  1. package/README.md +8 -11
  2. package/dist/capture/NOTICES.txt +472 -0
  3. package/dist/capture/worker.js +553 -0
  4. package/dist/src/acquisition/capture.d.ts +3 -10
  5. package/dist/src/acquisition/capture.js +28 -202
  6. package/dist/src/acquisition/child-request.d.ts +40 -0
  7. package/dist/src/acquisition/child.d.ts +31 -0
  8. package/dist/src/acquisition/child.js +130 -0
  9. package/dist/src/acquisition/errors.d.ts +2 -2
  10. package/dist/src/acquisition/errors.js +15 -4
  11. package/dist/src/acquisition/index.d.ts +0 -3
  12. package/dist/src/acquisition/index.js +0 -2
  13. package/dist/src/acquisition/normalize.d.ts +1 -3
  14. package/dist/src/acquisition/normalize.js +20 -22
  15. package/dist/src/app/article.d.ts +1 -2
  16. package/dist/src/app/article.js +1 -2
  17. package/dist/src/cli/commands.d.ts +0 -1
  18. package/dist/src/cli/commands.js +10 -46
  19. package/dist/src/cli/config.d.ts +5 -0
  20. package/dist/src/cli/config.js +14 -0
  21. package/dist/src/cli/import.d.ts +1 -3
  22. package/dist/src/cli/import.js +3 -3
  23. package/dist/src/cli/main.js +0 -2
  24. package/dist/src/cli/runtimes.js +2 -3
  25. package/dist/src/cli/worker.d.ts +1 -4
  26. package/dist/src/cli/worker.js +0 -4
  27. package/dist/src/importers/apply.d.ts +0 -2
  28. package/dist/src/importers/apply.js +2 -2
  29. package/dist/src/importers/inspect.d.ts +2 -2
  30. package/dist/src/importers/inspect.js +24 -23
  31. package/dist/src/metadata/article.d.ts +0 -1
  32. package/dist/src/metadata/article.js +3 -2
  33. package/dist/src/pdf/capture.d.ts +7 -16
  34. package/dist/src/pdf/capture.js +44 -198
  35. package/dist/src/pdf/handler.d.ts +1 -2
  36. package/dist/src/pdf/handler.js +0 -1
  37. package/dist/src/pdf/normalize.d.ts +2 -3
  38. package/dist/src/pdf/normalize.js +34 -38
  39. package/dist/src/pdf/tools.d.ts +2 -0
  40. package/dist/src/pdf/tools.js +21 -0
  41. package/native/runtime-manifest.json +5 -5
  42. package/package.json +11 -2
  43. package/dist/src/acquisition/clip-helper.js +0 -14
  44. package/dist/src/acquisition/lock.d.ts +0 -1
  45. package/dist/src/acquisition/lock.js +0 -2
  46. package/dist/src/acquisition/pins.d.ts +0 -3
  47. package/dist/src/acquisition/pins.js +0 -21
  48. package/dist/src/acquisition/runtime.d.ts +0 -48
  49. package/dist/src/acquisition/runtime.js +0 -273
  50. package/dist/src/acquisition/verify-helper.d.ts +0 -1
  51. package/dist/src/acquisition/verify-helper.js +0 -26
  52. package/dist/src/importers/verify-helper.d.ts +0 -1
  53. package/dist/src/importers/verify-helper.js +0 -41
  54. package/dist/src/pdf/capture-helper.d.ts +0 -1
  55. package/dist/src/pdf/capture-helper.js +0 -15
  56. package/dist/src/pdf/errors.d.ts +0 -2
  57. package/dist/src/pdf/errors.js +0 -22
  58. package/dist/src/pdf/source-identity.d.ts +0 -4
  59. package/dist/src/pdf/source-identity.js +0 -13
  60. package/dist/src/pdf/verify-helper.d.ts +0 -1
  61. package/dist/src/pdf/verify-helper.js +0 -29
  62. /package/dist/src/acquisition/{clip-helper.d.ts → child-request.js} +0 -0
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Sponge
2
2
 
3
- Sponge is a local library for articles, images, PDFs and media transcripts. Capturing runs on your machine through Wordcell and Sponge's media helper; saved
3
+ Sponge is a local library for articles, images, PDFs and media transcripts. Capturing runs on your machine, with article and PDF capture built in and Sponge's media helper for media; saved
4
4
  content stays in a private SQLite database and adjacent hashed asset files.
5
5
 
6
6
  Version 0.2.0 introduces the local-library CLI; earlier 0.1.x commands are inactive.
@@ -34,13 +34,10 @@ revision and preserves the old one if capture fails. `--json` provides structure
34
34
  output. Errors are categorical JSON on stderr; exit codes are 0 success,
35
35
  1 failure, 2 invalid input, 3 partial content, 4 action required, and 130 cancelled.
36
36
 
37
- Capture setup explicitly downloads pinned Wordcell and Bun artifacts plus frozen
38
- dependencies, and on macOS 26 on Apple Silicon Sponge's media helper from the
39
- Sponge release. Read/search never download runtimes or contact source
40
- websites. Setup reports disk requirements, a monitored 2 GiB temporary installation
41
- limit, a 1 GiB retained runtime limit and a 30-minute dependency installation
42
- deadline. Temporary dependency caches are removed
43
- before the runtime is promoted.
37
+ Article and PDF capture are built into the package and need no setup.
38
+ `setup --capture` downloads, on macOS 26 on Apple Silicon, Sponge's media helper
39
+ from the Sponge release. Read/search never download runtimes or contact source
40
+ websites.
44
41
  `doctor` reports runtime integrity and pending cleanup. Private-network capture
45
42
  requires `--allow-private-network` with `--wait` or `run --drain`.
46
43
 
@@ -66,7 +63,7 @@ yt-dlp and FFmpeg (ffprobe) from your PATH or Homebrew. Install these separately
66
63
  install system tools.
67
64
 
68
65
  PDF capture retains the original and readable Markdown with page references.
69
- Wordcell owns extraction and reports uncertain layout. Media capture prefers
66
+ Extraction reports uncertain layout. Media capture prefers
70
67
  available captions and retains timestamped transcripts, metadata and thumbnails.
71
68
  Temporary audio is deleted after transcription and verified cleanup.
72
69
 
@@ -225,8 +222,8 @@ identity creates a distinct private source realm.
225
222
 
226
223
  See the [design](docs/local-library-design.md),
227
224
  [phase plan](plans/local-library-cli.md), and
228
- [evidence inventory](docs/local-library-evidence.md). PDF improvements belong
229
- upstream in Wordcell; Sponge owns library ingestion and offline reading.
225
+ [evidence inventory](docs/local-library-evidence.md). Sponge owns capture,
226
+ library ingestion and offline reading.
230
227
 
231
228
  ```sh
232
229
  npm run typecheck
@@ -0,0 +1,472 @@
1
+ Sponge capture ports code from Wordcell (https://github.com/hraness/wordcell)
2
+ =============================================================================
3
+
4
+ MIT License
5
+
6
+ Copyright (c) 2026 Hraness contributors
7
+
8
+ Permission is hereby granted, free of charge, to any person obtaining a copy
9
+ of this software and associated documentation files (the "Software"), to deal
10
+ in the Software without restriction, including without limitation the rights
11
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12
+ copies of the Software, and to permit persons to whom the Software is
13
+ furnished to do so, subject to the following conditions:
14
+
15
+ The above copyright notice and this permission notice shall be included in all
16
+ copies or substantial portions of the Software.
17
+
18
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
+ SOFTWARE.
25
+
26
+ @acemir/cssom@0.9.32
27
+ ====================
28
+
29
+ Copyright (c) Nikita Vasilyev
30
+
31
+ Permission is hereby granted, free of charge, to any person obtaining
32
+ a copy of this software and associated documentation files (the
33
+ "Software"), to deal in the Software without restriction, including
34
+ without limitation the rights to use, copy, modify, merge, publish,
35
+ distribute, sublicense, and/or sell copies of the Software, and to
36
+ permit persons to whom the Software is furnished to do so, subject to
37
+ the following conditions:
38
+
39
+ The above copyright notice and this permission notice shall be
40
+ included in all copies or substantial portions of the Software.
41
+
42
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
43
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
44
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
45
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
46
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
47
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
48
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
49
+
50
+ @mixmark-io/domino@2.2.0
51
+ ========================
52
+
53
+ Copyright (c) 2011 The Mozilla Foundation.
54
+ All rights reserved.
55
+
56
+ Redistribution and use in source and binary forms, with or without
57
+ modification, are permitted provided that the following conditions are
58
+ met:
59
+
60
+ Redistributions of source code must retain the above copyright
61
+ notice, this list of conditions and the following disclaimer.
62
+
63
+ Redistributions in binary form must reproduce the above copyright
64
+ notice, this list of conditions and the following disclaimer in the
65
+ documentation and/or other materials provided with the distribution.
66
+
67
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
68
+ IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
69
+ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
70
+ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
71
+ HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
72
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
73
+ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
74
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
75
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
76
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
77
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
78
+
79
+ @xmldom/xmldom@0.9.12
80
+ =====================
81
+
82
+ Copyright 2019 - present Christopher J. Brody and other contributors, as listed in: https://github.com/xmldom/xmldom/graphs/contributors
83
+ Copyright 2012 - 2017 @jindw <jindw@xidea.org> and other contributors, as listed in: https://github.com/jindw/xmldom/graphs/contributors
84
+
85
+ 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:
86
+
87
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
88
+
89
+ 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.
90
+
91
+ boolbase@2.0.0
92
+ ==============
93
+
94
+ Copyright (c) 2014-2015, Felix Boehm <me@feedic.com>
95
+
96
+ Permission to use, copy, modify, and/or distribute this software for any
97
+ purpose with or without fee is hereby granted, provided that the above
98
+ copyright notice and this permission notice appear in all copies.
99
+
100
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
101
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
102
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
103
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
104
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
105
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
106
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
107
+
108
+ css-select@7.0.0
109
+ ================
110
+
111
+ Copyright (c) Felix Böhm
112
+ All rights reserved.
113
+
114
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
115
+
116
+ Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
117
+
118
+ 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.
119
+
120
+ THIS 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,
121
+ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
122
+
123
+ css-what@8.0.0
124
+ ==============
125
+
126
+ Copyright (c) Felix Böhm
127
+ All rights reserved.
128
+
129
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
130
+
131
+ Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
132
+
133
+ 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.
134
+
135
+ THIS 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,
136
+ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
137
+
138
+ defuddle@0.19.1
139
+ ===============
140
+
141
+ MIT License
142
+
143
+ Copyright (c) 2025 Steph Ango (@kepano)
144
+
145
+ Permission is hereby granted, free of charge, to any person obtaining a copy
146
+ of this software and associated documentation files (the "Software"), to deal
147
+ in the Software without restriction, including without limitation the rights
148
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
149
+ copies of the Software, and to permit persons to whom the Software is
150
+ furnished to do so, subject to the following conditions:
151
+
152
+ The above copyright notice and this permission notice shall be included in all
153
+ copies or substantial portions of the Software.
154
+
155
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
156
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
157
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
158
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
159
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
160
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
161
+ SOFTWARE.
162
+
163
+ dom-serializer@2.0.0
164
+ ====================
165
+
166
+ License
167
+
168
+ (The MIT License)
169
+
170
+ Copyright (c) 2014 The cheeriojs contributors
171
+
172
+ 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:
173
+
174
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
175
+
176
+ 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.
177
+
178
+ dom-serializer@3.1.1
179
+ ====================
180
+
181
+ Copyright © 2022 The Cheerio contributors
182
+
183
+ 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:
184
+
185
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
186
+
187
+ 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.
188
+
189
+ domelementtype@2.3.0
190
+ ====================
191
+
192
+ Copyright (c) Felix Böhm
193
+ All rights reserved.
194
+
195
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
196
+
197
+ Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
198
+
199
+ 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.
200
+
201
+ THIS 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,
202
+ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
203
+
204
+ domelementtype@3.0.0
205
+ ====================
206
+
207
+ Copyright (c) Felix Böhm
208
+ All rights reserved.
209
+
210
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
211
+
212
+ Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
213
+
214
+ 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.
215
+
216
+ THIS 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,
217
+ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
218
+
219
+ domhandler@5.0.3
220
+ ================
221
+
222
+ Copyright (c) Felix Böhm
223
+ All rights reserved.
224
+
225
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
226
+
227
+ Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
228
+
229
+ 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.
230
+
231
+ THIS 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,
232
+ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
233
+
234
+ domhandler@6.0.1
235
+ ================
236
+
237
+ Copyright (c) Felix Böhm
238
+ All rights reserved.
239
+
240
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
241
+
242
+ Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
243
+
244
+ 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.
245
+
246
+ THIS 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,
247
+ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
248
+
249
+ domutils@3.2.2
250
+ ==============
251
+
252
+ Copyright (c) Felix Böhm
253
+ All rights reserved.
254
+
255
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
256
+
257
+ Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
258
+
259
+ 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.
260
+
261
+ THIS 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,
262
+ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
263
+
264
+ domutils@4.0.2
265
+ ==============
266
+
267
+ Copyright (c) Felix Böhm
268
+ All rights reserved.
269
+
270
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
271
+
272
+ Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
273
+
274
+ 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.
275
+
276
+ THIS 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,
277
+ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
278
+
279
+ entities@7.0.1
280
+ ==============
281
+
282
+ Copyright (c) Felix Böhm
283
+ All rights reserved.
284
+
285
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
286
+
287
+ Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
288
+
289
+ 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.
290
+
291
+ THIS 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,
292
+ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
293
+
294
+ entities@4.5.0
295
+ ==============
296
+
297
+ Copyright (c) Felix Böhm
298
+ All rights reserved.
299
+
300
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
301
+
302
+ Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
303
+
304
+ 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.
305
+
306
+ THIS 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,
307
+ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
308
+
309
+ entities@8.1.0
310
+ ==============
311
+
312
+ Copyright (c) Felix Böhm
313
+ All rights reserved.
314
+
315
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
316
+
317
+ Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
318
+
319
+ 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.
320
+
321
+ THIS 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,
322
+ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
323
+
324
+ htmlparser2@10.1.0
325
+ ==================
326
+
327
+ Copyright 2010, 2011, Chris Winberry <chris@winberry.net>. All rights reserved.
328
+ Permission is hereby granted, free of charge, to any person obtaining a copy
329
+ of this software and associated documentation files (the "Software"), to
330
+ deal in the Software without restriction, including without limitation the
331
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
332
+ sell copies of the Software, and to permit persons to whom the Software is
333
+ furnished to do so, subject to the following conditions:
334
+
335
+ The above copyright notice and this permission notice shall be included in
336
+ all copies or substantial portions of the Software.
337
+
338
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
339
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
340
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
341
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
342
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
343
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
344
+ IN THE SOFTWARE.
345
+
346
+ linkedom@0.18.14
347
+ ================
348
+
349
+ ISC License
350
+
351
+ Copyright (c) 2021, Andrea Giammarchi, @WebReflection
352
+
353
+ Permission to use, copy, modify, and/or distribute this software for any
354
+ purpose with or without fee is hereby granted, provided that the above
355
+ copyright notice and this permission notice appear in all copies.
356
+
357
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
358
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
359
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
360
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
361
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
362
+ OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
363
+ PERFORMANCE OF THIS SOFTWARE.
364
+
365
+ mathml-to-latex@1.8.0
366
+ =====================
367
+
368
+ MIT License
369
+
370
+ Copyright (c) 2020 Alexandre Nunes
371
+
372
+ Permission is hereby granted, free of charge, to any person obtaining a copy
373
+ of this software and associated documentation files (the "Software"), to deal
374
+ in the Software without restriction, including without limitation the rights
375
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
376
+ copies of the Software, and to permit persons to whom the Software is
377
+ furnished to do so, subject to the following conditions:
378
+
379
+ The above copyright notice and this permission notice shall be included in all
380
+ copies or substantial portions of the Software.
381
+
382
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
383
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
384
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
385
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
386
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
387
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
388
+ SOFTWARE.
389
+
390
+ nth-check@3.0.1
391
+ ===============
392
+
393
+ Copyright (c) Felix Böhm
394
+ All rights reserved.
395
+
396
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
397
+
398
+ Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
399
+
400
+ 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.
401
+
402
+ THIS 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,
403
+ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
404
+
405
+ temml@0.13.4
406
+ ============
407
+
408
+ The MIT License (MIT)
409
+
410
+ Copyright (c) 2020 Ron Kok
411
+
412
+ Permission is hereby granted, free of charge, to any person obtaining a copy
413
+ of this software and associated documentation files (the "Software"), to deal
414
+ in the Software without restriction, including without limitation the rights
415
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
416
+ copies of the Software, and to permit persons to whom the Software is
417
+ furnished to do so, subject to the following conditions:
418
+
419
+ The above copyright notice and this permission notice shall be included in all
420
+ copies or substantial portions of the Software.
421
+
422
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
423
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
424
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
425
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
426
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
427
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
428
+ SOFTWARE.
429
+
430
+ turndown@7.2.4
431
+ ==============
432
+
433
+ MIT License
434
+
435
+ Copyright (c) 2017 Dom Christie
436
+
437
+ Permission is hereby granted, free of charge, to any person obtaining a copy
438
+ of this software and associated documentation files (the "Software"), to deal
439
+ in the Software without restriction, including without limitation the rights
440
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
441
+ copies of the Software, and to permit persons to whom the Software is
442
+ furnished to do so, subject to the following conditions:
443
+
444
+ The above copyright notice and this permission notice shall be included in all
445
+ copies or substantial portions of the Software.
446
+
447
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
448
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
449
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
450
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
451
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
452
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
453
+ SOFTWARE.
454
+
455
+ uhyphen@0.2.0
456
+ =============
457
+
458
+ ISC License
459
+
460
+ Copyright (c) 2020, Andrea Giammarchi, @WebReflection
461
+
462
+ Permission to use, copy, modify, and/or distribute this software for any
463
+ purpose with or without fee is hereby granted, provided that the above
464
+ copyright notice and this permission notice appear in all copies.
465
+
466
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
467
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
468
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
469
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
470
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
471
+ OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
472
+ PERFORMANCE OF THIS SOFTWARE.