Skip to content

Commit 6a152b6

Browse files
committed
Update to Deno v1.16 and [email protected]
1 parent 991b2d5 commit 6a152b6

File tree

7 files changed

+21
-7
lines changed

7 files changed

+21
-7
lines changed

.dockerignore

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.github
2+
.git
3+
.dockerignore
4+
5+
Dockerfile
6+
7+
*.yaml
8+
*.md

.github/workflows/deno-ci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
deno-version:
1717
- v1.11
1818
- v1.13
19+
- v1.16
1920
- canary
2021
fail-fast: false # run each branch to completion
2122

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM denoland/deno:alpine-1.13.2
1+
FROM denoland/deno:alpine-1.16.4
22
RUN apk add --no-cache graphviz
33
ADD fonts/ /usr/share/fonts/truetype/
44

README.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Live @ https://deno-visualizer.danopia.net
66

77
This tool shows a Graphviz rendering of high-level module dependencies.
88

9-
The implementation is effectively similar to this shell pipeline:
9+
The implementation was initially represented by this shell pipeline:
1010

1111
```sh
1212
deno info --unstable --json -- "$moduleUrl" \
@@ -19,6 +19,11 @@ HTML and SVG renderings are the intended way of viewing the graph.
1919
In addition, the dot process can be removed to export raw JSON data from the computation phase.
2020
These are available as hyperlinks from the HTML output.
2121

22+
> Note: Over time, the above pipeline is being consolidated into a Deno-native module.
23+
> * `deno info` will be replaced with `/x/deno_graph` when Deno WASM is more mature and graph loading performance is comparable.
24+
> * `deno run` has been removed already (the JSON is processed in the main process now).
25+
> * `dot -Tsvg` might eventually be replaced with a WebAssembly build of GraphViz :) Font measuring will be a tricky point with that.
26+
2227
## Deploy
2328

2429
These are just notes for me :)

deps.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
export * as http from "https://deno.land/std@0.105.0/http/server.ts";
2-
export * as file_server from "https://deno.land/std@0.105.0/http/file_server.ts";
3-
export { readerFromIterable } from "https://deno.land/std@0.105.0/io/streams.ts";
1+
export * as http from "https://deno.land/std@0.115.0/http/server.ts";
2+
export * as file_server from "https://deno.land/std@0.115.0/http/file_server.ts";
3+
export { readerFromIterable } from "https://deno.land/std@0.115.0/io/streams.ts";
44

55
export * as entities from "https://deno.land/x/[email protected]/lib/xml-entities.js";
66

feat/dependencies-of/cli.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as Flags from "https://deno.land/std@0.105.0/flags/mod.ts";
1+
import * as Flags from "https://deno.land/std@0.115.0/flags/mod.ts";
22
const flags = Flags.parse(Deno.args, {
33
alias: {
44
output: ['o'],

lib/module-registries_test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { determineModuleBase, determineModuleLabel } from "./module-registries.ts";
2-
import { assertEquals } from "https://deno.land/std@0.105.0/testing/asserts.ts";
2+
import { assertEquals } from "https://deno.land/std@0.115.0/testing/asserts.ts";
33

44
Deno.test('gist', () => {
55
const gistBase = 'https://gist.githubusercontent.com/danopia/d8b92fdbaa146133dac74a248e62d761/raw/bf5074703f24fee4c2f08577908115f2a6ffff6a';

0 commit comments

Comments
 (0)