diff options
author | Guy Bedford <guybedford@gmail.com> | 2020-11-07 11:27:07 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-07 20:27:07 +0100 |
commit | 9fc5b6510cd60f5aafe4c7270a8103c8e7b6f0a9 (patch) | |
tree | ad347c1a4a78ff8ade6bec60cafd752336d40983 /std/node/buffer.ts | |
parent | bb1a673b21489ebfc2e07889df7b3bf558db42b5 (diff) |
fix(std/node): only define Node.js globals when loading std/node/global (#8281)
Diffstat (limited to 'std/node/buffer.ts')
-rw-r--r-- | std/node/buffer.ts | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/std/node/buffer.ts b/std/node/buffer.ts index 6d307b6df..16cf3abc0 100644 --- a/std/node/buffer.ts +++ b/std/node/buffer.ts @@ -599,10 +599,3 @@ export default class Buffer extends Uint8Array { } export { Buffer }; - -Object.defineProperty(globalThis, "Buffer", { - value: Buffer, - enumerable: false, - writable: true, - configurable: true, -}); |