Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@adobe/helix-rum-enhancer

Package Overview
Dependencies
Maintainers
22
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adobe/helix-rum-enhancer - npm Package Compare versions

Comparing version 2.1.1 to 2.2.0

7

CHANGELOG.md

@@ -0,1 +1,8 @@

# [2.2.0](https://github.com/adobe/helix-rum-enhancer/compare/v2.1.1...v2.2.0) (2024-03-04)
### Features
* **sourceselector:** highlight clicks on buttons and CTAs ([2bc8dc5](https://github.com/adobe/helix-rum-enhancer/commit/2bc8dc531ef31e9ae08daebdd428a98a493c0f9e))
## [2.1.1](https://github.com/adobe/helix-rum-enhancer/compare/v2.1.0...v2.1.1) (2024-02-28)

@@ -2,0 +9,0 @@

4

package.json
{
"name": "@adobe/helix-rum-enhancer",
"version": "2.1.1",
"version": "2.2.0",
"description": "Helix RUM Enhancer",

@@ -35,3 +35,3 @@ "main": "src/index.js",

"@semantic-release/git": "10.0.1",
"@semantic-release/npm": "11.0.2",
"@semantic-release/npm": "11.0.3",
"c8": "9.1.0",

@@ -38,0 +38,0 @@ "codecov": "3.8.3",

@@ -47,4 +47,4 @@ /*

const blockName = element.closest('.block') ? element.closest('.block').getAttribute('data-block-name') : '';
if (element.id || formElementSelector) {
const blockName = element.closest('.block') ? element.closest('.block').getAttribute('data-block-name') : '';
const id = element.id ? `#${element.id}` : '';

@@ -57,2 +57,7 @@ return blockName ? `.${blockName} ${formElementSelector}${id}` : `${formElementSelector}${id}`;

}
if (Array.from(element.classList).some((className) => className.match(/button|cta/))) {
return blockName ? `.${blockName} .button` : '.button';
}
return sourceselector(element.parentElement);

@@ -59,0 +64,0 @@ };

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc