File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ export { parse as parseFlags } from "https://deno.land/std@0.177.0/flags/mod.ts" ;
12export * as http from "https://deno.land/std@0.177.0/http/server.ts" ;
23export * as file_server from "https://deno.land/std@0.177.0/http/file_server.ts" ;
34export {
@@ -9,6 +10,5 @@ export {
910
1011export * as entities from "https://deno.land/x/html_entities@v1.0/lib/xml-entities.js" ;
1112
12- // these are also imported in other places
1313export { SubProcess , type SubprocessErrorData } from "https://crux.land/4KsAxM#sub-process" ;
1414export { filesize } from "https://crux.land/6wZ5Sz#filesize@v1" ;
Original file line number Diff line number Diff line change @@ -2,14 +2,13 @@ import {
22 entities ,
33 readableStreamFromReader ,
44 readableStreamFromIterable ,
5+ SubProcess ,
6+ type SubprocessErrorData ,
57} from "../../deps.ts" ;
68
79import { templateHtml , makeErrorResponse , HtmlHeaders } from '../../lib/request-handling.ts' ;
810import { findModuleSlug , resolveModuleUrl } from "../../lib/resolve.ts" ;
9- import {
10- computeGraph , renderGraph ,
11- SubProcess , SubprocessErrorData ,
12- } from "./compute.ts" ;
11+ import { computeGraph , renderGraph } from "./compute.ts" ;
1312
1413export async function * handleRequest ( req : Request , modSlug : string , args : URLSearchParams ) {
1514 if ( modSlug == '' ) {
Original file line number Diff line number Diff line change 11#!/usr/bin/env -S deno run --allow-run=deno,dot
22
3- import * as Flags from "https://deno.land/std@0.177.0/flags/mod.ts" ;
4- const flags = Flags . parse ( Deno . args , {
3+ import { parseFlags } from "../../deps.ts" ;
4+ import { computeGraph , renderGraph } from "./compute.ts" ;
5+
6+ const flags = parseFlags ( Deno . args , {
57 alias : {
68 output : [ 'o' ] ,
79 } ,
@@ -11,8 +13,6 @@ if (flags._.length !== 1) {
1113 Deno . exit ( 4 ) ;
1214}
1315
14- import { computeGraph , renderGraph } from "./compute.ts" ;
15-
1616const modUrl = `${ flags . _ [ 0 ] } ` ;
1717if ( flags . output ) {
1818
Original file line number Diff line number Diff line change 1- import { SubProcess } from "https://crux.land/2isPVe#sub-process" ;
2- export { SubProcess } ;
3- export type { SubprocessErrorData } from "https://crux.land/2isPVe#sub-process" ;
4-
1+ import { SubProcess } from "../../deps.ts" ;
52import { DenoInfo } from "../../lib/types.ts" ;
63import { computeDependencies } from "../../lib/module-map.ts" ;
74
Original file line number Diff line number Diff line change 1- import { filesize } from "https://crux.land/6wZ5Sz#filesize@v1" ;
2-
1+ import { filesize } from "../deps.ts" ;
32import { CodeModule , DenoInfo , DenoModule } from "./types.ts" ;
43import * as registries from "./module-registries.ts" ;
54
You can’t perform that action at this time.
0 commit comments