Skip to content

Commit

Permalink
fix: module-lexer version in ownname tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JayaKrishnaNamburu committed Feb 7, 2025
1 parent 66f5672 commit 3d2450a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
9 changes: 5 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"jspm.js"
],
"dependencies": {
"@jspm/generator": "^2.3.0",
"@jspm/generator": "^2.4.2",
"cac": "^6.7.14",
"ora": "^6.3.0",
"picocolors": "^1.0.0",
Expand Down
4 changes: 2 additions & 2 deletions test/ownname.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ const scenarios: Scenario[] = [
commands: ["jspm install app"],
validationFn: async (files: Map<string, string>) => {
// Installing the own-name package "app" should result in the version of
// es-module-lexer in the import map being upgraded to 1.5.4, since it's a
// es-module-lexer in the import map being upgraded to 1.6.0, since it's a
// transitive dependency of "./app.js".
const map = JSON.parse(files.get("importmap.json"));
assert(
map?.imports?.["es-module-lexer"]?.includes("es-module-lexer@1.5.4")
map?.imports?.["es-module-lexer"]?.includes("es-module-lexer@1.6.0")
);
},
},
Expand Down

0 comments on commit 3d2450a

Please sign in to comment.