aboutsummaryrefslogtreecommitdiff
path: root/node_modules/split-string
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-12-10 21:51:33 +0100
committerFlorian Dold <florian.dold@gmail.com>2017-12-10 21:51:33 +0100
commit0469abd4a9c9270a1fdc962969e36e63699af8b4 (patch)
treef9864d4a4148621378958794cbbfdc2393733283 /node_modules/split-string
parent6947e79bbc258f7bc96af424ddb71a511f0c15a3 (diff)
downloadwallet-core-0469abd4a9c9270a1fdc962969e36e63699af8b4.tar.xz
upgrade dependencies
Diffstat (limited to 'node_modules/split-string')
-rw-r--r--node_modules/split-string/LICENSE2
-rw-r--r--node_modules/split-string/README.md146
-rw-r--r--node_modules/split-string/index.js76
-rw-r--r--node_modules/split-string/node_modules/extend-shallow/LICENSE21
-rw-r--r--node_modules/split-string/node_modules/extend-shallow/README.md97
-rw-r--r--node_modules/split-string/node_modules/extend-shallow/index.js36
-rw-r--r--node_modules/split-string/node_modules/extend-shallow/package.json82
-rw-r--r--node_modules/split-string/node_modules/is-extendable/LICENSE21
-rw-r--r--node_modules/split-string/node_modules/is-extendable/README.md88
-rw-r--r--node_modules/split-string/node_modules/is-extendable/index.d.ts5
-rw-r--r--node_modules/split-string/node_modules/is-extendable/index.js14
-rw-r--r--node_modules/split-string/node_modules/is-extendable/package.json67
-rw-r--r--node_modules/split-string/package.json10
13 files changed, 614 insertions, 51 deletions
diff --git a/node_modules/split-string/LICENSE b/node_modules/split-string/LICENSE
index ec85897eb..e33d14b75 100644
--- a/node_modules/split-string/LICENSE
+++ b/node_modules/split-string/LICENSE
@@ -1,6 +1,6 @@
The MIT License (MIT)
-Copyright (c) 2015, 2017, Jon Schlinkert
+Copyright (c) 2015-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/split-string/README.md b/node_modules/split-string/README.md
index d687353c3..d622e44d9 100644
--- a/node_modules/split-string/README.md
+++ b/node_modules/split-string/README.md
@@ -1,8 +1,19 @@
-# split-string [![NPM version](https://img.shields.io/npm/v/split-string.svg?style=flat)](https://www.npmjs.com/package/split-string) [![NPM monthly downloads](https://img.shields.io/npm/dm/split-string.svg?style=flat)](https://npmjs.org/package/split-string) [![NPM total downloads](https://img.shields.io/npm/dt/split-string.svg?style=flat)](https://npmjs.org/package/split-string) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/split-string.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/split-string)
+# split-string [![NPM version](https://img.shields.io/npm/v/split-string.svg?style=flat)](https://www.npmjs.com/package/split-string) [![NPM monthly downloads](https://img.shields.io/npm/dm/split-string.svg?style=flat)](https://npmjs.org/package/split-string) [![NPM total downloads](https://img.shields.io/npm/dt/split-string.svg?style=flat)](https://npmjs.org/package/split-string) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/split-string.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/split-string)
> Split a string on a character except when the character is escaped.
+Please consider following this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), and consider starring the project to show your :heart: and support.
+
+## Install
+
+Install with [npm](https://www.npmjs.com/):
+
+```sh
+$ npm install --save split-string
+```
+
<!-- section: Why use this? -->
+
<details>
<summary><strong>Why use this?</strong></summary>
@@ -44,20 +55,6 @@ See the [options](#options) to learn how to choose the separator or retain quote
</details>
-## Install
-
-Install with [npm](https://www.npmjs.com/):
-
-```sh
-$ npm install --save split-string
-```
-
-Install with [yarn](https://yarnpkg.com):
-
-```sh
-$ yarn add split-string
-```
-
## Usage
```js
@@ -75,11 +72,61 @@ split('a."b.c.d".e');
//=> ['a', 'b.c.d', 'e']
```
+**Brackets**
+
+Also respects brackets [unless disabled](#optionsbrackets):
+
+```js
+split('a (b c d) e', ' ');
+//=> ['a', '(b c d)', 'e']
+```
+
## Options
+### options.brackets
+
+**Type**: `object|boolean`
+
+**Default**: `undefined`
+
+**Description**
+
+If enabled, split-string will not split inside brackets. The following brackets types are supported when `options.brackets` is `true`,
+
+```js
+{
+ '<': '>',
+ '(': ')',
+ '[': ']',
+ '{': '}'
+}
+```
+
+Or, if object of brackets must be passed, each property on the object must be a bracket type, where the property key is the opening delimiter and property value is the closing delimiter.
+
+**Examples**
+
+```js
+// no bracket support by default
+split('a.{b.c}');
+//=> [ 'a', '{b', 'c}' ]
+
+// support all basic bracket types: "<>{}[]()"
+split('a.{b.c}', {brackets: true});
+//=> [ 'a', '{b.c}' ]
+
+// also supports nested brackets
+split('a.{b.{c.d}.e}.f', {brackets: true});
+//=> [ 'a', '{b.{c.d}.e}', 'f' ]
+
+// support only the specified brackets
+split('[a.b].(c.d)', {brackets: {'[': ']'}});
+//=> [ '[a.b]', '(c', 'd)' ]
+```
+
### options.sep
-**Type**: `String`
+**Type**: `string`
**Default**: `.`
@@ -98,7 +145,7 @@ split('a.b,c', ',');
### options.keepEscaping
-**Type**: `Boolean`
+**Type**: `boolean`
**Default**: `undefined`
@@ -116,7 +163,7 @@ split('a.b.\\c', {keepEscaping: true});
### options.keepQuotes
-**Type**: `Boolean`
+**Type**: `boolean`
**Default**: `undefined`
@@ -137,7 +184,7 @@ split('a.\'b.c.d\'.e', {keepQuotes: true});
### options.keepDoubleQuotes
-**Type**: `Boolean`
+**Type**: `boolean`
**Default**: `undefined`
@@ -155,7 +202,7 @@ split('a."b.c.d".e', {keepDoubleQuotes: true});
### options.keepSingleQuotes
-**Type**: `Boolean`
+**Type**: `boolean`
**Default**: `undefined`
@@ -173,7 +220,7 @@ split('a.\'b.c.d\'.e', {keepSingleQuotes: true});
## Customizer
-**Type**: `Function`
+**Type**: `function`
**Default**: `undefined`
@@ -200,27 +247,36 @@ The `tok` object has the following properties:
* `tok.str` (string) the entire string
* `tok.arr` (array) the result array
-## About
+## Release history
-### Related projects
+### v3.0.0 - 2017-06-17
-* [deromanize](https://www.npmjs.com/package/deromanize): Convert roman numerals to arabic numbers (useful for books, outlines, documentation, slide decks, etc) | [homepage](https://github.com/jonschlinkert/deromanize "Convert roman numerals to arabic numbers (useful for books, outlines, documentation, slide decks, etc)")
-* [randomatic](https://www.npmjs.com/package/randomatic): Generate randomized strings of a specified length, fast. Only the length is necessary, but you… [more](https://github.com/jonschlinkert/randomatic) | [homepage](https://github.com/jonschlinkert/randomatic "Generate randomized strings of a specified length, fast. Only the length is necessary, but you can optionally generate patterns using any combination of numeric, alpha-numeric, alphabetical, special or custom characters.")
-* [repeat-string](https://www.npmjs.com/package/repeat-string): Repeat the given string n times. Fastest implementation for repeating a string. | [homepage](https://github.com/jonschlinkert/repeat-string "Repeat the given string n times. Fastest implementation for repeating a string.")
-* [romanize](https://www.npmjs.com/package/romanize): Convert arabic numbers to roman numerals (useful for books, outlines, documentation, slide decks, etc) | [homepage](https://github.com/jonschlinkert/romanize "Convert arabic numbers to roman numerals (useful for books, outlines, documentation, slide decks, etc)")
+**Added**
+
+* adds support for brackets
-### Contributing
+## About
+
+<details>
+<summary><strong>Contributing</strong></summary>
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
-### Contributors
+</details>
-| **Commits** | **Contributor** |
-| --- | --- |
-| 12 | [jonschlinkert](https://github.com/jonschlinkert) |
-| 9 | [doowb](https://github.com/doowb) |
+<details>
+<summary><strong>Running Tests</strong></summary>
-### Building docs
+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 && npm test
+```
+
+</details>
+
+<details>
+<summary><strong>Building docs</strong></summary>
_(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.)_
@@ -230,13 +286,23 @@ To generate the readme, run the following command:
$ npm install -g verbose/verb#dev verb-generate-readme && verb
```
-### Running tests
+</details>
-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:
+### Related projects
-```sh
-$ npm install && npm test
-```
+You might also be interested in these projects:
+
+* [deromanize](https://www.npmjs.com/package/deromanize): Convert roman numerals to arabic numbers (useful for books, outlines, documentation, slide decks, etc) | [homepage](https://github.com/jonschlinkert/deromanize "Convert roman numerals to arabic numbers (useful for books, outlines, documentation, slide decks, etc)")
+* [randomatic](https://www.npmjs.com/package/randomatic): Generate randomized strings of a specified length using simple character sequences. The original generate-password. | [homepage](https://github.com/jonschlinkert/randomatic "Generate randomized strings of a specified length using simple character sequences. The original generate-password.")
+* [repeat-string](https://www.npmjs.com/package/repeat-string): Repeat the given string n times. Fastest implementation for repeating a string. | [homepage](https://github.com/jonschlinkert/repeat-string "Repeat the given string n times. Fastest implementation for repeating a string.")
+* [romanize](https://www.npmjs.com/package/romanize): Convert numbers to roman numerals (useful for books, outlines, documentation, slide decks, etc) | [homepage](https://github.com/jonschlinkert/romanize "Convert numbers to roman numerals (useful for books, outlines, documentation, slide decks, etc)")
+
+### Contributors
+
+| **Commits** | **Contributor** |
+| --- | --- |
+| 28 | [jonschlinkert](https://github.com/jonschlinkert) |
+| 9 | [doowb](https://github.com/doowb) |
### Author
@@ -252,4 +318,4 @@ Released under the [MIT License](LICENSE).
***
-_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on April 27, 2017._ \ 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 November 19, 2017._ \ No newline at end of file
diff --git a/node_modules/split-string/index.js b/node_modules/split-string/index.js
index 9c86d37c1..7bc0ea91b 100644
--- a/node_modules/split-string/index.js
+++ b/node_modules/split-string/index.js
@@ -1,7 +1,7 @@
/*!
* split-string <https://github.com/jonschlinkert/split-string>
*
- * Copyright (c) 2015, 2017, Jon Schlinkert.
+ * Copyright (c) 2015-2017, Jon Schlinkert.
* Released under the MIT License.
*/
@@ -26,13 +26,33 @@ module.exports = function(str, options, fn) {
var opts = extend({sep: '.'}, options);
var quotes = opts.quotes || ['"', "'", '`'];
+ var brackets;
+
+ if (opts.brackets === true) {
+ brackets = {
+ '<': '>',
+ '(': ')',
+ '[': ']',
+ '{': '}'
+ };
+ } else if (opts.brackets) {
+ brackets = opts.brackets;
+ }
+
var tokens = [];
+ var stack = [];
var arr = [''];
var sep = opts.sep;
var len = str.length;
var idx = -1;
var closeIdx;
+ function expected() {
+ if (brackets && stack.length) {
+ return brackets[stack[stack.length - 1]];
+ }
+ }
+
while (++idx < len) {
var ch = str[idx];
var next = str[idx + 1];
@@ -50,8 +70,53 @@ module.exports = function(str, options, fn) {
continue;
}
+ if (brackets && brackets[ch]) {
+ stack.push(ch);
+ var e = expected();
+ var i = idx + 1;
+
+ if (str.indexOf(e, i + 1) !== -1) {
+ while (stack.length && i < len) {
+ var s = str[++i];
+ if (s === '\\') {
+ s++;
+ continue;
+ }
+
+ if (quotes.indexOf(s) !== -1) {
+ i = getClosingQuote(str, s, i + 1);
+ continue;
+ }
+
+ e = expected();
+ if (stack.length && str.indexOf(e, i + 1) === -1) {
+ break;
+ }
+
+ if (brackets[s]) {
+ stack.push(s);
+ continue;
+ }
+
+ if (e === s) {
+ stack.pop();
+ }
+ }
+ }
+
+ closeIdx = i;
+ if (closeIdx === -1) {
+ arr[arr.length - 1] += ch;
+ continue;
+ }
+
+ ch = str.slice(idx, closeIdx + 1);
+ tok.val = ch;
+ tok.idx = idx = closeIdx;
+ }
+
if (quotes.indexOf(ch) !== -1) {
- closeIdx = getClose(str, ch, idx + 1);
+ closeIdx = getClosingQuote(str, ch, idx + 1);
if (closeIdx === -1) {
arr[arr.length - 1] += ch;
continue;
@@ -84,10 +149,10 @@ module.exports = function(str, options, fn) {
return arr;
};
-function getClose(str, ch, i) {
+function getClosingQuote(str, ch, i, brackets) {
var idx = str.indexOf(ch, i);
if (str.charAt(idx - 1) === '\\') {
- return getClose(str, ch, idx + 1);
+ return getClosingQuote(str, ch, idx + 1);
}
return idx;
}
@@ -99,5 +164,8 @@ function keepQuotes(ch, opts) {
}
function keepEscaping(opts, str, idx) {
+ if (typeof opts.keepEscaping === 'function') {
+ return opts.keepEscaping(str, idx);
+ }
return opts.keepEscaping === true || str[idx + 1] === '\\';
}
diff --git a/node_modules/split-string/node_modules/extend-shallow/LICENSE b/node_modules/split-string/node_modules/extend-shallow/LICENSE
new file mode 100644
index 000000000..99c936915
--- /dev/null
+++ b/node_modules/split-string/node_modules/extend-shallow/LICENSE
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2014-2015, 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
+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/split-string/node_modules/extend-shallow/README.md b/node_modules/split-string/node_modules/extend-shallow/README.md
new file mode 100644
index 000000000..dee226f45
--- /dev/null
+++ b/node_modules/split-string/node_modules/extend-shallow/README.md
@@ -0,0 +1,97 @@
+# extend-shallow [![NPM version](https://img.shields.io/npm/v/extend-shallow.svg?style=flat)](https://www.npmjs.com/package/extend-shallow) [![NPM monthly downloads](https://img.shields.io/npm/dm/extend-shallow.svg?style=flat)](https://npmjs.org/package/extend-shallow) [![NPM total downloads](https://img.shields.io/npm/dt/extend-shallow.svg?style=flat)](https://npmjs.org/package/extend-shallow) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/extend-shallow.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/extend-shallow)
+
+> Extend an object with the properties of additional objects. node.js/javascript util.
+
+Please consider following this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), and consider starring the project to show your :heart: and support.
+
+## Install
+
+Install with [npm](https://www.npmjs.com/):
+
+```sh
+$ npm install --save extend-shallow
+```
+
+## Usage
+
+```js
+var extend = require('extend-shallow');
+
+extend({a: 'b'}, {c: 'd'})
+//=> {a: 'b', c: 'd'}
+```
+
+Pass an empty object to shallow clone:
+
+```js
+var obj = {};
+extend(obj, {a: 'b'}, {c: 'd'})
+//=> {a: 'b', c: 'd'}
+```
+
+## About
+
+<details>
+<summary><strong>Contributing</strong></summary>
+
+Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
+
+</details>
+
+<details>
+<summary><strong>Running Tests</strong></summary>
+
+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 && npm test
+```
+
+</details>
+
+<details>
+<summary><strong>Building docs</strong></summary>
+
+_(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, run the following command:
+
+```sh
+$ npm install -g verbose/verb#dev verb-generate-readme && verb
+```
+
+</details>
+
+### Related projects
+
+You might also be interested in these projects:
+
+* [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.")
+* [for-in](https://www.npmjs.com/package/for-in): Iterate over the own and inherited enumerable properties of an object, and return an object… [more](https://github.com/jonschlinkert/for-in) | [homepage](https://github.com/jonschlinkert/for-in "Iterate over the own and inherited enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.js")
+* [for-own](https://www.npmjs.com/package/for-own): Iterate over the own enumerable properties of an object, and return an object with properties… [more](https://github.com/jonschlinkert/for-own) | [homepage](https://github.com/jonschlinkert/for-own "Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.js.")
+* [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.")
+* [isobject](https://www.npmjs.com/package/isobject): Returns true if the value is an object and not an array or null. | [homepage](https://github.com/jonschlinkert/isobject "Returns true if the value is an object and not an array or null.")
+* [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.")
+
+### Contributors
+
+| **Commits** | **Contributor** |
+| --- | --- |
+| 33 | [jonschlinkert](https://github.com/jonschlinkert) |
+| 1 | [pdehaan](https://github.com/pdehaan) |
+
+### Author
+
+**Jon Schlinkert**
+
+* [github/jonschlinkert](https://github.com/jonschlinkert)
+* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)
+
+### 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.6.0, on November 19, 2017._ \ No newline at end of file
diff --git a/node_modules/split-string/node_modules/extend-shallow/index.js b/node_modules/split-string/node_modules/extend-shallow/index.js
new file mode 100644
index 000000000..4326d274b
--- /dev/null
+++ b/node_modules/split-string/node_modules/extend-shallow/index.js
@@ -0,0 +1,36 @@
+'use strict';
+
+var isExtendable = require('is-extendable');
+
+module.exports = Object.assign || function(obj/*, objects*/) {
+ if (obj === null || typeof obj === 'undefined') {
+ throw new TypeError('expected an object');
+ }
+ for (var i = 1; i < arguments.length; i++) {
+ var val = arguments[i];
+ if (isObject(val)) {
+ assign(obj, val);
+ }
+ }
+ return obj;
+};
+
+function assign(a, b) {
+ for (var key in b) {
+ if (hasOwn(b, key)) {
+ a[key] = b[key];
+ }
+ }
+}
+
+function isObject(val) {
+ return (val && typeof val === 'object') || isExtendable(val);
+}
+
+/**
+ * Returns true if the given `key` is an own property of `obj`.
+ */
+
+function hasOwn(obj, key) {
+ return Object.prototype.hasOwnProperty.call(obj, key);
+}
diff --git a/node_modules/split-string/node_modules/extend-shallow/package.json b/node_modules/split-string/node_modules/extend-shallow/package.json
new file mode 100644
index 000000000..73648776c
--- /dev/null
+++ b/node_modules/split-string/node_modules/extend-shallow/package.json
@@ -0,0 +1,82 @@
+{
+ "name": "extend-shallow",
+ "description": "Extend an object with the properties of additional objects. node.js/javascript util.",
+ "version": "3.0.1",
+ "homepage": "https://github.com/jonschlinkert/extend-shallow",
+ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",
+ "contributors": [
+ "Jon Schlinkert (http://twitter.com/jonschlinkert)",
+ "Peter deHaan (http://about.me/peterdehaan)"
+ ],
+ "repository": "jonschlinkert/extend-shallow",
+ "bugs": {
+ "url": "https://github.com/jonschlinkert/extend-shallow/issues"
+ },
+ "license": "MIT",
+ "files": [
+ "index.js"
+ ],
+ "main": "index.js",
+ "engines": {
+ "node": ">=0.10.0"
+ },
+ "scripts": {
+ "test": "mocha"
+ },
+ "dependencies": {
+ "is-extendable": "^1.0.1"
+ },
+ "devDependencies": {
+ "array-slice": "^1.0.0",
+ "benchmarked": "^2.0.0",
+ "for-own": "^1.0.0",
+ "gulp-format-md": "^1.0.0",
+ "is-plain-object": "^2.0.4",
+ "kind-of": "^6.0.1",
+ "minimist": "^1.2.0",
+ "mocha": "^3.5.3",
+ "object-assign": "^4.1.1"
+ },
+ "keywords": [
+ "assign",
+ "clone",
+ "extend",
+ "merge",
+ "obj",
+ "object",
+ "object-assign",
+ "object.assign",
+ "prop",
+ "properties",
+ "property",
+ "props",
+ "shallow",
+ "util",
+ "utility",
+ "utils",
+ "value"
+ ],
+ "verb": {
+ "toc": false,
+ "layout": "default",
+ "tasks": [
+ "readme"
+ ],
+ "related": {
+ "list": [
+ "extend-shallow",
+ "for-in",
+ "for-own",
+ "is-plain-object",
+ "isobject",
+ "kind-of"
+ ]
+ },
+ "plugins": [
+ "gulp-format-md"
+ ],
+ "lint": {
+ "reflinks": true
+ }
+ }
+}
diff --git a/node_modules/split-string/node_modules/is-extendable/LICENSE b/node_modules/split-string/node_modules/is-extendable/LICENSE
new file mode 100644
index 000000000..c0d7f1362
--- /dev/null
+++ b/node_modules/split-string/node_modules/is-extendable/LICENSE
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2015-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
+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. \ No newline at end of file
diff --git a/node_modules/split-string/node_modules/is-extendable/README.md b/node_modules/split-string/node_modules/is-extendable/README.md
new file mode 100644
index 000000000..875b56a73
--- /dev/null
+++ b/node_modules/split-string/node_modules/is-extendable/README.md
@@ -0,0 +1,88 @@
+# is-extendable [![NPM version](https://img.shields.io/npm/v/is-extendable.svg?style=flat)](https://www.npmjs.com/package/is-extendable) [![NPM monthly downloads](https://img.shields.io/npm/dm/is-extendable.svg?style=flat)](https://npmjs.org/package/is-extendable) [![NPM total downloads](https://img.shields.io/npm/dt/is-extendable.svg?style=flat)](https://npmjs.org/package/is-extendable) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/is-extendable.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/is-extendable)
+
+> Returns true if a value is a plain object, array or function.
+
+## Install
+
+Install with [npm](https://www.npmjs.com/):
+
+```sh
+$ npm install --save is-extendable
+```
+
+## Usage
+
+```js
+var isExtendable = require('is-extendable');
+```
+
+Returns true if the value is any of the following:
+
+* array
+* plain object
+* function
+
+## Notes
+
+All objects in JavaScript can have keys, but it's a pain to check for this, since we ether need to verify that the value is not `null` or `undefined` and:
+
+* the value is not a primitive, or
+* that the object is a plain object, function or array
+
+Also note that an `extendable` object is not the same as an [extensible object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/isExtensible), which is one that (in es6) is not sealed, frozen, or marked as non-extensible using `preventExtensions`.
+
+## Release history
+
+### v1.0.0 - 2017/07/20
+
+**Breaking changes**
+
+* No longer considers date, regex or error objects to be extendable
+
+## About
+
+### Related projects
+
+* [assign-deep](https://www.npmjs.com/package/assign-deep): Deeply assign the enumerable properties and/or es6 Symbol properies of source objects to the target… [more](https://github.com/jonschlinkert/assign-deep) | [homepage](https://github.com/jonschlinkert/assign-deep "Deeply assign the enumerable properties and/or es6 Symbol properies of source objects to the target (first) object.")
+* [is-equal-shallow](https://www.npmjs.com/package/is-equal-shallow): Does a shallow comparison of two objects, returning false if the keys or values differ. | [homepage](https://github.com/jonschlinkert/is-equal-shallow "Does a shallow comparison of two objects, returning false if the keys or values differ.")
+* [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.")
+* [isobject](https://www.npmjs.com/package/isobject): Returns true if the value is an object and not an array or null. | [homepage](https://github.com/jonschlinkert/isobject "Returns true if the value is an object and not an array or null.")
+* [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.")
+
+### Contributing
+
+Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
+
+### Building 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.)_
+
+To generate the readme, run the following command:
+
+```sh
+$ npm install -g verbose/verb#dev verb-generate-readme && verb
+```
+
+### Running tests
+
+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 && npm test
+```
+
+### Author
+
+**Jon Schlinkert**
+
+* [github/jonschlinkert](https://github.com/jonschlinkert)
+* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)
+
+### 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.6.0, on July 20, 2017._ \ No newline at end of file
diff --git a/node_modules/split-string/node_modules/is-extendable/index.d.ts b/node_modules/split-string/node_modules/is-extendable/index.d.ts
new file mode 100644
index 000000000..b96d50754
--- /dev/null
+++ b/node_modules/split-string/node_modules/is-extendable/index.d.ts
@@ -0,0 +1,5 @@
+export = isExtendable;
+
+declare function isExtendable(val: any): boolean;
+
+declare namespace isExtendable {}
diff --git a/node_modules/split-string/node_modules/is-extendable/index.js b/node_modules/split-string/node_modules/is-extendable/index.js
new file mode 100644
index 000000000..a8b26ad08
--- /dev/null
+++ b/node_modules/split-string/node_modules/is-extendable/index.js
@@ -0,0 +1,14 @@
+/*!
+ * is-extendable <https://github.com/jonschlinkert/is-extendable>
+ *
+ * Copyright (c) 2015-2017, Jon Schlinkert.
+ * Released under the MIT License.
+ */
+
+'use strict';
+
+var isPlainObject = require('is-plain-object');
+
+module.exports = function isExtendable(val) {
+ return isPlainObject(val) || typeof val === 'function' || Array.isArray(val);
+};
diff --git a/node_modules/split-string/node_modules/is-extendable/package.json b/node_modules/split-string/node_modules/is-extendable/package.json
new file mode 100644
index 000000000..2aaab65a8
--- /dev/null
+++ b/node_modules/split-string/node_modules/is-extendable/package.json
@@ -0,0 +1,67 @@
+{
+ "name": "is-extendable",
+ "description": "Returns true if a value is a plain object, array or function.",
+ "version": "1.0.1",
+ "homepage": "https://github.com/jonschlinkert/is-extendable",
+ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",
+ "repository": "jonschlinkert/is-extendable",
+ "bugs": {
+ "url": "https://github.com/jonschlinkert/is-extendable/issues"
+ },
+ "license": "MIT",
+ "files": [
+ "index.js",
+ "index.d.ts"
+ ],
+ "main": "index.js",
+ "types": "index.d.ts",
+ "engines": {
+ "node": ">=0.10.0"
+ },
+ "scripts": {
+ "test": "mocha"
+ },
+ "dependencies": {
+ "is-plain-object": "^2.0.4"
+ },
+ "devDependencies": {
+ "gulp-format-md": "^1.0.0",
+ "mocha": "^3.4.2"
+ },
+ "keywords": [
+ "array",
+ "assign",
+ "check",
+ "date",
+ "extend",
+ "extendable",
+ "extensible",
+ "function",
+ "is",
+ "object",
+ "regex",
+ "test"
+ ],
+ "verb": {
+ "related": {
+ "list": [
+ "assign-deep",
+ "is-equal-shallow",
+ "is-plain-object",
+ "isobject",
+ "kind-of"
+ ]
+ },
+ "toc": false,
+ "layout": "default",
+ "tasks": [
+ "readme"
+ ],
+ "plugins": [
+ "gulp-format-md"
+ ],
+ "lint": {
+ "reflinks": true
+ }
+ }
+}
diff --git a/node_modules/split-string/package.json b/node_modules/split-string/package.json
index e66bff8bd..8f490a245 100644
--- a/node_modules/split-string/package.json
+++ b/node_modules/split-string/package.json
@@ -1,7 +1,7 @@
{
"name": "split-string",
"description": "Split a string on a character except when the character is escaped.",
- "version": "2.1.1",
+ "version": "3.1.0",
"homepage": "https://github.com/jonschlinkert/split-string",
"author": "Jon Schlinkert (https://github.com/jonschlinkert)",
"contributors": [
@@ -24,13 +24,11 @@
"test": "mocha"
},
"dependencies": {
- "extend-shallow": "^2.0.1"
+ "extend-shallow": "^3.0.0"
},
"devDependencies": {
- "gulp-format-md": "^0.1.11",
- "mocha": "^3.2.0",
- "sections": "^0.1.10",
- "update-sections": "^0.1.2"
+ "gulp-format-md": "^1.0.0",
+ "mocha": "^3.5.3"
},
"keywords": [
"character",