@d0paminedriven/fs 9.0.0 → 10.0.0
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/dist/{chunk-6R36YN3W.js → chunk-5CACVZVF.js} +2 -2
- package/dist/{chunk-Q6QZ5XEP.js → chunk-5H6GE5AO.js} +1 -1
- package/dist/{chunk-SVEJJM2H.js → chunk-7JQ56XIH.js} +56 -34
- package/dist/{chunk-O2L4VG4G.js → chunk-7LOAFIZM.js} +8 -8
- package/dist/{chunk-ZQRB46YA.js → chunk-DNR5ZI2T.js} +3 -3
- package/dist/{chunk-PHTZ7NRL.js → chunk-L2QMQOEJ.js} +23 -14
- package/dist/{chunk-UW52DMHT.js → chunk-NJHN5OE3.js} +2 -2
- package/dist/{chunk-CTSJFQMC.js → chunk-OHKRQJZH.js} +24 -11
- package/dist/{chunk-6HHKXBIM.js → chunk-OT5JEQKW.js} +2 -2
- package/dist/{chunk-QKZIGBLD.js → chunk-PATMSIQK.js} +3 -3
- package/dist/{chunk-Z2WZLZC4.js → chunk-PB5A7ZFD.js} +6 -2
- package/dist/{chunk-I4ITMOIV.js → chunk-VDKUXJE7.js} +2 -2
- package/dist/{chunk-TUY7Y4DL.js → chunk-Y5QWE4EG.js} +6 -6
- package/dist/{chunk-3RC3WC7A.js → chunk-YRCJWFZD.js} +2 -2
- package/dist/fs/index.d.ts +3 -132
- package/dist/fs/index.js +14 -14
- package/dist/fs-atomic/index.d.ts +2 -1
- package/dist/fs-atomic/index.js +8 -8
- package/dist/fs-base/index.d.ts +2 -1
- package/dist/fs-base/index.js +7 -7
- package/dist/fs-core/index.d.ts +6 -4
- package/dist/fs-core/index.js +11 -11
- package/dist/fs-fetch/index.d.ts +5 -4
- package/dist/fs-fetch/index.js +13 -13
- package/dist/fs-size/index.d.ts +2 -1
- package/dist/fs-size/index.js +10 -10
- package/dist/fs-tmp/index.d.ts +5 -4
- package/dist/fs-tmp/index.js +12 -12
- package/dist/image/index.d.ts +7 -266
- package/dist/image/index.js +6 -6
- package/dist/image/workup.d.ts +2 -1
- package/dist/image/workup.js +5 -5
- package/dist/index.d.ts +3 -2
- package/dist/index.js +14 -14
- package/dist/ld/index.d.ts +4 -1
- package/dist/ld/index.js +1 -1
- package/dist/mime/index.d.ts +47 -28
- package/dist/mime/index.js +4 -4
- package/dist/types/index.d.ts +13 -16
- package/dist/types/index.js +1 -1
- package/dist/url/index.d.ts +2 -1
- package/dist/url/index.js +3 -3
- package/dist/utils/index.d.ts +2 -1
- package/dist/utils/index.js +2 -2
- package/package.json +4 -3
package/dist/image/index.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import * as _d0paminedriven_metadata from '@d0paminedriven/metadata';
|
|
1
2
|
import { Readable } from 'node:stream';
|
|
2
3
|
import { ImageSpecs } from '../types/index.js';
|
|
3
4
|
import { ImageServiceWorkup } from './workup.js';
|
|
4
5
|
import 'stream';
|
|
5
|
-
import '
|
|
6
|
+
import 'fs';
|
|
6
7
|
import '../mime/index.js';
|
|
7
8
|
import '../url/index.js';
|
|
8
9
|
import '../utils/index.js';
|
|
@@ -32,280 +33,20 @@ declare class ImageService extends ImageServiceWorkup {
|
|
|
32
33
|
private extractBMPFromBuffer;
|
|
33
34
|
private extractWebPFromBuffer;
|
|
34
35
|
private extractAVIFFromBuffer;
|
|
35
|
-
extractViaStream(stream: Readable, size?: number): Promise<
|
|
36
|
-
|
|
37
|
-
height: number;
|
|
38
|
-
format: "apng" | "png";
|
|
39
|
-
frames: number;
|
|
40
|
-
animated: boolean;
|
|
41
|
-
hasAlpha: boolean;
|
|
42
|
-
colorModel: "unknown" | "rgb" | "rgba" | "grayscale" | "grayscale-alpha" | "indexed";
|
|
43
|
-
orientation: null;
|
|
44
|
-
aspectRatio: number;
|
|
45
|
-
colorSpace: "unknown" | "cmyk" | "lab" | "srgb" | "display_p3" | "adobe_rgb" | "prophoto_rgb" | "rec2020" | "rec709" | "xyz" | "gray";
|
|
46
|
-
iccProfile: string | null;
|
|
47
|
-
exifDateTimeOriginal: string | null;
|
|
48
|
-
} | {
|
|
49
|
-
width: number;
|
|
50
|
-
height: number;
|
|
51
|
-
format: "jpeg";
|
|
52
|
-
frames: number;
|
|
53
|
-
animated: false;
|
|
54
|
-
hasAlpha: false;
|
|
55
|
-
orientation: number | null;
|
|
56
|
-
aspectRatio: number;
|
|
57
|
-
colorSpace: "unknown" | "cmyk" | "lab" | "srgb" | "display_p3" | "adobe_rgb" | "prophoto_rgb" | "rec2020" | "rec709" | "xyz" | "gray";
|
|
58
|
-
colorModel: "unknown" | "rgb" | "rgba" | "grayscale" | "grayscale-alpha" | "indexed" | "cmyk" | "ycbcr" | "ycck" | "vector" | "lab";
|
|
59
|
-
iccProfile: string | null;
|
|
60
|
-
exifDateTimeOriginal: string | null;
|
|
61
|
-
} | {
|
|
62
|
-
width: number;
|
|
63
|
-
height: number;
|
|
64
|
-
format: "gif";
|
|
65
|
-
frames: number;
|
|
66
|
-
animated: boolean;
|
|
67
|
-
hasAlpha: null;
|
|
68
|
-
orientation: null;
|
|
69
|
-
aspectRatio: number;
|
|
70
|
-
colorModel: "indexed";
|
|
71
|
-
colorSpace: "unknown";
|
|
72
|
-
iccProfile: null;
|
|
73
|
-
exifDateTimeOriginal: null;
|
|
74
|
-
} | {
|
|
75
|
-
width: number;
|
|
76
|
-
height: number;
|
|
77
|
-
format: "bmp";
|
|
78
|
-
frames: number;
|
|
79
|
-
animated: false;
|
|
80
|
-
hasAlpha: null;
|
|
81
|
-
orientation: number;
|
|
82
|
-
aspectRatio: number;
|
|
83
|
-
colorModel: "unknown" | "rgb" | "rgba" | "grayscale" | "grayscale-alpha" | "indexed" | "cmyk" | "ycbcr" | "ycck" | "vector" | "lab";
|
|
84
|
-
colorSpace: "unknown";
|
|
85
|
-
iccProfile: null;
|
|
86
|
-
exifDateTimeOriginal: null;
|
|
87
|
-
} | {
|
|
88
|
-
width: number;
|
|
89
|
-
height: number;
|
|
90
|
-
format: "webp";
|
|
91
|
-
frames: number;
|
|
92
|
-
animated: boolean;
|
|
93
|
-
hasAlpha: boolean;
|
|
94
|
-
colorModel: "unknown" | "rgb" | "rgba";
|
|
95
|
-
orientation: null;
|
|
96
|
-
aspectRatio: number;
|
|
97
|
-
colorSpace: "unknown" | "cmyk" | "lab" | "srgb" | "display_p3" | "adobe_rgb" | "prophoto_rgb" | "rec2020" | "rec709" | "xyz" | "gray";
|
|
98
|
-
iccProfile: string | null;
|
|
99
|
-
exifDateTimeOriginal: null;
|
|
100
|
-
} | {
|
|
101
|
-
width: number;
|
|
102
|
-
height: number;
|
|
103
|
-
format: "avif";
|
|
104
|
-
frames: number;
|
|
105
|
-
animated: boolean;
|
|
106
|
-
colorModel: "unknown" | "rgb" | "rgba" | "grayscale" | "grayscale-alpha" | "indexed" | "cmyk" | "ycbcr" | "ycck" | "vector" | "lab";
|
|
107
|
-
hasAlpha: true | null;
|
|
108
|
-
orientation: null;
|
|
109
|
-
aspectRatio: number;
|
|
110
|
-
colorSpace: "unknown" | "cmyk" | "lab" | "srgb" | "display_p3" | "adobe_rgb" | "prophoto_rgb" | "rec2020" | "rec709" | "xyz" | "gray";
|
|
111
|
-
iccProfile: string | null;
|
|
112
|
-
exifDateTimeOriginal: string | null;
|
|
113
|
-
} | {
|
|
114
|
-
width: number;
|
|
115
|
-
height: number;
|
|
116
|
-
format: "heic";
|
|
117
|
-
frames: number;
|
|
118
|
-
animated: boolean;
|
|
119
|
-
colorModel: "unknown" | "rgb" | "rgba" | "grayscale" | "grayscale-alpha" | "indexed" | "cmyk" | "ycbcr" | "ycck" | "vector" | "lab";
|
|
120
|
-
hasAlpha: true | null;
|
|
121
|
-
orientation: null;
|
|
122
|
-
aspectRatio: number;
|
|
123
|
-
colorSpace: "unknown" | "cmyk" | "lab" | "srgb" | "display_p3" | "adobe_rgb" | "prophoto_rgb" | "rec2020" | "rec709" | "xyz" | "gray";
|
|
124
|
-
iccProfile: string | null;
|
|
125
|
-
exifDateTimeOriginal: string | null;
|
|
126
|
-
} | {
|
|
127
|
-
width: number;
|
|
128
|
-
height: number;
|
|
129
|
-
format: "svg";
|
|
130
|
-
frames: number;
|
|
131
|
-
animated: boolean;
|
|
132
|
-
hasAlpha: true;
|
|
133
|
-
orientation: null;
|
|
134
|
-
aspectRatio: number;
|
|
135
|
-
colorModel: "vector";
|
|
136
|
-
colorSpace: "srgb";
|
|
137
|
-
iccProfile: null;
|
|
138
|
-
exifDateTimeOriginal: null;
|
|
139
|
-
} | {
|
|
140
|
-
width: number;
|
|
141
|
-
height: number;
|
|
142
|
-
format: "ico";
|
|
143
|
-
frames: number;
|
|
144
|
-
animated: false;
|
|
145
|
-
hasAlpha: true | null;
|
|
146
|
-
orientation: null;
|
|
147
|
-
aspectRatio: number;
|
|
148
|
-
colorModel: "unknown" | "rgb" | "rgba" | "grayscale" | "grayscale-alpha" | "indexed" | "cmyk" | "ycbcr" | "ycck" | "vector" | "lab";
|
|
149
|
-
colorSpace: "srgb";
|
|
150
|
-
iccProfile: null;
|
|
151
|
-
exifDateTimeOriginal: null;
|
|
152
|
-
} | {
|
|
153
|
-
width: number;
|
|
154
|
-
height: number;
|
|
155
|
-
format: "tiff";
|
|
156
|
-
frames: number;
|
|
157
|
-
animated: false;
|
|
158
|
-
hasAlpha: boolean;
|
|
159
|
-
orientation: number | null;
|
|
160
|
-
aspectRatio: number;
|
|
161
|
-
colorModel: "unknown" | "rgb" | "rgba" | "grayscale" | "grayscale-alpha" | "indexed" | "cmyk" | "ycbcr" | "ycck" | "vector" | "lab";
|
|
162
|
-
colorSpace: "unknown" | "cmyk" | "lab" | "srgb" | "display_p3" | "adobe_rgb" | "prophoto_rgb" | "rec2020" | "rec709" | "xyz" | "gray";
|
|
163
|
-
iccProfile: string | null;
|
|
164
|
-
exifDateTimeOriginal: string | null;
|
|
165
|
-
}>;
|
|
166
|
-
extractViaPath(filePath: string, size?: number): Promise<{
|
|
167
|
-
width: number;
|
|
168
|
-
height: number;
|
|
169
|
-
format: "apng" | "png";
|
|
170
|
-
frames: number;
|
|
171
|
-
animated: boolean;
|
|
172
|
-
hasAlpha: boolean;
|
|
173
|
-
colorModel: "unknown" | "rgb" | "rgba" | "grayscale" | "grayscale-alpha" | "indexed";
|
|
174
|
-
orientation: null;
|
|
175
|
-
aspectRatio: number;
|
|
176
|
-
colorSpace: "unknown" | "cmyk" | "lab" | "srgb" | "display_p3" | "adobe_rgb" | "prophoto_rgb" | "rec2020" | "rec709" | "xyz" | "gray";
|
|
177
|
-
iccProfile: string | null;
|
|
178
|
-
exifDateTimeOriginal: string | null;
|
|
179
|
-
} | {
|
|
180
|
-
width: number;
|
|
181
|
-
height: number;
|
|
182
|
-
format: "jpeg";
|
|
183
|
-
frames: number;
|
|
184
|
-
animated: false;
|
|
185
|
-
hasAlpha: false;
|
|
186
|
-
orientation: number | null;
|
|
187
|
-
aspectRatio: number;
|
|
188
|
-
colorSpace: "unknown" | "cmyk" | "lab" | "srgb" | "display_p3" | "adobe_rgb" | "prophoto_rgb" | "rec2020" | "rec709" | "xyz" | "gray";
|
|
189
|
-
colorModel: "unknown" | "rgb" | "rgba" | "grayscale" | "grayscale-alpha" | "indexed" | "cmyk" | "ycbcr" | "ycck" | "vector" | "lab";
|
|
190
|
-
iccProfile: string | null;
|
|
191
|
-
exifDateTimeOriginal: string | null;
|
|
192
|
-
} | {
|
|
193
|
-
width: number;
|
|
194
|
-
height: number;
|
|
195
|
-
format: "gif";
|
|
196
|
-
frames: number;
|
|
197
|
-
animated: boolean;
|
|
198
|
-
hasAlpha: null;
|
|
199
|
-
orientation: null;
|
|
200
|
-
aspectRatio: number;
|
|
201
|
-
colorModel: "indexed";
|
|
202
|
-
colorSpace: "unknown";
|
|
203
|
-
iccProfile: null;
|
|
204
|
-
exifDateTimeOriginal: null;
|
|
205
|
-
} | {
|
|
206
|
-
width: number;
|
|
207
|
-
height: number;
|
|
208
|
-
format: "bmp";
|
|
209
|
-
frames: number;
|
|
210
|
-
animated: false;
|
|
211
|
-
hasAlpha: null;
|
|
212
|
-
orientation: number;
|
|
213
|
-
aspectRatio: number;
|
|
214
|
-
colorModel: "unknown" | "rgb" | "rgba" | "grayscale" | "grayscale-alpha" | "indexed" | "cmyk" | "ycbcr" | "ycck" | "vector" | "lab";
|
|
215
|
-
colorSpace: "unknown";
|
|
216
|
-
iccProfile: null;
|
|
217
|
-
exifDateTimeOriginal: null;
|
|
218
|
-
} | {
|
|
219
|
-
width: number;
|
|
220
|
-
height: number;
|
|
221
|
-
format: "webp";
|
|
222
|
-
frames: number;
|
|
223
|
-
animated: boolean;
|
|
224
|
-
hasAlpha: boolean;
|
|
225
|
-
colorModel: "unknown" | "rgb" | "rgba";
|
|
226
|
-
orientation: null;
|
|
227
|
-
aspectRatio: number;
|
|
228
|
-
colorSpace: "unknown" | "cmyk" | "lab" | "srgb" | "display_p3" | "adobe_rgb" | "prophoto_rgb" | "rec2020" | "rec709" | "xyz" | "gray";
|
|
229
|
-
iccProfile: string | null;
|
|
230
|
-
exifDateTimeOriginal: null;
|
|
231
|
-
} | {
|
|
232
|
-
width: number;
|
|
233
|
-
height: number;
|
|
234
|
-
format: "avif";
|
|
235
|
-
frames: number;
|
|
236
|
-
animated: boolean;
|
|
237
|
-
colorModel: "unknown" | "rgb" | "rgba" | "grayscale" | "grayscale-alpha" | "indexed" | "cmyk" | "ycbcr" | "ycck" | "vector" | "lab";
|
|
238
|
-
hasAlpha: true | null;
|
|
239
|
-
orientation: null;
|
|
240
|
-
aspectRatio: number;
|
|
241
|
-
colorSpace: "unknown" | "cmyk" | "lab" | "srgb" | "display_p3" | "adobe_rgb" | "prophoto_rgb" | "rec2020" | "rec709" | "xyz" | "gray";
|
|
242
|
-
iccProfile: string | null;
|
|
243
|
-
exifDateTimeOriginal: string | null;
|
|
244
|
-
} | {
|
|
245
|
-
width: number;
|
|
246
|
-
height: number;
|
|
247
|
-
format: "heic";
|
|
248
|
-
frames: number;
|
|
249
|
-
animated: boolean;
|
|
250
|
-
colorModel: "unknown" | "rgb" | "rgba" | "grayscale" | "grayscale-alpha" | "indexed" | "cmyk" | "ycbcr" | "ycck" | "vector" | "lab";
|
|
251
|
-
hasAlpha: true | null;
|
|
252
|
-
orientation: null;
|
|
253
|
-
aspectRatio: number;
|
|
254
|
-
colorSpace: "unknown" | "cmyk" | "lab" | "srgb" | "display_p3" | "adobe_rgb" | "prophoto_rgb" | "rec2020" | "rec709" | "xyz" | "gray";
|
|
255
|
-
iccProfile: string | null;
|
|
256
|
-
exifDateTimeOriginal: string | null;
|
|
257
|
-
} | {
|
|
258
|
-
width: number;
|
|
259
|
-
height: number;
|
|
260
|
-
format: "svg";
|
|
261
|
-
frames: number;
|
|
262
|
-
animated: boolean;
|
|
263
|
-
hasAlpha: true;
|
|
264
|
-
orientation: null;
|
|
265
|
-
aspectRatio: number;
|
|
266
|
-
colorModel: "vector";
|
|
267
|
-
colorSpace: "srgb";
|
|
268
|
-
iccProfile: null;
|
|
269
|
-
exifDateTimeOriginal: null;
|
|
270
|
-
} | {
|
|
271
|
-
width: number;
|
|
272
|
-
height: number;
|
|
273
|
-
format: "ico";
|
|
274
|
-
frames: number;
|
|
275
|
-
animated: false;
|
|
276
|
-
hasAlpha: true | null;
|
|
277
|
-
orientation: null;
|
|
278
|
-
aspectRatio: number;
|
|
279
|
-
colorModel: "unknown" | "rgb" | "rgba" | "grayscale" | "grayscale-alpha" | "indexed" | "cmyk" | "ycbcr" | "ycck" | "vector" | "lab";
|
|
280
|
-
colorSpace: "srgb";
|
|
281
|
-
iccProfile: null;
|
|
282
|
-
exifDateTimeOriginal: null;
|
|
283
|
-
} | {
|
|
284
|
-
width: number;
|
|
285
|
-
height: number;
|
|
286
|
-
format: "tiff";
|
|
287
|
-
frames: number;
|
|
288
|
-
animated: false;
|
|
289
|
-
hasAlpha: boolean;
|
|
290
|
-
orientation: number | null;
|
|
291
|
-
aspectRatio: number;
|
|
292
|
-
colorModel: "unknown" | "rgb" | "rgba" | "grayscale" | "grayscale-alpha" | "indexed" | "cmyk" | "ycbcr" | "ycck" | "vector" | "lab";
|
|
293
|
-
colorSpace: "unknown" | "cmyk" | "lab" | "srgb" | "display_p3" | "adobe_rgb" | "prophoto_rgb" | "rec2020" | "rec709" | "xyz" | "gray";
|
|
294
|
-
iccProfile: string | null;
|
|
295
|
-
exifDateTimeOriginal: string | null;
|
|
296
|
-
}>;
|
|
36
|
+
extractViaStream(stream: Readable, size?: number): Promise<_d0paminedriven_metadata.ExpandedImgSpecs>;
|
|
37
|
+
extractViaPath(filePath: string, size?: number): Promise<_d0paminedriven_metadata.ExpandedImgSpecs>;
|
|
297
38
|
/**
|
|
298
39
|
* Probe image from various sources
|
|
299
40
|
* Handles local Buffer, remote URL, or S3 object
|
|
300
41
|
*/
|
|
301
|
-
|
|
42
|
+
extractRemoteFs(source: Buffer | string, size?: number, timeout?: number): Promise<ImageSpecs>;
|
|
302
43
|
/**
|
|
303
44
|
* Fetch minimal bytes from remote URL using Range header
|
|
304
45
|
* This is the KEY optimization - only fetch what we need!
|
|
305
46
|
*/
|
|
306
47
|
private knownToBlock;
|
|
307
|
-
private
|
|
308
|
-
|
|
48
|
+
private fetchMinimalBufferFs;
|
|
49
|
+
getImageSpecsWorkupFs(rawbuffer: Buffer<ArrayBufferLike>, size?: number): {
|
|
309
50
|
width: number;
|
|
310
51
|
height: number;
|
|
311
52
|
format: "apng" | "png";
|
package/dist/image/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ImageService
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-Y5QWE4EG.js";
|
|
4
|
+
import "../chunk-5CACVZVF.js";
|
|
5
|
+
import "../chunk-L2QMQOEJ.js";
|
|
6
|
+
import "../chunk-NJHN5OE3.js";
|
|
7
|
+
import "../chunk-OT5JEQKW.js";
|
|
8
|
+
import "../chunk-PB5A7ZFD.js";
|
|
9
9
|
import "../chunk-7QVYU63E.js";
|
|
10
10
|
export {
|
|
11
11
|
ImageService
|
package/dist/image/workup.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { Readable } from 'stream';
|
|
2
2
|
import { BoxInfo, ImageSpecs } from '../types/index.js';
|
|
3
3
|
import { MimeService } from '../mime/index.js';
|
|
4
|
-
import '
|
|
4
|
+
import 'fs';
|
|
5
5
|
import '../url/index.js';
|
|
6
6
|
import '../utils/index.js';
|
|
7
7
|
import '../ld/index.js';
|
|
8
|
+
import '@d0paminedriven/metadata';
|
|
8
9
|
|
|
9
10
|
declare class ImageServiceWorkup extends MimeService {
|
|
10
11
|
cwd: string;
|
package/dist/image/workup.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ImageServiceWorkup
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-5CACVZVF.js";
|
|
4
|
+
import "../chunk-L2QMQOEJ.js";
|
|
5
|
+
import "../chunk-NJHN5OE3.js";
|
|
6
|
+
import "../chunk-OT5JEQKW.js";
|
|
7
|
+
import "../chunk-PB5A7ZFD.js";
|
|
8
8
|
import "../chunk-7QVYU63E.js";
|
|
9
9
|
export {
|
|
10
10
|
ImageServiceWorkup
|
package/dist/index.d.ts
CHANGED
|
@@ -9,13 +9,14 @@ export { ImageService } from './image/index.js';
|
|
|
9
9
|
export { ImageServiceWorkup } from './image/workup.js';
|
|
10
10
|
export { LevenshteinDistance } from './ld/index.js';
|
|
11
11
|
export { AllMimeTypes, FileExtension, FileExtensionToMimeType, InferTopLevelPresent, MimeService, MimeTopLevelType, MimeType, MimeTypeToFileExtension, PresentMimeTopLevelTypes, extMimeMap, mimeToExt } from './mime/index.js';
|
|
12
|
-
export { Abortable, ArrFieldReplacer, ArrayBufferView, ArrayOrReadOnlyArray, BashEnv, BoxInfo, BufferEncodingUnion, CTR,
|
|
12
|
+
export { Abortable, ArrFieldReplacer, ArrayBufferView, ArrayOrReadOnlyArray, BashEnv, BoxInfo, BufferEncodingUnion, CTR, CommonExecOptions, CommonOptions, ConditionalPromise, ConditionalToRequired, DX, DeepPartial, DeepPartialFields, DeepReplace, Depth, Dict, Equal, ExcludeFieldEnumerable, ExecSyncOptions, ExecSyncOptionsWithBufferEncoding, ExecSyncOptionsWithStringEncoding, ExecuteCommandProps, Expect, Extends, FieldToConditionallyNever, IOType, ImageSpecs, InferDepth, InjectScriptsProps, IsExact, IsOptional, MkDirOptions, MkDirSyncOptions, MkDirSyncProps, Mode, NoParamCallback, ObjEncodingOptions, OmitSrc, OnlyOptional, OnlyRequired, OpenMode, ParsedUrlInfo, ProcessEnv, ProcessEnvOptions, RTC, ReadDirOptions, ReadDirOptionsEntity, ReadDirProps, RemoveFields, RequireNested, RequiredToConditional, Rm, RmOptions, Signals, SizeOpts, StdioOptions, TCN, TypedArray, Unenumerate, Unit, UnwrapPromise, Without, WriteFileAsyncDataType, WriteFileAsyncOptions, WriteFileAsyncProps, WriteStreamOptions, WriteStreamProps, WriteableDataType, XOR, unitsObj } from './types/index.js';
|
|
13
13
|
export { AsyncIter, Bin, Streamable, WebRS } from './types/stream.js';
|
|
14
14
|
export { HandleQueryParamsOrHash, InferExtensionIfPresent, LastSegment, SplitForwardSlash, UrlFileExt, UrlService } from './url/index.js';
|
|
15
15
|
export { UtilsService } from './utils/index.js';
|
|
16
|
+
import '@d0paminedriven/metadata';
|
|
16
17
|
import 'sharp';
|
|
17
18
|
import 'stream';
|
|
18
|
-
import '
|
|
19
|
+
import 'fs';
|
|
19
20
|
import 'node:stream';
|
|
20
21
|
import 'stream/web';
|
|
21
22
|
import 'dotenv-expand';
|
package/dist/index.js
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Fs
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7LOAFIZM.js";
|
|
4
4
|
import {
|
|
5
5
|
FsFetch
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7JQ56XIH.js";
|
|
7
7
|
import {
|
|
8
8
|
FsTmp
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PATMSIQK.js";
|
|
10
10
|
import {
|
|
11
11
|
FsCore
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-OHKRQJZH.js";
|
|
13
13
|
import {
|
|
14
14
|
FsSize
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-DNR5ZI2T.js";
|
|
16
16
|
import {
|
|
17
17
|
unitsObj
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-5H6GE5AO.js";
|
|
19
19
|
import {
|
|
20
20
|
FsAtomic
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-YRCJWFZD.js";
|
|
22
22
|
import {
|
|
23
23
|
FsBase
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-VDKUXJE7.js";
|
|
25
25
|
import {
|
|
26
26
|
ImageService
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-Y5QWE4EG.js";
|
|
28
28
|
import {
|
|
29
29
|
ImageServiceWorkup
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-5CACVZVF.js";
|
|
31
31
|
import {
|
|
32
32
|
MimeService,
|
|
33
33
|
extMimeMap,
|
|
34
34
|
mimeToExt
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-L2QMQOEJ.js";
|
|
36
36
|
import {
|
|
37
37
|
UrlService
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-NJHN5OE3.js";
|
|
39
39
|
import {
|
|
40
40
|
UtilsService
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-OT5JEQKW.js";
|
|
42
42
|
import {
|
|
43
43
|
LevenshteinDistance
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-PB5A7ZFD.js";
|
|
45
45
|
import "./chunk-7QVYU63E.js";
|
|
46
46
|
export {
|
|
47
47
|
Fs,
|
package/dist/ld/index.d.ts
CHANGED