@wasmedia/wimagemagick 0.2.0 → 0.3.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.
Files changed (43) hide show
  1. package/CHANGELOG.md +24 -1
  2. package/README.md +16 -1
  3. package/dist/cli.d.ts +16 -0
  4. package/dist/cli.d.ts.map +1 -1
  5. package/dist/cli.js +2 -2
  6. package/dist/cli.js.map +1 -1
  7. package/dist/files.d.ts +80 -0
  8. package/dist/files.d.ts.map +1 -0
  9. package/dist/files.js +142 -0
  10. package/dist/files.js.map +1 -0
  11. package/dist/index.d.ts +2 -0
  12. package/dist/index.d.ts.map +1 -1
  13. package/dist/index.js +2 -0
  14. package/dist/index.js.map +1 -1
  15. package/dist/licenses/README.txt +2 -2
  16. package/dist/licenses/aom-LICENSE.txt +1 -1
  17. package/dist/licenses/de265-LICENSE.txt +1 -1
  18. package/dist/licenses/ffi-LICENSE.txt +2 -2
  19. package/dist/licenses/heif-LICENSE.txt +1 -1
  20. package/dist/licenses/highway-LICENSE.txt +172 -2
  21. package/dist/licenses/jpeg-turbo-LICENSE.txt +46 -34
  22. package/dist/licenses/jpeg-xl-LICENSE.txt +1 -1
  23. package/dist/licenses/lcms-LICENSE.txt +1 -1
  24. package/dist/licenses/png-LICENSE.txt +1 -1
  25. package/dist/licenses/tiff-LICENSE.txt +1 -1
  26. package/dist/licenses/xml-LICENSE.txt +1 -1
  27. package/dist/licenses/zstd-LICENSE.txt +32 -0
  28. package/dist/loader.d.ts.map +1 -1
  29. package/dist/loader.js +2 -0
  30. package/dist/loader.js.map +1 -1
  31. package/dist/types.d.ts +2 -0
  32. package/dist/types.d.ts.map +1 -1
  33. package/dist/wimagemagick.js +2 -15
  34. package/dist/wimagemagick.wasm +0 -0
  35. package/dist/wopfs.d.ts +43 -0
  36. package/dist/wopfs.d.ts.map +1 -0
  37. package/dist/wopfs.js +40 -0
  38. package/dist/wopfs.js.map +1 -0
  39. package/dist/worker-handler.d.ts +1 -1
  40. package/dist/worker-handler.d.ts.map +1 -1
  41. package/dist/worker-handler.js +26 -0
  42. package/dist/worker-handler.js.map +1 -1
  43. package/package.json +7 -2
@@ -1,4 +1,17 @@
1
- [ highway 1.3.0 (2025-08-14) ]
1
+ [ highway 1.4.0 (2026-04-23) ]
2
+
3
+ This project is primarily dual-licensed under your choice of either the Apache
4
+ License 2.0 or the BSD 3-Clause License.
5
+
6
+ The following files are licensed under different terms:
7
+ * hwy/contrib/random/random-inl.h: CC0 1.0 Universal
8
+
9
+ The full texts of all applicable licenses are included below, separated by
10
+ '---'.
11
+
12
+ --------------------------------------------------------------------------------
13
+ Apache License 2.0
14
+ --------------------------------------------------------------------------------
2
15
 
3
16
  Apache License
4
17
  Version 2.0, January 2004
@@ -200,4 +213,161 @@
200
213
  distributed under the License is distributed on an "AS IS" BASIS,
201
214
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
202
215
  See the License for the specific language governing permissions and
