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.9.0 to 3.10.0

2

es/wipeCache.js

@@ -6,3 +6,3 @@ import { getAllMocks } from './mocks';

// which one?
export var wipe = typeof __webpack_require__ === 'function' ? require('wipe-webpack-cache') : require('wipe-node-cache');
export var wipe = typeof __webpack_require__ === 'function' ? require('wipe-webpack-cache') : require('wipe-node-cache').wipeCache;

@@ -9,0 +9,0 @@ var primaryResolver = function primaryResolver(stubs, moduleName) {

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

// which one?
const wipe = exports.wipe = typeof __webpack_require__ === 'function' ? require('wipe-webpack-cache') : require('wipe-node-cache');
const wipe = exports.wipe = typeof __webpack_require__ === 'function' ? require('wipe-webpack-cache') : require('wipe-node-cache').wipeCache;

@@ -18,0 +18,0 @@ const primaryResolver = (stubs, moduleName) => stubs[moduleName];

{
"name": "rewiremock",
"version": "3.9.0",
"version": "3.10.0",
"description": "Advanced dependency mocking device.",

@@ -78,4 +78,4 @@ "main": "lib/index.js",

"path-parse": "^1.0.5",
"wipe-node-cache": "^1.1.0",
"wipe-webpack-cache": "^1.0.3"
"wipe-node-cache": "^2.0.0",
"wipe-webpack-cache": "^2.0.1"
},

@@ -82,0 +82,0 @@ "devDependencies": {

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