Comparing version 1.6.0 to 1.6.1
{ | ||
"name": "tooltip", | ||
"version": "1.6.0", | ||
"version": "1.6.1", | ||
"description": "Tooltip manager", | ||
@@ -29,2 +29,3 @@ "main": "src/index.js", | ||
"clone": "^1.0.2", | ||
"contains": "0.1.1", | ||
"escape-html": "^1.0.2", | ||
@@ -31,0 +32,0 @@ "matches-selector": "^1.0.0", |
@@ -10,2 +10,4 @@ 'use strict'; | ||
var contains = require('contains') | ||
var TOOLTIP = function(cfg){ | ||
@@ -40,3 +42,3 @@ | ||
if (currentTarget && !currentTarget.parentNode){ | ||
if (currentTarget && !contains(document.documentElement, currentTarget)){ | ||
target.set(null) | ||
@@ -43,0 +45,0 @@ } |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
165358
4057
8
1
+ Addedcontains@0.1.1
+ Addedcontains@0.1.1(transitive)