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

Commit 9217227

Browse files
committed
Upgrade std to 0.106.0
1 parent 5adb1fc commit 9217227

File tree

21 files changed

+55
-55
lines changed

21 files changed

+55
-55
lines changed

bundler/esbuild.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { join } from 'https://deno.land/std@0.100.0/path/mod.ts'
1+
import { join } from 'https://deno.land/std@0.106.0/path/mod.ts'
22
import { cache } from '../server/cache.ts'
33
import util from '../shared/util.ts'
44
// @deno-types="https://deno.land/x/[email protected]/mod.d.ts"

bundler/mod.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { dirname, join } from 'https://deno.land/std@0.100.0/path/mod.ts'
2-
import { ensureDir } from 'https://deno.land/std@0.100.0/fs/ensure_dir.ts'
3-
import { createHash } from 'https://deno.land/std@0.100.0/hash/mod.ts'
1+
import { dirname, join } from 'https://deno.land/std@0.106.0/path/mod.ts'
2+
import { ensureDir } from 'https://deno.land/std@0.106.0/fs/ensure_dir.ts'
3+
import { createHash } from 'https://deno.land/std@0.106.0/hash/mod.ts'
44
import { SourceType, transform } from '../compiler/mod.ts'
55
import { trimBuiltinModuleExts } from '../framework/core/module.ts'
66
import { cssLoader } from '../plugins/css.ts'

cli.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { resolve } from 'https://deno.land/std@0.100.0/path/mod.ts'
2-
import { parse } from 'https://deno.land/std@0.100.0/flags/mod.ts'
1+
import { resolve } from 'https://deno.land/std@0.106.0/path/mod.ts'
2+
import { parse } from 'https://deno.land/std@0.106.0/flags/mod.ts'
33
import { existsDir } from './shared/fs.ts'
44
import log, { LevelNames } from './shared/log.ts'
55
import util from './shared/util.ts'
@@ -24,10 +24,9 @@ Usage:
2424
aleph <command> [...options]
2525
2626
Commands:
27-
${
28-
Object.entries(commands).map(([name, desc]) => `${name.padEnd(15)}${desc}`)
29-
.join('\n ')
30-
}
27+
${Object.entries(commands).map(([name, desc]) => `${name.padEnd(15)}${desc}`)
28+
.join('\n ')
29+
}
3130
3231
Options:
3332
-v, --version Prints version number

commands/analyze.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { serve } from 'https://deno.land/std@0.100.0/http/server.ts'
1+
import { serve } from 'https://deno.land/std@0.106.0/http/server.ts'
22
import { Aleph } from '../server/aleph.ts'
33
import { getFlag, parsePortNumber } from '../shared/flags.ts'
44
import log from '../shared/log.ts'

commands/init.ts

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import { Untar } from 'https://deno.land/std@0.100.0/archive/tar.ts'
2-
import { Buffer } from 'https://deno.land/std@0.100.0/io/buffer.ts'
3-
import { readAll } from 'https://deno.land/std@0.100.0/io/util.ts'
4-
import { green, blue, dim, red, cyan } from 'https://deno.land/std@0.100.0/fmt/colors.ts'
5-
import { ensureDir } from 'https://deno.land/std@0.100.0/fs/ensure_dir.ts'
6-
import { join } from 'https://deno.land/std@0.100.0/path/mod.ts'
1+
import { Untar } from 'https://deno.land/std@0.106.0/archive/tar.ts'
2+
import { Buffer } from 'https://deno.land/std@0.106.0/io/buffer.ts'
3+
import { readAll } from 'https://deno.land/std@0.106.0/io/util.ts'
4+
import { green, blue, dim, red, cyan } from 'https://deno.land/std@0.106.0/fmt/colors.ts'
5+
import { ensureDir } from 'https://deno.land/std@0.106.0/fs/ensure_dir.ts'
6+
import { join } from 'https://deno.land/std@0.106.0/path/mod.ts'
77
import { gunzip } from 'https://deno.land/x/[email protected]/mod.ts'
88
import { ensureTextFile, existsDir } from '../shared/fs.ts'
99
import util from '../shared/util.ts'
@@ -52,6 +52,7 @@ export default async function (
5252

5353
// ask to create vscode files
5454
const vscode = await confirm('Using VS Code?')
55+
const vercel = await confirm('Deploy to Vercel?')
5556

5657
// download template
5758
console.log('Downloading template. This might take a moment...')

compiler/build.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import { dim } from 'https://deno.land/std@0.100.0/fmt/colors.ts'
2-
import { encode } from 'https://deno.land/std@0.100.0/encoding/base64.ts'
3-
import { exists } from 'https://deno.land/std@0.100.0/fs/exists.ts'
4-
import { ensureDir } from 'https://deno.land/std@0.100.0/fs/ensure_dir.ts'
5-
import { createHash } from 'https://deno.land/std@0.100.0/hash/mod.ts'
1+
import { dim } from 'https://deno.land/std@0.106.0/fmt/colors.ts'
2+
import { encode } from 'https://deno.land/std@0.106.0/encoding/base64.ts'
3+
import { exists } from 'https://deno.land/std@0.106.0/fs/exists.ts'
4+
import { ensureDir } from 'https://deno.land/std@0.106.0/fs/ensure_dir.ts'
5+
import { createHash } from 'https://deno.land/std@0.106.0/hash/mod.ts'
66
import { compress } from 'https://deno.land/x/[email protected]/mod.ts'
77
import util from '../shared/util.ts'
88

@@ -31,7 +31,7 @@ if (import.meta.main) {
3131
await Deno.writeTextFile(
3232
'./dist/wasm.js',
3333
[
34-
`import { decode } from "https://deno.land/std@0.100.0/encoding/base64.ts";`,
34+
`import { decode } from "https://deno.land/std@0.106.0/encoding/base64.ts";`,
3535
`import { decompress } from "https://deno.land/x/[email protected]/mod.ts";`,
3636
`const dataRaw = "${encode(compress(wasmData))}";`,
3737
`export default () => decompress(decode(dataRaw));`
@@ -43,7 +43,7 @@ if (import.meta.main) {
4343
)
4444
await Deno.writeTextFile(
4545
'./dist/compiler.js',
46-
`import { red } from 'https://deno.land/std@0.100.0/fmt/colors.ts';` + jsCode.replace('console.error(getStringFromWasm0(arg0, arg1));', `
46+
`import { red } from 'https://deno.land/std@0.106.0/fmt/colors.ts';` + jsCode.replace('console.error(getStringFromWasm0(arg0, arg1));', `
4747
const msg = getStringFromWasm0(arg0, arg1);
4848
if (msg.includes('DiagnosticBuffer(["')) {
4949
const diagnostic = msg.split('DiagnosticBuffer(["')[1].split('"])')[0]

compiler/dist/compiler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { red } from "https://deno.land/std@0.100.0/fmt/colors.ts";
1+
import { red } from "https://deno.land/std@0.106.0/fmt/colors.ts";
22
let wasm;
33

44
let cachedTextDecoder = new TextDecoder("utf-8", {

compiler/dist/wasm.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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.100.0/path/mod.ts'
2-
import { ensureDir } from 'https://deno.land/std@0.100.0/fs/ensure_dir.ts'
1+
import { join } from 'https://deno.land/std@0.106.0/path/mod.ts'
2+
import { ensureDir } from 'https://deno.land/std@0.106.0/fs/ensure_dir.ts'
33
import { existsFile } from '../shared/fs.ts'
44
import { Measure } from '../shared/log.ts'
55
import type { ImportMap } from '../types.d.ts'

import_map.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"aleph/types": "./types.d.ts",
55
"aleph/web": "./framework/core/mod.ts",
66
"aleph/react": "./framework/react/mod.ts",
7-
"std/": "https://deno.land/std@0.100.0/",
7+
"std/": "https://deno.land/std@0.106.0/",
88
"react": "https://esm.sh/[email protected]",
99
"react-dom": "https://esm.sh/[email protected]"
1010
}

0 commit comments

Comments
 (0)