@angular/ssr 20.1.0-next.1 → 20.1.0-next.2

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/ssr",
3
- "version": "20.1.0-next.1",
3
+ "version": "20.1.0-next.2",
4
4
  "description": "Angular server side rendering utilities",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -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
- if (this instanceof a) {
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);
@@ -4875,7 +4879,7 @@ function requireProcessor () {
4875
4879
 
4876
4880
  class Processor {
4877
4881
  constructor(plugins = []) {
4878
- this.version = '8.5.4';
4882
+ this.version = '8.5.5';
4879
4883
  this.plugins = this.normalize(plugins);
4880
4884
  }
4881
4885