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

for-own

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

for-own - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

4

index.js
/*!
* for-own <https://github.com/jonschlinkert/for-own>
*
* Copyright (c) 2014-2015, Jon Schlinkert.
* Copyright (c) 2014-2016, Jon Schlinkert.
* Licensed under the MIT License.

@@ -14,3 +14,3 @@ */

module.exports = function forOwn(o, fn, thisArg) {
forIn(o, function (val, key) {
forIn(o, function(val, key) {
if (hasOwn.call(o, key)) {

@@ -17,0 +17,0 @@ return fn.call(thisArg, o[key], key, o);

{
"name": "for-own",
"description": "Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.js.",
"version": "0.1.3",
"version": "0.1.4",
"homepage": "https://github.com/jonschlinkert/for-own",
"author": {
"name": "Jon Schlinkert",
"url": "https://github.com/jonschlinkert"
},
"repository": {
"type": "git",
"url": "git://github.com/jonschlinkert/for-own.git"
},
"author": "Jon Schlinkert (https://github.com/jonschlinkert)",
"repository": "jonschlinkert/for-own",
"bugs": {
"url": "https://github.com/jonschlinkert/for-own/issues"
},
"license": {
"type": "MIT",
"url": "https://github.com/jonschlinkert/for-own/blob/master/LICENSE"
},
"license": "MIT",
"files": [

@@ -32,7 +23,7 @@ "index.js"

"dependencies": {
"for-in": "^0.1.4"
"for-in": "^0.1.5"
},
"devDependencies": {
"mocha": "*",
"should": "^5.2.0"
"gulp-format-md": "^0.1.7",
"mocha": "^2.4.5"
},

@@ -50,3 +41,20 @@ "keywords": [

"value"
]
],
"verb": {
"run": true,
"toc": false,
"layout": "default",
"tasks": [
"readme"
],
"plugins": [
"gulp-format-md"
],
"reflinks": [
"verb"
],
"lint": {
"reflinks": true
}
}
}

@@ -6,3 +6,3 @@ # for-own [![NPM version](https://badge.fury.io/js/for-own.svg)](http://badge.fury.io/js/for-own)

## Install
#### Install with [npm](npmjs.org):
#### Install with [npm](https://www.npmjs.com/):

@@ -53,2 +53,2 @@ ```bash

_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on September 20, 2014._
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on September 20, 2014._
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