ipx 4.0.0-alpha.1 → 4.0.0-alpha.2

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 CHANGED
@@ -104,6 +104,8 @@ import {
104
104
  createIPXNodeHandler,
105
105
  } from "ipx";
106
106
 
107
+ import type { RequestHandler } from "express";
108
+
107
109
  const ipx = createIPX({
108
110
  storage: ipxFSStorage({ dir: "./public" }),
109
111
  httpStorage: ipxHttpStorage({ domains: ["picsum.photos"] }),
@@ -112,7 +114,7 @@ const ipx = createIPX({
112
114
 
113
115
  const app = Express();
114
116
 
115
- app.use("/ipx", createIPXNodeHandler(ipx));
117
+ app.use("/ipx", createIPXNodeHandler(ipx) as RequestHandler);
116
118
 
117
119
  // http://localhost:3000/ipx/w_512/picsum/1000
118
120
  app.listen(3000, () => {
@@ -0,0 +1,539 @@
1
+ # Licenses of Bundled Dependencies
2
+
3
+ The published artifact additionally contains code with the following licenses:
4
+ BSD-2-Clause, BSD-3-Clause, BlueOak-1.0.0, CC0-1.0, ISC, MIT
5
+
6
+ # Bundled Dependencies
7
+
8
+ ## @fastify/accept-negotiator
9
+
10
+ License: MIT
11
+ By: Aras Abbasi <aras.abbasi@gmail.com>, Matteo Collina, Manuel Spigolon, James Sumners, Frazer Smith
12
+ Repository: https://github.com/fastify/accept-negotiator
13
+
14
+ > The MIT License
15
+ >
16
+ > Copyright (c) 2022 The Fastify Team
17
+ >
18
+ > Permission is hereby granted, free of charge, to any person obtaining
19
+ > a copy of this software and associated documentation files (the
20
+ > 'Software'), to deal in the Software without restriction, including
21
+ > without limitation the rights to use, copy, modify, merge, publish,
22
+ > distribute, sublicense, and/or sell copies of the Software, and to
23
+ > permit persons to whom the Software is furnished to do so, subject to
24
+ > the following conditions:
25
+ >
26
+ > The above copyright notice and this permission notice shall be
27
+ > included in all copies or substantial portions of the Software.
28
+ >
29
+ > THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
30
+ > EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
31
+ > MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
32
+ > IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
33
+ > CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
34
+ > TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
35
+ > SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
36
+
37
+ ---------------------------------------
38
+
39
+ ## boolbase
40
+
41
+ License: ISC
42
+ By: Felix Boehm <me@feedic.com>
43
+ Repository: https://github.com/fb55/boolbase
44
+
45
+ ---------------------------------------
46
+
47
+ ## css-select, css-what, domelementtype, domhandler, domutils, entities, nth-check
48
+
49
+ License: BSD-2-Clause
50
+ By: Felix Boehm <me@feedic.com>
51
+ Repository: https://github.com/fb55/css-select
52
+
53
+ License: BSD-2-Clause
54
+ By: Felix Böhm <me@feedic.com> (http://feedic.com)
55
+ Repository: https://github.com/fb55/css-what
56
+
57
+ License: BSD-2-Clause
58
+ By: Felix Boehm <me@feedic.com>
59
+ Repository: https://github.com/fb55/domelementtype
60
+
61
+ License: BSD-2-Clause
62
+ By: Felix Boehm <me@feedic.com>
63
+ Repository: https://github.com/fb55/domhandler
64
+
65
+ License: BSD-2-Clause
66
+ By: Felix Boehm <me@feedic.com>
67
+ Repository: https://github.com/fb55/domutils
68
+
69
+ License: BSD-2-Clause
70
+ By: Felix Boehm <me@feedic.com>
71
+ Repository: https://github.com/fb55/entities
72
+
73
+ License: BSD-2-Clause
74
+ By: Felix Boehm <me@feedic.com>
75
+ Repository: https://github.com/fb55/nth-check
76
+
77
+ > Copyright (c) Felix Böhm
78
+ > All rights reserved.
79
+ >
80
+ > Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
81
+ >
82
+ > Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
83
+ >
84
+ > 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.
85
+ >
86
+ > 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,
87
+ > EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
88
+
89
+ ---------------------------------------
90
+
91
+ ## css-tree
92
+
93
+ License: MIT
94
+ By: Roman Dvornov <rdvornov@gmail.com> (https://github.com/lahmatiy)
95
+ Repository: https://github.com/csstree/csstree
96
+
97
+ > Copyright (C) 2016-2026 by Roman Dvornov
98
+ >
99
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
100
+ > of this software and associated documentation files (the "Software"), to deal
101
+ > in the Software without restriction, including without limitation the rights
102
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
103
+ > copies of the Software, and to permit persons to whom the Software is
104
+ > furnished to do so, subject to the following conditions:
105
+ >
106
+ > The above copyright notice and this permission notice shall be included in
107
+ > all copies or substantial portions of the Software.
108
+ >
109
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
110
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
111
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
112
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
113
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
114
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
115
+ > THE SOFTWARE.
116
+
117
+ ---------------------------------------
118
+
119
+ ## css-tree
120
+
121
+ License: MIT
122
+ By: Roman Dvornov <rdvornov@gmail.com> (https://github.com/lahmatiy)
123
+ Repository: https://github.com/csstree/csstree
124
+
125
+ > Copyright (C) 2016-2022 by Roman Dvornov
126
+ >
127
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
128
+ > of this software and associated documentation files (the "Software"), to deal
129
+ > in the Software without restriction, including without limitation the rights
130
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
131
+ > copies of the Software, and to permit persons to whom the Software is
132
+ > furnished to do so, subject to the following conditions:
133
+ >
134
+ > The above copyright notice and this permission notice shall be included in
135
+ > all copies or substantial portions of the Software.
136
+ >
137
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
138
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
139
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
140
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
141
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
142
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
143
+ > THE SOFTWARE.
144
+
145
+ ---------------------------------------
146
+
147
+ ## csso
148
+
149
+ License: MIT
150
+ By: Sergey Kryzhanovsky <skryzhanovsky@ya.ru> (https://github.com/afelix), Roman Dvornov
151
+ Repository: https://github.com/css/csso
152
+
153
+ > Copyright (C) 2015-2021 by Roman Dvornov
154
+ > Copyright (C) 2011-2015 by Sergey Kryzhanovsky
155
+ >
156
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
157
+ > of this software and associated documentation files (the "Software"), to deal
158
+ > in the Software without restriction, including without limitation the rights
159
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
160
+ > copies of the Software, and to permit persons to whom the Software is
161
+ > furnished to do so, subject to the following conditions:
162
+ >
163
+ > The above copyright notice and this permission notice shall be included in
164
+ > all copies or substantial portions of the Software.
165
+ >
166
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
167
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
168
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
169
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
170
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
171
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
172
+ > THE SOFTWARE.
173
+
174
+ ---------------------------------------
175
+
176
+ ## dom-serializer
177
+
178
+ License: MIT
179
+ By: Felix Boehm <me@feedic.com>
180
+ Repository: https://github.com/cheeriojs/dom-serializer
181
+
182
+ > License
183
+ >
184
+ > (The MIT License)
185
+ >
186
+ > Copyright (c) 2014 The cheeriojs contributors
187
+ >
188
+ > 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:
189
+ >
190
+ > The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
191
+ >
192
+ > 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.
193
+
194
+ ---------------------------------------
195
+
196
+ ## etag
197
+
198
+ License: MIT
199
+ By: Douglas Christopher Wilson <doug@somethingdoug.com>, David Björklund <david.bjorklund@gmail.com>
200
+ Repository: https://github.com/jshttp/etag
201
+
202
+ > (The MIT License)
203
+ >
204
+ > Copyright (c) 2014-2016 Douglas Christopher Wilson
205
+ >
206
+ > Permission is hereby granted, free of charge, to any person obtaining
207
+ > a copy of this software and associated documentation files (the
208
+ > 'Software'), to deal in the Software without restriction, including
209
+ > without limitation the rights to use, copy, modify, merge, publish,
210
+ > distribute, sublicense, and/or sell copies of the Software, and to
211
+ > permit persons to whom the Software is furnished to do so, subject to
212
+ > the following conditions:
213
+ >
214
+ > The above copyright notice and this permission notice shall be
215
+ > included in all copies or substantial portions of the Software.
216
+ >
217
+ > THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
218
+ > EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
219
+ > MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
220
+ > IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
221
+ > CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
222
+ > TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
223
+ > SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
224
+
225
+ ---------------------------------------
226
+
227
+ ## h3, rou3, ufo
228
+
229
+ License: MIT
230
+ Repositories: https://github.com/h3js/h3, https://github.com/h3js/rou3, https://github.com/unjs/ufo
231
+
232
+ > MIT License
233
+ >
234
+ > Copyright (c) Pooya Parsa <pooya@pi0.io>
235
+ >
236
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
237
+ > of this software and associated documentation files (the "Software"), to deal
238
+ > in the Software without restriction, including without limitation the rights
239
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
240
+ > copies of the Software, and to permit persons to whom the Software is
241
+ > furnished to do so, subject to the following conditions:
242
+ >
243
+ > The above copyright notice and this permission notice shall be included in all
244
+ > copies or substantial portions of the Software.
245
+ >
246
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
247
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
248
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
249
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
250
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
251
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
252
+ > SOFTWARE.
253
+
254
+ ---------------------------------------
255
+
256
+ ## image-meta
257
+
258
+ License: MIT
259
+ Repository: https://github.com/unjs/image-meta
260
+
261
+ > The MIT License (MIT)
262
+ >
263
+ > Copyright (c) Pooya Parsa <pooya@pi0.io>
264
+ >
265
+ > Based on https://github.com/image-size/image-size
266
+ > Copyright © Aditya Yadav, http://netroy.in
267
+ >
268
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
269
+ > of this software and associated documentation files (the "Software"), to deal
270
+ > in the Software without restriction, including without limitation the rights
271
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
272
+ > copies of the Software, and to permit persons to whom the Software is
273
+ > furnished to do so, subject to the following conditions:
274
+ >
275
+ > The above copyright notice and this permission notice shall be included in all
276
+ > copies or substantial portions of the Software.
277
+ >
278
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
279
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
280
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
281
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
282
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
283
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
284
+ > SOFTWARE.
285
+
286
+ ---------------------------------------
287
+
288
+ ## mdn-data, mdn-data
289
+
290
+ License: CC0-1.0
291
+ By: Mozilla Developer Network
292
+ Repositories: https://github.com/mdn/data, https://github.com/mdn/data
293
+
294
+ > CC0 1.0 Universal
295
+ >
296
+ > Statement of Purpose
297
+ >
298
+ > The laws of most jurisdictions throughout the world automatically confer
299
+ > exclusive Copyright and Related Rights (defined below) upon the creator and
300
+ > subsequent owner(s) (each and all, an "owner") of an original work of
301
+ > authorship and/or a database (each, a "Work").
302
+ >
303
+ > Certain owners wish to permanently relinquish those rights to a Work for the
304
+ > purpose of contributing to a commons of creative, cultural and scientific
305
+ > works ("Commons") that the public can reliably and without fear of later
306
+ > claims of infringement build upon, modify, incorporate in other works, reuse
307
+ > and redistribute as freely as possible in any form whatsoever and for any
308
+ > purposes, including without limitation commercial purposes. These owners may
309
+ > contribute to the Commons to promote the ideal of a free culture and the
310
+ > further production of creative, cultural and scientific works, or to gain
311
+ > reputation or greater distribution for their Work in part through the use and
312
+ > efforts of others.
313
+ >
314
+ > For these and/or other purposes and motivations, and without any expectation
315
+ > of additional consideration or compensation, the person associating CC0 with a
316
+ > Work (the "Affirmer"), to the extent that he or she is an owner of Copyright
317
+ > and Related Rights in the Work, voluntarily elects to apply CC0 to the Work
318
+ > and publicly distribute the Work under its terms, with knowledge of his or her
319
+ > Copyright and Related Rights in the Work and the meaning and intended legal
320
+ > effect of CC0 on those rights.
321
+ >
322
+ > 1. Copyright and Related Rights. A Work made available under CC0 may be
323
+ > protected by copyright and related or neighboring rights ("Copyright and
324
+ > Related Rights"). Copyright and Related Rights include, but are not limited
325
+ > to, the following:
326
+ >
327
+ > i. the right to reproduce, adapt, distribute, perform, display, communicate,
328
+ > and translate a Work;
329
+ >
330
+ > ii. moral rights retained by the original author(s) and/or performer(s);
331
+ >
332
+ > iii. publicity and privacy rights pertaining to a person's image or likeness
333
+ > depicted in a Work;
334
+ >
335
+ > iv. rights protecting against unfair competition in regards to a Work,
336
+ > subject to the limitations in paragraph 4(a), below;
337
+ >
338
+ > v. rights protecting the extraction, dissemination, use and reuse of data in
339
+ > a Work;
340
+ >
341
+ > vi. database rights (such as those arising under Directive 96/9/EC of the
342
+ > European Parliament and of the Council of 11 March 1996 on the legal
343
+ > protection of databases, and under any national implementation thereof,
344
+ > including any amended or successor version of such directive); and
345
+ >
346
+ > vii. other similar, equivalent or corresponding rights throughout the world
347
+ > based on applicable law or treaty, and any national implementations thereof.
348
+ >
349
+ > 2. Waiver. To the greatest extent permitted by, but not in contravention of,
350
+ > applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and
351
+ > unconditionally waives, abandons, and surrenders all of Affirmer's Copyright
352
+ > and Related Rights and associated claims and causes of action, whether now
353
+ > known or unknown (including existing as well as future claims and causes of
354
+ > action), in the Work (i) in all territories worldwide, (ii) for the maximum
355
+ > duration provided by applicable law or treaty (including future time
356
+ > extensions), (iii) in any current or future medium and for any number of
357
+ > copies, and (iv) for any purpose whatsoever, including without limitation
358
+ > commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes
359
+ > the Waiver for the benefit of each member of the public at large and to the
360
+ > detriment of Affirmer's heirs and successors, fully intending that such Waiver
361
+ > shall not be subject to revocation, rescission, cancellation, termination, or
362
+ > any other legal or equitable action to disrupt the quiet enjoyment of the Work
363
+ > by the public as contemplated by Affirmer's express Statement of Purpose.
364
+ >
365
+ > 3. Public License Fallback. Should any part of the Waiver for any reason be
366
+ > judged legally invalid or ineffective under applicable law, then the Waiver
367
+ > shall be preserved to the maximum extent permitted taking into account
368
+ > Affirmer's express Statement of Purpose. In addition, to the extent the Waiver
369
+ > is so judged Affirmer hereby grants to each affected person a royalty-free,
370
+ > non transferable, non sublicensable, non exclusive, irrevocable and
371
+ > unconditional license to exercise Affirmer's Copyright and Related Rights in
372
+ > the Work (i) in all territories worldwide, (ii) for the maximum duration
373
+ > provided by applicable law or treaty (including future time extensions), (iii)
374
+ > in any current or future medium and for any number of copies, and (iv) for any
375
+ > purpose whatsoever, including without limitation commercial, advertising or
376
+ > promotional purposes (the "License"). The License shall be deemed effective as
377
+ > of the date CC0 was applied by Affirmer to the Work. Should any part of the
378
+ > License for any reason be judged legally invalid or ineffective under
379
+ > applicable law, such partial invalidity or ineffectiveness shall not
380
+ > invalidate the remainder of the License, and in such case Affirmer hereby
381
+ > affirms that he or she will not (i) exercise any of his or her remaining
382
+ > Copyright and Related Rights in the Work or (ii) assert any associated claims
383
+ > and causes of action with respect to the Work, in either case contrary to
384
+ > Affirmer's express Statement of Purpose.
385
+ >
386
+ > 4. Limitations and Disclaimers.
387
+ >
388
+ > a. No trademark or patent rights held by Affirmer are waived, abandoned,
389
+ > surrendered, licensed or otherwise affected by this document.
390
+ >
391
+ > b. Affirmer offers the Work as-is and makes no representations or warranties
392
+ > of any kind concerning the Work, express, implied, statutory or otherwise,
393
+ > including without limitation warranties of title, merchantability, fitness
394
+ > for a particular purpose, non infringement, or the absence of latent or
395
+ > other defects, accuracy, or the present or absence of errors, whether or not
396
+ > discoverable, all to the greatest extent permissible under applicable law.
397
+ >
398
+ > c. Affirmer disclaims responsibility for clearing rights of other persons
399
+ > that may apply to the Work or any use thereof, including without limitation
400
+ > any person's Copyright and Related Rights in the Work. Further, Affirmer
401
+ > disclaims responsibility for obtaining any necessary consents, permissions
402
+ > or other rights required for any use of the Work.
403
+ >
404
+ > d. Affirmer understands and acknowledges that Creative Commons is not a
405
+ > party to this document and has no duty or obligation with respect to this
406
+ > CC0 or use of the Work.
407
+ >
408
+ > For more information, please see
409
+ > <http://creativecommons.org/publicdomain/zero/1.0/>
410
+
411
+ ---------------------------------------
412
+
413
+ ## sax
414
+
415
+ License: BlueOak-1.0.0
416
+ By: Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)
417
+ Repository: https://github.com/isaacs/sax-js
418
+
419
+ > # Blue Oak Model License
420
+ >
421
+ > Version 1.0.0
422
+ >
423
+ > ## Purpose
424
+ >
425
+ > This license gives everyone as much permission to work with
426
+ > this software as possible, while protecting contributors
427
+ > from liability.
428
+ >
429
+ > ## Acceptance
430
+ >
431
+ > In order to receive this license, you must agree to its
432
+ > rules. The rules of this license are both obligations
433
+ > under that agreement and conditions to your license.
434
+ > You must not do anything with this software that triggers
435
+ > a rule that you cannot or will not follow.
436
+ >
437
+ > ## Copyright
438
+ >
439
+ > Each contributor licenses you to do everything with this
440
+ > software that would otherwise infringe that contributor's
441
+ > copyright in it.
442
+ >
443
+ > ## Notices
444
+ >
445
+ > You must ensure that everyone who gets a copy of
446
+ > any part of this software from you, with or without
447
+ > changes, also gets the text of this license or a link to
448
+ > <https://blueoakcouncil.org/license/1.0.0>.
449
+ >
450
+ > ## Excuse
451
+ >
452
+ > If anyone notifies you in writing that you have not
453
+ > complied with [Notices](#notices), you can keep your
454
+ > license by taking all practical steps to comply within 30
455
+ > days after the notice. If you do not do so, your license
456
+ > ends immediately.
457
+ >
458
+ > ## Patent
459
+ >
460
+ > Each contributor licenses you to do everything with this
461
+ > software that would otherwise infringe any patent claims
462
+ > they can license or become able to license.
463
+ >
464
+ > ## Reliability
465
+ >
466
+ > No contributor can revoke this license.
467
+ >
468
+ > ## No Liability
469
+ >
470
+ > ***As far as the law allows, this software comes as is,
471
+ > without any warranty or condition, and no contributor
472
+ > will be liable to anyone for any damages related to this
473
+ > software or this license, under any kind of legal claim.***
474
+
475
+ ---------------------------------------
476
+
477
+ ## source-map-js
478
+
479
+ License: BSD-3-Clause
480
+ By: Valentin 7rulnik Semirulnik <v7rulnik@gmail.com>, Nick Fitzgerald <nfitzgerald@mozilla.com>, Tobias Koppers <tobias.koppers@googlemail.com>, Duncan Beevers <duncan@dweebd.com>, Stephen Crane <scrane@mozilla.com>, Ryan Seddon <seddon.ryan@gmail.com>, Miles Elam <miles.elam@deem.com>, Mihai Bazon <mihai.bazon@gmail.com>, Michael Ficarra <github.public.email@michael.ficarra.me>, Todd Wolfson <todd@twolfson.com>, Alexander Solovyov <alexander@solovyov.net>, Felix Gnass <fgnass@gmail.com>, Conrad Irwin <conrad.irwin@gmail.com>, usrbincc <usrbincc@yahoo.com>, David Glasser <glasser@davidglasser.net>, Chase Douglas <chase@newrelic.com>, Evan Wallace <evan.exe@gmail.com>, Heather Arthur <fayearthur@gmail.com>, Hugh Kennedy <hughskennedy@gmail.com>, Simon Lydell <simon.lydell@gmail.com>, Jmeas Smith <jellyes2@gmail.com>, Michael Z Goddard <mzgoddard@gmail.com>, azu <azu@users.noreply.github.com>, John Gozde <john@gozde.ca>, Adam Kirkton <akirkton@truefitinnovation.com>, Chris Montgomery <christopher.montgomery@dowjones.com>, J. Ryan Stinnett <jryans@gmail.com>, Jack Herrington <jherrington@walmartlabs.com>, Chris Truter <jeffpalentine@gmail.com>, Daniel Espeset <daniel@danielespeset.com>, Jamie Wong <jamie.lf.wong@gmail.com>, Eddy Bruël <ejpbruel@mozilla.com>, Hawken Rives <hawkrives@gmail.com>, Gilad Peleg <giladp007@gmail.com>, djchie <djchie.dev@gmail.com>, Gary Ye <garysye@gmail.com>, Nicolas Lalevée <nicolas.lalevee@hibnet.org>
481
+ Repository: https://github.com/7rulnik/source-map-js
482
+
483
+ > Copyright (c) 2009-2011, Mozilla Foundation and contributors
484
+ > All rights reserved.
485
+ >
486
+ > Redistribution and use in source and binary forms, with or without
487
+ > modification, are permitted provided that the following conditions are met:
488
+ >
489
+ > * Redistributions of source code must retain the above copyright notice, this
490
+ > list of conditions and the following disclaimer.
491
+ >
492
+ > * Redistributions in binary form must reproduce the above copyright notice,
493
+ > this list of conditions and the following disclaimer in the documentation
494
+ > and/or other materials provided with the distribution.
495
+ >
496
+ > * Neither the names of the Mozilla Foundation nor the names of project
497
+ > contributors may be used to endorse or promote products derived from this
498
+ > software without specific prior written permission.
499
+ >
500
+ > THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
501
+ > ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
502
+ > WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
503
+ > DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
504
+ > FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
505
+ > DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
506
+ > SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
507
+ > CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
508
+ > OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
509
+ > OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
510
+
511
+ ---------------------------------------
512
+
513
+ ## svgo
514
+
515
+ License: MIT
516
+ By: Kir Belevich, Sergey Belov, Lev Solntsev, Bogdan Chadkin, Seth Falco
517
+ Repository: https://github.com/svg/svgo
518
+
519
+ > MIT License
520
+ >
521
+ > Copyright (c) Kir Belevich
522
+ >
523
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
524
+ > of this software and associated documentation files (the "Software"), to deal
525
+ > in the Software without restriction, including without limitation the rights
526
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
527
+ > copies of the Software, and to permit persons to whom the Software is
528
+ > furnished to do so, subject to the following conditions:
529
+ >
530
+ > The above copyright notice and this permission notice shall be included in all
531
+ > copies or substantial portions of the Software.
532
+ >
533
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
534
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
535
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
536
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
537
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
538
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
539
+ > SOFTWARE.
@@ -1 +1,71 @@
1
- import{t as __commonJSMin}from"../../rolldown-runtime.mjs";var require_accept_negotiator=__commonJSMin(((e,t)=>{function n(e){if(!new.target)return new n(e);let{supportedValues:t=[],cache:r}=e&&typeof e==`object`&&e||{};this.supportedValues=t,this.cache=r}n.prototype.negotiate=function(e){return typeof e==`string`?this.cache?(this.cache.has(e)||this.cache.set(e,r(e,this.supportedValues)),this.cache.get(e)):r(e,this.supportedValues):null};function r(e,t){if(!e||!Array.isArray(t)||t.length===0)return null;if(e===`*`)return t[0];let n=null,r=1/0,a=0;function o(e,i){if(i===0||a>i)return!1;let o=e===`*`&&t[0]||e,s=t.indexOf(o);return s===-1?!1:s===0&&i===1?(n=o,!0):((a<i||r>s)&&(n=o,r=s,a=i),!1)}return i(e,o),n}function i(e,t){let n=``,r,i=0;for(let a=0,o=e.length;a<o;++a){let o=e[a];if(!(o===` `||o===` `)){if(o===`;`){i===1&&(i=2,r=``);continue}else if(o===`,`){if(i===1){if(t(n,1)){i=3;break}i=0,n=``}else if(i===2){if(t(n,parseFloat(r)||0)){i=3;break}i=0,n=``,r=``}continue}else if(i===2){if(o===`q`||o===`=`)continue;if(o===`.`||o===`1`||o===`0`||o===`2`||o===`3`||o===`4`||o===`5`||o===`6`||o===`7`||o===`8`||o===`9`){r+=o;continue}}else if(i===0){i=1,n+=o;continue}if(i===1){let t=e[a-1];(t===` `||t===` `)&&(n=``),n+=o;continue}if(t(n,parseFloat(r)||0)){i=3;break}i=0,n=o,r=``}}i===1?t(n,1):i===2&&t(n,parseFloat(r)||0)}t.exports=r,t.exports.default=r,t.exports.negotiate=r,t.exports.Negotiator=n}));export{require_accept_negotiator as t};
1
+ import { __commonJSMin as e } from "../../rolldown-runtime.mjs";
2
+ var t = e(((e, t) => {
3
+ function n(e) {
4
+ if (!new.target) return new n(e);
5
+ let { supportedValues: t = [], cache: r } = e && typeof e == `object` && e || {};
6
+ this.supportedValues = t, this.cache = r;
7
+ }
8
+ n.prototype.negotiate = function(e) {
9
+ return typeof e == `string` ? this.cache ? (this.cache.has(e) || this.cache.set(e, r(e, this.supportedValues)), this.cache.get(e)) : r(e, this.supportedValues) : null;
10
+ };
11
+ function r(e, t) {
12
+ if (!e || !Array.isArray(t) || t.length === 0) return null;
13
+ if (e === `*`) return t[0];
14
+ let n = null, r = Infinity, a = 0;
15
+ function o(e, i) {
16
+ if (i === 0 || a > i) return !1;
17
+ let o = e === `*` && t[0] || e, s = t.indexOf(o);
18
+ return s === -1 ? !1 : s === 0 && i === 1 ? (n = o, !0) : ((a < i || r > s) && (n = o, r = s, a = i), !1);
19
+ }
20
+ return i(e, o), n;
21
+ }
22
+ function i(e, t) {
23
+ let n = ``, r, i = 0;
24
+ for (let a = 0, o = e.length; a < o; ++a) {
25
+ let o = e[a];
26
+ if (!(o === ` ` || o === ` `)) {
27
+ if (o === `;`) {
28
+ i === 1 && (i = 2, r = ``);
29
+ continue;
30
+ } else if (o === `,`) {
31
+ if (i === 1) {
32
+ if (t(n, 1)) {
33
+ i = 3;
34
+ break;
35
+ }
36
+ i = 0, n = ``;
37
+ } else if (i === 2) {
38
+ if (t(n, parseFloat(r) || 0)) {
39
+ i = 3;
40
+ break;
41
+ }
42
+ i = 0, n = ``, r = ``;
43
+ }
44
+ continue;
45
+ } else if (i === 2) {
46
+ if (o === `q` || o === `=`) continue;
47
+ if (o === `.` || o === `1` || o === `0` || o === `2` || o === `3` || o === `4` || o === `5` || o === `6` || o === `7` || o === `8` || o === `9`) {
48
+ r += o;
49
+ continue;
50
+ }
51
+ } else if (i === 0) {
52
+ i = 1, n += o;
53
+ continue;
54
+ }
55
+ if (i === 1) {
56
+ let t = e[a - 1];
57
+ (t === ` ` || t === ` `) && (n = ``), n += o;
58
+ continue;
59
+ }
60
+ if (t(n, parseFloat(r) || 0)) {
61
+ i = 3;
62
+ break;
63
+ }
64
+ i = 0, n = o, r = ``;
65
+ }
66
+ }
67
+ i === 1 ? t(n, 1) : i === 2 && t(n, parseFloat(r) || 0);
68
+ }
69
+ t.exports = r, t.exports.default = r, t.exports.negotiate = r, t.exports.Negotiator = n;
70
+ }));
71
+ export { t as require_accept_negotiator };
@@ -1 +1,12 @@
1
- import{t as __commonJSMin}from"../rolldown-runtime.mjs";var require_boolbase=__commonJSMin(((e,t)=>{t.exports={trueFunc:function(){return!0},falseFunc:function(){return!1}}}));export{require_boolbase as t};
1
+ import { __commonJSMin as e } from "../rolldown-runtime.mjs";
2
+ var t = e(((e, t) => {
3
+ t.exports = {
4
+ trueFunc: function() {
5
+ return !0;
6
+ },
7
+ falseFunc: function() {
8
+ return !1;
9
+ }
10
+ };
11
+ }));
12
+ export { t as require_boolbase };