Bump eslint-plugin-import to avoid vulnerability in dependency
This commit is contained in:
parent
10695e6a20
commit
ed9506bbaf
1660 changed files with 67726 additions and 27926 deletions
6
node_modules/resolve/test/mock_sync.js
generated
vendored
6
node_modules/resolve/test/mock_sync.js
generated
vendored
|
|
@ -122,9 +122,8 @@ test('symlinked', function (t) {
|
|||
var dir = path.dirname(resolved);
|
||||
var base = path.basename(resolved);
|
||||
return path.join(dir, 'symlinked', base);
|
||||
} else {
|
||||
return path.join(resolved, 'symlinked');
|
||||
}
|
||||
return path.join(resolved, 'symlinked');
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
@ -183,9 +182,8 @@ test('readPackageSync', function (t) {
|
|||
var readPackageSync = function (readFileSync, file) {
|
||||
if (file.indexOf(path.join('bar', 'package.json')) >= 0) {
|
||||
return { main: './something-else.js' };
|
||||
} else {
|
||||
return JSON.parse(files[path.resolve(file)]);
|
||||
}
|
||||
return JSON.parse(files[path.resolve(file)]);
|
||||
};
|
||||
|
||||
t.test('with readPackage', function (st) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue