x/udd@0.7.3/test_deps.ts

Update Deno Dependencies - update dependency urls to their latest published versions
GitHub Stars
204
Latest
import { defaultAt, defaultVersion, RegistryUrl } from "./registry.ts";import { DenoLand } from "./registry.ts";
export { assert, assertEquals, assertThrows, assertThrowsAsync,} from "https://deno.land/std@0.80.0/testing/asserts.ts";
export class FakeRegistry implements RegistryUrl { url: string;
constructor(url: string) { this.url = url; }
// deno-lint-ignore require-await async all(): Promise<string[]> { return ["0.0.2", "0.0.1"]; }
at(version: string): RegistryUrl { const url = defaultAt(this, version); return new FakeRegistry(url); }
version(): string { return defaultVersion(this); }
regexp = /https?:\/\/fakeregistry.com\/[^\/\"\']*?\@[^\'\"]*/;}
export class FakeDenoLand extends DenoLand { // deno-lint-ignore require-await async all(): Promise<string[]> { return ["0.35.0", "0.34.0"]; }}