Skip to content

Commit a860076

Browse files
committed
refresh deno to 2.3.1 for conda installers
1 parent 2847a3d commit a860076

File tree

2 files changed

+18
-20
lines changed

2 files changed

+18
-20
lines changed

configuration

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# in src/command/check/check.ts
1212

1313
# Binary dependencies
14-
export DENO=v2.2.10
14+
export DENO=v2.3.1
1515
# TODO figure out where 0.1.41 apple silicon libs are available
1616
export DENO_DOM=v0.1.41-alpha-artifacts
1717
export PANDOC=3.6.3

src/command/check/check.ts

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -110,20 +110,18 @@ export async function check(
110110
}
111111
checkInfoMsg(conf, `Quarto ${quartoConfig.version()}`);
112112

113-
if (target === "info" || target === "all") {
114-
await checkInfo(conf);
115-
}
116-
if (target === "versions" || target === "all") {
117-
await checkVersions(conf);
118-
}
119-
if (target === "install" || target === "all") {
120-
await checkInstall(conf);
121-
}
122-
if (target === "jupyter" || target === "all") {
123-
await checkJupyterInstallation(conf);
124-
}
125-
if (target === "knitr" || target === "all") {
126-
await checkKnitrInstallation(conf);
113+
for (
114+
const [name, checker] of [
115+
["info", checkInfo],
116+
["versions", checkVersions],
117+
["install", checkInstall],
118+
["jupyter", checkJupyterInstallation],
119+
["knitr", checkKnitrInstallation],
120+
] as const
121+
) {
122+
if (target === name || target === "all") {
123+
await checker(conf);
124+
}
127125
}
128126

129127
if (conf.jsonResult && conf.output) {
@@ -255,14 +253,14 @@ async function checkVersions(conf: CheckConfiguration) {
255253
? [
256254
[pandocVersion, "3.6.3", "Pandoc"],
257255
[sassVersion, "1.87.0", "Dart Sass"],
258-
[denoVersion, "2.2.10", "Deno"],
256+
[denoVersion, "2.3.1", "Deno"],
259257
[typstVersion, "0.13.0", "Typst"],
260258
]
261259
: [
262-
[pandocVersion, ">=2.19.2", "Pandoc"],
263-
[sassVersion, ">=1.32.8", "Dart Sass"],
264-
[denoVersion, ">=2.2.10", "Deno"],
265-
[typstVersion, ">=0.10.0", "Typst"],
260+
[pandocVersion, ">=3.6.3", "Pandoc"],
261+
[sassVersion, ">=1.87.0", "Dart Sass"],
262+
[denoVersion, ">=2.3.1", "Deno"],
263+
[typstVersion, ">=0.13.0", "Typst"],
266264
];
267265
const fun = strict ? strictCheckVersion : checkVersion;
268266
for (const [version, constraint, name] of checkData) {

0 commit comments

Comments
 (0)