@jestaubach/cloner-git
Advanced tools
Comparing version 0.1.8 to 0.1.9
@@ -1,2 +0,1 @@ | ||
import { execFile as i } from "child_process"; | ||
function l(e) { | ||
@@ -12,3 +11,3 @@ return async (t, o) => { | ||
} | ||
function a() { | ||
function i() { | ||
return async (e, t) => Promise.resolve({ | ||
@@ -20,6 +19,9 @@ error: { name: "", message: "oops!", code: -1 }, | ||
} | ||
const s = { mock: l, mockError: a }; | ||
const s = { mock: l, mockError: i }, { execFile: a } = (() => { | ||
const e = require("child_process"); | ||
return e && e.__esModule ? e : Object.assign(/* @__PURE__ */ Object.create(null), e, { default: e, [Symbol.toStringTag]: "Module" }); | ||
})(); | ||
async function m(e, t) { | ||
return new Promise((o) => { | ||
i("git", [...e], { cwd: t }, (r, n, c) => { | ||
a("git", [...e], { cwd: t }, (r, n, c) => { | ||
o({ error: r, stdout: n, stderr: c }); | ||
@@ -34,5 +36,5 @@ }); | ||
} | ||
const h = { use: d, default: m, mock: s.mock, mockError: s.mockError }; | ||
const f = { use: d, default: m, mock: s.mock, mockError: s.mockError }; | ||
export { | ||
h as default | ||
f as default | ||
}; |
{ | ||
"name": "@jestaubach/cloner-git", | ||
"version": "0.1.8", | ||
"version": "0.1.9", | ||
"description": "typescript library template", | ||
@@ -35,12 +35,16 @@ "keywords": [], | ||
}, | ||
"dependencies": { | ||
"@jestaubach/fs-helpers": "^0.2.13" | ||
}, | ||
"devDependencies": { | ||
"@types/lodash": "^4.14.195", | ||
"@types/node": "^18.7.1", | ||
"@vitest/coverage-istanbul": "^0.32.0", | ||
"builtin-modules": "^3.3.0", | ||
"lodash": "^4.17.21", | ||
"typescript": "^4.5.5", | ||
"vite-plugin-commonjs-externals": "^0.1.3", | ||
"vite-plugin-dts": "^2.3.0", | ||
"vitest": "^0.32.0" | ||
}, | ||
"dependencies": { | ||
"@jestaubach/fs-helpers": "^0.2.8" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
6483
92
2
9
+ Addedmagic-string@0.30.14(transitive)
+ Addednanoid@3.3.8(transitive)
- Removedmagic-string@0.30.13(transitive)
- Removednanoid@3.3.7(transitive)