test: update integration payload size checks golden file (#44440)

This updates the size checks for Angular CLI version 13.1.3. The increase in size is due to changes in ESBuild.

Before
```js
class bS extends Wl {
  constructor(t, n, r, i) {
    super(t), (this.component = r);
    const o = Is(i + "-" + r.id, r.styles, []);
    n.addStyles(o),
      (this.contentAttr = "_ngcontent-%COMP%".replace(Gl, i + "-" + r.id)),
      (this.hostAttr = "_nghost-%COMP%".replace(Gl, i + "-" + r.id));
  }
  applyToHost(t) {
    super.setAttribute(t, this.hostAttr, "");
  }
  createElement(t, n) {
    const r = super.createElement(t, n);
    return super.setAttribute(r, this.contentAttr, ""), r;
  }
}
```

Now
```js
class ES extends Wl {
  constructor(t, n, r, i) {
    super(t), (this.component = r);
    const o = Is(i + "-" + r.id, r.styles, []);
    n.addStyles(o),
      (this.contentAttr = (function _S(e) {
        return "_ngcontent-%COMP%".replace(Gl, e);
      })(i + "-" + r.id)),
      (this.hostAttr = (function CS(e) {
        return "_nghost-%COMP%".replace(Gl, e);
      })(i + "-" + r.id));
  }
  applyToHost(t) {
    super.setAttribute(t, this.hostAttr, "");
  }
  createElement(t, n) {
    const r = super.createElement(t, n);
    return super.setAttribute(r, this.contentAttr, ""), r;
  }
}
```

PR Close #44440
This commit is contained in:
Alan Agius
2022-01-13 13:05:34 +01:00
committed by Andrew Scott
parent 7c49b4148e
commit 44ff4fbceb
2 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -3,7 +3,7 @@
"master": {
"uncompressed": {
"runtime": 4330,
"main": 456437,
"main": 458531,
"polyfills": 37123,
"styles": 69863,
"light-theme": 77232,
@@ -15,7 +15,7 @@
"master": {
"uncompressed": {
"runtime": 4330,
"main": 456457,
"main": 458518,
"polyfills": 37271,
"styles": 69863,
"light-theme": 77232,
@@ -3,7 +3,7 @@
"master": {
"uncompressed": {
"runtime": 1083,
"main": 138071,
"main": 140067,
"polyfills": 36964
}
}
@@ -15,7 +15,7 @@
"main": "TODO(i): temporarily increase the payload size limit from 17597 - this needs to be investigate further what caused the increase.",
"main": "Likely there is a missing PURE annotation https://github.com/angular/angular/pull/43344",
"main": "Tracking issue: https://github.com/angular/angular/issues/43568",
"main": 19947,
"main": 20378,
"polyfills": 37250
}
}
@@ -24,7 +24,7 @@
"master": {
"uncompressed": {
"runtime": 1105,
"main": 143368,
"main": 145783,
"polyfills": 37248
}
}
@@ -33,7 +33,7 @@
"master": {
"uncompressed": {
"runtime": 929,
"main": 135931,
"main": 138435,
"polyfills": 37933
}
}
@@ -42,7 +42,7 @@
"master": {
"uncompressed": {
"runtime": 2812,
"main": 230952,
"main": 232617,
"polyfills": 37244,
"src_app_lazy_lazy_module_ts": 796
}
@@ -52,7 +52,7 @@
"master": {
"uncompressed": {
"runtime": 1063,
"main": 161677,
"main": 162811,
"polyfills": 36975
}
}