Skip to content

Commit

Permalink
Fix regression
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexagon committed Jun 1, 2024
1 parent 1cbe7c9 commit 6f1e8b1
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.0.0] - 2024-06-01
## [2.0.1] - 2024-06-01

### Added
- Fix regression; `Deno version` -> `Runtime`

## [2.0.0] - 2024-06-01

- Bumped major version, breaking changes in Pup api client

Expand Down
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pup/plugin-web-interface",
"version": "2.0.0",
"version": "2.0.1",
"exports": {
".": "./mod.ts"
},
Expand Down
2 changes: 1 addition & 1 deletion static/bundle.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion static/js/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ async function updateInstance(instanceDataIn, processDataIn) {
"#pup-memory-usage",
formatBytes(instanceData.memory.rss, true),
);
setTextContentBySelector("#pup-deno-version", instanceData.denoVersion.deno);
setTextContentBySelector("#pup-runtime", instanceData.runtime);
setTextContentBySelector("#pup-version", instanceData.version);
const uptime = new Date() - new Date(instanceData.started);
setTextContentBySelector("#pup-uptime", formatTime(uptime / 1000));
Expand Down
4 changes: 2 additions & 2 deletions static/web-interface.html
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ <h1>PUP</h1>
<td><span id="pup-uptime" class="strong"></span></td>
</tr>
<tr>
<td>Deno version</td>
<td><span id="pup-deno-version" class="strong"></span></td>
<td>Runtime</td>
<td><span id="pup-runtime" class="strong"></span></td>
</tr>
<tr>
<td>Pup version</td>
Expand Down

0 comments on commit 6f1e8b1

Please sign in to comment.