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'
44import { compress } from 'https://deno.land/x/[email protected] /mod.ts' 55
66async 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]
0 commit comments