@tryghost/domain-validator 1.1.10 → 1.2.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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2013-2021 Ghost Foundation
3
+ Copyright (c) 2013-2022 Ghost Foundation
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -18,4 +18,4 @@
18
18
 
19
19
  # Copyright & License
20
20
 
21
- Copyright (c) 2013-2021 Ghost Foundation - Released under the [MIT license](LICENSE).
21
+ Copyright (c) 2013-2022 Ghost Foundation - Released under the [MIT license](LICENSE).
package/lib/dns.js CHANGED
@@ -1,6 +1,6 @@
1
1
  const dns = require('@tryghost/dns');
2
2
  const _ = require('lodash');
3
- const debug = require('ghost-ignition').debug('dv:request');
3
+ const debug = require('@tryghost/debug')('dv:request');
4
4
  const _private = {};
5
5
 
6
6
  // This is the resulting dns object
package/lib/pro.js CHANGED
@@ -1,6 +1,6 @@
1
1
  const request = require('./request');
2
2
  const _ = require('lodash');
3
- const debug = require('ghost-ignition').debug('dv:pro');
3
+ const debug = require('@tryghost/debug')('dv:pro');
4
4
  const _private = {};
5
5
 
6
6
  // This is the resulting pro object
package/lib/request.js CHANGED
@@ -1,8 +1,8 @@
1
1
  const got = require('got');
2
2
  const _ = require('lodash');
3
3
  const Promise = require('bluebird');
4
- const errors = require('ghost-ignition').errors;
5
- const debug = require('ghost-ignition').debug('dv:request');
4
+ const errors = require('@tryghost/errors');
5
+ const debug = require('@tryghost/debug')('dv:request');
6
6
 
7
7
  module.exports.domain = (url) => {
8
8
  const options = {
package/lib/validate.js CHANGED
@@ -1,7 +1,7 @@
1
1
  const _ = require('lodash');
2
2
  const dns = require('./dns');
3
3
  const pro = require('./pro');
4
- const debug = require('ghost-ignition').debug('dv:validate');
4
+ const debug = require('@tryghost/debug')('dv:validate');
5
5
 
6
6
  const _private = {};
7
7
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryghost/domain-validator",
3
- "version": "1.1.10",
3
+ "version": "1.2.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "ssh://git@github.com/TryGhost/Pro",
@@ -30,12 +30,13 @@
30
30
  "sinon": "9.0.3"
31
31
  },
32
32
  "dependencies": {
33
- "@tryghost/dns": "^0.3.9",
33
+ "@tryghost/debug": "0.1.17",
34
+ "@tryghost/dns": "^0.4.1",
35
+ "@tryghost/errors": "1.2.13",
34
36
  "@tryghost/pretty-cli": "1.2.9",
35
37
  "bluebird": "3.7.2",
36
- "ghost-ignition": "4.2.2",
37
38
  "got": "8.3.2",
38
39
  "lodash": "4.17.20"
39
40
  },
40
- "gitHead": "66d318854c50bf5b4050240c292a19902c860556"
41
+ "gitHead": "1f5a66177ec5a20d0079e8f8a499ecfde37c18c8"
41
42
  }