first commit

This commit is contained in:
s.golasch
2023-08-01 13:49:46 +02:00
commit 1fc239fd54
20238 changed files with 3112246 additions and 0 deletions

22
build/node_modules/url-regex/index.js generated vendored Normal file
View File

@@ -0,0 +1,22 @@
'use strict';
var ipRegex = require('ip-regex');
module.exports = function (opts) {
opts = opts || {};
var protocol = '(?:(?:[a-z]+:)?//)';
var auth = '(?:\\S+(?::\\S*)?@)?';
var ip = ipRegex.v4().source;
var host = '(?:(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)';
var domain = '(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*';
var tld = '(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))';
var port = '(?::\\d{2,5})?';
var path = '(?:[/?#][^\\s"]*)?';
var regex = [
'(?:' + protocol + '|www\\.)' + auth, '(?:localhost|' + ip + '|' + host + domain + tld + ')',
port, path
].join('');
return opts.exact ? new RegExp('(?:^' + regex + '$)', 'i') :
new RegExp(regex, 'ig');
};

21
build/node_modules/url-regex/license generated vendored Normal file
View File

@@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) Kevin Mårtensson <kevinmartensson@gmail.com> and Diego Perini
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.

74
build/node_modules/url-regex/package.json generated vendored Normal file
View File

@@ -0,0 +1,74 @@
{
"_args": [
[
"url-regex@3.2.0",
"/Users/asciidisco/Desktop/asciidisco.com/build"
]
],
"_from": "url-regex@3.2.0",
"_id": "url-regex@3.2.0",
"_inBundle": false,
"_integrity": "sha1-260eDJ4p4QXdCx8J9oYvf9tIJyQ=",
"_location": "/url-regex",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "url-regex@3.2.0",
"name": "url-regex",
"escapedName": "url-regex",
"rawSpec": "3.2.0",
"saveSpec": null,
"fetchSpec": "3.2.0"
},
"_requiredBy": [
"/bin-build",
"/jimp"
],
"_resolved": "https://registry.npmjs.org/url-regex/-/url-regex-3.2.0.tgz",
"_spec": "3.2.0",
"_where": "/Users/asciidisco/Desktop/asciidisco.com/build",
"author": {
"name": "Kevin Mårtensson",
"email": "kevinmartensson@gmail.com",
"url": "https://github.com/kevva"
},
"bugs": {
"url": "https://github.com/kevva/url-regex/issues"
},
"dependencies": {
"ip-regex": "^1.0.1"
},
"description": "Regular expression for matching URLs",
"devDependencies": {
"ava": "*",
"xo": "*"
},
"engines": {
"node": ">=0.10.0"
},
"files": [
"index.js"
],
"homepage": "https://github.com/kevva/url-regex#readme",
"keywords": [
"regex",
"string",
"url"
],
"license": "MIT",
"name": "url-regex",
"repository": {
"type": "git",
"url": "git+https://github.com/kevva/url-regex.git"
},
"scripts": {
"test": "xo && ava"
},
"version": "3.2.0",
"xo": {
"ignores": [
"test.js"
]
}
}

56
build/node_modules/url-regex/readme.md generated vendored Normal file
View File

@@ -0,0 +1,56 @@
# url-regex [![Build Status](http://img.shields.io/travis/kevva/url-regex.svg?style=flat)](https://travis-ci.org/kevva/url-regex)
> Regular expression for matching URLs
Based on this [gist](https://gist.github.com/dperini/729294) by Diego Perini.
## Install
```
$ npm install --save url-regex
```
## Usage
```js
var urlRegex = require('url-regex');
urlRegex().test('http://github.com foo bar');
//=> true
urlRegex().test('www.github.com foo bar');
//=> true
urlRegex({exact: true}).test('http://github.com foo bar');
//=> false
urlRegex({exact: true}).test('http://github.com');
//=> true
'foo http://github.com bar //google.com'.match(urlRegex());
//=> ['http://github.com', '//google.com']
```
## API
### urlRegex(options)
Returns a regex for matching URLs.
#### options
##### exact
Type: `boolean`
Default: `false` *(Matches any URL in a string)*
Only match an exact string.
Useful with `RegExp#test` to check if a string is a URL.
## License
MIT © [Kevin Mårtensson](https://github.com/kevva) and [Diego Perini](https://github.com/dperini)