@adobe/helix-rum-enhancer 2.37.1 → 2.38.0

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # [2.38.0](https://github.com/adobe/helix-rum-enhancer/compare/v2.37.1...v2.38.0) (2025-07-23)
2
+
3
+
4
+ ### Features
5
+
6
+ * enable allresources flag for hash 543 and add dropins path patterns ([74a393c](https://github.com/adobe/helix-rum-enhancer/commit/74a393c075978f6e7107f003933eccbb228928a2))
7
+
1
8
  ## [2.37.1](https://github.com/adobe/helix-rum-enhancer/compare/v2.37.0...v2.37.1) (2025-07-14)
2
9
 
3
10
 
package/modules/fflags.js CHANGED
@@ -19,6 +19,6 @@ export const fflags = {
19
19
  redirect: [620, 1139],
20
20
  example: [543, 770, 1136],
21
21
  language: [543, 959, 1139, 620],
22
- allresources: [1139],
22
+ allresources: [543, 1139],
23
23
  a11y: [557, 781, 897, 955, 959],
24
24
  };
package/modules/index.js CHANGED
@@ -244,7 +244,7 @@ function addLoadResourceTracking() {
244
244
  entries
245
245
  .filter((e) => !e.responseStatus || e.responseStatus < 400)
246
246
  .filter((e) => window.location.hostname === new URL(e.name).hostname || fflags.has('allresources'))
247
- .filter((e) => new URL(e.name).pathname.match('.*(\\.plain\\.html$|\\.json|graphql|api)'))
247
+ .filter((e) => new URL(e.name).pathname.match('.*(\\.plain\\.html$|\\.json|graphql|api)') || (fflags.has('allresources') && (new URL(e.name).pathname.includes('__dropins__/storefront-') || new URL(e.name).pathname.includes('scripts/dropins/storefront-'))))
248
248
  .forEach((e) => {
249
249
  sampleRUM('loadresource', { source: e.name, target: Math.round(e.duration) });
250
250
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-rum-enhancer",
3
- "version": "2.37.1",
3
+ "version": "2.38.0",
4
4
  "description": "Helix RUM Enhancer",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -34,7 +34,7 @@
34
34
  },
35
35
  "devDependencies": {
36
36
  "@adobe/eslint-config-helix": "3.0.8",
37
- "@adobe/helix-rum-js": "2.12.1",
37
+ "@adobe/helix-rum-js": "2.12.2",
38
38
  "@adobe/rollup-plugin-checksum": "1.2.0",
39
39
  "@eslint/config-helpers": "0.3.0",
40
40
  "@esm-bundle/chai": "4.3.4-fix.0",
@@ -55,12 +55,12 @@
55
55
  "eslint-plugin-import": "2.32.0",
56
56
  "globals": "16.3.0",
57
57
  "husky": "9.1.7",
58
- "jsdoc-to-markdown": "9.1.1",
58
+ "jsdoc-to-markdown": "9.1.2",
59
59
  "junit-report-builder": "5.1.1",
60
60
  "lint-staged": "16.1.2",
61
61
  "mocha": "11.7.1",
62
62
  "mocha-multi-reporters": "1.5.1",
63
- "rollup": "4.45.0",
63
+ "rollup": "4.45.1",
64
64
  "rollup-plugin-eslint-bundle": "9.0.0",
65
65
  "semantic-release": "24.2.7",
66
66
  "semantic-release-slack-bot": "^4.0.2",
package/src/index.js CHANGED
@@ -21,7 +21,7 @@
21
21
  redirect: [620, 1139],
22
22
  example: [543, 770, 1136],
23
23
  language: [543, 959, 1139, 620],
24
- allresources: [1139],
24
+ allresources: [543, 1139],
25
25
  a11y: [557, 781, 897, 955, 959]
26
26
  };
27
27
 
@@ -330,7 +330,7 @@
330
330
  const observer = new PerformanceObserver(list => {
331
331
  try {
332
332
  const entries = list.getEntries();
333
- entries.filter(e => !e.responseStatus || e.responseStatus < 400).filter(e => window.location.hostname === new URL(e.name).hostname || fflags.has('allresources')).filter(e => new URL(e.name).pathname.match('.*(\\.plain\\.html$|\\.json|graphql|api)')).forEach(e => {
333
+ entries.filter(e => !e.responseStatus || e.responseStatus < 400).filter(e => window.location.hostname === new URL(e.name).hostname || fflags.has('allresources')).filter(e => new URL(e.name).pathname.match('.*(\\.plain\\.html$|\\.json|graphql|api)') || fflags.has('allresources') && (new URL(e.name).pathname.includes('__dropins__/storefront-') || new URL(e.name).pathname.includes('scripts/dropins/storefront-'))).forEach(e => {
334
334
  sampleRUM('loadresource', {
335
335
  source: e.name,
336
336
  target: Math.round(e.duration)
package/src/index.md5 CHANGED
@@ -1 +1 @@
1
- 17c00804cede176f8349b25d79899efa
1
+ c69c2dbd6602a4f9ddaabfb336dbf6c3
package/src/index.sri CHANGED
@@ -1 +1 @@
1
- sha384-E0tOoXUN4IvzjkIb4WwyWGlRnGAbrcrV5O3QbmmASq+cYh7qAE752ezPyoc/ID5O
1
+ sha384-I5K6alRMVQ/PEU4HdrN6eVdLhmFyFiprozg8vhN5h5gNbohsTdZ5JO5imnjM8Ccv
@@ -1 +1 @@
1
- 81a070324c3b6699b07f9f5d4a04d9e2
1
+ 44a60e36c92e7b70b0dd230d2f1d1e7b
@@ -1 +1 @@
1
- 5617845e9f7ebe824f07b3f042193b12
1
+ 6267791fa138d96308480bc66b8fb805
@@ -1 +1 @@
1
- 69d98a5cc1e1f11f6bedc2dbe91d8f8f
1
+ 3476ee246a6b4c1599651d8a7580e2c7