@crvouga/mockingbird-service-s3 4.2.1 → 4.3.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/CHANGELOG.md +6 -0
- package/dist/{chunk-YHC3JBLQ.js → admin-ui.js} +13 -9821
- package/dist/admin-ui.js.map +7 -0
- package/dist/{chunk-H3K742VW.js → chunk-AWD3L5SE.js} +4 -4
- package/dist/{chunk-H77IK3F3.js → chunk-BMGLD6TC.js} +3 -3
- package/dist/chunk-DIKGARCN.js +9839 -0
- package/dist/chunk-DIKGARCN.js.map +7 -0
- package/dist/cli.js +3 -3
- package/dist/{digest-WAT7AX3C.js → digest-CFAZMYNE.js} +2 -2
- package/dist/index.js +2 -2
- package/dist/server.js +3 -3
- package/package.json +1 -1
- package/dist/chunk-YHC3JBLQ.js.map +0 -7
- /package/dist/{chunk-H3K742VW.js.map → chunk-AWD3L5SE.js.map} +0 -0
- /package/dist/{chunk-H77IK3F3.js.map → chunk-BMGLD6TC.js.map} +0 -0
- /package/dist/{digest-WAT7AX3C.js.map → digest-CFAZMYNE.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
S3_MAX_UPLOAD_BYTES,
|
|
3
3
|
createRuntime
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-BMGLD6TC.js";
|
|
5
5
|
import {
|
|
6
6
|
createClock,
|
|
7
7
|
normalizeBootControls,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
parseFaultHeader,
|
|
13
13
|
resolveAdminPrefix,
|
|
14
14
|
restoreClock
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-DIKGARCN.js";
|
|
16
16
|
|
|
17
17
|
// ../../adapters/node/dist/cli.js
|
|
18
18
|
import { readFile as readFile5 } from "node:fs/promises";
|
|
@@ -3082,7 +3082,7 @@ async function preflightFleet(config, options) {
|
|
|
3082
3082
|
break;
|
|
3083
3083
|
}
|
|
3084
3084
|
}
|
|
3085
|
-
targets.set(name, { ...target, packageVersion: packageVersion ?? "4.
|
|
3085
|
+
targets.set(name, { ...target, packageVersion: packageVersion ?? "4.3.0" });
|
|
3086
3086
|
} catch (error) {
|
|
3087
3087
|
throw new Error(`service ${name}: ${error instanceof Error ? error.message : String(error)}`, { cause: error });
|
|
3088
3088
|
}
|
|
@@ -5113,4 +5113,4 @@ export {
|
|
|
5113
5113
|
createServer2 as createServer,
|
|
5114
5114
|
serveTarget
|
|
5115
5115
|
};
|
|
5116
|
-
//# sourceMappingURL=chunk-
|
|
5116
|
+
//# sourceMappingURL=chunk-AWD3L5SE.js.map
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
multipartEtag,
|
|
32
32
|
sigV4AccessKeyId,
|
|
33
33
|
signers
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-DIKGARCN.js";
|
|
35
35
|
|
|
36
36
|
// src/generated/openapi.ts
|
|
37
37
|
var document = JSON.parse(`{"openapi":"3.1.0","info":{"title":"Amazon S3 (Mockingbird subset)","version":"2006-03-01","description":"Path-style S3 REST contract used by AWS SDK v3."},"servers":[{"url":"https://s3.us-east-1.amazonaws.com"}],"paths":{"/{bucket}":{"parameters":[{"name":"bucket","in":"path","required":true,"schema":{"type":"string"}}],"put":{"operationId":"CreateBucket","x-mockingbird":{"supported":true,"parity":{"safe":false}},"responses":{"200":{"description":"Created"},"400":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"}}},"head":{"operationId":"HeadBucket","responses":{"200":{"description":"Exists"},"404":{"description":"Missing"}}},"get":{"operationId":"ListObjectsV2","responses":{"200":{"description":"XML listing","content":{"application/xml":{"schema":{"type":"string"}}}},"404":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"BucketPost","x-mockingbird":{"supported":true,"parity":{"safe":false}},"responses":{"200":{"description":"DeleteObjects result","content":{"application/xml":{"schema":{"type":"string"}}}},"404":{"$ref":"#/components/responses/Error"}}}},"/{bucket}/{key}":{"parameters":[{"name":"bucket","in":"path","required":true,"schema":{"type":"string"}},{"name":"key","in":"path","required":true,"schema":{"type":"string"}}],"put":{"operationId":"PutObject","x-mockingbird":{"supported":true,"parity":{"safe":false}},"requestBody":{"content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"responses":{"200":{"description":"Stored"},"400":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"}}},"get":{"operationId":"GetObject","responses":{"200":{"description":"Object bytes","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"206":{"description":"Range bytes"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"416":{"$ref":"#/components/responses/Error"}}},"head":{"operationId":"HeadObject","responses":{"200":{"description":"Object metadata"},"404":{"description":"Missing"}}},"delete":{"operationId":"DeleteObject","x-mockingbird":{"supported":true,"parity":{"safe":false}},"responses":{"204":{"description":"Deleted"},"403":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"MultipartPost","x-mockingbird":{"supported":true,"parity":{"enabled":false,"reason":"Multipart XML protocol."}},"responses":{"200":{"description":"Multipart response","content":{"application/xml":{"schema":{"type":"string"}}}},"404":{"$ref":"#/components/responses/Error"}}}}},"components":{"responses":{"Error":{"description":"Canonical S3 XML error.","content":{"application/xml":{"schema":{"type":"string"}}}}}}}`);
|
|
@@ -10977,7 +10977,7 @@ var S3API = class {
|
|
|
10977
10977
|
if (!this.core.bucket(input.bucket))
|
|
10978
10978
|
this.core.saveBucket(input.bucket, { createdAt: this.core.now() });
|
|
10979
10979
|
const bytes = typeof input.body === "string" ? encoder5.encode(input.body) : input.body;
|
|
10980
|
-
const { md5Hex: md5Hex2 } = await import("./digest-
|
|
10980
|
+
const { md5Hex: md5Hex2 } = await import("./digest-CFAZMYNE.js");
|
|
10981
10981
|
const tagging = typeof input.tags === "string" ? input.tags : input.tags ? new URLSearchParams(Object.entries(input.tags)).toString() : void 0;
|
|
10982
10982
|
return this.core.write(
|
|
10983
10983
|
{
|
|
@@ -11337,4 +11337,4 @@ export {
|
|
|
11337
11337
|
createRuntime2 as createRuntime,
|
|
11338
11338
|
accessKeyCredential
|
|
11339
11339
|
};
|
|
11340
|
-
//# sourceMappingURL=chunk-
|
|
11340
|
+
//# sourceMappingURL=chunk-BMGLD6TC.js.map
|