Update checked-in dependencies
This commit is contained in:
parent
6b0d45a5c6
commit
cc1adb825a
4247 changed files with 144820 additions and 149530 deletions
3
node_modules/import-fresh/index.js
generated
vendored
3
node_modules/import-fresh/index.js
generated
vendored
|
|
@ -10,7 +10,8 @@ module.exports = moduleId => {
|
|||
|
||||
const parentPath = parentModule(__filename);
|
||||
|
||||
const filePath = resolveFrom(path.dirname(parentPath), moduleId);
|
||||
const cwd = parentPath ? path.dirname(parentPath) : __dirname;
|
||||
const filePath = resolveFrom(cwd, moduleId);
|
||||
|
||||
const oldModule = require.cache[filePath];
|
||||
// Delete itself from module parent
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue