mirror of
https://github.com/S2-/gitlit
synced 2025-08-03 12:50:04 +02:00
packager
This commit is contained in:
22
app/node_modules/author-regex/LICENSE
generated
vendored
Normal file
22
app/node_modules/author-regex/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
Copyright (c) 2014 Jon Schlinkert, contributors.
|
||||
|
||||
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.
|
69
app/node_modules/author-regex/README.md
generated
vendored
Normal file
69
app/node_modules/author-regex/README.md
generated
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
# author-regex [](http://badge.fury.io/js/author-regex)
|
||||
|
||||
|
||||
> Regular expression for parsing an `author` string into an object following npm conventions.
|
||||
|
||||
This the regex used by [parse-authors](https://github.com/jonschlinkert/parse-authors).
|
||||
|
||||
|
||||
**Related**
|
||||
|
||||
- [parse-author](https://github.com/jonschlinkert/parse-author)
|
||||
- [parse-authors](https://github.com/jonschlinkert/parse-authors)
|
||||
|
||||
|
||||
## Install
|
||||
#### Install with [npm](npmjs.org)
|
||||
|
||||
```bash
|
||||
npm i author-regex --save
|
||||
```
|
||||
#### Install with [bower](https://github.com/bower/bower)
|
||||
|
||||
```bash
|
||||
bower install author-regex --save
|
||||
```
|
||||
|
||||
## Tests
|
||||
|
||||
Run
|
||||
|
||||
```bash
|
||||
npm test
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var re = require('author-regex');
|
||||
|
||||
function authors(str) {
|
||||
return re().exec(str);
|
||||
}
|
||||
console.log(author('Jon Schlinkert <foo@bar.com> (https://github.com/jonschlinkert)'));
|
||||
```
|
||||
Returns:
|
||||
|
||||
```js
|
||||
[ 'Jon Schlinkert <foo@bar.com> (https://github.com/jonschlinkert)',
|
||||
'Jon Schlinkert',
|
||||
'foo@bar.com',
|
||||
'https://github.com/jonschlinkert',
|
||||
index: 0,
|
||||
input: 'Jon Schlinkert <foo@bar.com> (https://github.com/jonschlinkert)' ]
|
||||
```
|
||||
|
||||
## Author
|
||||
|
||||
**Jon Schlinkert**
|
||||
|
||||
+ [github/jonschlinkert](https://github.com/jonschlinkert)
|
||||
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
|
||||
|
||||
## License
|
||||
Copyright (c) 2014 Jon Schlinkert, contributors.
|
||||
Released under the MIT license
|
||||
|
||||
***
|
||||
|
||||
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on September 29, 2014._
|
13
app/node_modules/author-regex/index.js
generated
vendored
Normal file
13
app/node_modules/author-regex/index.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
/*!
|
||||
* author-regex <https://github.com/jonschlinkert/author-regex>
|
||||
*
|
||||
* Copyright (c) 2014, 2017, Jon Schlinkert.
|
||||
* Released under the MIT License.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
module.exports = function() {
|
||||
return /^\s*([^<(]*?)\s*([<(]([^>)]*?)[>)])?\s*([<(]([^>)]*?)[>)])*\s*$/;
|
||||
};
|
||||
|
88
app/node_modules/author-regex/package.json
generated
vendored
Normal file
88
app/node_modules/author-regex/package.json
generated
vendored
Normal file
@@ -0,0 +1,88 @@
|
||||
{
|
||||
"_from": "author-regex@^1.0.0",
|
||||
"_id": "author-regex@1.0.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-0IiFvmubv5Q5/gh8dihyRfCoFFA=",
|
||||
"_location": "/author-regex",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "author-regex@^1.0.0",
|
||||
"name": "author-regex",
|
||||
"escapedName": "author-regex",
|
||||
"rawSpec": "^1.0.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^1.0.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/parse-author"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/author-regex/-/author-regex-1.0.0.tgz",
|
||||
"_shasum": "d08885be6b9bbf9439fe087c76287245f0a81450",
|
||||
"_spec": "author-regex@^1.0.0",
|
||||
"_where": "E:\\projects\\p\\gitlit\\app\\node_modules\\parse-author",
|
||||
"author": {
|
||||
"name": "Jon Schlinkert",
|
||||
"url": "https://github.com/jonschlinkert"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/jonschlinkert/author-regex/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"deprecated": false,
|
||||
"description": "Regular expression for parsing an `author` string into an object following npm conventions.",
|
||||
"devDependencies": {
|
||||
"gulp-format-md": "^0.1.11",
|
||||
"mocha": "^3.2.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.8"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"homepage": "https://github.com/jonschlinkert/author-regex",
|
||||
"keywords": [
|
||||
"author",
|
||||
"authors",
|
||||
"exec",
|
||||
"expression",
|
||||
"extract",
|
||||
"maintainer",
|
||||
"maintainers",
|
||||
"match",
|
||||
"package",
|
||||
"parse",
|
||||
"person",
|
||||
"pkg",
|
||||
"re",
|
||||
"regex",
|
||||
"regexp",
|
||||
"regular"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
"name": "author-regex",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/jonschlinkert/author-regex.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha"
|
||||
},
|
||||
"verb": {
|
||||
"toc": false,
|
||||
"layout": "default",
|
||||
"tasks": [
|
||||
"readme"
|
||||
],
|
||||
"plugins": [
|
||||
"gulp-format-md"
|
||||
],
|
||||
"lint": {
|
||||
"reflinks": true
|
||||
}
|
||||
},
|
||||
"version": "1.0.0"
|
||||
}
|
Reference in New Issue
Block a user