openportal 0.1.0 → 0.1.1

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 (99) hide show
  1. package/package.json +10 -4
  2. package/web/.next/static/{b-zSCTvx5IzLyCj7s91p4 → A7pW-dtFIbPCSkvE8uenX}/_buildManifest.js +5 -5
  3. package/web/.next/static/chunks/{d3520c0622de77ff.js → 2e7bfb90c343ca96.js} +2 -2
  4. package/web/.next/static/chunks/{c2c14edbf40dd531.js → 8f80b41262ef70b6.js} +1 -1
  5. package/web/.next/static/chunks/{6ed981794a42d949.js → 967a1e0002fe9ae6.js} +2 -2
  6. package/web/.next/static/chunks/{688448a61fbd7d50.js → 9b265e2198b5525f.js} +2 -2
  7. package/web/.next/static/chunks/{c617a4c7a78d4946.js → aebf799dac29fe08.js} +2 -2
  8. package/web/.next/static/chunks/{d091e73f46572c38.js → c20ae04df8cc28be.js} +2 -2
  9. package/web/.next/static/chunks/{fe47781ce8074a57.js → d316d63225992c76.js} +2 -2
  10. package/web/.next/static/chunks/{turbopack-f44fd3803d0d6727.js → turbopack-1837909a677d116b.js} +1 -1
  11. package/web/.next/static/chunks/{turbopack-03c9848eaf268db1.js → turbopack-26688626142ac58f.js} +1 -1
  12. package/web/.next/static/chunks/{turbopack-bc49f2e78bf92fdb.js → turbopack-27558c851386934e.js} +1 -1
  13. package/web/.next/static/chunks/{turbopack-d90c5e114da5fc51.js → turbopack-92c911b9efda2756.js} +1 -1
  14. package/web/.next/static/chunks/{turbopack-ededbd49a3a234ea.js → turbopack-c40ec6674624f1d7.js} +1 -1
  15. package/web/.next/static/chunks/{turbopack-b3b62a2520d01d7e.js → turbopack-f4c0881f9723f5a5.js} +1 -1
  16. package/web/apps/web/.next/BUILD_ID +1 -1
  17. package/web/apps/web/.next/build-manifest.json +14 -14
  18. package/web/apps/web/.next/required-server-files.json +1 -1
  19. package/web/apps/web/.next/server/middleware-build-manifest.js +12 -12
  20. package/web/apps/web/.next/server/pages/404.html +1 -1
  21. package/web/apps/web/.next/server/pages/500.html +1 -1
  22. package/web/apps/web/.next/server/pages/_app/build-manifest.json +2 -2
  23. package/web/apps/web/.next/server/pages/_app/client-build-manifest.json +1 -1
  24. package/web/apps/web/.next/server/pages/_error/build-manifest.json +2 -2
  25. package/web/apps/web/.next/server/pages/_error/client-build-manifest.json +1 -1
  26. package/web/apps/web/.next/server/pages/index/build-manifest.json +2 -2
  27. package/web/apps/web/.next/server/pages/index/client-build-manifest.json +1 -1
  28. package/web/apps/web/.next/server/pages/index.html +1 -1
  29. package/web/apps/web/.next/server/pages/session/[id]/build-manifest.json +2 -2
  30. package/web/apps/web/.next/server/pages/session/[id]/client-build-manifest.json +1 -1
  31. package/web/apps/web/.next/server/pages/session/[id].html +1 -1
  32. package/web/apps/web/.next/server/pages/settings/build-manifest.json +2 -2
  33. package/web/apps/web/.next/server/pages/settings/client-build-manifest.json +1 -1
  34. package/web/apps/web/.next/server/pages/settings.html +1 -1
  35. package/web/apps/web/.next/server/pages/terminal/build-manifest.json +2 -2
  36. package/web/apps/web/.next/server/pages/terminal/client-build-manifest.json +1 -1
  37. package/web/apps/web/.next/server/pages/terminal.html +1 -1
  38. package/web/apps/web/server.js +1 -1
  39. package/web/node_modules/.bun/@img+colour@1.0.0/node_modules/@img/colour/color.cjs +0 -1594
  40. package/web/node_modules/.bun/@img+colour@1.0.0/node_modules/@img/colour/index.cjs +0 -1
  41. package/web/node_modules/.bun/@img+colour@1.0.0/node_modules/@img/colour/package.json +0 -45
  42. package/web/node_modules/.bun/@img+sharp-darwin-arm64@0.34.5/node_modules/@img/sharp-darwin-arm64/lib/sharp-darwin-arm64.node +0 -0
  43. package/web/node_modules/.bun/@img+sharp-darwin-arm64@0.34.5/node_modules/@img/sharp-darwin-arm64/package.json +0 -40
  44. package/web/node_modules/.bun/@img+sharp-libvips-darwin-arm64@1.2.4/node_modules/@img/sharp-libvips-darwin-arm64/README.md +0 -46
  45. package/web/node_modules/.bun/@img+sharp-libvips-darwin-arm64@1.2.4/node_modules/@img/sharp-libvips-darwin-arm64/lib/glib-2.0/include/glibconfig.h +0 -220
  46. package/web/node_modules/.bun/@img+sharp-libvips-darwin-arm64@1.2.4/node_modules/@img/sharp-libvips-darwin-arm64/lib/index.js +0 -1
  47. package/web/node_modules/.bun/@img+sharp-libvips-darwin-arm64@1.2.4/node_modules/@img/sharp-libvips-darwin-arm64/lib/libvips-cpp.8.17.3.dylib +0 -0
  48. package/web/node_modules/.bun/@img+sharp-libvips-darwin-arm64@1.2.4/node_modules/@img/sharp-libvips-darwin-arm64/package.json +0 -36
  49. package/web/node_modules/.bun/@img+sharp-libvips-darwin-arm64@1.2.4/node_modules/@img/sharp-libvips-darwin-arm64/versions.json +0 -30
  50. package/web/node_modules/.bun/@swc+helpers@0.5.15/node_modules/@swc/helpers/cjs/_interop_require_default.cjs +0 -6
  51. package/web/node_modules/.bun/@swc+helpers@0.5.15/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs +0 -38
  52. package/web/node_modules/.bun/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_check_private_redeclaration.js +0 -6
  53. package/web/node_modules/.bun/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_class_apply_descriptor_get.js +0 -6
  54. package/web/node_modules/.bun/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_class_apply_descriptor_set.js +0 -13
  55. package/web/node_modules/.bun/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_class_extract_field_descriptor.js +0 -6
  56. package/web/node_modules/.bun/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_class_private_field_get.js +0 -8
  57. package/web/node_modules/.bun/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_class_private_field_init.js +0 -7
  58. package/web/node_modules/.bun/@swc+helpers@0.5.15/node_modules/@swc/helpers/esm/_class_private_field_set.js +0 -9
  59. package/web/node_modules/.bun/@swc+helpers@0.5.15/node_modules/@swc/helpers/package.json +0 -471
  60. package/web/node_modules/.bun/sharp@0.34.5/node_modules/sharp/lib/channel.js +0 -177
  61. package/web/node_modules/.bun/sharp@0.34.5/node_modules/sharp/lib/colour.js +0 -195
  62. package/web/node_modules/.bun/sharp@0.34.5/node_modules/sharp/lib/composite.js +0 -212
  63. package/web/node_modules/.bun/sharp@0.34.5/node_modules/sharp/lib/constructor.js +0 -499
  64. package/web/node_modules/.bun/sharp@0.34.5/node_modules/sharp/lib/index.js +0 -16
  65. package/web/node_modules/.bun/sharp@0.34.5/node_modules/sharp/lib/input.js +0 -809
  66. package/web/node_modules/.bun/sharp@0.34.5/node_modules/sharp/lib/is.js +0 -143
  67. package/web/node_modules/.bun/sharp@0.34.5/node_modules/sharp/lib/libvips.js +0 -207
  68. package/web/node_modules/.bun/sharp@0.34.5/node_modules/sharp/lib/operation.js +0 -1016
  69. package/web/node_modules/.bun/sharp@0.34.5/node_modules/sharp/lib/output.js +0 -1666
  70. package/web/node_modules/.bun/sharp@0.34.5/node_modules/sharp/lib/resize.js +0 -595
  71. package/web/node_modules/.bun/sharp@0.34.5/node_modules/sharp/lib/sharp.js +0 -121
  72. package/web/node_modules/.bun/sharp@0.34.5/node_modules/sharp/lib/utility.js +0 -291
  73. package/web/node_modules/.bun/sharp@0.34.5/node_modules/sharp/package.json +0 -202
  74. package/web/node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/_tsc.js +0 -133818
  75. package/web/node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/_tsserver.js +0 -659
  76. package/web/node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/_typingsInstaller.js +0 -222
  77. package/web/node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +0 -2122
  78. package/web/node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/de/diagnosticMessages.generated.json +0 -2122
  79. package/web/node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/es/diagnosticMessages.generated.json +0 -2122
  80. package/web/node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +0 -2122
  81. package/web/node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/it/diagnosticMessages.generated.json +0 -2122
  82. package/web/node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +0 -2122
  83. package/web/node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +0 -2122
  84. package/web/node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +0 -2122
  85. package/web/node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +0 -2122
  86. package/web/node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +0 -2122
  87. package/web/node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +0 -2122
  88. package/web/node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/tsc.js +0 -8
  89. package/web/node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/tsserver.js +0 -8
  90. package/web/node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/tsserverlibrary.js +0 -21
  91. package/web/node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/typesMap.json +0 -497
  92. package/web/node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/typescript.js +0 -200276
  93. package/web/node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/typingsInstaller.js +0 -8
  94. package/web/node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/watchGuard.js +0 -53
  95. package/web/node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +0 -2122
  96. package/web/node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +0 -2122
  97. package/web/node_modules/.bun/typescript@5.9.3/node_modules/typescript/package.json +0 -120
  98. /package/web/.next/static/{b-zSCTvx5IzLyCj7s91p4 → A7pW-dtFIbPCSkvE8uenX}/_clientMiddlewareManifest.json +0 -0
  99. /package/web/.next/static/{b-zSCTvx5IzLyCj7s91p4 → A7pW-dtFIbPCSkvE8uenX}/_ssgManifest.js +0 -0
