wiki-viewer 2.9.0 → 2.9.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 (97) hide show
  1. package/.next/standalone/.next/BUILD_ID +1 -1
  2. package/.next/standalone/.next/build-manifest.json +3 -3
  3. package/.next/standalone/.next/prerender-manifest.json +3 -3
  4. package/.next/standalone/.next/required-server-files.json +2 -2
  5. package/.next/standalone/.next/server/app/_global-error.html +1 -1
  6. package/.next/standalone/.next/server/app/_global-error.rsc +1 -1
  7. package/.next/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  8. package/.next/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  9. package/.next/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  10. package/.next/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  11. package/.next/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  12. package/.next/standalone/.next/server/app/api/agent/activity/route.js.nft.json +1 -1
  13. package/.next/standalone/.next/server/app/api/agent/events/[...path]/route.js.nft.json +1 -1
  14. package/.next/standalone/.next/server/app/api/agent/files/[...path]/route.js.nft.json +1 -1
  15. package/.next/standalone/.next/server/app/api/agent/fs/file/[...path]/route.js.nft.json +1 -1
  16. package/.next/standalone/.next/server/app/api/agent/fs/ls/[[...path]]/route.js.nft.json +1 -1
  17. package/.next/standalone/.next/server/app/api/agent/fs/move/route.js.nft.json +1 -1
  18. package/.next/standalone/.next/server/app/api/agent/fs/search/route.js.nft.json +1 -1
  19. package/.next/standalone/.next/server/app/api/agent/internal/span/route.js.nft.json +1 -1
  20. package/.next/standalone/.next/server/app/api/agent/settings/route.js.nft.json +1 -1
  21. package/.next/standalone/.next/server/app/api/agent/sidecar/[...path]/route.js.nft.json +1 -1
  22. package/.next/standalone/.next/server/app/api/assets/[...path]/route.js.nft.json +1 -1
  23. package/.next/standalone/.next/server/app/api/pdf/save/route.js.nft.json +1 -1
  24. package/.next/standalone/.next/server/app/api/share/[token]/asset/route.js.nft.json +1 -1
  25. package/.next/standalone/.next/server/app/api/share/[token]/route.js.nft.json +1 -1
  26. package/.next/standalone/.next/server/app/api/share/route.js.nft.json +1 -1
  27. package/.next/standalone/.next/server/app/api/system/reveal/route.js.nft.json +1 -1
  28. package/.next/standalone/.next/server/app/api/system/set-root/route.js.nft.json +1 -1
  29. package/.next/standalone/.next/server/app/api/system/workspaces/[id]/branch/route.js.nft.json +1 -1
  30. package/.next/standalone/.next/server/app/api/system/workspaces/[id]/open/route.js.nft.json +1 -1
  31. package/.next/standalone/.next/server/app/api/system/workspaces/[id]/refresh/route.js.nft.json +1 -1
  32. package/.next/standalone/.next/server/app/api/system/workspaces/[id]/route.js.nft.json +1 -1
  33. package/.next/standalone/.next/server/app/api/system/workspaces/route.js.nft.json +1 -1
  34. package/.next/standalone/.next/server/app/api/upload/[...path]/route.js.nft.json +1 -1
  35. package/.next/standalone/.next/server/app/api/wiki/app/route.js.nft.json +1 -1
  36. package/.next/standalone/.next/server/app/api/wiki/backlinks/route.js.nft.json +1 -1
  37. package/.next/standalone/.next/server/app/api/wiki/content/route.js.nft.json +1 -1
  38. package/.next/standalone/.next/server/app/api/wiki/download/route.js.nft.json +1 -1
  39. package/.next/standalone/.next/server/app/api/wiki/file/route.js.nft.json +1 -1
  40. package/.next/standalone/.next/server/app/api/wiki/folder/route.js.nft.json +1 -1
  41. package/.next/standalone/.next/server/app/api/wiki/git-branches/route.js.nft.json +1 -1
  42. package/.next/standalone/.next/server/app/api/wiki/git-checkout/route.js.nft.json +1 -1
  43. package/.next/standalone/.next/server/app/api/wiki/git-diff/route.js.nft.json +1 -1
  44. package/.next/standalone/.next/server/app/api/wiki/git-file-info/route.js.nft.json +1 -1
  45. package/.next/standalone/.next/server/app/api/wiki/git-history/route.js.nft.json +1 -1
  46. package/.next/standalone/.next/server/app/api/wiki/git-pull/route.js.nft.json +1 -1
  47. package/.next/standalone/.next/server/app/api/wiki/move/route.js.nft.json +1 -1
  48. package/.next/standalone/.next/server/app/api/wiki/new-file/route.js.nft.json +1 -1
  49. package/.next/standalone/.next/server/app/api/wiki/outlinks/route.js.nft.json +1 -1
  50. package/.next/standalone/.next/server/app/api/wiki/page/route.js.nft.json +1 -1
  51. package/.next/standalone/.next/server/app/api/wiki/presence/route.js.nft.json +1 -1
  52. package/.next/standalone/.next/server/app/api/wiki/route.js.nft.json +1 -1
  53. package/.next/standalone/.next/server/app/api/wiki/search/route.js.nft.json +1 -1
  54. package/.next/standalone/.next/server/app/api/wiki/slugs/route.js.nft.json +1 -1
  55. package/.next/standalone/.next/server/app/api/wiki/upload/route.js.nft.json +1 -1
  56. package/.next/standalone/.next/server/app/api/wiki/watch/route.js.nft.json +1 -1
  57. package/.next/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
  58. package/.next/standalone/.next/server/chunks/ssr/_0v4uz-4._.js +1 -1
  59. package/.next/standalone/.next/server/middleware-build-manifest.js +3 -3
  60. package/.next/standalone/.next/server/pages/500.html +1 -1
  61. package/.next/standalone/.next/server/server-reference-manifest.js +1 -1
  62. package/.next/standalone/.next/server/server-reference-manifest.json +1 -1
  63. package/.next/standalone/.next/static/chunks/{08yt220_vis~5.js → 03zmegz1kvvod.js} +1 -1
  64. package/.next/standalone/next.config.ts +8 -0
  65. package/.next/standalone/node_modules/@vscode/ripgrep-linux-x64/bin/rg +0 -0
  66. package/.next/standalone/package.json +129 -129
  67. package/.next/standalone/server.js +1 -1
  68. package/bin/postbuild.js +30 -0
  69. package/package.json +123 -130
  70. package/.next/standalone/node_modules/@img/colour/color.cjs +0 -1596
  71. package/.next/standalone/node_modules/@img/colour/index.cjs +0 -1
  72. package/.next/standalone/node_modules/@img/colour/package.json +0 -58
  73. package/.next/standalone/node_modules/@img/sharp-libvips-linux-x64/README.md +0 -46
  74. package/.next/standalone/node_modules/@img/sharp-libvips-linux-x64/lib/glib-2.0/include/glibconfig.h +0 -221
  75. package/.next/standalone/node_modules/@img/sharp-libvips-linux-x64/lib/index.js +0 -1
  76. package/.next/standalone/node_modules/@img/sharp-libvips-linux-x64/lib/libvips-cpp.so.8.17.3 +0 -0
  77. package/.next/standalone/node_modules/@img/sharp-libvips-linux-x64/package.json +0 -42
  78. package/.next/standalone/node_modules/@img/sharp-libvips-linux-x64/versions.json +0 -30
  79. package/.next/standalone/node_modules/@img/sharp-linux-x64/lib/sharp-linux-x64.node +0 -0
  80. package/.next/standalone/node_modules/@img/sharp-linux-x64/package.json +0 -46
  81. package/.next/standalone/node_modules/sharp/lib/channel.js +0 -177
  82. package/.next/standalone/node_modules/sharp/lib/colour.js +0 -195
  83. package/.next/standalone/node_modules/sharp/lib/composite.js +0 -212
  84. package/.next/standalone/node_modules/sharp/lib/constructor.js +0 -499
  85. package/.next/standalone/node_modules/sharp/lib/index.js +0 -16
  86. package/.next/standalone/node_modules/sharp/lib/input.js +0 -809
  87. package/.next/standalone/node_modules/sharp/lib/is.js +0 -143
  88. package/.next/standalone/node_modules/sharp/lib/libvips.js +0 -207
  89. package/.next/standalone/node_modules/sharp/lib/operation.js +0 -1016
  90. package/.next/standalone/node_modules/sharp/lib/output.js +0 -1666
  91. package/.next/standalone/node_modules/sharp/lib/resize.js +0 -595
  92. package/.next/standalone/node_modules/sharp/lib/sharp.js +0 -121
  93. package/.next/standalone/node_modules/sharp/lib/utility.js +0 -291
  94. package/.next/standalone/node_modules/sharp/package.json +0 -202
  95. /package/.next/standalone/.next/static/{014EirzgOgUjO57zMiZrA → R2lG97g-a6HpbZZtS4qep}/_buildManifest.js +0 -0
  96. /package/.next/standalone/.next/static/{014EirzgOgUjO57zMiZrA → R2lG97g-a6HpbZZtS4qep}/_clientMiddlewareManifest.js +0 -0
  97. /package/.next/standalone/.next/static/{014EirzgOgUjO57zMiZrA → R2lG97g-a6HpbZZtS4qep}/_ssgManifest.js +0 -0
