@adobe/helix-rum-enhancer 2.29.0 → 2.31.0-beta.1

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/.releaserc.cjs CHANGED
@@ -29,5 +29,5 @@ module.exports = {
29
29
  slackChannel: "rum-explorers",
30
30
  }],
31
31
  ],
32
- branches: ['main'],
32
+ branches: ['main', { name: 'beta', prerelease: true }],
33
33
  };
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ # [2.31.0-beta.1](https://github.com/adobe/helix-rum-enhancer/compare/v2.30.0...v2.31.0-beta.1) (2025-01-16)
2
+
3
+
4
+ ### Features
5
+
6
+ * handle pre-rendering ([bb11187](https://github.com/adobe/helix-rum-enhancer/commit/bb11187058b8cb521a270c316323b66414a8d817))
7
+
8
+ # [2.30.0](https://github.com/adobe/helix-rum-enhancer/compare/v2.29.0...v2.30.0) (2025-01-15)
9
+
10
+
11
+ ### Features
12
+
13
+ * **missingresource:** report all resource error with http status code ([e238136](https://github.com/adobe/helix-rum-enhancer/commit/e238136c46a9801be1e3ce7887c7b4b292cbcf5b))
14
+
1
15
  # [2.29.0](https://github.com/adobe/helix-rum-enhancer/compare/v2.28.0...v2.29.0) (2025-01-15)
2
16
 
3
17
 
@@ -54,6 +68,13 @@
54
68
 
55
69
  * handle pre-speculation rules and rendering ([#301](https://github.com/adobe/helix-rum-enhancer/issues/301)) ([196d404](https://github.com/adobe/helix-rum-enhancer/commit/196d404f3f90a247a223e8ddc7c667592a87319f))
56
70
 
71
+ # [2.26.0-beta.1](https://github.com/adobe/helix-rum-enhancer/compare/v2.25.0...v2.26.0-beta.1) (2024-10-09)
72
+
73
+
74
+ ### Features
75
+
76
+ * handle pre-rendering ([bb11187](https://github.com/adobe/helix-rum-enhancer/commit/bb11187058b8cb521a270c316323b66414a8d817))
77
+
57
78
  # [2.25.0](https://github.com/adobe/helix-rum-enhancer/compare/v2.24.0...v2.25.0) (2024-10-03)
58
79
 
59
80
 
package/modules/index.js CHANGED
@@ -168,9 +168,9 @@ function addLoadResourceTracking() {
168
168
  sampleRUM('loadresource', { source: e.name, target: Math.round(e.duration) });
169
169
  });
170
170
  list.getEntries()
171
- .filter((e) => e.responseStatus === 404)
171
+ .filter((e) => e.responseStatus >= 400)
172
172
  .forEach((e) => {
173
- sampleRUM('missingresource', { source: e.name, target: e.hostname });
173
+ sampleRUM('missingresource', { source: e.name, target: e.responseStatus });
174
174
  });
175
175
  /* c8 ignore next 3 */
176
176
  } catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-rum-enhancer",
3
- "version": "2.29.0",
3
+ "version": "2.31.0-beta.1",
4
4
  "description": "Helix RUM Enhancer",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -14,7 +14,7 @@
14
14
  "build-bundle": "rollup --config",
15
15
  "prepack": "npm run build-bundle",
16
16
  "semantic-release": "semantic-release",
17
- "semantic-release-dry": "semantic-release --dry-run --branches $CI_BRANCH 1.x main",
17
+ "semantic-release-dry": "semantic-release --dry-run --branches $CI_BRANCH 1.x main beta",
18
18
  "prepare": "husky"
19
19
  },
20
20
  "repository": {
package/src/index.js CHANGED
@@ -314,9 +314,9 @@
314
314
  sampleRUM('loadresource', { source: e.name, target: Math.round(e.duration) });
315
315
  });
316
316
  list.getEntries()
317
- .filter((e) => e.responseStatus === 404)
317
+ .filter((e) => e.responseStatus >= 400)
318
318
  .forEach((e) => {
319
- sampleRUM('missingresource', { source: e.name, target: e.hostname });
319
+ sampleRUM('missingresource', { source: e.name, target: e.responseStatus });
320
320
  });
321
321
  } catch (error) {
322
322
  }
package/src/index.md5 CHANGED
@@ -1 +1 @@
1
- 1abf13337d16246784fba2bcfa3f2fb1
1
+ 5424a86261f2304969b6951549ac3941