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

fizzy-ui-utils

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fizzy-ui-utils - npm Package Compare versions

Comparing version 2.0.4 to 2.0.5

2

bower.json

@@ -9,3 +9,3 @@ {

"dependencies": {
"desandro-matches-selector": "~2.0.0"
"desandro-matches-selector": "^2.0.0"
},

@@ -12,0 +12,0 @@ "moduleType": [

{
"name": "fizzy-ui-utils",
"version": "2.0.4",
"version": "2.0.5",
"description": "UI utilities",

@@ -5,0 +5,0 @@ "main": "utils.js",

@@ -17,2 +17,15 @@ QUnit.test( 'getParent', function( assert ) {

var treeNotInDocument = document.createElement('div');
treeNotInDocument.innerHTML =
'<div class="a">' +
'<div class="a1">' +
'</div>';
parent = getParent( treeNotInDocument.querySelector('.a1'), '.not-found' );
assert.ok(
parent === undefined,
'Parent should be `undefined` even when the given tree is not in the document'
);
});
/**
* Fizzy UI utils v2.0.4
* Fizzy UI utils v2.0.5
* MIT license

@@ -88,3 +88,3 @@ */

utils.getParent = function( elem, selector ) {
while ( elem != document.body ) {
while ( elem.parentNode && elem != document.body ) {
elem = elem.parentNode;

@@ -91,0 +91,0 @@ if ( matchesSelector( elem, selector ) ) {

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