caa 9.0.1 → 9.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 +2 -5
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -5,16 +5,13 @@
5
5
 
6
6
  ## Usage
7
7
 
8
- ```sh
9
- npm i caa
10
- ```
11
8
  ```js
12
9
  import {caa, caaMatches} from "caa";
13
10
 
14
- await caa("subdomain.example.com");
11
+ await caa("example.com");
15
12
  // => [{flags: 0, tag: 'issue', value: 'letsencrypt.org', issuerCritical: false}]
16
13
 
17
- await caa.matches("subdomain.example.com", "letsencrypt.org");
14
+ await caa.matches("example.com", "letsencrypt.org");
18
15
  // => true
19
16
 
20
17
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "caa",
3
- "version": "9.0.1",
3
+ "version": "9.0.3",
4
4
  "description": "rfc6844-conform CAA record lookup and validation",
5
5
  "author": "silverwind <me@silverwind.io>",
6
6
  "repository": "silverwind/caa",
@@ -15,14 +15,14 @@
15
15
  ],
16
16
  "dependencies": {
17
17
  "dns-socket": "^4.2.2",
18
- "tlds": "^1.251.0"
18
+ "tlds": "^1.252.0"
19
19
  },
20
20
  "devDependencies": {
21
21
  "eslint": "8.57.0",
22
- "eslint-config-silverwind": "82.0.4",
23
- "updates": "15.3.1",
22
+ "eslint-config-silverwind": "83.0.2",
23
+ "updates": "16.0.1",
24
24
  "versions": "12.0.1",
25
- "vitest": "1.3.1",
26
- "vitest-config-silverwind": "5.1.5"
25
+ "vitest": "1.5.0",
26
+ "vitest-config-silverwind": "8.0.4"
27
27
  }
28
28
  }