Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit 63aeaa4

Browse files
committed
Upgrade std deps to 0.92
1 parent 5b81571 commit 63aeaa4

File tree

21 files changed

+51
-51
lines changed

21 files changed

+51
-51
lines changed

bundler/mod.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { dim } from 'https://deno.land/std@0.90.0/fmt/colors.ts'
2-
import * as path from 'https://deno.land/std@0.90.0/path/mod.ts'
3-
import { ensureDir } from 'https://deno.land/std@0.90.0/fs/ensure_dir.ts'
1+
import { dim } from 'https://deno.land/std@0.92.0/fmt/colors.ts'
2+
import * as path from 'https://deno.land/std@0.92.0/path/mod.ts'
3+
import { ensureDir } from 'https://deno.land/std@0.92.0/fs/ensure_dir.ts'
44
import { parseExportNames, transform } from '../compiler/mod.ts'
55
import { trimModuleExt } from '../framework/core/module.ts'
66
import { ensureTextFile, existsFileSync, lazyRemove } from '../shared/fs.ts'

cli.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { resolve, basename } from 'https://deno.land/std@0.90.0/path/mod.ts'
2-
import { walk } from 'https://deno.land/std@0.90.0/fs/walk.ts'
3-
import { parse } from 'https://deno.land/std@0.90.0/flags/mod.ts'
1+
import { resolve, basename } from 'https://deno.land/std@0.92.0/path/mod.ts'
2+
import { walk } from 'https://deno.land/std@0.92.0/fs/walk.ts'
3+
import { parse } from 'https://deno.land/std@0.92.0/flags/mod.ts'
44
import { existsDirSync } from './shared/fs.ts'
55
import type { LevelNames } from './shared/log.ts'
66
import log from './shared/log.ts'

cli/init.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { Untar } from 'https://deno.land/std@0.90.0/archive/tar.ts'
2-
import { green, dim } from 'https://deno.land/std@0.90.0/fmt/colors.ts'
3-
import { ensureDir } from 'https://deno.land/std@0.90.0/fs/ensure_dir.ts'
4-
import { join } from 'https://deno.land/std@0.90.0/path/mod.ts'
1+
import { Untar } from 'https://deno.land/std@0.92.0/archive/tar.ts'
2+
import { green, dim } from 'https://deno.land/std@0.92.0/fmt/colors.ts'
3+
import { ensureDir } from 'https://deno.land/std@0.92.0/fs/ensure_dir.ts'
4+
import { join } from 'https://deno.land/std@0.92.0/path/mod.ts'
55
import { gzipDecode } from 'https://deno.land/x/[email protected]/mod.ts'
66
import { ensureTextFile } from '../shared/fs.ts'
77
import util from '../shared/util.ts'

cli/upgrade.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { red } from 'https://deno.land/std@0.90.0/fmt/colors.ts'
2-
import { dirname, join } from 'https://deno.land/std@0.90.0/path/mod.ts'
3-
import { existsSync } from 'https://deno.land/std@0.90.0/fs/exists.ts'
1+
import { red } from 'https://deno.land/std@0.92.0/fmt/colors.ts'
2+
import { dirname, join } from 'https://deno.land/std@0.92.0/path/mod.ts'
3+
import { existsSync } from 'https://deno.land/std@0.92.0/fs/exists.ts'
44
import { VERSION } from '../version.ts'
55

66
const versionMetaUrl = 'https://cdn.deno.land/aleph/meta/versions.json'

compiler/benchmark.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { compile, CompileOptions } from 'https://deno.land/x/[email protected]/tsc/compile.ts'
2-
import { walk } from 'https://deno.land/std@0.90.0/fs/walk.ts'
3-
import { resolve } from 'https://deno.land/std@0.90.0/path/mod.ts'
4-
import { green, red, yellow } from 'https://deno.land/std@0.90.0/fmt/colors.ts'
5-
import { createHash } from 'https://deno.land/std@0.90.0/hash/mod.ts'
2+
import { walk } from 'https://deno.land/std@0.92.0/fs/walk.ts'
3+
import { resolve } from 'https://deno.land/std@0.92.0/path/mod.ts'
4+
import { green, red, yellow } from 'https://deno.land/std@0.92.0/fmt/colors.ts'
5+
import { createHash } from 'https://deno.land/std@0.92.0/hash/mod.ts'
66
import init, { transformSync } from './dist/wasm-pack.js'
77
import getWasmData from './dist/wasm.js'
88

