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

Commit a2db49a

Browse files
committed
Upgrade std to 0.96
1 parent f3b79d8 commit a2db49a

File tree

23 files changed

+53
-53
lines changed

23 files changed

+53
-53
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.94.0/path/mod.ts'
1+
import { join } from 'https://deno.land/std@0.96.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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { dirname, join } from 'https://deno.land/std@0.94.0/path/mod.ts'
2-
import { ensureDir } from 'https://deno.land/std@0.94.0/fs/ensure_dir.ts'
1+
import { dirname, join } from 'https://deno.land/std@0.96.0/path/mod.ts'
2+
import { ensureDir } from 'https://deno.land/std@0.96.0/fs/ensure_dir.ts'
33
import { transform } from '../compiler/mod.ts'
44
import { trimModuleExt } from '../framework/core/module.ts'
55
import { ensureTextFile, existsFile, lazyRemove } from '../shared/fs.ts'

cli.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { resolve } from 'https://deno.land/std@0.94.0/path/mod.ts'
2-
import { parse } from 'https://deno.land/std@0.94.0/flags/mod.ts'
1+
import { resolve } from 'https://deno.land/std@0.96.0/path/mod.ts'
2+
import { parse } from 'https://deno.land/std@0.96.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'

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.94.0/archive/tar.ts'
2-
import { green, dim } from 'https://deno.land/std@0.94.0/fmt/colors.ts'
3-
import { ensureDir } from 'https://deno.land/std@0.94.0/fs/ensure_dir.ts'
4-
import { join } from 'https://deno.land/std@0.94.0/path/mod.ts'
1+
import { Untar } from 'https://deno.land/std@0.96.0/archive/tar.ts'
2+
import { green, dim } from 'https://deno.land/std@0.96.0/fmt/colors.ts'
3+
import { ensureDir } from 'https://deno.land/std@0.96.0/fs/ensure_dir.ts'
4+
import { join } from 'https://deno.land/std@0.96.0/path/mod.ts'
55
import { gunzip } 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.94.0/fmt/colors.ts'
2-
import { dirname, join } from 'https://deno.land/std@0.94.0/path/mod.ts'
3-
import { existsSync } from 'https://deno.land/std@0.94.0/fs/exists.ts'
1+
import { red } from 'https://deno.land/std@0.96.0/fmt/colors.ts'
2+
import { dirname, join } from 'https://deno.land/std@0.96.0/path/mod.ts'
3+
import { existsSync } from 'https://deno.land/std@0.96.0/fs/exists.ts'
44
import { VERSION } from '../version.ts'
55

66
export const helpMessage = `

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.94.0/encoding/base64.ts'
2-
import { ensureDir } from 'https://deno.land/std@0.94.0/fs/ensure_dir.ts'
3-
import { createHash } from 'https://deno.land/std@0.94.0/hash/mod.ts'
1+
import { encode } from 'https://deno.land/std@0.96.0/encoding/base64.ts'
2+
import { ensureDir } from 'https://deno.land/std@0.96.0/fs/ensure_dir.ts'
3+
import { createHash } from 'https://deno.land/std@0.96.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.94.0/encoding/base64.ts";`,
28+
`import { decode } from "https://deno.land/std@0.96.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.94.0/fmt/colors.ts';` + wasmPackJS.replace('console.error(getStringFromWasm0(arg0, arg1));', `
40+
`import { red } from 'https://deno.land/std@0.96.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.94.0/path/mod.ts'
2-
import { ensureDir } from 'https://deno.land/std@0.94.0/fs/ensure_dir.ts'
1+
import { join } from 'https://deno.land/std@0.96.0/path/mod.ts'
2+
import { ensureDir } from 'https://deno.land/std@0.96.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.ts'

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.94.0/path/mod.ts'
1+
import { dirname } from 'https://deno.land/std@0.96.0/path/mod.ts'
22
import { getAlephPkgUri, toRelativePath, toLocalPath } from '../../server/helper.ts'
33
import type { ServerApplication } from '../../types.ts'
44

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.94.0/",
3+
"std/": "https://deno.land/std@0.96.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",

install.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { parse } from 'https://deno.land/std@0.94.0/flags/mod.ts'
1+
import { parse } from 'https://deno.land/std@0.96.0/flags/mod.ts'
22
import upgrade from './cli/upgrade.ts'
33

44
if (import.meta.main) {

0 commit comments

Comments
 (0)