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

@qualweb/qw-element

Package Overview
Dependencies
Maintainers
3
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@qualweb/qw-element - npm Package Compare versions

Comparing version 0.1.24 to 0.1.25

10

dist/index.js

@@ -222,2 +222,12 @@ "use strict";

}
getParentAllContexts() {
let parent = this.element.parentElement;
if (!parent) {
let context = this.element.getAttribute('_documentSelector');
if (context) {
parent = document.querySelector(context);
}
}
return this.convertElementToQWElement(this.element.parentElement);
}
getElementPreviousSibling() {

@@ -224,0 +234,0 @@ return this.convertElementToQWElement(this.element.previousElementSibling);

4

package.json
{
"name": "@qualweb/qw-element",
"version": "0.1.24",
"version": "0.1.25",
"description": "Utilities module for qualweb",

@@ -31,3 +31,3 @@ "main": "dist/index.js",

"devDependencies": {
"@qualweb/types": "^0.4.29",
"@qualweb/types": "^0.4.41",
"@types/node": "^14.0.26",

@@ -34,0 +34,0 @@ "chai": "^4.2.0",

@@ -248,2 +248,12 @@ class QWElement {

}
public getParentAllContexts(): QWElement | null {
let parent = this.element.parentElement;
if(!parent){
let context = this.element.getAttribute('_documentSelector');
if(context){
parent = document.querySelector(context);
}
}
return this.convertElementToQWElement(this.element.parentElement);
}

@@ -250,0 +260,0 @@ public getElementPreviousSibling(): QWElement | null {

Sorry, the diff of this file is not supported yet

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