Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
@@ -260,7 +260,7 @@ describe("createS3StorageAdapter", () => {
|
||||
|
||||
describe("createLocalStorageAdapter", () => {
|
||||
it("stores objects under the configured bucket root and returns a public URL", async () => {
|
||||
const rootDir = await mkdtemp(join(tmpdir(), "toolctrl-storage-"));
|
||||
const rootDir = await mkdtemp(join(tmpdir(), "hivegrid-storage-"));
|
||||
const adapter = createLocalStorageAdapter({
|
||||
rootDir,
|
||||
bucket: "uploads",
|
||||
@@ -276,7 +276,7 @@ describe("createLocalStorageAdapter", () => {
|
||||
});
|
||||
|
||||
it("rejects local object keys that escape the storage root", async () => {
|
||||
const rootDir = await mkdtemp(join(tmpdir(), "toolctrl-storage-"));
|
||||
const rootDir = await mkdtemp(join(tmpdir(), "hivegrid-storage-"));
|
||||
const adapter = createLocalStorageAdapter({ rootDir, bucket: "uploads" });
|
||||
|
||||
await expect(adapter.putObject({ key: "../secret.txt", body: "secret" })).rejects.toMatchObject({
|
||||
|
||||
Reference in new issue
Block a user