spec-cat 0.1.0 → 0.1.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.
Files changed (110) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/_nuxt/{Bqlz6CoK.js → BE_75kPa.js} +1 -1
  3. package/.output/public/_nuxt/{B2wdmh_w.js → BJ7m4fRW.js} +53 -53
  4. package/.output/public/_nuxt/{KNuzSjk0.js → CCNYUZ9m.js} +1 -1
  5. package/.output/public/_nuxt/{BvosqTnx.js → DGtcdWVl.js} +1 -1
  6. package/.output/public/_nuxt/DxEx-kFx.js +1 -0
  7. package/.output/public/_nuxt/{BwcbSlWF.js → DyMq_cQC.js} +2 -2
  8. package/.output/public/_nuxt/{COTT6rNZ.js → _cj5lOdZ.js} +1 -1
  9. package/.output/public/_nuxt/builds/latest.json +1 -1
  10. package/.output/public/_nuxt/builds/meta/3a0aacc1-0bd1-4d15-8b8a-3cee48cbfc69.json +1 -0
  11. package/.output/public/_nuxt/{BUOk7wkI.js → gDut6QrP.js} +1 -1
  12. package/.output/public/_nuxt/{C5wk2twv.js → nJpWpjzg.js} +1 -1
  13. package/.output/public/_nuxt/{DBab5Zcv.js → waQ9fPC1.js} +1 -1
  14. package/.output/server/chunks/_/codexProvider.mjs +64 -18
  15. package/.output/server/chunks/_/codexProvider.mjs.map +1 -1
  16. package/.output/server/chunks/build/client.precomputed.mjs +1 -1
  17. package/.output/server/chunks/build/client.precomputed.mjs.map +1 -1
  18. package/.output/server/chunks/nitro/nitro.mjs +702 -703
  19. package/.output/server/chunks/routes/_ws.mjs +37 -7
  20. package/.output/server/chunks/routes/_ws.mjs.map +1 -1
  21. package/.output/server/node_modules/@huggingface/jinja/dist/index.js +1572 -0
  22. package/.output/server/node_modules/@huggingface/jinja/package.json +55 -0
  23. package/.output/server/node_modules/@xenova/transformers/package.json +84 -0
  24. package/.output/server/node_modules/@xenova/transformers/src/backends/onnx.js +50 -0
  25. package/.output/server/node_modules/@xenova/transformers/src/configs.js +107 -0
  26. package/.output/server/node_modules/@xenova/transformers/src/env.js +128 -0
  27. package/.output/server/node_modules/@xenova/transformers/src/models.js +6267 -0
  28. package/.output/server/node_modules/@xenova/transformers/src/pipelines.js +3287 -0
  29. package/.output/server/node_modules/@xenova/transformers/src/processors.js +2248 -0
  30. package/.output/server/node_modules/@xenova/transformers/src/tokenizers.js +4479 -0
  31. package/.output/server/node_modules/@xenova/transformers/src/transformers.js +24 -0
  32. package/.output/server/node_modules/@xenova/transformers/src/utils/audio.js +672 -0
  33. package/.output/server/node_modules/@xenova/transformers/src/utils/core.js +175 -0
  34. package/.output/server/node_modules/@xenova/transformers/src/utils/data-structures.js +415 -0
  35. package/.output/server/node_modules/@xenova/transformers/src/utils/generation.js +873 -0
  36. package/.output/server/node_modules/@xenova/transformers/src/utils/hub.js +658 -0
  37. package/.output/server/node_modules/@xenova/transformers/src/utils/image.js +731 -0
  38. package/.output/server/node_modules/@xenova/transformers/src/utils/maths.js +985 -0
  39. package/.output/server/node_modules/@xenova/transformers/src/utils/tensor.js +1239 -0
  40. package/.output/server/node_modules/color/index.js +496 -0
  41. package/.output/server/node_modules/color/package.json +47 -0
  42. package/.output/server/node_modules/color-convert/conversions.js +839 -0
  43. package/.output/server/node_modules/color-convert/index.js +81 -0
  44. package/.output/server/node_modules/color-convert/package.json +48 -0
  45. package/.output/server/node_modules/color-convert/route.js +97 -0
  46. package/.output/server/node_modules/color-name/index.js +152 -0
  47. package/.output/server/node_modules/color-name/package.json +28 -0
  48. package/.output/server/node_modules/color-string/index.js +242 -0
  49. package/.output/server/node_modules/color-string/package.json +39 -0
  50. package/.output/server/node_modules/detect-libc/lib/detect-libc.js +313 -0
  51. package/.output/server/node_modules/detect-libc/lib/elf.js +39 -0
  52. package/.output/server/node_modules/detect-libc/lib/filesystem.js +51 -0
  53. package/.output/server/node_modules/detect-libc/lib/process.js +24 -0
  54. package/.output/server/node_modules/detect-libc/package.json +44 -0
  55. package/.output/server/node_modules/is-arrayish/index.js +9 -0
  56. package/.output/server/node_modules/is-arrayish/package.json +45 -0
  57. package/.output/server/node_modules/onnxruntime-common/dist/ort-common.node.js +7 -0
  58. package/.output/server/node_modules/onnxruntime-common/package.json +31 -0
  59. package/.output/server/node_modules/onnxruntime-node/bin/napi-v3/darwin/arm64/onnxruntime_binding.node +0 -0
  60. package/.output/server/node_modules/onnxruntime-node/bin/napi-v3/darwin/x64/onnxruntime_binding.node +0 -0
  61. package/.output/server/node_modules/onnxruntime-node/bin/napi-v3/linux/arm64/libonnxruntime.so.1.14.0 +0 -0
  62. package/.output/server/node_modules/onnxruntime-node/bin/napi-v3/linux/arm64/onnxruntime_binding.node +0 -0
  63. package/.output/server/node_modules/onnxruntime-node/bin/napi-v3/linux/x64/libonnxruntime.so.1.14.0 +0 -0
  64. package/.output/server/node_modules/onnxruntime-node/bin/napi-v3/linux/x64/onnxruntime_binding.node +0 -0
  65. package/.output/server/node_modules/onnxruntime-node/bin/napi-v3/win32/arm64/onnxruntime_binding.node +0 -0
  66. package/.output/server/node_modules/onnxruntime-node/bin/napi-v3/win32/x64/onnxruntime_binding.node +0 -0
  67. package/.output/server/node_modules/onnxruntime-node/dist/backend.js +75 -0
  68. package/.output/server/node_modules/onnxruntime-node/dist/binding.js +10 -0
  69. package/.output/server/node_modules/onnxruntime-node/dist/index.js +23 -0
  70. package/.output/server/node_modules/onnxruntime-node/package.json +58 -0
  71. package/.output/server/node_modules/onnxruntime-web/dist/ort-web.node.js +7 -0
  72. package/.output/server/node_modules/onnxruntime-web/package.json +84 -0
  73. package/.output/server/node_modules/semver/classes/semver.js +333 -0
  74. package/.output/server/node_modules/semver/functions/coerce.js +62 -0
  75. package/.output/server/node_modules/semver/functions/compare.js +7 -0
  76. package/.output/server/node_modules/semver/functions/gte.js +5 -0
  77. package/.output/server/node_modules/semver/functions/parse.js +18 -0
  78. package/.output/server/node_modules/semver/internal/constants.js +37 -0
  79. package/.output/server/node_modules/semver/internal/debug.js +11 -0
  80. package/.output/server/node_modules/semver/internal/identifiers.js +29 -0
  81. package/.output/server/node_modules/semver/internal/parse-options.js +17 -0
  82. package/.output/server/node_modules/semver/internal/re.js +223 -0
  83. package/.output/server/node_modules/semver/package.json +78 -0
  84. package/.output/server/node_modules/sharp/build/Release/sharp-linux-x64.node +0 -0
  85. package/.output/server/node_modules/sharp/lib/channel.js +174 -0
  86. package/.output/server/node_modules/sharp/lib/colour.js +184 -0
  87. package/.output/server/node_modules/sharp/lib/composite.js +210 -0
  88. package/.output/server/node_modules/sharp/lib/constructor.js +439 -0
  89. package/.output/server/node_modules/sharp/lib/index.js +16 -0
  90. package/.output/server/node_modules/sharp/lib/input.js +631 -0
  91. package/.output/server/node_modules/sharp/lib/is.js +155 -0
  92. package/.output/server/node_modules/sharp/lib/libvips.js +140 -0
  93. package/.output/server/node_modules/sharp/lib/operation.js +919 -0
  94. package/.output/server/node_modules/sharp/lib/output.js +1413 -0
  95. package/.output/server/node_modules/sharp/lib/platform.js +30 -0
  96. package/.output/server/node_modules/sharp/lib/resize.js +582 -0
  97. package/.output/server/node_modules/sharp/lib/sharp.js +38 -0
  98. package/.output/server/node_modules/sharp/lib/utility.js +287 -0
  99. package/.output/server/node_modules/sharp/package.json +204 -0
  100. package/.output/server/node_modules/sharp/vendor/8.14.5/linux-x64/THIRD-PARTY-NOTICES.md +43 -0
  101. package/.output/server/node_modules/sharp/vendor/8.14.5/linux-x64/lib/libvips-cpp.so.42 +0 -0
  102. package/.output/server/node_modules/sharp/vendor/8.14.5/linux-x64/platform.json +1 -0
  103. package/.output/server/node_modules/sharp/vendor/8.14.5/linux-x64/versions.json +31 -0
  104. package/.output/server/node_modules/simple-swizzle/index.js +29 -0
  105. package/.output/server/node_modules/simple-swizzle/package.json +36 -0
  106. package/.output/server/package.json +15 -1
  107. package/README.md +2 -0
  108. package/package.json +12 -19
  109. package/.output/public/_nuxt/5FxpIoe_.js +0 -1
  110. package/.output/public/_nuxt/builds/meta/21578a05-1b7e-4847-a8ff-7480800ea4a6.json +0 -1
