@adobe/spacecat-shared-rum-api-client 2.40.6 → 2.40.7
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/package.json +1 -1
- package/src/functions/form-vitals.js +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [@adobe/spacecat-shared-rum-api-client-v2.40.7](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-rum-api-client-v2.40.6...@adobe/spacecat-shared-rum-api-client-v2.40.7) (2026-02-05)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* handle CSS-escaped form IDs in form vitals extraction ([#1272](https://github.com/adobe/spacecat-shared/issues/1272)) ([12d1c06](https://github.com/adobe/spacecat-shared/commit/12d1c061493fc1a1cae4801a0a558b15a58f8a5e))
|
|
7
|
+
|
|
1
8
|
# [@adobe/spacecat-shared-rum-api-client-v2.40.6](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-rum-api-client-v2.40.5...@adobe/spacecat-shared-rum-api-client-v2.40.6) (2026-01-29)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -255,7 +255,8 @@ function handler(bundles) {
|
|
|
255
255
|
|
|
256
256
|
globalFormSourceSet.forEach((source) => {
|
|
257
257
|
// counts metrics per each group
|
|
258
|
-
|
|
258
|
+
// Match form ID/class including CSS escape sequences (e.g., form#\35 57238494 or form#abc)
|
|
259
|
+
const match = source.match(/form[#.]((?:\\[0-9a-fA-F]{1,6}\s?|\w|-)+)/);
|
|
259
260
|
const formsource = match ? match[1] : 'unknown';
|
|
260
261
|
// groups by url and user agent
|
|
261
262
|
dataChunks.addFacet('urlUserAgents', (bundle) => {
|