@crvouga/mockingbird-service-s3 4.0.3 → 4.0.5

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.
@@ -31,7 +31,7 @@ import {
31
31
  multipartEtag,
32
32
  sigV4AccessKeyId,
33
33
  signers
34
- } from "./chunk-NNA4LFUP.js";
34
+ } from "./chunk-GECJINYS.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"}}}}}}}`);
@@ -10975,7 +10975,7 @@ var S3API = class {
10975
10975
  if (!this.core.bucket(input.bucket))
10976
10976
  this.core.saveBucket(input.bucket, { createdAt: this.core.now() });
10977
10977
  const bytes = typeof input.body === "string" ? encoder5.encode(input.body) : input.body;
10978
- const { md5Hex: md5Hex2 } = await import("./digest-WPL44OT2.js");
10978
+ const { md5Hex: md5Hex2 } = await import("./digest-RHOQACCP.js");
10979
10979
  const tagging = typeof input.tags === "string" ? input.tags : input.tags ? new URLSearchParams(Object.entries(input.tags)).toString() : void 0;
10980
10980
  return this.core.write(
10981
10981
  {
@@ -11335,4 +11335,4 @@ export {
11335
11335
  createRuntime2 as createRuntime,
11336
11336
  accessKeyCredential
11337
11337
  };
11338
- //# sourceMappingURL=chunk-MGVCSMWC.js.map
11338
+ //# sourceMappingURL=chunk-UYYWSTAR.js.map
package/dist/cli.js CHANGED
@@ -3,10 +3,10 @@ import {
3
3
  runCli,
4
4
  serveCommand,
5
5
  serveTarget
6
- } from "./chunk-EEQVE32X.js";
7
- import "./chunk-MGVCSMWC.js";
6
+ } from "./chunk-5X6UKMFK.js";
7
+ import "./chunk-UYYWSTAR.js";
8
8
  import "./chunk-Y75YGK7R.js";
9
- import "./chunk-NNA4LFUP.js";
9
+ import "./chunk-GECJINYS.js";
10
10
 
11
11
  // src/cli.ts
12
12
  var code = await runCli(
@@ -2,10 +2,10 @@ import {
2
2
  md5Base64,
3
3
  md5Hex,
4
4
  multipartEtag
5
- } from "./chunk-NNA4LFUP.js";
5
+ } from "./chunk-GECJINYS.js";
6
6
  export {
7
7
  md5Base64,
8
8
  md5Hex,
9
9
  multipartEtag
10
10
  };
11
- //# sourceMappingURL=digest-WPL44OT2.js.map
11
+ //# sourceMappingURL=digest-RHOQACCP.js.map
package/dist/index.js CHANGED
@@ -8,9 +8,9 @@ import {
8
8
  document,
9
9
  operationIds,
10
10
  supportedOperationIds
11
- } from "./chunk-MGVCSMWC.js";
11
+ } from "./chunk-UYYWSTAR.js";
12
12
  import "./chunk-Y75YGK7R.js";
13
- import "./chunk-NNA4LFUP.js";
13
+ import "./chunk-GECJINYS.js";
14
14
  export {
15
15
  S3API,
16
16
  S3_MAX_UPLOAD_BYTES,
package/dist/server.js CHANGED
@@ -2,10 +2,10 @@ import {
2
2
  DEFAULT_PORT,
3
3
  createServer,
4
4
  serveTarget
5
- } from "./chunk-EEQVE32X.js";
6
- import "./chunk-MGVCSMWC.js";
5
+ } from "./chunk-5X6UKMFK.js";
6
+ import "./chunk-UYYWSTAR.js";
7
7
  import "./chunk-Y75YGK7R.js";
8
- import "./chunk-NNA4LFUP.js";
8
+ import "./chunk-GECJINYS.js";
9
9
  export {
10
10
  DEFAULT_PORT,
11
11
  createServer,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crvouga/mockingbird-service-s3",
3
- "version": "4.0.3",
3
+ "version": "4.0.5",
4
4
  "description": "Stateful S3 emulator that answers exactly as MinIO does: every bucket, object, multipart, versioning, object-lock, policy and auth API, verified against recorded MinIO transcripts.",
5
5
  "license": "MIT",
6
6
  "type": "module",