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

find-parent

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

find-parent - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

6

index.js
'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": {

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