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 3.13.0 to 3.13.1

2

es/plugins/toBeUsed.js

@@ -25,3 +25,3 @@ import createPlugin from './_common';

throw new Error(name + ' is set toBeUsed, was requied, by rejected by plugins.\n' + history.join('\n'));
throw new Error(name + ' is set toBeUsed, was required, but rejected by plugins.\n' + history.join('\n'));
}

@@ -28,0 +28,0 @@ };

@@ -36,3 +36,3 @@ 'use strict';

throw new Error(name + ' is set toBeUsed, was requied, by rejected by plugins.\n' + history.join('\n'));
throw new Error(name + ' is set toBeUsed, was required, but rejected by plugins.\n' + history.join('\n'));
}

@@ -39,0 +39,0 @@ };

{
"name": "rewiremock",
"version": "3.13.0",
"version": "3.13.1",
"description": "Advanced dependency mocking device.",

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

@@ -8,4 +8,4 @@ # rewiremock

The most powerful mocking library, inspired by the best libraries:
- [mockery](https://github.com/mfncooper/mockery) - Rewiremock __is__ a better mockery.
- [proxyquire](https://github.com/theKashey/proxyquire) -Rewiremock __is__ it a better proxyquire.
- [mockery](https://github.com/mfncooper/mockery) - Rewiremock __is__ a better mockery, with the same interface.
- [proxyquire](https://github.com/theKashey/proxyquire) -Rewiremock __is__ a better proxyquire, with the same interface.
- [mock-require](https://github.com/boblauer/mock-require) - Things must not be complex, Rewiremock __is__ not.

@@ -91,3 +91,3 @@ - [jest.mocks](https://facebook.github.io/jest/docs/en/manual-mocks.html) - Jest is awesome. But rewiremock can do the same.

- If you need scope isolation - use __rewiremock.around__, or inScope.
- If you advanced syntax and type checking - use __rewiremock.around__.
- If you need advanced syntax and type checking - use __rewiremock.around__.
- You always can just use __.enable/.disable__ (~ mockery).

@@ -94,0 +94,0 @@

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