@veripublica/epubveri-wasm 0.37.1 → 0.38.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.
@@ -106,6 +106,188 @@ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
106
106
  DEALINGS IN THE SOFTWARE.
107
107
 
108
108
 
109
+ ================================================================
110
+ constant_time_eq 0.6.1 (Apache-2.0)
111
+ ================================================================
112
+
113
+ Apache License
114
+ Version 2.0, January 2004
115
+ http://www.apache.org/licenses/
116
+
117
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
118
+
119
+ 1. Definitions.
120
+
121
+ "License" shall mean the terms and conditions for use, reproduction,
122
+ and distribution as defined by Sections 1 through 9 of this document.
123
+
124
+ "Licensor" shall mean the copyright owner or entity authorized by
125
+ the copyright owner that is granting the License.
126
+
127
+ "Legal Entity" shall mean the union of the acting entity and all
128
+ other entities that control, are controlled by, or are under common
129
+ control with that entity. For the purposes of this definition,
130
+ "control" means (i) the power, direct or indirect, to cause the
131
+ direction or management of such entity, whether by contract or
132
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
133
+ outstanding shares, or (iii) beneficial ownership of such entity.
134
+
135
+ "You" (or "Your") shall mean an individual or Legal Entity
136
+ exercising permissions granted by this License.
137
+
138
+ "Source" form shall mean the preferred form for making modifications,
139
+ including but not limited to software source code, documentation
140
+ source, and configuration files.
141
+
142
+ "Object" form shall mean any form resulting from mechanical
143
+ transformation or translation of a Source form, including but
144
+ not limited to compiled object code, generated documentation,
145
+ and conversions to other media types.
146
+
147
+ "Work" shall mean the work of authorship, whether in Source or
148
+ Object form, made available under the License, as indicated by a
149
+ copyright notice that is included in or attached to the work
150
+ (an example is provided in the Appendix below).
151
+
152
+ "Derivative Works" shall mean any work, whether in Source or Object
153
+ form, that is based on (or derived from) the Work and for which the
154
+ editorial revisions, annotations, elaborations, or other modifications
155
+ represent, as a whole, an original work of authorship. For the purposes
156
+ of this License, Derivative Works shall not include works that remain
157
+ separable from, or merely link (or bind by name) to the interfaces of,
158
+ the Work and Derivative Works thereof.
159
+
160
+ "Contribution" shall mean any work of authorship, including
161
+ the original version of the Work and any modifications or additions
162
+ to that Work or Derivative Works thereof, that is intentionally
163
+ submitted to Licensor for inclusion in the Work by the copyright owner
164
+ or by an individual or Legal Entity authorized to submit on behalf of
165
+ the copyright owner. For the purposes of this definition, "submitted"
166
+ means any form of electronic, verbal, or written communication sent
167
+ to the Licensor or its representatives, including but not limited to
168
+ communication on electronic mailing lists, source code control systems,
169
+ and issue tracking systems that are managed by, or on behalf of, the
170
+ Licensor for the purpose of discussing and improving the Work, but
171
+ excluding communication that is conspicuously marked or otherwise
172
+ designated in writing by the copyright owner as "Not a Contribution."
173
+
174
+ "Contributor" shall mean Licensor and any individual or Legal Entity
175
+ on behalf of whom a Contribution has been received by Licensor and
176
+ subsequently incorporated within the Work.
177
+
178
+ 2. Grant of Copyright License. Subject to the terms and conditions of
179
+ this License, each Contributor hereby grants to You a perpetual,
180
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
181
+ copyright license to reproduce, prepare Derivative Works of,
182
+ publicly display, publicly perform, sublicense, and distribute the
183
+ Work and such Derivative Works in Source or Object form.
184
+
185
+ 3. Grant of Patent License. Subject to the terms and conditions of
186
+ this License, each Contributor hereby grants to You a perpetual,
187
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
188
+ (except as stated in this section) patent license to make, have made,
189
+ use, offer to sell, sell, import, and otherwise transfer the Work,
190
+ where such license applies only to those patent claims licensable
191
+ by such Contributor that are necessarily infringed by their
192
+ Contribution(s) alone or by combination of their Contribution(s)
193
+ with the Work to which such Contribution(s) was submitted. If You
194
+ institute patent litigation against any entity (including a
195
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
196
+ or a Contribution incorporated within the Work constitutes direct
197
+ or contributory patent infringement, then any patent licenses
198
+ granted to You under this License for that Work shall terminate
199
+ as of the date such litigation is filed.
200
+
201
+ 4. Redistribution. You may reproduce and distribute copies of the
202
+ Work or Derivative Works thereof in any medium, with or without
203
+ modifications, and in Source or Object form, provided that You
204
+ meet the following conditions:
205
+
206
+ (a) You must give any other recipients of the Work or
207
+ Derivative Works a copy of this License; and
208
+
209
+ (b) You must cause any modified files to carry prominent notices
210
+ stating that You changed the files; and
211
+
212
+ (c) You must retain, in the Source form of any Derivative Works
213
+ that You distribute, all copyright, patent, trademark, and
214
+ attribution notices from the Source form of the Work,
215
+ excluding those notices that do not pertain to any part of
216
+ the Derivative Works; and
217
+
218
+ (d) If the Work includes a "NOTICE" text file as part of its
219
+ distribution, then any Derivative Works that You distribute must
220
+ include a readable copy of the attribution notices contained
221
+ within such NOTICE file, excluding those notices that do not
222
+ pertain to any part of the Derivative Works, in at least one
223
+ of the following places: within a NOTICE text file distributed
224
+ as part of the Derivative Works; within the Source form or
225
+ documentation, if provided along with the Derivative Works; or,
226
+ within a display generated by the Derivative Works, if and
227
+ wherever such third-party notices normally appear. The contents
228
+ of the NOTICE file are for informational purposes only and
229
+ do not modify the License. You may add Your own attribution
230
+ notices within Derivative Works that You distribute, alongside
231
+ or as an addendum to the NOTICE text from the Work, provided
232
+ that such additional attribution notices cannot be construed
233
+ as modifying the License.
234
+
235
+ You may add Your own copyright statement to Your modifications and
236
+ may provide additional or different license terms and conditions
237
+ for use, reproduction, or distribution of Your modifications, or
238
+ for any such Derivative Works as a whole, provided Your use,
239
+ reproduction, and distribution of the Work otherwise complies with
240
+ the conditions stated in this License.
241
+
242
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
243
+ any Contribution intentionally submitted for inclusion in the Work
244
+ by You to the Licensor shall be under the terms and conditions of
245
+ this License, without any additional terms or conditions.
246
+ Notwithstanding the above, nothing herein shall supersede or modify
247
+ the terms of any separate license agreement you may have executed
248
+ with Licensor regarding such Contributions.
249
+
250
+ 6. Trademarks. This License does not grant permission to use the trade
251
+ names, trademarks, service marks, or product names of the Licensor,
252
+ except as required for reasonable and customary use in describing the
253
+ origin of the Work and reproducing the content of the NOTICE file.
254
+
255
+ 7. Disclaimer of Warranty. Unless required by applicable law or
256
+ agreed to in writing, Licensor provides the Work (and each
257
+ Contributor provides its Contributions) on an "AS IS" BASIS,
258
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
259
+ implied, including, without limitation, any warranties or conditions
260
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
261
+ PARTICULAR PURPOSE. You are solely responsible for determining the
262
+ appropriateness of using or redistributing the Work and assume any
263
+ risks associated with Your exercise of permissions under this License.
264
+
265
+ 8. Limitation of Liability. In no event and under no legal theory,
266
+ whether in tort (including negligence), contract, or otherwise,
267
+ unless required by applicable law (such as deliberate and grossly
268
+ negligent acts) or agreed to in writing, shall any Contributor be
269
+ liable to You for damages, including any direct, indirect, special,
270
+ incidental, or consequential damages of any character arising as a
271
+ result of this License or out of the use or inability to use the
272
+ Work (including but not limited to damages for loss of goodwill,
273
+ work stoppage, computer failure or malfunction, or any and all
274
+ other commercial damages or losses), even if such Contributor
275
+ has been advised of the possibility of such damages.
276
+
277
+ 9. Accepting Warranty or Additional Liability. While redistributing
278
+ the Work or Derivative Works thereof, You may choose to offer,
279
+ and charge a fee for, acceptance of support, warranty, indemnity,
280
+ or other liability obligations and/or rights consistent with this
281
+ License. However, in accepting such obligations, You may act only
282
+ on Your own behalf and on Your sole responsibility, not on behalf
283
+ of any other Contributor, and only if You agree to indemnify,
284
+ defend, and hold each Contributor harmless for any liability
285
+ incurred by, or claims asserted against, such Contributor by reason
286
+ of your accepting any such warranty or additional liability.
287
+
288
+ END OF TERMS AND CONDITIONS
289
+
290
+
109
291
  ================================================================
110
292
  crc32fast 1.5.4 (MIT)
111
293
  ================================================================
@@ -165,7 +347,7 @@ DEALINGS IN THE SOFTWARE.
165
347
 
166
348
 
167
349
  ================================================================
168
- flate2 1.1.10 (MIT)
350
+ flate2 1.1.11 (MIT)
169
351
  ================================================================
170
352
 
171
353
  Copyright (c) 2014-2026 Alex Crichton
@@ -728,7 +910,38 @@ MIT License
728
910
 
729
911
 
730
912
  ================================================================
731
- zip 9.3.0 (MIT)
913
+ zeroize 1.9.1 (MIT)
914
+ ================================================================
915
+
916
+ Copyright (c) 2018-2026 The RustCrypto Project Developers
917
+
918
+ Permission is hereby granted, free of charge, to any
919
+ person obtaining a copy of this software and associated
920
+ documentation files (the "Software"), to deal in the
921
+ Software without restriction, including without
922
+ limitation the rights to use, copy, modify, merge,
923
+ publish, distribute, sublicense, and/or sell copies of
924
+ the Software, and to permit persons to whom the Software
925
+ is furnished to do so, subject to the following
926
+ conditions:
927
+
928
+ The above copyright notice and this permission notice
929
+ shall be included in all copies or substantial portions
930
+ of the Software.
931
+
932
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
933
+ ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
934
+ TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
935
+ PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
936
+ SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
937
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
938
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
939
+ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
940
+ DEALINGS IN THE SOFTWARE.
941
+
942
+
943
+ ================================================================
944
+ zip 9.4.2 (MIT)
732
945
  ================================================================
733
946
 
734
947
  The MIT License (MIT)
package/README.md CHANGED
@@ -60,7 +60,7 @@ interface Item {
60
60
  params: string[]; // the values interpolated into `message`
61
61
  element_path?: string; // XPath-style path to the offending node
62
62
  namespaces: Map<string, string>; // bindings that resolve element_path — a Map, see below
63
- advisory_basis?: string; // "spec-ahead" | "spec-silent", on ADV-*/NEXT-* only
63
+ advisory_basis?: string; // "spec-silent", on ADV-* only
64
64
  violation_kind?: string; // which of six kinds a schema violation is
65
65
  };
66
66
  }
