@observablehq/notebook-kit 2.5.0 → 2.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/observablehq/notebook-kit.git"
7
7
  },
8
- "version": "2.5.0",
8
+ "version": "2.5.1",
9
9
  "type": "module",
10
10
  "scripts": {
11
11
  "test": "TZ=America/Los_Angeles vitest",
@@ -26,8 +26,6 @@ export function transpile(input, mode, options) {
26
26
  : mode !== "js"
27
27
  ? transpileJavaScript(transpileTemplate(cell), options)
28
28
  : transpileJavaScript(input, options);
29
- if (transpiled.output === undefined)
30
- transpiled.output = cell.output;
31
29
  if (cell.hidden)
32
30
  transpiled.autodisplay = false;
33
31
  return transpiled;
@@ -174,7 +174,7 @@ define(
174
174
  inputs: ${JSON.stringify(transpiled.inputs)},
175
175
  outputs: ${JSON.stringify(transpiled.outputs)},
176
176
  output: ${JSON.stringify(transpiled.output)},
177
- display: ${cell.mode === "js" || cell.mode === "ts"},
177
+ display: ${cell.mode === "js" || cell.mode === "ts" || cell.mode === "sql"},
178
178
  assets: ${assets.size > 0 ? "assets" : "undefined"},
179
179
  autodisplay: ${transpiled.autodisplay},
180
180
  autoview: ${transpiled.autoview},
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/observablehq/notebook-kit.git"
7
7
  },
8
- "version": "2.5.0",
8
+ "version": "2.5.1",
9
9
  "type": "module",
10
10
  "scripts": {
11
11
  "test": "TZ=America/Los_Angeles vitest",