summaryrefslogtreecommitdiff
path: root/skills/brainstorming/scripts/node_modules/ipaddr.js/lib/ipaddr.js.d.ts
diff options
context:
space:
mode:
authorJesse Vincent <jesse@fsck.com>2026-03-11 13:17:52 -0700
committerJesse Vincent <jesse@fsck.com>2026-03-11 13:17:52 -0700
commit7619570679c7bd3ecc747cc4e607886fe214d968 (patch)
tree7352714c5b6fd7d61fa78c8683044ddb195129d0 /skills/brainstorming/scripts/node_modules/ipaddr.js/lib/ipaddr.js.d.ts
parent8d9b94eb8d07b65d23137e034fcd9bfabd49a21c (diff)
Remove vendored node_modules, swap to zero-dep server.js
Delete 717 files: index.js, package.json, package-lock.json, and the entire node_modules directory (express, ws, chokidar + deps). Update start-server.sh to use server.js. Remove gitignore exception. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'skills/brainstorming/scripts/node_modules/ipaddr.js/lib/ipaddr.js.d.ts')
-rw-r--r--skills/brainstorming/scripts/node_modules/ipaddr.js/lib/ipaddr.js.d.ts68
1 files changed, 0 insertions, 68 deletions
diff --git a/skills/brainstorming/scripts/node_modules/ipaddr.js/lib/ipaddr.js.d.ts b/skills/brainstorming/scripts/node_modules/ipaddr.js/lib/ipaddr.js.d.ts
deleted file mode 100644
index 52174b6..0000000
--- a/skills/brainstorming/scripts/node_modules/ipaddr.js/lib/ipaddr.js.d.ts
+++ /dev/null
@@ -1,68 +0,0 @@
-declare module "ipaddr.js" {
- type IPv4Range = 'unicast' | 'unspecified' | 'broadcast' | 'multicast' | 'linkLocal' | 'loopback' | 'carrierGradeNat' | 'private' | 'reserved';
- type IPv6Range = 'unicast' | 'unspecified' | 'linkLocal' | 'multicast' | 'loopback' | 'uniqueLocal' | 'ipv4Mapped' | 'rfc6145' | 'rfc6052' | '6to4' | 'teredo' | 'reserved';
-
- interface RangeList<T> {
- [name: string]: [T, number] | [T, number][];
- }
-
- // Common methods/properties for IPv4 and IPv6 classes.
- class IP {
- prefixLengthFromSubnetMask(): number | null;
- toByteArray(): number[];
- toNormalizedString(): string;
- toString(): string;
- }
-
- namespace Address {
- export function isValid(addr: string): boolean;
- export function fromByteArray(bytes: number[]): IPv4 | IPv6;
- export function parse(addr: string): IPv4 | IPv6;
- export function parseCIDR(mask: string): [IPv4 | IPv6, number];
- export function process(addr: string): IPv4 | IPv6;
- export function subnetMatch(addr: IPv4, rangeList: RangeList<IPv4>, defaultName?: string): string;
- export function subnetMatch(addr: IPv6, rangeList: RangeList<IPv6>, defaultName?: string): string;
-
- export class IPv4 extends IP {
- static broadcastAddressFromCIDR(addr: string): IPv4;
- static isIPv4(addr: string): boolean;
- static isValidFourPartDecimal(addr: string): boolean;
- static isValid(addr: string): boolean;
- static networkAddressFromCIDR(addr: string): IPv4;
- static parse(addr: string): IPv4;
- static parseCIDR(addr: string): [IPv4, number];
- static subnetMaskFromPrefixLength(prefix: number): IPv4;
- constructor(octets: number[]);
- octets: number[]
-
- kind(): 'ipv4';
- match(addr: IPv4, bits: number): boolean;
- match(mask: [IPv4, number]): boolean;
- range(): IPv4Range;
- subnetMatch(rangeList: RangeList<IPv4>, defaultName?: string): string;
- toIPv4MappedAddress(): IPv6;
- }
-
- export class IPv6 extends IP {
- static broadcastAddressFromCIDR(addr: string): IPv6;
- static isIPv6(addr: string): boolean;
- static isValid(addr: string): boolean;
- static parse(addr: string): IPv6;
- static parseCIDR(addr: string): [IPv6, number];
- static subnetMaskFromPrefixLength(prefix: number): IPv6;
- constructor(parts: number[]);
- parts: number[]
- zoneId?: string
-
- isIPv4MappedAddress(): boolean;
- kind(): 'ipv6';
- match(addr: IPv6, bits: number): boolean;
- match(mask: [IPv6, number]): boolean;
- range(): IPv6Range;
- subnetMatch(rangeList: RangeList<IPv6>, defaultName?: string): string;
- toIPv4Address(): IPv4;
- }
- }
-
- export = Address;
-}