cidr-regex 4.0.2 → 4.0.3

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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +7 -18
package/README.md CHANGED
@@ -10,7 +10,7 @@ $ npm i cidr-regex
10
10
  ```
11
11
 
12
12
  ```js
13
- const cidrRegex = require("cidr-regex");
13
+ import cidrRegex from "cidr-regex";
14
14
 
15
15
  // Contains a CIDR IP address?
16
16
  cidrRegex().test("foo 192.168.0.1/24");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cidr-regex",
3
- "version": "4.0.2",
3
+ "version": "4.0.3",
4
4
  "description": "Regular expression for matching IP addresses in CIDR notation",
5
5
  "author": "silverwind <me@silverwind.io>",
6
6
  "contributors": [
@@ -18,26 +18,15 @@
18
18
  "index.js",
19
19
  "index.d.ts"
20
20
  ],
21
- "keywords": [
22
- "cidr",
23
- "regex",
24
- "notation",
25
- "cidr notation",
26
- "prefix",
27
- "prefixes",
28
- "ip",
29
- "ip address"
30
- ],
31
21
  "dependencies": {
32
22
  "ip-regex": "^5.0.0"
33
23
  },
34
24
  "devDependencies": {
35
- "eslint": "8.23.1",
36
- "eslint-config-silverwind": "54.0.2",
37
- "jest": "29.0.3",
38
- "jest-extended": "3.1.0",
39
- "tsd": "0.24.1",
40
- "updates": "13.1.5",
41
- "versions": "9.3.0"
25
+ "eslint": "8.37.0",
26
+ "eslint-config-silverwind": "65.1.3",
27
+ "tsd": "0.28.1",
28
+ "updates": "13.2.9",
29
+ "versions": "10.4.2",
30
+ "vitest": "0.29.8"
42
31
  }
43
32
  }