1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-06 03:50:04 +02:00

npm update

This commit is contained in:
Daniel Neto 2023-08-12 10:32:47 -03:00
parent 0cdd3e9fee
commit 4696ba952f
1437 changed files with 32727 additions and 1248226 deletions

10
node_modules/ipaddr.js/Changes.md generated vendored
View file

@ -1,5 +1,11 @@
### 2.1.0 - 2023-05-23
### 2.0.1 - 2020-01-DD
- un-deprecate IPv6.toString() and make it an alias to toRFC5952String()
- add reserved 198.18.0.0/15 block
- add reserved blocks in 2001: space
### 2.0.1 - 2020-01-06
- add support for deprecated IPv4 compatible IPv6 addresses #142
- drop node 8 testing, add v14
@ -17,4 +23,4 @@
- replace nodeunit with mocha
- rewrite in JS, drop CoffeeScript
### 1.9.1 - 2019-07-03
### 1.9.1 - 2019-07-03

8
node_modules/ipaddr.js/README.md generated vendored
View file

@ -1,4 +1,6 @@
# ipaddr.js — an IPv6 and IPv4 address manipulation library [![Build Status](https://travis-ci.org/whitequark/ipaddr.js.svg)](https://travis-ci.org/whitequark/ipaddr.js)
# ipaddr.js — an IPv6 and IPv4 address manipulation library
[![Build Status](https://github.com/whitequark/ipaddr.js/workflows/CI%20Tests/badge.svg)](https://github.com/whitequark/ipaddr.js/actions?query=workflow%3A%22CI+Tests%22)
ipaddr.js is a small (1.9K minified and gzipped) library for manipulating
IP addresses in JavaScript environments. It runs on both CommonJS runtimes
@ -122,8 +124,8 @@ The `ipaddr.IPv4` and `ipaddr.IPv6` objects have some methods defined, too. All
`ipaddr.IPvX.isValid(string)` uses the same format for parsing as the POSIX `inet_ntoa` function, which accepts unusual formats like `0xc0.168.1.1` or `0x10000000`. The function `ipaddr.IPv4.isValidFourPartDecimal(string)` validates the IPv4 address and also ensures that it is written in four-part decimal format.
[IPv6 ranges]: https://github.com/whitequark/ipaddr.js/blob/master/src/ipaddr.coffee#L186
[IPv4 ranges]: https://github.com/whitequark/ipaddr.js/blob/master/src/ipaddr.coffee#L71
[IPv6 ranges]: https://github.com/whitequark/ipaddr.js/blob/master/lib/ipaddr.js#L530
[IPv4 ranges]: https://github.com/whitequark/ipaddr.js/blob/master/lib/ipaddr.js#L182
#### IPv6 properties

File diff suppressed because one or more lines are too long

14
node_modules/ipaddr.js/lib/ipaddr.js generated vendored
View file

@ -203,6 +203,7 @@
[new IPv4([192, 0, 0, 0]), 24],
[new IPv4([192, 0, 2, 0]), 24],
[new IPv4([192, 88, 99, 0]), 24],
[new IPv4([198, 18, 0, 0]), 15],
[new IPv4([198, 51, 100, 0]), 24],
[new IPv4([203, 0, 113, 0]), 24],
[new IPv4([240, 0, 0, 0]), 4]
@ -545,7 +546,12 @@
// RFC6052, RFC6146
teredo: [new IPv6([0x2001, 0, 0, 0, 0, 0, 0, 0]), 32],
// RFC4291
reserved: [[new IPv6([0x2001, 0xdb8, 0, 0, 0, 0, 0, 0]), 32]]
reserved: [[new IPv6([0x2001, 0xdb8, 0, 0, 0, 0, 0, 0]), 32]],
benchmarking: [new IPv6([0x2001, 0x2, 0, 0, 0, 0, 0, 0]), 48],
amt: [new IPv6([0x2001, 0x3, 0, 0, 0, 0, 0, 0]), 32],
as112v6: [new IPv6([0x2001, 0x4, 0x112, 0, 0, 0, 0, 0]), 48],
deprecated: [new IPv6([0x2001, 0x10, 0, 0, 0, 0, 0, 0]), 28],
orchid2: [new IPv6([0x2001, 0x20, 0, 0, 0, 0, 0, 0]), 28]
};
// Checks if this address is an IPv4-mapped IPv6 address.
@ -730,11 +736,9 @@
// Returns the address in compact, human-readable format like
// 2001:db8:8:66::1
//
// Deprecated: use toRFC5952String() instead.
// Calls toRFC5952String under the hood.
IPv6.prototype.toString = function () {
// Replace the first sequence of 1 or more '0' parts with '::'
return this.toNormalizedString().replace(/((^|:)(0(:|$))+)/, '::');
return this.toRFC5952String();
};
return IPv6;

View file

@ -1,7 +1,7 @@
{
"name": "ipaddr.js",
"description": "A library for manipulating IPv4 and IPv6 addresses in JavaScript.",
"version": "2.0.1",
"version": "2.1.0",
"author": "whitequark <whitequark@whitequark.org>",
"directories": {
"lib": "./lib"