Update to NPM version

This commit is contained in:
Lucas Patenaude
2024-04-11 04:23:19 -06:00
parent 886d197fa7
commit 6d6ef4f257
8225 changed files with 863748 additions and 1 deletions

6
ProjectSourceCode/node_modules/is-ip/index.js generated vendored Normal file
View File

@@ -0,0 +1,6 @@
'use strict';
const ipRegex = require('ip-regex');
const isIp = module.exports = x => ipRegex({exact: true}).test(x);
isIp.v4 = x => ipRegex.v4({exact: true}).test(x);
isIp.v6 = x => ipRegex.v6({exact: true}).test(x);

21
ProjectSourceCode/node_modules/is-ip/license generated vendored Normal file
View File

@@ -0,0 +1,21 @@
The MIT License (MIT)
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.

52
ProjectSourceCode/node_modules/is-ip/package.json generated vendored Normal file
View File

@@ -0,0 +1,52 @@
{
"name": "is-ip",
"version": "2.0.0",
"description": "Check if a string is an IP address",
"license": "MIT",
"repository": "sindresorhus/is-ip",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"engines": {
"node": ">=4"
},
"scripts": {
"test": "xo && ava"
},
"files": [
"index.js"
],
"keywords": [
"ip",
"ipv6",
"ipv4",
"regex",
"regexp",
"re",
"match",
"test",
"find",
"text",
"pattern",
"internet",
"protocol",
"address",
"validate",
"detect",
"check",
"is",
"string"
],
"dependencies": {
"ip-regex": "^2.0.0"
},
"devDependencies": {
"ava": "*",
"xo": "*"
},
"xo": {
"esnext": true
}
}

51
ProjectSourceCode/node_modules/is-ip/readme.md generated vendored Normal file
View File

@@ -0,0 +1,51 @@
# is-ip [![Build Status](https://travis-ci.org/sindresorhus/is-ip.svg?branch=master)](https://travis-ci.org/sindresorhus/is-ip)
> Check if a string is an IP address
## Install
```
$ npm install --save is-ip
```
## Usage
```js
const isIp = require('is-ip');
isIp('192.168.0.1');
//=> true
isIp('1:2:3:4:5:6:7:8');
//=> true
isIp.v4('1:2:3:4:5:6:7:8');
//=> false
```
## API
### isIp(input)
Check if `input` is IPv4 or IPv6.
### isIp.v4(input)
Check if `input` is IPv4.
### isIp.v6(input)
Check if `input` is IPv6.
## Related
- [ip-regex](https://github.com/sindresorhus/ip-regex) - Regular expression for matching IP addresses
## License
MIT © [Sindre Sorhus](https://sindresorhus.com)