securityos/node_modules/@wasmer/wasi/lib/polyfills/buffer.js

10 lines
297 B
JavaScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
"use strict";
// Return our buffer depending on browser or node
Object.defineProperty(exports, "__esModule", { value: true });
/*ROLLUP_REPLACE_BROWSER
// @ts-ignore
import { Buffer } from "buffer-es6";
ROLLUP_REPLACE_BROWSER*/
const isomorphicBuffer = Buffer;
exports.default = isomorphicBuffer;