@ai-ecoverse/wasm-zip 3.0.0-3 → 3.0.0-5
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/README.md +2 -0
- package/THIRD-PARTY-NOTICES.md +619 -0
- package/bin/unzip +7 -5
- package/bin/unzip.wasm +0 -0
- package/bin/zip +10 -8
- package/bin/zip.wasm +0 -0
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -15,3 +15,5 @@ unzip -l out.zip
|
|
|
15
15
|
shows them and reads Info-ZIP's Unicode path field.
|
|
16
16
|
- `zip - … > file` and `zip - … | …` write valid archives, and `zip -s 0`
|
|
17
17
|
merges split archives (`zip -s 1m`) back with every byte.
|
|
18
|
+
- `zipinfo` is unzip's zipinfo mode, the same as `unzip -Z`.
|
|
19
|
+
- unzip carries Debian's unzip 6.0 security patches.
|
|
@@ -0,0 +1,619 @@
|
|
|
1
|
+
# Third-party notices
|
|
2
|
+
|
|
3
|
+
The wasm modules in bin/ statically link the following.
|
|
4
|
+
|
|
5
|
+
## Emscripten 4.0.23 (runtime and system libraries)
|
|
6
|
+
|
|
7
|
+
```text
|
|
8
|
+
Emscripten is available under 2 licenses, the MIT license and the
|
|
9
|
+
University of Illinois/NCSA Open Source License.
|
|
10
|
+
|
|
11
|
+
Both are permissive open source licenses, with little if any
|
|
12
|
+
practical difference between them.
|
|
13
|
+
|
|
14
|
+
The reason for offering both is that (1) the MIT license is
|
|
15
|
+
well-known, while (2) the University of Illinois/NCSA Open Source
|
|
16
|
+
License allows Emscripten's code to be integrated upstream into
|
|
17
|
+
LLVM, which uses that license, should the opportunity arise.
|
|
18
|
+
|
|
19
|
+
The full text of both licenses follows.
|
|
20
|
+
|
|
21
|
+
==============================================================================
|
|
22
|
+
|
|
23
|
+
Copyright (c) 2010-2014 Emscripten authors, see AUTHORS file.
|
|
24
|
+
|
|
25
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
26
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
27
|
+
in the Software without restriction, including without limitation the rights
|
|
28
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
29
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
30
|
+
furnished to do so, subject to the following conditions:
|
|
31
|
+
|
|
32
|
+
The above copyright notice and this permission notice shall be included in
|
|
33
|
+
all copies or substantial portions of the Software.
|
|
34
|
+
|
|
35
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
36
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
37
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
38
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
39
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
40
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
41
|
+
THE SOFTWARE.
|
|
42
|
+
|
|
43
|
+
==============================================================================
|
|
44
|
+
|
|
45
|
+
Copyright (c) 2010-2014 Emscripten authors, see AUTHORS file.
|
|
46
|
+
All rights reserved.
|
|
47
|
+
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining a
|
|
49
|
+
copy of this software and associated documentation files (the
|
|
50
|
+
"Software"), to deal with the Software without restriction, including
|
|
51
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
52
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
53
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
54
|
+
the following conditions:
|
|
55
|
+
|
|
56
|
+
Redistributions of source code must retain the above copyright
|
|
57
|
+
notice, this list of conditions and the following disclaimers.
|
|
58
|
+
|
|
59
|
+
Redistributions in binary form must reproduce the above
|
|
60
|
+
copyright notice, this list of conditions and the following disclaimers
|
|
61
|
+
in the documentation and/or other materials provided with the
|
|
62
|
+
distribution.
|
|
63
|
+
|
|
64
|
+
Neither the names of Mozilla,
|
|
65
|
+
nor the names of its contributors may be used to endorse
|
|
66
|
+
or promote products derived from this Software without specific prior
|
|
67
|
+
written permission.
|
|
68
|
+
|
|
69
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
70
|
+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
71
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
72
|
+
IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR
|
|
73
|
+
ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
74
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
75
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE.
|
|
76
|
+
|
|
77
|
+
==============================================================================
|
|
78
|
+
|
|
79
|
+
This program uses portions of Node.js source code located in src/library_path.js,
|
|
80
|
+
in accordance with the terms of the MIT license. Node's license follows:
|
|
81
|
+
|
|
82
|
+
"""
|
|
83
|
+
Copyright Joyent, Inc. and other Node contributors. All rights reserved.
|
|
84
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
85
|
+
of this software and associated documentation files (the "Software"), to
|
|
86
|
+
deal in the Software without restriction, including without limitation the
|
|
87
|
+
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
88
|
+
sell copies of the Software, and to permit persons to whom the Software is
|
|
89
|
+
furnished to do so, subject to the following conditions:
|
|
90
|
+
|
|
91
|
+
The above copyright notice and this permission notice shall be included in
|
|
92
|
+
all copies or substantial portions of the Software.
|
|
93
|
+
|
|
94
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
95
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
96
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
97
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
98
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
99
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
100
|
+
IN THE SOFTWARE.
|
|
101
|
+
"""
|
|
102
|
+
|
|
103
|
+
The musl libc project is bundled in this repo, and it has the MIT license, see
|
|
104
|
+
system/lib/libc/musl/COPYRIGHT
|
|
105
|
+
|
|
106
|
+
The third_party/ subdirectory contains code with other licenses. None of it is
|
|
107
|
+
used by default, but certain options use it (e.g., the optional closure compiler
|
|
108
|
+
flag will run closure compiler from third_party/).
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
```text
|
|
112
|
+
musl as a whole is licensed under the following standard MIT license:
|
|
113
|
+
|
|
114
|
+
----------------------------------------------------------------------
|
|
115
|
+
Copyright © 2005-2020 Rich Felker, et al.
|
|
116
|
+
|
|
117
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
118
|
+
a copy of this software and associated documentation files (the
|
|
119
|
+
"Software"), to deal in the Software without restriction, including
|
|
120
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
121
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
122
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
123
|
+
the following conditions:
|
|
124
|
+
|
|
125
|
+
The above copyright notice and this permission notice shall be
|
|
126
|
+
included in all copies or substantial portions of the Software.
|
|
127
|
+
|
|
128
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
129
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
130
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
131
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
132
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
133
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
134
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
135
|
+
----------------------------------------------------------------------
|
|
136
|
+
|
|
137
|
+
Authors/contributors include:
|
|
138
|
+
|
|
139
|
+
A. Wilcox
|
|
140
|
+
Ada Worcester
|
|
141
|
+
Alex Dowad
|
|
142
|
+
Alex Suykov
|
|
143
|
+
Alexander Monakov
|
|
144
|
+
Andre McCurdy
|
|
145
|
+
Andrew Kelley
|
|
146
|
+
Anthony G. Basile
|
|
147
|
+
Aric Belsito
|
|
148
|
+
Arvid Picciani
|
|
149
|
+
Bartosz Brachaczek
|
|
150
|
+
Benjamin Peterson
|
|
151
|
+
Bobby Bingham
|
|
152
|
+
Boris Brezillon
|
|
153
|
+
Brent Cook
|
|
154
|
+
Chris Spiegel
|
|
155
|
+
Clément Vasseur
|
|
156
|
+
Daniel Micay
|
|
157
|
+
Daniel Sabogal
|
|
158
|
+
Daurnimator
|
|
159
|
+
David Carlier
|
|
160
|
+
David Edelsohn
|
|
161
|
+
Denys Vlasenko
|
|
162
|
+
Dmitry Ivanov
|
|
163
|
+
Dmitry V. Levin
|
|
164
|
+
Drew DeVault
|
|
165
|
+
Emil Renner Berthing
|
|
166
|
+
Fangrui Song
|
|
167
|
+
Felix Fietkau
|
|
168
|
+
Felix Janda
|
|
169
|
+
Gianluca Anzolin
|
|
170
|
+
Hauke Mehrtens
|
|
171
|
+
He X
|
|
172
|
+
Hiltjo Posthuma
|
|
173
|
+
Isaac Dunham
|
|
174
|
+
Jaydeep Patil
|
|
175
|
+
Jens Gustedt
|
|
176
|
+
Jeremy Huntwork
|
|
177
|
+
Jo-Philipp Wich
|
|
178
|
+
Joakim Sindholt
|
|
179
|
+
John Spencer
|
|
180
|
+
Julien Ramseier
|
|
181
|
+
Justin Cormack
|
|
182
|
+
Kaarle Ritvanen
|
|
183
|
+
Khem Raj
|
|
184
|
+
Kylie McClain
|
|
185
|
+
Leah Neukirchen
|
|
186
|
+
Luca Barbato
|
|
187
|
+
Luka Perkov
|
|
188
|
+
M Farkas-Dyck (Strake)
|
|
189
|
+
Mahesh Bodapati
|
|
190
|
+
Markus Wichmann
|
|
191
|
+
Masanori Ogino
|
|
192
|
+
Michael Clark
|
|
193
|
+
Michael Forney
|
|
194
|
+
Mikhail Kremnyov
|
|
195
|
+
Natanael Copa
|
|
196
|
+
Nicholas J. Kain
|
|
197
|
+
orc
|
|
198
|
+
Pascal Cuoq
|
|
199
|
+
Patrick Oppenlander
|
|
200
|
+
Petr Hosek
|
|
201
|
+
Petr Skocik
|
|
202
|
+
Pierre Carrier
|
|
203
|
+
Reini Urban
|
|
204
|
+
Rich Felker
|
|
205
|
+
Richard Pennington
|
|
206
|
+
Ryan Fairfax
|
|
207
|
+
Samuel Holland
|
|
208
|
+
Segev Finer
|
|
209
|
+
Shiz
|
|
210
|
+
sin
|
|
211
|
+
Solar Designer
|
|
212
|
+
Stefan Kristiansson
|
|
213
|
+
Stefan O'Rear
|
|
214
|
+
Szabolcs Nagy
|
|
215
|
+
Timo Teräs
|
|
216
|
+
Trutz Behn
|
|
217
|
+
Valentin Ochs
|
|
218
|
+
Will Dietz
|
|
219
|
+
William Haddon
|
|
220
|
+
William Pitcock
|
|
221
|
+
|
|
222
|
+
Portions of this software are derived from third-party works licensed
|
|
223
|
+
under terms compatible with the above MIT license:
|
|
224
|
+
|
|
225
|
+
The TRE regular expression implementation (src/regex/reg* and
|
|
226
|
+
src/regex/tre*) is Copyright © 2001-2008 Ville Laurikari and licensed
|
|
227
|
+
under a 2-clause BSD license (license text in the source files). The
|
|
228
|
+
included version has been heavily modified by Rich Felker in 2012, in
|
|
229
|
+
the interests of size, simplicity, and namespace cleanliness.
|
|
230
|
+
|
|
231
|
+
Much of the math library code (src/math/* and src/complex/*) is
|
|
232
|
+
Copyright © 1993,2004 Sun Microsystems or
|
|
233
|
+
Copyright © 2003-2011 David Schultz or
|
|
234
|
+
Copyright © 2003-2009 Steven G. Kargl or
|
|
235
|
+
Copyright © 2003-2009 Bruce D. Evans or
|
|
236
|
+
Copyright © 2008 Stephen L. Moshier or
|
|
237
|
+
Copyright © 2017-2018 Arm Limited
|
|
238
|
+
and labelled as such in comments in the individual source files. All
|
|
239
|
+
have been licensed under extremely permissive terms.
|
|
240
|
+
|
|
241
|
+
The ARM memcpy code (src/string/arm/memcpy.S) is Copyright © 2008
|
|
242
|
+
The Android Open Source Project and is licensed under a two-clause BSD
|
|
243
|
+
license. It was taken from Bionic libc, used on Android.
|
|
244
|
+
|
|
245
|
+
The AArch64 memcpy and memset code (src/string/aarch64/*) are
|
|
246
|
+
Copyright © 1999-2019, Arm Limited.
|
|
247
|
+
|
|
248
|
+
The implementation of DES for crypt (src/crypt/crypt_des.c) is
|
|
249
|
+
Copyright © 1994 David Burren. It is licensed under a BSD license.
|
|
250
|
+
|
|
251
|
+
The implementation of blowfish crypt (src/crypt/crypt_blowfish.c) was
|
|
252
|
+
originally written by Solar Designer and placed into the public
|
|
253
|
+
domain. The code also comes with a fallback permissive license for use
|
|
254
|
+
in jurisdictions that may not recognize the public domain.
|
|
255
|
+
|
|
256
|
+
The smoothsort implementation (src/stdlib/qsort.c) is Copyright © 2011
|
|
257
|
+
Valentin Ochs and is licensed under an MIT-style license.
|
|
258
|
+
|
|
259
|
+
The x86_64 port was written by Nicholas J. Kain and is licensed under
|
|
260
|
+
the standard MIT terms.
|
|
261
|
+
|
|
262
|
+
The mips and microblaze ports were originally written by Richard
|
|
263
|
+
Pennington for use in the ellcc project. The original code was adapted
|
|
264
|
+
by Rich Felker for build system and code conventions during upstream
|
|
265
|
+
integration. It is licensed under the standard MIT terms.
|
|
266
|
+
|
|
267
|
+
The mips64 port was contributed by Imagination Technologies and is
|
|
268
|
+
licensed under the standard MIT terms.
|
|
269
|
+
|
|
270
|
+
The powerpc port was also originally written by Richard Pennington,
|
|
271
|
+
and later supplemented and integrated by John Spencer. It is licensed
|
|
272
|
+
under the standard MIT terms.
|
|
273
|
+
|
|
274
|
+
All other files which have no copyright comments are original works
|
|
275
|
+
produced specifically for use as part of this library, written either
|
|
276
|
+
by Rich Felker, the main author of the library, or by one or more
|
|
277
|
+
contibutors listed above. Details on authorship of individual files
|
|
278
|
+
can be found in the git version control history of the project. The
|
|
279
|
+
omission of copyright and license comments in each file is in the
|
|
280
|
+
interest of source tree size.
|
|
281
|
+
|
|
282
|
+
In addition, permission is hereby granted for all public header files
|
|
283
|
+
(include/* and arch/*/bits/*) and crt files intended to be linked into
|
|
284
|
+
applications (crt/*, ldso/dlstart.c, and arch/*/crt_arch.h) to omit
|
|
285
|
+
the copyright notice and permission notice otherwise required by the
|
|
286
|
+
license, and to use these files without any requirement of
|
|
287
|
+
attribution. These files include substantial contributions from:
|
|
288
|
+
|
|
289
|
+
Bobby Bingham
|
|
290
|
+
John Spencer
|
|
291
|
+
Nicholas J. Kain
|
|
292
|
+
Rich Felker
|
|
293
|
+
Richard Pennington
|
|
294
|
+
Stefan Kristiansson
|
|
295
|
+
Szabolcs Nagy
|
|
296
|
+
|
|
297
|
+
all of whom have explicitly granted such permission.
|
|
298
|
+
|
|
299
|
+
This file previously contained text expressing a belief that most of
|
|
300
|
+
the files covered by the above exception were sufficiently trivial not
|
|
301
|
+
to be subject to copyright, resulting in confusion over whether it
|
|
302
|
+
negated the permissions granted in the license. In the spirit of
|
|
303
|
+
permissive licensing, and of not having licensing issues being an
|
|
304
|
+
obstacle to adoption, that text has been removed.
|
|
305
|
+
```
|
|
306
|
+
|
|
307
|
+
```text
|
|
308
|
+
==============================================================================
|
|
309
|
+
The LLVM Project is under the Apache License v2.0 with LLVM Exceptions:
|
|
310
|
+
==============================================================================
|
|
311
|
+
|
|
312
|
+
Apache License
|
|
313
|
+
Version 2.0, January 2004
|
|
314
|
+
http://www.apache.org/licenses/
|
|
315
|
+
|
|
316
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
317
|
+
|
|
318
|
+
1. Definitions.
|
|
319
|
+
|
|
320
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
321
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
322
|
+
|
|
323
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
324
|
+
the copyright owner that is granting the License.
|
|
325
|
+
|
|
326
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
327
|
+
other entities that control, are controlled by, or are under common
|
|
328
|
+
control with that entity. For the purposes of this definition,
|
|
329
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
330
|
+
direction or management of such entity, whether by contract or
|
|
331
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
332
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
333
|
+
|
|
334
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
335
|
+
exercising permissions granted by this License.
|
|
336
|
+
|
|
337
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
338
|
+
including but not limited to software source code, documentation
|
|
339
|
+
source, and configuration files.
|
|
340
|
+
|
|
341
|
+
"Object" form shall mean any form resulting from mechanical
|
|
342
|
+
transformation or translation of a Source form, including but
|
|
343
|
+
not limited to compiled object code, generated documentation,
|
|
344
|
+
and conversions to other media types.
|
|
345
|
+
|
|
346
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
347
|
+
Object form, made available under the License, as indicated by a
|
|
348
|
+
copyright notice that is included in or attached to the work
|
|
349
|
+
(an example is provided in the Appendix below).
|
|
350
|
+
|
|
351
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
352
|
+
form, that is based on (or derived from) the Work and for which the
|
|
353
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
354
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
355
|
+
of this License, Derivative Works shall not include works that remain
|
|
356
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
357
|
+
the Work and Derivative Works thereof.
|
|
358
|
+
|
|
359
|
+
"Contribution" shall mean any work of authorship, including
|
|
360
|
+
the original version of the Work and any modifications or additions
|
|
361
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
362
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
363
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
364
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
365
|
+
means any form of electronic, verbal, or written communication sent
|
|
366
|
+
to the Licensor or its representatives, including but not limited to
|
|
367
|
+
communication on electronic mailing lists, source code control systems,
|
|
368
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
369
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
370
|
+
excluding communication that is conspicuously marked or otherwise
|
|
371
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
372
|
+
|
|
373
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
374
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
375
|
+
subsequently incorporated within the Work.
|
|
376
|
+
|
|
377
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
378
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
379
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
380
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
381
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
382
|
+
Work and such Derivative Works in Source or Object form.
|
|
383
|
+
|
|
384
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
385
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
386
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
387
|
+
(except as stated in this section) patent license to make, have made,
|
|
388
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
389
|
+
where such license applies only to those patent claims licensable
|
|
390
|
+
by such Contributor that are necessarily infringed by their
|
|
391
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
392
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
393
|
+
institute patent litigation against any entity (including a
|
|
394
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
395
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
396
|
+
or contributory patent infringement, then any patent licenses
|
|
397
|
+
granted to You under this License for that Work shall terminate
|
|
398
|
+
as of the date such litigation is filed.
|
|
399
|
+
|
|
400
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
401
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
402
|
+
modifications, and in Source or Object form, provided that You
|
|
403
|
+
meet the following conditions:
|
|
404
|
+
|
|
405
|
+
(a) You must give any other recipients of the Work or
|
|
406
|
+
Derivative Works a copy of this License; and
|
|
407
|
+
|
|
408
|
+
(b) You must cause any modified files to carry prominent notices
|
|
409
|
+
stating that You changed the files; and
|
|
410
|
+
|
|
411
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
412
|
+
that You distribute, all copyright, patent, trademark, and
|
|
413
|
+
attribution notices from the Source form of the Work,
|
|
414
|
+
excluding those notices that do not pertain to any part of
|
|
415
|
+
the Derivative Works; and
|
|
416
|
+
|
|
417
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
418
|
+
distribution, then any Derivative Works that You distribute must
|
|
419
|
+
include a readable copy of the attribution notices contained
|
|
420
|
+
within such NOTICE file, excluding those notices that do not
|
|
421
|
+
pertain to any part of the Derivative Works, in at least one
|
|
422
|
+
of the following places: within a NOTICE text file distributed
|
|
423
|
+
as part of the Derivative Works; within the Source form or
|
|
424
|
+
documentation, if provided along with the Derivative Works; or,
|
|
425
|
+
within a display generated by the Derivative Works, if and
|
|
426
|
+
wherever such third-party notices normally appear. The contents
|
|
427
|
+
of the NOTICE file are for informational purposes only and
|
|
428
|
+
do not modify the License. You may add Your own attribution
|
|
429
|
+
notices within Derivative Works that You distribute, alongside
|
|
430
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
431
|
+
that such additional attribution notices cannot be construed
|
|
432
|
+
as modifying the License.
|
|
433
|
+
|
|
434
|
+
You may add Your own copyright statement to Your modifications and
|
|
435
|
+
may provide additional or different license terms and conditions
|
|
436
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
437
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
438
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
439
|
+
the conditions stated in this License.
|
|
440
|
+
|
|
441
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
442
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
443
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
444
|
+
this License, without any additional terms or conditions.
|
|
445
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
446
|
+
the terms of any separate license agreement you may have executed
|
|
447
|
+
with Licensor regarding such Contributions.
|
|
448
|
+
|
|
449
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
450
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
451
|
+
except as required for reasonable and customary use in describing the
|
|
452
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
453
|
+
|
|
454
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
455
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
456
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
457
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
458
|
+
implied, including, without limitation, any warranties or conditions
|
|
459
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
460
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
461
|
+
appropriateness of using or redistributing the Work and assume any
|
|
462
|
+
risks associated with Your exercise of permissions under this License.
|
|
463
|
+
|
|
464
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
465
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
466
|
+
unless required by applicable law (such as deliberate and grossly
|
|
467
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
468
|
+
liable to You for damages, including any direct, indirect, special,
|
|
469
|
+
incidental, or consequential damages of any character arising as a
|
|
470
|
+
result of this License or out of the use or inability to use the
|
|
471
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
472
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
473
|
+
other commercial damages or losses), even if such Contributor
|
|
474
|
+
has been advised of the possibility of such damages.
|
|
475
|
+
|
|
476
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
477
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
478
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
479
|
+
or other liability obligations and/or rights consistent with this
|
|
480
|
+
License. However, in accepting such obligations, You may act only
|
|
481
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
482
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
483
|
+
defend, and hold each Contributor harmless for any liability
|
|
484
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
485
|
+
of your accepting any such warranty or additional liability.
|
|
486
|
+
|
|
487
|
+
END OF TERMS AND CONDITIONS
|
|
488
|
+
|
|
489
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
490
|
+
|
|
491
|
+
To apply the Apache License to your work, attach the following
|
|
492
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
493
|
+
replaced with your own identifying information. (Don't include
|
|
494
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
495
|
+
comment syntax for the file format. We also recommend that a
|
|
496
|
+
file or class name and description of purpose be included on the
|
|
497
|
+
same "printed page" as the copyright notice for easier
|
|
498
|
+
identification within third-party archives.
|
|
499
|
+
|
|
500
|
+
Copyright [yyyy] [name of copyright owner]
|
|
501
|
+
|
|
502
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
503
|
+
you may not use this file except in compliance with the License.
|
|
504
|
+
You may obtain a copy of the License at
|
|
505
|
+
|
|
506
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
507
|
+
|
|
508
|
+
Unless required by applicable law or agreed to in writing, software
|
|
509
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
510
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
511
|
+
See the License for the specific language governing permissions and
|
|
512
|
+
limitations under the License.
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
---- LLVM Exceptions to the Apache 2.0 License ----
|
|
516
|
+
|
|
517
|
+
As an exception, if, as a result of your compiling your source code, portions
|
|
518
|
+
of this Software are embedded into an Object form of such source code, you
|
|
519
|
+
may redistribute such embedded portions in such Object form without complying
|
|
520
|
+
with the conditions of Sections 4(a), 4(b) and 4(d) of the License.
|
|
521
|
+
|
|
522
|
+
In addition, if you combine or link compiled forms of this Software with
|
|
523
|
+
software that is licensed under the GPLv2 ("Combined Software") and if a
|
|
524
|
+
court of competent jurisdiction determines that the patent provision (Section
|
|
525
|
+
3), the indemnity provision (Section 9) or other Section of the License
|
|
526
|
+
conflicts with the conditions of the GPLv2, you may retroactively and
|
|
527
|
+
prospectively choose to deem waived or otherwise exclude such Section(s) of
|
|
528
|
+
the License, but only in their entirety and only with respect to the Combined
|
|
529
|
+
Software.
|
|
530
|
+
|
|
531
|
+
==============================================================================
|
|
532
|
+
Software from third parties included in the LLVM Project:
|
|
533
|
+
==============================================================================
|
|
534
|
+
The LLVM Project contains third party software which is under different license
|
|
535
|
+
terms. All such code will be identified clearly using at least one of two
|
|
536
|
+
mechanisms:
|
|
537
|
+
1) It will be in a separate directory tree with its own `LICENSE.txt` or
|
|
538
|
+
`LICENSE` file at the top containing the specific license and restrictions
|
|
539
|
+
which apply to that software, or
|
|
540
|
+
2) It will contain specific license and restriction terms at the top of every
|
|
541
|
+
file.
|
|
542
|
+
|
|
543
|
+
==============================================================================
|
|
544
|
+
Legacy LLVM License (https://llvm.org/docs/DeveloperPolicy.html#legacy):
|
|
545
|
+
==============================================================================
|
|
546
|
+
|
|
547
|
+
The libc++ library is dual licensed under both the University of Illinois
|
|
548
|
+
"BSD-Like" license and the MIT license. As a user of this code you may choose
|
|
549
|
+
to use it under either license. As a contributor, you agree to allow your code
|
|
550
|
+
to be used under both.
|
|
551
|
+
|
|
552
|
+
Full text of the relevant licenses is included below.
|
|
553
|
+
|
|
554
|
+
==============================================================================
|
|
555
|
+
|
|
556
|
+
University of Illinois/NCSA
|
|
557
|
+
Open Source License
|
|
558
|
+
|
|
559
|
+
Copyright (c) 2009-2019 by the contributors listed in CREDITS.TXT
|
|
560
|
+
|
|
561
|
+
All rights reserved.
|
|
562
|
+
|
|
563
|
+
Developed by:
|
|
564
|
+
|
|
565
|
+
LLVM Team
|
|
566
|
+
|
|
567
|
+
University of Illinois at Urbana-Champaign
|
|
568
|
+
|
|
569
|
+
http://llvm.org
|
|
570
|
+
|
|
571
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
572
|
+
this software and associated documentation files (the "Software"), to deal with
|
|
573
|
+
the Software without restriction, including without limitation the rights to
|
|
574
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
575
|
+
of the Software, and to permit persons to whom the Software is furnished to do
|
|
576
|
+
so, subject to the following conditions:
|
|
577
|
+
|
|
578
|
+
* Redistributions of source code must retain the above copyright notice,
|
|
579
|
+
this list of conditions and the following disclaimers.
|
|
580
|
+
|
|
581
|
+
* Redistributions in binary form must reproduce the above copyright notice,
|
|
582
|
+
this list of conditions and the following disclaimers in the
|
|
583
|
+
documentation and/or other materials provided with the distribution.
|
|
584
|
+
|
|
585
|
+
* Neither the names of the LLVM Team, University of Illinois at
|
|
586
|
+
Urbana-Champaign, nor the names of its contributors may be used to
|
|
587
|
+
endorse or promote products derived from this Software without specific
|
|
588
|
+
prior written permission.
|
|
589
|
+
|
|
590
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
591
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
592
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
593
|
+
CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
594
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
595
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE
|
|
596
|
+
SOFTWARE.
|
|
597
|
+
|
|
598
|
+
==============================================================================
|
|
599
|
+
|
|
600
|
+
Copyright (c) 2009-2014 by the contributors listed in CREDITS.TXT
|
|
601
|
+
|
|
602
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
603
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
604
|
+
in the Software without restriction, including without limitation the rights
|
|
605
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
606
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
607
|
+
furnished to do so, subject to the following conditions:
|
|
608
|
+
|
|
609
|
+
The above copyright notice and this permission notice shall be included in
|
|
610
|
+
all copies or substantial portions of the Software.
|
|
611
|
+
|
|
612
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
613
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
614
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
615
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
616
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
617
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
618
|
+
THE SOFTWARE.
|
|
619
|
+
```
|
package/bin/unzip
CHANGED
|
@@ -2033,8 +2033,10 @@ async function createWasm() {
|
|
|
2033
2033
|
path = FS.cwd() + '/' + path;
|
|
2034
2034
|
}
|
|
2035
2035
|
|
|
2036
|
-
// limit max consecutive symlinks to 40 (SYMLOOP_MAX)
|
|
2037
|
-
|
|
2036
|
+
// limit max consecutive symlinks to 40 (SYMLOOP_MAX): pass 0 follows
|
|
2037
|
+
// none, so 40 follows take 41 passes and the 41st follow is ELOOP, as
|
|
2038
|
+
// on Linux (homescoop#461).
|
|
2039
|
+
linkloop: for (var nlinks = 0; nlinks <= 40; nlinks++) {
|
|
2038
2040
|
// split the absolute path
|
|
2039
2041
|
var parts = path.split('/').filter((p) => !!p);
|
|
2040
2042
|
|
|
@@ -5040,8 +5042,8 @@ var _slicc_raise = Module['_slicc_raise'] = makeInvalidEarlyAccess('_slicc_raise
|
|
|
5040
5042
|
var _slicc_sig_mask = Module['_slicc_sig_mask'] = makeInvalidEarlyAccess('_slicc_sig_mask');
|
|
5041
5043
|
var _slicc_cred_euid = Module['_slicc_cred_euid'] = makeInvalidEarlyAccess('_slicc_cred_euid');
|
|
5042
5044
|
var ___funcs_on_exit = makeInvalidEarlyAccess('___funcs_on_exit');
|
|
5043
|
-
var _emscripten_stack_get_end = makeInvalidEarlyAccess('_emscripten_stack_get_end');
|
|
5044
5045
|
var _emscripten_stack_get_base = makeInvalidEarlyAccess('_emscripten_stack_get_base');
|
|
5046
|
+
var _emscripten_stack_get_end = makeInvalidEarlyAccess('_emscripten_stack_get_end');
|
|
5045
5047
|
var _emscripten_stack_init = makeInvalidEarlyAccess('_emscripten_stack_init');
|
|
5046
5048
|
var _emscripten_stack_get_free = makeInvalidEarlyAccess('_emscripten_stack_get_free');
|
|
5047
5049
|
var __emscripten_stack_restore = makeInvalidEarlyAccess('__emscripten_stack_restore');
|
|
@@ -5061,8 +5063,8 @@ function assignWasmExports(wasmExports) {
|
|
|
5061
5063
|
assert(typeof wasmExports['slicc_sig_mask'] != 'undefined', 'missing Wasm export: slicc_sig_mask');
|
|
5062
5064
|
assert(typeof wasmExports['slicc_cred_euid'] != 'undefined', 'missing Wasm export: slicc_cred_euid');
|
|
5063
5065
|
assert(typeof wasmExports['__funcs_on_exit'] != 'undefined', 'missing Wasm export: __funcs_on_exit');
|
|
5064
|
-
assert(typeof wasmExports['emscripten_stack_get_end'] != 'undefined', 'missing Wasm export: emscripten_stack_get_end');
|
|
5065
5066
|
assert(typeof wasmExports['emscripten_stack_get_base'] != 'undefined', 'missing Wasm export: emscripten_stack_get_base');
|
|
5067
|
+
assert(typeof wasmExports['emscripten_stack_get_end'] != 'undefined', 'missing Wasm export: emscripten_stack_get_end');
|
|
5066
5068
|
assert(typeof wasmExports['emscripten_stack_init'] != 'undefined', 'missing Wasm export: emscripten_stack_init');
|
|
5067
5069
|
assert(typeof wasmExports['emscripten_stack_get_free'] != 'undefined', 'missing Wasm export: emscripten_stack_get_free');
|
|
5068
5070
|
assert(typeof wasmExports['_emscripten_stack_restore'] != 'undefined', 'missing Wasm export: _emscripten_stack_restore');
|
|
@@ -5078,8 +5080,8 @@ function assignWasmExports(wasmExports) {
|
|
|
5078
5080
|
_slicc_sig_mask = Module['_slicc_sig_mask'] = createExportWrapper('slicc_sig_mask', 1);
|
|
5079
5081
|
_slicc_cred_euid = Module['_slicc_cred_euid'] = createExportWrapper('slicc_cred_euid', 0);
|
|
5080
5082
|
___funcs_on_exit = createExportWrapper('__funcs_on_exit', 0);
|
|
5081
|
-
_emscripten_stack_get_end = wasmExports['emscripten_stack_get_end'];
|
|
5082
5083
|
_emscripten_stack_get_base = wasmExports['emscripten_stack_get_base'];
|
|
5084
|
+
_emscripten_stack_get_end = wasmExports['emscripten_stack_get_end'];
|
|
5083
5085
|
_emscripten_stack_init = wasmExports['emscripten_stack_init'];
|
|
5084
5086
|
_emscripten_stack_get_free = wasmExports['emscripten_stack_get_free'];
|
|
5085
5087
|
__emscripten_stack_restore = wasmExports['_emscripten_stack_restore'];
|
package/bin/unzip.wasm
CHANGED
|
Binary file
|
package/bin/zip
CHANGED
|
@@ -2034,8 +2034,10 @@ async function createWasm() {
|
|
|
2034
2034
|
path = FS.cwd() + '/' + path;
|
|
2035
2035
|
}
|
|
2036
2036
|
|
|
2037
|
-
// limit max consecutive symlinks to 40 (SYMLOOP_MAX)
|
|
2038
|
-
|
|
2037
|
+
// limit max consecutive symlinks to 40 (SYMLOOP_MAX): pass 0 follows
|
|
2038
|
+
// none, so 40 follows take 41 passes and the 41st follow is ELOOP, as
|
|
2039
|
+
// on Linux (homescoop#461).
|
|
2040
|
+
linkloop: for (var nlinks = 0; nlinks <= 40; nlinks++) {
|
|
2039
2041
|
// split the absolute path
|
|
2040
2042
|
var parts = path.split('/').filter((p) => !!p);
|
|
2041
2043
|
|
|
@@ -5330,10 +5332,10 @@ var _slicc_raise = Module['_slicc_raise'] = makeInvalidEarlyAccess('_slicc_raise
|
|
|
5330
5332
|
var _slicc_sig_mask = Module['_slicc_sig_mask'] = makeInvalidEarlyAccess('_slicc_sig_mask');
|
|
5331
5333
|
var _slicc_cred_euid = Module['_slicc_cred_euid'] = makeInvalidEarlyAccess('_slicc_cred_euid');
|
|
5332
5334
|
var ___funcs_on_exit = makeInvalidEarlyAccess('___funcs_on_exit');
|
|
5333
|
-
var _emscripten_stack_init = makeInvalidEarlyAccess('_emscripten_stack_init');
|
|
5334
|
-
var _emscripten_stack_get_free = makeInvalidEarlyAccess('_emscripten_stack_get_free');
|
|
5335
5335
|
var _emscripten_stack_get_base = makeInvalidEarlyAccess('_emscripten_stack_get_base');
|
|
5336
5336
|
var _emscripten_stack_get_end = makeInvalidEarlyAccess('_emscripten_stack_get_end');
|
|
5337
|
+
var _emscripten_stack_init = makeInvalidEarlyAccess('_emscripten_stack_init');
|
|
5338
|
+
var _emscripten_stack_get_free = makeInvalidEarlyAccess('_emscripten_stack_get_free');
|
|
5337
5339
|
var __emscripten_stack_restore = makeInvalidEarlyAccess('__emscripten_stack_restore');
|
|
5338
5340
|
var __emscripten_stack_alloc = makeInvalidEarlyAccess('__emscripten_stack_alloc');
|
|
5339
5341
|
var _emscripten_stack_get_current = makeInvalidEarlyAccess('_emscripten_stack_get_current');
|
|
@@ -5351,10 +5353,10 @@ function assignWasmExports(wasmExports) {
|
|
|
5351
5353
|
assert(typeof wasmExports['slicc_sig_mask'] != 'undefined', 'missing Wasm export: slicc_sig_mask');
|
|
5352
5354
|
assert(typeof wasmExports['slicc_cred_euid'] != 'undefined', 'missing Wasm export: slicc_cred_euid');
|
|
5353
5355
|
assert(typeof wasmExports['__funcs_on_exit'] != 'undefined', 'missing Wasm export: __funcs_on_exit');
|
|
5354
|
-
assert(typeof wasmExports['emscripten_stack_init'] != 'undefined', 'missing Wasm export: emscripten_stack_init');
|
|
5355
|
-
assert(typeof wasmExports['emscripten_stack_get_free'] != 'undefined', 'missing Wasm export: emscripten_stack_get_free');
|
|
5356
5356
|
assert(typeof wasmExports['emscripten_stack_get_base'] != 'undefined', 'missing Wasm export: emscripten_stack_get_base');
|
|
5357
5357
|
assert(typeof wasmExports['emscripten_stack_get_end'] != 'undefined', 'missing Wasm export: emscripten_stack_get_end');
|
|
5358
|
+
assert(typeof wasmExports['emscripten_stack_init'] != 'undefined', 'missing Wasm export: emscripten_stack_init');
|
|
5359
|
+
assert(typeof wasmExports['emscripten_stack_get_free'] != 'undefined', 'missing Wasm export: emscripten_stack_get_free');
|
|
5358
5360
|
assert(typeof wasmExports['_emscripten_stack_restore'] != 'undefined', 'missing Wasm export: _emscripten_stack_restore');
|
|
5359
5361
|
assert(typeof wasmExports['_emscripten_stack_alloc'] != 'undefined', 'missing Wasm export: _emscripten_stack_alloc');
|
|
5360
5362
|
assert(typeof wasmExports['emscripten_stack_get_current'] != 'undefined', 'missing Wasm export: emscripten_stack_get_current');
|
|
@@ -5368,10 +5370,10 @@ function assignWasmExports(wasmExports) {
|
|
|
5368
5370
|
_slicc_sig_mask = Module['_slicc_sig_mask'] = createExportWrapper('slicc_sig_mask', 1);
|
|
5369
5371
|
_slicc_cred_euid = Module['_slicc_cred_euid'] = createExportWrapper('slicc_cred_euid', 0);
|
|
5370
5372
|
___funcs_on_exit = createExportWrapper('__funcs_on_exit', 0);
|
|
5371
|
-
_emscripten_stack_init = wasmExports['emscripten_stack_init'];
|
|
5372
|
-
_emscripten_stack_get_free = wasmExports['emscripten_stack_get_free'];
|
|
5373
5373
|
_emscripten_stack_get_base = wasmExports['emscripten_stack_get_base'];
|
|
5374
5374
|
_emscripten_stack_get_end = wasmExports['emscripten_stack_get_end'];
|
|
5375
|
+
_emscripten_stack_init = wasmExports['emscripten_stack_init'];
|
|
5376
|
+
_emscripten_stack_get_free = wasmExports['emscripten_stack_get_free'];
|
|
5375
5377
|
__emscripten_stack_restore = wasmExports['_emscripten_stack_restore'];
|
|
5376
5378
|
__emscripten_stack_alloc = wasmExports['_emscripten_stack_alloc'];
|
|
5377
5379
|
_emscripten_stack_get_current = wasmExports['emscripten_stack_get_current'];
|
package/bin/zip.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/wasm-zip",
|
|
3
|
-
"version": "3.0.0-
|
|
3
|
+
"version": "3.0.0-5",
|
|
4
4
|
"description": "Info-ZIP zip 3.0 + unzip 6.0 for wasm / slicc (emscripten)",
|
|
5
5
|
"license": "Info-ZIP",
|
|
6
6
|
"repository": {
|
|
@@ -10,14 +10,15 @@
|
|
|
10
10
|
},
|
|
11
11
|
"homepage": "https://github.com/ai-ecoverse/homescoop/tree/main/packages/zip",
|
|
12
12
|
"keywords": ["wasm", "emscripten", "slicc", "homescoop", "zip", "unzip"],
|
|
13
|
-
"files": ["README.md", "LICENSE", "bin"],
|
|
13
|
+
"files": ["README.md", "LICENSE", "THIRD-PARTY-NOTICES.md", "bin"],
|
|
14
14
|
"publishConfig": { "access": "public" },
|
|
15
15
|
"homescoop": { "recipe": "zip", "upstream": "3.0" },
|
|
16
16
|
"slicc": {
|
|
17
17
|
"abi": "emscripten",
|
|
18
18
|
"commands": {
|
|
19
19
|
"zip": { "glue": "bin/zip", "wasm": "bin/zip.wasm" },
|
|
20
|
-
"unzip": { "glue": "bin/unzip", "wasm": "bin/unzip.wasm" }
|
|
20
|
+
"unzip": { "glue": "bin/unzip", "wasm": "bin/unzip.wasm" },
|
|
21
|
+
"zipinfo": { "glue": "bin/unzip", "wasm": "bin/unzip.wasm", "argv0": "zipinfo" }
|
|
21
22
|
}
|
|
22
23
|
}
|
|
23
24
|
}
|