Comparing version 0.1.3 to 0.1.4
/*! | ||
* 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._ |
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
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
3747
53
1
Updatedfor-in@^0.1.5