From ea88c86ccbd2f68ab05cf321f975a26fc18f956c Mon Sep 17 00:00:00 2001 From: Sam Lord Date: Wed, 22 Sep 2021 15:38:09 +0100 Subject: [PATCH] Switched Ignition for @tryghost/debug & unpinned deps no issue Unpinning dependencies to ensure deps stay up to date when used in Ghost. Removed Ignition because deprecated in favour of using @tryghost/debug --- ghost/update-check-service/lib/update-check-service.js | 2 +- ghost/update-check-service/package.json | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ghost/update-check-service/lib/update-check-service.js b/ghost/update-check-service/lib/update-check-service.js index 5e86cc5c6e..2dfc8feeb4 100644 --- a/ghost/update-check-service/lib/update-check-service.js +++ b/ghost/update-check-service/lib/update-check-service.js @@ -6,7 +6,7 @@ const Promise = require('bluebird'); const exec = require('child_process').exec; const tpl = require('@tryghost/tpl'); const errors = require('@tryghost/errors'); -const debug = require('ghost-ignition').debug('update-check'); +const debug = require('@tryghost/debug')('update-check'); const internal = {context: {internal: true}}; diff --git a/ghost/update-check-service/package.json b/ghost/update-check-service/package.json index 84452113ca..040a880b71 100644 --- a/ghost/update-check-service/package.json +++ b/ghost/update-check-service/package.json @@ -24,11 +24,12 @@ "sinon": "11.1.2" }, "dependencies": { + "@tryghost/debug": "^0.1.5", "@tryghost/errors": "^0.2.11", - "@tryghost/logging": "0.1.7", + "@tryghost/logging": "^0.1.7", "@tryghost/tpl": "^0.1.3", - "bluebird": "3.7.2", - "lodash": "4.17.21", - "moment": "2.24.0" + "bluebird": "^3.7.2", + "lodash": "^4.17.21", + "moment": "^2.24.0" } }