Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@jestaubach/cloner-git

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jestaubach/cloner-git - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

4

dist/src/index.d.ts

@@ -7,5 +7,5 @@ import { ExecResult, Path } from './types';

default: typeof git;
mock: (fsHelpers: import("./types").FsHelpers) => import("jest-mock").Mock<unknown, unknown[]>;
mockError: () => import("jest-mock").Mock<unknown, unknown[]>;
mock: (fsHelpers: import("./types").FsHelpers) => (args: string[], cwd?: string) => Promise<ExecResult>;
mockError: () => (_args: string[], _cwd?: string) => Promise<ExecResult>;
};
export default _default;

@@ -1,4 +0,4 @@

import { FsHelpers } from './types';
declare function mock(fsHelpers: FsHelpers): import("jest-mock").Mock<unknown, unknown[]>;
declare function mockError(): import("jest-mock").Mock<unknown, unknown[]>;
import { ExecResult, Path, FsHelpers } from './types';
declare function mock(fsHelpers: FsHelpers): (args: string[], cwd?: Path) => Promise<ExecResult>;
declare function mockError(): (_args: string[], _cwd?: Path) => Promise<ExecResult>;
declare const _default: {

@@ -5,0 +5,0 @@ mock: typeof mock;

@@ -12,5 +12,4 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
const globals_1 = require("@jest/globals");
function mock(fsHelpers) {
return globals_1.jest.fn().mockImplementation((args, cwd) => __awaiter(this, void 0, void 0, function* () {
return ((args, cwd) => __awaiter(this, void 0, void 0, function* () {
// eslint-disable-next-line @typescript-eslint/no-var-requires

@@ -38,3 +37,3 @@ const pathLocal = require(`path`);

function mockError() {
return globals_1.jest.fn().mockImplementation((_args, _cwd) => __awaiter(this, void 0, void 0, function* () {
return ((_args, _cwd) => __awaiter(this, void 0, void 0, function* () {
return Promise.resolve({

@@ -41,0 +40,0 @@ error: { name: ``, message: `oops!`, code: -1 },

{
"name": "@jestaubach/cloner-git",
"version": "0.1.4",
"version": "0.1.5",
"description": "typescript library template",

@@ -43,3 +43,6 @@ "keywords": [],

"typescript": "^4.5.5"
},
"dependencies": {
"@jestaubach/fs-helpers": "^0.2.8"
}
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc