🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

ebuilder-js

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ebuilder-js - npm Package Compare versions

Comparing version

to
0.0.12

2

package.json
{
"name": "ebuilder-js",
"version": "0.0.11",
"version": "0.0.12",
"description": "Highly configurable and easily manipulable elements in a single declaration, with a functionnal touch.",

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

@@ -74,3 +74,3 @@ "use strict";

exports.isValidSource = function (source) {
return source instanceof Element || exports.isTypeOf(source, 'string');
return exports.isString(source) || source instanceof Element || source instanceof ShadowRoot;
};

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

exports.isValidTarget = function (target) {
return exports.isEBObject(target) || target instanceof Element;
return exports.isEBObject(target) || target instanceof Element || target instanceof ShadowRoot;
};

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