@tryghost/domain-validator 4.2.0 → 5.0.0
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/lib/request.js +2 -1
- package/package.json +7 -7
package/lib/request.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
// got 12+ is ESM-only; Node 22.12+ can require() it and exposes the export as `.default`
|
|
2
|
+
const got = require('got').default;
|
|
2
3
|
const _ = require('lodash');
|
|
3
4
|
const errors = require('@tryghost/errors');
|
|
4
5
|
const debug = require('@tryghost/debug')('dv:request');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tryghost/domain-validator",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Ghost Foundation",
|
|
6
6
|
"repository": {
|
|
@@ -21,20 +21,20 @@
|
|
|
21
21
|
"access": "public"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@tryghost/debug": "2.3.
|
|
25
|
-
"@tryghost/errors": "3.
|
|
26
|
-
"@tryghost/pretty-cli": "3.
|
|
27
|
-
"got": "
|
|
24
|
+
"@tryghost/debug": "2.3.19",
|
|
25
|
+
"@tryghost/errors": "3.4.5",
|
|
26
|
+
"@tryghost/pretty-cli": "3.4.1",
|
|
27
|
+
"got": "16.2.0",
|
|
28
28
|
"lodash": "4.18.1",
|
|
29
29
|
"semver": "7.8.5",
|
|
30
|
-
"@tryghost/dns": "^0.
|
|
30
|
+
"@tryghost/dns": "^0.9.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"should": "13.2.3",
|
|
34
34
|
"sinon": "22.1.0"
|
|
35
35
|
},
|
|
36
36
|
"engines": {
|
|
37
|
-
"node": ">=
|
|
37
|
+
"node": ">=22.12.0"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"dv": "node bin/dv.js",
|