@angular/ssr 19.2.21 → 19.2.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -404,7 +404,11 @@ function getAugmentedNamespace(n) {
|
|
|
404
404
|
var f = n.default;
|
|
405
405
|
if (typeof f == "function") {
|
|
406
406
|
var a = function a () {
|
|
407
|
-
|
|
407
|
+
var isInstance = false;
|
|
408
|
+
try {
|
|
409
|
+
isInstance = this instanceof a;
|
|
410
|
+
} catch {}
|
|
411
|
+
if (isInstance) {
|
|
408
412
|
return Reflect.construct(f, arguments, this.constructor);
|
|
409
413
|
}
|
|
410
414
|
return f.apply(this, arguments);
|