Skip to content
This repository has been archived by the owner on Nov 18, 2023. It is now read-only.

Commit

Permalink
升级vite5
Browse files Browse the repository at this point in the history
  • Loading branch information
ydq committed Nov 18, 2023
1 parent 03a6ca8 commit 48c99ed
Show file tree
Hide file tree
Showing 3 changed files with 240 additions and 163 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"preview": "vite preview"
},
"devDependencies": {
"less": "^4.1.3",
"typescript": "^5.0.4",
"vite": "^4.3.8"
"less": "^4.2.0",
"typescript": "^5.2.2",
"vite": "^5.0.0"
}
}
2 changes: 1 addition & 1 deletion src/keygen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class Helper {
let _a: string[] = a.split('')
let _b: string[] = b.split('')
while (_a.length || _b.length || c) {
c += parseInt(_a.pop() ?? '0' as string) + parseInt(_b.pop() ?? '0' as string);
c += parseInt(_a.pop() ?? '0') + parseInt(_b.pop() ?? '0');
res = c % 2 + res;
c = c > 1 ? 1 : 0
}
Expand Down
Loading

0 comments on commit 48c99ed

Please sign in to comment.