Skip to content

Commit

Permalink
chore: upgrade to deno_std 0.140
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret committed May 21, 2022
1 parent 0d043b5 commit dfa589b
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
npx lerna run test:ci
npx lerna run test:ts-versions
- name: Deno Test
run: deno test --allow-read --unstable deno
run: deno test --allow-read deno
- name: Code Verification
run: |
npx lerna run code-verification
2 changes: 1 addition & 1 deletion deno/basic_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { assertEquals } from "https://deno.land/std@0.128.0/testing/asserts.ts";
import { assertEquals } from "https://deno.land/std@0.140.0/testing/asserts.ts";
import { Project } from "./mod.ts";

// todo: Eventually all tests run for the node package should also be run for Deno
Expand Down
2 changes: 1 addition & 1 deletion deno/bootstrap/basic_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { assertEquals } from "https://deno.land/std@0.128.0/testing/asserts.ts";
import { assertEquals } from "https://deno.land/std@0.140.0/testing/asserts.ts";
import { createProjectSync } from "./mod.ts";

// todo: Eventually all tests run for the node package should also be run for Deno
Expand Down
6 changes: 3 additions & 3 deletions deno/common/DenoRuntime.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
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";
import { ensureDir, ensureDirSync } from "https://deno.land/std@0.140.0/fs/ensure_dir.ts";
import { expandGlob, expandGlobSync } from "https://deno.land/std@0.140.0/fs/expand_glob.ts";
import * as stdPath from "https://deno.land/std@0.140.0/path/mod.ts";

export class DenoRuntime {
fs = new DenoRuntimeFileSystem();
Expand Down
6 changes: 3 additions & 3 deletions packages/common/src/runtimes/DenoRuntime.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// @ts-ignore
import { ensureDir, ensureDirSync } from "https://deno.land/std@0.128.0/fs/ensure_dir.ts";
import { ensureDir, ensureDirSync } from "https://deno.land/std@0.140.0/fs/ensure_dir.ts";
// @ts-ignore
import { expandGlob, expandGlobSync } from "https://deno.land/std@0.128.0/fs/expand_glob.ts";
import { expandGlob, expandGlobSync } from "https://deno.land/std@0.140.0/fs/expand_glob.ts";
// @ts-ignore
import * as stdPath from "https://deno.land/std@0.128.0/path/mod.ts";
import * as stdPath from "https://deno.land/std@0.140.0/path/mod.ts";

declare var Deno: any;

Expand Down
2 changes: 1 addition & 1 deletion packages/scripts/deps.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export * as path from "https://deno.land/std@0.128.0/path/mod.ts";
export * as path from "https://deno.land/std@0.140.0/path/mod.ts";
export * as tsMorph from "https://deno.land/x/ts_morph@14.0.0/mod.ts";

0 comments on commit dfa589b

Please sign in to comment.