Galerie und tage

This commit is contained in:
2021-11-23 17:56:26 +01:00
parent ff35366279
commit 5f873bee89
4693 changed files with 149659 additions and 301447 deletions

21
node_modules/semver-regex/readme.md generated vendored
View File

@@ -1,19 +1,19 @@
# semver-regex [![Build Status](https://travis-ci.org/sindresorhus/semver-regex.svg?branch=master)](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)