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

@types/mockery

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/mockery - npm Package Compare versions

Comparing version 1.4.29 to 1.4.30

mockery/LICENSE

6

mockery/index.d.ts

@@ -9,5 +9,5 @@ // Type definitions for mockery 1.4.0

interface MockeryEnableArgs {
useCleanCache?: boolean;
warnOnReplace?: boolean;
warnOnUnregistered?: boolean;
useCleanCache?: boolean | undefined;
warnOnReplace?: boolean | undefined;
warnOnUnregistered?: boolean | undefined;
}

@@ -14,0 +14,0 @@

{
"name": "@types/mockery",
"version": "1.4.29",
"description": "TypeScript definitions for mockery 1.4.0",
"version": "1.4.30",
"description": "TypeScript definitions for mockery",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mockery",
"license": "MIT",
"author": "jt000 <https://github.com/jt000>",
"contributors": [
{
"name": "jt000",
"url": "https://github.com/jt000",
"githubUsername": "jt000"
}
],
"main": "",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/mockery"
},
"scripts": {},
"dependencies": {},
"typings": "index.d.ts",
"typesPublisherContentHash": "cb73d08503803883a5ee51537a258cedb56f579f10a20ea4dfa1443564c13d66"
"typesPublisherContentHash": "d7acd7feff2ad66f4364fda988c6efc55c5537fbb4deb80ba35eeacb88b3a386",
"typeScriptVersion": "3.6"
}

@@ -5,15 +5,49 @@ # Installation

# Summary
This package contains type definitions for mockery 1.4.0 (https://github.com/mfncooper/mockery).
This package contains type definitions for mockery (https://github.com/mfncooper/mockery).
# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/types-2.0/mockery
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mockery.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mockery/index.d.ts)
````ts
// Type definitions for mockery 1.4.0
// Project: https://github.com/mfncooper/mockery
// Definitions by: jt000 <https://github.com/jt000>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
Additional Details
* Last updated: Mon, 19 Sep 2016 17:28:59 GMT
* File structure: ProperModule
* Library Dependencies: none
* Module Dependencies: none
interface MockeryEnableArgs {
useCleanCache?: boolean | undefined;
warnOnReplace?: boolean | undefined;
warnOnUnregistered?: boolean | undefined;
}
export declare function enable(args?: MockeryEnableArgs): void;
export declare function disable(): void;
export declare function registerMock(name: string, mock: any): void;
export declare function deregisterMock(name: string): void;
export declare function registerSubstitute(name: string, substitute: string): void;
export declare function deregisterSubstitute(name: string): void;
export declare function registerAllowable(name: string, unhook?: boolean): void;
export declare function deregisterAllowable(name: string): void;
export declare function registerAllowables(names: string[]): void;
export declare function deregisterAllowables(names: string[]): void;
export declare function deregisterAll(): void;
export declare function resetCache(): void;
export declare function warnOnUnregistered(value: boolean): void;
export declare function warnOnReplace(value: boolean): void;
````
### Additional Details
* Last updated: Wed, 07 Jul 2021 00:01:43 GMT
* Dependencies: none
* Global values: none
# Credits
These definitions were written by jt000 <https://github.com/jt000>.
These definitions were written by [jt000](https://github.com/jt000).
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