aboutsummaryrefslogtreecommitdiff
path: root/node_modules/isobject
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-08-14 05:01:11 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-08-14 05:02:09 +0200
commit363723fc84f7b8477592e0105aeb331ec9a017af (patch)
tree29f92724f34131bac64d6a318dd7e30612e631c7 /node_modules/isobject
parent5634e77ad96bfe1818f6b6ee70b7379652e5487f (diff)
downloadwallet-core-363723fc84f7b8477592e0105aeb331ec9a017af.tar.xz
node_modules
Diffstat (limited to 'node_modules/isobject')
-rw-r--r--node_modules/isobject/LICENSE4
-rw-r--r--node_modules/isobject/README.md68
-rw-r--r--node_modules/isobject/index.d.ts5
-rw-r--r--node_modules/isobject/index.js8
-rw-r--r--node_modules/isobject/package.json19
5 files changed, 62 insertions, 42 deletions
diff --git a/node_modules/isobject/LICENSE b/node_modules/isobject/LICENSE
index 39245ac1c..943e71d05 100644
--- a/node_modules/isobject/LICENSE
+++ b/node_modules/isobject/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
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
+THE SOFTWARE. \ No newline at end of file
diff --git a/node_modules/isobject/README.md b/node_modules/isobject/README.md
index 9dd897aa0..d01feaa40 100644
--- a/node_modules/isobject/README.md
+++ b/node_modules/isobject/README.md
@@ -1,13 +1,19 @@
-# isobject [![NPM version](https://img.shields.io/npm/v/isobject.svg?style=flat)](https://www.npmjs.com/package/isobject) [![NPM downloads](https://img.shields.io/npm/dm/isobject.svg?style=flat)](https://npmjs.org/package/isobject) [![Build Status](https://img.shields.io/travis/jonschlinkert/isobject.svg?style=flat)](https://travis-ci.org/jonschlinkert/isobject)
+# isobject [![NPM version](https://img.shields.io/npm/v/isobject.svg?style=flat)](https://www.npmjs.com/package/isobject) [![NPM monthly downloads](https://img.shields.io/npm/dm/isobject.svg?style=flat)](https://npmjs.org/package/isobject) [![NPM total downloads](https://img.shields.io/npm/dt/isobject.svg?style=flat)](https://npmjs.org/package/isobject) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/isobject.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/isobject)
-Returns true if the value is an object and not an array or null.
+> Returns true if the value is an object and not an array or null.
## Install
Install with [npm](https://www.npmjs.com/):
```sh
-$ npm install isobject --save
+$ npm install --save isobject
+```
+
+Install with [yarn](https://yarnpkg.com):
+
+```sh
+$ yarn add isobject
```
Use [is-plain-object](https://github.com/jonschlinkert/is-plain-object) if you want only objects that are created by the `Object` constructor.
@@ -19,8 +25,7 @@ Install with [npm](https://www.npmjs.com/):
```sh
$ npm install isobject
```
-
-Install with [bower](http://bower.io/)
+Install with [bower](https://bower.io/)
```sh
$ bower install isobject
@@ -59,54 +64,59 @@ isObject(undefined);
isObject(null);
```
-## Related projects
+## About
-You might also be interested in these projects:
+### Related projects
-[merge-deep](https://www.npmjs.com/package/merge-deep): Recursively merge values in a javascript object. | [homepage](https://github.com/jonschlinkert/merge-deep)
+* [extend-shallow](https://www.npmjs.com/package/extend-shallow): Extend an object with the properties of additional objects. node.js/javascript util. | [homepage](https://github.com/jonschlinkert/extend-shallow "Extend an object with the properties of additional objects. node.js/javascript util.")
+* [is-plain-object](https://www.npmjs.com/package/is-plain-object): Returns true if an object was created by the `Object` constructor. | [homepage](https://github.com/jonschlinkert/is-plain-object "Returns true if an object was created by the `Object` constructor.")
+* [kind-of](https://www.npmjs.com/package/kind-of): Get the native type of a value. | [homepage](https://github.com/jonschlinkert/kind-of "Get the native type of a value.")
+* [merge-deep](https://www.npmjs.com/package/merge-deep): Recursively merge values in a javascript object. | [homepage](https://github.com/jonschlinkert/merge-deep "Recursively merge values in a javascript object.")
-* [extend-shallow](https://www.npmjs.com/package/extend-shallow): Extend an object with the properties of additional objects. node.js/javascript util. | [homepage](https://github.com/jonschlinkert/extend-shallow)
-* [is-plain-object](https://www.npmjs.com/package/is-plain-object): Returns true if an object was created by the `Object` constructor. | [homepage](https://github.com/jonschlinkert/is-plain-object)
-* [kind-of](https://www.npmjs.com/package/kind-of): Get the native type of a value. | [homepage](https://github.com/jonschlinkert/kind-of)
+### Contributing
-## Contributing
+Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
-Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/isobject/issues/new).
+### Contributors
-## Building docs
+| **Commits** | **Contributor** |
+| --- | --- |
+| 29 | [jonschlinkert](https://github.com/jonschlinkert) |
+| 4 | [doowb](https://github.com/doowb) |
+| 1 | [magnudae](https://github.com/magnudae) |
+| 1 | [LeSuisse](https://github.com/LeSuisse) |
+| 1 | [tmcw](https://github.com/tmcw) |
-Generate readme and API documentation with [verb](https://github.com/verbose/verb):
+### Building docs
-```sh
-$ npm install verb && npm run docs
-```
+_(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.)_
-Or, if [verb](https://github.com/verbose/verb) is installed globally:
+To generate the readme, run the following command:
```sh
-$ verb
+$ npm install -g verbose/verb#dev verb-generate-readme && verb
```
-## Running tests
+### 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
+### Author
**Jon Schlinkert**
* [github/jonschlinkert](https://github.com/jonschlinkert)
-* [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
+* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)
-## License
+### License
-Copyright © 2016, [Jon Schlinkert](https://github.com/jonschlinkert).
-Released under the [MIT license](https://github.com/jonschlinkert/isobject/blob/master/LICENSE).
+Copyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).
+Released under the [MIT License](LICENSE).
***
-_This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on April 25, 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 June 30, 2017._ \ No newline at end of file
diff --git a/node_modules/isobject/index.d.ts b/node_modules/isobject/index.d.ts
new file mode 100644
index 000000000..55f81c275
--- /dev/null
+++ b/node_modules/isobject/index.d.ts
@@ -0,0 +1,5 @@
+export = isObject;
+
+declare function isObject(val: any): boolean;
+
+declare namespace isObject {}
diff --git a/node_modules/isobject/index.js b/node_modules/isobject/index.js
index aa0dce0bb..2d59958bf 100644
--- a/node_modules/isobject/index.js
+++ b/node_modules/isobject/index.js
@@ -1,14 +1,12 @@
/*!
* isobject <https://github.com/jonschlinkert/isobject>
*
- * Copyright (c) 2014-2015, Jon Schlinkert.
- * Licensed under the MIT License.
+ * Copyright (c) 2014-2017, Jon Schlinkert.
+ * Released under the MIT License.
*/
'use strict';
-var isArray = require('isarray');
-
module.exports = function isObject(val) {
- return val != null && typeof val === 'object' && isArray(val) === false;
+ return val != null && typeof val === 'object' && Array.isArray(val) === false;
};
diff --git a/node_modules/isobject/package.json b/node_modules/isobject/package.json
index 954f4113f..62aa8c1b2 100644
--- a/node_modules/isobject/package.json
+++ b/node_modules/isobject/package.json
@@ -1,15 +1,23 @@
{
"name": "isobject",
"description": "Returns true if the value is an object and not an array or null.",
- "version": "2.1.0",
+ "version": "3.0.1",
"homepage": "https://github.com/jonschlinkert/isobject",
"author": "Jon Schlinkert (https://github.com/jonschlinkert)",
+ "contributors": [
+ "(https://github.com/LeSuisse)",
+ "Brian Woodward (https://twitter.com/doowb)",
+ "Jon Schlinkert (http://twitter.com/jonschlinkert)",
+ "Magnús Dæhlen (https://github.com/magnudae)",
+ "Tom MacWright (https://macwright.org)"
+ ],
"repository": "jonschlinkert/isobject",
"bugs": {
"url": "https://github.com/jonschlinkert/isobject/issues"
},
"license": "MIT",
"files": [
+ "index.d.ts",
"index.js"
],
"main": "index.js",
@@ -19,9 +27,7 @@
"scripts": {
"test": "mocha"
},
- "dependencies": {
- "isarray": "1.0.0"
- },
+ "dependencies": {},
"devDependencies": {
"gulp-format-md": "^0.1.9",
"mocha": "^2.4.5"
@@ -40,13 +46,14 @@
"typeof",
"value"
],
+ "types": "index.d.ts",
"verb": {
"related": {
"list": [
- "merge-deep",
"extend-shallow",
"is-plain-object",
- "kind-of"
+ "kind-of",
+ "merge-deep"
]
},
"toc": false,