@@ -83,15 +83,8 @@ function version(): string;
83
83
  ### Advisory checks
84
84
 
85
85
  `advisory` mirrors the CLI `--advisory` flag: pass `true` to also emit the opt-in findings
86
- epubcheck has no verdict on, in two families, both at `usage` severity:
87
-
88
- - **`NEXT-*`** — a published specification requires it and epubcheck has not implemented it
89
- yet, so it becomes an ordinary error the day it catches up: a `mimetype` file that is
90
- compressed (EPUB 3.3 forbids it; epubcheck compares only its contents), and a CSS `url()`
91
- inside another function, such as `image-set()`, whose target is missing, undeclared,
92
- outside the container or a `file:` URL (epubcheck does not read urls there). The four EPUB 3.4
93
- rules that were here first graduated when epubcheck 5.4.0 implemented them, and now report
94
- under its own ids without this flag.
86
+ no specification requires, at `usage` severity:
87
+
95
88
  - **`ADV-*`** — no specification requires it, but the book is still probably wrong
96
89
  (unknown CSS property and descriptor names, a type selector naming no known element, an
97
90
  EPUB 2 package written in EPUB 3, two navigation entries landing on one document, an
@@ -106,9 +99,13 @@ epubcheck has no verdict on, in two families, both at `usage` severity:
106
99
  value its property cannot take such as `font-style: bold`).
