swc/bundler/tests/.cache/untrusted/2cc408e85ebebb7c074b84cff544fdf2433a395b.ts
강동윤 bbaf619f63
fix(bundler): Fix bugs (#1437)
swc_bundler:
 - [x] Fix wrapped esms. (denoland/deno#9307)
 - [x] Make test secure.
2021-03-02 17:33:03 +09:00

25 lines
620 B
TypeScript

// Loaded from https://raw.githubusercontent.com/denjucks/dex/master/lib/deps/inherits@2.0.4/inherits.dew.js
import _util from "../@jspm/core@1.1.0/nodelibs/util.js";
import { dew as _inherits_browserDewDew } from "./inherits_browser.dew.js";
var exports = {},
_dewExec = false;
export function dew() {
if (_dewExec) return exports;
_dewExec = true;
try {
var util = _util;
/* istanbul ignore next */
if (typeof util.inherits !== 'function') throw '';
exports = util.inherits;
} catch (e) {
/* istanbul ignore next */
exports = _inherits_browserDewDew();
}
return exports;
}