203
- limitations under the License.
216
+ limitations under the License.
217
+
218
+ --------------------------------------------------------------------------------
219
+ BSD 3-Clause License
220
+ --------------------------------------------------------------------------------
221
+
222
+ Copyright (c) The Highway Project Authors. All rights reserved.
223
+
224
+ Redistribution and use in source and binary forms, with or without modification,
225
+ are permitted provided that the following conditions are met:
226
+
227
+ 1. Redistributions of source code must retain the above copyright notice, this
228
+ list of conditions and the following disclaimer.
229
+
230
+ 2. Redistributions in binary form must reproduce the above copyright notice,
231
+ this list of conditions and the following disclaimer in the documentation
232
+ and/or other materials provided with the distribution.
233
+
234
+ 3. Neither the name of the copyright holder nor the names of its
235
+ contributors may be used to endorse or promote products derived from
236
+ this software without specific prior written permission.
237
+
238
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
239
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
240
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
241
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
242
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
243
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
244
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
245
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
246
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
247
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
248
+
249
+ --------------------------------------------------------------------------------
250
+ CC0 1.0 Universal
251
+ --------------------------------------------------------------------------------
252
+
253
+ Creative Commons Legal Code
254
+
255
+ CC0 1.0 Universal
256
+
257
+ CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
258
+ LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
259
+ ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
260
+ INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
261
+ REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
262
+ PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
263
+ THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
264
+ HEREUNDER.
265
+
266
+ Statement of Purpose
267
+
268
+ The laws of most jurisdictions throughout the world automatically confer
269
+ exclusive Copyright and Related Rights (defined below) upon the creator
270
+ and subsequent owner(s) (each and all, an "owner") of an original work of
271
+ authorship and/or a database (each, a "Work").
272
+
273
+ Certain owners wish to permanently relinquish those rights to a Work for
274
+ the purpose of contributing to a commons of creative, cultural and
275
+ scientific works ("Commons") that the public can reliably and without fear
276
+ of later claims of infringement build upon, modify, incorporate in other
277
+ works, reuse and redistribute as freely as possible in any form whatsoever
278
+ and for any purposes, including without limitation commercial purposes.
279
+ These owners may contribute to the Commons to promote the ideal of a free
280
+ culture and the further production of creative, cultural and scientific
281
+ works, or to gain reputation or greater distribution for their Work in
282
+ part through the use and efforts of others.
283
+
284
+ For these and/or other purposes and motivations, and without any
285
+ expectation of additional consideration or compensation, the person
286
+ associating CC0 with a Work (the "Affirmer"), to the extent that he or she
287
+ is an owner of Copyright and Related Rights in the Work, voluntarily
288
+ elects to apply CC0 to the Work and publicly distribute the Work under its
289
+ terms, with knowledge of his or her Copyright and Related Rights in the
290
+ Work and the meaning and intended legal effect of CC0 on those rights.
291
+
292
+ 1. Copyright and Related Rights. A Work made available under CC0 may be
293
+ protected by copyright and related or neighboring rights ("Copyright and
294
+ Related Rights"). Copyright and Related Rights include, but are not
295
+ limited to, the following:
296
+
297
+ i. the right to reproduce, adapt, distribute, perform, display,
298
+ communicate, and translate a Work;
299
+ ii. moral rights retained by the original author(s) and/or performer(s);
300
+ iii. publicity and privacy rights pertaining to a person's image or
301
+ likeness depicted in a Work;
302
+ iv. rights protecting against unfair competition in regards to a Work,
303
+ subject to the limitations in paragraph 4(a), below;
304
+ v. rights protecting the extraction, dissemination, use and reuse of data
305
+ in a Work;
306
+ vi. database rights (such as those arising under Directive 96/9/EC of the
307
+ European Parliament and of the Council of 11 March 1996 on the legal
308
+ protection of databases, and under any national implementation
309
+ thereof, including any amended or successor version of such
310
+ directive); and
311
+ vii. other similar, equivalent or corresponding rights throughout the
312
+ world based on applicable law or treaty, and any national
313
+ implementations thereof.
314
+
315
+ 2. Waiver. To the greatest extent permitted by, but not in contravention
316
+ of, applicable law, Affirmer hereby overtly, fully, permanently,
317
+ irrevocably and unconditionally waives, abandons, and surrenders all of
318
+ Affirmer's Copyright and Related Rights and associated claims and causes
319
+ of action, whether now known or unknown (including existing as well as
320
+ future claims and causes of action), in the Work (i) in all territories
321
+ worldwide, (ii) for the maximum duration provided by applicable law or
322
+ treaty (including future time extensions), (iii) in any current or future
323
+ medium and for any number of copies, and (iv) for any purpose whatsoever,
324
+ including without limitation commercial, advertising or promotional
325
+ purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
326
+ member of the public at large and to the detriment of Affirmer's heirs and
327
+ successors, fully intending that such Waiver shall not be subject to
328
+ revocation, rescission, cancellation, termination, or any other legal or
329
+ equitable action to disrupt the quiet enjoyment of the Work by the public
330
+ as contemplated by Affirmer's express Statement of Purpose.
331
+
332
+ 3. Public License Fallback. Should any part of the Waiver for any reason
333
+ be judged legally invalid or ineffective under applicable law, then the
334
+ Waiver shall be preserved to the maximum extent permitted taking into
335
+ account Affirmer's express Statement of Purpose. In addition, to the
336
+ extent the Waiver is so judged Affirmer hereby grants to each affected
337
+ person a royalty-free, non transferable, non sublicensable, non exclusive,
338
+ irrevocable and unconditional license to exercise Affirmer's Copyright and
339
+ Related Rights in the Work (i) in all territories worldwide, (ii) for the
340
+ maximum duration provided by applicable law or treaty (including future
341
+ time extensions), (iii) in any current or future medium and for any number
342
+ of copies, and (iv) for any purpose whatsoever, including without
343
+ limitation commercial, advertising or promotional purposes (the
344
+ "License"). The License shall be deemed effective as of the date CC0 was
345
+ applied by Affirmer to the Work. Should any part of the License for any
346
+ reason be judged legally invalid or ineffective under applicable law, such
347
+ partial invalidity or ineffectiveness shall not invalidate the remainder
348
+ of the License, and in such case Affirmer hereby affirms that he or she
349
+ will not (i) exercise any of his or her remaining Copyright and Related
350
+ Rights in the Work or (ii) assert any associated claims and causes of
351
+ action with respect to the Work, in either case contrary to Affirmer's
352
+ express Statement of Purpose.
353
+
354
+ 4. Limitations and Disclaimers.
355
+
356
+ a. No trademark or patent rights held by Affirmer are waived, abandoned,
357
+ surrendered, licensed or otherwise affected by this document.
358
+ b. Affirmer offers the Work as-is and makes no representations or
359
+ warranties of any kind concerning the Work, express, implied,
360
+ statutory or otherwise, including without limitation warranties of
361
+ title, merchantability, fitness for a particular purpose, non
362
+ infringement, or the absence of latent or other defects, accuracy, or
363
+ the present or absence of errors, whether or not discoverable, all to
364
+ the greatest extent permissible under applicable law.
365
+ c. Affirmer disclaims responsibility for clearing rights of other persons
366
+ that may apply to the Work or any use thereof, including without
367
+ limitation any person's Copyright and Related Rights in the Work.
368
+ Further, Affirmer disclaims responsibility for obtaining any necessary
369
+ consents, permissions or other rights required for any use of the
370
+ Work.
371
+ d. Affirmer understands and acknowledges that Creative Commons is not a
372
+ party to this document and has no duty or obligation with respect to
373
+ this CC0 or use of the Work.
@@ -1,4 +1,4 @@
1
- [ jpeg-turbo 3.1.3 (2025-12-10) ]
1
+ [ jpeg-turbo 3.2.0 (2025-06-30) ]
2
2
 
3
3
  libjpeg-turbo Licenses
4
4
  ======================
@@ -10,18 +10,46 @@ libjpeg-turbo is covered by two compatible BSD-style open source licenses:
10
10
 
11
11
  This license applies to the libjpeg API library and associated programs,
12
12
  including any code inherited from libjpeg and any modifications to that
13
- code. Note that the libjpeg-turbo SIMD source code bears the
14
- [zlib License](https://opensource.org/licenses/Zlib), but in the context of
15
- the overall libjpeg API library, the terms of the zlib License are subsumed
16
- by the terms of the IJG License.
13
+ code.
17
14
 
18
15
  - The Modified (3-clause) BSD License, which is listed below
19
16
 
20
- This license applies to the TurboJPEG API library and associated programs, as
21
- well as the build system. Note that the TurboJPEG API library wraps the
22
- libjpeg API library, so in the context of the overall TurboJPEG API library,
23
- both the terms of the IJG License and the terms of the Modified (3-clause)
24
- BSD License apply.
17
+ This license applies to the TurboJPEG API library and associated programs,
18
+ [libspng](https://libspng.org) (which is used by cjpeg and djpeg), and the
19
+ build/test system.
20
+
21
+ * The TurboJPEG API library wraps the libjpeg API library, so in the context
22
+ of the overall TurboJPEG API library, both the terms of the IJG License and
23
+ the terms of the Modified (3-clause) BSD License apply.
24
+ * cjpeg and djpeg use libspng, so in the context of those programs, both the
25
+ terms of the IJG License and the terms of the Modified (3-clause) BSD
26
+ License apply.
27
+
28
+
29
+ Component Licenses
30
+ ==================
31
+
32
+ Some of libjpeg-turbo's modules and internal dependencies are covered by less
33
+ restrictive licenses, but in the context of libjpeg-turbo as a whole, the terms
34
+ of the less restrictive licenses are subsumed by either the IJG License or the
35
+ Modified BSD License. (In other words, the terms of the less restrictive
36
+ licenses are satisfied if the terms of the IJG and Modified BSD Licenses are
37
+ satisfied.)
38
+
39
+ - The libjpeg-turbo SIMD source code and zlib are covered by the
40
+ [zlib License](https://spdx.org/licenses/Zlib.html), which is subsumed by the
41
+ IJG License in the context of the cjpeg and djpeg programs and the libjpeg
42
+ API library.
43
+
44
+ - Some of the libspng source code is covered by the
45
+ [PNG Reference Library License v2](https://spdx.org/licenses/libpng-2.0.html),
46
+ which is subsumed by the IJG License in the context of the cjpeg and djpeg
47
+ programs and the TurboJPEG API library.
48
+
49
+ - Most of the libspng source code is covered by the
50
+ [Simplified (2-clause) BSD License](https://spdx.org/licenses/BSD-2-Clause.html),
51
+ which is subsumed by the Modified BSD License in the context of the cjpeg and
52
+ djpeg programs and the TurboJPEG API library.
25
53
 
26
54
 
27
55
  Complying with the libjpeg-turbo Licenses
@@ -40,7 +68,6 @@ intended solely for clarification.
40
68
  **Origin**
41
69
  - Clause 1 of the IJG License
42
70
  - Clause 1 of the Modified BSD License
43
- - Clauses 1 and 3 of the zlib License
44
71
 
45
72
  2. You must add your own copyright notice to the header of each source
46
73
  file you modified, so others can tell that you modified that file. (If
@@ -49,7 +76,6 @@ intended solely for clarification.
49
76
 
50
77
  **Origin**
51
78
  - Clause 1 of the IJG License
52
- - Clause 2 of the zlib License
53
79
 
54
80
  3. You must include the IJG README file, and you must not alter any of the
55
81
  copyright or license text in that file.
@@ -69,9 +95,9 @@ intended solely for clarification.
69
95
  **Origin**
70
96
  - Clause 2 of the IJG license
71
97
 
72
- 2. If your binary distribution includes or uses the TurboJPEG API, then
73
- your product documentation must include the text of the Modified BSD
74
- License (see below.)
98
+ 2. If your binary distribution includes or uses the TurboJPEG API or
99
+ associated programs, cjpeg, or djpeg, then your product documentation
100
+ must include the text of the Modified BSD License (see below.)
75
101
 
76
102
  **Origin**
77
103
  - Clause 2 of the Modified BSD License
@@ -83,21 +109,20 @@ intended solely for clarification.
83
109
  - IJG License
84
110
  - Clause 3 of the Modified BSD License
85
111
 
86
- 4. The IJG and The libjpeg-turbo Project do not warrant libjpeg-turbo to be
87
- free of defects, nor do we accept any liability for undesirable
88
- consequences resulting from your use of the software.
112
+ 4. The authors and distributors do not warrant libjpeg-turbo to be free of
113
+ defects, nor do we accept any liability for undesirable consequences
114
+ resulting from your use of the software.
89
115
 
90
116
  **Origin**
91
117
  - IJG License
92
118
  - Modified BSD License
93
- - zlib License
94
119
 
95
120
 
96
121
  The Modified (3-clause) BSD License
97
122
  ===================================
98
123
 
99
- Copyright (C)2009-2025 D. R. Commander. All Rights Reserved.<br>
100
- Copyright (C)2015 Viktor Szathmáry. All Rights Reserved.
124
+ Copyright (C) 2009-2026 D. R. Commander<br>
125
+ Copyright (C) 2018-2023 Randy <randy408@protonmail.com>
101
126
 
102
127
  Redistribution and use in source and binary forms, with or without
103
128
  modification, are permitted provided that the following conditions are met:
@@ -122,16 +147,3 @@ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
122
147
  CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
123
148
  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
124
149
  POSSIBILITY OF SUCH DAMAGE.
125
-
126
-
127
- Why Two Licenses?
128
- =================
129
-
130
- The zlib License could have been used instead of the Modified (3-clause) BSD
131
- License, and since the IJG License effectively subsumes the distribution
132
- conditions of the zlib License, this would have effectively placed
133
- libjpeg-turbo binary distributions under the IJG License. However, the IJG
134
- License specifically refers to the Independent JPEG Group and does not extend
135
- attribution and endorsement protections to other entities. Thus, it was
136
- desirable to choose a license that granted us the same protections for new code
137
- that were granted to the IJG for code derived from their software.
@@ -1,4 +1,4 @@
1
- [ jpeg-xl 0.11.2 (2026-02-10) ]
1
+ [ jpeg-xl 0.12.0 (2026-07-01) ]
2
2
 
3
3
  Copyright (c) the JPEG XL Project Authors.
4
4
  All rights reserved.
@@ -1,4 +1,4 @@
1
- [ lcms 2.18.0 (2026-01-09) ]
1
+ [ lcms 2.19.1 (2026-05-06) ]
2
2
 
3
3
  MIT License
4
4
 
@@ -1,4 +1,4 @@
1
- [ png 1.6.56 (2026-03-25) ]
1
+ [ png 1.6.58 (2026-04-15) ]
2
2
 
3
3
  COPYRIGHT NOTICE, DISCLAIMER, and LICENSE
4
4
  =========================================
@@ -1,4 +1,4 @@
1
- [ tiff 4.7.1 (2025-09-12) ]
1
+ [ tiff 4.7.2 (2026-06-26) ]
2
2
 
3
3
  # LibTIFF license
4
4
 
@@ -1,4 +1,4 @@
1
- [ xml 2.15.2 (2026-03-03) ]
1
+ [ xml 2.15.4 (2026-09-01) ]
2
2
 
3
3
  Except where otherwise noted in the source code (e.g. the files dict.c and
4
4
  list.c, which are covered by a similar licence but with different Copyright
@@ -0,0 +1,32 @@
1
+ [ zstd 1.5.7 (2025-02-19) ]
2
+
3
+ BSD License
4
+
5
+ For Zstandard software
6
+
7
+ Copyright (c) Meta Platforms, Inc. and affiliates. All rights reserved.
8
+
9
+ Redistribution and use in source and binary forms, with or without modification,
10
+ are permitted provided that the following conditions are met:
11
+
12
+ * Redistributions of source code must retain the above copyright notice, this
13
+ list of conditions and the following disclaimer.
14
+
15
+ * Redistributions in binary form must reproduce the above copyright notice,
16
+ this list of conditions and the following disclaimer in the documentation
17
+ and/or other materials provided with the distribution.
18
+
19
+ * Neither the name Facebook, nor Meta, nor the names of its contributors may
20
+ be used to endorse or promote products derived from this software without
21
+ specific prior written permission.
22
+
23
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
24
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
27
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
30
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -1 +1 @@
1
- {"version":3,"file":"loader.d.ts","sourceRoot":"","sources":["../src/loader.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAEV,mBAAmB,EACnB,oBAAoB,EACrB,MAAM,YAAY,CAAC;AAcpB;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAsB,gBAAgB,CACpC,OAAO,CAAC,EAAE,mBAAmB,GAC5B,OAAO,CAAC,oBAAoB,CAAC,CAyB/B"}
1
+ {"version":3,"file":"loader.d.ts","sourceRoot":"","sources":["../src/loader.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAEV,mBAAmB,EACnB,oBAAoB,EACrB,MAAM,YAAY,CAAC;AAepB;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAsB,gBAAgB,CACpC,OAAO,CAAC,EAAE,mBAAmB,GAC5B,OAAO,CAAC,oBAAoB,CAAC,CA2B/B"}
package/dist/loader.js CHANGED
@@ -4,6 +4,7 @@
4
4
  import { createBindings } from "./api.js";
5
5
  import { WMagickImage, setSharedModule } from "./image.js";
6
6
  import { execute, createOutputHooks } from "./cli.js";
7
+ import { executeFiles } from "./files.js";
7
8
  async function loadModule(modulePath) {
8
9
  const factory = await import(/* webpackIgnore: true */ modulePath);
9
10
  const init = factory.default ?? factory;
@@ -43,6 +44,7 @@ export async function initWImageMagick(options) {
43
44
  return {
44
45
  Image: WMagickImage,
45
46
  execute: boundExecute,
47
+ executeFiles: (command, inputs, options) => executeFiles(module, command, inputs, options),
46
48
  api: createBindings(module),
47
49
  module,
48
50
  };
@@ -1 +1 @@
1
- {"version":3,"file":"loader.js","sourceRoot":"","sources":["../src/loader.ts"],"names":[],"mappings":"AAAA;;GAEG;AAOH,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC3D,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAEtD,KAAK,UAAU,UAAU,CAAC,UAAkB;IAC1C,MAAM,OAAO,GAAG,MAAM,MAAM,CAAC,yBAAyB,CAAC,UAAU,CAAC,CAAC;IACnE,MAAM,IAAI,GAAG,OAAO,CAAC,OAAO,IAAI,OAAO,CAAC;IACxC,mEAAmE;IACnE,0EAA0E;IAC1E,MAAM,MAAM,GAAe,MAAM,IAAI,CAAC,EAAE,GAAG,iBAAiB,EAAE,EAAE,CAAC,CAAC;IAClE,OAAO,MAAM,CAAC;AAChB,CAAC;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,CAAC,KAAK,UAAU,gBAAgB,CACpC,OAA6B;IAE7B,OAAO,EAAE,UAAU,EAAE,CAAC,SAAS,CAAC,CAAC;IAEjC,MAAM,UAAU,GAAG,OAAO,EAAE,QAAQ;WAC/B,IAAI,GAAG,CAAC,yBAAyB,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC;IAE9D,MAAM,MAAM,G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AAU,GAAG,OAAO,EAAE,QAAQ;WAC/B,IAAI,GAAG,CAAC,yBAAyB,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC;IAE9D,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,UAAU,CAAC,CAAC;IAE5C,OAAO,EAAE,UAAU,EAAE,CAAC,cAAc,CAAC,CAAC;IAEtC,eAAe,CAAC,MAAM,CAAC,CAAC;IAExB,OAAO,EAAE,UAAU,EAAE,CAAC,OAAO,CAAC,CAAC;IAE/B,MAAM,YAAY,GAAG,CACnB,OAA0B,EAC1B,UAAkD,EAClD,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC;IAE1C,OAAO;QACL,KAAK,EAAE,YAAY;QACnB,OAAO,EAAE,YAAY;QACrB,YAAY,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,CACzC,YAAY,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC;QAChD,GAAG,EAAE,cAAc,CAAC,MAAM,CAAC;QAC3B,MAAM;KACP,CAAC;AACJ,CAAC"}
package/dist/types.d.ts CHANGED
@@ -156,6 +156,8 @@ export interface WImageMagickInstance {
156
156
  Image: typeof import("./image.js").WMagickImage;
157
157
  /** CLI-style command execution. */
158
158
  execute: BoundExecuteFn;
159
+ /** CLI-style execution over files, mounted through wopfs instead of copied. */
160
+ executeFiles: (command: string | string[], inputs: import("./files.js").FileInput[], options: import("./files.js").ExecuteFilesOptions) => Promise<import("./files.js").CLIFileResult>;
159
161
  /** Low-level MagickWand C API bindings. */
160
162
  api: ReturnType<typeof import("./api.js").createBindings>;
161
163
  /** Direct access to the Emscripten module. */
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,2DAA2D;AAC3D,MAAM,WAAW,UAAU;IAEzB,OAAO,C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