Update npm packages
Add --dump-dimensions option to rsx:debug for layout debugging Mark framework publish 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
0
node_modules/ipaddr.js/LICENSE
generated
vendored
Executable file → Normal file
0
node_modules/ipaddr.js/LICENSE
generated
vendored
Executable file → Normal file
1
node_modules/ipaddr.js/README.md
generated
vendored
Executable file → Normal file
1
node_modules/ipaddr.js/README.md
generated
vendored
Executable file → Normal file
@@ -127,6 +127,7 @@ The `ipaddr.IPv4` and `ipaddr.IPv6` objects have some methods defined, too. All
|
||||
`ipaddr.IPvX.isValid(string)` can be used to check if the string is a valid address for particular protocol, and `ipaddr.IPvX.parse(string)` is the error-throwing parser.
|
||||
|
||||
`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.
|
||||
`ipaddr.IPv4.isValidCIDRFourPartDecimal(string)` validates an IPv4 address in CIDR notation and also ensures that its address portion is written in four-part decimal format.
|
||||
|
||||
[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
|
||||
|
||||
2
node_modules/ipaddr.js/ipaddr.min.js
generated
vendored
Executable file → Normal file
2
node_modules/ipaddr.js/ipaddr.min.js
generated
vendored
Executable file → Normal file
File diff suppressed because one or more lines are too long
11
node_modules/ipaddr.js/lib/ipaddr.js
generated
vendored
Executable file → Normal file
11
node_modules/ipaddr.js/lib/ipaddr.js
generated
vendored
Executable file → Normal file
@@ -365,6 +365,17 @@
|
||||
}
|
||||
};
|
||||
|
||||
// Checks if a given string is a full four-part IPv4 Address with CIDR prefix.
|
||||
ipaddr.IPv4.isValidCIDRFourPartDecimal = function (string) {
|
||||
const match = string.match(/^(.+)\/(\d+)$/);
|
||||
|
||||
if (!ipaddr.IPv4.isValidCIDR(string) || !match) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return ipaddr.IPv4.isValidFourPartDecimal(match[1]);
|
||||
};
|
||||
|
||||
// A utility function to return network address given the IPv4 interface and prefix length in CIDR notation
|
||||
ipaddr.IPv4.networkAddressFromCIDR = function (string) {
|
||||
let cidr, i, ipInterfaceOctets, octets, subnetMaskOctets;
|
||||
|
||||
1
node_modules/ipaddr.js/lib/ipaddr.js.d.ts
generated
vendored
Executable file → Normal file
1
node_modules/ipaddr.js/lib/ipaddr.js.d.ts
generated
vendored
Executable file → Normal file
@@ -30,6 +30,7 @@ declare module "ipaddr.js" {
|
||||
static isValid(addr: string): boolean;
|
||||
static isValidCIDR(addr: string): boolean;
|
||||
static isValidFourPartDecimal(addr: string): boolean;
|
||||
static isValidCIDRFourPartDecimal(addr: string): boolean;
|
||||
static networkAddressFromCIDR(addr: string): IPv4;
|
||||
static parse(addr: string): IPv4;
|
||||
static parseCIDR(addr: string): [IPv4, number];
|
||||
|
||||
5
node_modules/ipaddr.js/package.json
generated
vendored
Executable file → Normal file
5
node_modules/ipaddr.js/package.json
generated
vendored
Executable file → Normal file
@@ -1,14 +1,14 @@
|
||||
{
|
||||
"name": "ipaddr.js",
|
||||
"description": "A library for manipulating IPv4 and IPv6 addresses in JavaScript.",
|
||||
"version": "2.2.0",
|
||||
"version": "2.3.0",
|
||||
"author": "whitequark <whitequark@whitequark.org>",
|
||||
"directories": {
|
||||
"lib": "./lib"
|
||||
},
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"eslint": "^8.57.0",
|
||||
"eslint": "^9.19.0",
|
||||
"uglify-es": "*"
|
||||
},
|
||||
"scripts": {
|
||||
@@ -19,7 +19,6 @@
|
||||
},
|
||||
"files": [
|
||||
"lib",
|
||||
"LICENSE",
|
||||
"ipaddr.min.js"
|
||||
],
|
||||
"keywords": [
|
||||
|
||||
Reference in New Issue
Block a user