Update NPM dependencies (#1703)

* Update dependencies manually
* Format files
* Update licenses
这个提交包含在:
Cory Miller
2024-04-24 12:04:10 -04:00
提交者 GitHub
父节点 0ad4b8fada
当前提交 9c1e94e0ad
共有 50 个文件被更改,包括 33279 次插入 和 23501 次删除

查看文件

@ -169,8 +169,9 @@ describe('git-auth-helper tests', () => {
// Mock fs.promises.readFile
const realReadFile = fs.promises.readFile
jest.spyOn(fs.promises, 'readFile').mockImplementation(
async (file: any, options: any): Promise<Buffer> => {
jest
.spyOn(fs.promises, 'readFile')
.mockImplementation(async (file: any, options: any): Promise<Buffer> => {
const userKnownHostsPath = path.join(
os.homedir(),
'.ssh',
@ -181,8 +182,7 @@ describe('git-auth-helper tests', () => {
}
return await realReadFile(file, options)
}
)
})
// Act
const authHelper = gitAuthHelper.createAuthHelper(git, settings)