New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

qsa-observer

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qsa-observer - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

2

package.json
{
"name": "qsa-observer",
"version": "1.1.1",
"version": "1.1.2",
"description": "handle elements lifecycle through CSS selectors",

@@ -5,0 +5,0 @@ "main": "./cjs/index.js",

# qsa-observer
Given an array of selectors, handles any matching element that was wither connected, or disconnected, from an observed element, or document.
![bird watch](./qsa-observer-head.jpg)
<sup>**Social Media Photo by [Kevin Maillefer](https://unsplash.com/@kmaillefer) on [Unsplash](https://unsplash.com/)**</sup>
Given an array of selectors, handles any matching element that was either connected, or disconnected, from an observed element, or document.
### Differently from MutationObserver

@@ -42,3 +47,3 @@

// example: add another selector to observe and passes through the setup
// example: add another selector to observe and pass through the handle
const observeMore = selector => {

@@ -45,0 +50,0 @@ if (!query.includes(selector)) {

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