diff --git a/.github/workflows/deno-ci.yaml b/.github/workflows/deno-ci.yaml index 25f5174..b124178 100644 --- a/.github/workflows/deno-ci.yaml +++ b/.github/workflows/deno-ci.yaml @@ -13,10 +13,11 @@ jobs: strategy: matrix: deno-version: - - v1.11 - v1.14 - - v1.15 - v1.16 + - v1.18 + - v1.20 + - v1.22 - canary fail-fast: false # run each branch to completion diff --git a/README.md b/README.md index ce95f8e..239f75a 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,10 @@ Check out `lib/contract.ts` to see the type/API contract. ## Changelog +* `v0.4.0` on `2022-05-21`: + Updated deps to `/std@0.140.0`. + Now requires Deno v1.14 or later to pass typecheck. + * `v0.3.2` on `2021-11-28`: Fix another regression on modern Deno, related to client certificates. Or more exactly the lack thereof when running in-cluster. diff --git a/lib/kubeconfig.ts b/lib/kubeconfig.ts index 3906468..c30925c 100644 --- a/lib/kubeconfig.ts +++ b/lib/kubeconfig.ts @@ -5,8 +5,8 @@ * be relative to the file they were originally found in */ -import { join } from "https://deno.land/std@0.105.0/path/mod.ts"; -import * as YAML from "https://deno.land/std@0.105.0/encoding/yaml.ts"; +import { join } from "https://deno.land/std@0.140.0/path/mod.ts"; +import * as YAML from "https://deno.land/std@0.140.0/encoding/yaml.ts"; export class KubeConfig { constructor( diff --git a/transports/via-kubectl-raw.ts b/transports/via-kubectl-raw.ts index a198815..4cda47f 100644 --- a/transports/via-kubectl-raw.ts +++ b/transports/via-kubectl-raw.ts @@ -1,6 +1,6 @@ import { readableStreamFromReader, -} from "https://deno.land/std@0.105.0/io/streams.ts"; +} from "https://deno.land/std@0.140.0/streams/conversion.ts"; import { RestClient, RequestOptions, JSONValue } from '../lib/contract.ts'; import {