@adobe/helix-rum-enhancer 2.45.0 → 2.46.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 +14 -0
- package/modules/fflags.js +1 -1
- package/modules/index.js +3 -2
- package/package.json +4 -4
- package/src/index.js +4 -3
- package/src/index.md5 +1 -1
- package/src/index.sri +1 -1
- package/src/plugins/a11y.md5 +1 -1
- package/src/plugins/cwv.md5 +1 -1
- package/src/plugins/usercentrics.md5 +1 -1
- package/src/plugins/video.md5 +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [2.46.0](https://github.com/adobe/helix-rum-enhancer/compare/v2.45.1...v2.46.0) (2026-02-19)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* 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))
|
|
7
|
+
|
|
8
|
+
## [2.45.1](https://github.com/adobe/helix-rum-enhancer/compare/v2.45.0...v2.45.1) (2026-02-09)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* remove blackbar-only TrustArc detection ([#532](https://github.com/adobe/helix-rum-enhancer/issues/532)) ([7fe4efc](https://github.com/adobe/helix-rum-enhancer/commit/7fe4efc196afd189b6dca73ea7e9eb8307f5936f))
|
|
14
|
+
|
|
1
15
|
# [2.45.0](https://github.com/adobe/helix-rum-enhancer/compare/v2.44.2...v2.45.0) (2026-01-21)
|
|
2
16
|
|
|
3
17
|
|
package/modules/fflags.js
CHANGED
package/modules/index.js
CHANGED
|
@@ -39,7 +39,7 @@ const CONSENT_PROVIDERS = [
|
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
41
|
name: 'trustarc',
|
|
42
|
-
detect: () => ['notice_gdpr_prefs', 'notice_preferences'].some(hasCookieKey) || document.querySelector('#truste-consent-track
|
|
42
|
+
detect: () => ['notice_gdpr_prefs', 'notice_preferences'].some(hasCookieKey) || document.querySelector('#truste-consent-track'),
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
45
|
name: 'usercentrics',
|
|
@@ -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.0",
|
|
4
4
|
"description": "Helix RUM Enhancer",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -36,7 +36,7 @@
|
|
|
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.2",
|
|
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",
|
|
@@ -60,9 +60,9 @@
|
|
|
60
60
|
"lint-staged": "16.2.7",
|
|
61
61
|
"mocha": "11.7.5",
|
|
62
62
|
"mocha-multi-reporters": "1.5.1",
|
|
63
|
-
"rollup": "4.
|
|
63
|
+
"rollup": "4.57.1",
|
|
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
|
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
detect: () => hasCookieKey('OptanonAlertBoxClosed') || document.querySelector('#onetrust-banner-sdk, #onetrust-pc-sdk')
|
|
132
132
|
}, {
|
|
133
133
|
name: 'trustarc',
|
|
134
|
-
detect: () => ['notice_gdpr_prefs', 'notice_preferences'].some(hasCookieKey) || document.querySelector('#truste-consent-track
|
|
134
|
+
detect: () => ['notice_gdpr_prefs', 'notice_preferences'].some(hasCookieKey) || document.querySelector('#truste-consent-track')
|
|
135
135
|
}, {
|
|
136
136
|
name: 'usercentrics',
|
|
137
137
|
detect: () => window.localStorage.getItem('uc_gcm') || document.querySelector('#usercentrics-root')
|
|
@@ -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/a11y.md5
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
4d477d96ade6db3644031c8335095934
|
package/src/plugins/cwv.md5
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
214afb5bc6408240a88bae4d20224cf3
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
ebe320b3bc258db22786d472559793c1
|
package/src/plugins/video.md5
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
90fa0790108137f0cb4c44345d2e577f
|