build: update deps
This commit is contained in:
+7
-7
@@ -27,20 +27,20 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/jest": "^29.5.12",
|
||||
"@types/node": "^20.11.19",
|
||||
"@types/semver": "^7.5.7",
|
||||
"@typescript-eslint/eslint-plugin": "^7.0.2",
|
||||
"@typescript-eslint/parser": "^7.0.2",
|
||||
"@types/node": "^20.12.4",
|
||||
"@types/semver": "^7.5.8",
|
||||
"@typescript-eslint/eslint-plugin": "^7.5.0",
|
||||
"@typescript-eslint/parser": "^7.5.0",
|
||||
"@vercel/ncc": "^0.38.1",
|
||||
"eslint": "^8.56.0",
|
||||
"eslint": "^8.57.0",
|
||||
"eslint-config-prettier": "^9.1.0",
|
||||
"eslint-plugin-prettier": "^5.1.3",
|
||||
"jest": "^29.7.0",
|
||||
"prettier": "^3.2.5",
|
||||
"rimraf": "^5.0.5",
|
||||
"ts-jest": "^29.1.2",
|
||||
"type-fest": "^4.10.2",
|
||||
"typescript": "^5.3.3"
|
||||
"type-fest": "^4.15.0",
|
||||
"typescript": "^5.4.4"
|
||||
},
|
||||
"contributors": [
|
||||
"Yu Zhu"
|
||||
|
||||
Generated
+371
-362
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -21,7 +21,7 @@ export async function lsRemote(repo: Repo): Promise<RefDic> {
|
||||
const data: RefDic = { heads: {}, tags: {}, pull: {} };
|
||||
out.split('\n').forEach((line) => {
|
||||
const [ref, tag] = line.trim().split('\t');
|
||||
if (ref && tag && tag.startsWith('refs/')) {
|
||||
if (ref && tag?.startsWith('refs/')) {
|
||||
const tagPath = tag.split('/').splice(1);
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
let ldata = data as any; // eslint-disable-line @typescript-eslint/no-unsafe-assignment
|
||||
|
||||
Reference in New Issue
Block a user