107
100
 
108
101
  It is **off by default**: leaving the argument out, or passing `false`/`undefined`,
109
- produces a byte-identical report, so existing two-argument callers are unaffected. Neither
110
- family ever affects `status` — a book that passes epubcheck passes epubveri, with or
111
- without the flag.
102
+ produces a byte-identical report, so existing two-argument callers are unaffected. It never
103
+ affects `status`.
104
+
105
+ The verdict follows the specification, not epubcheck, so in a few listed cases a book that
106
+ passes epubcheck does not pass epubveri (a compressed `mimetype`, for one). The list, with
107
+ each clause, is in
108
+ [AGENTS.md](https://github.com/veripublica/epubveri/blob/main/AGENTS.md#known-differences-from-epubcheck).
112
109
 
113
110
  ### Forcing a version
114
111
 
package/epubveri_bg.wasm CHANGED
Binary file
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@veripublica/epubveri-wasm",
3
3
  "type": "module",
4
4
  "description": "WebAssembly bindings for epubveri — a pure-Rust, JVM-free EPUB validator that runs in the browser.",
5
- "version": "0.37.1",
5
+ "version": "0.38.0",
6
6
  "license": "AGPL-3.0-only OR LicenseRef-veripublica-Commercial",
7
7
  "repository": {
8
8
  "type": "git",