@@ -1,471 +0,0 @@
1
- {
2
- "name": "@swc/helpers",
3
- "packageManager": "yarn@4.0.2",
4
- "version": "0.5.15",
5
- "description": "External helpers for the swc project.",
6
- "module": "esm/index.js",
7
- "main": "cjs/index.cjs",
8
- "sideEffects": false,
9
- "scripts": {
10
- "build": "zx ./scripts/build.js",
11
- "prepack": "zx ./scripts/build.js"
12
- },
13
- "repository": {
14
- "type": "git",
15
- "url": "git+https://github.com/swc-project/swc.git"
16
- },
17
- "publishConfig": {
18
- "registry": "https://registry.npmjs.org/",
19
- "access": "public"
20
- },
21
- "keywords": [
22
- "swc",
23
- "helpers"
24
- ],
25
- "author": "강동윤 <kdy1997.dev@gmail.com>",
26
- "license": "Apache-2.0",
27
- "bugs": {
28
- "url": "https://github.com/swc-project/swc/issues"
29
- },
30
- "homepage": "https://swc.rs",
31
- "type": "module",
32
- "devDependencies": {
33
- "@ast-grep/napi": "^0.3.1",
34
- "dprint": "^0.35.3",
35
- "magic-string": "^0.30.0",
36
- "zx": "^7.2.1"
37
- },
38
- "dependencies": {
39
- "tslib": "^2.8.0"
40
- },
41
- "exports": {
42
- "./package.json": "./package.json",
43
- "./esm/*": "./esm/*",
44
- "./cjs/*": "./cjs/*",
45
- "./src/*": "./src/*",
46
- ".": {
47
- "import": "./esm/index.js",
48
- "default": "./cjs/index.cjs"
49
- },
50
- "./_": {
51
- "import": "./esm/index.js",
52
- "default": "./cjs/index.cjs"
53
- },
54
- "./_/_apply_decorated_descriptor": {
55
- "import": "./esm/_apply_decorated_descriptor.js",
56
- "default": "./cjs/_apply_decorated_descriptor.cjs"
57
- },
58
- "./_/_apply_decs_2203_r": {
59
- "import": "./esm/_apply_decs_2203_r.js",
60
- "default": "./cjs/_apply_decs_2203_r.cjs"
61
- },
62
- "./_/_array_like_to_array": {
63
- "import": "./esm/_array_like_to_array.js",
64
- "default": "./cjs/_array_like_to_array.cjs"
65
- },
66
- "./_/_array_with_holes": {
67
- "import": "./esm/_array_with_holes.js",
68
- "default": "./cjs/_array_with_holes.cjs"
69
- },
70
- "./_/_array_without_holes": {
71
- "import": "./esm/_array_without_holes.js",
72
- "default": "./cjs/_array_without_holes.cjs"
73
- },
74
- "./_/_assert_this_initialized": {
75
- "import": "./esm/_assert_this_initialized.js",
76
- "default": "./cjs/_assert_this_initialized.cjs"
77
- },
78
- "./_/_async_generator": {
79
- "import": "./esm/_async_generator.js",
80
- "default": "./cjs/_async_generator.cjs"
81
- },
82
- "./_/_async_generator_delegate": {
83
- "import": "./esm/_async_generator_delegate.js",
84
- "default": "./cjs/_async_generator_delegate.cjs"
85
- },
86
- "./_/_async_iterator": {
87
- "import": "./esm/_async_iterator.js",
88
- "default": "./cjs/_async_iterator.cjs"
89
- },
90
- "./_/_async_to_generator": {
91
- "import": "./esm/_async_to_generator.js",
92
- "default": "./cjs/_async_to_generator.cjs"
93
- },
94
- "./_/_await_async_generator": {
95
- "import": "./esm/_await_async_generator.js",
96
- "default": "./cjs/_await_async_generator.cjs"
97
- },
98
- "./_/_await_value": {
99
- "import": "./esm/_await_value.js",
100
- "default": "./cjs/_await_value.cjs"
101
- },
102
- "./_/_call_super": {
103
- "import": "./esm/_call_super.js",
104
- "default": "./cjs/_call_super.cjs"
105
- },
106
- "./_/_check_private_redeclaration": {
107
- "import": "./esm/_check_private_redeclaration.js",
108
- "default": "./cjs/_check_private_redeclaration.cjs"
109
- },
110
- "./_/_class_apply_descriptor_destructure": {
111
- "import": "./esm/_class_apply_descriptor_destructure.js",
112
- "default": "./cjs/_class_apply_descriptor_destructure.cjs"
113
- },
114
- "./_/_class_apply_descriptor_get": {
115
- "import": "./esm/_class_apply_descriptor_get.js",
116
- "default": "./cjs/_class_apply_descriptor_get.cjs"
117
- },
118
- "./_/_class_apply_descriptor_set": {
119
- "import": "./esm/_class_apply_descriptor_set.js",
120
- "default": "./cjs/_class_apply_descriptor_set.cjs"
121
- },
122
- "./_/_class_apply_descriptor_update": {
123
- "import": "./esm/_class_apply_descriptor_update.js",
124
- "default": "./cjs/_class_apply_descriptor_update.cjs"
125
- },
126
- "./_/_class_call_check": {
127
- "import": "./esm/_class_call_check.js",
128
- "default": "./cjs/_class_call_check.cjs"
129
- },
130
- "./_/_class_check_private_static_access": {
131
- "import": "./esm/_class_check_private_static_access.js",
132
- "default": "./cjs/_class_check_private_static_access.cjs"
133
- },
134
- "./_/_class_check_private_static_field_descriptor": {
135
- "import": "./esm/_class_check_private_static_field_descriptor.js",
136
- "default": "./cjs/_class_check_private_static_field_descriptor.cjs"
137
- },
138
- "./_/_class_extract_field_descriptor": {
139
- "import": "./esm/_class_extract_field_descriptor.js",
140
- "default": "./cjs/_class_extract_field_descriptor.cjs"
141
- },
142
- "./_/_class_name_tdz_error": {
143
- "import": "./esm/_class_name_tdz_error.js",
144
- "default": "./cjs/_class_name_tdz_error.cjs"
145
- },
146
- "./_/_class_private_field_destructure": {
147
- "import": "./esm/_class_private_field_destructure.js",
148
- "default": "./cjs/_class_private_field_destructure.cjs"
149
- },
150
- "./_/_class_private_field_get": {
151
- "import": "./esm/_class_private_field_get.js",
152
- "default": "./cjs/_class_private_field_get.cjs"
153
- },
154
- "./_/_class_private_field_init": {
155
- "import": "./esm/_class_private_field_init.js",
156
- "default": "./cjs/_class_private_field_init.cjs"
157
- },
158
- "./_/_class_private_field_loose_base": {
159
- "import": "./esm/_class_private_field_loose_base.js",
160
- "default": "./cjs/_class_private_field_loose_base.cjs"
161
- },
162
- "./_/_class_private_field_loose_key": {
163
- "import": "./esm/_class_private_field_loose_key.js",
164
- "default": "./cjs/_class_private_field_loose_key.cjs"
165
- },
166
- "./_/_class_private_field_set": {
167
- "import": "./esm/_class_private_field_set.js",
168
- "default": "./cjs/_class_private_field_set.cjs"
169
- },
170
- "./_/_class_private_field_update": {
171
- "import": "./esm/_class_private_field_update.js",
172
- "default": "./cjs/_class_private_field_update.cjs"
173
- },
174
- "./_/_class_private_method_get": {
175
- "import": "./esm/_class_private_method_get.js",
176
- "default": "./cjs/_class_private_method_get.cjs"
177
- },
178
- "./_/_class_private_method_init": {
179
- "import": "./esm/_class_private_method_init.js",
180
- "default": "./cjs/_class_private_method_init.cjs"
181
- },
182
- "./_/_class_private_method_set": {
183
- "import": "./esm/_class_private_method_set.js",
184
- "default": "./cjs/_class_private_method_set.cjs"
185
- },
186
- "./_/_class_static_private_field_destructure": {
187
- "import": "./esm/_class_static_private_field_destructure.js",
188
- "default": "./cjs/_class_static_private_field_destructure.cjs"
189
- },
190
- "./_/_class_static_private_field_spec_get": {
191
- "import": "./esm/_class_static_private_field_spec_get.js",
192
- "default": "./cjs/_class_static_private_field_spec_get.cjs"
193
- },
194
- "./_/_class_static_private_field_spec_set": {
195
- "import": "./esm/_class_static_private_field_spec_set.js",
196
- "default": "./cjs/_class_static_private_field_spec_set.cjs"
197
- },
198
- "./_/_class_static_private_field_update": {
199
- "import": "./esm/_class_static_private_field_update.js",
200
- "default": "./cjs/_class_static_private_field_update.cjs"
201
- },
202
- "./_/_class_static_private_method_get": {
203
- "import": "./esm/_class_static_private_method_get.js",
204
- "default": "./cjs/_class_static_private_method_get.cjs"
205
- },
206
- "./_/_construct": {
207
- "import": "./esm/_construct.js",
208
- "default": "./cjs/_construct.cjs"
209
- },
210
- "./_/_create_class": {
211
- "import": "./esm/_create_class.js",
212
- "default": "./cjs/_create_class.cjs"
213
- },
214
- "./_/_create_for_of_iterator_helper_loose": {
215
- "import": "./esm/_create_for_of_iterator_helper_loose.js",
216
- "default": "./cjs/_create_for_of_iterator_helper_loose.cjs"
217
- },
218
- "./_/_create_super": {
219
- "import": "./esm/_create_super.js",
220
- "default": "./cjs/_create_super.cjs"
221
- },
222
- "./_/_decorate": {
223
- "import": "./esm/_decorate.js",
224
- "default": "./cjs/_decorate.cjs"
225
- },
226
- "./_/_defaults": {
227
- "import": "./esm/_defaults.js",
228
- "default": "./cjs/_defaults.cjs"
229
- },
230
- "./_/_define_enumerable_properties": {
231
- "import": "./esm/_define_enumerable_properties.js",
232
- "default": "./cjs/_define_enumerable_properties.cjs"
233
- },
234
- "./_/_define_property": {
235
- "import": "./esm/_define_property.js",
236
- "default": "./cjs/_define_property.cjs"
237
- },
238
- "./_/_dispose": {
239
- "import": "./esm/_dispose.js",
240
- "default": "./cjs/_dispose.cjs"
241
- },
242
- "./_/_export_star": {
243
- "import": "./esm/_export_star.js",
244
- "default": "./cjs/_export_star.cjs"
245
- },
246
- "./_/_extends": {
247
- "import": "./esm/_extends.js",
248
- "default": "./cjs/_extends.cjs"
249
- },
250
- "./_/_get": {
251
- "import": "./esm/_get.js",
252
- "default": "./cjs/_get.cjs"
253
- },
254
- "./_/_get_prototype_of": {
255
- "import": "./esm/_get_prototype_of.js",
256
- "default": "./cjs/_get_prototype_of.cjs"
257
- },
258
- "./_/_identity": {
259
- "import": "./esm/_identity.js",
260
- "default": "./cjs/_identity.cjs"
261
- },
262
- "./_/_inherits": {
263
- "import": "./esm/_inherits.js",
264
- "default": "./cjs/_inherits.cjs"
265
- },
266
- "./_/_inherits_loose": {
267
- "import": "./esm/_inherits_loose.js",
268
- "default": "./cjs/_inherits_loose.cjs"
269
- },
270
- "./_/_initializer_define_property": {
271
- "import": "./esm/_initializer_define_property.js",
272
- "default": "./cjs/_initializer_define_property.cjs"
273
- },
274
- "./_/_initializer_warning_helper": {
275
- "import": "./esm/_initializer_warning_helper.js",
276
- "default": "./cjs/_initializer_warning_helper.cjs"
277
- },
278
- "./_/_instanceof": {
279
- "import": "./esm/_instanceof.js",
280
- "default": "./cjs/_instanceof.cjs"
281
- },
282
- "./_/_interop_require_default": {
283
- "import": "./esm/_interop_require_default.js",
284
- "default": "./cjs/_interop_require_default.cjs"
285
- },
286
- "./_/_interop_require_wildcard": {
287
- "import": "./esm/_interop_require_wildcard.js",
288
- "default": "./cjs/_interop_require_wildcard.cjs"
289
- },
290
- "./_/_is_native_function": {
291
- "import": "./esm/_is_native_function.js",
292
- "default": "./cjs/_is_native_function.cjs"
293
- },
294
- "./_/_is_native_reflect_construct": {
295
- "import": "./esm/_is_native_reflect_construct.js",
296
- "default": "./cjs/_is_native_reflect_construct.cjs"
297
- },
298
- "./_/_iterable_to_array": {
299
- "import": "./esm/_iterable_to_array.js",
300
- "default": "./cjs/_iterable_to_array.cjs"
301
- },
302
- "./_/_iterable_to_array_limit": {
303
- "import": "./esm/_iterable_to_array_limit.js",
304
- "default": "./cjs/_iterable_to_array_limit.cjs"
305
- },
306
- "./_/_iterable_to_array_limit_loose": {
307
- "import": "./esm/_iterable_to_array_limit_loose.js",
308
- "default": "./cjs/_iterable_to_array_limit_loose.cjs"
309
- },
310
- "./_/_jsx": {
311
- "import": "./esm/_jsx.js",
312
- "default": "./cjs/_jsx.cjs"
313
- },
314
- "./_/_new_arrow_check": {
315
- "import": "./esm/_new_arrow_check.js",
316
- "default": "./cjs/_new_arrow_check.cjs"
317
- },
318
- "./_/_non_iterable_rest": {
319
- "import": "./esm/_non_iterable_rest.js",
320
- "default": "./cjs/_non_iterable_rest.cjs"
321
- },
322
- "./_/_non_iterable_spread": {
323
- "import": "./esm/_non_iterable_spread.js",
324
- "default": "./cjs/_non_iterable_spread.cjs"
325
- },
326
- "./_/_object_destructuring_empty": {
327
- "import": "./esm/_object_destructuring_empty.js",
328
- "default": "./cjs/_object_destructuring_empty.cjs"
329
- },
330
- "./_/_object_spread": {
331
- "import": "./esm/_object_spread.js",
332
- "default": "./cjs/_object_spread.cjs"
333
- },
334
- "./_/_object_spread_props": {
335
- "import": "./esm/_object_spread_props.js",
336
- "default": "./cjs/_object_spread_props.cjs"
337
- },
338
- "./_/_object_without_properties": {
339
- "import": "./esm/_object_without_properties.js",
340
- "default": "./cjs/_object_without_properties.cjs"
341
- },
342
- "./_/_object_without_properties_loose": {
343
- "import": "./esm/_object_without_properties_loose.js",
344
- "default": "./cjs/_object_without_properties_loose.cjs"
345
- },
346
- "./_/_possible_constructor_return": {
347
- "import": "./esm/_possible_constructor_return.js",
348
- "default": "./cjs/_possible_constructor_return.cjs"
349
- },
350
- "./_/_read_only_error": {
351
- "import": "./esm/_read_only_error.js",
352
- "default": "./cjs/_read_only_error.cjs"
353
- },
354
- "./_/_set": {
355
- "import": "./esm/_set.js",
356
- "default": "./cjs/_set.cjs"
357
- },
358
- "./_/_set_prototype_of": {
359
- "import": "./esm/_set_prototype_of.js",
360
- "default": "./cjs/_set_prototype_of.cjs"
361
- },
362
- "./_/_skip_first_generator_next": {
363
- "import": "./esm/_skip_first_generator_next.js",
364
- "default": "./cjs/_skip_first_generator_next.cjs"
365
- },
366
- "./_/_sliced_to_array": {
367
- "import": "./esm/_sliced_to_array.js",
368
- "default": "./cjs/_sliced_to_array.cjs"
369
- },
370
- "./_/_sliced_to_array_loose": {
371
- "import": "./esm/_sliced_to_array_loose.js",
372
- "default": "./cjs/_sliced_to_array_loose.cjs"
373
- },
374
- "./_/_super_prop_base": {
375
- "import": "./esm/_super_prop_base.js",
376
- "default": "./cjs/_super_prop_base.cjs"
377
- },
378
- "./_/_tagged_template_literal": {
379
- "import": "./esm/_tagged_template_literal.js",
380
- "default": "./cjs/_tagged_template_literal.cjs"
381
- },
382
- "./_/_tagged_template_literal_loose": {
383
- "import": "./esm/_tagged_template_literal_loose.js",
384
- "default": "./cjs/_tagged_template_literal_loose.cjs"
385
- },
386
- "./_/_throw": {
387
- "import": "./esm/_throw.js",
388
- "default": "./cjs/_throw.cjs"
389
- },
390
- "./_/_to_array": {
391
- "import": "./esm/_to_array.js",
392
- "default": "./cjs/_to_array.cjs"
393
- },
394
- "./_/_to_consumable_array": {
395
- "import": "./esm/_to_consumable_array.js",
396
- "default": "./cjs/_to_consumable_array.cjs"
397
- },
398
- "./_/_to_primitive": {
399
- "import": "./esm/_to_primitive.js",
400
- "default": "./cjs/_to_primitive.cjs"
401
- },
402
- "./_/_to_property_key": {
403
- "import": "./esm/_to_property_key.js",
404
- "default": "./cjs/_to_property_key.cjs"
405
- },
406
- "./_/_ts_add_disposable_resource": {
407
- "import": "./esm/_ts_add_disposable_resource.js",
408
- "default": "./cjs/_ts_add_disposable_resource.cjs"
409
- },
410
- "./_/_ts_decorate": {
411
- "import": "./esm/_ts_decorate.js",
412
- "default": "./cjs/_ts_decorate.cjs"
413
- },
414
- "./_/_ts_dispose_resources": {
415
- "import": "./esm/_ts_dispose_resources.js",
416
- "default": "./cjs/_ts_dispose_resources.cjs"
417
- },
418
- "./_/_ts_generator": {
419
- "import": "./esm/_ts_generator.js",
420
- "default": "./cjs/_ts_generator.cjs"
421
- },
422
- "./_/_ts_metadata": {
423
- "import": "./esm/_ts_metadata.js",
424
- "default": "./cjs/_ts_metadata.cjs"
425
- },
426
- "./_/_ts_param": {
427
- "import": "./esm/_ts_param.js",
428
- "default": "./cjs/_ts_param.cjs"
429
- },
430
- "./_/_ts_values": {
431
- "import": "./esm/_ts_values.js",
432
- "default": "./cjs/_ts_values.cjs"
433
- },
434
- "./_/_type_of": {
435
- "import": "./esm/_type_of.js",
436
- "default": "./cjs/_type_of.cjs"
437
- },
438
- "./_/_unsupported_iterable_to_array": {
439
- "import": "./esm/_unsupported_iterable_to_array.js",
440
- "default": "./cjs/_unsupported_iterable_to_array.cjs"
441
- },
442
- "./_/_update": {
443
- "import": "./esm/_update.js",
444
- "default": "./cjs/_update.cjs"
445
- },
446
- "./_/_using": {
447
- "import": "./esm/_using.js",
448
- "default": "./cjs/_using.cjs"
449
- },
450
- "./_/_using_ctx": {
451
- "import": "./esm/_using_ctx.js",
452
- "default": "./cjs/_using_ctx.cjs"
453
- },
454
- "./_/_wrap_async_generator": {
455
- "import": "./esm/_wrap_async_generator.js",
456
- "default": "./cjs/_wrap_async_generator.cjs"
457
- },
458
- "./_/_wrap_native_super": {
459
- "import": "./esm/_wrap_native_super.js",
460
- "default": "./cjs/_wrap_native_super.cjs"
461
- },
462
- "./_/_write_only_error": {
463
- "import": "./esm/_write_only_error.js",
464
- "default": "./cjs/_write_only_error.cjs"
465
- },
466
- "./_/index": {
467
- "import": "./esm/index.js",
468
- "default": "./cjs/index.cjs"
469
- }
470
- }
471
- }
@@ -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
- };