Initial
This commit is contained in:
21
Client/node_modules/to-absolute-glob/LICENSE
generated
vendored
Executable file
21
Client/node_modules/to-absolute-glob/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.
|
||||
28
Client/node_modules/to-absolute-glob/index.js
generated
vendored
Executable file
28
Client/node_modules/to-absolute-glob/index.js
generated
vendored
Executable file
@@ -0,0 +1,28 @@
|
||||
'use strict';
|
||||
|
||||
var path = require('path');
|
||||
var extend = require('extend-shallow');
|
||||
|
||||
module.exports = function(glob, options) {
|
||||
var opts = extend({}, options);
|
||||
opts.cwd = opts.cwd ? path.resolve(opts.cwd) : process.cwd();
|
||||
|
||||
// store first and last characters before glob is modified
|
||||
var prefix = glob.charAt(0);
|
||||
var suffix = glob.slice(-1);
|
||||
|
||||
var isNegative = prefix === '!';
|
||||
if (isNegative) glob = glob.slice(1);
|
||||
|
||||
if (opts.root && glob.charAt(0) === '/') {
|
||||
glob = path.join(path.resolve(opts.root), '.' + glob);
|
||||
} else {
|
||||
glob = path.resolve(opts.cwd, glob);
|
||||
}
|
||||
|
||||
if (suffix === '/' && glob.slice(-1) !== '/') {
|
||||
glob += '/';
|
||||
}
|
||||
|
||||
return isNegative ? '!' + glob : glob;
|
||||
};
|
||||
21
Client/node_modules/to-absolute-glob/node_modules/extend-shallow/LICENSE
generated
vendored
Executable file
21
Client/node_modules/to-absolute-glob/node_modules/extend-shallow/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.
|
||||
61
Client/node_modules/to-absolute-glob/node_modules/extend-shallow/README.md
generated
vendored
Executable file
61
Client/node_modules/to-absolute-glob/node_modules/extend-shallow/README.md
generated
vendored
Executable file
@@ -0,0 +1,61 @@
|
||||
# extend-shallow [](http://badge.fury.io/js/extend-shallow) [](https://travis-ci.org/jonschlinkert/extend-shallow)
|
||||
|
||||
> Extend an object with the properties of additional objects. node.js/javascript util.
|
||||
|
||||
## Install
|
||||
|
||||
Install with [npm](https://www.npmjs.com/)
|
||||
|
||||
```sh
|
||||
$ npm i extend-shallow --save
|
||||
```
|
||||
|
||||
## 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'}
|
||||
```
|
||||
|
||||
## Related
|
||||
|
||||
* [extend-shallow](https://github.com/jonschlinkert/extend-shallow): Extend an object with the properties of additional objects. node.js/javascript util.
|
||||
* [for-own](https://github.com/jonschlinkert/for-own): Iterate over the own enumerable properties of an object, and return an object with properties… [more](https://github.com/jonschlinkert/for-own)
|
||||
* [for-in](https://github.com/jonschlinkert/for-in): Iterate over the own and inherited enumerable properties of an objecte, and return an object… [more](https://github.com/jonschlinkert/for-in)
|
||||
* [is-plain-object](https://github.com/jonschlinkert/is-plain-object): Returns true if an object was created by the `Object` constructor.
|
||||
* [isobject](https://github.com/jonschlinkert/isobject): Returns true if the value is an object and not an array or null.
|
||||
* [kind-of](https://github.com/jonschlinkert/kind-of): Get the native type of a value.
|
||||
|
||||
## Running tests
|
||||
|
||||
Install dev dependencies:
|
||||
|
||||
```sh
|
||||
$ npm i -d && npm test
|
||||
```
|
||||
|
||||
## 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 June 29, 2015._
|
||||
33
Client/node_modules/to-absolute-glob/node_modules/extend-shallow/index.js
generated
vendored
Executable file
33
Client/node_modules/to-absolute-glob/node_modules/extend-shallow/index.js
generated
vendored
Executable file
@@ -0,0 +1,33 @@
|
||||
'use strict';
|
||||
|
||||
var isObject = require('is-extendable');
|
||||
|
||||
module.exports = function extend(o/*, objects*/) {
|
||||
if (!isObject(o)) { o = {}; }
|
||||
|
||||
var len = arguments.length;
|
||||
for (var i = 1; i < len; i++) {
|
||||
var obj = arguments[i];
|
||||
|
||||
if (isObject(obj)) {
|
||||
assign(o, obj);
|
||||
}
|
||||
}
|
||||
return o;
|
||||
};
|
||||
|
||||
function assign(a, b) {
|
||||
for (var key in b) {
|
||||
if (hasOwn(b, key)) {
|
||||
a[key] = b[key];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if the given `key` is an own property of `obj`.
|
||||
*/
|
||||
|
||||
function hasOwn(obj, key) {
|
||||
return Object.prototype.hasOwnProperty.call(obj, key);
|
||||
}
|
||||
87
Client/node_modules/to-absolute-glob/node_modules/extend-shallow/package.json
generated
vendored
Executable file
87
Client/node_modules/to-absolute-glob/node_modules/extend-shallow/package.json
generated
vendored
Executable file
@@ -0,0 +1,87 @@
|
||||
{
|
||||
"_from": "extend-shallow@^2.0.1",
|
||||
"_id": "extend-shallow@2.0.1",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
|
||||
"_location": "/to-absolute-glob/extend-shallow",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "extend-shallow@^2.0.1",
|
||||
"name": "extend-shallow",
|
||||
"escapedName": "extend-shallow",
|
||||
"rawSpec": "^2.0.1",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^2.0.1"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/to-absolute-glob"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
|
||||
"_shasum": "51af7d614ad9a9f610ea1bafbb989d6b1c56890f",
|
||||
"_spec": "extend-shallow@^2.0.1",
|
||||
"_where": "/home/nathan/Projects/Upsilon/UpsilonVsCodeLanguageServer/Client/node_modules/to-absolute-glob",
|
||||
"author": {
|
||||
"name": "Jon Schlinkert",
|
||||
"url": "https://github.com/jonschlinkert"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/jonschlinkert/extend-shallow/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"dependencies": {
|
||||
"is-extendable": "^0.1.0"
|
||||
},
|
||||
"deprecated": false,
|
||||
"description": "Extend an object with the properties of additional objects. node.js/javascript util.",
|
||||
"devDependencies": {
|
||||
"array-slice": "^0.2.3",
|
||||
"benchmarked": "^0.1.4",
|
||||
"chalk": "^1.0.0",
|
||||
"for-own": "^0.1.3",
|
||||
"glob": "^5.0.12",
|
||||
"is-plain-object": "^2.0.1",
|
||||
"kind-of": "^2.0.0",
|
||||
"minimist": "^1.1.1",
|
||||
"mocha": "^2.2.5",
|
||||
"should": "^7.0.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"homepage": "https://github.com/jonschlinkert/extend-shallow",
|
||||
"keywords": [
|
||||
"assign",
|
||||
"extend",
|
||||
"javascript",
|
||||
"js",
|
||||
"keys",
|
||||
"merge",
|
||||
"obj",
|
||||
"object",
|
||||
"prop",
|
||||
"properties",
|
||||
"property",
|
||||
"props",
|
||||
"shallow",
|
||||
"util",
|
||||
"utility",
|
||||
"utils",
|
||||
"value"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
"name": "extend-shallow",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/jonschlinkert/extend-shallow.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha"
|
||||
},
|
||||
"version": "2.0.1"
|
||||
}
|
||||
76
Client/node_modules/to-absolute-glob/package.json
generated
vendored
Executable file
76
Client/node_modules/to-absolute-glob/package.json
generated
vendored
Executable file
@@ -0,0 +1,76 @@
|
||||
{
|
||||
"_from": "to-absolute-glob@^0.1.1",
|
||||
"_id": "to-absolute-glob@0.1.1",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-HN+kcqnvUMI57maZm2YsoOs5k38=",
|
||||
"_location": "/to-absolute-glob",
|
||||
"_phantomChildren": {
|
||||
"is-extendable": "0.1.1"
|
||||
},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "to-absolute-glob@^0.1.1",
|
||||
"name": "to-absolute-glob",
|
||||
"escapedName": "to-absolute-glob",
|
||||
"rawSpec": "^0.1.1",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^0.1.1"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/glob-stream"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/to-absolute-glob/-/to-absolute-glob-0.1.1.tgz",
|
||||
"_shasum": "1cdfa472a9ef50c239ee66999b662ca0eb39937f",
|
||||
"_spec": "to-absolute-glob@^0.1.1",
|
||||
"_where": "/home/nathan/Projects/Upsilon/UpsilonVsCodeLanguageServer/Client/node_modules/glob-stream",
|
||||
"author": {
|
||||
"name": "Jon Schlinkert",
|
||||
"url": "https://github.com/jonschlinkert"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/jonschlinkert/to-absolute-glob/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"dependencies": {
|
||||
"extend-shallow": "^2.0.1"
|
||||
},
|
||||
"deprecated": false,
|
||||
"description": "Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.",
|
||||
"devDependencies": {
|
||||
"mocha": "*"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"homepage": "https://github.com/jonschlinkert/to-absolute-glob",
|
||||
"keywords": [
|
||||
"resolve",
|
||||
"pattern",
|
||||
"absolute",
|
||||
"glob"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
"name": "to-absolute-glob",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/jonschlinkert/to-absolute-glob.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha"
|
||||
},
|
||||
"verb": {
|
||||
"related": {
|
||||
"list": [
|
||||
"is-glob",
|
||||
"is-valid-glob",
|
||||
"has-glob"
|
||||
]
|
||||
}
|
||||
},
|
||||
"version": "0.1.1"
|
||||
}
|
||||
134
Client/node_modules/to-absolute-glob/readme.md
generated
vendored
Executable file
134
Client/node_modules/to-absolute-glob/readme.md
generated
vendored
Executable file
@@ -0,0 +1,134 @@
|
||||
# to-absolute-glob [](http://badge.fury.io/js/to-absolute-glob)
|
||||
|
||||
> Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.
|
||||
|
||||
## Install
|
||||
|
||||
Install with [npm](https://www.npmjs.com/)
|
||||
|
||||
```sh
|
||||
$ npm i to-absolute-glob --save
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var toAbsGlob = require('to-absolute-glob');
|
||||
toAbsGlob('a/*.js');
|
||||
//=> '/dev/foo/a/*.js'
|
||||
```
|
||||
|
||||
## Examples
|
||||
|
||||
Given the current project folder (cwd) is `/dev/foo/`:
|
||||
|
||||
**makes a path absolute**
|
||||
|
||||
```js
|
||||
toAbsGlob('a');
|
||||
//=> '/dev/foo/a'
|
||||
```
|
||||
|
||||
**makes a glob absolute**
|
||||
|
||||
```js
|
||||
toAbsGlob('a/*.js');
|
||||
//=> '/dev/foo/a/*.js'
|
||||
```
|
||||
|
||||
**retains trailing slashes**
|
||||
|
||||
```js
|
||||
toAbsGlob('a/*/');
|
||||
//=> '/dev/foo/a/*/'
|
||||
```
|
||||
|
||||
**retains trailing slashes with cwd**
|
||||
|
||||
```js
|
||||
toAbsGlob('./fixtures/whatsgoingon/*/', {cwd: __dirname});
|
||||
//=> '/dev/foo/'
|
||||
```
|
||||
|
||||
**makes a negative glob absolute**
|
||||
|
||||
```js
|
||||
toAbsGlob('!a/*.js');
|
||||
//=> '!/dev/foo/a/*.js'
|
||||
```
|
||||
|
||||
**from a cwd**
|
||||
|
||||
```js
|
||||
toAbsGlob('a/*.js', {cwd: 'foo'});
|
||||
//=> '/dev/foo/foo/a/*.js'
|
||||
```
|
||||
|
||||
**makes a negative glob absolute from a cwd**
|
||||
|
||||
```js
|
||||
toAbsGlob('!a/*.js', {cwd: 'foo'});
|
||||
//=> '!/dev/foo/foo/a/*.js'
|
||||
```
|
||||
|
||||
**from a root path**
|
||||
|
||||
```js
|
||||
toAbsGlob('/a/*.js', {root: 'baz'});
|
||||
//=> '/dev/foo/baz/a/*.js'
|
||||
```
|
||||
|
||||
**from a root slash**
|
||||
|
||||
```js
|
||||
toAbsGlob('/a/*.js', {root: '/'});
|
||||
//=> '/dev/foo/a/*.js'
|
||||
```
|
||||
|
||||
**from a negative root path**
|
||||
|
||||
```js
|
||||
toAbsGlob('!/a/*.js', {root: 'baz'});
|
||||
//=> '!/dev/foo/baz/a/*.js'
|
||||
```
|
||||
|
||||
**from a negative root slash**
|
||||
|
||||
```js
|
||||
toAbsGlob('!/a/*.js', {root: '/'});
|
||||
//=> '!/dev/foo/a/*.js'
|
||||
```
|
||||
|
||||
## Related projects
|
||||
|
||||
* [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-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-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)
|
||||
|
||||
## Running 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](/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 November 05, 2015._
|
||||
Reference in New Issue
Block a user