cidr-regex 7.1.0 → 7.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +4 -4
- package/package.json +13 -13
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region index.d.ts
|
|
2
|
-
type CidrRegexOptions = {
|
|
2
|
+
export type CidrRegexOptions = {
|
|
3
3
|
/**
|
|
4
4
|
Only match an exact string. Useful with `RegExp#test()` to check if a string is an IP address. *(`false` matches any IP address in a string)*
|
|
5
5
|
|
|
@@ -22,7 +22,7 @@ declare namespace cidrRegex {
|
|
|
22
22
|
export var _b: (opts?: CidrRegexOptions) => RegExp;
|
|
23
23
|
export { _b as v6 };
|
|
24
24
|
}
|
|
25
|
-
declare const v4: (opts?: CidrRegexOptions) => RegExp;
|
|
26
|
-
declare const v6: (opts?: CidrRegexOptions) => RegExp;
|
|
25
|
+
export declare const v4: (opts?: CidrRegexOptions) => RegExp;
|
|
26
|
+
export declare const v6: (opts?: CidrRegexOptions) => RegExp;
|
|
27
27
|
//#endregion
|
|
28
|
-
export {
|
|
28
|
+
export { cidrRegex as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cidr-regex",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.1",
|
|
4
4
|
"description": "Regular expression for matching IP addresses in CIDR notation and bare IP addresses",
|
|
5
5
|
"author": "silverwind <me@silverwind.io>",
|
|
6
6
|
"contributors": [
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
],
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "silverwind/cidr-regex"
|
|
11
|
+
"url": "git+https://github.com/silverwind/cidr-regex.git"
|
|
12
12
|
},
|
|
13
13
|
"keywords": [
|
|
14
14
|
"cidr",
|
|
@@ -36,19 +36,19 @@
|
|
|
36
36
|
"node": ">=22"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@types/node": "26.2
|
|
39
|
+
"@types/node": "26.6.2",
|
|
40
40
|
"@typescript/native-preview": "7.0.0-dev.20260707.2",
|
|
41
|
-
"eslint": "10.
|
|
42
|
-
"eslint-config-silverwind": "
|
|
41
|
+
"eslint": "10.11.0",
|
|
42
|
+
"eslint-config-silverwind": "151.0.0",
|
|
43
43
|
"jest-extended": "7.0.0",
|
|
44
|
-
"tsdown": "0.
|
|
45
|
-
"tsdown-config-silverwind": "4.
|
|
44
|
+
"tsdown": "0.23.0",
|
|
45
|
+
"tsdown-config-silverwind": "4.1.1",
|
|
46
46
|
"typescript": "6.0.3",
|
|
47
|
-
"typescript-config-silverwind": "
|
|
48
|
-
"updates": "
|
|
49
|
-
"updates-config-silverwind": "4.0.
|
|
50
|
-
"versions": "15.
|
|
51
|
-
"vitest": "
|
|
52
|
-
"vitest-config-silverwind": "
|
|
47
|
+
"typescript-config-silverwind": "21.0.0",
|
|
48
|
+
"updates": "19.0.0",
|
|
49
|
+
"updates-config-silverwind": "4.0.6",
|
|
50
|
+
"versions": "15.5.0",
|
|
51
|
+
"vitest": "5.0.2",
|
|
52
|
+
"vitest-config-silverwind": "12.0.4"
|
|
53
53
|
}
|
|
54
54
|
}
|