@d0paminedriven/fs 7.1.0 → 7.2.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-QBG7TFHM.js → chunk-6FJJLFJL.js} +2 -2
- package/dist/{chunk-3WB2TSBO.js → chunk-GH6MFTV5.js} +2 -2
- package/dist/{chunk-LFHV4PPA.js → chunk-KUGIFRTF.js} +2 -2
- package/dist/{chunk-RJ2YQE3C.js → chunk-MRKO3PAA.js} +1 -1
- package/dist/{chunk-IUGBPDQJ.js → chunk-O2P3L3CJ.js} +1 -1
- package/dist/{chunk-3REIEDSC.js → chunk-SYISQ57E.js} +155 -5
- package/dist/fs/index.d.ts +50 -3
- package/dist/fs/index.js +6 -6
- package/dist/image/index.js +4 -4
- package/dist/index.d.ts +3 -0
- package/dist/index.js +6 -6
- package/dist/mime/index.d.ts +4 -4
- package/dist/mime/index.js +3 -3
- package/dist/types/index.d.ts +3 -3
- package/dist/types/index.js +1 -1
- package/dist/types/stream.d.ts +9 -0
- package/dist/types/stream.js +1 -0
- package/dist/url/index.js +2 -2
- package/dist/utils/index.js +1 -1
- package/package.json +7 -3
- package/dist/fs/index.cjs +0 -1818
- package/dist/fs/index.d.cts +0 -464
- package/dist/image/index.cjs +0 -1071
- package/dist/image/index.d.cts +0 -88
- package/dist/index.cjs +0 -1838
- package/dist/index.d.cts +0 -10
- package/dist/mime/index.cjs +0 -509
- package/dist/mime/index.d.cts +0 -502
- package/dist/types/index.cjs +0 -38
- package/dist/types/index.d.cts +0 -333
- package/dist/url/index.cjs +0 -181
- package/dist/url/index.d.cts +0 -33
- package/dist/utils/index.cjs +0 -157
- package/dist/utils/index.d.cts +0 -25
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ReadableStream } from 'stream/web';
|
|
2
|
+
|
|
3
|
+
type Bin = Buffer | Uint8Array;
|
|
4
|
+
type WebRS = ReadableStream<Uint8Array>;
|
|
5
|
+
type AsyncIter = AsyncIterable<Uint8Array>;
|
|
6
|
+
/** Inputs you actually accept — no `any`, no lies. */
|
|
7
|
+
type Streamable = string | Bin | WebRS | AsyncIter;
|
|
8
|
+
|
|
9
|
+
export type { AsyncIter, Bin, Streamable, WebRS };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=stream.js.map
|
package/dist/url/index.js
CHANGED
package/dist/utils/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@d0paminedriven/fs",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.2.0",
|
|
4
4
|
"homepage": "https://github.com/DopamineDriven/d0paminedriven/blob/master/packages/fs/README.md",
|
|
5
5
|
"author": {
|
|
6
6
|
"email": "andrew@windycitydevs.io",
|
|
@@ -33,6 +33,9 @@
|
|
|
33
33
|
"types": [
|
|
34
34
|
"dist/types/index.d.ts"
|
|
35
35
|
],
|
|
36
|
+
"types/stream": [
|
|
37
|
+
"dist/types/stream.d.ts"
|
|
38
|
+
],
|
|
36
39
|
"url": [
|
|
37
40
|
"dist/url/index.d.ts"
|
|
38
41
|
],
|
|
@@ -56,6 +59,7 @@
|
|
|
56
59
|
"./image": "./dist/image/index.js",
|
|
57
60
|
"./mime": "./dist/mime/index.js",
|
|
58
61
|
"./types": "./dist/types/index.js",
|
|
62
|
+
"./types/stream": "./dist/types/stream.js",
|
|
59
63
|
"./url": "./dist/url/index.js",
|
|
60
64
|
"./utils": "./dist/utils/index.js"
|
|
61
65
|
},
|
|
@@ -78,8 +82,8 @@
|
|
|
78
82
|
"typescript": "^5.9.2",
|
|
79
83
|
"typescript-eslint": "^8.40.0",
|
|
80
84
|
"@d0paminedriven/eslint-config": "0.1.0",
|
|
81
|
-
"@d0paminedriven/
|
|
82
|
-
"@d0paminedriven/
|
|
85
|
+
"@d0paminedriven/prettier-config": "0.1.0",
|
|
86
|
+
"@d0paminedriven/tsconfig": "0.1.0"
|
|
83
87
|
},
|
|
84
88
|
"prettier": "@d0paminedriven/prettier-config",
|
|
85
89
|
"scripts": {
|