2020-09-21 08:26:41 -04:00
|
|
|
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
|
2020-11-19 07:23:42 -05:00
|
|
|
/// <reference path="./global.d.ts" />
|
|
|
|
import { process as processModule } from "./process.ts";
|
|
|
|
import { Buffer as bufferModule } from "./_buffer.ts";
|
2020-09-21 08:26:41 -04:00
|
|
|
|
2020-11-19 07:23:42 -05:00
|
|
|
Object.defineProperty(globalThis, "global", {
|
|
|
|
value: globalThis,
|
2020-04-30 13:58:40 -04:00
|
|
|
writable: false,
|
|
|
|
enumerable: false,
|
|
|
|
configurable: true,
|
|
|
|
});
|
|
|
|
|
2020-11-07 14:27:07 -05:00
|
|
|
Object.defineProperty(globalThis, "process", {
|
2020-11-19 07:23:42 -05:00
|
|
|
value: processModule,
|
2020-11-07 14:27:07 -05:00
|
|
|
enumerable: false,
|
|
|
|
writable: true,
|
|
|
|
configurable: true,
|
|
|
|
});
|
|
|
|
|
|
|
|
Object.defineProperty(globalThis, "Buffer", {
|
2020-11-19 07:23:42 -05:00
|
|
|
value: bufferModule,
|
2020-11-07 14:27:07 -05:00
|
|
|
enumerable: false,
|
|
|
|
writable: true,
|
|
|
|
configurable: true,
|
|
|
|
});
|
|
|
|
|
2020-08-12 06:01:36 -04:00
|
|
|
export {};
|