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

febs

Package Overview
Dependencies
Maintainers
3
Versions
206
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

febs - npm Package Compare versions

Comparing version 0.8.48 to 0.8.49

browser/dist/febs-0.8.49/febs.base.js

31

browser/libs/dom.js

@@ -221,2 +221,3 @@

function _addClass( element,cName ){
if (!element) return;
if (typeof element.className === 'string') {

@@ -236,2 +237,3 @@ if( !_hasClass( element,cName ) ){

function _removeClass( element, cName ){
if (!element) return;
if (typeof element.className === 'string') {

@@ -249,5 +251,7 @@ if( _hasClass( element,cName ) ){

function _removeElement(element){
var _parentElement = element.parentNode;
if(_parentElement){
_parentElement.removeChild(element);
if (element) {
var _parentElement = element.parentNode;
if(_parentElement){
_parentElement.removeChild(element);
}
}

@@ -260,17 +264,20 @@ }

function _appendChild(element, node) {
if (node instanceof Dom) {
if (!node._isArray()) {
element.appendChild(node[0]);
} else {
for (var i = 0; i < node.length; i++) {
element.appendChild(node[i]);
if (element) {
if (node instanceof Dom) {
if (!node._isArray()) {
element.appendChild(node[0]);
} else {
for (var i = 0; i < node.length; i++) {
element.appendChild(node[i]);
}
}
}
else {
element.appendChild(node);
}
}
else {
element.appendChild(node);
}
}
function _prependChild(element,node){
if (!element) return;
if(element.hasChildNodes()){

@@ -277,0 +284,0 @@ if (node instanceof Dom) {

@@ -86,3 +86,3 @@ {

"name": "febs",
"version": "0.8.48"
"version": "0.8.49"
}

Sorry, the diff of this file is not supported yet

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