mirror of
https://github.com/mgerb/mywebsite
synced 2026-01-12 10:52:47 +00:00
updated package.json
This commit is contained in:
24
node_modules/expand-range/LICENSE
generated
vendored
Executable file
24
node_modules/expand-range/LICENSE
generated
vendored
Executable file
@@ -0,0 +1,24 @@
|
||||
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.
|
||||
107
node_modules/expand-range/README.md
generated
vendored
Executable file
107
node_modules/expand-range/README.md
generated
vendored
Executable file
@@ -0,0 +1,107 @@
|
||||
# expand-range [](http://badge.fury.io/js/expand-range)
|
||||
|
||||
> Fast, bash-like range expansion. Expand a range of numbers or letters, uppercase or lowercase. See the benchmarks. Used by micromatch.
|
||||
|
||||
## Install with [npm](npmjs.org)
|
||||
|
||||
```bash
|
||||
npm i expand-range --save
|
||||
```
|
||||
|
||||
Wraps [fill-range] to do range expansion using `..` separated strings. See [fill-range] for the full list of options and features.
|
||||
|
||||
|
||||
## Example usage
|
||||
|
||||
```js
|
||||
var expand = require('expand-range');
|
||||
```
|
||||
|
||||
**Params**
|
||||
|
||||
```js
|
||||
expand(start, stop, increment);
|
||||
```
|
||||
|
||||
- `start`: the number or letter to start with
|
||||
- `end`: the number or letter to end with
|
||||
- `increment`: optionally pass the increment to use. works for letters or numbers
|
||||
|
||||
**Examples**
|
||||
|
||||
```js
|
||||
expand('a..e')
|
||||
//=> ['a', 'b', 'c', 'd', 'e']
|
||||
|
||||
expand('a..e..2')
|
||||
//=> ['a', 'c', 'e']
|
||||
|
||||
expand('A..E..2')
|
||||
//=> ['A', 'C', 'E']
|
||||
|
||||
expand('1..3')
|
||||
//=> ['1', '2', '3']
|
||||
|
||||
expand('0..-5')
|
||||
//=> [ '0', '-1', '-2', '-3', '-4', '-5' ]
|
||||
|
||||
expand('-9..9..3')
|
||||
//=> [ '-9', '-6', '-3', '0', '3', '6', '9' ])
|
||||
|
||||
expand('-1..-10..-2')
|
||||
//=> [ '-1', '-3', '-5', '-7', '-9' ]
|
||||
|
||||
expand('1..10..2')
|
||||
//=> [ '1', '3', '5', '7', '9' ]
|
||||
```
|
||||
|
||||
|
||||
### Custom function
|
||||
|
||||
Optionally pass a custom function as the second argument:
|
||||
|
||||
```js
|
||||
expand('a..e', function (val, isNumber, pad, i) {
|
||||
if (!isNumber) {
|
||||
return String.fromCharCode(val) + i;
|
||||
}
|
||||
return val;
|
||||
});
|
||||
//=> ['a0', 'b1', 'c2', 'd3', 'e4']
|
||||
```
|
||||
|
||||
## Related
|
||||
|
||||
- [micromatch]: wildcard/glob matcher for javascript. a faster alternative to minimatch.
|
||||
- [fill-range]: the library this depends on for core functionality
|
||||
- [braces]: this library is used in braces, a fast Brash-like brace expansion lib.
|
||||
|
||||
## 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/expand-range/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](https://github.com/assemble/verb) on January 30, 2015._
|
||||
|
||||
[fill-range]: https://github.com/jonschlinkert/fill-range
|
||||
[micromatch]: https://github.com/jonschlinkert/micromatch
|
||||
[braces]: https://github.com/jonschlinkert/braces
|
||||
43
node_modules/expand-range/index.js
generated
vendored
Executable file
43
node_modules/expand-range/index.js
generated
vendored
Executable file
@@ -0,0 +1,43 @@
|
||||
/*!
|
||||
* expand-range <https://github.com/jonschlinkert/expand-range>
|
||||
*
|
||||
* Copyright (c) 2014-2015, Jon Schlinkert.
|
||||
* Licensed under the MIT license.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
var fill = require('fill-range');
|
||||
|
||||
module.exports = function expandRange(str, options, fn) {
|
||||
if (typeof str !== 'string') {
|
||||
throw new TypeError('expand-range expects a string.');
|
||||
}
|
||||
|
||||
if (typeof options === 'function') {
|
||||
fn = options;
|
||||
options = {};
|
||||
}
|
||||
|
||||
if (typeof options === 'boolean') {
|
||||
options = {};
|
||||
options.makeRe = true;
|
||||
}
|
||||
|
||||
// create arguments to pass to fill-range
|
||||
var opts = options || {};
|
||||
var args = str.split('..');
|
||||
var len = args.length;
|
||||
if (len > 3) { return str; }
|
||||
|
||||
// if only one argument, it can't expand so return it
|
||||
if (len === 1) { return args; }
|
||||
|
||||
// if `true`, tell fill-range to regexify the string
|
||||
if (typeof fn === 'boolean' && fn === true) {
|
||||
opts.makeRe = true;
|
||||
}
|
||||
|
||||
args.push(opts);
|
||||
return fill.apply(fill, args.concat(fn));
|
||||
};
|
||||
107
node_modules/expand-range/package.json
generated
vendored
Normal file
107
node_modules/expand-range/package.json
generated
vendored
Normal file
@@ -0,0 +1,107 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"expand-range@^1.8.1",
|
||||
"/home/mywebsite/node_modules/braces"
|
||||
]
|
||||
],
|
||||
"_from": "expand-range@>=1.8.1 <2.0.0",
|
||||
"_id": "expand-range@1.8.1",
|
||||
"_inCache": true,
|
||||
"_installable": true,
|
||||
"_location": "/expand-range",
|
||||
"_nodeVersion": "0.12.0",
|
||||
"_npmUser": {
|
||||
"email": "github@sellside.com",
|
||||
"name": "jonschlinkert"
|
||||
},
|
||||
"_npmVersion": "2.5.1",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"name": "expand-range",
|
||||
"raw": "expand-range@^1.8.1",
|
||||
"rawSpec": "^1.8.1",
|
||||
"scope": null,
|
||||
"spec": ">=1.8.1 <2.0.0",
|
||||
"type": "range"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/braces"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/expand-range/-/expand-range-1.8.1.tgz",
|
||||
"_shasum": "acbd63e56efd9139722b755f099b9db5ac1f33f6",
|
||||
"_shrinkwrap": null,
|
||||
"_spec": "expand-range@^1.8.1",
|
||||
"_where": "/home/mywebsite/node_modules/braces",
|
||||
"author": {
|
||||
"name": "Jon Schlinkert",
|
||||
"url": "https://github.com/jonschlinkert"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/jonschlinkert/expand-range/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"fill-range": "^2.1.0"
|
||||
},
|
||||
"description": "Fast, bash-like range expansion. Expand a range of numbers or letters, uppercase or lowercase. See the benchmarks. Used by micromatch.",
|
||||
"devDependencies": {
|
||||
"benchmarked": "^0.1.1",
|
||||
"brace-expansion": "^1.1.0",
|
||||
"glob": "^4.3.2",
|
||||
"minimatch": "^2.0.1",
|
||||
"mocha": "*",
|
||||
"should": "^4.1.0"
|
||||
},
|
||||
"directories": {},
|
||||
"dist": {
|
||||
"shasum": "acbd63e56efd9139722b755f099b9db5ac1f33f6",
|
||||
"tarball": "http://registry.npmjs.org/expand-range/-/expand-range-1.8.1.tgz"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"gitHead": "de01a2ae06e6fe9c69812595c439870cca71839f",
|
||||
"homepage": "https://github.com/jonschlinkert/expand-range",
|
||||
"keywords": [
|
||||
"alpha",
|
||||
"alphabetical",
|
||||
"bash",
|
||||
"brace",
|
||||
"expand",
|
||||
"expansion",
|
||||
"glob",
|
||||
"match",
|
||||
"matches",
|
||||
"matching",
|
||||
"number",
|
||||
"numerical",
|
||||
"range",
|
||||
"ranges",
|
||||
"sh"
|
||||
],
|
||||
"license": {
|
||||
"type": "MIT",
|
||||
"url": "https://github.com/jonschlinkert/expand-range/blob/master/LICENSE-MIT"
|
||||
},
|
||||
"main": "index.js",
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "jonschlinkert",
|
||||
"email": "github@sellside.com"
|
||||
}
|
||||
],
|
||||
"name": "expand-range",
|
||||
"optionalDependencies": {},
|
||||
"readme": "ERROR: No README data found!",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/jonschlinkert/expand-range.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha -R spec"
|
||||
},
|
||||
"version": "1.8.1"
|
||||
}
|
||||
Reference in New Issue
Block a user