forked from aboutcode-org/scancode-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
npm: more tests for alias in yarn.lock v1
An assert in the code was making aliases using `@` fail. Signed-off-by: Adrien Schildknecht <[email protected]>
- Loading branch information
Showing
3 changed files
with
83 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -333,6 +333,78 @@ | |
"purl": "pkg:npm/%40react-spring/[email protected]" | ||
}, | ||
"extra_data": {} | ||
}, | ||
{ | ||
"purl": "pkg:npm/%40testing-library/[email protected]", | ||
"extracted_requirement": "^12", | ||
"scope": "dependencies", | ||
"is_runtime": true, | ||
"is_optional": false, | ||
"is_resolved": true, | ||
"resolved_package": { | ||
"type": "npm", | ||
"namespace": "@testing-library", | ||
"name": "react", | ||
"version": "12.1.2", | ||
"qualifiers": {}, | ||
"subpath": null, | ||
"primary_language": "JavaScript", | ||
"description": null, | ||
"release_date": null, | ||
"parties": [], | ||
"keywords": [], | ||
"homepage_url": null, | ||
"download_url": "https://registry.yarnpkg.com/@testing-library/react/-/react-12.1.2.tgz", | ||
"size": null, | ||
"sha1": "f1bc9a45943461fa2a598bb4597df1ae044cfc76", | ||
"md5": null, | ||
"sha256": null, | ||
"sha512": "8a142210e9253721c8a68d98f054449320f540079ad39e14d0c55bc07d66f0df53c5e173f8aa09f4b92aa0aa89973c762439b9e83570689d6bdfa258c59334e6", | ||
"bug_tracking_url": null, | ||
"code_view_url": null, | ||
"vcs_url": null, | ||
"copyright": null, | ||
"holder": null, | ||
"declared_license_expression": null, | ||
"declared_license_expression_spdx": null, | ||
"license_detections": [], | ||
"other_license_expression": null, | ||
"other_license_expression_spdx": null, | ||
"other_license_detections": [], | ||
"extracted_license_statement": null, | ||
"notice_text": null, | ||
"source_packages": [], | ||
"file_references": [], | ||
"extra_data": {}, | ||
"dependencies": [ | ||
{ | ||
"purl": "pkg:npm/%22%40babel/runtime%22", | ||
"extracted_requirement": "^7.12.5", | ||
"scope": "dependencies", | ||
"is_runtime": true, | ||
"is_optional": false, | ||
"is_resolved": false, | ||
"resolved_package": {}, | ||
"extra_data": {} | ||
}, | ||
{ | ||
"purl": "pkg:npm/%22%40testing-library/dom%22", | ||
"extracted_requirement": "^8.0.0", | ||
"scope": "dependencies", | ||
"is_runtime": true, | ||
"is_optional": false, | ||
"is_resolved": false, | ||
"resolved_package": {}, | ||
"extra_data": {} | ||
} | ||
], | ||
"repository_homepage_url": "https://www.npmjs.com/package/@testing-library/react", | ||
"repository_download_url": "https://registry.npmjs.org/@testing-library/react/-/react-12.1.2.tgz", | ||
"api_data_url": "https://registry.npmjs.org/@testing-library%2freact/12.1.2", | ||
"datasource_id": "yarn_lock_v1", | ||
"purl": "pkg:npm/%40testing-library/[email protected]" | ||
}, | ||
"extra_data": {} | ||
} | ||
], | ||
"repository_homepage_url": null, | ||
|