Skip to content

Commit cb65643

Browse files
chore(deps): Effect 4.0.4 and OpenCode 2.0.28, dropping the patches they made unnecessary (#19213)
Co-authored-by: Claude Opus 5.5 <[email protected]>
1 parent 107f602 commit cb65643

77 files changed

Lines changed: 545 additions & 2070 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎apps/desktop/src/app/DesktopApp.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const MAX_TCP_PORT = 65_535;
4242
const DESKTOP_BACKEND_PORT_PROBE_HOSTS = ["127.0.0.1", "0.0.0.0", "::"] as const;
4343

4444
const makeDesktopRunId = Crypto.Crypto.pipe(
45-
Effect.flatMap((crypto) => crypto.randomUUIDv4),
45+
Effect.flatMap((crypto) => crypto.randomUUIDv4()),
4646
Effect.map((value) => value.replaceAll("-", "").slice(0, 12)),
4747
);
4848

‎apps/desktop/src/app/DesktopConnectionCatalogStore.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ export const make = Effect.gen(function* () {
411411
),
412412
),
413413
);
414-
const suffix = (yield* crypto.randomUUIDv4.pipe(
414+
const suffix = (yield* crypto.randomUUIDv4().pipe(
415415
Effect.mapError(
416416
(cause) =>
417417
new DesktopConnectionCatalogStoreWriteError({

‎apps/desktop/src/preview/Manager.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2501,7 +2501,7 @@ const makeNativeOperations = Effect.fn("PreviewManager.makeOperations")(function
25012501
wc,
25022502
),
25032503
]);
2504-
const uuid = yield* crypto.randomUUIDv4.pipe(Effect.orDie);
2504+
const uuid = yield* crypto.randomUUIDv4().pipe(Effect.orDie);
25052505
const id = `browser-screenshot-${artifactSiteSlug(wc.getURL())}-${millis.toString(36)}-${uuid.slice(0, 8)}`;
25062506
const artifactPath = path.join(resolvedArtifactDirectory, `${id}.png`);
25072507
const data = image.toPNG();

‎apps/desktop/src/settings/DesktopAppSettings.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ export const make = Effect.gen(function* () {
504504
return Effect.succeed([settingsChange(settings, false), settings] as const);
505505
}
506506

507-
return crypto.randomUUIDv4.pipe(
507+
return crypto.randomUUIDv4().pipe(
508508
Effect.map((uuid) => uuid.replace(/-/g, "")),
509509
Effect.mapError(
510510
(cause) =>

‎apps/desktop/src/settings/DesktopClientSettings.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ export const make = Effect.gen(function* () {
195195
Effect.withSpan("desktop.clientSettings.get"),
196196
),
197197
set: (settings) =>
198-
crypto.randomUUIDv4.pipe(
198+
crypto.randomUUIDv4().pipe(
199199
Effect.map((uuid) => uuid.replace(/-/g, "")),
200200
Effect.mapError(
201201
(cause) =>

‎apps/desktop/src/snapShot/DesktopSnapShot.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@ export const make = Effect.gen(function* () {
858858
const prepareCapture = Effect.fn("desktop.snapShot.prepareCapture")(function* (
859859
settings: ClientSettings,
860860
) {
861-
const id = yield* crypto.randomUUIDv4.pipe(Effect.mapError((cause) => captureFailure(cause)));
861+
const id = yield* crypto.randomUUIDv4().pipe(Effect.mapError((cause) => captureFailure(cause)));
862862
const mode = captureMode(environment.platform);
863863
if (mode === "unavailable") {
864864
return yield* new DesktopSnapShotError({ operation: "unsupported", captureId: id });

‎apps/desktop/src/ssh/DesktopSshPasswordPrompts.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ export const make = Effect.fn("desktop.sshPasswordPrompts.make")(function* (
307307
});
308308
}
309309

310-
const requestId = yield* crypto.randomUUIDv4.pipe(
310+
const requestId = yield* crypto.randomUUIDv4().pipe(
311311
Effect.mapError(
312312
(cause) =>
313313
new DesktopSshPromptRequestIdGenerationError({

‎apps/mobile/src/features/cloud/dpop.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ export function createDpopProof(input: {
261261
});
262262
const nowMs = yield* Clock.currentTimeMillis;
263263
const jti = yield* Crypto.Crypto.pipe(
264-
Effect.flatMap((crypto) => crypto.randomUUIDv4),
264+
Effect.flatMap((crypto) => crypto.randomUUIDv4()),
265265
Effect.mapError(cloudDpopError("Could not generate DPoP proof identifier.")),
266266
);
267267
const htu = yield* normalizeHtu(input.url);

‎apps/server/src/assets/AttachmentUpload.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ export const storeAttachmentUpload = Effect.fn("AttachmentUpload.store")(functio
170170
relativePath,
171171
});
172172
const crypto = yield* Crypto.Crypto;
173-
const partId = yield* crypto.randomUUIDv4.pipe(Effect.orDie);
173+
const partId = yield* crypto.randomUUIDv4().pipe(Effect.orDie);
174174
const partPath = resolveAttachmentRelativePath({
175175
attachmentsDir: config.attachmentsDir,
176176
relativePath: `${relativePath}.${partId}.part`,

‎apps/server/src/assets/NativeAppIconResolver.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ const resolveNativeAppIconUncached = Effect.fn("NativeAppIconResolver.resolveUnc
190190
yield* fileSystem.makeDirectory(cacheDirectory, { recursive: true });
191191
const temporaryPath = path.join(
192192
cacheDirectory,
193-
`.${cacheKey}-${process.pid}-${(yield* Clock.currentTimeMillis).toString(36)}-${yield* crypto.randomUUIDv4.pipe(Effect.orDie)}.png`,
193+
`.${cacheKey}-${process.pid}-${(yield* Clock.currentTimeMillis).toString(36)}-${yield* crypto.randomUUIDv4().pipe(Effect.orDie)}.png`,
194194
);
195195
yield* commandOutput("/usr/bin/sips", [
196196
"-z",

0 commit comments

Comments
 (0)