lodash.isplainobject
Advanced tools
Comparing version 3.0.2 to 3.1.0
10
index.js
/** | ||
* lodash 3.0.2 (Custom Build) <https://lodash.com/> | ||
* lodash 3.1.0 (Custom Build) <https://lodash.com/> | ||
* Build: `lodash modern modularize exports="npm" -o ./` | ||
@@ -10,3 +10,3 @@ * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/> | ||
var baseFor = require('lodash._basefor'), | ||
isNative = require('lodash.isnative'), | ||
getNative = require('lodash._getnative'), | ||
keysIn = require('lodash.keysin'); | ||
@@ -41,3 +41,3 @@ | ||
/** Native method references. */ | ||
var getPrototypeOf = isNative(getPrototypeOf = Object.getPrototypeOf) && getPrototypeOf; | ||
var getPrototypeOf = getNative(Object, 'getPrototypeOf'); | ||
@@ -122,4 +122,4 @@ /** | ||
} | ||
var valueOf = value.valueOf, | ||
objProto = isNative(valueOf) && (objProto = getPrototypeOf(valueOf)) && getPrototypeOf(objProto); | ||
var valueOf = getNative(value, 'valueOf'), | ||
objProto = valueOf && (objProto = getPrototypeOf(valueOf)) && getPrototypeOf(objProto); | ||
@@ -126,0 +126,0 @@ return objProto |
{ | ||
"name": "lodash.isplainobject", | ||
"version": "3.0.2", | ||
"version": "3.1.0", | ||
"description": "The modern build of lodash’s `_.isPlainObject` as a module.", | ||
@@ -21,5 +21,5 @@ "homepage": "https://lodash.com/", | ||
"lodash._basefor": "^3.0.0", | ||
"lodash.isnative": "^3.0.0", | ||
"lodash._getnative": "^3.0.0", | ||
"lodash.keysin": "^3.0.0" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
# lodash.isplainobject v3.0.2 | ||
# lodash.isplainobject v3.1.0 | ||
@@ -20,2 +20,2 @@ The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.isPlainObject` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. | ||
See the [documentation](https://lodash.com/docs#isPlainObject) or [package source](https://github.com/lodash/lodash/blob/3.0.2-npm-packages/lodash.isplainobject) for more details. | ||
See the [documentation](https://lodash.com/docs#isPlainObject) or [package source](https://github.com/lodash/lodash/blob/3.1.0-npm-packages/lodash.isplainobject) for more details. |
6922
+ Addedlodash._getnative@^3.0.0
+ Addedlodash._getnative@3.9.1(transitive)
- Removedlodash.isnative@^3.0.0
- Removedlodash.isnative@3.0.7(transitive)