@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 +7 -0
- package/modules/fflags.js +1 -1
- package/modules/index.js +1 -1
- package/package.json +4 -4
- package/src/index.js +2 -2
- package/src/index.md5 +1 -1
- package/src/index.sri +1 -1
- package/src/plugins/cwv.md5 +1 -1
- package/src/plugins/form.md5 +1 -1
- package/src/plugins/webcomponent.md5 +1 -1
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
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
-
|
|
1
|
+
c69c2dbd6602a4f9ddaabfb336dbf6c3
|
package/src/index.sri
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
sha384-
|
|
1
|
+
sha384-I5K6alRMVQ/PEU4HdrN6eVdLhmFyFiprozg8vhN5h5gNbohsTdZ5JO5imnjM8Ccv
|
package/src/plugins/cwv.md5
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
44a60e36c92e7b70b0dd230d2f1d1e7b
|
package/src/plugins/form.md5
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
6267791fa138d96308480bc66b8fb805
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
3476ee246a6b4c1599651d8a7580e2c7
|