Skip to content

Commit

Permalink
fix: bump snyk-poetry-lockfile-parser version
Browse files Browse the repository at this point in the history
includes fix to consider hyphens and underscores to be equivalent in package name comparisons
  • Loading branch information
dtrunley-snyk committed Feb 11, 2021
1 parent e881875 commit 3ab8ce9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"license": "Apache-2.0",
"dependencies": {
"@snyk/cli-interface": "^2.0.3",
"snyk-poetry-lockfile-parser": "^1.1.4",
"snyk-poetry-lockfile-parser": "^1.1.5",
"tmp": "0.0.33"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions test/system/inspect.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ describe('inspect', () => {
const expected = builder
.addPkgNode({ name: 'jinja2', version: '2.11.2' }, 'jinja2')
.connectDep(builder.rootNodeId, 'jinja2')
.addPkgNode({ name: 'MarkupSafe', version: '1.1.1' }, 'MarkupSafe')
.connectDep('jinja2', 'MarkupSafe')
.addPkgNode({ name: 'markupsafe', version: '1.1.1' }, 'markupsafe')
.connectDep('jinja2', 'markupsafe')
.build();

expect(result.dependencyGraph).toEqualDepGraph(expected);
Expand Down

0 comments on commit 3ab8ce9

Please sign in to comment.