@adobe/helix-rum-enhancer 2.45.1 → 2.46.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/CHANGELOG.md +14 -0
- package/modules/fflags.js +1 -1
- package/modules/index.js +2 -1
- package/package.json +6 -6
- package/src/index.js +3 -2
- package/src/index.md5 +1 -1
- package/src/index.sri +1 -1
- package/src/plugins/form.md5 +1 -1
- package/src/plugins/martech.md5 +1 -1
- package/src/plugins/onetrust.md5 +1 -1
- package/src/plugins/redirect.md5 +1 -1
- package/src/plugins/usercentrics.md5 +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [2.46.1](https://github.com/adobe/helix-rum-enhancer/compare/v2.46.0...v2.46.1) (2026-04-13)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* use npm OIDC trusted publishers and fix Node.js version ([0bbcb3d](https://github.com/adobe/helix-rum-enhancer/commit/0bbcb3d5a7dc3ad8272f699a008f7c6efc957cd8))
|
|
7
|
+
|
|
8
|
+
# [2.46.0](https://github.com/adobe/helix-rum-enhancer/compare/v2.45.1...v2.46.0) (2026-02-19)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* add image tracking for allresources flag ([#536](https://github.com/adobe/helix-rum-enhancer/issues/536)) ([01df2a4](https://github.com/adobe/helix-rum-enhancer/commit/01df2a4a944277bd991f3e8da313f17e19d98d13))
|
|
14
|
+
|
|
1
15
|
## [2.45.1](https://github.com/adobe/helix-rum-enhancer/compare/v2.45.0...v2.45.1) (2026-02-09)
|
|
2
16
|
|
|
3
17
|
|
package/modules/fflags.js
CHANGED
package/modules/index.js
CHANGED
|
@@ -257,7 +257,8 @@ function addLoadResourceTracking() {
|
|
|
257
257
|
: '.*(\\.plain\\.html$|\\.json|graphql|api)',
|
|
258
258
|
);
|
|
259
259
|
const isDropIn = fflags.has('allresources') && (pathname.includes('__dropins__/storefront-') || pathname.includes('scripts/dropins/storefront-'));
|
|
260
|
-
|
|
260
|
+
const isImage = fflags.has('allresources') && pathname.match(/\.(png|jpe?g|svg)$/i);
|
|
261
|
+
return extensionMatch || isDropIn || isImage;
|
|
261
262
|
})
|
|
262
263
|
.forEach((e) => {
|
|
263
264
|
sampleRUM('loadresource', { source: e.name, target: Math.round(e.duration) });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/helix-rum-enhancer",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.46.1",
|
|
4
4
|
"description": "Helix RUM Enhancer",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -36,13 +36,13 @@
|
|
|
36
36
|
"@adobe/eslint-config-helix": "3.0.13",
|
|
37
37
|
"@adobe/helix-rum-js": "2.13.6",
|
|
38
38
|
"@adobe/rollup-plugin-checksum": "1.2.0",
|
|
39
|
-
"@eslint/config-helpers": "0.5.
|
|
39
|
+
"@eslint/config-helpers": "0.5.3",
|
|
40
40
|
"@esm-bundle/chai": "4.3.4-fix.0",
|
|
41
41
|
"@rollup/plugin-babel": "6.1.0",
|
|
42
42
|
"@semantic-release/changelog": "6.0.3",
|
|
43
43
|
"@semantic-release/exec": "7.1.0",
|
|
44
44
|
"@semantic-release/git": "10.0.1",
|
|
45
|
-
"@semantic-release/npm": "13.1.
|
|
45
|
+
"@semantic-release/npm": "13.1.5",
|
|
46
46
|
"@web/test-runner": "0.20.2",
|
|
47
47
|
"@web/test-runner-commands": "0.9.0",
|
|
48
48
|
"@web/test-runner-junit-reporter": "0.8.0",
|
|
@@ -57,12 +57,12 @@
|
|
|
57
57
|
"husky": "9.1.7",
|
|
58
58
|
"jsdoc-to-markdown": "9.1.3",
|
|
59
59
|
"junit-report-builder": "5.1.1",
|
|
60
|
-
"lint-staged": "16.
|
|
60
|
+
"lint-staged": "16.4.0",
|
|
61
61
|
"mocha": "11.7.5",
|
|
62
62
|
"mocha-multi-reporters": "1.5.1",
|
|
63
|
-
"rollup": "4.
|
|
63
|
+
"rollup": "4.60.0",
|
|
64
64
|
"rollup-plugin-eslint-bundle": "9.0.0",
|
|
65
|
-
"semantic-release": "25.0.
|
|
65
|
+
"semantic-release": "25.0.3",
|
|
66
66
|
"semantic-release-slack-bot": "^4.0.2",
|
|
67
67
|
"web-vitals": "5.1.0"
|
|
68
68
|
},
|
package/src/index.js
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
disabled: (f, c) => !fflags.has(f) && c(),
|
|
20
20
|
eagercwv: [683],
|
|
21
21
|
example: [543, 770, 1136],
|
|
22
|
-
allresources: [543, 1139],
|
|
22
|
+
allresources: [543, 1139, 397],
|
|
23
23
|
a11y: [557, 781, 897, 955, 959]
|
|
24
24
|
};
|
|
25
25
|
|
|
@@ -340,7 +340,8 @@
|
|
|
340
340
|
} = new URL(e.name);
|
|
341
341
|
const extensionMatch = pathname.match(hostname !== window.location.hostname ? '.*(\\.html$|\\.json|\\.js|graphql|api)' : '.*(\\.plain\\.html$|\\.json|graphql|api)');
|
|
342
342
|
const isDropIn = fflags.has('allresources') && (pathname.includes('__dropins__/storefront-') || pathname.includes('scripts/dropins/storefront-'));
|
|
343
|
-
|
|
343
|
+
const isImage = fflags.has('allresources') && pathname.match(/\.(png|jpe?g|svg)$/i);
|
|
344
|
+
return extensionMatch || isDropIn || isImage;
|
|
344
345
|
}).forEach(e => {
|
|
345
346
|
sampleRUM('loadresource', {
|
|
346
347
|
source: e.name,
|
package/src/index.md5
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
b9c650a69e3248bc8666c1268570f5a9
|
package/src/index.sri
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
sha384-
|
|
1
|
+
sha384-8K8JzOS/Wn/gjv5NjyMAnGcI97s6ynBGgps6vWt7B01KqJyQko6jK0q9KW1fe5Yk
|
package/src/plugins/form.md5
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
3ef39d6c29619ddd5c5aaa77d2ce54d7
|
package/src/plugins/martech.md5
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
866b5825b7bdb273170fbab6fa8099bb
|
package/src/plugins/onetrust.md5
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
4b5cf6c41be188be11c519f419592e7e
|
package/src/plugins/redirect.md5
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
ffe06266f271e876a25169b3b9aeb664
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
ebe320b3bc258db22786d472559793c1
|