mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 10:58:56 +00:00
fix(windows): support utf16-le files in the bundler and in Bun.file (#8219)
* support utf16-le files * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -711,7 +711,7 @@ pub const String = extern struct {
|
||||
this: *String,
|
||||
) JSC.JSValue;
|
||||
|
||||
pub fn toJSForParseJSON(self: *String, globalObject: *JSC.JSGlobalObject) JSC.JSValue {
|
||||
pub fn toJSByParseJSON(self: *String, globalObject: *JSC.JSGlobalObject) JSC.JSValue {
|
||||
JSC.markBinding(@src());
|
||||
return BunString__toJSON(globalObject, self);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user