diff --git a/automation/check-doc.ts b/automation/check-doc.ts index 30c83ae7..7db839a5 100644 --- a/automation/check-doc.ts +++ b/automation/check-doc.ts @@ -20,7 +20,7 @@ import { stripIndent } from 'common-tags'; import * as _ from 'lodash'; import { promises as fs } from 'fs'; import * as path from 'path'; -import simplegit from 'simple-git/promise'; +import { simpleGit } from 'simple-git'; const ROOT = path.normalize(path.join(__dirname, '..')); @@ -32,7 +32,7 @@ const ROOT = path.normalize(path.join(__dirname, '..')); * using `touch`. */ async function checkBuildTimestamps() { - const git = simplegit(ROOT); + const git = simpleGit(ROOT); const docFile = path.join(ROOT, 'docs', 'balena-cli.md'); const [docStat, gitStatus] = await Promise.all([ fs.stat(docFile), diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 5d542daa..07475104 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -15164,20 +15164,20 @@ } }, "simple-git": { - "version": "2.48.0", - "resolved": "https://registry.npmjs.org/simple-git/-/simple-git-2.48.0.tgz", - "integrity": "sha512-z4qtrRuaAFJS4PUd0g+xy7aN4y+RvEt/QTJpR184lhJguBA1S/LsVlvE/CM95RsYMOFJG3NGGDjqFCzKU19S/A==", + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/simple-git/-/simple-git-3.14.1.tgz", + "integrity": "sha512-1ThF4PamK9wBORVGMK9HK5si4zoGS2GpRO7tkAFObA4FZv6dKaCVHLQT+8zlgiBm6K2h+wEU9yOaFCu/SR3OyA==", "dev": true, "requires": { "@kwsites/file-exists": "^1.1.1", "@kwsites/promise-deferred": "^1.1.1", - "debug": "^4.3.2" + "debug": "^4.3.4" }, "dependencies": { "debug": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", - "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", "dev": true, "requires": { "ms": "2.1.2" diff --git a/package.json b/package.json index 852cbc13..f84f24f0 100644 --- a/package.json +++ b/package.json @@ -188,7 +188,7 @@ "pkg": "^5.5.1", "publish-release": "^1.6.1", "rewire": "^5.0.0", - "simple-git": "^2.48.0", + "simple-git": "^3.14.1", "sinon": "^11.1.2", "ts-node": "^10.4.0", "typescript": "^4.6.4"