@@ -1 +0,0 @@
1
- module.exports = require("./color.cjs").default;
@@ -1,58 +0,0 @@
1
- {
2
- "name": "@img/colour",
3
- "version": "1.1.0",
4
- "description": "The ESM-only 'color' package made compatible for use with CommonJS runtimes",
5
- "license": "MIT",
6
- "main": "index.cjs",
7
- "types": "index.d.ts",
8
- "exports": {
9
- ".": {
10
- "types": "./index.d.ts",
11
- "require": "./index.cjs",
12
- "default": "./index.cjs"
13
- },
14
- "./package.json": "./package.json"
15
- },
16
- "authors": [
17
- "Heather Arthur <fayearthur@gmail.com>",
18
- "Josh Junon <josh@junon.me>",
19
- "Maxime Thirouin",
20
- "Dyma Ywanov <dfcreative@gmail.com>",
21
- "LitoMore (https://github.com/LitoMore)"
22
- ],
23
- "engines": {
24
- "node": ">=18"
25
- },
26
- "files": [
27
- "color.cjs",
28
- "index.d.ts"
29
- ],
30
- "publishConfig": {
31
- "access": "public"
32
- },
33
- "repository": {
34
- "type": "git",
35
- "url": "git+https://github.com/lovell/colour.git"
36
- },
37
- "type": "commonjs",
38
- "keywords": [
39
- "color",
40
- "colour",
41
- "cjs",
42
- "commonjs"
43
- ],
44
- "scripts": {
45
- "build:cjs": "esbuild node_modules/color/index.js --bundle --platform=node --outfile=color.cjs",
46
- "build:dts": "dts-bundle-generator ./dts-src.ts -o index.d.ts --project tsconfig.build.json --external-inlines color --external-inlines color-convert --export-referenced-types=false",
47
- "build": "npm run build:cjs && npm run build:dts",
48
- "test": "node --test"
49
- },
50
- "devDependencies": {
51
- "color": "5.0.3",
52
- "color-convert": "3.1.3",
53
- "color-name": "2.1.0",
54
- "color-string": "2.1.4",
55
- "dts-bundle-generator": "^9.5.1",
56
- "esbuild": "^0.27.3"
57
- }
58
- }
@@ -1,46 +0,0 @@
1
- # `@img/sharp-libvips-linux-x64`
2
-
3
- Prebuilt libvips and dependencies for use with sharp on Linux (glibc) x64.
4
-
5
- ## Licensing
6
-
7
- This software contains third-party libraries
8
- used under the terms of the following licences:
9
-
10
- | Library | Used under the terms of |
11
- |---------------|-----------------------------------------------------------------------------------------------------------|
12
- | aom | BSD 2-Clause + [Alliance for Open Media Patent License 1.0](https://aomedia.org/license/patent-license/) |
13
- | cairo | Mozilla Public License 2.0 |
14
- | cgif | MIT Licence |
15
- | expat | MIT Licence |
16
- | fontconfig | [fontconfig Licence](https://gitlab.freedesktop.org/fontconfig/fontconfig/blob/main/COPYING) (BSD-like) |
17
- | freetype | [freetype Licence](https://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/docs/FTL.TXT) (BSD-like) |
18
- | fribidi | LGPLv3 |
19
- | glib | LGPLv3 |
20
- | harfbuzz | MIT Licence |
21
- | highway | Apache-2.0 License, BSD 3-Clause |
22
- | lcms | MIT Licence |
23
- | libarchive | BSD 2-Clause |
24
- | libexif | LGPLv3 |
25
- | libffi | MIT Licence |
26
- | libheif | LGPLv3 |
27
- | libimagequant | [BSD 2-Clause](https://github.com/lovell/libimagequant/blob/main/COPYRIGHT) |
28
- | libnsgif | MIT Licence |
29
- | libpng | [libpng License](https://github.com/pnggroup/libpng/blob/master/LICENSE) |
30
- | librsvg | LGPLv3 |
31
- | libspng | [BSD 2-Clause, libpng License](https://github.com/randy408/libspng/blob/master/LICENSE) |
32
- | libtiff | [libtiff License](https://gitlab.com/libtiff/libtiff/blob/master/LICENSE.md) (BSD-like) |
33
- | libvips | LGPLv3 |
34
- | libwebp | New BSD License |
35
- | libxml2 | MIT Licence |
36
- | mozjpeg | [zlib License, IJG License, BSD-3-Clause](https://github.com/mozilla/mozjpeg/blob/master/LICENSE.md) |
37
- | pango | LGPLv3 |
38
- | pixman | MIT Licence |
39
- | proxy-libintl | LGPLv3 |
40
- | zlib-ng | [zlib Licence](https://github.com/zlib-ng/zlib-ng/blob/develop/LICENSE.md) |
41
-
42
- Use of libraries under the terms of the LGPLv3 is via the
43
- "any later version" clause of the LGPLv2 or LGPLv2.1.
44
-
45
- Please report any errors or omissions via
46
- https://github.com/lovell/sharp-libvips/issues/new
@@ -1,221 +0,0 @@
1
- /* glibconfig.h
2
- *
3
- * This is a generated file. Please modify 'glibconfig.h.in'
4
- */
5
-
6
- #ifndef __GLIBCONFIG_H__
7
- #define __GLIBCONFIG_H__
8
-
9
- #include <glib/gmacros.h>
10
-
11
- #include <limits.h>
12
- #include <float.h>
13
- #define GLIB_HAVE_ALLOCA_H
14
-
15
- #define GLIB_STATIC_COMPILATION 1
16
- #define GOBJECT_STATIC_COMPILATION 1
17
- #define GIO_STATIC_COMPILATION 1
18
- #define GMODULE_STATIC_COMPILATION 1
19
- #define GI_STATIC_COMPILATION 1
20
- #define G_INTL_STATIC_COMPILATION 1
21
- #define FFI_STATIC_BUILD 1
22
-
23
- /* Specifies that GLib's g_print*() functions wrap the
24
- * system printf functions. This is useful to know, for example,
25
- * when using glibc's register_printf_function().
26
- */
27
- #define GLIB_USING_SYSTEM_PRINTF
28
-
29
- G_BEGIN_DECLS
30
-
31
- #define G_MINFLOAT FLT_MIN
32
- #define G_MAXFLOAT FLT_MAX
33
- #define G_MINDOUBLE DBL_MIN
34
- #define G_MAXDOUBLE DBL_MAX
35
- #define G_MINSHORT SHRT_MIN
36
- #define G_MAXSHORT SHRT_MAX
37
- #define G_MAXUSHORT USHRT_MAX
38
- #define G_MININT INT_MIN
39
- #define G_MAXINT INT_MAX
40
- #define G_MAXUINT UINT_MAX
41
- #define G_MINLONG LONG_MIN
42
- #define G_MAXLONG LONG_MAX
43
- #define G_MAXULONG ULONG_MAX
44
-
45
- typedef signed char gint8;
46
- typedef unsigned char guint8;
47
-
48
- typedef signed short gint16;
49
- typedef unsigned short guint16;
50
-
51
- #define G_GINT16_MODIFIER "h"
52
- #define G_GINT16_FORMAT "hi"
53
- #define G_GUINT16_FORMAT "hu"
54
-
55
-
56
- typedef signed int gint32;
57
- typedef unsigned int guint32;
58
-
59
- #define G_GINT32_MODIFIER ""
60
- #define G_GINT32_FORMAT "i"
61
- #define G_GUINT32_FORMAT "u"
62
-
63
-
64
- #define G_HAVE_GINT64 1 /* deprecated, always true */
65
-
66
- typedef signed long gint64;
67
- typedef unsigned long guint64;
68
-
69
- #define G_GINT64_CONSTANT(val) (val##L)
70
- #define G_GUINT64_CONSTANT(val) (val##UL)
71
-
72
- #define G_GINT64_MODIFIER "l"
73
- #define G_GINT64_FORMAT "li"
74
- #define G_GUINT64_FORMAT "lu"
75
-
76
-
77
- #define GLIB_SIZEOF_VOID_P 8
78
- #define GLIB_SIZEOF_LONG 8
79
- #define GLIB_SIZEOF_SIZE_T 8
80
- #define GLIB_SIZEOF_SSIZE_T 8
81
-
82
- typedef signed long gssize;
83
- typedef unsigned long gsize;
84
- #define G_GSIZE_MODIFIER "l"
85
- #define G_GSSIZE_MODIFIER "l"
86
- #define G_GSIZE_FORMAT "lu"
87
- #define G_GSSIZE_FORMAT "li"
88
-
89
- #define G_MAXSIZE G_MAXULONG
90
- #define G_MINSSIZE G_MINLONG
91
- #define G_MAXSSIZE G_MAXLONG
92
-
93
- typedef gint64 goffset;
94
- #define G_MINOFFSET G_MININT64
95
- #define G_MAXOFFSET G_MAXINT64
96
-
97
- #define G_GOFFSET_MODIFIER G_GINT64_MODIFIER
98
- #define G_GOFFSET_FORMAT G_GINT64_FORMAT
99
- #define G_GOFFSET_CONSTANT(val) G_GINT64_CONSTANT(val)
100
-
101
- #define G_POLLFD_FORMAT "%d"
102
-
103
- #define GPOINTER_TO_INT(p) ((gint) (glong) (p))
104
- #define GPOINTER_TO_UINT(p) ((guint) (gulong) (p))
105
-
106
- #define GINT_TO_POINTER(i) ((gpointer) (glong) (i))
107
- #define GUINT_TO_POINTER(u) ((gpointer) (gulong) (u))
108
-
109
- typedef signed long gintptr;
110
- typedef unsigned long guintptr;
111
-
112
- #define G_GINTPTR_MODIFIER "l"
113
- #define G_GINTPTR_FORMAT "li"
114
- #define G_GUINTPTR_FORMAT "lu"
115
-
116
- #define GLIB_MAJOR_VERSION 2
117
- #define GLIB_MINOR_VERSION 86
118
- #define GLIB_MICRO_VERSION 1
119
-
120
- #define G_OS_UNIX
121
-
122
- #define G_VA_COPY va_copy
123
-
124
- #define G_VA_COPY_AS_ARRAY 1
125
-
126
- #define G_HAVE_ISO_VARARGS 1
127
-
128
- /* gcc-2.95.x supports both gnu style and ISO varargs, but if -ansi
129
- * is passed ISO vararg support is turned off, and there is no work
130
- * around to turn it on, so we unconditionally turn it off.
131
- */
132
- #if __GNUC__ == 2 && __GNUC_MINOR__ == 95
133
- # undef G_HAVE_ISO_VARARGS
134
- #endif
135
-
136
- #define G_HAVE_GROWING_STACK 0
137
-
138
- #ifndef _MSC_VER
139
- # define G_HAVE_GNUC_VARARGS 1
140
- #endif
141
-
142
- #if defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590)
143
- #define G_GNUC_INTERNAL __attribute__((visibility("hidden")))
144
- #elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550)
145
- #define G_GNUC_INTERNAL __hidden
146
- #elif defined (__GNUC__) && defined (G_HAVE_GNUC_VISIBILITY)
147
- #define G_GNUC_INTERNAL __attribute__((visibility("hidden")))
148
- #else
149
- #define G_GNUC_INTERNAL
150
- #endif
151
-
152
- #define G_THREADS_ENABLED
153
- #define G_THREADS_IMPL_POSIX
154
-
155
- #define G_ATOMIC_LOCK_FREE
156
-
157
- #define GINT16_TO_LE(val) ((gint16) (val))
158
- #define GUINT16_TO_LE(val) ((guint16) (val))
159
- #define GINT16_TO_BE(val) ((gint16) GUINT16_SWAP_LE_BE (val))
160
- #define GUINT16_TO_BE(val) (GUINT16_SWAP_LE_BE (val))
161
-
162
- #define GINT32_TO_LE(val) ((gint32) (val))
163
- #define GUINT32_TO_LE(val) ((guint32) (val))
164
- #define GINT32_TO_BE(val) ((gint32) GUINT32_SWAP_LE_BE (val))
165
- #define GUINT32_TO_BE(val) (GUINT32_SWAP_LE_BE (val))
166
-
167
- #define GINT64_TO_LE(val) ((gint64) (val))
168
- #define GUINT64_TO_LE(val) ((guint64) (val))
169
- #define GINT64_TO_BE(val) ((gint64) GUINT64_SWAP_LE_BE (val))
170
- #define GUINT64_TO_BE(val) (GUINT64_SWAP_LE_BE (val))
171
-
172
- #define GLONG_TO_LE(val) ((glong) GINT64_TO_LE (val))
173
- #define GULONG_TO_LE(val) ((gulong) GUINT64_TO_LE (val))
174
- #define GLONG_TO_BE(val) ((glong) GINT64_TO_BE (val))
175
- #define GULONG_TO_BE(val) ((gulong) GUINT64_TO_BE (val))
176
- #define GINT_TO_LE(val) ((gint) GINT32_TO_LE (val))
177
- #define GUINT_TO_LE(val) ((guint) GUINT32_TO_LE (val))
178
- #define GINT_TO_BE(val) ((gint) GINT32_TO_BE (val))
179
- #define GUINT_TO_BE(val) ((guint) GUINT32_TO_BE (val))
180
- #define GSIZE_TO_LE(val) ((gsize) GUINT64_TO_LE (val))
181
- #define GSSIZE_TO_LE(val) ((gssize) GINT64_TO_LE (val))
182
- #define GSIZE_TO_BE(val) ((gsize) GUINT64_TO_BE (val))
183
- #define GSSIZE_TO_BE(val) ((gssize) GINT64_TO_BE (val))
184
- #define G_BYTE_ORDER G_LITTLE_ENDIAN
185
-
186
- #define GLIB_SYSDEF_POLLIN =1
187
- #define GLIB_SYSDEF_POLLOUT =4
188
- #define GLIB_SYSDEF_POLLPRI =2
189
- #define GLIB_SYSDEF_POLLHUP =16
190
- #define GLIB_SYSDEF_POLLERR =8
191
- #define GLIB_SYSDEF_POLLNVAL =32
192
-
193
- /* No way to disable deprecation warnings for macros, so only emit deprecation
194
- * warnings on platforms where usage of this macro is broken */
195
- #if defined(__APPLE__) || defined(_MSC_VER) || defined(__CYGWIN__)
196
- #define G_MODULE_SUFFIX "so" GLIB_DEPRECATED_MACRO_IN_2_76
197
- #else
198
- #define G_MODULE_SUFFIX "so"
199
- #endif
200
-
201
- typedef int GPid;
202
- #define G_PID_FORMAT "i"
203
-
204
- #define GLIB_SYSDEF_AF_UNIX 1
205
- #define GLIB_SYSDEF_AF_INET 2
206
- #define GLIB_SYSDEF_AF_INET6 10
207
-
208
- #define GLIB_SYSDEF_MSG_OOB 1
209
- #define GLIB_SYSDEF_MSG_PEEK 2
210
- #define GLIB_SYSDEF_MSG_DONTROUTE 4
211
-
212
- #define G_DIR_SEPARATOR '/'
213
- #define G_DIR_SEPARATOR_S "/"
214
- #define G_SEARCHPATH_SEPARATOR ':'
215
- #define G_SEARCHPATH_SEPARATOR_S ":"
216
-
217
- #undef G_HAVE_FREE_SIZED
218
-
219
- G_END_DECLS
220
-
221
- #endif /* __GLIBCONFIG_H__ */
@@ -1 +0,0 @@
1
- module.exports = __dirname;
@@ -1,42 +0,0 @@
1
- {
2
- "name": "@img/sharp-libvips-linux-x64",
3
- "version": "1.2.4",
4
- "description": "Prebuilt libvips and dependencies for use with sharp on Linux (glibc) x64",
5
- "author": "Lovell Fuller <npm@lovell.info>",
6
- "homepage": "https://sharp.pixelplumbing.com",
7
- "repository": {
8
- "type": "git",
9
- "url": "git+https://github.com/lovell/sharp-libvips.git",
10
- "directory": "npm/linux-x64"
11
- },
12
- "license": "LGPL-3.0-or-later",
13
- "funding": {
14
- "url": "https://opencollective.com/libvips"
15
- },
16
- "preferUnplugged": true,
17
- "publishConfig": {
18
- "access": "public"
19
- },
20
- "files": [
21
- "lib",
22
- "versions.json"
23
- ],
24
- "type": "commonjs",
25
- "exports": {
26
- "./lib": "./lib/index.js",
27
- "./package": "./package.json",
28
- "./versions": "./versions.json"
29
- },
30
- "config": {
31
- "glibc": ">=2.26"
32
- },
33
- "os": [
34
- "linux"
35
- ],
36
- "libc": [
37
- "glibc"
38
- ],
39
- "cpu": [
40
- "x64"
41
- ]
42
- }
@@ -1,30 +0,0 @@
1
- {
2
- "aom": "3.13.1",
3
- "archive": "3.8.2",
4
- "cairo": "1.18.4",
5
- "cgif": "0.5.0",
6
- "exif": "0.6.25",
7
- "expat": "2.7.3",
8
- "ffi": "3.5.2",
9
- "fontconfig": "2.17.1",
10
- "freetype": "2.14.1",
11
- "fribidi": "1.0.16",
12
- "glib": "2.86.1",
13
- "harfbuzz": "12.1.0",
14
- "heif": "1.20.2",
15
- "highway": "1.3.0",
16
- "imagequant": "2.4.1",
17
- "lcms": "2.17",
18
- "mozjpeg": "0826579",
19
- "pango": "1.57.0",
20
- "pixman": "0.46.4",
21
- "png": "1.6.50",
22
- "proxy-libintl": "0.5",
23
- "rsvg": "2.61.2",
24
- "spng": "0.7.4",
25
- "tiff": "4.7.1",
26
- "vips": "8.17.3",
27
- "webp": "1.6.0",
28
- "xml2": "2.15.1",
29
- "zlib-ng": "2.2.5"
30
- }
@@ -1,46 +0,0 @@
1
- {
2
- "name": "@img/sharp-linux-x64",
3
- "version": "0.34.5",
4
- "description": "Prebuilt sharp for use with Linux (glibc) x64",
5
- "author": "Lovell Fuller <npm@lovell.info>",
6
- "homepage": "https://sharp.pixelplumbing.com",
7
- "repository": {
8
- "type": "git",
9
- "url": "git+https://github.com/lovell/sharp.git",
10
- "directory": "npm/linux-x64"
11
- },
12
- "license": "Apache-2.0",
13
- "funding": {
14
- "url": "https://opencollective.com/libvips"
15
- },
16
- "preferUnplugged": true,
17
- "optionalDependencies": {
18
- "@img/sharp-libvips-linux-x64": "1.2.4"
19
- },
20
- "files": [
21
- "lib"
22
- ],
23
- "publishConfig": {
24
- "access": "public"
25
- },
26
- "type": "commonjs",
27
- "exports": {
28
- "./sharp.node": "./lib/sharp-linux-x64.node",
29
- "./package": "./package.json"
30
- },
31
- "engines": {
32
- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
33
- },
34
- "config": {
35
- "glibc": ">=2.26"
36
- },
37
- "os": [
38
- "linux"
39
- ],
40
- "libc": [
41
- "glibc"
42
- ],
43
- "cpu": [
44
- "x64"
45
- ]
46
- }
@@ -1,177 +0,0 @@
1
- /*!
2
- Copyright 2013 Lovell Fuller and others.
3
- SPDX-License-Identifier: Apache-2.0
4
- */
5
-
6
- const is = require('./is');
7
-
8
- /**
9
- * Boolean operations for bandbool.
10
- * @private
11
- */
12
- const bool = {
13
- and: 'and',
14
- or: 'or',
15
- eor: 'eor'
16
- };
17
-
18
- /**
19
- * Remove alpha channels, if any. This is a no-op if the image does not have an alpha channel.
20
- *
21
- * See also {@link /api-operation/#flatten flatten}.
22
- *
23
- * @example
24
- * sharp('rgba.png')
25
- * .removeAlpha()
26
- * .toFile('rgb.png', function(err, info) {
27
- * // rgb.png is a 3 channel image without an alpha channel
28
- * });
29
- *
30
- * @returns {Sharp}
31
- */
32
- function removeAlpha () {
33
- this.options.removeAlpha = true;
34
- return this;
35
- }
36
-
37
- /**
38
- * Ensure the output image has an alpha transparency channel.
39
- * If missing, the added alpha channel will have the specified
40
- * transparency level, defaulting to fully-opaque (1).
41
- * This is a no-op if the image already has an alpha channel.
42
- *
43
- * @since 0.21.2
44
- *
45
- * @example
46
- * // rgba.png will be a 4 channel image with a fully-opaque alpha channel
47
- * await sharp('rgb.jpg')
48
- * .ensureAlpha()
49
- * .toFile('rgba.png')
50
- *
51
- * @example
52
- * // rgba is a 4 channel image with a fully-transparent alpha channel
53
- * const rgba = await sharp(rgb)
54
- * .ensureAlpha(0)
55
- * .toBuffer();
56
- *
57
- * @param {number} [alpha=1] - alpha transparency level (0=fully-transparent, 1=fully-opaque)
58
- * @returns {Sharp}
59
- * @throws {Error} Invalid alpha transparency level
60
- */
61
- function ensureAlpha (alpha) {
62
- if (is.defined(alpha)) {
63
- if (is.number(alpha) && is.inRange(alpha, 0, 1)) {
64
- this.options.ensureAlpha = alpha;
65
- } else {
66
- throw is.invalidParameterError('alpha', 'number between 0 and 1', alpha);
67
- }
68
- } else {
69
- this.options.ensureAlpha = 1;
70
- }
71
- return this;
72
- }
73
-
74
- /**
75
- * Extract a single channel from a multi-channel image.
76
- *
77
- * The output colourspace will be either `b-w` (8-bit) or `grey16` (16-bit).
78
- *
79
- * @example
80
- * // green.jpg is a greyscale image containing the green channel of the input
81
- * await sharp(input)
82
- * .extractChannel('green')
83
- * .toFile('green.jpg');
84
- *
85
- * @example
86
- * // red1 is the red value of the first pixel, red2 the second pixel etc.
87
- * const [red1, red2, ...] = await sharp(input)
88
- * .extractChannel(0)
89
- * .raw()
90
- * .toBuffer();
91
- *
92
- * @param {number|string} channel - zero-indexed channel/band number to extract, or `red`, `green`, `blue` or `alpha`.
93
- * @returns {Sharp}
94
- * @throws {Error} Invalid channel
95
- */
96
- function extractChannel (channel) {
97
- const channelMap = { red: 0, green: 1, blue: 2, alpha: 3 };
98
- if (Object.keys(channelMap).includes(channel)) {
99
- channel = channelMap[channel];
100
- }
101
- if (is.integer(channel) && is.inRange(channel, 0, 4)) {
102
- this.options.extractChannel = channel;
103
- } else {
104
- throw is.invalidParameterError('channel', 'integer or one of: red, green, blue, alpha', channel);
105
- }
106
- return this;
107
- }
108
-
109
- /**
110
- * Join one or more channels to the image.
111
- * The meaning of the added channels depends on the output colourspace, set with `toColourspace()`.
112
- * By default the output image will be web-friendly sRGB, with additional channels interpreted as alpha channels.
113
- * Channel ordering follows vips convention:
114
- * - sRGB: 0: Red, 1: Green, 2: Blue, 3: Alpha.
115
- * - CMYK: 0: Magenta, 1: Cyan, 2: Yellow, 3: Black, 4: Alpha.
116
- *
117
- * Buffers may be any of the image formats supported by sharp.
118
- * For raw pixel input, the `options` object should contain a `raw` attribute, which follows the format of the attribute of the same name in the `sharp()` constructor.
119
- *
120
- * @param {Array<string|Buffer>|string|Buffer} images - one or more images (file paths, Buffers).
121
- * @param {Object} options - image options, see `sharp()` constructor.
122
- * @returns {Sharp}
123
- * @throws {Error} Invalid parameters
124
- */
125
- function joinChannel (images, options) {
126
- if (Array.isArray(images)) {
127
- images.forEach(function (image) {
128
- this.options.joinChannelIn.push(this._createInputDescriptor(image, options));
129
- }, this);
130
- } else {
131
- this.options.joinChannelIn.push(this._createInputDescriptor(images, options));
132
- }
133
- return this;
134
- }
135
-
136
- /**
137
- * Perform a bitwise boolean operation on all input image channels (bands) to produce a single channel output image.
138
- *
139
- * @example
140
- * sharp('3-channel-rgb-input.png')
141
- * .bandbool(sharp.bool.and)
142
- * .toFile('1-channel-output.png', function (err, info) {
143
- * // The output will be a single channel image where each pixel `P = R & G & B`.
144
- * // If `I(1,1) = [247, 170, 14] = [0b11110111, 0b10101010, 0b00001111]`
145
- * // then `O(1,1) = 0b11110111 & 0b10101010 & 0b00001111 = 0b00000010 = 2`.
146
- * });
147
- *
148
- * @param {string} boolOp - one of `and`, `or` or `eor` to perform that bitwise operation, like the C logic operators `&`, `|` and `^` respectively.
149
- * @returns {Sharp}
150
- * @throws {Error} Invalid parameters
151
- */
152
- function bandbool (boolOp) {
153
- if (is.string(boolOp) && is.inArray(boolOp, ['and', 'or', 'eor'])) {
154
- this.options.bandBoolOp = boolOp;
155
- } else {
156
- throw is.invalidParameterError('boolOp', 'one of: and, or, eor', boolOp);
157
- }
158
- return this;
159
- }
160
-
161
- /**
162
- * Decorate the Sharp prototype with channel-related functions.
163
- * @module Sharp
164
- * @private
165
- */
166
- module.exports = (Sharp) => {
167
- Object.assign(Sharp.prototype, {
168
- // Public instance functions
169
- removeAlpha,
170
- ensureAlpha,
171
- extractChannel,
172
- joinChannel,
173
- bandbool
174
- });
175
- // Class attributes
176
- Sharp.bool = bool;
177
- };