spec-cat 0.1.32 → 0.1.33
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/.output/nitro.json +1 -1
- package/.output/public/_nuxt/{BGjuZ_aG.js → 6UKw2IeC.js} +1 -1
- package/.output/public/_nuxt/{FnrF2G0R.js → 8DL6DDI4.js} +1 -1
- package/.output/public/_nuxt/{BMA_6bNq.js → B59S8ud-.js} +1 -1
- package/.output/public/_nuxt/{BO4RhS76.js → BU1QHerL.js} +1 -1
- package/.output/public/_nuxt/{eGsZqesz.js → BiP1e8Z4.js} +1 -1
- package/.output/public/_nuxt/{0gHHxxIN.js → Bu8HcKy6.js} +1 -1
- package/.output/public/_nuxt/{RDjifZHL.js → ClgyE2Qa.js} +1 -1
- package/.output/public/_nuxt/D2fkBJdf.js +1 -0
- package/.output/public/_nuxt/{CAIM5SZW.js → D3aEg5Ay.js} +1 -1
- package/.output/public/_nuxt/{CtnpjtN2.js → DjSReRpH.js} +1 -1
- package/.output/public/_nuxt/WKoWzouJ.js +4 -0
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/f0d946a1-dd14-42e4-956f-98e97d26fdb3.json +1 -0
- package/.output/public/_nuxt/error-404.BI7MGITY.css +1 -0
- package/.output/public/_nuxt/error-500.D0vfDezE.css +1 -0
- package/.output/public/_nuxt/{QiHGDbX5.js → jMiD93EZ.js} +48 -48
- package/.output/public/_nuxt/{CnSPKulS.js → neNK3wGN.js} +1 -1
- package/.output/server/chunks/_/error-500.mjs.map +1 -1
- package/.output/server/chunks/build/client.precomputed.mjs +1 -1
- package/.output/server/chunks/nitro/nitro.mjs +913 -913
- package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
- package/.output/server/chunks/routes/renderer.mjs.map +1 -1
- package/.output/server/node_modules/sharp/build/Release/sharp-linux-x64.node +0 -0
- package/.output/server/node_modules/sharp/vendor/8.14.5/{darwin-arm64v8/lib/libvips-cpp.42.dylib → linux-x64/lib/libvips-cpp.so.42} +0 -0
- package/.output/server/node_modules/sharp/vendor/8.14.5/linux-x64/platform.json +1 -0
- package/.output/server/node_modules/sharp/vendor/8.14.5/{darwin-arm64v8 → linux-x64}/versions.json +1 -1
- package/.output/server/package.json +1 -1
- package/package.json +1 -1
- package/.output/public/_nuxt/C9uS_rHl.js +0 -4
- package/.output/public/_nuxt/builds/meta/ef0111e7-5cb1-4e57-9dfa-802262c9017b.json +0 -1
- package/.output/public/_nuxt/error-404.CbGlV_tK.css +0 -1
- package/.output/public/_nuxt/error-500.CUQ4fPr8.css +0 -1
- package/.output/public/_nuxt/rOoa58kt.js +0 -1
- package/.output/server/node_modules/onnxruntime-node/bin/napi-v3/darwin/arm64/libonnxruntime.1.14.0.dylib +0 -0
- package/.output/server/node_modules/onnxruntime-node/bin/napi-v3/darwin/x64/libonnxruntime.1.14.0.dylib +0 -0
- package/.output/server/node_modules/sharp/build/Release/sharp-darwin-arm64v8.node +0 -0
- package/.output/server/node_modules/sharp/vendor/8.14.5/darwin-arm64v8/include/harfbuzz/hb-cplusplus.hh +0 -223
- package/.output/server/node_modules/sharp/vendor/8.14.5/darwin-arm64v8/include/vips/vips8 +0 -60
- package/.output/server/node_modules/sharp/vendor/8.14.5/darwin-arm64v8/platform.json +0 -1
- /package/.output/server/node_modules/sharp/vendor/8.14.5/{darwin-arm64v8 → linux-x64}/THIRD-PARTY-NOTICES.md +0 -0
|
@@ -1,223 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright © 2022 Behdad Esfahbod
|
|
3
|
-
*
|
|
4
|
-
* This is part of HarfBuzz, a text shaping library.
|
|
5
|
-
*
|
|
6
|
-
* Permission is hereby granted, without written agreement and without
|
|
7
|
-
* license or royalty fees, to use, copy, modify, and distribute this
|
|
8
|
-
* software and its documentation for any purpose, provided that the
|
|
9
|
-
* above copyright notice and the following two paragraphs appear in
|
|
10
|
-
* all copies of this software.
|
|
11
|
-
*
|
|
12
|
-
* IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
|
|
13
|
-
* DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
|
|
14
|
-
* ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
|
|
15
|
-
* IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
|
16
|
-
* DAMAGE.
|
|
17
|
-
*
|
|
18
|
-
* THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
|
|
19
|
-
* BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
|
20
|
-
* FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
|
|
21
|
-
* ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
|
|
22
|
-
* PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
|
|
23
|
-
*/
|
|
24
|
-
|
|
25
|
-
#ifndef HB_CPLUSPLUS_HH
|
|
26
|
-
#define HB_CPLUSPLUS_HH
|
|
27
|
-
|
|
28
|
-
#include "hb.h"
|
|
29
|
-
|
|
30
|
-
HB_BEGIN_DECLS
|
|
31
|
-
HB_END_DECLS
|
|
32
|
-
|
|
33
|
-
#ifdef __cplusplus
|
|
34
|
-
|
|
35
|
-
#include <functional>
|
|
36
|
-
#include <utility>
|
|
37
|
-
|
|
38
|
-
#if 0
|
|
39
|
-
#if !(__cplusplus >= 201103L)
|
|
40
|
-
#error "HarfBuzz C++ helpers require C++11"
|
|
41
|
-
#endif
|
|
42
|
-
#endif
|
|
43
|
-
|
|
44
|
-
namespace hb {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
template <typename T>
|
|
48
|
-
struct vtable;
|
|
49
|
-
|
|
50
|
-
template <typename T>
|
|
51
|
-
struct shared_ptr
|
|
52
|
-
{
|
|
53
|
-
using element_type = T;
|
|
54
|
-
|
|
55
|
-
using v = vtable<T>;
|
|
56
|
-
|
|
57
|
-
explicit shared_ptr (T *p = nullptr) : p (p) {}
|
|
58
|
-
shared_ptr (const shared_ptr &o) : p (v::reference (o.p)) {}
|
|
59
|
-
shared_ptr (shared_ptr &&o) : p (o.p) { o.p = nullptr; }
|
|
60
|
-
shared_ptr& operator = (const shared_ptr &o) { if (p != o.p) { destroy (); p = o.p; reference (); } return *this; }
|
|
61
|
-
shared_ptr& operator = (shared_ptr &&o) { v::destroy (p); p = o.p; o.p = nullptr; return *this; }
|
|
62
|
-
~shared_ptr () { v::destroy (p); p = nullptr; }
|
|
63
|
-
|
|
64
|
-
T* get() const { return p; }
|
|
65
|
-
|
|
66
|
-
void swap (shared_ptr &o) { std::swap (p, o.p); }
|
|
67
|
-
friend void swap (shared_ptr &a, shared_ptr &b) { std::swap (a.p, b.p); }
|
|
68
|
-
|
|
69
|
-
operator T * () const { return p; }
|
|
70
|
-
T& operator * () const { return *get (); }
|
|
71
|
-
T* operator -> () const { return get (); }
|
|
72
|
-
operator bool () const { return p; }
|
|
73
|
-
bool operator == (const shared_ptr &o) const { return p == o.p; }
|
|
74
|
-
bool operator != (const shared_ptr &o) const { return p != o.p; }
|
|
75
|
-
|
|
76
|
-
static T* get_empty() { return v::get_empty (); }
|
|
77
|
-
T* reference() { return v::reference (p); }
|
|
78
|
-
void destroy() { v::destroy (p); }
|
|
79
|
-
void set_user_data (hb_user_data_key_t *key,
|
|
80
|
-
void *value,
|
|
81
|
-
hb_destroy_func_t destroy,
|
|
82
|
-
hb_bool_t replace) { v::set_user_data (p, key, value, destroy, replace); }
|
|
83
|
-
void * get_user_data (hb_user_data_key_t *key) { return v::get_user_data (p, key); }
|
|
84
|
-
|
|
85
|
-
private:
|
|
86
|
-
T *p;
|
|
87
|
-
};
|
|
88
|
-
|
|
89
|
-
template<typename T> struct is_shared_ptr : std::false_type {};
|
|
90
|
-
template<typename T> struct is_shared_ptr<shared_ptr<T>> : std::true_type {};
|
|
91
|
-
|
|
92
|
-
template <typename T>
|
|
93
|
-
struct unique_ptr
|
|
94
|
-
{
|
|
95
|
-
using element_type = T;
|
|
96
|
-
|
|
97
|
-
using v = vtable<T>;
|
|
98
|
-
|
|
99
|
-
explicit unique_ptr (T *p = nullptr) : p (p) {}
|
|
100
|
-
unique_ptr (const unique_ptr &o) = delete;
|
|
101
|
-
unique_ptr (unique_ptr &&o) : p (o.p) { o.p = nullptr; }
|
|
102
|
-
unique_ptr& operator = (const unique_ptr &o) = delete;
|
|
103
|
-
unique_ptr& operator = (unique_ptr &&o) { v::destroy (p); p = o.p; o.p = nullptr; return *this; }
|
|
104
|
-
~unique_ptr () { v::destroy (p); p = nullptr; }
|
|
105
|
-
|
|
106
|
-
T* get() const { return p; }
|
|
107
|
-
T* release () { T* v = p; p = nullptr; return v; }
|
|
108
|
-
|
|
109
|
-
void swap (unique_ptr &o) { std::swap (p, o.p); }
|
|
110
|
-
friend void swap (unique_ptr &a, unique_ptr &b) { std::swap (a.p, b.p); }
|
|
111
|
-
|
|
112
|
-
operator T * () const { return p; }
|
|
113
|
-
T& operator * () const { return *get (); }
|
|
114
|
-
T* operator -> () const { return get (); }
|
|
115
|
-
operator bool () { return p; }
|
|
116
|
-
|
|
117
|
-
private:
|
|
118
|
-
T *p;
|
|
119
|
-
};
|
|
120
|
-
|
|
121
|
-
template<typename T> struct is_unique_ptr : std::false_type {};
|
|
122
|
-
template<typename T> struct is_unique_ptr<unique_ptr<T>> : std::true_type {};
|
|
123
|
-
|
|
124
|
-
template <typename T,
|
|
125
|
-
T * (*_get_empty) (void),
|
|
126
|
-
T * (*_reference) (T *),
|
|
127
|
-
void (*_destroy) (T *),
|
|
128
|
-
hb_bool_t (*_set_user_data) (T *,
|
|
129
|
-
hb_user_data_key_t *,
|
|
130
|
-
void *,
|
|
131
|
-
hb_destroy_func_t,
|
|
132
|
-
hb_bool_t),
|
|
133
|
-
void * (*_get_user_data) (const T *,
|
|
134
|
-
hb_user_data_key_t *)>
|
|
135
|
-
struct vtable_t
|
|
136
|
-
{
|
|
137
|
-
static constexpr auto get_empty = _get_empty;
|
|
138
|
-
static constexpr auto reference = _reference;
|
|
139
|
-
static constexpr auto destroy = _destroy;
|
|
140
|
-
static constexpr auto set_user_data = _set_user_data;
|
|
141
|
-
static constexpr auto get_user_data = _get_user_data;
|
|
142
|
-
};
|
|
143
|
-
|
|
144
|
-
#define HB_DEFINE_VTABLE(name) \
|
|
145
|
-
template<> \
|
|
146
|
-
struct vtable<hb_##name##_t> \
|
|
147
|
-
: vtable_t<hb_##name##_t, \
|
|
148
|
-
&hb_##name##_get_empty, \
|
|
149
|
-
&hb_##name##_reference, \
|
|
150
|
-
&hb_##name##_destroy, \
|
|
151
|
-
&hb_##name##_set_user_data, \
|
|
152
|
-
&hb_##name##_get_user_data> {}
|
|
153
|
-
|
|
154
|
-
HB_DEFINE_VTABLE (buffer);
|
|
155
|
-
HB_DEFINE_VTABLE (blob);
|
|
156
|
-
HB_DEFINE_VTABLE (face);
|
|
157
|
-
HB_DEFINE_VTABLE (font);
|
|
158
|
-
HB_DEFINE_VTABLE (font_funcs);
|
|
159
|
-
HB_DEFINE_VTABLE (map);
|
|
160
|
-
HB_DEFINE_VTABLE (set);
|
|
161
|
-
HB_DEFINE_VTABLE (shape_plan);
|
|
162
|
-
HB_DEFINE_VTABLE (unicode_funcs);
|
|
163
|
-
HB_DEFINE_VTABLE (draw_funcs);
|
|
164
|
-
HB_DEFINE_VTABLE (paint_funcs);
|
|
165
|
-
|
|
166
|
-
#undef HB_DEFINE_VTABLE
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
#ifdef HB_SUBSET_H
|
|
170
|
-
|
|
171
|
-
#define HB_DEFINE_VTABLE(name) \
|
|
172
|
-
template<> \
|
|
173
|
-
struct vtable<hb_##name##_t> \
|
|
174
|
-
: vtable_t<hb_##name##_t, \
|
|
175
|
-
nullptr, \
|
|
176
|
-
&hb_##name##_reference, \
|
|
177
|
-
&hb_##name##_destroy, \
|
|
178
|
-
&hb_##name##_set_user_data, \
|
|
179
|
-
&hb_##name##_get_user_data> {}
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
HB_DEFINE_VTABLE (subset_input);
|
|
183
|
-
HB_DEFINE_VTABLE (subset_plan);
|
|
184
|
-
|
|
185
|
-
#undef HB_DEFINE_VTABLE
|
|
186
|
-
|
|
187
|
-
#endif
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
} // namespace hb
|
|
191
|
-
|
|
192
|
-
/* Workaround for GCC < 7, see:
|
|
193
|
-
* https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56480
|
|
194
|
-
* https://stackoverflow.com/a/25594741 */
|
|
195
|
-
namespace std {
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
template<typename T>
|
|
199
|
-
struct hash<hb::shared_ptr<T>>
|
|
200
|
-
{
|
|
201
|
-
std::size_t operator()(const hb::shared_ptr<T>& v) const noexcept
|
|
202
|
-
{
|
|
203
|
-
std::size_t h = std::hash<decltype (v.get ())>{}(v.get ());
|
|
204
|
-
return h;
|
|
205
|
-
}
|
|
206
|
-
};
|
|
207
|
-
|
|
208
|
-
template<typename T>
|
|
209
|
-
struct hash<hb::unique_ptr<T>>
|
|
210
|
-
{
|
|
211
|
-
std::size_t operator()(const hb::unique_ptr<T>& v) const noexcept
|
|
212
|
-
{
|
|
213
|
-
std::size_t h = std::hash<decltype (v.get ())>{}(v.get ());
|
|
214
|
-
return h;
|
|
215
|
-
}
|
|
216
|
-
};
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
} // namespace std
|
|
220
|
-
|
|
221
|
-
#endif /* __cplusplus */
|
|
222
|
-
|
|
223
|
-
#endif /* HB_CPLUSPLUS_HH */
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
// Include file to get vips C++ binding
|
|
2
|
-
|
|
3
|
-
/*
|
|
4
|
-
|
|
5
|
-
This file is part of VIPS.
|
|
6
|
-
|
|
7
|
-
VIPS is free software; you can redistribute it and/or modify
|
|
8
|
-
it under the terms of the GNU Lesser General Public License as published by
|
|
9
|
-
the Free Software Foundation; either version 2 of the License, or
|
|
10
|
-
(at your option) any later version.
|
|
11
|
-
|
|
12
|
-
This program is distributed in the hope that it will be useful,
|
|
13
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15
|
-
GNU Lesser General Public License for more details.
|
|
16
|
-
|
|
17
|
-
You should have received a copy of the GNU Lesser General Public License
|
|
18
|
-
along with this program; if not, write to the Free Software
|
|
19
|
-
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
|
20
|
-
02110-1301 USA
|
|
21
|
-
|
|
22
|
-
*/
|
|
23
|
-
|
|
24
|
-
/*
|
|
25
|
-
|
|
26
|
-
These files are distributed with VIPS - http://www.vips.ecs.soton.ac.uk
|
|
27
|
-
|
|
28
|
-
*/
|
|
29
|
-
|
|
30
|
-
#ifndef VIPS_CPLUSPLUS
|
|
31
|
-
#define VIPS_CPLUSPLUS
|
|
32
|
-
|
|
33
|
-
#include <vips/version.h>
|
|
34
|
-
|
|
35
|
-
#include <glib-object.h>
|
|
36
|
-
|
|
37
|
-
/* Define VIPS_CPLUSPLUS_EXPORTS to build a DLL using MSVC.
|
|
38
|
-
*/
|
|
39
|
-
#ifdef _VIPS_PUBLIC
|
|
40
|
-
# define VIPS_CPLUSPLUS_API _VIPS_PUBLIC
|
|
41
|
-
#elif defined(_MSC_VER)
|
|
42
|
-
# ifdef VIPS_CPLUSPLUS_EXPORTS
|
|
43
|
-
# define VIPS_CPLUSPLUS_API __declspec(dllexport)
|
|
44
|
-
# else
|
|
45
|
-
# define VIPS_CPLUSPLUS_API __declspec(dllimport)
|
|
46
|
-
# endif
|
|
47
|
-
#else
|
|
48
|
-
# define VIPS_CPLUSPLUS_API
|
|
49
|
-
#endif
|
|
50
|
-
|
|
51
|
-
#define VIPS_NAMESPACE_START namespace vips {
|
|
52
|
-
#define VIPS_NAMESPACE_END }
|
|
53
|
-
|
|
54
|
-
#include "VError8.h"
|
|
55
|
-
#include "VImage8.h"
|
|
56
|
-
#include "VInterpolate8.h"
|
|
57
|
-
#include "VRegion8.h"
|
|
58
|
-
#include "VConnection8.h"
|
|
59
|
-
|
|
60
|
-
#endif /*VIPS_CPLUSPLUS*/
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"darwin-arm64v8"
|
|
File without changes
|