@@ -0,0 +1,287 @@
1
+ // Copyright 2013 Lovell Fuller and others.
2
+ // SPDX-License-Identifier: Apache-2.0
3
+
4
+ 'use strict';
5
+
6
+ const fs = require('fs');
7
+ const path = require('path');
8
+ const events = require('events');
9
+ const detectLibc = require('detect-libc');
10
+
11
+ const is = require('./is');
12
+ const platformAndArch = require('./platform')();
13
+ const sharp = require('./sharp');
14
+
15
+ /**
16
+ * An Object containing nested boolean values representing the available input and output formats/methods.
17
+ * @member
18
+ * @example
19
+ * console.log(sharp.format);
20
+ * @returns {Object}
21
+ */
22
+ const format = sharp.format();
23
+ format.heif.output.alias = ['avif', 'heic'];
24
+ format.jpeg.output.alias = ['jpe', 'jpg'];
25
+ format.tiff.output.alias = ['tif'];
26
+ format.jp2k.output.alias = ['j2c', 'j2k', 'jp2', 'jpx'];
27
+
28
+ /**
29
+ * An Object containing the available interpolators and their proper values
30
+ * @readonly
31
+ * @enum {string}
32
+ */
33
+ const interpolators = {
34
+ /** [Nearest neighbour interpolation](http://en.wikipedia.org/wiki/Nearest-neighbor_interpolation). Suitable for image enlargement only. */
35
+ nearest: 'nearest',
36
+ /** [Bilinear interpolation](http://en.wikipedia.org/wiki/Bilinear_interpolation). Faster than bicubic but with less smooth results. */
37
+ bilinear: 'bilinear',
38
+ /** [Bicubic interpolation](http://en.wikipedia.org/wiki/Bicubic_interpolation) (the default). */
39
+ bicubic: 'bicubic',
40
+ /** [LBB interpolation](https://github.com/libvips/libvips/blob/master/libvips/resample/lbb.cpp#L100). Prevents some "[acutance](http://en.wikipedia.org/wiki/Acutance)" but typically reduces performance by a factor of 2. */
41
+ locallyBoundedBicubic: 'lbb',
42
+ /** [Nohalo interpolation](http://eprints.soton.ac.uk/268086/). Prevents acutance but typically reduces performance by a factor of 3. */
43
+ nohalo: 'nohalo',
44
+ /** [VSQBS interpolation](https://github.com/libvips/libvips/blob/master/libvips/resample/vsqbs.cpp#L48). Prevents "staircasing" when enlarging. */
45
+ vertexSplitQuadraticBasisSpline: 'vsqbs'
46
+ };
47
+
48
+ /**
49
+ * An Object containing the version numbers of sharp, libvips and its dependencies.
50
+ * @member
51
+ * @example
52
+ * console.log(sharp.versions);
53
+ */
54
+ let versions = {
55
+ vips: sharp.libvipsVersion()
56
+ };
57
+ try {
58
+ versions = require(`../vendor/${versions.vips}/${platformAndArch}/versions.json`);
59
+ } catch (_err) { /* ignore */ }
60
+ versions.sharp = require('../package.json').version;
61
+
62
+ /**
63
+ * An Object containing the platform and architecture
64
+ * of the current and installed vendored binaries.
65
+ * @member
66
+ * @example
67
+ * console.log(sharp.vendor);
68
+ */
69
+ const vendor = {
70
+ current: platformAndArch,
71
+ installed: []
72
+ };
73
+ try {
74
+ vendor.installed = fs.readdirSync(path.join(__dirname, `../vendor/${versions.vips}`));
75
+ } catch (_err) { /* ignore */ }
76
+
77
+ /**
78
+ * Gets or, when options are provided, sets the limits of _libvips'_ operation cache.
79
+ * Existing entries in the cache will be trimmed after any change in limits.
80
+ * This method always returns cache statistics,
81
+ * useful for determining how much working memory is required for a particular task.
82
+ *
83
+ * @example
84
+ * const stats = sharp.cache();
85
+ * @example
86
+ * sharp.cache( { items: 200 } );
87
+ * sharp.cache( { files: 0 } );
88
+ * sharp.cache(false);
89
+ *
90
+ * @param {Object|boolean} [options=true] - Object with the following attributes, or boolean where true uses default cache settings and false removes all caching
91
+ * @param {number} [options.memory=50] - is the maximum memory in MB to use for this cache
92
+ * @param {number} [options.files=20] - is the maximum number of files to hold open
93
+ * @param {number} [options.items=100] - is the maximum number of operations to cache
94
+ * @returns {Object}
95
+ */
96
+ function cache (options) {
97
+ if (is.bool(options)) {
98
+ if (options) {
99
+ // Default cache settings of 50MB, 20 files, 100 items
100
+ return sharp.cache(50, 20, 100);
101
+ } else {
102
+ return sharp.cache(0, 0, 0);
103
+ }
104
+ } else if (is.object(options)) {
105
+ return sharp.cache(options.memory, options.files, options.items);
106
+ } else {
107
+ return sharp.cache();
108
+ }
109
+ }
110
+ cache(true);
111
+
112
+ /**
113
+ * Gets or, when a concurrency is provided, sets
114
+ * the maximum number of threads _libvips_ should use to process _each image_.
115
+ * These are from a thread pool managed by glib,
116
+ * which helps avoid the overhead of creating new threads.
117
+ *
118
+ * This method always returns the current concurrency.
119
+ *
120
+ * The default value is the number of CPU cores,
121
+ * except when using glibc-based Linux without jemalloc,
122
+ * where the default is `1` to help reduce memory fragmentation.
123
+ *
124
+ * A value of `0` will reset this to the number of CPU cores.
125
+ *
126
+ * Some image format libraries spawn additional threads,
127
+ * e.g. libaom manages its own 4 threads when encoding AVIF images,
128
+ * and these are independent of the value set here.
129
+ *
130
+ * The maximum number of images that sharp can process in parallel
131
+ * is controlled by libuv's `UV_THREADPOOL_SIZE` environment variable,
132
+ * which defaults to 4.
133
+ *
134
+ * https://nodejs.org/api/cli.html#uv_threadpool_sizesize
135
+ *
136
+ * For example, by default, a machine with 8 CPU cores will process
137
+ * 4 images in parallel and use up to 8 threads per image,
138
+ * so there will be up to 32 concurrent threads.
139
+ *
140
+ * @example
141
+ * const threads = sharp.concurrency(); // 4
142
+ * sharp.concurrency(2); // 2
143
+ * sharp.concurrency(0); // 4
144
+ *
145
+ * @param {number} [concurrency]
146
+ * @returns {number} concurrency
147
+ */
148
+ function concurrency (concurrency) {
149
+ return sharp.concurrency(is.integer(concurrency) ? concurrency : null);
150
+ }
151
+ /* istanbul ignore next */
152
+ if (detectLibc.familySync() === detectLibc.GLIBC && !sharp._isUsingJemalloc()) {
153
+ // Reduce default concurrency to 1 when using glibc memory allocator
154
+ sharp.concurrency(1);
155
+ }
156
+
157
+ /**
158
+ * An EventEmitter that emits a `change` event when a task is either:
159
+ * - queued, waiting for _libuv_ to provide a worker thread
160
+ * - complete
161
+ * @member
162
+ * @example
163
+ * sharp.queue.on('change', function(queueLength) {
164
+ * console.log('Queue contains ' + queueLength + ' task(s)');
165
+ * });
166
+ */
167
+ const queue = new events.EventEmitter();
168
+
169
+ /**
170
+ * Provides access to internal task counters.
171
+ * - queue is the number of tasks this module has queued waiting for _libuv_ to provide a worker thread from its pool.
172
+ * - process is the number of resize tasks currently being processed.
173
+ *
174
+ * @example
175
+ * const counters = sharp.counters(); // { queue: 2, process: 4 }
176
+ *
177
+ * @returns {Object}
178
+ */
179
+ function counters () {
180
+ return sharp.counters();
181
+ }
182
+
183
+ /**
184
+ * Get and set use of SIMD vector unit instructions.
185
+ * Requires libvips to have been compiled with liborc support.
186
+ *
187
+ * Improves the performance of `resize`, `blur` and `sharpen` operations
188
+ * by taking advantage of the SIMD vector unit of the CPU, e.g. Intel SSE and ARM NEON.
189
+ *
190
+ * @example
191
+ * const simd = sharp.simd();
192
+ * // simd is `true` if the runtime use of liborc is currently enabled
193
+ * @example
194
+ * const simd = sharp.simd(false);
195
+ * // prevent libvips from using liborc at runtime
196
+ *
197
+ * @param {boolean} [simd=true]
198
+ * @returns {boolean}
199
+ */
200
+ function simd (simd) {
201
+ return sharp.simd(is.bool(simd) ? simd : null);
202
+ }
203
+ simd(true);
204
+
205
+ /**
206
+ * Block libvips operations at runtime.
207
+ *
208
+ * This is in addition to the `VIPS_BLOCK_UNTRUSTED` environment variable,
209
+ * which when set will block all "untrusted" operations.
210
+ *
211
+ * @since 0.32.4
212
+ *
213
+ * @example <caption>Block all TIFF input.</caption>
214
+ * sharp.block({
215
+ * operation: ['VipsForeignLoadTiff']
216
+ * });
217
+ *
218
+ * @param {Object} options
219
+ * @param {Array<string>} options.operation - List of libvips low-level operation names to block.
220
+ */
221
+ function block (options) {
222
+ if (is.object(options)) {
223
+ if (Array.isArray(options.operation) && options.operation.every(is.string)) {
224
+ sharp.block(options.operation, true);
225
+ } else {
226
+ throw is.invalidParameterError('operation', 'Array<string>', options.operation);
227
+ }
228
+ } else {
229
+ throw is.invalidParameterError('options', 'object', options);
230
+ }
231
+ }
232
+
233
+ /**
234
+ * Unblock libvips operations at runtime.
235
+ *
236
+ * This is useful for defining a list of allowed operations.
237
+ *
238
+ * @since 0.32.4
239
+ *
240
+ * @example <caption>Block all input except WebP from the filesystem.</caption>
241
+ * sharp.block({
242
+ * operation: ['VipsForeignLoad']
243
+ * });
244
+ * sharp.unblock({
245
+ * operation: ['VipsForeignLoadWebpFile']
246
+ * });
247
+ *
248
+ * @example <caption>Block all input except JPEG and PNG from a Buffer or Stream.</caption>
249
+ * sharp.block({
250
+ * operation: ['VipsForeignLoad']
251
+ * });
252
+ * sharp.unblock({
253
+ * operation: ['VipsForeignLoadJpegBuffer', 'VipsForeignLoadPngBuffer']
254
+ * });
255
+ *
256
+ * @param {Object} options
257
+ * @param {Array<string>} options.operation - List of libvips low-level operation names to unblock.
258
+ */
259
+ function unblock (options) {
260
+ if (is.object(options)) {
261
+ if (Array.isArray(options.operation) && options.operation.every(is.string)) {
262
+ sharp.block(options.operation, false);
263
+ } else {
264
+ throw is.invalidParameterError('operation', 'Array<string>', options.operation);
265
+ }
266
+ } else {
267
+ throw is.invalidParameterError('options', 'object', options);
268
+ }
269
+ }
270
+
271
+ /**
272
+ * Decorate the Sharp class with utility-related functions.
273
+ * @private
274
+ */
275
+ module.exports = function (Sharp) {
276
+ Sharp.cache = cache;
277
+ Sharp.concurrency = concurrency;
278
+ Sharp.counters = counters;
279
+ Sharp.simd = simd;
280
+ Sharp.format = format;
281
+ Sharp.interpolators = interpolators;
282
+ Sharp.versions = versions;
283
+ Sharp.vendor = vendor;
284
+ Sharp.queue = queue;
285
+ Sharp.block = block;
286
+ Sharp.unblock = unblock;
287
+ };
@@ -0,0 +1,204 @@
1
+ {
2
+ "name": "sharp",
3
+ "description": "High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, GIF, AVIF and TIFF images",
4
+ "version": "0.32.6",
5
+ "author": "Lovell Fuller <npm@lovell.info>",
6
+ "homepage": "https://github.com/lovell/sharp",
7
+ "contributors": [
8
+ "Pierre Inglebert <pierre.inglebert@gmail.com>",
9
+ "Jonathan Ong <jonathanrichardong@gmail.com>",
10
+ "Chanon Sajjamanochai <chanon.s@gmail.com>",
11
+ "Juliano Julio <julianojulio@gmail.com>",
12
+ "Daniel Gasienica <daniel@gasienica.ch>",
13
+ "Julian Walker <julian@fiftythree.com>",
14
+ "Amit Pitaru <pitaru.amit@gmail.com>",
15
+ "Brandon Aaron <hello.brandon@aaron.sh>",
16
+ "Andreas Lind <andreas@one.com>",
17
+ "Maurus Cuelenaere <mcuelenaere@gmail.com>",
18
+ "Linus Unnebäck <linus@folkdatorn.se>",
19
+ "Victor Mateevitsi <mvictoras@gmail.com>",
20
+ "Alaric Holloway <alaric.holloway@gmail.com>",
21
+ "Bernhard K. Weisshuhn <bkw@codingforce.com>",
22
+ "Chris Riley <criley@primedia.com>",
23
+ "David Carley <dacarley@gmail.com>",
24
+ "John Tobin <john@limelightmobileinc.com>",
25
+ "Kenton Gray <kentongray@gmail.com>",
26
+ "Felix Bünemann <Felix.Buenemann@gmail.com>",
27
+ "Samy Al Zahrani <samyalzahrany@gmail.com>",
28
+ "Chintan Thakkar <lemnisk8@gmail.com>",
29
+ "F. Orlando Galashan <frulo@gmx.de>",
30
+ "Kleis Auke Wolthuizen <info@kleisauke.nl>",
31
+ "Matt Hirsch <mhirsch@media.mit.edu>",
32
+ "Matthias Thoemmes <thoemmes@gmail.com>",
33
+ "Patrick Paskaris <patrick@paskaris.gr>",
34
+ "Jérémy Lal <kapouer@melix.org>",
35
+ "Rahul Nanwani <r.nanwani@gmail.com>",
36
+ "Alice Monday <alice0meta@gmail.com>",
37
+ "Kristo Jorgenson <kristo.jorgenson@gmail.com>",
38
+ "YvesBos <yves_bos@outlook.com>",
39
+ "Guy Maliar <guy@tailorbrands.com>",
40
+ "Nicolas Coden <nicolas@ncoden.fr>",
41
+ "Matt Parrish <matt.r.parrish@gmail.com>",
42
+ "Marcel Bretschneider <marcel.bretschneider@gmail.com>",
43
+ "Matthew McEachen <matthew+github@mceachen.org>",
44
+ "Jarda Kotěšovec <jarda.kotesovec@gmail.com>",
45
+ "Kenric D'Souza <kenric.dsouza@gmail.com>",
46
+ "Oleh Aleinyk <oleg.aleynik@gmail.com>",
47
+ "Marcel Bretschneider <marcel.bretschneider@gmail.com>",
48
+ "Andrea Bianco <andrea.bianco@unibas.ch>",
49
+ "Rik Heywood <rik@rik.org>",
50
+ "Thomas Parisot <hi@oncletom.io>",
51
+ "Nathan Graves <nathanrgraves+github@gmail.com>",
52
+ "Tom Lokhorst <tom@lokhorst.eu>",
53
+ "Espen Hovlandsdal <espen@hovlandsdal.com>",
54
+ "Sylvain Dumont <sylvain.dumont35@gmail.com>",
55
+ "Alun Davies <alun.owain.davies@googlemail.com>",
56
+ "Aidan Hoolachan <ajhoolachan21@gmail.com>",
57
+ "Axel Eirola <axel.eirola@iki.fi>",
58
+ "Freezy <freezy@xbmc.org>",
59
+ "Daiz <taneli.vatanen@gmail.com>",
60
+ "Julian Aubourg <j@ubourg.net>",
61
+ "Keith Belovay <keith@picthrive.com>",
62
+ "Michael B. Klein <mbklein@gmail.com>",
63
+ "Jordan Prudhomme <jordan@raboland.fr>",
64
+ "Ilya Ovdin <iovdin@gmail.com>",
65
+ "Andargor <andargor@yahoo.com>",
66
+ "Paul Neave <paul.neave@gmail.com>",
67
+ "Brendan Kennedy <brenwken@gmail.com>",
68
+ "Brychan Bennett-Odlum <git@brychan.io>",
69
+ "Edward Silverton <e.silverton@gmail.com>",
70
+ "Roman Malieiev <aromaleev@gmail.com>",
71
+ "Tomas Szabo <tomas.szabo@deftomat.com>",
72
+ "Robert O'Rourke <robert@o-rourke.org>",
73
+ "Guillermo Alfonso Varela Chouciño <guillevch@gmail.com>",
74
+ "Christian Flintrup <chr@gigahost.dk>",
75
+ "Manan Jadhav <manan@motionden.com>",
76
+ "Leon Radley <leon@radley.se>",
77
+ "alza54 <alza54@thiocod.in>",
78
+ "Jacob Smith <jacob@frende.me>",
79
+ "Michael Nutt <michael@nutt.im>",
80
+ "Brad Parham <baparham@gmail.com>",
81
+ "Taneli Vatanen <taneli.vatanen@gmail.com>",
82
+ "Joris Dugué <zaruike10@gmail.com>",
83
+ "Chris Banks <christopher.bradley.banks@gmail.com>",
84
+ "Ompal Singh <ompal.hitm09@gmail.com>",
85
+ "Brodan <christopher.hranj@gmail.com",
86
+ "Ankur Parihar <ankur.github@gmail.com>",
87
+ "Brahim Ait elhaj <brahima@gmail.com>",
88
+ "Mart Jansink <m.jansink@gmail.com>",
89
+ "Lachlan Newman <lachnewman007@gmail.com>"
90
+ ],
91
+ "scripts": {
92
+ "install": "(node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)",
93
+ "clean": "rm -rf node_modules/ build/ vendor/ .nyc_output/ coverage/ test/fixtures/output.*",
94
+ "test": "npm run test-lint && npm run test-unit && npm run test-licensing && npm run test-types",
95
+ "test-lint": "semistandard && cpplint",
96
+ "test-unit": "nyc --reporter=lcov --reporter=text --check-coverage --branches=100 mocha",
97
+ "test-licensing": "license-checker --production --summary --onlyAllow=\"Apache-2.0;BSD;ISC;MIT\"",
98
+ "test-leak": "./test/leak/leak.sh",
99
+ "test-types": "tsd",
100
+ "docs-build": "node docs/build && node docs/search-index/build",
101
+ "docs-serve": "cd docs && npx serve",
102
+ "docs-publish": "cd docs && npx firebase-tools deploy --project pixelplumbing --only hosting:pixelplumbing-sharp"
103
+ },
104
+ "main": "lib/index.js",
105
+ "types": "lib/index.d.ts",
106
+ "files": [
107
+ "binding.gyp",
108
+ "install/**",
109
+ "lib/**",
110
+ "src/**"
111
+ ],
112
+ "repository": {
113
+ "type": "git",
114
+ "url": "git://github.com/lovell/sharp"
115
+ },
116
+ "keywords": [
117
+ "jpeg",
118
+ "png",
119
+ "webp",
120
+ "avif",
121
+ "tiff",
122
+ "gif",
123
+ "svg",
124
+ "jp2",
125
+ "dzi",
126
+ "image",
127
+ "resize",
128
+ "thumbnail",
129
+ "crop",
130
+ "embed",
131
+ "libvips",
132
+ "vips"
133
+ ],
134
+ "dependencies": {
135
+ "color": "^4.2.3",
136
+ "detect-libc": "^2.0.2",
137
+ "node-addon-api": "^6.1.0",
138
+ "prebuild-install": "^7.1.1",
139
+ "semver": "^7.5.4",
140
+ "simple-get": "^4.0.1",
141
+ "tar-fs": "^3.0.4",
142
+ "tunnel-agent": "^0.6.0"
143
+ },
144
+ "devDependencies": {
145
+ "@types/node": "*",
146
+ "async": "^3.2.4",
147
+ "cc": "^3.0.1",
148
+ "exif-reader": "^1.2.0",
149
+ "extract-zip": "^2.0.1",
150
+ "icc": "^3.0.0",
151
+ "jsdoc-to-markdown": "^8.0.0",
152
+ "license-checker": "^25.0.1",
153
+ "mocha": "^10.2.0",
154
+ "mock-fs": "^5.2.0",
155
+ "nyc": "^15.1.0",
156
+ "prebuild": "^12.0.0",
157
+ "semistandard": "^16.0.1",
158
+ "tsd": "^0.29.0"
159
+ },
160
+ "license": "Apache-2.0",
161
+ "config": {
162
+ "libvips": "8.14.5",
163
+ "integrity": {
164
+ "darwin-arm64v8": "sha512-1QZzICfCJd4wAO0P6qmYI5e5VFMt9iCE4QgefI8VMMbdSzjIXA9L/ARN6pkMQPZ3h20Y9RtJ2W1skgCsvCIccw==",
165
+ "darwin-x64": "sha512-sMIKMYXsdU9FlIfztj6Kt/SfHlhlDpP0Ups7ftVFqwjaszmYmpI9y/d/q3mLb4jrzuSiSUEislSWCwBnW7MPTw==",
166
+ "linux-arm64v8": "sha512-CD8owELzkDumaom+O3jJ8fKamILAQdj+//KK/VNcHK3sngUcFpdjx36C8okwbux9sml/T7GTB/gzpvReDrAejQ==",
167
+ "linux-armv6": "sha512-wk6IPHatDFVWKJy7lI1TJezHGHPQut1wF2bwx256KlZwXUQU3fcVcMpV1zxXjgLFewHq2+uhyMkoSGBPahWzlA==",
168
+ "linux-armv7": "sha512-HEZC9KYtkmBK5rUR2MqBhrVarnQVZ/TwLUeLkKq0XuoM2pc/eXI6N0Fh5NGEFwdXI2XE8g1ySf+OYS6DDi+xCQ==",
169
+ "linux-x64": "sha512-SlFWrITSW5XVUkaFPQOySAaSGXnhkGJCj8X2wGYYta9hk5piZldQyMp4zwy0z6UeRu1qKTKtZvmq28W3Gnh9xA==",
170
+ "linuxmusl-arm64v8": "sha512-ga9iX7WUva3sG/VsKkOD318InLlCfPIztvzCZKZ2/+izQXRbQi8VoXWMHgEN4KHACv45FTl7mJ/8CRqUzhS8wQ==",
171
+ "linuxmusl-x64": "sha512-yeaHnpfee1hrZLok2l4eFceHzlfq8gN3QOu0R4Mh8iMK5O5vAUu97bdtxeZZeJJvHw8tfh2/msGi0qysxKN8bw==",
172
+ "win32-arm64v8": "sha512-kR91hy9w1+GEXK56hLh51+hBCBo7T+ijM4Slkmvb/2PsYZySq5H7s61n99iDYl6kTJP2y9sW5Xcvm3uuXDaDgg==",
173
+ "win32-ia32": "sha512-HrnofEbzHNpHJ0vVnjsTj5yfgVdcqdWshXuwFO2zc8xlEjA83BvXZ0lVj9MxPxkxJ2ta+/UlLr+CFzc5bOceMw==",
174
+ "win32-x64": "sha512-BwKckinJZ0Fu/EcunqiLPwOLEBWp4xf8GV7nvmVuKKz5f6B+GxoA2k9aa2wueqv4r4RJVgV/aWXZWFKOIjre/Q=="
175
+ },
176
+ "runtime": "napi",
177
+ "target": 7
178
+ },
179
+ "engines": {
180
+ "node": ">=14.15.0"
181
+ },
182
+ "funding": {
183
+ "url": "https://opencollective.com/libvips"
184
+ },
185
+ "binary": {
186
+ "napi_versions": [
187
+ 7
188
+ ]
189
+ },
190
+ "semistandard": {
191
+ "env": [
192
+ "mocha"
193
+ ]
194
+ },
195
+ "cc": {
196
+ "linelength": "120",
197
+ "filter": [
198
+ "build/include"
199
+ ]
200
+ },
201
+ "tsd": {
202
+ "directory": "test/types/"
203
+ }
204
+ }
@@ -0,0 +1,43 @@
1
+ # Third-party notices
2
+
3
+ This software contains third-party libraries
4
+ used under the terms of the following licences:
5
+
6
+ | Library | Used under the terms of |
7
+ |---------------|-----------------------------------------------------------------------------------------------------------|
8
+ | aom | BSD 2-Clause + [Alliance for Open Media Patent License 1.0](https://aomedia.org/license/patent-license/) |
9
+ | cairo | Mozilla Public License 2.0 |
10
+ | cgif | MIT Licence |
11
+ | expat | MIT Licence |
12
+ | fontconfig | [fontconfig Licence](https://gitlab.freedesktop.org/fontconfig/fontconfig/blob/main/COPYING) (BSD-like) |
13
+ | freetype | [freetype Licence](https://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/docs/FTL.TXT) (BSD-like) |
14
+ | fribidi | LGPLv3 |
15
+ | gdk-pixbuf | LGPLv3 |
16
+ | glib | LGPLv3 |
17
+ | harfbuzz | MIT Licence |
18
+ | lcms | MIT Licence |
19
+ | libarchive | BSD 2-Clause |
20
+ | libexif | LGPLv3 |
21
+ | libffi | MIT Licence |
22
+ | libheif | LGPLv3 |
23
+ | libimagequant | [BSD 2-Clause](https://github.com/lovell/libimagequant/blob/main/COPYRIGHT) |
24
+ | mozjpeg | [zlib License, IJG License, BSD-3-Clause](https://github.com/mozilla/mozjpeg/blob/master/LICENSE.md) |
25
+ | libnsgif | MIT Licence |
26
+ | libpng | [libpng License](https://github.com/glennrp/libpng/blob/master/LICENSE) |
27
+ | librsvg | LGPLv3 |
28
+ | libspng | [BSD 2-Clause, libpng License](https://github.com/randy408/libspng/blob/master/LICENSE) |
29
+ | libtiff | [libtiff License](https://libtiff.gitlab.io/libtiff/misc.html) (BSD-like) |
30
+ | libvips | LGPLv3 |
31
+ | libwebp | New BSD License |
32
+ | libxml2 | MIT Licence |
33
+ | orc | [orc License](https://gitlab.freedesktop.org/gstreamer/orc/blob/master/COPYING) (BSD-like) |
34
+ | pango | LGPLv3 |
35
+ | pixman | MIT Licence |
36
+ | proxy-libintl | LGPLv3 |
37
+ | zlib-ng | [zlib Licence](https://github.com/zlib-ng/zlib-ng/blob/develop/LICENSE.md) |
38
+
39
+ Use of libraries under the terms of the LGPLv3 is via the
40
+ "any later version" clause of the LGPLv2 or LGPLv2.1.
41
+
42
+ Please report any errors or omissions via
43
+ https://github.com/lovell/sharp-libvips/issues/new
@@ -0,0 +1,31 @@
1
+ {
2
+ "aom": "3.6.1",
3
+ "archive": "3.7.2",
4
+ "cairo": "1.17.8",
5
+ "cgif": "0.3.2",
6
+ "exif": "0.6.24",
7
+ "expat": "2.5.0",
8
+ "ffi": "3.4.4",
9
+ "fontconfig": "2.14.2",
10
+ "freetype": "2.13.2",
11
+ "fribidi": "1.0.13",
12
+ "gdkpixbuf": "2.42.10",
13
+ "glib": "2.78.0",
14
+ "harfbuzz": "8.2.0",
15
+ "heif": "1.16.2",
16
+ "imagequant": "2.4.1",
17
+ "lcms": "2.15",
18
+ "mozjpeg": "4.1.4",
19
+ "orc": "0.4.34",
20
+ "pango": "1.51.0",
21
+ "pixman": "0.42.2",
22
+ "png": "1.6.40",
23
+ "proxy-libintl": "0.4",
24
+ "rsvg": "2.57.0",
25
+ "spng": "0.7.4",
26
+ "tiff": "4.6.0",
27
+ "vips": "8.14.5",
28
+ "webp": "1.3.2",
29
+ "xml": "2.11.5",
30
+ "zlib-ng": "2.1.3"
31
+ }
@@ -0,0 +1,29 @@
1
+ 'use strict';
2
+
3
+ var isArrayish = require('is-arrayish');
4
+
5
+ var concat = Array.prototype.concat;
6
+ var slice = Array.prototype.slice;
7
+
8
+ var swizzle = module.exports = function swizzle(args) {
9
+ var results = [];
10
+
11
+ for (var i = 0, len = args.length; i < len; i++) {
12
+ var arg = args[i];
13
+
14
+ if (isArrayish(arg)) {
15
+ // http://jsperf.com/javascript-array-concat-vs-push/98
16
+ results = concat.call(results, slice.call(arg));
17
+ } else {
18
+ results.push(arg);
19
+ }
20
+ }
21
+
22
+ return results;
23
+ };
24
+
25
+ swizzle.wrap = function (fn) {
26
+ return function () {
27
+ return fn(swizzle(arguments));
28
+ };
29
+ };
@@ -0,0 +1,36 @@
1
+ {
2
+ "name": "simple-swizzle",
3
+ "description": "Simply swizzle your arguments",
4
+ "version": "0.2.4",
5
+ "author": "Qix (http://github.com/qix-)",
6
+ "keywords": [
7
+ "argument",
8
+ "arguments",
9
+ "swizzle",
10
+ "swizzling",
11
+ "parameter",
12
+ "parameters",
13
+ "mixed",
14
+ "array"
15
+ ],
16
+ "license": "MIT",
17
+ "scripts": {
18
+ "pretest": "xo",
19
+ "test": "mocha --compilers coffee:coffee-script/register"
20
+ },
21
+ "files": [
22
+ "index.js"
23
+ ],
24
+ "repository": "qix-/node-simple-swizzle",
25
+ "devDependencies": {
26
+ "coffee-script": "^1.9.3",
27
+ "coveralls": "^2.11.2",
28
+ "istanbul": "^0.3.17",
29
+ "mocha": "^2.2.5",
30
+ "should": "^7.0.1",
31
+ "xo": "^0.7.1"
32
+ },
33
+ "dependencies": {
34
+ "is-arrayish": "^0.3.1"
35
+ }
36
+ }
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "spec-cat-prod",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "type": "module",
5
5
  "private": true,
6
6
  "dependencies": {
7
7
  "@babel/parser": "7.29.0",
8
+ "@huggingface/jinja": "0.2.2",
8
9
  "@vue/compiler-core": "3.5.27",
9
10
  "@vue/compiler-dom": "3.5.27",
10
11
  "@vue/compiler-ssr": "3.5.27",
@@ -13,12 +14,25 @@
13
14
  "@vue/runtime-dom": "3.5.27",
14
15
  "@vue/server-renderer": "3.5.27",
15
16
  "@vue/shared": "3.5.27",
17
+ "@xenova/transformers": "2.17.2",
16
18
  "chokidar": "5.0.0",
19
+ "color": "4.2.3",
20
+ "color-convert": "2.0.1",
21
+ "color-name": "1.1.4",
22
+ "color-string": "1.9.1",
23
+ "detect-libc": "2.1.2",
17
24
  "devalue": "5.6.2",
18
25
  "entities": "7.0.1",
19
26
  "estree-walker": "2.0.2",
20
27
  "hookable": "6.0.1",
28
+ "is-arrayish": "0.3.4",
29
+ "onnxruntime-common": "1.14.0",
30
+ "onnxruntime-node": "1.14.0",
31
+ "onnxruntime-web": "1.14.0",
21
32
  "readdirp": "5.0.0",
33
+ "semver": "7.7.3",
34
+ "sharp": "0.32.6",
35
+ "simple-swizzle": "0.2.4",
22
36
  "source-map-js": "1.2.1",
23
37
  "ufo": "1.6.3",
24
38
  "unhead": "2.1.2",