Skip to content

Commit

Permalink
@observablehq/runtime 6.0.0 (#1748)
Browse files Browse the repository at this point in the history
* @observablehq/runtime 6.0.0

* runtime 6.0.0-rc.1
  • Loading branch information
mbostock authored Nov 1, 2024
1 parent 8c4813a commit 9d6c967
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 31 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@
"dependencies": {
"@clack/prompts": "^0.7.0",
"@observablehq/inputs": "^0.12.0",
"@observablehq/runtime": "^5.9.4",
"@observablehq/inspector": "^5.0.1",
"@observablehq/runtime": "^6.0.0-rc.1",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
Expand Down
3 changes: 2 additions & 1 deletion src/client/runtime.js
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export {Inspector, Runtime, RuntimeError} from "@observablehq/runtime";
export {Inspector} from "@observablehq/inspector";
export {Runtime, RuntimeError} from "@observablehq/runtime";
2 changes: 0 additions & 2 deletions src/client/stdlib.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,3 @@ export {AbstractFile, FileAttachment, registerFile} from "./stdlib/fileAttachmen
export * as Generators from "./stdlib/generators/index.js";
export {Mutable} from "./stdlib/mutable.js";
export {resize} from "./stdlib/resize.js";
export class Library {} // TODO remove @observablehq/runtime dependency
export const FileAttachments = undefined; // TODO remove @observablehq/runtime dependency
2 changes: 1 addition & 1 deletion test/output/build/npm/_import/index.4bdc071f.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
import "../_observablehq/stdlib/inputs.00000005.js";
import "../_observablehq/stdlib/inputs.00000006.js";
6 changes: 3 additions & 3 deletions test/output/build/npm/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="preload" as="style" href="https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&amp;display=swap" crossorigin>
<link rel="preload" as="style" href="./_observablehq/theme-air,near-midnight.00000004.css">
<link rel="preload" as="style" href="./_observablehq/stdlib/inputs.00000006.css">
<link rel="preload" as="style" href="./_observablehq/stdlib/inputs.00000005.css">
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&amp;display=swap" crossorigin>
<link rel="stylesheet" type="text/css" href="./_observablehq/theme-air,near-midnight.00000004.css">
<link rel="stylesheet" type="text/css" href="./_observablehq/stdlib/inputs.00000006.css">
<link rel="stylesheet" type="text/css" href="./_observablehq/stdlib/inputs.00000005.css">
<link rel="modulepreload" href="./_observablehq/client.00000001.js">
<link rel="modulepreload" href="./_observablehq/runtime.00000002.js">
<link rel="modulepreload" href="./_observablehq/stdlib.00000003.js">
<link rel="modulepreload" href="./_import/index.4bdc071f.js">
<link rel="modulepreload" href="./_observablehq/stdlib/inputs.00000005.js">
<link rel="modulepreload" href="./_observablehq/stdlib/inputs.00000006.js">
<link rel="modulepreload" href="./_npm/[email protected]/cd372fb8.js">
<link rel="modulepreload" href="./_npm/[email protected]/cd372fb8.js">
<script type="module">
Expand Down
29 changes: 6 additions & 23 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -395,29 +395,17 @@
htl "^0.3.1"
isoformat "^0.2.0"

"@observablehq/inspector@^5.0.0":
"@observablehq/inspector@^5.0.1":
version "5.0.1"
resolved "https://registry.yarnpkg.com/@observablehq/inspector/-/inspector-5.0.1.tgz#586280d0bc5da55da8e715ade86ba438dc14b056"
integrity sha512-euwWxwDa6KccU4G3D2JBD7GI/2McJh/z7HHEzJKbj2TDa7zhI37eTbTxiwE9rgTWBagvVBel+hAmnJRYBYOv2Q==
dependencies:
isoformat "^0.2.0"

"@observablehq/runtime@^5.9.4":
version "5.9.9"
resolved "https://registry.yarnpkg.com/@observablehq/runtime/-/runtime-5.9.9.tgz#93efc6c0f65b0d5cec9276896a910798fdbd45fb"
integrity sha512-vvRNEI+hESOfnM0pzRTMZa5qbhQaO8KX3LzaDB5h6iHr321T+T2k5ZcK8JTgsH73BvvD3d+CuHBe1nnbUI+C8w==
dependencies:
"@observablehq/inspector" "^5.0.0"
"@observablehq/stdlib" "^5.0.0"

"@observablehq/stdlib@^5.0.0":
version "5.8.8"
resolved "https://registry.yarnpkg.com/@observablehq/stdlib/-/stdlib-5.8.8.tgz#a5c7f6d75f6b5e1b62cbbca467ce929347cf231f"
integrity sha512-XxVfXX4N+8QYqg308+KT2cpXcsiL6yFphrYNOyCNReqezeoK0Zd9xOdSvo/0NX8NJ8HypIZdTQNwPeOvQWOm2Q==
dependencies:
d3-array "^3.2.0"
d3-dsv "^3.0.1"
d3-require "^1.3.0"
"@observablehq/runtime@^6.0.0-rc.1":
version "6.0.0-rc.1"
resolved "https://registry.yarnpkg.com/@observablehq/runtime/-/runtime-6.0.0-rc.1.tgz#33d6d6f69d0d77198cef71bd8968cff649f92880"
integrity sha512-hTo+cKLtgfTdH6f7YlnUfZjaIoST7gLuCzPWxWOGpGxYLnld9645A/HyIAXAa0z4L19FmgHRFZW/5RZp/Eu+1g==

"@pkgjs/parseargs@^0.11.0":
version "0.11.0"
Expand Down Expand Up @@ -1277,7 +1265,7 @@ cssstyle@^4.0.1:
dependencies:
rrweb-cssom "^0.7.1"

d3-array@^3.2.0, d3-array@^3.2.4:
d3-array@^3.2.4:
version "3.2.4"
resolved "https://registry.yarnpkg.com/d3-array/-/d3-array-3.2.4.tgz#15fec33b237f97ac5d7c986dc77da273a8ed0bb5"
integrity sha512-tdQAmyA18i4J7wprpYq8ClcxZy3SC31QMeByyCFyRt7BVHdREQZ5lpzoe5mFEYZUWe+oq8HBvk9JjpibyEV4Jg==
Expand All @@ -1303,11 +1291,6 @@ d3-hierarchy@^3.1.2:
resolved "https://registry.yarnpkg.com/d3-hierarchy/-/d3-hierarchy-3.1.2.tgz#b01cd42c1eed3d46db77a5966cf726f8c09160c6"
integrity sha512-FX/9frcub54beBdugHjDCdikxThEqjnR93Qt7PvQTOHxyiNCAlvMrHhclk3cD5VeAaq9fxmfRp+CnWw9rEMBuA==

d3-require@^1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/d3-require/-/d3-require-1.3.0.tgz#2b97f5e2ebcb64ac0c63c11f30056aea1c74f0ec"
integrity sha512-XaNc2azaAwXhGjmCMtxlD+AowpMfLimVsAoTMpqrvb8CWoA4QqyV12mc4Ue6KSoDvfuS831tsumfhDYxGd4FGA==

data-urls@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/data-urls/-/data-urls-5.0.0.tgz#2f76906bce1824429ffecb6920f45a0b30f00dde"
Expand Down

0 comments on commit 9d6c967

Please sign in to comment.