From c6f1107e9c8835389479f4f2d80d3539d23df41e Mon Sep 17 00:00:00 2001 From: Asher Gomez Date: Thu, 11 Apr 2024 07:26:35 +1000 Subject: chore: update references to `deno_std` to use JSR (#23239) There are more uses of `deno.land/std` in the codebase, but for URL parsing purposes rather than network calls or documentation. --- .github/workflows/ci.generate.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/ci.generate.ts b/.github/workflows/ci.generate.ts index 1aae3dea7..17c14a9b2 100755 --- a/.github/workflows/ci.generate.ts +++ b/.github/workflows/ci.generate.ts @@ -1,6 +1,6 @@ #!/usr/bin/env -S deno run --allow-write=. --lock=./tools/deno.lock.json // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. -import * as yaml from "https://deno.land/std@0.173.0/encoding/yaml.ts"; +import { stringify } from "jsr:@std/yaml@^0.221/stringify"; // Bump this number when you want to purge the cache. // Note: the tools/release/01_bump_crate_versions.ts script will update this version @@ -1091,7 +1091,7 @@ const ci = { export function generate() { let finalText = `# GENERATED BY ./ci.generate.ts -- DO NOT DIRECTLY EDIT\n\n`; - finalText += yaml.stringify(ci, { + finalText += stringify(ci, { noRefs: true, lineWidth: 10_000, noCompatMode: true, -- cgit v1.2.3