aboutsummaryrefslogtreecommitdiff
path: root/node_modules/expand-brackets
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2018-09-20 02:56:13 +0200
committerFlorian Dold <florian.dold@gmail.com>2018-09-20 02:56:13 +0200
commitbbff7403fbf46f9ad92240ac213df8d30ef31b64 (patch)
treec58400ec5124da1c7d56b01aea83309f80a56c3b /node_modules/expand-brackets
parent003fb34971cf63466184351b4db5f7c67df4f444 (diff)
downloadwallet-core-bbff7403fbf46f9ad92240ac213df8d30ef31b64.tar.xz
update packages
Diffstat (limited to 'node_modules/expand-brackets')
-rw-r--r--node_modules/expand-brackets/LICENSE2
-rw-r--r--node_modules/expand-brackets/README.md259
-rw-r--r--node_modules/expand-brackets/index.js312
-rw-r--r--node_modules/expand-brackets/package.json45
4 files changed, 442 insertions, 176 deletions
diff --git a/node_modules/expand-brackets/LICENSE b/node_modules/expand-brackets/LICENSE
index 1e49edf81..652517172 100644
--- a/node_modules/expand-brackets/LICENSE
+++ b/node_modules/expand-brackets/LICENSE
@@ -1,6 +1,6 @@
The MIT License (MIT)
-Copyright (c) 2015-2016, Jon Schlinkert.
+Copyright (c) 2015-2016, 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/expand-brackets/README.md b/node_modules/expand-brackets/README.md
index d3c913e7a..c0e33d080 100644
--- a/node_modules/expand-brackets/README.md
+++ b/node_modules/expand-brackets/README.md
@@ -1,4 +1,4 @@
-# expand-brackets [![NPM version](https://img.shields.io/npm/v/expand-brackets.svg?style=flat)](https://www.npmjs.com/package/expand-brackets) [![NPM downloads](https://img.shields.io/npm/dm/expand-brackets.svg?style=flat)](https://npmjs.org/package/expand-brackets) [![Build Status](https://img.shields.io/travis/jonschlinkert/expand-brackets.svg?style=flat)](https://travis-ci.org/jonschlinkert/expand-brackets)
+# expand-brackets [![NPM version](https://img.shields.io/npm/v/expand-brackets.svg?style=flat)](https://www.npmjs.com/package/expand-brackets) [![NPM monthly downloads](https://img.shields.io/npm/dm/expand-brackets.svg?style=flat)](https://npmjs.org/package/expand-brackets) [![NPM total downloads](https://img.shields.io/npm/dt/expand-brackets.svg?style=flat)](https://npmjs.org/package/expand-brackets) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/expand-brackets.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/expand-brackets) [![Windows Build Status](https://img.shields.io/appveyor/ci/jonschlinkert/expand-brackets.svg?style=flat&label=AppVeyor)](https://ci.appveyor.com/project/jonschlinkert/expand-brackets)
> Expand POSIX bracket expressions (character classes) in glob patterns.
@@ -7,39 +7,189 @@
Install with [npm](https://www.npmjs.com/):
```sh
-$ npm install expand-brackets --save
+$ npm install --save expand-brackets
```
## Usage
```js
var brackets = require('expand-brackets');
+brackets(string[, options]);
+```
+
+**Params**
+
+The main export is a function that takes the following parameters:
+
+* `pattern` **{String}**: the pattern to convert
+* `options` **{Object}**: optionally supply an options object
+* `returns` **{String}**: returns a string that can be used to create a regex
+
+**Example**
-brackets('[![:lower:]]');
+```js
+console.log(brackets('[![:lower:]]'));
//=> '[^a-z]'
```
-## .isMatch
+## API
+
+### [brackets](index.js#L29)
+
+Parses the given POSIX character class `pattern` and returns a
+string that can be used for creating regular expressions for matching.
+
+**Params**
+
+* `pattern` **{String}**
+* `options` **{Object}**
+* `returns` **{Object}**
+
+### [.match](index.js#L54)
+
+Takes an array of strings and a POSIX character class pattern, and returns a new array with only the strings that matched the pattern.
+
+**Example**
+
+```js
+var brackets = require('expand-brackets');
+console.log(brackets.match(['1', 'a', 'ab'], '[[:alpha:]]'));
+//=> ['a']
+
+console.log(brackets.match(['1', 'a', 'ab'], '[[:alpha:]]+'));
+//=> ['a', 'ab']
+```
+
+**Params**
-Return true if the given string matches the bracket expression:
+* `arr` **{Array}**: Array of strings to match
+* `pattern` **{String}**: POSIX character class pattern(s)
+* `options` **{Object}**
+* `returns` **{Array}**
+
+### [.isMatch](index.js#L100)
+
+Returns true if the specified `string` matches the given brackets `pattern`.
+
+**Example**
```js
-brackets.isMatch('A', '[![:lower:]]');
+var brackets = require('expand-brackets');
+
+console.log(brackets.isMatch('a.a', '[[:alpha:]].[[:alpha:]]'));
//=> true
+console.log(brackets.isMatch('1.2', '[[:alpha:]].[[:alpha:]]'));
+//=> false
+```
+
+**Params**
+
+* `string` **{String}**: String to match
+* `pattern` **{String}**: Poxis pattern
+* `options` **{String}**
+* `returns` **{Boolean}**
+
+### [.matcher](index.js#L123)
-brackets.isMatch('a', '[![:lower:]]');
+Takes a POSIX character class pattern and returns a matcher function. The returned function takes the string to match as its only argument.
+
+**Example**
+
+```js
+var brackets = require('expand-brackets');
+var isMatch = brackets.matcher('[[:lower:]].[[:upper:]]');
+
+console.log(isMatch('a.a'));
//=> false
+console.log(isMatch('a.A'));
+//=> true
+```
+
+**Params**
+
+* `pattern` **{String}**: Poxis pattern
+* `options` **{String}**
+* `returns` **{Boolean}**
+
+### [.makeRe](index.js#L145)
+
+Create a regular expression from the given `pattern`.
+
+**Example**
+
+```js
+var brackets = require('expand-brackets');
+var re = brackets.makeRe('[[:alpha:]]');
+console.log(re);
+//=> /^(?:[a-zA-Z])$/
```
-## .makeRe
+**Params**
+
+* `pattern` **{String}**: The pattern to convert to regex.
+* `options` **{Object}**
+* `returns` **{RegExp}**
+
+### [.create](index.js#L187)
+
+Parses the given POSIX character class `pattern` and returns an object with the compiled `output` and optional source `map`.
+
+**Example**
+
+```js
+var brackets = require('expand-brackets');
+console.log(brackets('[[:alpha:]]'));
+// { options: { source: 'string' },
+// input: '[[:alpha:]]',
+// state: {},
+// compilers:
+// { eos: [Function],
+// noop: [Function],
+// bos: [Function],
+// not: [Function],
+// escape: [Function],
+// text: [Function],
+// posix: [Function],
+// bracket: [Function],
+// 'bracket.open': [Function],
+// 'bracket.inner': [Function],
+// 'bracket.literal': [Function],
+// 'bracket.close': [Function] },
+// output: '[a-zA-Z]',
+// ast:
+// { type: 'root',
+// errors: [],
+// nodes: [ [Object], [Object], [Object] ] },
+// parsingErrors: [] }
+```
+
+**Params**
+
+* `pattern` **{String}**
+* `options` **{Object}**
+* `returns` **{Object}**
+
+## Options
+
+### options.sourcemap
+
+Generate a source map for the given pattern.
-Make a regular expression from a bracket expression:
+**Example**
```js
-brackets.makeRe('[![:lower:]]');
-//=> /[^a-z]/
+var res = brackets('[:alpha:]', {sourcemap: true});
+
+console.log(res.map);
+// { version: 3,
+// sources: [ 'brackets' ],
+// names: [],
+// mappings: 'AAAA,MAAS',
+// sourcesContent: [ '[:alpha:]' ] }
```
+### POSIX Character classes
+
The following named POSIX bracket expressions are supported:
* `[:alnum:]`: Alphanumeric characters (`a-zA-Z0-9]`)
@@ -52,37 +202,82 @@ The following named POSIX bracket expressions are supported:
* `[:word:]`: Word characters (letters, numbers and underscores) (`[A-Za-z0-9_]`)
* `[:xdigit:]`: Hexadecimal digits (`[A-Fa-f0-9]`)
-Collating sequences are not supported.
+See [posix-character-classes](https://github.com/jonschlinkert/posix-character-classes) for more details.
-## Related projects
+**Not supported**
-You might also be interested in these projects:
+* [equivalence classes](https://www.gnu.org/software/gawk/manual/html_node/Bracket-Expressions.html) are not supported
+* [POSIX.2 collating symbols](https://www.gnu.org/software/gawk/manual/html_node/Bracket-Expressions.html) are not supported
-* [extglob](https://www.npmjs.com/package/extglob): Convert extended globs to regex-compatible strings. Add (almost) the expressive power of regular expressions to… [more](https://www.npmjs.com/package/extglob) | [homepage](https://github.com/jonschlinkert/extglob)
-* [is-extglob](https://www.npmjs.com/package/is-extglob): Returns true if a string has an extglob. | [homepage](https://github.com/jonschlinkert/is-extglob)
-* [is-glob](https://www.npmjs.com/package/is-glob): Returns `true` if the given string looks like a glob pattern or an extglob pattern.… [more](https://www.npmjs.com/package/is-glob) | [homepage](https://github.com/jonschlinkert/is-glob)
-* [is-posix-bracket](https://www.npmjs.com/package/is-posix-bracket): Returns true if the given string is a POSIX bracket expression (POSIX character class). | [homepage](https://github.com/jonschlinkert/is-posix-bracket)
-* [micromatch](https://www.npmjs.com/package/micromatch): Glob matching for javascript/node.js. A drop-in replacement and faster alternative to minimatch and multimatch. Just… [more](https://www.npmjs.com/package/micromatch) | [homepage](https://github.com/jonschlinkert/micromatch)
+## Changelog
-## Contributing
+### v2.0.0
-Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/expand-brackets/issues/new).
+**Breaking changes**
-## Building docs
+* The main export now returns the compiled string, instead of the object returned from the compiler
-Generate readme and API documentation with [verb](https://github.com/verbose/verb):
+**Added features**
-```sh
-$ npm install verb && npm run docs
+* Adds a `.create` method to do what the main function did before v2.0.0
+
+### v0.2.0
+
+In addition to performance and matching improvements, the v0.2.0 refactor adds complete POSIX character class support, with the exception of equivalence classes and POSIX.2 collating symbols which are not relevant to node.js usage.
+
+**Added features**
+
+* parser is exposed, so that expand-brackets parsers can be used by upstream parsers (like [micromatch](https://github.com/jonschlinkert/micromatch))
+* compiler is exposed, so that expand-brackets compilers can be used by upstream compilers
+* source maps
+
+**source map example**
+
+```js
+var brackets = require('expand-brackets');
+var res = brackets('[:alpha:]');
+console.log(res.map);
+
+{ version: 3,
+ sources: [ 'brackets' ],
+ names: [],
+ mappings: 'AAAA,MAAS',
+ sourcesContent: [ '[:alpha:]' ] }
```
-Or, if [verb](https://github.com/verbose/verb) is installed globally:
+## About
+
+### Related projects
+
+* [braces](https://www.npmjs.com/package/braces): Fast, comprehensive, bash-like brace expansion implemented in JavaScript. Complete support for the Bash 4.3 braces… [more](https://github.com/jonschlinkert/braces) | [homepage](https://github.com/jonschlinkert/braces "Fast, comprehensive, bash-like brace expansion implemented in JavaScript. Complete support for the Bash 4.3 braces specification, without sacrificing speed.")
+* [extglob](https://www.npmjs.com/package/extglob): Extended glob support for JavaScript. Adds (almost) the expressive power of regular expressions to glob… [more](https://github.com/jonschlinkert/extglob) | [homepage](https://github.com/jonschlinkert/extglob "Extended glob support for JavaScript. Adds (almost) the expressive power of regular expressions to glob patterns.")
+* [micromatch](https://www.npmjs.com/package/micromatch): Glob matching for javascript/node.js. A drop-in replacement and faster alternative to minimatch and multimatch. | [homepage](https://github.com/jonschlinkert/micromatch "Glob matching for javascript/node.js. A drop-in replacement and faster alternative to minimatch and multimatch.")
+* [nanomatch](https://www.npmjs.com/package/nanomatch): Fast, minimal glob matcher for node.js. Similar to micromatch, minimatch and multimatch, but complete Bash… [more](https://github.com/jonschlinkert/nanomatch) | [homepage](https://github.com/jonschlinkert/nanomatch "Fast, minimal glob matcher for node.js. Similar to micromatch, minimatch and multimatch, but complete Bash 4.3 wildcard support only (no support for exglobs, posix brackets or braces)")
+
+### Contributing
+
+Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
+
+### Contributors
+
+| **Commits** | **Contributor**<br/> |
+| --- | --- |
+| 66 | [jonschlinkert](https://github.com/jonschlinkert) |
+| 2 | [MartinKolarik](https://github.com/MartinKolarik) |
+| 2 | [es128](https://github.com/es128) |
+| 1 | [eush77](https://github.com/eush77) |
+
+### 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).)_
+
+To generate the readme and API documentation with [verb](https://github.com/verbose/verb):
```sh
-$ verb
+$ npm install -g verb verb-generate-readme && verb
```
-## Running tests
+### Running tests
Install dev dependencies:
@@ -90,18 +285,18 @@ Install dev dependencies:
$ npm install -d && npm test
```
-## Author
+### Author
**Jon Schlinkert**
* [github/jonschlinkert](https://github.com/jonschlinkert)
* [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
-## License
+### License
-verb © 2016, [Jon Schlinkert](https://github.com/jonschlinkert).
+Copyright © 2016, [Jon Schlinkert](https://github.com/jonschlinkert).
Released under the [MIT license](https://github.com/jonschlinkert/expand-brackets/blob/master/LICENSE).
***
-_This file was generated by [verb](https://github.com/verbose/verb), v, on April 01, 2016._ \ No newline at end of file
+_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.2.0, on December 12, 2016._ \ No newline at end of file
diff --git a/node_modules/expand-brackets/index.js b/node_modules/expand-brackets/index.js
index b843cc2b1..74b8b1556 100644
--- a/node_modules/expand-brackets/index.js
+++ b/node_modules/expand-brackets/index.js
@@ -1,163 +1,211 @@
-/*!
- * expand-brackets <https://github.com/jonschlinkert/expand-brackets>
- *
- * Copyright (c) 2015 Jon Schlinkert.
- * Licensed under the MIT license.
- */
-
'use strict';
-var isPosixBracket = require('is-posix-bracket');
-
/**
- * POSIX character classes
+ * Local dependencies
*/
-var POSIX = {
- alnum: 'a-zA-Z0-9',
- alpha: 'a-zA-Z',
- blank: ' \\t',
- cntrl: '\\x00-\\x1F\\x7F',
- digit: '0-9',
- graph: '\\x21-\\x7E',
- lower: 'a-z',
- print: '\\x20-\\x7E',
- punct: '-!"#$%&\'()\\*+,./:;<=>?@[\\]^_`{|}~',
- space: ' \\t\\r\\n\\v\\f',
- upper: 'A-Z',
- word: 'A-Za-z0-9_',
- xdigit: 'A-Fa-f0-9',
-};
+var compilers = require('./lib/compilers');
+var parsers = require('./lib/parsers');
/**
- * Expose `brackets`
+ * Module dependencies
*/
-module.exports = brackets;
+var debug = require('debug')('expand-brackets');
+var extend = require('extend-shallow');
+var Snapdragon = require('snapdragon');
+var toRegex = require('to-regex');
-function brackets(str) {
- if (!isPosixBracket(str)) {
- return str;
- }
+/**
+ * Parses the given POSIX character class `pattern` and returns a
+ * string that can be used for creating regular expressions for matching.
+ *
+ * @param {String} `pattern`
+ * @param {Object} `options`
+ * @return {Object}
+ * @api public
+ */
- var negated = false;
- if (str.indexOf('[^') !== -1) {
- negated = true;
- str = str.split('[^').join('[');
- }
- if (str.indexOf('[!') !== -1) {
- negated = true;
- str = str.split('[!').join('[');
- }
+function brackets(pattern, options) {
+ debug('initializing from <%s>', __filename);
+ var res = brackets.create(pattern, options);
+ return res.output;
+}
- var a = str.split('[');
- var b = str.split(']');
- var imbalanced = a.length !== b.length;
+/**
+ * Takes an array of strings and a POSIX character class pattern, and returns a new
+ * array with only the strings that matched the pattern.
+ *
+ * ```js
+ * var brackets = require('expand-brackets');
+ * console.log(brackets.match(['1', 'a', 'ab'], '[[:alpha:]]'));
+ * //=> ['a']
+ *
+ * console.log(brackets.match(['1', 'a', 'ab'], '[[:alpha:]]+'));
+ * //=> ['a', 'ab']
+ * ```
+ * @param {Array} `arr` Array of strings to match
+ * @param {String} `pattern` POSIX character class pattern(s)
+ * @param {Object} `options`
+ * @return {Array}
+ * @api public
+ */
- var parts = str.split(/(?::\]\[:|\[?\[:|:\]\]?)/);
- var len = parts.length, i = 0;
- var end = '', beg = '';
+brackets.match = function(arr, pattern, options) {
+ arr = [].concat(arr);
+ var opts = extend({}, options);
+ var isMatch = brackets.matcher(pattern, opts);
+ var len = arr.length;
+ var idx = -1;
var res = [];
- // start at the end (innermost) first
- while (len--) {
- var inner = parts[i++];
- if (inner === '^[!' || inner === '[!') {
- inner = '';
- negated = true;
- }
-
- var prefix = negated ? '^' : '';
- var ch = POSIX[inner];
-
- if (ch) {
- res.push('[' + prefix + ch + ']');
- } else if (inner) {
- if (/^\[?\w-\w\]?$/.test(inner)) {
- if (i === parts.length) {
- res.push('[' + prefix + inner);
- } else if (i === 1) {
- res.push(prefix + inner + ']');
- } else {
- res.push(prefix + inner);
- }
- } else {
- if (i === 1) {
- beg += inner;
- } else if (i === parts.length) {
- end += inner;
- } else {
- res.push('[' + prefix + inner + ']');
- }
- }
+ while (++idx < len) {
+ var ele = arr[idx];
+ if (isMatch(ele)) {
+ res.push(ele);
}
}
- var result = res.join('|');
- var rlen = res.length || 1;
- if (rlen > 1) {
- result = '(?:' + result + ')';
- rlen = 1;
- }
- if (beg) {
- rlen++;
- if (beg.charAt(0) === '[') {
- if (imbalanced) {
- beg = '\\[' + beg.slice(1);
- } else {
- beg += ']';
- }
- }
- result = beg + result;
- }
- if (end) {
- rlen++;
- if (end.slice(-1) === ']') {
- if (imbalanced) {
- end = end.slice(0, end.length - 1) + '\\]';
- } else {
- end = '[' + end;
- }
+ if (res.length === 0) {
+ if (opts.failglob === true) {
+ throw new Error('no matches found for "' + pattern + '"');
}
- result += end;
- }
- if (rlen > 1) {
- result = result.split('][').join(']|[');
- if (result.indexOf('|') !== -1 && !/\(\?/.test(result)) {
- result = '(?:' + result + ')';
+ if (opts.nonull === true || opts.nullglob === true) {
+ return [pattern.split('\\').join('')];
}
}
+ return res;
+};
- result = result.replace(/\[+=|=\]+/g, '\\b');
- return result;
-}
+/**
+ * Returns true if the specified `string` matches the given
+ * brackets `pattern`.
+ *
+ * ```js
+ * var brackets = require('expand-brackets');
+ *
+ * console.log(brackets.isMatch('a.a', '[[:alpha:]].[[:alpha:]]'));
+ * //=> true
+ * console.log(brackets.isMatch('1.2', '[[:alpha:]].[[:alpha:]]'));
+ * //=> false
+ * ```
+ * @param {String} `string` String to match
+ * @param {String} `pattern` Poxis pattern
+ * @param {String} `options`
+ * @return {Boolean}
+ * @api public
+ */
-brackets.makeRe = function(pattern) {
- try {
- return new RegExp(brackets(pattern));
- } catch (err) {}
+brackets.isMatch = function(str, pattern, options) {
+ return brackets.matcher(pattern, options)(str);
};
-brackets.isMatch = function(str, pattern) {
- try {
- return brackets.makeRe(pattern).test(str);
- } catch (err) {
- return false;
- }
+/**
+ * Takes a POSIX character class pattern and returns a matcher function. The returned
+ * function takes the string to match as its only argument.
+ *
+ * ```js
+ * var brackets = require('expand-brackets');
+ * var isMatch = brackets.matcher('[[:lower:]].[[:upper:]]');
+ *
+ * console.log(isMatch('a.a'));
+ * //=> false
+ * console.log(isMatch('a.A'));
+ * //=> true
+ * ```
+ * @param {String} `pattern` Poxis pattern
+ * @param {String} `options`
+ * @return {Boolean}
+ * @api public
+ */
+
+brackets.matcher = function(pattern, options) {
+ var re = brackets.makeRe(pattern, options);
+ return function(str) {
+ return re.test(str);
+ };
};
-brackets.match = function(arr, pattern) {
- var len = arr.length, i = 0;
- var res = arr.slice();
+/**
+ * Create a regular expression from the given `pattern`.
+ *
+ * ```js
+ * var brackets = require('expand-brackets');
+ * var re = brackets.makeRe('[[:alpha:]]');
+ * console.log(re);
+ * //=> /^(?:[a-zA-Z])$/
+ * ```
+ * @param {String} `pattern` The pattern to convert to regex.
+ * @param {Object} `options`
+ * @return {RegExp}
+ * @api public
+ */
- var re = brackets.makeRe(pattern);
- while (i < len) {
- var ele = arr[i++];
- if (!re.test(ele)) {
- continue;
- }
- res.splice(i, 1);
- }
+brackets.makeRe = function(pattern, options) {
+ var res = brackets.create(pattern, options);
+ var opts = extend({strictErrors: false}, options);
+ return toRegex(res.output, opts);
+};
+
+/**
+ * Parses the given POSIX character class `pattern` and returns an object
+ * with the compiled `output` and optional source `map`.
+ *
+ * ```js
+ * var brackets = require('expand-brackets');
+ * console.log(brackets('[[:alpha:]]'));
+ * // { options: { source: 'string' },
+ * // input: '[[:alpha:]]',
+ * // state: {},
+ * // compilers:
+ * // { eos: [Function],
+ * // noop: [Function],
+ * // bos: [Function],
+ * // not: [Function],
+ * // escape: [Function],
+ * // text: [Function],
+ * // posix: [Function],
+ * // bracket: [Function],
+ * // 'bracket.open': [Function],
+ * // 'bracket.inner': [Function],
+ * // 'bracket.literal': [Function],
+ * // 'bracket.close': [Function] },
+ * // output: '[a-zA-Z]',
+ * // ast:
+ * // { type: 'root',
+ * // errors: [],
+ * // nodes: [ [Object], [Object], [Object] ] },
+ * // parsingErrors: [] }
+ * ```
+ * @param {String} `pattern`
+ * @param {Object} `options`
+ * @return {Object}
+ * @api public
+ */
+
+brackets.create = function(pattern, options) {
+ var snapdragon = (options && options.snapdragon) || new Snapdragon(options);
+ compilers(snapdragon);
+ parsers(snapdragon);
+
+ var ast = snapdragon.parse(pattern, options);
+ ast.input = pattern;
+ var res = snapdragon.compile(ast, options);
+ res.input = pattern;
return res;
};
+
+/**
+ * Expose `brackets` constructor, parsers and compilers
+ */
+
+brackets.compilers = compilers;
+brackets.parsers = parsers;
+
+/**
+ * Expose `brackets`
+ * @type {Function}
+ */
+
+module.exports = brackets;
diff --git a/node_modules/expand-brackets/package.json b/node_modules/expand-brackets/package.json
index 99dddafc7..1c5233cf7 100644
--- a/node_modules/expand-brackets/package.json
+++ b/node_modules/expand-brackets/package.json
@@ -1,16 +1,23 @@
{
"name": "expand-brackets",
"description": "Expand POSIX bracket expressions (character classes) in glob patterns.",
- "version": "0.1.5",
+ "version": "2.1.4",
"homepage": "https://github.com/jonschlinkert/expand-brackets",
"author": "Jon Schlinkert (https://github.com/jonschlinkert)",
+ "contributors": [
+ "Elan Shanker (https://github.com/es128)",
+ "Eugene Sharygin (https://github.com/eush77)",
+ "Jon Schlinkert <jon.schlinkert@sellside.com> (http://twitter.com/jonschlinkert)",
+ "Martin Kolárik <martin@kolarik.sk> (http://kolarik.sk)"
+ ],
"repository": "jonschlinkert/expand-brackets",
"bugs": {
"url": "https://github.com/jonschlinkert/expand-brackets/issues"
},
"license": "MIT",
"files": [
- "index.js"
+ "index.js",
+ "lib"
],
"main": "index.js",
"engines": {
@@ -20,16 +27,28 @@
"test": "mocha"
},
"dependencies": {
- "is-posix-bracket": "^0.1.0"
+ "debug": "^2.3.3",
+ "define-property": "^0.2.5",
+ "extend-shallow": "^2.0.1",
+ "posix-character-classes": "^0.1.0",
+ "regex-not": "^1.0.0",
+ "snapdragon": "^0.8.1",
+ "to-regex": "^3.0.1"
},
"devDependencies": {
- "gulp-format-md": "^0.1.7",
- "mocha": "^2.2.5",
- "should": "^7.0.2"
+ "bash-match": "^0.1.1",
+ "gulp-format-md": "^0.1.10",
+ "helper-changelog": "^0.3.0",
+ "minimatch": "^3.0.3",
+ "mocha": "^3.0.2",
+ "multimatch": "^2.1.0",
+ "yargs-parser": "^4.0.0"
},
"keywords": [
"bracket",
+ "brackets",
"character class",
+ "expand",
"expression",
"posix"
],
@@ -43,17 +62,21 @@
"plugins": [
"gulp-format-md"
],
+ "helpers": [
+ "helper-changelog"
+ ],
"related": {
"list": [
+ "braces",
"extglob",
- "is-extglob",
- "is-glob",
- "is-posix-bracket",
- "micromatch"
+ "micromatch",
+ "nanomatch"
]
},
"reflinks": [
- "verb"
+ "micromatch",
+ "verb",
+ "verb-generate-readme"
],
"lint": {
"reflinks": true