Skip to content

Commit

Permalink
Fix Components.js version range being too strict
Browse files Browse the repository at this point in the history
  • Loading branch information
rubensworks committed Mar 2, 2022
1 parent 91ba5ff commit 7c64fc7
Show file tree
Hide file tree
Showing 3 changed files with 219 additions and 153 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"@types/semver": "^7.3.4",
"@typescript-eslint/typescript-estree": "^5.11.0",
"comment-parser": "^0.7.6",
"componentsjs": "5.0.0",
"componentsjs": "^5.0.1",
"jsonld-context-parser": "^2.1.5",
"lru-cache": "^6.0.0",
"minimist": "^1.2.5",
Expand Down
2 changes: 1 addition & 1 deletion test/resolution/ResolutionContext.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ describe('ResolutionContext', () => {

it('Should resolve from the currentFilePath for a package without separate typings without extension', async() => {
expect(resolutionContext.resolvePackageIndex('@comunica/bus-rdf-parse', Path.join(__dirname, '../../')))
.toEqual(Path.join(__dirname, '../../node_modules/@comunica/bus-rdf-parse/index.d.ts'));
.toEqual(Path.join(__dirname, '../../node_modules/@comunica/bus-rdf-parse/lib/index.d.ts'));
});

it('Should resolve from the currentFilePath for a built-in package', async() => {
Expand Down
Loading

0 comments on commit 7c64fc7

Please sign in to comment.