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

dom-render

Package Overview
Dependencies
Maintainers
1
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dom-render - npm Package Compare versions

Comparing version 1.0.23 to 1.0.24

6

dist/dom-render.js

@@ -291,2 +291,8 @@ 'use strict';

});
this.changeVar(obj, childNodes, undefined);
var elements = Array.from(childNodes).filter(function (it) { return it.nodeType === 1; }).map(function (it) { return it; });
elements.forEach(function (it) {
var _a;
(_a = config === null || config === void 0 ? void 0 : config.applyEvents) === null || _a === void 0 ? void 0 : _a.filter(function (ta) { return it.getAttribute(ta.attrName); }).forEach(function (ta) { return ta.callBack(it, it.getAttribute(ta.attrName), obj); });
});
};

@@ -293,0 +299,0 @@ class_1.prototype.changeVar = function (obj, elements, varName) {

@@ -91,2 +91,8 @@ "use strict";

});
this.changeVar(obj, childNodes, undefined);
var elements = Array.from(childNodes).filter(function (it) { return it.nodeType === 1; }).map(function (it) { return it; });
elements.forEach(function (it) {
var _a;
(_a = config === null || config === void 0 ? void 0 : config.applyEvents) === null || _a === void 0 ? void 0 : _a.filter(function (ta) { return it.getAttribute(ta.attrName); }).forEach(function (ta) { return ta.callBack(it, it.getAttribute(ta.attrName), obj); });
});
};

@@ -93,0 +99,0 @@ class_1.prototype.changeVar = function (obj, elements, varName) {

2

package.json
{
"name": "dom-render",
"version": "1.0.23",
"version": "1.0.24",
"main": "DomRender.js",

@@ -5,0 +5,0 @@ "license": "MIT",

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