File tree Expand file tree Collapse file tree 4 files changed +7
-6
lines changed
Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1212 runs-on : ubuntu-latest
1313 strategy :
1414 matrix :
15- deno-version : [v1.4.0 , nightly]
15+ deno-version : [v1.4.2 , nightly]
1616 unstable : [false, true]
17- no-check : [false, true]
17+ # FIXME(lucacasonato): temporarially disable no-check testing (see https://github.com/denoland/deno/issues/7709)
18+ no-check : [false]
1819 steps :
1920 - name : Setup Deno environment
2021 uses : denolib/setup-deno@v2.2.0
Original file line number Diff line number Diff line change 11# deno_aws_sign_v4
22
33![ ci] ( https://github.com/lucacasonato/deno_aws_sign_v4/workflows/ci/badge.svg )
4- [ ![ deno doc] ( https://doc.deno.land/badge.svg )] ( https://doc.deno.land/https/deno.land/x/aws_sign_v4@0.1.1 /mod.ts )
4+ [ ![ deno doc] ( https://doc.deno.land/badge.svg )] ( https://doc.deno.land/https/deno.land/x/aws_sign_v4@0.1.2 /mod.ts )
55
66Generates AWS Signature V4 for AWS low-level REST APIs.
77
@@ -15,7 +15,7 @@ The below example will generate signed headers based on the region and credentia
1515- AWS_REGION
1616
1717``` typescript
18- import { AWSSignerV4 } from " https://deno.land/x/aws_sign_v4@0.1.1 /mod.ts" ;
18+ import { AWSSignerV4 } from " https://deno.land/x/aws_sign_v4@0.1.2 /mod.ts" ;
1919
2020const signer = new AWSSignerV4 ();
2121const body = new TextEncoder ().encode (" Hello World!" );
Original file line number Diff line number Diff line change 11export { hmac } from "https://denopkg.com/chiefbiiko/hmac@v1.0.2/mod.ts" ;
22
3- import { createHash } from "https://deno.land/std@0.69 .0/hash/mod.ts" ;
3+ import { createHash } from "https://deno.land/std@0.71 .0/hash/mod.ts" ;
44export function sha256Hex ( data : string | Uint8Array ) : string {
55 const hasher = createHash ( "sha256" ) ;
66 hasher . update ( data ) ;
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { AWSSignerV4 } from "./mod.ts";
22import {
33 assertEquals ,
44 assertStringContains ,
5- } from "https://deno.land/std@0.69 .0/testing/asserts.ts" ;
5+ } from "https://deno.land/std@0.71 .0/testing/asserts.ts" ;
66
77Deno . test ( "construct from env vars" , async ( ) => {
88 Deno . env . set ( "AWS_ACCESS_KEY_ID" , "examplekey" ) ;
You can’t perform that action at this time.
0 commit comments