From 9b00b0d34a4e950b9846b0ae3cb199c697c8728b Mon Sep 17 00:00:00 2001 From: ghaerdi Date: Wed, 25 May 2022 02:31:42 -0400 Subject: [PATCH] forgot to pin versions --- deps.ts | 5 +++-- run.json | 2 +- src/maven.ts | 6 ++---- src/merlin.ts | 4 +--- 4 files changed, 7 insertions(+), 10 deletions(-) diff --git a/deps.ts b/deps.ts index 793236c..e89353e 100644 --- a/deps.ts +++ b/deps.ts @@ -1,3 +1,4 @@ export * as pretty_benching from "https://deno.land/x/pretty_benching@v0.3.3/mod.ts"; -export * from "https://denopkg.com/crewdevio/Trex@proxy/proxy/files/testing.ts"; -export * as colors from "https://deno.land/std@0.113.0/fmt/colors.ts"; +export * as colors from "https://deno.land/std@0.140.0/fmt/colors.ts"; +export * as asserts from "https://deno.land/std@0.87.0/testing/asserts.ts"; +export * as bench from "https://deno.land/std@0.87.0/testing/bench.ts"; \ No newline at end of file diff --git a/run.json b/run.json index f44fff3..943b9cf 100644 --- a/run.json +++ b/run.json @@ -1,6 +1,6 @@ { "scripts": { - "test": "deno test -A --unstable --import-map=./import_map.json", + "test": "deno test -A --unstable", "log": "trex exec ghlog crewdevio/merlin" } } diff --git a/src/maven.ts b/src/maven.ts index 00c1e1e..3e45ebd 100644 --- a/src/maven.ts +++ b/src/maven.ts @@ -6,9 +6,7 @@ */ import type { Thresholds, Bench } from "./types.ts"; -import { pretty_benching } from "../deps.ts"; -import { colors } from "../deps.ts"; -import { bench } from "../deps.ts"; +import { pretty_benching, colors, bench } from "../deps.ts"; const { prettyBenchmarkProgress, prettyBenchmarkResult } = pretty_benching; @@ -94,7 +92,7 @@ export class Maven { prettyBenchmarkProgress({ indicators: Maven.runIndicator, thresholds: Maven.thresholds, - }), + }) ); } diff --git a/src/merlin.ts b/src/merlin.ts index 3a0615b..bea1afa 100644 --- a/src/merlin.ts +++ b/src/merlin.ts @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. */ -import { asserts } from "../deps.ts"; +import { asserts, colors } from "../deps.ts"; import type { ArrayContains, Asserts, @@ -21,8 +21,6 @@ import type { throws, } from "./types.ts"; -import { colors } from "../deps.ts"; - /** * testing framework for deno inspire in jest 🧙‍♂️ */