Skip to content

Commit

Permalink
1.13.1 (#1899)
Browse files Browse the repository at this point in the history
* upgrade dependencies

* 1.13.1

* node 22 instead of 21
  • Loading branch information
mbostock authored Jan 9, 2025
1 parent 6d455ac commit 4da167e
Show file tree
Hide file tree
Showing 5 changed files with 906 additions and 614 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
test:
strategy:
matrix:
version: [20, 21]
version: [20, 22]
os: [ubuntu-latest, windows-latest]
fail-fast: false
runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ Or with Yarn:

You should see something like this:

<pre data-copy="none"><b class="green">Observable Framework</b> v1.13.0
<pre data-copy="none"><b class="green">Observable Framework</b> v1.13.1
↳ <u><a href="http://127.0.0.1:3000/" style="color: inherit;">http://127.0.0.1:3000/</a></u></pre>

<div class="note">
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@observablehq/framework",
"license": "ISC",
"version": "1.13.0",
"version": "1.13.1",
"type": "module",
"publishConfig": {
"access": "public"
Expand Down
4 changes: 2 additions & 2 deletions test/node-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ describe("resolveNodeImport(root, spec) with top-level node_modules", () => {
before(() => rm(join(testRoot, ".observablehq/cache/_node"), {recursive: true, force: true}));
it("resolves the version of a direct dependency", async () => {
assert.deepStrictEqual(await resolveNodeImport(testRoot, "d3-array"), "/_node/d3-array@3.2.4/index.js");
assert.deepStrictEqual(await resolveNodeImport(testRoot, "mime"), "/_node/mime@4.0.4/index.js");
assert.deepStrictEqual(await resolveNodeImport(testRoot, "mime"), "/_node/mime@4.0.6/index.js");
});
it("allows entry points", async () => {
assert.deepStrictEqual(await resolveNodeImport(testRoot, "mime/lite"), "/_node/mime@4.0.4/lite.js");
assert.deepStrictEqual(await resolveNodeImport(testRoot, "mime/lite"), "/_node/mime@4.0.6/lite.js");
});
it("allows non-javascript entry points", async () => {
assert.deepStrictEqual(await resolveNodeImport(testRoot, "glob/package.json"), "/_node/glob@10.4.5/package.json");
Expand Down
Loading

0 comments on commit 4da167e

Please sign in to comment.