mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 10:58:56 +00:00
* Add a zig fmt action * add failing file * Setup prettier better * Update prettier-fmt.yml * Fail on error * Update prettier-fmt.yml * boop * boop2 * tar.gz * Update zig-fmt.yml * Update zig-fmt.yml * Update zig-fmt.yml * Update zig-fmt.yml * Update zig-fmt.yml * boop * Update prettier-fmt.yml * tag * newlines * multiline * fixup * Update zig-fmt.yml * update it * fixup * both * w * Update prettier-fmt.yml * prettier all the things * Update package.json * zig fmt * ❌ ✅ * bump * . * quotes * fix prettier ignore * once more * Update prettier-fmt.yml * Update fallback.ts * consistentcy --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
85 lines
3.0 KiB
JavaScript
85 lines
3.0 KiB
JavaScript
import * as __$module from "node:module";
|
|
export var $$m = BUN_RUNTIME.$$m;
|
|
export var __markAsModule = BUN_RUNTIME.__markAsModule;
|
|
export var $$lzy = BUN_RUNTIME.$$lzy;
|
|
export var __toModule = BUN_RUNTIME.__toModule;
|
|
export var __commonJS = BUN_RUNTIME.__commonJS;
|
|
export var __require = BUN_RUNTIME.__require;
|
|
export var __name = BUN_RUNTIME.__name;
|
|
export var __export = BUN_RUNTIME.__export;
|
|
export var __reExport = BUN_RUNTIME.__reExport;
|
|
export var __cJS2eSM = BUN_RUNTIME.__cJS2eSM;
|
|
export var regeneratorRuntime = BUN_RUNTIME.regeneratorRuntime;
|
|
export var __exportValue = BUN_RUNTIME.__exportValue;
|
|
export var __exportDefault = BUN_RUNTIME.__exportDefault;
|
|
export var __decorateClass = BUN_RUNTIME.__decorateClass;
|
|
export var __decorateParam = BUN_RUNTIME.__decorateParam;
|
|
export var $$bun_runtime_json_parse = JSON.parse;
|
|
export var __internalIsCommonJSNamespace = BUN_RUNTIME.__internalIsCommonJSNamespace;
|
|
var require = __$module.createRequire(import.meta.url);
|
|
var process =
|
|
globalThis.process ||
|
|
new Proxy(
|
|
{},
|
|
{
|
|
get: function (target, prop, receiver) {
|
|
var _process = require("process");
|
|
target = process = _process;
|
|
return Reflect.get(_process, prop, receiver);
|
|
},
|
|
apply: function (target, thisArg, argumentsList) {
|
|
var _process = require("process");
|
|
target = process = _process;
|
|
return Reflect.apply(target, thisArg, argumentsList);
|
|
},
|
|
defineProperty(target, key, descriptor) {
|
|
var _process = require("process");
|
|
target = process = _process;
|
|
return Reflect.defineProperty(_process, key, descriptor);
|
|
},
|
|
construct: function (target, args) {
|
|
var _process = require("process");
|
|
target = process = _process;
|
|
return Reflect.construct(_process, args);
|
|
},
|
|
has: function (target, prop, receiver) {
|
|
var _process = require("process");
|
|
target = process = _process;
|
|
return Reflect.has(_process, prop, receiver);
|
|
},
|
|
},
|
|
);
|
|
|
|
var Buffer =
|
|
globalThis.Buffer ||
|
|
new Proxy(
|
|
{},
|
|
{
|
|
get: function (target, prop, receiver) {
|
|
var NewBuffer = require("buffer").Buffer;
|
|
target = Buffer = NewBuffer;
|
|
return Reflect.get(NewBuffer, prop, receiver);
|
|
},
|
|
apply: function (target, thisArg, argumentsList) {
|
|
var NewBuffer = require("buffer").Buffer;
|
|
target = Buffer = NewBuffer;
|
|
return Reflect.apply(target, thisArg, argumentsList);
|
|
},
|
|
defineProperty(target, key, descriptor) {
|
|
var NewBuffer = require("buffer").Buffer;
|
|
target = Buffer = NewBuffer;
|
|
return Reflect.defineProperty(NewBuffer, key, descriptor);
|
|
},
|
|
construct: function (target, args) {
|
|
var NewBuffer = require("buffer").Buffer;
|
|
target = Buffer = NewBuffer;
|
|
return Reflect.construct(NewBuffer, args);
|
|
},
|
|
has: function (target, prop, receiver) {
|
|
var NewBuffer = require("buffer").Buffer;
|
|
target = Buffer = NewBuffer;
|
|
return Reflect.has(NewBuffer, prop, receiver);
|
|
},
|
|
},
|
|
);
|