node:crypto: implement hkdf and hkdfSync (#18312)

This commit is contained in:
Dylan Conway
2025-03-21 01:03:01 -07:00
committed by GitHub
parent 2aeff10a85
commit a3585ff961
56 changed files with 1185 additions and 429 deletions

View File

@@ -1038,7 +1038,7 @@ pub const PostgresRequest = struct {
},
else => {
const str = try String.fromJS2(value, globalObject);
const str = try String.fromJS(value, globalObject);
if (str.tag == .Dead) return error.OutOfMemory;
defer str.deref();
const slice = str.toUTF8WithoutRef(bun.default_allocator);