compiler/build.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { encode } from 'https://deno.land/std@0.90.0/encoding/base64.ts'
2-
import { ensureDir } from 'https://deno.land/std@0.90.0/fs/ensure_dir.ts'
3-
import { createHash } from 'https://deno.land/std@0.90.0/hash/mod.ts'
1+
import { encode } from 'https://deno.land/std@0.92.0/encoding/base64.ts'
2+
import { ensureDir } from 'https://deno.land/std@0.92.0/fs/ensure_dir.ts'
3+
import { createHash } from 'https://deno.land/std@0.92.0/hash/mod.ts'
44
import { compress } from 'https://deno.land/x/[email protected]/mod.ts'
55

66
async function run(cmd: string[]) {
@@ -25,7 +25,7 @@ if (import.meta.main) {
2525
await Deno.writeTextFile(
2626
'./dist/wasm.js',
2727
[
28-
`import { decode } from "https://deno.land/std@0.90.0/encoding/base64.ts";`,
28+
`import { decode } from "https://deno.land/std@0.92.0/encoding/base64.ts";`,
2929
`import { decompress } from "https://deno.land/x/[email protected]/mod.ts";`,
3030
`const dataRaw = "${dataBase64}";`,
3131
`export default () => decompress(decode(dataRaw));`
@@ -37,7 +37,7 @@ if (import.meta.main) {
3737
)
3838
await Deno.writeTextFile(
3939
'./dist/wasm-pack.js',
40-
`import { red } from 'https://deno.land/std@0.90.0/fmt/colors.ts';` + wasmPackJS.replace('console.error(getStringFromWasm0(arg0, arg1));', `
40+
`import { red } from 'https://deno.land/std@0.92.0/fmt/colors.ts';` + wasmPackJS.replace('console.error(getStringFromWasm0(arg0, arg1));', `
4141
const msg = getStringFromWasm0(arg0, arg1);
4242
if (msg.includes('DiagnosticBuffer(["')) {
4343
const diagnostic = msg.split('DiagnosticBuffer(["')[1].split('"])')[0]

compiler/mod.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { join } from 'https://deno.land/std@0.90.0/path/mod.ts'
2-
import { ensureDir } from 'https://deno.land/std@0.90.0/fs/ensure_dir.ts'
1+
import { join } from 'https://deno.land/std@0.92.0/path/mod.ts'
2+
import { ensureDir } from 'https://deno.land/std@0.92.0/fs/ensure_dir.ts'
33
import { existsFileSync } from '../shared/fs.ts'
44
import log from '../shared/log.ts'
55
import { VERSION } from '../version.ts'

framework/core/module_test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
import { assertEquals, assertThrows } from 'https://deno.land/std@0.90.0/testing/asserts.ts'
2+
import { assertEquals, assertThrows } from 'https://deno.land/std@0.92.0/testing/asserts.ts'
33
import { trimModuleExt, toPagePath, importModule } from './module.ts'
44

55
// Augment the window object

framework/react/init.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { dirname } from 'https://deno.land/std@0.90.0/path/mod.ts'
1+
import { dirname } from 'https://deno.land/std@0.92.0/path/mod.ts'
22
import { getAlephPkgUri, getRelativePath, toLocalUrl } from '../../server/helper.ts'
33
import util from '../../shared/util.ts'
44
import type { ServerApplication } from '../../types.ts'

import_map.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"imports": {
3-
"std/": "https://deno.land/std@0.90.0/",
3+
"std/": "https://deno.land/std@0.92.0/",
44
"aleph/": "https://deno.land/x/[email protected]/",
55
"framework": "https://deno.land/x/[email protected]/framework/core/mod.ts",
66
"framework/react": "https://deno.land/x/[email protected]/framework/react/mod.ts",

0 commit comments

Comments
 (0)