import-fresh
Advanced tools
Comparing version 3.2.1 to 3.2.2
@@ -13,3 +13,4 @@ 'use strict'; | ||
const filePath = resolveFrom(path.dirname(parentPath), moduleId); | ||
const cwd = parentPath ? path.dirname(parentPath) : __dirname; | ||
const filePath = resolveFrom(cwd, moduleId); | ||
@@ -16,0 +17,0 @@ const oldModule = require.cache[filePath]; |
{ | ||
"name": "import-fresh", | ||
"version": "3.2.1", | ||
"version": "3.2.2", | ||
"description": "Import a module while bypassing the cache", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
4876
46