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.3 to 0.1.4

5

dist/src/index.d.ts

@@ -1,2 +0,1 @@

/// <reference types="jest" />
import { ExecResult, Path } from './types';

@@ -8,5 +7,5 @@ declare function git(args: string[], cwd?: Path): Promise<ExecResult>;

default: typeof git;
mock: (fsHelpers: import("./types").FsHelpers) => jest.Mock<any, any>;
mockError: () => jest.Mock<any, any>;
mock: (fsHelpers: import("./types").FsHelpers) => import("jest-mock").Mock<unknown, unknown[]>;
mockError: () => import("jest-mock").Mock<unknown, unknown[]>;
};
export default _default;

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

/// <reference types="jest" />
import { FsHelpers } from './types';
declare function mock(fsHelpers: FsHelpers): jest.Mock<any, any>;
declare function mockError(): jest.Mock<any, any>;
declare function mock(fsHelpers: FsHelpers): import("jest-mock").Mock<unknown, unknown[]>;
declare function mockError(): import("jest-mock").Mock<unknown, unknown[]>;
declare const _default: {

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

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

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

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

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

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

2

package.json
{
"name": "@jestaubach/cloner-git",
"version": "0.1.3",
"version": "0.1.4",
"description": "typescript library template",

@@ -5,0 +5,0 @@ "keywords": [],

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