Deps upgrade

This commit is contained in:
Michaël Lemaire 2021-08-16 18:15:01 +02:00
parent 9c8aa11dea
commit 75487c3278
5 changed files with 16 additions and 12 deletions

4
deps.server.ts Normal file
View file

@ -0,0 +1,4 @@
export { readAll } from "https://deno.land/std@0.104.0/io/util.ts";
export { json, opine } from "https://deno.land/x/opine@1.7.2/mod.ts";
export { opineCors } from "https://deno.land/x/cors@v1.2.2/mod.ts";

7
deps.testing.ts Normal file
View file

@ -0,0 +1,7 @@
export {
describe,
expect,
it,
} from "https://js.thunderk.net/devtools@1.3.0/testing.ts";
export { getAvailablePort } from "https://deno.land/x/port@1.0.0/mod.ts";

View file

@ -1,4 +1 @@
export { v1 as uuid1 } from "https://deno.land/std@0.99.0/uuid/mod.ts";
export { json, opine } from "https://deno.land/x/opine@1.5.3/mod.ts";
export { opineCors } from "https://deno.land/x/cors@v1.2.2/mod.ts";
export { readAll } from "https://deno.land/std@0.99.0/io/util.ts";
export { v1 as uuid1 } from "https://deno.land/std@0.104.0/uuid/mod.ts";

View file

@ -1,6 +1,6 @@
#!./run
import { KeyValueStorage } from "./basic.ts";
import { json, opine, opineCors, readAll } from "./deps.ts";
import { json, opine, opineCors, readAll } from "./deps.server.ts";
import { getLocalStorage } from "./mod.ts";
import { HEADER_REPLYIER, HEADER_REQUESTER } from "./remote.ts";

View file

@ -1,12 +1,8 @@
import { expect } from "https://code.thunderk.net/typescript/devtools/raw/1.2.2/testing.ts";
import { getAvailablePort } from "https://deno.land/x/port@1.0.0/mod.ts";
import { KeyValueStorage, MemoryStorage } from "./basic.ts";
import { startRestServer } from "./server.ts";
export {
describe,
expect,
it,
} from "https://code.thunderk.net/typescript/devtools/raw/1.2.2/testing.ts";
import { describe, expect, getAvailablePort, it } from "./deps.testing.ts";
export { describe, expect, it };
/**
* Basic high-level test suite for any kind storage