-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* upgrade dependencies * 1.13.1 * node 22 instead of 21
- Loading branch information
Showing
5 changed files
with
906 additions
and
614 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected]/index.js"); | ||
assert.deepStrictEqual(await resolveNodeImport(testRoot, "mime"), "/_node/[email protected].4/index.js"); | ||
assert.deepStrictEqual(await resolveNodeImport(testRoot, "mime"), "/_node/[email protected].6/index.js"); | ||
}); | ||
it("allows entry points", async () => { | ||
assert.deepStrictEqual(await resolveNodeImport(testRoot, "mime/lite"), "/_node/[email protected].4/lite.js"); | ||
assert.deepStrictEqual(await resolveNodeImport(testRoot, "mime/lite"), "/_node/[email protected].6/lite.js"); | ||
}); | ||
it("allows non-javascript entry points", async () => { | ||
assert.deepStrictEqual(await resolveNodeImport(testRoot, "glob/package.json"), "/_node/[email protected]/package.json"); | ||
|
Oops, something went wrong.