From efbc2ffe6a1ee5ec38a4396305561d6515d0943e Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Fri, 30 Aug 2024 17:21:18 +0800 Subject: node fixes, updates --- node_modules/@babel/runtime/helpers/esm/construct.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'node_modules/@babel/runtime/helpers/esm/construct.js') diff --git a/node_modules/@babel/runtime/helpers/esm/construct.js b/node_modules/@babel/runtime/helpers/esm/construct.js index ce6b2783..91609ff7 100644 --- a/node_modules/@babel/runtime/helpers/esm/construct.js +++ b/node_modules/@babel/runtime/helpers/esm/construct.js @@ -1,9 +1,10 @@ -import setPrototypeOf from "./setPrototypeOf.js"; import isNativeReflectConstruct from "./isNativeReflectConstruct.js"; -export default function _construct(t, e, r) { +import setPrototypeOf from "./setPrototypeOf.js"; +function _construct(t, e, r) { if (isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments); var o = [null]; o.push.apply(o, e); var p = new (t.bind.apply(t, o))(); return r && setPrototypeOf(p, r.prototype), p; -} \ No newline at end of file +} +export { _construct as default }; \ No newline at end of file -- cgit v1.2.3