mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 20:22:26 +03:00
bbaf619f63
swc_bundler: - [x] Fix wrapped esms. (denoland/deno#9307) - [x] Make test secure.
25 lines
620 B
TypeScript
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;
|
|
}
|