find-parent
Advanced tools
Comparing version 2.0.1 to 2.0.2
'use strict'; | ||
var assert = require('chai').assert; | ||
var FindParent = { | ||
@@ -11,3 +9,5 @@ byMatcher: function(element, func, opts) { | ||
assert.isObject(opts); | ||
if (opts === null || Array.isArray(opts) || typeof opts !== 'object') { | ||
throw new Error('Expected opts to be an object.'); | ||
} | ||
@@ -14,0 +14,0 @@ if (!element || element === document) { |
{ | ||
"name": "find-parent", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "A utility for finding the nearest parent that matches a test function", | ||
@@ -15,2 +15,3 @@ "main": "index.js", | ||
"devDependencies": { | ||
"browserify": "13.0.0", | ||
"chai": "3.2.0", | ||
@@ -20,3 +21,3 @@ "eslint": "1.1.0", | ||
"karma": "0.13.9", | ||
"karma-browserify": "4.3.0", | ||
"karma-browserify": "5.0.2", | ||
"karma-chrome-launcher": "0.2.0", | ||
@@ -27,3 +28,4 @@ "karma-cli": "0.1.0", | ||
"mocha": "2.2.5", | ||
"wealthfront-javascript": "2.3.0" | ||
"watchify": "3.7.0", | ||
"wealthfront-javascript": "2.4.1" | ||
}, | ||
@@ -30,0 +32,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4233
32
13