Galerie und tage
This commit is contained in:
4
node_modules/semver-regex/index.js
generated
vendored
4
node_modules/semver-regex/index.js
generated
vendored
@@ -1,2 +1,4 @@
|
||||
'use strict';
|
||||
module.exports = () => /\bv?(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)(?:-[\da-z-]+(?:\.[\da-z-]+)*)?(?:\+[\da-z-]+(?:\.[\da-z-]+)*)?\b/ig;
|
||||
module.exports = function () {
|
||||
return /\bv?(?:0|[1-9][0-9]*)\.(?:0|[1-9][0-9]*)\.(?:0|[1-9][0-9]*)(?:-[\da-z\-]+(?:\.[\da-z\-]+)*)?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?\b/ig;
|
||||
};
|
||||
|
||||
9
node_modules/semver-regex/license
generated
vendored
9
node_modules/semver-regex/license
generated
vendored
@@ -1,9 +0,0 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
||||
|
||||
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.
|
||||
59
node_modules/semver-regex/package.json
generated
vendored
59
node_modules/semver-regex/package.json
generated
vendored
@@ -1,49 +1,23 @@
|
||||
{
|
||||
"_from": "semver-regex@^2.0.0",
|
||||
"_id": "semver-regex@2.0.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-mUdIBBvdn0PLOeP3TEkMH7HHeUP3GjsXCwKarjv/kGmUFOYg1VqEemKhoQpWMu6X2I8kHeuVdGibLGkVK+/5Qw==",
|
||||
"_location": "/semver-regex",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "semver-regex@^2.0.0",
|
||||
"name": "semver-regex",
|
||||
"escapedName": "semver-regex",
|
||||
"rawSpec": "^2.0.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^2.0.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/find-versions"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/semver-regex/-/semver-regex-2.0.0.tgz",
|
||||
"_shasum": "a93c2c5844539a770233379107b38c7b4ac9d338",
|
||||
"_spec": "semver-regex@^2.0.0",
|
||||
"_where": "/var/www/html/jason/WeihnachtenMelly/node_modules/find-versions",
|
||||
"name": "semver-regex",
|
||||
"version": "1.0.0",
|
||||
"description": "Regular expression for matching semver versions",
|
||||
"license": "MIT",
|
||||
"repository": "sindresorhus/semver-regex",
|
||||
"author": {
|
||||
"name": "Sindre Sorhus",
|
||||
"email": "sindresorhus@gmail.com",
|
||||
"url": "sindresorhus.com"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/sindresorhus/semver-regex/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"deprecated": false,
|
||||
"description": "Regular expression for matching semver versions",
|
||||
"devDependencies": {
|
||||
"ava": "*",
|
||||
"xo": "*"
|
||||
"url": "http://sindresorhus.com"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=6"
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"homepage": "https://github.com/sindresorhus/semver-regex#readme",
|
||||
"keywords": [
|
||||
"semver",
|
||||
"version",
|
||||
@@ -55,14 +29,7 @@
|
||||
"matching",
|
||||
"semantic"
|
||||
],
|
||||
"license": "MIT",
|
||||
"name": "semver-regex",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/sindresorhus/semver-regex.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "xo && ava"
|
||||
},
|
||||
"version": "2.0.0"
|
||||
"devDependencies": {
|
||||
"mocha": "*"
|
||||
}
|
||||
}
|
||||
|
||||
21
node_modules/semver-regex/readme.md
generated
vendored
21
node_modules/semver-regex/readme.md
generated
vendored
@@ -1,19 +1,19 @@
|
||||
# semver-regex [](https://travis-ci.org/sindresorhus/semver-regex)
|
||||
|
||||
> Regular expression for matching [semver](https://github.com/npm/node-semver) versions
|
||||
> Regular expression for matching [semver](https://github.com/isaacs/node-semver) versions
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install semver-regex
|
||||
```sh
|
||||
$ npm install --save semver-regex
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
const semverRegex = require('semver-regex');
|
||||
var semverRegex = require('semver-regex');
|
||||
|
||||
semverRegex().test('v1.0.0');
|
||||
//=> true
|
||||
@@ -22,22 +22,15 @@ semverRegex().test('1.2.3-alpha.10.beta.0+build.unicorn.rainbow');
|
||||
//=> true
|
||||
|
||||
semverRegex().exec('unicorn 1.0.0 rainbow')[0];
|
||||
//=> '1.0.0'
|
||||
//=> 1.0.0
|
||||
|
||||
'unicorn 1.0.0 and rainbow 2.1.3'.match(semverRegex());
|
||||
//=> ['1.0.0', '2.1.3']
|
||||
```
|
||||
|
||||
|
||||
## Related
|
||||
|
||||
- [find-versions](https://github.com/sindresorhus/find-versions) - Find semver versions in a string
|
||||
- [latest-semver](https://github.com/sindresorhus/latest-semver) - Get the latest stable semver version from an array of versions
|
||||
- [to-semver](https://github.com/sindresorhus/to-semver) - Get an array of valid, sorted, and cleaned semver versions from an array of strings
|
||||
- [semver-diff](https://github.com/sindresorhus/semver-diff) - Get the diff type of two semver versions: `0.0.1` `0.0.2` → `patch`
|
||||
- [semver-truncate](https://github.com/sindresorhus/semver-truncate) - Truncate a semver version: `1.2.3` → `1.2.0`
|
||||
*It's a function so you can create multiple instances. Regexes with the global flag will have the `.lastIndex` property changed for each call to methods on the instance. Therefore reusing the instance with multiple calls will not work as expected for `.test()`.*
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT © [Sindre Sorhus](https://sindresorhus.com)
|
||||
MIT © [Sindre Sorhus](http://sindresorhus.com)
|
||||
|
||||
Reference in New Issue
Block a user