From cc2528fd11ba6a4573fd56fe8e99d5917a1aa3ee Mon Sep 17 00:00:00 2001 From: Nick Alteen Date: Fri, 27 Jun 2025 11:09:48 -0400 Subject: [PATCH] Rebuild dist --- dist/index.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dist/index.js b/dist/index.js index 2d02095..45b7718 100644 --- a/dist/index.js +++ b/dist/index.js @@ -39,7 +39,11 @@ function getAugmentedNamespace(n) { var f = n.default; if (typeof f == "function") { var a = function a () { - if (this instanceof a) { + var isInstance = false; + try { + isInstance = this instanceof a; + } catch {} + if (isInstance) { return Reflect.construct(f, arguments, this.constructor); } return f.apply(this, arguments);