File tree 4 files changed +9
-3
lines changed
4 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 23
23
- name : Install dependencies
24
24
run : pnpm i --frozen-lockfile
25
25
26
+ - name : JSR pre run
27
+ run : npx jsr publish --dry-run
28
+
26
29
- name : Build
27
30
run : pnpm build
28
31
Original file line number Diff line number Diff line change 29
29
- name : Test
30
30
run : pnpm test
31
31
32
+ - name : JSR pre run
33
+ run : npx jsr publish --dry-run
34
+
32
35
- name : Build
33
36
run : pnpm build
34
37
Original file line number Diff line number Diff line change 1
- export const djb2 = function djb2 ( toHash : string ) {
1
+ export const djb2 = function djb2 ( toHash : string ) : string {
2
2
let hash = 5381
3
3
let c
4
4
Original file line number Diff line number Diff line change 1
- export function sdbm ( toHash : string ) {
1
+ export function sdbm ( toHash : string ) : string {
2
2
let hash = BigInt ( 0 )
3
3
let c
4
4
@@ -10,7 +10,7 @@ export function sdbm(toHash: string) {
10
10
return '' + hash
11
11
}
12
12
13
- export function sdbmGawk ( toHash : String ) {
13
+ export function sdbmGawk ( toHash : string ) : string {
14
14
let hash = BigInt ( 0 )
15
15
16
16
for ( let i = 0 ; i < toHash . length ; i ++ )
You can’t perform that action at this time.
0 commit comments