rewiremock
Advanced tools
Comparing version 3.9.0 to 3.10.0
@@ -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": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
164826
+ Addedwipe-node-cache@2.1.2(transitive)
+ Addedwipe-webpack-cache@2.1.0(transitive)
- Removedwipe-node-cache@1.1.0(transitive)
- Removedwipe-webpack-cache@1.0.3(transitive)
Updatedwipe-node-cache@^2.0.0
Updatedwipe-webpack-cache@^2.0.1