This commit is contained in:
2025-08-18 23:06:34 +08:00
parent 0bc04fb659
commit ed18af0cad
1926 changed files with 275098 additions and 0 deletions

11
package/node_modules/is-cidr/dist/index.js generated vendored Normal file
View File

@@ -0,0 +1,11 @@
import { v4 as v4$1, v6 as v6$1 } from "cidr-regex";
const re4 = v4$1({ exact: true });
const re6 = v6$1({ exact: true });
const isCidr = (str) => re4.test(str) ? 4 : re6.test(str) ? 6 : 0;
const v4 = isCidr.v4 = (str) => re4.test(str);
const v6 = isCidr.v6 = (str) => re6.test(str);
export {
isCidr as default,
v4,
v6
};

40
package/node_modules/is-cidr/package.json generated vendored Normal file
View File

@@ -0,0 +1,40 @@
{
"name": "is-cidr",
"version": "5.1.0",
"description": "Check if a string is an IP address in CIDR notation",
"author": "silverwind <me@silverwind.io>",
"contributors": [
"Felipe Apostol <flipjs.io@gmail.com> (http://flipjs.io/)"
],
"repository": "silverwind/is-cidr",
"license": "BSD-2-Clause",
"type": "module",
"sideEffects": false,
"main": "./dist/index.js",
"exports": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"engines": {
"node": ">=14"
},
"dependencies": {
"cidr-regex": "^4.1.1"
},
"devDependencies": {
"@types/node": "20.12.12",
"eslint": "8.57.0",
"eslint-config-silverwind": "85.1.4",
"eslint-config-silverwind-typescript": "3.2.7",
"typescript": "5.4.5",
"typescript-config-silverwind": "4.3.2",
"updates": "16.1.1",
"versions": "12.0.2",
"vite": "5.2.11",
"vite-config-silverwind": "1.1.2",
"vite-plugin-dts": "3.9.1",
"vitest": "1.6.0",
"vitest-config-silverwind": "9.0.6"
}
}