Skip to content

Commit 508ea8b

Browse files
authored
chore: update to Deno 1.4.0 and std 0.69.0 (#6)
1 parent 99b56cd commit 508ea8b

4 files changed

Lines changed: 8 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,13 @@ on:
88

99
jobs:
1010
test:
11-
name: test-${{ matrix.deno-version }}-${{ matrix.unstable && 'unstable' || 'stable' }}
11+
name: build-${{ matrix.deno-version == 'nightly' && 'nightly' || 'release' }}-${{ matrix.unstable && 'unstable' || 'stable' }}-${{ matrix.no-check && 'nocheck' || 'tsc' }}
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
deno-version: [v1.3.3, nightly]
15+
deno-version: [v1.4.0, nightly]
1616
unstable: [false, true]
17+
no-check: [false, true]
1718
env:
1819
AWS_ACCESS_KEY_ID: AKIAIOSFODNN7EXAMPLE
1920
AWS_SECRET_ACCESS_KEY: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
@@ -37,4 +38,4 @@ jobs:
3738
aws --endpoint-url "http://localhost:9000" s3 mb s3://test
3839
3940
- name: Test
40-
run: deno test --allow-net --allow-env ${{ matrix.unstable && '--unstable' || '' }}
41+
run: deno test --allow-net --allow-env${{ matrix.unstable && ' --unstable' || '' }}${{ matrix.no-check && ' --no-check' || '' }}

deps.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
export { AWSSignerV4 } from "https://deno.land/x/aws_sign_v4@0.1.0/mod.ts";
2-
import { createHash } from "https://deno.land/std@0.68.0/hash/mod.ts";
1+
export { AWSSignerV4 } from "https://deno.land/x/aws_sign_v4@0.1.1/mod.ts";
2+
import { createHash } from "https://deno.land/std@0.69.0/hash/mod.ts";
33
export function sha256Hex(data: string | Uint8Array): string {
44
const hasher = createHash("sha256");
55
hasher.update(data);

src/bucket.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { AWSSignerV4, sha256Hex } from "../deps.ts";
2-
import { S3Config } from "./client.ts";
2+
import type { S3Config } from "./client.ts";
33
import type {
44
GetObjectOptions,
55
PutObjectOptions,

test_deps.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ export {
22
assert,
33
assertEquals,
44
assertThrowsAsync,
5-
} from "https://deno.land/std@0.68.0/testing/asserts.ts";
5+
} from "https://deno.land/std@0.69.0/testing/asserts.ts";

0 commit comments

Comments
 (0)