diff options
Diffstat (limited to 'node_modules/kind-of')
-rw-r--r-- | node_modules/kind-of/LICENSE | 2 | ||||
-rw-r--r-- | node_modules/kind-of/README.md | 29 | ||||
-rw-r--r-- | node_modules/kind-of/index.js | 2 | ||||
-rw-r--r-- | node_modules/kind-of/package.json | 22 |
4 files changed, 30 insertions, 25 deletions
diff --git a/node_modules/kind-of/LICENSE b/node_modules/kind-of/LICENSE index 39245ac1c..d734237bd 100644 --- a/node_modules/kind-of/LICENSE +++ b/node_modules/kind-of/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2014-2016, Jon Schlinkert. +Copyright (c) 2014-2017, Jon Schlinkert Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/node_modules/kind-of/README.md b/node_modules/kind-of/README.md index 193d3283d..6a9df36d3 100644 --- a/node_modules/kind-of/README.md +++ b/node_modules/kind-of/README.md @@ -1,4 +1,4 @@ -# 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) +# 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) > Get the native type of a value. @@ -12,7 +12,7 @@ $ npm install --save kind-of ## Install -Install with [bower](http://bower.io/) +Install with [bower](https://bower.io/) ```sh $ bower install kind-of --save @@ -192,6 +192,7 @@ Note that performaces is slower for es6 features `Map`, `WeakMap`, `Set` and `We current x 27,459,221 ops/sec ±1.01% (93 runs sampled) lib-type-of x 14,360,433 ops/sec ±0.52% (99 runs sampled) lib-typeof x 23,202,868 ops/sec ±0.59% (94 runs sampled) + ``` ## Optimizations @@ -216,29 +217,31 @@ Pull requests and stars are always welcome. For bugs and feature requests, [plea ### Contributors -| **Commits** | **Contributor**<br/> | +| **Commits** | **Contributor** | | --- | --- | -| 49 | [jonschlinkert](https://github.com/jonschlinkert) | +| 59 | [jonschlinkert](https://github.com/jonschlinkert) | | 2 | [miguelmota](https://github.com/miguelmota) | | 1 | [dtothefp](https://github.com/dtothefp) | +| 1 | [ksheedlo](https://github.com/ksheedlo) | | 1 | [pdehaan](https://github.com/pdehaan) | +| 1 | [laggingreflex](https://github.com/laggingreflex) | ### Building docs -_(This document was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme) (a [verb](https://github.com/verbose/verb) generator), please don't edit the readme directly. Any changes to the readme must be made in [.verb.md](.verb.md).)_ +_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_ -To generate the readme and API documentation with [verb](https://github.com/verbose/verb): +To generate the readme, run the following command: ```sh -$ npm install -g verb verb-generate-readme && verb +$ npm install -g verbose/verb#dev verb-generate-readme && verb ``` ### Running tests -Install dev dependencies: +Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command: ```sh -$ npm install -d && npm test +$ npm install && npm test ``` ### Author @@ -246,13 +249,13 @@ $ npm install -d && npm test **Jon Schlinkert** * [github/jonschlinkert](https://github.com/jonschlinkert) -* [twitter/jonschlinkert](http://twitter.com/jonschlinkert) +* [twitter/jonschlinkert](https://twitter.com/jonschlinkert) ### License -Copyright © 2016, [Jon Schlinkert](https://github.com/jonschlinkert). -Released under the [MIT license](https://github.com/jonschlinkert/kind-of/blob/master/LICENSE). +Copyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert). +Released under the [MIT License](LICENSE). *** -_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.2.0, on December 07, 2016._
\ No newline at end of file +_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on May 16, 2017._
\ No newline at end of file diff --git a/node_modules/kind-of/index.js b/node_modules/kind-of/index.js index 85083862e..b52c2917f 100644 --- a/node_modules/kind-of/index.js +++ b/node_modules/kind-of/index.js @@ -61,7 +61,7 @@ module.exports = function kindOf(val) { } // buffer - if (typeof Buffer !== 'undefined' && isBuffer(val)) { + if (isBuffer(val)) { return 'buffer'; } diff --git a/node_modules/kind-of/package.json b/node_modules/kind-of/package.json index 7e272ebde..5de879e11 100644 --- a/node_modules/kind-of/package.json +++ b/node_modules/kind-of/package.json @@ -1,13 +1,15 @@ { "name": "kind-of", "description": "Get the native type of a value.", - "version": "3.1.0", + "version": "3.2.2", "homepage": "https://github.com/jonschlinkert/kind-of", "author": "Jon Schlinkert (https://github.com/jonschlinkert)", "contributors": [ - "David Fox-Powell <dtothefp@gmail.com> (https://dtothefp.github.io/me)", - "Jon Schlinkert <jon.schlinkert@sellside.com> (http://twitter.com/jonschlinkert)", - "Miguel Mota <miguel@mota.email> (https://miguelmota.com)", + "David Fox-Powell (https://dtothefp.github.io/me)", + "Jon Schlinkert (http://twitter.com/jonschlinkert)", + "Ken Sheedlo (kensheedlo.com)", + "laggingreflex (https://github.com/laggingreflex)", + "Miguel Mota (https://miguelmota.com)", "Peter deHaan (http://about.me/peterdehaan)" ], "repository": "jonschlinkert/kind-of", @@ -27,15 +29,15 @@ "prepublish": "browserify -o browser.js -e index.js -s index --bare" }, "dependencies": { - "is-buffer": "^1.0.2" + "is-buffer": "^1.1.5" }, "devDependencies": { "ansi-bold": "^0.1.1", - "benchmarked": "^0.2.5", - "browserify": "^13.1.0", - "glob": "^7.0.5", - "gulp-format-md": "^0.1.9", - "mocha": "^2.5.3", + "benchmarked": "^1.0.0", + "browserify": "^14.3.0", + "glob": "^7.1.1", + "gulp-format-md": "^0.1.12", + "mocha": "^3.3.0", "type-of": "^2.0.1", "typeof": "^1.0.0" }, |