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

rewiremock

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rewiremock - npm Package Compare versions

Comparing version 1.3.8 to 1.3.9

2

package.json
{
"name": "rewiremock",
"version": "1.3.8",
"version": "1.3.9",
"description": "Easy and es6 compatible dependency mocking tool.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -36,3 +36,3 @@ interface OverloadedModule {

*/
by(module: (OverloadedModule) => Object): ModuleMock,
by(module: (module: OverloadedModule) => Object): ModuleMock,

@@ -77,6 +77,6 @@ enable(): ModuleMock,

around<T>(loader: () => T, creator?: Function): Promise<T>;
inScope(callback): rewiremock;
inScope(callback: Function): rewiremock;
flush();
clear();
flush(): void;
clear(): void;
/**

@@ -112,4 +112,5 @@ * converts module name

declare module 'rewiremock' {
var p: rewiremock;
export default p;
}
var rewiremockdefault: rewiremock;
}
export default rewiremockdefault;
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