chore(deps): bump simple-git from 2.48.0 to 3.1.0

This commit is contained in:
lowlighter
2022-01-25 19:58:13 -05:00
parent 1f7090eefc
commit fd3cffac9f
3 changed files with 17 additions and 17 deletions

30
package-lock.json generated
View File

@@ -39,7 +39,7 @@
"purgecss": "^4.1.2", "purgecss": "^4.1.2",
"rss-parser": "^3.12.0", "rss-parser": "^3.12.0",
"sanitize-html": "^2.6.0", "sanitize-html": "^2.6.0",
"simple-git": "^2.48.0", "simple-git": "^3.1.0",
"svgo": "^2.8.0", "svgo": "^2.8.0",
"twemoji-parser": "^13.1.0", "twemoji-parser": "^13.1.0",
"vue": "^2.6.14", "vue": "^2.6.14",
@@ -8578,13 +8578,13 @@
} }
}, },
"node_modules/simple-git": { "node_modules/simple-git": {
"version": "2.48.0", "version": "3.1.0",
"resolved": "https://registry.npmjs.org/simple-git/-/simple-git-2.48.0.tgz", "resolved": "https://registry.npmjs.org/simple-git/-/simple-git-3.1.0.tgz",
"integrity": "sha512-z4qtrRuaAFJS4PUd0g+xy7aN4y+RvEt/QTJpR184lhJguBA1S/LsVlvE/CM95RsYMOFJG3NGGDjqFCzKU19S/A==", "integrity": "sha512-XpiIA5CBB8S40cJwkLhVe3ysyuLjvOrPo/xjorJl+hspFBgJFueqKXQbKhUl5Ujh2TWMt2jhxl5UTGciFnkXmA==",
"dependencies": { "dependencies": {
"@kwsites/file-exists": "^1.1.1", "@kwsites/file-exists": "^1.1.1",
"@kwsites/promise-deferred": "^1.1.1", "@kwsites/promise-deferred": "^1.1.1",
"debug": "^4.3.2" "debug": "^4.3.3"
}, },
"funding": { "funding": {
"type": "github", "type": "github",
@@ -8592,9 +8592,9 @@
} }
}, },
"node_modules/simple-git/node_modules/debug": { "node_modules/simple-git/node_modules/debug": {
"version": "4.3.2", "version": "4.3.3",
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz",
"integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==",
"dependencies": { "dependencies": {
"ms": "2.1.2" "ms": "2.1.2"
}, },
@@ -16637,19 +16637,19 @@
} }
}, },
"simple-git": { "simple-git": {
"version": "2.48.0", "version": "3.1.0",
"resolved": "https://registry.npmjs.org/simple-git/-/simple-git-2.48.0.tgz", "resolved": "https://registry.npmjs.org/simple-git/-/simple-git-3.1.0.tgz",
"integrity": "sha512-z4qtrRuaAFJS4PUd0g+xy7aN4y+RvEt/QTJpR184lhJguBA1S/LsVlvE/CM95RsYMOFJG3NGGDjqFCzKU19S/A==", "integrity": "sha512-XpiIA5CBB8S40cJwkLhVe3ysyuLjvOrPo/xjorJl+hspFBgJFueqKXQbKhUl5Ujh2TWMt2jhxl5UTGciFnkXmA==",
"requires": { "requires": {
"@kwsites/file-exists": "^1.1.1", "@kwsites/file-exists": "^1.1.1",
"@kwsites/promise-deferred": "^1.1.1", "@kwsites/promise-deferred": "^1.1.1",
"debug": "^4.3.2" "debug": "^4.3.3"
}, },
"dependencies": { "dependencies": {
"debug": { "debug": {
"version": "4.3.2", "version": "4.3.3",
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz",
"integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==",
"requires": { "requires": {
"ms": "2.1.2" "ms": "2.1.2"
} }

View File

@@ -56,7 +56,7 @@
"purgecss": "^4.1.2", "purgecss": "^4.1.2",
"rss-parser": "^3.12.0", "rss-parser": "^3.12.0",
"sanitize-html": "^2.6.0", "sanitize-html": "^2.6.0",
"simple-git": "^2.48.0", "simple-git": "^3.1.0",
"svgo": "^2.8.0", "svgo": "^2.8.0",
"twemoji-parser": "^13.1.0", "twemoji-parser": "^13.1.0",
"vue": "^2.6.14", "vue": "^2.6.14",

View File

@@ -3,7 +3,7 @@ const path = require("path")
const git = require("simple-git")(path.join(__dirname, "..")) const git = require("simple-git")(path.join(__dirname, ".."))
//Edited files list //Edited files list
const diff = async () => (await git.diff("origin/master...", ["--name-status"])).split("\n").map(x => x.trim()).filter(x => /^M\s+/.test(x)).map(x => x.replace(/^M\s+/, "")) const diff = async () => (await git.diff(["origin/master...", "--name-status"])).split("\n").map(x => x.trim()).filter(x => /^M\s+/.test(x)).map(x => x.replace(/^M\s+/, ""))
//Files editions //Files editions
describe("Check files editions (checkout your files if needed)", () => { describe("Check files editions (checkout your files if needed)", () => {