aboutsummaryrefslogtreecommitdiff
path: root/node_modules/is-primitive
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-10-10 03:43:44 +0200
committerFlorian Dold <florian.dold@gmail.com>2016-10-10 03:43:44 +0200
commitabd94a7f5a50f43c797a11b53549ae48fff667c3 (patch)
treeab8ed457f65cdd72e13e0571d2975729428f1551 /node_modules/is-primitive
parenta0247c6a3fd6a09a41a7e35a3441324c4dcb58be (diff)
downloadwallet-core-abd94a7f5a50f43c797a11b53549ae48fff667c3.tar.xz
add node_modules to address #4364
Diffstat (limited to 'node_modules/is-primitive')
-rw-r--r--node_modules/is-primitive/LICENSE21
-rw-r--r--node_modules/is-primitive/README.md57
-rw-r--r--node_modules/is-primitive/index.js13
-rw-r--r--node_modules/is-primitive/package.json104
4 files changed, 195 insertions, 0 deletions
diff --git a/node_modules/is-primitive/LICENSE b/node_modules/is-primitive/LICENSE
new file mode 100644
index 000000000..fa30c4cb3
--- /dev/null
+++ b/node_modules/is-primitive/LICENSE
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2014-2015, 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
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+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.
diff --git a/node_modules/is-primitive/README.md b/node_modules/is-primitive/README.md
new file mode 100644
index 000000000..e1c306428
--- /dev/null
+++ b/node_modules/is-primitive/README.md
@@ -0,0 +1,57 @@
+# is-primitive [![NPM version](https://badge.fury.io/js/is-primitive.svg)](http://badge.fury.io/js/is-primitive) [![Build Status](https://travis-ci.org/jonschlinkert/is-primitive.svg)](https://travis-ci.org/jonschlinkert/is-primitive)
+
+> Returns `true` if the value is a primitive.
+
+## Install with [npm](npmjs.org)
+
+```bash
+npm i is-primitive --save
+```
+
+## Running tests
+Install dev dependencies.
+
+```bash
+npm i -d && npm test
+```
+
+## Usage
+
+```js
+var isPrimitive = require('is-primitive');
+isPrimitive('abc');
+//=> true
+
+isPrimitive(42);
+//=> true
+
+isPrimitive(false);
+//=> true
+
+isPrimitive(true);
+//=> true
+
+isPrimitive({});
+//=> false
+
+isPrimitive([]);
+//=> false
+
+isPrimitive(function(){});
+//=> false
+```
+
+## Author
+
+**Jon Schlinkert**
+
++ [github/jonschlinkert](https://github.com/jonschlinkert)
++ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
+
+## License
+Copyright (c) 2014-2015 Jon Schlinkert
+Released under the MIT license
+
+***
+
+_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on March 16, 2015._ \ No newline at end of file
diff --git a/node_modules/is-primitive/index.js b/node_modules/is-primitive/index.js
new file mode 100644
index 000000000..55f11cf05
--- /dev/null
+++ b/node_modules/is-primitive/index.js
@@ -0,0 +1,13 @@
+/*!
+ * is-primitive <https://github.com/jonschlinkert/is-primitive>
+ *
+ * Copyright (c) 2014-2015, Jon Schlinkert.
+ * Licensed under the MIT License.
+ */
+
+'use strict';
+
+// see http://jsperf.com/testing-value-is-primitive/7
+module.exports = function isPrimitive(value) {
+ return value == null || (typeof value !== 'function' && typeof value !== 'object');
+};
diff --git a/node_modules/is-primitive/package.json b/node_modules/is-primitive/package.json
new file mode 100644
index 000000000..59412364d
--- /dev/null
+++ b/node_modules/is-primitive/package.json
@@ -0,0 +1,104 @@
+{
+ "_args": [
+ [
+ {
+ "raw": "is-primitive@^2.0.0",
+ "scope": null,
+ "escapedName": "is-primitive",
+ "name": "is-primitive",
+ "rawSpec": "^2.0.0",
+ "spec": ">=2.0.0 <3.0.0",
+ "type": "range"
+ },
+ "/home/dold/repos/taler/wallet-webex/node_modules/regex-cache"
+ ]
+ ],
+ "_from": "is-primitive@>=2.0.0 <3.0.0",
+ "_id": "is-primitive@2.0.0",
+ "_inCache": true,
+ "_location": "/is-primitive",
+ "_nodeVersion": "0.12.0",
+ "_npmUser": {
+ "name": "jonschlinkert",
+ "email": "github@sellside.com"
+ },
+ "_npmVersion": "2.5.1",
+ "_phantomChildren": {},
+ "_requested": {
+ "raw": "is-primitive@^2.0.0",
+ "scope": null,
+ "escapedName": "is-primitive",
+ "name": "is-primitive",
+ "rawSpec": "^2.0.0",
+ "spec": ">=2.0.0 <3.0.0",
+ "type": "range"
+ },
+ "_requiredBy": [
+ "/is-equal-shallow",
+ "/regex-cache"
+ ],
+ "_resolved": "https://registry.npmjs.org/is-primitive/-/is-primitive-2.0.0.tgz",
+ "_shasum": "207bab91638499c07b2adf240a41a87210034575",
+ "_shrinkwrap": null,
+ "_spec": "is-primitive@^2.0.0",
+ "_where": "/home/dold/repos/taler/wallet-webex/node_modules/regex-cache",
+ "author": {
+ "name": "Jon Schlinkert",
+ "url": "https://github.com/jonschlinkert"
+ },
+ "bugs": {
+ "url": "https://github.com/jonschlinkert/is-primitive/issues"
+ },
+ "dependencies": {},
+ "description": "Returns `true` if the value is a primitive. ",
+ "devDependencies": {
+ "mocha": "*",
+ "should": "^4.0.4"
+ },
+ "directories": {},
+ "dist": {
+ "shasum": "207bab91638499c07b2adf240a41a87210034575",
+ "tarball": "https://registry.npmjs.org/is-primitive/-/is-primitive-2.0.0.tgz"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ },
+ "files": [
+ "index.js"
+ ],
+ "gitHead": "c512b7c95fb049aa9b1f039ddc0670611b66cce2",
+ "homepage": "https://github.com/jonschlinkert/is-primitive",
+ "keywords": [
+ "boolean",
+ "check",
+ "number",
+ "primitive",
+ "string",
+ "symbol",
+ "type",
+ "typeof",
+ "util"
+ ],
+ "license": {
+ "type": "MIT",
+ "url": "https://github.com/jonschlinkert/is-primitive/blob/master/LICENSE"
+ },
+ "main": "index.js",
+ "maintainers": [
+ {
+ "name": "jonschlinkert",
+ "email": "github@sellside.com"
+ }
+ ],
+ "name": "is-primitive",
+ "optionalDependencies": {},
+ "readme": "ERROR: No README data found!",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/jonschlinkert/is-primitive.git"
+ },
+ "scripts": {
+ "test": "mocha"
+ },
+ "version": "2.0.0"
+}