add bun publish (#14215)

This commit is contained in:
Dylan Conway
2024-10-02 20:47:22 -07:00
committed by GitHub
parent 94a656bc4f
commit f374ae6db1
51 changed files with 3911 additions and 904 deletions

View File

@@ -1917,7 +1917,7 @@ pub const types = struct {
defer value.deinit();
var str = bun.String.fromUTF8(value.slice());
defer str.deref();
const parse_result = JSValue.parseJSON(str.toJS(globalObject), globalObject);
const parse_result = JSValue.parse(str.toJS(globalObject), globalObject);
if (parse_result.isAnyError()) {
globalObject.throwValue(parse_result);
return error.JSError;