Comparing version 3.2.2 to 4.0.0
@@ -62,2 +62,5 @@ var isBuffer = require('is-buffer'); | ||
} | ||
if (type === '[object Promise]') { | ||
return 'promise'; | ||
} | ||
@@ -64,0 +67,0 @@ // buffer |
{ | ||
"name": "kind-of", | ||
"description": "Get the native type of a value.", | ||
"version": "3.2.2", | ||
"version": "4.0.0", | ||
"homepage": "https://github.com/jonschlinkert/kind-of", | ||
@@ -36,7 +36,7 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", | ||
"ansi-bold": "^0.1.1", | ||
"benchmarked": "^1.0.0", | ||
"benchmarked": "^1.1.1", | ||
"browserify": "^14.3.0", | ||
"glob": "^7.1.1", | ||
"gulp-format-md": "^0.1.12", | ||
"mocha": "^3.3.0", | ||
"mocha": "^3.4.1", | ||
"type-of": "^2.0.1", | ||
@@ -43,0 +43,0 @@ "typeof": "^1.0.0" |
@@ -13,4 +13,2 @@ # kind-of [![NPM version](https://img.shields.io/npm/v/kind-of.svg?style=flat)](https://www.npmjs.com/package/kind-of) [![NPM monthly downloads](https://img.shields.io/npm/dm/kind-of.svg?style=flat)](https://npmjs.org/package/kind-of) [![NPM total downloads](https://img.shields.io/npm/dt/kind-of.svg?style=flat)](https://npmjs.org/package/kind-of) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/kind-of.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/kind-of) | ||
## Install | ||
Install with [bower](https://bower.io/) | ||
@@ -199,2 +197,10 @@ | ||
## Release history | ||
### v4.0.0 | ||
**Added** | ||
* `promise` support | ||
## Optimizations | ||
@@ -224,3 +230,3 @@ | ||
| --- | --- | | ||
| 59 | [jonschlinkert](https://github.com/jonschlinkert) | | ||
| 64 | [jonschlinkert](https://github.com/jonschlinkert) | | ||
| 2 | [miguelmota](https://github.com/miguelmota) | | ||
@@ -264,2 +270,2 @@ | 1 | [dtothefp](https://github.com/dtothefp) | | ||
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on May 16, 2017._ | ||
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on May 19, 2017._ |
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
13531
108
267