Skip to content

Commit 807c6bd

Browse files
committed
chore: bump hotpath -> 0.4.1
1 parent f3635ff commit 807c6bd

File tree

6 files changed

+18
-24
lines changed

6 files changed

+18
-24
lines changed

Cargo.lock

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ authors = ["the Andromeda team"]
77
edition = "2024"
88
license = "Mozilla Public License 2.0"
99
repository = "https://github.com/tryandromeda/andromeda"
10-
version = "0.1.0-draft48"
10+
version = "0.1.0-draft49"
1111

1212
[workspace.dependencies]
1313
andromeda-core = { path = "core" }
@@ -31,7 +31,7 @@ dprint-plugin-json = "0.20.0"
3131
env_logger = "0.11.8"
3232
futures = "0.3.31"
3333
glob = "0.3.3"
34-
hotpath = { version = "0.3.1" }
34+
hotpath = { version = "0.4.1" }
3535
indexmap = "2.11.4"
3636
image = "0.25.8"
3737
lazy_static = "1.5.0"
@@ -40,7 +40,7 @@ libffi = "4.1.2"
4040
libsui = "0.10.0"
4141
log = "0.4.28"
4242
lsp-types = "0.97.0"
43-
nova_vm = { git = "https://github.com/trynova/nova", rev = "81774d30bd814d8b7ea050e252557890f76c9b69", features = [
43+
nova_vm = { git = "https://github.com/trynova/nova", rev = "cf2e8ea9a5a4cb0d70d9723e4b42ed7131026bcf", features = [
4444
"typescript",
4545
"annex-b",
4646
"proposals"

cli/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ readme = "../README.md"
1212
default = []
1313
hotpath = ["dep:hotpath", "hotpath/hotpath","andromeda-core/hotpath", "andromeda-runtime/hotpath"]
1414
hotpath-alloc-bytes-total = ["hotpath/hotpath-alloc-bytes-total"]
15-
hotpath-alloc-bytes-max = ["hotpath/hotpath-alloc-bytes-max"]
1615
hotpath-alloc-count-total= ["hotpath/hotpath-alloc-count-total"]
17-
hotpath-alloc-count-max= ["hotpath/hotpath-alloc-count-max"]
1816
hotpath-off = ["hotpath/hotpath-off"]
1917

2018
[lib]

core/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ readme = "../README.md"
1010
default = []
1111
hotpath = ["dep:hotpath", "hotpath/hotpath"]
1212
hotpath-alloc-bytes-total = ["hotpath/hotpath-alloc-bytes-total"]
13-
hotpath-alloc-bytes-max = ["hotpath/hotpath-alloc-bytes-max"]
1413
hotpath-alloc-count-total= ["hotpath/hotpath-alloc-count-total"]
15-
hotpath-alloc-count-max= ["hotpath/hotpath-alloc-count-max"]
1614
hotpath-off = ["hotpath/hotpath-off"]
1715

1816
[dependencies]

runtime/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ virtualfs = ["storage"]
1515
serve = []
1616
hotpath = ["dep:hotpath", "hotpath/hotpath", "andromeda-core/hotpath"]
1717
hotpath-alloc-bytes-total = ["hotpath/hotpath-alloc-bytes-total"]
18-
hotpath-alloc-bytes-max = ["hotpath/hotpath-alloc-bytes-max"]
1918
hotpath-alloc-count-total= ["hotpath/hotpath-alloc-count-total"]
20-
hotpath-alloc-count-max= ["hotpath/hotpath-alloc-count-max"]
2119
hotpath-off = ["hotpath/hotpath-off"]
2220

2321
[dependencies]

runtime/src/ext/console/mod.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -295,9 +295,9 @@ function createTable(data: ConsoleValue[], headers?: string[]): string {
295295
const table: string[][] = [];
296296
const firstItem = data[0];
297297
const cols = headers ||
298-
(typeof firstItem === "object" && firstItem !== null
299-
? Object.keys(firstItem as Record<string, ConsoleValue>)
300-
: []);
298+
(typeof firstItem === "object" && firstItem !== null ?
299+
Object.keys(firstItem as Record<string, ConsoleValue>) :
300+
[]);
301301

302302
// Add header row
303303
table.push(["(index)", ...cols]);
@@ -306,9 +306,9 @@ function createTable(data: ConsoleValue[], headers?: string[]): string {
306306
data.forEach((row, index) => {
307307
const tableRow = [index.toString()];
308308
cols.forEach((col) => {
309-
const value = row && typeof row === "object"
310-
? (row as Record<string, ConsoleValue>)[col]
311-
: "";
309+
const value = row && typeof row === "object" ?
310+
(row as Record<string, ConsoleValue>)[col] :
311+
"";
312312
tableRow.push(formatValue(value));
313313
});
314314
table.push(tableRow);

0 commit comments

Comments
 (0)