Initial
This commit is contained in:
21
Client/node_modules/glob-base/LICENSE
generated
vendored
Executable file
21
Client/node_modules/glob-base/LICENSE
generated
vendored
Executable file
@@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 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.
|
||||
158
Client/node_modules/glob-base/README.md
generated
vendored
Executable file
158
Client/node_modules/glob-base/README.md
generated
vendored
Executable file
@@ -0,0 +1,158 @@
|
||||
# glob-base [](http://badge.fury.io/js/glob-base) [](https://travis-ci.org/jonschlinkert/glob-base)
|
||||
|
||||
> Returns an object with the (non-glob) base path and the actual pattern.
|
||||
|
||||
Use [glob-parent](https://github.com/es128/glob-parent) if you just want the base path.
|
||||
|
||||
## Install with [npm](npmjs.org)
|
||||
|
||||
```bash
|
||||
npm i glob-base --save
|
||||
```
|
||||
|
||||
## Related projects
|
||||
* [glob-parent](https://github.com/es128/glob-parent): Strips glob magic from a string to provide the parent path
|
||||
* [micromatch](https://github.com/jonschlinkert/micromatch): Glob matching for javascript/node.js. A faster alternative to minimatch (10-45x faster on avg), with all the features you're used to using in your Grunt and gulp tasks.
|
||||
* [parse-glob](https://github.com/jonschlinkert/parse-glob): Parse a glob pattern into an object of tokens.
|
||||
* [is-glob](https://github.com/jonschlinkert/is-glob): Returns `true` if the given string looks like a glob pattern.
|
||||
* [braces](https://github.com/jonschlinkert/braces): Fastest brace expansion for node.js, with the most complete support for the Bash 4.3 braces specification.
|
||||
* [fill-range](https://github.com/jonschlinkert/fill-range): Fill in a range of numbers or letters, optionally passing an increment or multiplier to use.
|
||||
* [expand-range](https://github.com/jonschlinkert/expand-range): Fast, bash-like range expansion. Expand a range of numbers or letters, uppercase or lowercase. See the benchmarks. Used by micromatch.
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var globBase = require('glob-base');
|
||||
|
||||
globBase('a/b/.git/');
|
||||
//=> { base: 'a/b/.git/', isGlob: false, glob: '' })
|
||||
|
||||
globBase('a/b/**/e');
|
||||
//=> { base: 'a/b', isGlob: true, glob: '**/e' }
|
||||
|
||||
globBase('a/b/*.{foo,bar}');
|
||||
//=> { base: 'a/b', isGlob: true, glob: '*.{foo,bar}' }
|
||||
|
||||
globBase('a/b/.git/**');
|
||||
//=> { base: 'a/b/.git', isGlob: true, glob: '**' }
|
||||
|
||||
globBase('a/b/c/*.md');
|
||||
//=> { base: 'a/b/c', isGlob: true, glob: '*.md' }
|
||||
|
||||
globBase('a/b/c/.*.md');
|
||||
//=> { base: 'a/b/c', isGlob: true, glob: '.*.md' }
|
||||
|
||||
globBase('a/b/{c,d}');
|
||||
//=> { base: 'a/b', isGlob: true, glob: '{c,d}' }
|
||||
|
||||
globBase('!*.min.js');
|
||||
//=> { base: '.', isGlob: true, glob: '!*.min.js' }
|
||||
|
||||
globBase('!foo');
|
||||
//=> { base: '.', isGlob: true, glob: '!foo' }
|
||||
|
||||
globBase('!foo/(a|b).min.js');
|
||||
//=> { base: '.', isGlob: true, glob: '!foo/(a|b).min.js' }
|
||||
|
||||
globBase('');
|
||||
//=> { base: '.', isGlob: false, glob: '' }
|
||||
|
||||
globBase('**/*.md');
|
||||
//=> { base: '.', isGlob: true, glob: '**/*.md' }
|
||||
|
||||
globBase('**/*.min.js');
|
||||
//=> { base: '.', isGlob: true, glob: '**/*.min.js' }
|
||||
|
||||
globBase('**/.*');
|
||||
//=> { base: '.', isGlob: true, glob: '**/.*' }
|
||||
|
||||
globBase('**/d');
|
||||
//=> { base: '.', isGlob: true, glob: '**/d' }
|
||||
|
||||
globBase('*.*');
|
||||
//=> { base: '.', isGlob: true, glob: '*.*' }
|
||||
|
||||
globBase('*.min.js');
|
||||
//=> { base: '.', isGlob: true, glob: '*.min.js' }
|
||||
|
||||
globBase('*/*');
|
||||
//=> { base: '.', isGlob: true, glob: '*/*' }
|
||||
|
||||
globBase('*b');
|
||||
//=> { base: '.', isGlob: true, glob: '*b' }
|
||||
|
||||
globBase('.');
|
||||
//=> { base: '.', isGlob: false, glob: '.' }
|
||||
|
||||
globBase('.*');
|
||||
//=> { base: '.', isGlob: true, glob: '.*' }
|
||||
|
||||
globBase('./*');
|
||||
//=> { base: '.', isGlob: true, glob: '*' }
|
||||
|
||||
globBase('/a');
|
||||
//=> { base: '/', isGlob: false, glob: 'a' }
|
||||
|
||||
globBase('@(a|b)/e.f.g/');
|
||||
//=> { base: '.', isGlob: true, glob: '@(a|b)/e.f.g/' }
|
||||
|
||||
globBase('[a-c]b*');
|
||||
//=> { base: '.', isGlob: true, glob: '[a-c]b*' }
|
||||
|
||||
globBase('a');
|
||||
//=> { base: '.', isGlob: false, glob: 'a' }
|
||||
|
||||
globBase('a.min.js');
|
||||
//=> { base: '.', isGlob: false, glob: 'a.min.js' }
|
||||
|
||||
globBase('a/');
|
||||
//=> { base: 'a/', isGlob: false, glob: '' }
|
||||
|
||||
globBase('a/**/j/**/z/*.md');
|
||||
//=> { base: 'a', isGlob: true, glob: '**/j/**/z/*.md' }
|
||||
|
||||
globBase('a/*/c/*.md');
|
||||
//=> { base: 'a', isGlob: true, glob: '*/c/*.md' }
|
||||
|
||||
globBase('a/?/c.md');
|
||||
//=> { base: 'a', isGlob: true, glob: '?/c.md' }
|
||||
|
||||
globBase('a/??/c.js');
|
||||
//=> { base: 'a', isGlob: true, glob: '??/c.js' }
|
||||
|
||||
globBase('a?b');
|
||||
//=> { base: '.', isGlob: true, glob: 'a?b' }
|
||||
|
||||
globBase('bb');
|
||||
//=> { base: '.', isGlob: false, glob: 'bb' }
|
||||
|
||||
globBase('c.md');
|
||||
//=> { base: '.', isGlob: false, glob: 'c.md' }
|
||||
```
|
||||
|
||||
## Running tests
|
||||
Install dev dependencies.
|
||||
|
||||
```bash
|
||||
npm i -d && npm test
|
||||
```
|
||||
|
||||
|
||||
## Contributing
|
||||
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/glob-base/issues)
|
||||
|
||||
|
||||
## Author
|
||||
|
||||
**Jon Schlinkert**
|
||||
|
||||
+ [github/jonschlinkert](https://github.com/jonschlinkert)
|
||||
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
|
||||
|
||||
## License
|
||||
Copyright (c) 2015 Jon Schlinkert
|
||||
Released under the MIT license
|
||||
|
||||
***
|
||||
|
||||
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on March 08, 2015._
|
||||
51
Client/node_modules/glob-base/index.js
generated
vendored
Executable file
51
Client/node_modules/glob-base/index.js
generated
vendored
Executable file
@@ -0,0 +1,51 @@
|
||||
/*!
|
||||
* glob-base <https://github.com/jonschlinkert/glob-base>
|
||||
*
|
||||
* Copyright (c) 2015, Jon Schlinkert.
|
||||
* Licensed under the MIT License.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
var path = require('path');
|
||||
var parent = require('glob-parent');
|
||||
var isGlob = require('is-glob');
|
||||
|
||||
module.exports = function globBase(pattern) {
|
||||
if (typeof pattern !== 'string') {
|
||||
throw new TypeError('glob-base expects a string.');
|
||||
}
|
||||
|
||||
var res = {};
|
||||
res.base = parent(pattern);
|
||||
res.isGlob = isGlob(pattern);
|
||||
|
||||
if (res.base !== '.') {
|
||||
res.glob = pattern.substr(res.base.length);
|
||||
if (res.glob.charAt(0) === '/') {
|
||||
res.glob = res.glob.substr(1);
|
||||
}
|
||||
} else {
|
||||
res.glob = pattern;
|
||||
}
|
||||
|
||||
if (!res.isGlob) {
|
||||
res.base = dirname(pattern);
|
||||
res.glob = res.base !== '.'
|
||||
? pattern.substr(res.base.length)
|
||||
: pattern;
|
||||
}
|
||||
|
||||
if (res.glob.substr(0, 2) === './') {
|
||||
res.glob = res.glob.substr(2);
|
||||
}
|
||||
if (res.glob.charAt(0) === '/') {
|
||||
res.glob = res.glob.substr(1);
|
||||
}
|
||||
return res;
|
||||
};
|
||||
|
||||
function dirname(glob) {
|
||||
if (glob.slice(-1) === '/') return glob;
|
||||
return path.dirname(glob);
|
||||
}
|
||||
4
Client/node_modules/glob-base/node_modules/glob-parent/.npmignore
generated
vendored
Executable file
4
Client/node_modules/glob-base/node_modules/glob-parent/.npmignore
generated
vendored
Executable file
@@ -0,0 +1,4 @@
|
||||
node_modules
|
||||
.DS_Store
|
||||
npm-debug.log
|
||||
coverage
|
||||
8
Client/node_modules/glob-base/node_modules/glob-parent/.travis.yml
generated
vendored
Executable file
8
Client/node_modules/glob-base/node_modules/glob-parent/.travis.yml
generated
vendored
Executable file
@@ -0,0 +1,8 @@
|
||||
language: node_js
|
||||
node_js:
|
||||
- "4"
|
||||
- "iojs-v3"
|
||||
- "iojs-v2"
|
||||
- "iojs-v1"
|
||||
- "0.12"
|
||||
- "0.10"
|
||||
15
Client/node_modules/glob-base/node_modules/glob-parent/LICENSE
generated
vendored
Executable file
15
Client/node_modules/glob-base/node_modules/glob-parent/LICENSE
generated
vendored
Executable file
@@ -0,0 +1,15 @@
|
||||
The ISC License
|
||||
|
||||
Copyright (c) 2015 Elan Shanker
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for any
|
||||
purpose with or without fee is hereby granted, provided that the above
|
||||
copyright notice and this permission notice appear in all copies.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
|
||||
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
43
Client/node_modules/glob-base/node_modules/glob-parent/README.md
generated
vendored
Executable file
43
Client/node_modules/glob-base/node_modules/glob-parent/README.md
generated
vendored
Executable file
@@ -0,0 +1,43 @@
|
||||
glob-parent [](https://travis-ci.org/es128/glob-parent) [](https://coveralls.io/r/es128/glob-parent?branch=master)
|
||||
======
|
||||
Javascript module to extract the non-magic parent path from a glob string.
|
||||
|
||||
[](https://nodei.co/npm/glob-parent/)
|
||||
[](https://nodei.co/npm-dl/glob-parent/)
|
||||
|
||||
Usage
|
||||
-----
|
||||
```sh
|
||||
npm install glob-parent --save
|
||||
```
|
||||
|
||||
```js
|
||||
var globParent = require('glob-parent');
|
||||
|
||||
globParent('path/to/*.js'); // 'path/to'
|
||||
globParent('/root/path/to/*.js'); // '/root/path/to'
|
||||
globParent('/*.js'); // '/'
|
||||
globParent('*.js'); // '.'
|
||||
globParent('**/*.js'); // '.'
|
||||
globParent('path/{to,from}'); // 'path'
|
||||
globParent('path/!(to|from)'); // 'path'
|
||||
globParent('path/?(to|from)'); // 'path'
|
||||
globParent('path/+(to|from)'); // 'path'
|
||||
globParent('path/*(to|from)'); // 'path'
|
||||
globParent('path/@(to|from)'); // 'path'
|
||||
globParent('path/**/*'); // 'path'
|
||||
|
||||
// if provided a non-glob path, returns the nearest dir
|
||||
globParent('path/foo/bar.js'); // 'path/foo'
|
||||
globParent('path/foo/'); // 'path/foo'
|
||||
globParent('path/foo'); // 'path' (see issue #3 for details)
|
||||
|
||||
```
|
||||
|
||||
Change Log
|
||||
----------
|
||||
[See release notes page on GitHub](https://github.com/es128/glob-parent/releases)
|
||||
|
||||
License
|
||||
-------
|
||||
[ISC](https://raw.github.com/es128/glob-parent/master/LICENSE)
|
||||
10
Client/node_modules/glob-base/node_modules/glob-parent/index.js
generated
vendored
Executable file
10
Client/node_modules/glob-base/node_modules/glob-parent/index.js
generated
vendored
Executable file
@@ -0,0 +1,10 @@
|
||||
'use strict';
|
||||
|
||||
var path = require('path');
|
||||
var isglob = require('is-glob');
|
||||
|
||||
module.exports = function globParent(str) {
|
||||
str += 'a'; // preserves full path in case of trailing path separator
|
||||
do {str = path.dirname(str)} while (isglob(str));
|
||||
return str;
|
||||
};
|
||||
62
Client/node_modules/glob-base/node_modules/glob-parent/package.json
generated
vendored
Executable file
62
Client/node_modules/glob-base/node_modules/glob-parent/package.json
generated
vendored
Executable file
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"_from": "glob-parent@^2.0.0",
|
||||
"_id": "glob-parent@2.0.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg=",
|
||||
"_location": "/glob-base/glob-parent",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "glob-parent@^2.0.0",
|
||||
"name": "glob-parent",
|
||||
"escapedName": "glob-parent",
|
||||
"rawSpec": "^2.0.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^2.0.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/glob-base"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz",
|
||||
"_shasum": "81383d72db054fcccf5336daa902f182f6edbb28",
|
||||
"_spec": "glob-parent@^2.0.0",
|
||||
"_where": "/home/nathan/Projects/Upsilon/UpsilonVsCodeLanguageServer/Client/node_modules/glob-base",
|
||||
"author": {
|
||||
"name": "Elan Shanker"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/es128/glob-parent/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"dependencies": {
|
||||
"is-glob": "^2.0.0"
|
||||
},
|
||||
"deprecated": false,
|
||||
"description": "Strips glob magic from a string to provide the parent path",
|
||||
"devDependencies": {
|
||||
"coveralls": "^2.11.2",
|
||||
"istanbul": "^0.3.5",
|
||||
"mocha": "^2.1.0"
|
||||
},
|
||||
"homepage": "https://github.com/es128/glob-parent",
|
||||
"keywords": [
|
||||
"glob",
|
||||
"parent",
|
||||
"strip",
|
||||
"path",
|
||||
"directory",
|
||||
"base"
|
||||
],
|
||||
"license": "ISC",
|
||||
"main": "index.js",
|
||||
"name": "glob-parent",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/es128/glob-parent.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "istanbul cover _mocha && cat ./coverage/lcov.info | coveralls"
|
||||
},
|
||||
"version": "2.0.0"
|
||||
}
|
||||
28
Client/node_modules/glob-base/node_modules/glob-parent/test.js
generated
vendored
Executable file
28
Client/node_modules/glob-base/node_modules/glob-parent/test.js
generated
vendored
Executable file
@@ -0,0 +1,28 @@
|
||||
'use strict';
|
||||
|
||||
var gp = require('./');
|
||||
var assert = require('assert');
|
||||
|
||||
describe('glob-parent', function() {
|
||||
it('should strip glob magic to return parent path', function() {
|
||||
assert.equal(gp('path/to/*.js'), 'path/to');
|
||||
assert.equal(gp('/root/path/to/*.js'), '/root/path/to');
|
||||
assert.equal(gp('/*.js'), '/');
|
||||
assert.equal(gp('*.js'), '.');
|
||||
assert.equal(gp('**/*.js'), '.');
|
||||
assert.equal(gp('path/{to,from}'), 'path');
|
||||
assert.equal(gp('path/!(to|from)'), 'path');
|
||||
assert.equal(gp('path/?(to|from)'), 'path');
|
||||
assert.equal(gp('path/+(to|from)'), 'path');
|
||||
assert.equal(gp('path/*(to|from)'), 'path');
|
||||
assert.equal(gp('path/@(to|from)'), 'path');
|
||||
assert.equal(gp('path/**/*'), 'path');
|
||||
assert.equal(gp('path/**/subdir/foo.*'), 'path');
|
||||
});
|
||||
|
||||
it('should return parent dirname from non-glob paths', function() {
|
||||
assert.equal(gp('path/foo/bar.js'), 'path/foo');
|
||||
assert.equal(gp('path/foo/'), 'path/foo');
|
||||
assert.equal(gp('path/foo'), 'path');
|
||||
});
|
||||
});
|
||||
21
Client/node_modules/glob-base/node_modules/is-extglob/LICENSE
generated
vendored
Executable file
21
Client/node_modules/glob-base/node_modules/is-extglob/LICENSE
generated
vendored
Executable file
@@ -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.
|
||||
75
Client/node_modules/glob-base/node_modules/is-extglob/README.md
generated
vendored
Executable file
75
Client/node_modules/glob-base/node_modules/is-extglob/README.md
generated
vendored
Executable file
@@ -0,0 +1,75 @@
|
||||
# is-extglob [](http://badge.fury.io/js/is-extglob) [](https://travis-ci.org/jonschlinkert/is-extglob)
|
||||
|
||||
> Returns true if a string has an extglob.
|
||||
|
||||
## Install with [npm](npmjs.org)
|
||||
|
||||
```bash
|
||||
npm i is-extglob --save
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var isExtglob = require('is-extglob');
|
||||
```
|
||||
|
||||
**True**
|
||||
|
||||
```js
|
||||
isExtglob('?(abc)');
|
||||
isExtglob('@(abc)');
|
||||
isExtglob('!(abc)');
|
||||
isExtglob('*(abc)');
|
||||
isExtglob('+(abc)');
|
||||
```
|
||||
|
||||
**False**
|
||||
|
||||
Everything else...
|
||||
|
||||
```js
|
||||
isExtglob('foo.js');
|
||||
isExtglob('!foo.js');
|
||||
isExtglob('*.js');
|
||||
isExtglob('**/abc.js');
|
||||
isExtglob('abc/*.js');
|
||||
isExtglob('abc/(aaa|bbb).js');
|
||||
isExtglob('abc/[a-z].js');
|
||||
isExtglob('abc/{a,b}.js');
|
||||
isExtglob('abc/?.js');
|
||||
isExtglob('abc.js');
|
||||
isExtglob('abc/def/ghi.js');
|
||||
```
|
||||
|
||||
## Related
|
||||
* [extglob](https://github.com/jonschlinkert/extglob): Extended globs. extglobs add the expressive power of regular expressions to glob patterns.
|
||||
* [micromatch](https://github.com/jonschlinkert/micromatch): Glob matching for javascript/node.js. A faster alternative to minimatch (10-45x faster on avg), with all the features you're used to using in your Grunt and gulp tasks.
|
||||
* [parse-glob](https://github.com/jonschlinkert/parse-glob): Parse a glob pattern into an object of tokens.
|
||||
|
||||
## Run tests
|
||||
Install dev dependencies.
|
||||
|
||||
```bash
|
||||
npm i -d && npm test
|
||||
```
|
||||
|
||||
|
||||
## Contributing
|
||||
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/is-extglob/issues)
|
||||
|
||||
|
||||
## Author
|
||||
|
||||
**Jon Schlinkert**
|
||||
|
||||
+ [github/jonschlinkert](https://github.com/jonschlinkert)
|
||||
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
|
||||
|
||||
## License
|
||||
Copyright (c) 2015 Jon Schlinkert
|
||||
Released under the MIT license
|
||||
|
||||
***
|
||||
|
||||
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on March 06, 2015._
|
||||
11
Client/node_modules/glob-base/node_modules/is-extglob/index.js
generated
vendored
Executable file
11
Client/node_modules/glob-base/node_modules/is-extglob/index.js
generated
vendored
Executable file
@@ -0,0 +1,11 @@
|
||||
/*!
|
||||
* is-extglob <https://github.com/jonschlinkert/is-extglob>
|
||||
*
|
||||
* Copyright (c) 2014-2015, Jon Schlinkert.
|
||||
* Licensed under the MIT License.
|
||||
*/
|
||||
|
||||
module.exports = function isExtglob(str) {
|
||||
return typeof str === 'string'
|
||||
&& /[@?!+*]\(/.test(str);
|
||||
};
|
||||
76
Client/node_modules/glob-base/node_modules/is-extglob/package.json
generated
vendored
Executable file
76
Client/node_modules/glob-base/node_modules/is-extglob/package.json
generated
vendored
Executable file
@@ -0,0 +1,76 @@
|
||||
{
|
||||
"_from": "is-extglob@^1.0.0",
|
||||
"_id": "is-extglob@1.0.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=",
|
||||
"_location": "/glob-base/is-extglob",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "is-extglob@^1.0.0",
|
||||
"name": "is-extglob",
|
||||
"escapedName": "is-extglob",
|
||||
"rawSpec": "^1.0.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^1.0.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/glob-base/is-glob"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz",
|
||||
"_shasum": "ac468177c4943405a092fc8f29760c6ffc6206c0",
|
||||
"_spec": "is-extglob@^1.0.0",
|
||||
"_where": "/home/nathan/Projects/Upsilon/UpsilonVsCodeLanguageServer/Client/node_modules/glob-base/node_modules/is-glob",
|
||||
"author": {
|
||||
"name": "Jon Schlinkert",
|
||||
"url": "https://github.com/jonschlinkert"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/jonschlinkert/is-extglob/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"deprecated": false,
|
||||
"description": "Returns true if a string has an extglob.",
|
||||
"devDependencies": {
|
||||
"mocha": "*",
|
||||
"should": "*"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"homepage": "https://github.com/jonschlinkert/is-extglob",
|
||||
"keywords": [
|
||||
"bash",
|
||||
"braces",
|
||||
"check",
|
||||
"exec",
|
||||
"extglob",
|
||||
"expression",
|
||||
"glob",
|
||||
"globbing",
|
||||
"globstar",
|
||||
"match",
|
||||
"matches",
|
||||
"pattern",
|
||||
"regex",
|
||||
"regular",
|
||||
"string",
|
||||
"test"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
"name": "is-extglob",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/jonschlinkert/is-extglob.git"
|
||||
},
|
||||
"scripts": {
|
||||
"prepublish": "browserify -o browser.js -e index.js",
|
||||
"test": "mocha"
|
||||
},
|
||||
"version": "1.0.0"
|
||||
}
|
||||
21
Client/node_modules/glob-base/node_modules/is-glob/LICENSE
generated
vendored
Executable file
21
Client/node_modules/glob-base/node_modules/is-glob/LICENSE
generated
vendored
Executable file
@@ -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.
|
||||
105
Client/node_modules/glob-base/node_modules/is-glob/README.md
generated
vendored
Executable file
105
Client/node_modules/glob-base/node_modules/is-glob/README.md
generated
vendored
Executable file
@@ -0,0 +1,105 @@
|
||||
# is-glob [](http://badge.fury.io/js/is-glob) [](https://travis-ci.org/jonschlinkert/is-glob)
|
||||
|
||||
> Returns `true` if the given string looks like a glob pattern or an extglob pattern. This makes it easy to create code that only uses external modules like node-glob when necessary, resulting in much faster code execution and initialization time, and a better user experience.
|
||||
|
||||
Also take a look at [is-valid-glob](https://github.com/jonschlinkert/is-valid-glob) and [has-glob](https://github.com/jonschlinkert/has-glob).
|
||||
|
||||
## Install
|
||||
|
||||
Install with [npm](https://www.npmjs.com/)
|
||||
|
||||
```sh
|
||||
$ npm i is-glob --save
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var isGlob = require('is-glob');
|
||||
```
|
||||
|
||||
**True**
|
||||
|
||||
Patterns that have glob characters or regex patterns will return `true`:
|
||||
|
||||
```js
|
||||
isGlob('!foo.js');
|
||||
isGlob('*.js');
|
||||
isGlob('**/abc.js');
|
||||
isGlob('abc/*.js');
|
||||
isGlob('abc/(aaa|bbb).js');
|
||||
isGlob('abc/[a-z].js');
|
||||
isGlob('abc/{a,b}.js');
|
||||
isGlob('abc/?.js');
|
||||
//=> true
|
||||
```
|
||||
|
||||
Extglobs
|
||||
|
||||
```js
|
||||
isGlob('abc/@(a).js');
|
||||
isGlob('abc/!(a).js');
|
||||
isGlob('abc/+(a).js');
|
||||
isGlob('abc/*(a).js');
|
||||
isGlob('abc/?(a).js');
|
||||
//=> true
|
||||
```
|
||||
|
||||
**False**
|
||||
|
||||
Patterns that do not have glob patterns return `false`:
|
||||
|
||||
```js
|
||||
isGlob('abc.js');
|
||||
isGlob('abc/def/ghi.js');
|
||||
isGlob('foo.js');
|
||||
isGlob('abc/@.js');
|
||||
isGlob('abc/+.js');
|
||||
isGlob();
|
||||
isGlob(null);
|
||||
//=> false
|
||||
```
|
||||
|
||||
Arrays are also `false` (If you want to check if an array has a glob pattern, use [has-glob](https://github.com/jonschlinkert/has-glob)):
|
||||
|
||||
```js
|
||||
isGlob(['**/*.js']);
|
||||
isGlob(['foo.js']);
|
||||
//=> false
|
||||
```
|
||||
|
||||
## Related
|
||||
|
||||
* [has-glob](https://www.npmjs.com/package/has-glob): Returns `true` if an array has a glob pattern. | [homepage](https://github.com/jonschlinkert/has-glob)
|
||||
* [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-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)
|
||||
* [is-valid-glob](https://www.npmjs.com/package/is-valid-glob): Return true if a value is a valid glob pattern or patterns. | [homepage](https://github.com/jonschlinkert/is-valid-glob)
|
||||
* [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)
|
||||
|
||||
## Run tests
|
||||
|
||||
Install dev dependencies:
|
||||
|
||||
```sh
|
||||
$ npm i -d && npm test
|
||||
```
|
||||
|
||||
## Contributing
|
||||
|
||||
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/is-glob/issues/new).
|
||||
|
||||
## Author
|
||||
|
||||
**Jon Schlinkert**
|
||||
|
||||
+ [github/jonschlinkert](https://github.com/jonschlinkert)
|
||||
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
|
||||
|
||||
## License
|
||||
|
||||
Copyright © 2015 Jon Schlinkert
|
||||
Released under the MIT license.
|
||||
|
||||
***
|
||||
|
||||
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on October 02, 2015._
|
||||
14
Client/node_modules/glob-base/node_modules/is-glob/index.js
generated
vendored
Executable file
14
Client/node_modules/glob-base/node_modules/is-glob/index.js
generated
vendored
Executable file
@@ -0,0 +1,14 @@
|
||||
/*!
|
||||
* is-glob <https://github.com/jonschlinkert/is-glob>
|
||||
*
|
||||
* Copyright (c) 2014-2015, Jon Schlinkert.
|
||||
* Licensed under the MIT License.
|
||||
*/
|
||||
|
||||
var isExtglob = require('is-extglob');
|
||||
|
||||
module.exports = function isGlob(str) {
|
||||
return typeof str === 'string'
|
||||
&& (/[*!?{}(|)[\]]/.test(str)
|
||||
|| isExtglob(str));
|
||||
};
|
||||
89
Client/node_modules/glob-base/node_modules/is-glob/package.json
generated
vendored
Executable file
89
Client/node_modules/glob-base/node_modules/is-glob/package.json
generated
vendored
Executable file
@@ -0,0 +1,89 @@
|
||||
{
|
||||
"_from": "is-glob@^2.0.0",
|
||||
"_id": "is-glob@2.0.1",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=",
|
||||
"_location": "/glob-base/is-glob",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "is-glob@^2.0.0",
|
||||
"name": "is-glob",
|
||||
"escapedName": "is-glob",
|
||||
"rawSpec": "^2.0.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^2.0.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/glob-base",
|
||||
"/glob-base/glob-parent"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz",
|
||||
"_shasum": "d096f926a3ded5600f3fdfd91198cb0888c2d863",
|
||||
"_spec": "is-glob@^2.0.0",
|
||||
"_where": "/home/nathan/Projects/Upsilon/UpsilonVsCodeLanguageServer/Client/node_modules/glob-base",
|
||||
"author": {
|
||||
"name": "Jon Schlinkert",
|
||||
"url": "https://github.com/jonschlinkert"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/jonschlinkert/is-glob/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"dependencies": {
|
||||
"is-extglob": "^1.0.0"
|
||||
},
|
||||
"deprecated": false,
|
||||
"description": "Returns `true` if the given string looks like a glob pattern or an extglob pattern. This makes it easy to create code that only uses external modules like node-glob when necessary, resulting in much faster code execution and initialization time, and a better user experience.",
|
||||
"devDependencies": {
|
||||
"mocha": "*"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"homepage": "https://github.com/jonschlinkert/is-glob",
|
||||
"keywords": [
|
||||
"bash",
|
||||
"braces",
|
||||
"check",
|
||||
"exec",
|
||||
"extglob",
|
||||
"expression",
|
||||
"glob",
|
||||
"globbing",
|
||||
"globstar",
|
||||
"match",
|
||||
"matches",
|
||||
"pattern",
|
||||
"regex",
|
||||
"regular",
|
||||
"string",
|
||||
"test"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
"name": "is-glob",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/jonschlinkert/is-glob.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha"
|
||||
},
|
||||
"verb": {
|
||||
"related": {
|
||||
"list": [
|
||||
"has-glob",
|
||||
"is-extglob",
|
||||
"is-posix-bracket",
|
||||
"is-valid-glob",
|
||||
"micromatch"
|
||||
]
|
||||
}
|
||||
},
|
||||
"version": "2.0.1"
|
||||
}
|
||||
77
Client/node_modules/glob-base/package.json
generated
vendored
Executable file
77
Client/node_modules/glob-base/package.json
generated
vendored
Executable file
@@ -0,0 +1,77 @@
|
||||
{
|
||||
"_from": "glob-base@^0.3.0",
|
||||
"_id": "glob-base@0.3.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-27Fk9iIbHAscz4Kuoyi0l98Oo8Q=",
|
||||
"_location": "/glob-base",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "glob-base@^0.3.0",
|
||||
"name": "glob-base",
|
||||
"escapedName": "glob-base",
|
||||
"rawSpec": "^0.3.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^0.3.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/parse-glob"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/glob-base/-/glob-base-0.3.0.tgz",
|
||||
"_shasum": "dbb164f6221b1c0b1ccf82aea328b497df0ea3c4",
|
||||
"_spec": "glob-base@^0.3.0",
|
||||
"_where": "/home/nathan/Projects/Upsilon/UpsilonVsCodeLanguageServer/Client/node_modules/parse-glob",
|
||||
"author": {
|
||||
"name": "Jon Schlinkert",
|
||||
"url": "https://github.com/jonschlinkert"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/jonschlinkert/glob-base/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"dependencies": {
|
||||
"glob-parent": "^2.0.0",
|
||||
"is-glob": "^2.0.0"
|
||||
},
|
||||
"deprecated": false,
|
||||
"description": "Returns an object with the (non-glob) base path and the actual pattern.",
|
||||
"devDependencies": {
|
||||
"mocha": "*",
|
||||
"should": "^5.1.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"homepage": "https://github.com/jonschlinkert/glob-base",
|
||||
"keywords": [
|
||||
"base",
|
||||
"directory",
|
||||
"dirname",
|
||||
"expression",
|
||||
"glob",
|
||||
"parent",
|
||||
"path",
|
||||
"pattern",
|
||||
"regex",
|
||||
"regular",
|
||||
"root"
|
||||
],
|
||||
"license": {
|
||||
"type": "MIT",
|
||||
"url": "https://github.com/jonschlinkert/glob-base/blob/master/LICENSE"
|
||||
},
|
||||
"main": "index.js",
|
||||
"name": "glob-base",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/jonschlinkert/glob-base.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha"
|
||||
},
|
||||
"version": "0.3.0"
|
||||
}
|
||||
Reference in New Issue
Block a user