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

@domql/element

Package Overview
Dependencies
Maintainers
0
Versions
176
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@domql/element - npm Package Compare versions

Comparing version 2.5.106 to 2.5.107

6

dist/cjs/methods/index.js

@@ -80,2 +80,3 @@ "use strict";

const lookdown = function(param) {
var _a;
const el = this;

@@ -95,3 +96,3 @@ const { __ref: ref } = el;

}
const lookdown2 = childElem == null ? void 0 : childElem.lookdown(param);
const lookdown2 = (_a = childElem == null ? void 0 : childElem.lookdown) == null ? void 0 : _a.call(childElem, param);
if (lookdown2)

@@ -103,2 +104,3 @@ return lookdown2;

const lookdownAll = function(param, results = []) {
var _a;
const el = this;

@@ -117,3 +119,3 @@ const { __ref: ref } = el;

}
childElem == null ? void 0 : childElem.lookdownAll(param, results);
(_a = childElem == null ? void 0 : childElem.lookdownAll) == null ? void 0 : _a.call(childElem, param, results);
}

@@ -120,0 +122,0 @@ return results.length ? results : null;

@@ -51,7 +51,5 @@ "use strict";

};
const reset = (params = {}, options) => {
const reset = (options) => {
const element = void 0;
if (!options.preventRemove)
(0, import_content.removeContent)(element, options);
(0, import_create.default)(params, element, options.contentElementKey || "content", {
(0, import_create.default)(element, element.parent, void 0, {
ignoreChildExtend: true,

@@ -58,0 +56,0 @@ ...import_mixins.registry.defaultOptions,

@@ -61,3 +61,3 @@ 'use strict'

}
const lookdown = childElem?.lookdown(param)
const lookdown = childElem?.lookdown?.(param)
if (lookdown) return lookdown

@@ -83,3 +83,3 @@ }

}
childElem?.lookdownAll(param, results)
childElem?.lookdownAll?.(param, results)
}

@@ -86,0 +86,0 @@

{
"name": "@domql/element",
"version": "2.5.106",
"version": "2.5.107",
"license": "MIT",

@@ -34,3 +34,3 @@ "type": "module",

},
"gitHead": "55e7427a41deeb89997d0dae240180fee7eefbe2",
"gitHead": "a313ce03e61603c66db67f1264c172805edb273e",
"devDependencies": {

@@ -37,0 +37,0 @@ "@babel/core": "^7.12.0"

@@ -20,6 +20,5 @@ 'use strict'

export const reset = (params = {}, options) => {
export const reset = (options) => {
const element = this
if (!options.preventRemove) removeContent(element, options)
create(params, element, options.contentElementKey || 'content', {
create(element, element.parent, undefined, {
ignoreChildExtend: true,

@@ -26,0 +25,0 @@ ...registry.defaultOptions,

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