diff --git a/deno/basic_test.ts b/deno/basic_test.ts index adc300189..5aa566ed1 100644 --- a/deno/basic_test.ts +++ b/deno/basic_test.ts @@ -1,12 +1,12 @@ -import { assertEquals } from "https://deno.land/std@0.89.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.128.0/testing/asserts.ts"; import { Project } from "./mod.ts"; // todo: Eventually all tests run for the node package should also be run for Deno Deno.test("ts-morph basic tests", () => { - const project = new Project({ useInMemoryFileSystem: true }); - const sourceFile = project.createSourceFile("test.ts", "class T {\n}"); - sourceFile.addClass({ - name: "Other", - }); - assertEquals(sourceFile.getText(), `class T {\n}\n\nclass Other {\n}\n`); + const project = new Project({ useInMemoryFileSystem: true }); + const sourceFile = project.createSourceFile("test.ts", "class T {\n}"); + sourceFile.addClass({ + name: "Other", + }); + assertEquals(sourceFile.getText(), `class T {\n}\n\nclass Other {\n}\n`); }); diff --git a/deno/bootstrap/basic_test.ts b/deno/bootstrap/basic_test.ts index c30b5ec16..e40261b44 100644 --- a/deno/bootstrap/basic_test.ts +++ b/deno/bootstrap/basic_test.ts @@ -1,9 +1,9 @@ -import { assertEquals } from "https://deno.land/std@0.89.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.128.0/testing/asserts.ts"; import { createProjectSync } from "./mod.ts"; // todo: Eventually all tests run for the node package should also be run for Deno Deno.test("bootstrap general tests", () => { - const project = createProjectSync({ useInMemoryFileSystem: true }); - const sourceFile = project.createSourceFile("test.ts", "class T {\n}\n"); - assertEquals(sourceFile.statements[0].getText(), `class T {\n}`); + const project = createProjectSync({ useInMemoryFileSystem: true }); + const sourceFile = project.createSourceFile("test.ts", "class T {\n}\n"); + assertEquals(sourceFile.statements[0].getText(), `class T {\n}`); }); diff --git a/deno/common/DenoRuntime.ts b/deno/common/DenoRuntime.ts index c6ada4616..2b1592fb7 100644 --- a/deno/common/DenoRuntime.ts +++ b/deno/common/DenoRuntime.ts @@ -1,6 +1,6 @@ -import { ensureDir, ensureDirSync } from "https://deno.land/std@0.106.0/fs/ensure_dir.ts"; -import { expandGlob, expandGlobSync } from "https://deno.land/std@0.106.0/fs/expand_glob.ts"; -import * as stdPath from "https://deno.land/std@0.106.0/path/mod.ts"; +import { ensureDir, ensureDirSync } from "https://deno.land/std@0.128.0/fs/ensure_dir.ts"; +import { expandGlob, expandGlobSync } from "https://deno.land/std@0.128.0/fs/expand_glob.ts"; +import * as stdPath from "https://deno.land/std@0.128.0/path/mod.ts"; export class DenoRuntime { fs = new DenoRuntimeFileSystem(); diff --git a/packages/common/src/runtimes/DenoRuntime.ts b/packages/common/src/runtimes/DenoRuntime.ts index ddaf8cbaf..104c9e9cc 100644 --- a/packages/common/src/runtimes/DenoRuntime.ts +++ b/packages/common/src/runtimes/DenoRuntime.ts @@ -1,9 +1,9 @@ // @ts-ignore -import { ensureDir, ensureDirSync } from "https://deno.land/std@0.106.0/fs/ensure_dir.ts"; +import { ensureDir, ensureDirSync } from "https://deno.land/std@0.128.0/fs/ensure_dir.ts"; // @ts-ignore -import { expandGlob, expandGlobSync } from "https://deno.land/std@0.106.0/fs/expand_glob.ts"; +import { expandGlob, expandGlobSync } from "https://deno.land/std@0.128.0/fs/expand_glob.ts"; // @ts-ignore -import * as stdPath from "https://deno.land/std@0.106.0/path/mod.ts"; +import * as stdPath from "https://deno.land/std@0.128.0/path/mod.ts"; declare var Deno: any; diff --git a/packages/scripts/deps.ts b/packages/scripts/deps.ts index 3419af904..22774eff7 100644 --- a/packages/scripts/deps.ts +++ b/packages/scripts/deps.ts @@ -1,2 +1,2 @@ -export * as path from "https://deno.land/std@0.114.0/path/mod.ts"; +export * as path from "https://deno.land/std@0.128.0/path/mod.ts"; export * as tsMorph from "https://deno.land/x/ts_morph@13.0.2/mod.ts";