From 236234b5d2b04fbc89cdaa1c58913b3074c07caa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20Spie=C3=9F?= Date: Thu, 18 Jan 2024 15:35:15 +0000 Subject: [PATCH] Update fixtures --- test/fixtures/scancode/2.9.8/gem.json | 563 -- test/fixtures/scancode/2.9.8/npm-basic.json | 320 - test/fixtures/scancode/2.9.8/npm-large.json | 3268 --------- test/fixtures/scancode/32.0.8/gem.json | 819 +++ test/fixtures/scancode/32.0.8/npm-basic.json | 1101 +++ test/fixtures/scancode/32.0.8/npm-large.json | 6564 ++++++++++++++++++ test/unit/providers/process/scancodeTests.js | 6 +- 7 files changed, 8487 insertions(+), 4154 deletions(-) delete mode 100644 test/fixtures/scancode/2.9.8/gem.json delete mode 100644 test/fixtures/scancode/2.9.8/npm-basic.json delete mode 100644 test/fixtures/scancode/2.9.8/npm-large.json create mode 100644 test/fixtures/scancode/32.0.8/gem.json create mode 100644 test/fixtures/scancode/32.0.8/npm-basic.json create mode 100644 test/fixtures/scancode/32.0.8/npm-large.json diff --git a/test/fixtures/scancode/2.9.8/gem.json b/test/fixtures/scancode/2.9.8/gem.json deleted file mode 100644 index 9fd219ae..00000000 --- a/test/fixtures/scancode/2.9.8/gem.json +++ /dev/null @@ -1,563 +0,0 @@ -{ - "headers": [ - { - "tool_name": "scancode-toolkit", - "tool_version": "2.9.8", - "options": { - "input": "/tmp/cd-ezPxpo/data", - "--copyright": true, - "--info": true, - "--json-pp": "/tmp/cd-8N6lCA", - "--license": true, - "--license-diag": true, - "--only-findings": true, - "--package": true, - "--processes": "2", - "--strip-root": true, - "--timeout": "1000.0" - }, - "notice": "Generated with ScanCode and provided on an \"AS IS\" BASIS, WITHOUT WARRANTIES\nOR CONDITIONS OF ANY KIND, either express or implied. No content created from\nScanCode should be considered or used as legal advice. Consult an Attorney\nfor any legal advice.\nScanCode is a free software code scanning tool from nexB Inc. and others.\nVisit https://github.com/nexB/scancode-toolkit/ for support and download.", - "start_timestamp": "2018-12-18T190320.415977", - "end_timestamp": "2018-12-18T190348.803561", - "message": null, - "errors": [], - "extra_data": { "files_count": 6 } - } - ], - "files": [ - { - "path": ".yardopts", - "type": "file", - "name": ".yardopts", - "base_name": ".yardopts", - "extension": "", - "size": 573, - "date": "2018-08-09", - "sha1": "98ad24bd3243e7896d8a72504548e613ebb5ffef", - "md5": "d2c1ce1393693009849891596af94696", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": null, - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [ - { - "key": "mit", - "score": 11, - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://enterprise.dejacode.com/urn/urn:dje:license:mit", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT", - "start_line": 23, - "end_line": 23, - "matched_rule": { - "identifier": "mit_14.RULE", - "license_expression": "mit", - "licenses": ["mit"], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 2, - "matched_length": 2, - "match_coverage": 100, - "rule_relevance": 11 - } - } - ], - "license_expressions": ["mit"], - "holders": [], - "copyrights": [], - "authors": [], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "COPYING.md", - "type": "file", - "name": "COPYING.md", - "base_name": "COPYING", - "extension": ".md", - "size": 227, - "date": "2018-08-09", - "sha1": "3698642710b056250dc5ce59c7939c801e6d4b87", - "md5": "e8a025b16ee7bddb9d7e7959855c8381", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "Objective-C", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [ - { - "key": "ruby", - "score": 47, - "name": "Ruby License", - "short_name": "Ruby License", - "category": "Copyleft Limited", - "is_exception": false, - "owner": "Ruby", - "homepage_url": "http://www.ruby-lang.org/en/LICENSE.txt", - "text_url": "http://www.ruby-lang.org/en/LICENSE.txt", - "reference_url": "https://enterprise.dejacode.com/urn/urn:dje:license:ruby", - "spdx_license_key": "Ruby", - "spdx_url": "https://spdx.org/licenses/Ruby", - "start_line": 3, - "end_line": 3, - "matched_rule": { - "identifier": "ruby_1.RULE", - "license_expression": "ruby", - "licenses": ["ruby"], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 8, - "matched_length": 8, - "match_coverage": 100, - "rule_relevance": 47 - } - }, - { - "key": "mit", - "score": 23, - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://enterprise.dejacode.com/urn/urn:dje:license:mit", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT", - "start_line": 3, - "end_line": 3, - "matched_rule": { - "identifier": "mit_88.RULE", - "license_expression": "mit", - "licenses": ["mit"], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 4, - "matched_length": 4, - "match_coverage": 100, - "rule_relevance": 23 - } - }, - { - "key": "mit", - "score": 35, - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://enterprise.dejacode.com/urn/urn:dje:license:mit", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT", - "start_line": 3, - "end_line": 3, - "matched_rule": { - "identifier": "mit_13.RULE", - "license_expression": "mit", - "licenses": ["mit"], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 6, - "matched_length": 6, - "match_coverage": 100, - "rule_relevance": 35 - } - } - ], - "license_expressions": ["ruby", "mit", "mit"], - "holders": [{ "value": "Revieworld Ltd.", "start_line": 1, "end_line": 1 }], - "copyrights": [ - { - "value": "Copyright Revieworld Ltd. 2006", - "start_line": 1, - "end_line": 1 - } - ], - "authors": [], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "MIT-LICENSE.md", - "type": "file", - "name": "MIT-LICENSE.md", - "base_name": "MIT-LICENSE", - "extension": ".md", - "size": 1059, - "date": "2018-08-09", - "sha1": "2c66768c6db4abafc1522aadfeb31e245cca4e00", - "md5": "85bb4ec250c9aafdf154d602259333fb", - "mime_type": "text/plain", - "file_type": "ASCII text, with very long lines", - "programming_language": null, - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [ - { - "key": "mit", - "score": 100, - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://enterprise.dejacode.com/urn/urn:dje:license:mit", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT", - "start_line": 3, - "end_line": 7, - "matched_rule": { - "identifier": "mit.LICENSE", - "license_expression": "mit", - "licenses": ["mit"], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 163, - "matched_length": 163, - "match_coverage": 100, - "rule_relevance": 100 - } - } - ], - "license_expressions": ["mit"], - "holders": [{ "value": "Revieworld Ltd.", "start_line": 1, "end_line": 1 }], - "copyrights": [ - { - "value": "Copyright (c) 2006 Revieworld Ltd.", - "start_line": 1, - "end_line": 1 - } - ], - "authors": [], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "mocha.gemspec", - "type": "file", - "name": "mocha.gemspec", - "base_name": "mocha", - "extension": ".gemspec", - "size": 1551, - "date": "2018-08-09", - "sha1": "9144a025c7e589937fdb4ba318630dde24ad7dcd", - "md5": "f2465bc5be7a06f3facc195337df33a5", - "mime_type": "text/x-ruby", - "file_type": "Ruby script, ASCII text", - "programming_language": "Ruby", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": true, - "licenses": [ - { - "key": "mit", - "score": 80, - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://enterprise.dejacode.com/urn/urn:dje:license:mit", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT", - "start_line": 8, - "end_line": 8, - "matched_rule": { - "identifier": "mit_and_bsd-new_modernizr_2.RULE", - "license_expression": "mit AND bsd-new", - "licenses": ["mit", "bsd-new"], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 2, - "matched_length": 2, - "match_coverage": 100, - "rule_relevance": 80 - } - }, - { - "key": "bsd-new", - "score": 80, - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://enterprise.dejacode.com/urn/urn:dje:license:bsd-new", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause", - "start_line": 8, - "end_line": 8, - "matched_rule": { - "identifier": "mit_and_bsd-new_modernizr_2.RULE", - "license_expression": "mit AND bsd-new", - "licenses": ["mit", "bsd-new"], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 2, - "matched_length": 2, - "match_coverage": 100, - "rule_relevance": 80 - } - }, - { - "key": "bsd-simplified", - "score": 50, - "name": "BSD-2-Clause", - "short_name": "BSD-2-Clause", - "category": "Permissive", - "is_exception": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-2-Clause", - "text_url": "http://opensource.org/licenses/bsd-license.php", - "reference_url": "https://enterprise.dejacode.com/urn/urn:dje:license:bsd-simplified", - "spdx_license_key": "BSD-2-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-2-Clause", - "start_line": 8, - "end_line": 8, - "matched_rule": { - "identifier": "spdx_license_id_bsd-2-clause_for_bsd-simplified.RULE", - "license_expression": "bsd-simplified", - "licenses": ["bsd-simplified"], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 3, - "matched_length": 3, - "match_coverage": 100, - "rule_relevance": 50 - } - } - ], - "license_expressions": ["mit AND bsd-new", "bsd-simplified"], - "holders": [], - "copyrights": [], - "authors": [], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "README.md", - "type": "file", - "name": "README.md", - "base_name": "README", - "extension": ".md", - "size": 11361, - "date": "2018-08-09", - "sha1": "5ce2b95c154ac1e05b6b695a20d0464f5b4eca6e", - "md5": "919e5c54e6002e363ff7b24c6b096a79", - "mime_type": "text/x-ruby", - "file_type": "Ruby module source, ASCII text, with very long lines", - "programming_language": "Objective-C", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [ - { - "key": "ruby", - "score": 47, - "name": "Ruby License", - "short_name": "Ruby License", - "category": "Copyleft Limited", - "is_exception": false, - "owner": "Ruby", - "homepage_url": "http://www.ruby-lang.org/en/LICENSE.txt", - "text_url": "http://www.ruby-lang.org/en/LICENSE.txt", - "reference_url": "https://enterprise.dejacode.com/urn/urn:dje:license:ruby", - "spdx_license_key": "Ruby", - "spdx_url": "https://spdx.org/licenses/Ruby", - "start_line": 337, - "end_line": 337, - "matched_rule": { - "identifier": "ruby_1.RULE", - "license_expression": "ruby", - "licenses": ["ruby"], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 8, - "matched_length": 8, - "match_coverage": 100, - "rule_relevance": 47 - } - }, - { - "key": "mit", - "score": 58.67, - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://enterprise.dejacode.com/urn/urn:dje:license:mit", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT", - "start_line": 337, - "end_line": 337, - "matched_rule": { - "identifier": "mit_148.RULE", - "license_expression": "mit", - "licenses": ["mit"], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "matcher": "3-seq", - "rule_length": 15, - "matched_length": 10, - "match_coverage": 66.67, - "rule_relevance": 88 - } - } - ], - "license_expressions": ["ruby", "mit"], - "holders": [{ "value": "Revieworld Ltd.", "start_line": 335, "end_line": 335 }], - "copyrights": [ - { - "value": "(c) Copyright Revieworld Ltd. 2006", - "start_line": 335, - "end_line": 335 - } - ], - "authors": [], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "RELEASE.md", - "type": "file", - "name": "RELEASE.md", - "base_name": "RELEASE", - "extension": ".md", - "size": 43820, - "date": "2018-08-09", - "sha1": "344331dd013371e5d949dc81179698c1045ffc61", - "md5": "0cca6bca2fed162d3902cee5bef1bd83", - "mime_type": "text/plain", - "file_type": "ASCII text, with very long lines", - "programming_language": null, - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [ - { - "key": "mit", - "score": 11, - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://enterprise.dejacode.com/urn/urn:dje:license:mit", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT", - "start_line": 540, - "end_line": 540, - "matched_rule": { - "identifier": "mit_14.RULE", - "license_expression": "mit", - "licenses": ["mit"], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 2, - "matched_length": 2, - "match_coverage": 100, - "rule_relevance": 11 - } - } - ], - "license_expressions": ["mit"], - "holders": [], - "copyrights": [], - "authors": [], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - } - ] -} diff --git a/test/fixtures/scancode/2.9.8/npm-basic.json b/test/fixtures/scancode/2.9.8/npm-basic.json deleted file mode 100644 index f53056dc..00000000 --- a/test/fixtures/scancode/2.9.8/npm-basic.json +++ /dev/null @@ -1,320 +0,0 @@ -{ - "headers": [ - { - "tool_name": "scancode-toolkit", - "tool_version": "2.9.8", - "options": { - "input": "/tmp/cd-qypY60", - "--copyright": true, - "--info": true, - "--json-pp": "/tmp/cd-lLN618", - "--license": true, - "--license-diag": true, - "--only-findings": true, - "--package": true, - "--processes": "2", - "--strip-root": true, - "--timeout": "1000.0" - }, - "notice": "Generated with ScanCode and provided on an \"AS IS\" BASIS, WITHOUT WARRANTIES\nOR CONDITIONS OF ANY KIND, either express or implied. No content created from\nScanCode should be considered or used as legal advice. Consult an Attorney\nfor any legal advice.\nScanCode is a free software code scanning tool from nexB Inc. and others.\nVisit https://github.com/nexB/scancode-toolkit/ for support and download.", - "start_timestamp": "2018-12-18T190233.738647", - "end_timestamp": "2018-12-18T190250.024603", - "message": null, - "errors": [], - "extra_data": { "files_count": 2 } - } - ], - "files": [ - { - "path": "package", - "type": "directory", - "name": "package", - "base_name": "package", - "extension": "", - "size": 0, - "date": null, - "sha1": null, - "md5": null, - "mime_type": null, - "file_type": null, - "programming_language": null, - "is_binary": false, - "is_text": false, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], - "copyrights": [], - "authors": [], - "packages": [ - { - "type": "npm", - "namespace": null, - "name": "glob", - "version": "7.1.2", - "qualifiers": null, - "subpath": null, - "primary_language": "JavaScript", - "description": "a little globber", - "size": null, - "release_date": null, - "parties": [ - { - "type": "person", - "role": "author", - "name": "Isaac Z. Schlueter", - "email": "i@izs.me", - "url": "http://blog.izs.me/" - } - ], - "keywords": [], - "homepage_url": null, - "download_url": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", - "download_sha1": null, - "download_md5": null, - "download_sha256": null, - "download_sha512": null, - "bug_tracking_url": null, - "code_view_url": null, - "vcs_tool": "git", - "vcs_repository": "git://github.com/isaacs/node-glob.git", - "vcs_revision": null, - "copyright": null, - "license_expression": "isc", - "declared_license": "ISC", - "notice_text": null, - "manifest_path": "package.json", - "dependencies": [ - { - "purl": "pkg:npm/fs.realpath", - "requirement": "^1.0.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false - }, - { - "purl": "pkg:npm/inflight", - "requirement": "^1.0.4", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false - }, - { - "purl": "pkg:npm/inherits", - "requirement": "2", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false - }, - { - "purl": "pkg:npm/minimatch", - "requirement": "^3.0.4", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false - }, - { - "purl": "pkg:npm/once", - "requirement": "^1.3.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false - }, - { - "purl": "pkg:npm/path-is-absolute", - "requirement": "^1.0.0", - "scope": "dependencies", - "is_runtime": true, - "is_optional": false, - "is_resolved": false - }, - { - "purl": "pkg:npm/mkdirp", - "requirement": "0", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false - }, - { - "purl": "pkg:npm/rimraf", - "requirement": "^2.2.8", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false - }, - { - "purl": "pkg:npm/tap", - "requirement": "^7.1.2", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false - }, - { - "purl": "pkg:npm/tick", - "requirement": "0.0.6", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false - } - ], - "contains_source_code": null, - "source_packages": [], - "purl": "pkg:npm/glob@7.1.2", - "repository_homepage_url": "https://www.npmjs.com/package/glob", - "repository_download_url": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", - "api_data_url": "https://registry.npmjs.org/glob/7.1.2" - } - ], - "files_count": 2, - "dirs_count": 0, - "size_count": 2195, - "scan_errors": [] - }, - { - "path": "package/changelog.md", - "type": "file", - "name": "changelog.md", - "base_name": "changelog", - "extension": ".md", - "size": 1430, - "date": "2016-02-11", - "sha1": "97bfa68176e50777c07a7ba58f98ff7a1730ac00", - "md5": "00f1acff927a7059ab085d87c72bbf43", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": null, - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [ - { - "key": "isc", - "score": 11, - "name": "ISC License", - "short_name": "ISC License", - "category": "Permissive", - "is_exception": false, - "owner": "ISC - Internet Systems Consortium", - "homepage_url": "https://www.isc.org/software/license", - "text_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_with_legal_disclaimer_2", - "reference_url": "https://enterprise.dejacode.com/urn/urn:dje:license:isc", - "spdx_license_key": "ISC", - "spdx_url": "https://spdx.org/licenses/ISC", - "start_line": 51, - "end_line": 51, - "matched_rule": { - "identifier": "isc_22.RULE", - "license_expression": "isc", - "licenses": ["isc"], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 2, - "matched_length": 2, - "match_coverage": 100, - "rule_relevance": 11 - } - } - ], - "license_expressions": ["isc"], - "holders": [], - "copyrights": [], - "authors": [], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/LICENSE", - "type": "file", - "name": "LICENSE", - "base_name": "LICENSE", - "extension": "", - "size": 765, - "date": "2014-07-28", - "sha1": "bb408e929caeb1731945b2ba54bc337edb87cc66", - "md5": "82703a69f6d7411dde679954c2fd9dca", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": null, - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [ - { - "key": "isc", - "score": 94.26, - "name": "ISC License", - "short_name": "ISC License", - "category": "Permissive", - "is_exception": false, - "owner": "ISC - Internet Systems Consortium", - "homepage_url": "https://www.isc.org/software/license", - "text_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_with_legal_disclaimer_2", - "reference_url": "https://enterprise.dejacode.com/urn/urn:dje:license:isc", - "spdx_license_key": "ISC", - "spdx_url": "https://spdx.org/licenses/ISC", - "start_line": 1, - "end_line": 15, - "matched_rule": { - "identifier": "isc_11.RULE", - "license_expression": "isc", - "licenses": ["isc"], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "matcher": "3-seq", - "rule_length": 115, - "matched_length": 115, - "match_coverage": 100, - "rule_relevance": 100 - } - } - ], - "license_expressions": ["isc"], - "holders": [ - { - "value": "Isaac Z. Schlueter and Contributors", - "start_line": 3, - "end_line": 3 - } - ], - "copyrights": [ - { - "value": "Copyright (c) Isaac Z. Schlueter and Contributors", - "start_line": 3, - "end_line": 3 - } - ], - "authors": [], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - } - ] -} diff --git a/test/fixtures/scancode/2.9.8/npm-large.json b/test/fixtures/scancode/2.9.8/npm-large.json deleted file mode 100644 index c2becbd9..00000000 --- a/test/fixtures/scancode/2.9.8/npm-large.json +++ /dev/null @@ -1,3268 +0,0 @@ -{ - "headers": [ - { - "tool_name": "scancode-toolkit", - "tool_version": "2.9.8", - "options": { - "input": "/tmp/cd-KRNh3D", - "--copyright": true, - "--info": true, - "--json-pp": "/tmp/cd-wlUfst", - "--license": true, - "--license-diag": true, - "--only-findings": true, - "--package": true, - "--processes": "2", - "--strip-root": true, - "--timeout": "1000.0" - }, - "notice": "Generated with ScanCode and provided on an \"AS IS\" BASIS, WITHOUT WARRANTIES\nOR CONDITIONS OF ANY KIND, either express or implied. No content created from\nScanCode should be considered or used as legal advice. Consult an Attorney\nfor any legal advice.\nScanCode is a free software code scanning tool from nexB Inc. and others.\nVisit https://github.com/nexB/scancode-toolkit/ for support and download.", - "start_timestamp": "2018-12-18T221438.757232", - "end_timestamp": "2018-12-18T221509.290364", - "message": null, - "errors": [], - "extra_data": { "files_count": 53 } - } - ], - "files": [ - { - "path": "package", - "type": "directory", - "name": "package", - "base_name": "package", - "extension": "", - "size": 0, - "date": null, - "sha1": null, - "md5": null, - "mime_type": null, - "file_type": null, - "programming_language": null, - "is_binary": false, - "is_text": false, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], - "copyrights": [], - "authors": [], - "packages": [ - { - "type": "npm", - "namespace": null, - "name": "node-forge", - "version": "0.7.5", - "qualifiers": null, - "subpath": null, - "primary_language": "JavaScript", - "description": "JavaScript implementations of network transports, cryptography, ciphers, PKI, message digests, and various utilities.", - "size": null, - "release_date": null, - "parties": [ - { - "type": "person", - "role": "author", - "name": "Digital Bazaar, Inc.", - "email": "support@digitalbazaar.com", - "url": "http://digitalbazaar.com/" - }, - { - "type": "person", - "role": "contributor", - "name": "Dave Longley", - "email": "dlongley@digitalbazaar.com", - "url": null - }, - { - "type": "person", - "role": "contributor", - "name": "David I. Lehn", - "email": "dlehn@digitalbazaar.com", - "url": null - }, - { - "type": "person", - "role": "contributor", - "name": "Stefan Siegl", - "email": "stesie@brokenpipe.de", - "url": null - }, - { - "type": "person", - "role": "contributor", - "name": "Christoph Dorn", - "email": "christoph@christophdorn.com", - "url": null - } - ], - "keywords": [ - "aes", - "asn", - "asn.1", - "cbc", - "crypto", - "cryptography", - "csr", - "des", - "gcm", - "hmac", - "http", - "https", - "md5", - "network", - "pkcs", - "pki", - "prng", - "rc2", - "rsa", - "sha1", - "sha256", - "sha384", - "sha512", - "ssh", - "tls", - "x.509", - "x509" - ], - "homepage_url": "https://github.com/digitalbazaar/forge", - "download_url": "https://registry.npmjs.org/node-forge/-/node-forge-0.7.5.tgz", - "download_sha1": null, - "download_md5": null, - "download_sha256": null, - "download_sha512": null, - "bug_tracking_url": "https://github.com/digitalbazaar/forge/issues", - "code_view_url": null, - "vcs_tool": "git", - "vcs_repository": "https://github.com/digitalbazaar/forge", - "vcs_revision": null, - "copyright": null, - "license_expression": "bsd-new AND gpl-2.0 AND unknown", - "declared_license": "(BSD-3-Clause OR GPL-2.0)", - "notice_text": null, - "manifest_path": "package.json", - "dependencies": [ - { - "purl": "pkg:npm/browserify", - "requirement": "^16.1.0", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false - }, - { - "purl": "pkg:npm/commander", - "requirement": "^2.14.1", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false - }, - { - "purl": "pkg:npm/cross-env", - "requirement": "^5.1.3", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false - }, - { - "purl": "pkg:npm/express", - "requirement": "^4.16.2", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false - }, - { - "purl": "pkg:npm/jscs", - "requirement": "^3.0.7", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false - }, - { - "purl": "pkg:npm/jshint", - "requirement": "^2.9.5", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false - }, - { - "purl": "pkg:npm/karma", - "requirement": "^2.0.0", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false - }, - { - "purl": "pkg:npm/karma-browserify", - "requirement": "^5.2.0", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false - }, - { - "purl": "pkg:npm/karma-chrome-launcher", - "requirement": "^2.2.0", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false - }, - { - "purl": "pkg:npm/karma-edge-launcher", - "requirement": "^0.4.2", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false - }, - { - "purl": "pkg:npm/karma-firefox-launcher", - "requirement": "^1.1.0", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false - }, - { - "purl": "pkg:npm/karma-ie-launcher", - "requirement": "^1.0.0", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false - }, - { - "purl": "pkg:npm/karma-mocha", - "requirement": "^1.3.0", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false - }, - { - "purl": "pkg:npm/karma-mocha-reporter", - "requirement": "^2.2.5", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false - }, - { - "purl": "pkg:npm/karma-phantomjs-launcher", - "requirement": "^1.0.2", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false - }, - { - "purl": "pkg:npm/karma-safari-launcher", - "requirement": "^1.0.0", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false - }, - { - "purl": "pkg:npm/karma-sauce-launcher", - "requirement": "^1.2.0", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false - }, - { - "purl": "pkg:npm/karma-sourcemap-loader", - "requirement": "^0.3.7", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false - }, - { - "purl": "pkg:npm/karma-tap-reporter", - "requirement": "0.0.6", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false - }, - { - "purl": "pkg:npm/karma-webpack", - "requirement": "^2.0.13", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false - }, - { - "purl": "pkg:npm/mocha", - "requirement": "^5.0.1", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false - }, - { - "purl": "pkg:npm/mocha-lcov-reporter", - "requirement": "^1.2.0", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false - }, - { - "purl": "pkg:npm/nodejs-websocket", - "requirement": "^1.7.1", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false - }, - { - "purl": "pkg:npm/nyc", - "requirement": "^11.5.0", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false - }, - { - "purl": "pkg:npm/opts", - "requirement": "^1.2.2", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false - }, - { - "purl": "pkg:npm/webpack", - "requirement": "^3.11.0", - "scope": "devDependencies", - "is_runtime": false, - "is_optional": true, - "is_resolved": false - } - ], - "contains_source_code": null, - "source_packages": [], - "purl": "pkg:npm/node-forge@0.7.5", - "repository_homepage_url": "https://www.npmjs.com/package/node-forge", - "repository_download_url": "https://registry.npmjs.org/node-forge/-/node-forge-0.7.5.tgz", - "api_data_url": "https://registry.npmjs.org/node-forge/0.7.5" - } - ], - "files_count": 53, - "dirs_count": 0, - "size_count": 1029183, - "scan_errors": [] - }, - { - "path": "package/LICENSE", - "type": "file", - "name": "LICENSE", - "base_name": "LICENSE", - "extension": "", - "size": 17972, - "date": "1985-10-26", - "sha1": "d37865c29143c75dae51139e23c28e8b685c31d4", - "md5": "3468e584d830bfb0ffd2d0af6e129136", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": null, - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [ - { - "key": "bsd-new", - "score": 17, - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://enterprise.dejacode.com/urn/urn:dje:license:bsd-new", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause", - "start_line": 1, - "end_line": 1, - "matched_rule": { - "identifier": "bsd-new_145.RULE", - "license_expression": "bsd-new", - "licenses": ["bsd-new"], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 3, - "matched_length": 3, - "match_coverage": 100, - "rule_relevance": 17 - } - }, - { - "key": "gpl-2.0", - "score": 41, - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://enterprise.dejacode.com/urn/urn:dje:license:gpl-2.0", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only", - "start_line": 2, - "end_line": 2, - "matched_rule": { - "identifier": "gpl-2.0_569.RULE", - "license_expression": "gpl-2.0", - "licenses": ["gpl-2.0"], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 7, - "matched_length": 7, - "match_coverage": 100, - "rule_relevance": 41 - } - }, - { - "key": "bsd-new", - "score": 17, - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://enterprise.dejacode.com/urn/urn:dje:license:bsd-new", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause", - "start_line": 4, - "end_line": 4, - "matched_rule": { - "identifier": "bsd-new_145.RULE", - "license_expression": "bsd-new", - "licenses": ["bsd-new"], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 3, - "matched_length": 3, - "match_coverage": 100, - "rule_relevance": 17 - } - }, - { - "key": "gpl-1.0-plus", - "score": 5, - "name": "GNU General Public License 1.0 or later", - "short_name": "GPL 1.0 or later", - "category": "Copyleft", - "is_exception": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", - "reference_url": "https://enterprise.dejacode.com/urn/urn:dje:license:gpl-1.0-plus", - "spdx_license_key": "GPL-1.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-1.0-or-later", - "start_line": 8, - "end_line": 8, - "matched_rule": { - "identifier": "gpl_61.RULE", - "license_expression": "gpl-1.0-plus", - "licenses": ["gpl-1.0-plus"], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 1, - "matched_length": 1, - "match_coverage": 100, - "rule_relevance": 5 - } - }, - { - "key": "bsd-new", - "score": 17, - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://enterprise.dejacode.com/urn/urn:dje:license:bsd-new", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause", - "start_line": 26, - "end_line": 26, - "matched_rule": { - "identifier": "bsd-new_228.RULE", - "license_expression": "bsd-new", - "licenses": ["bsd-new"], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 3, - "matched_length": 3, - "match_coverage": 100, - "rule_relevance": 17 - } - }, - { - "key": "bsd-new", - "score": 97.64, - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://enterprise.dejacode.com/urn/urn:dje:license:bsd-new", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause", - "start_line": 30, - "end_line": 50, - "matched_rule": { - "identifier": "bsd-new_233.RULE", - "license_expression": "bsd-new", - "licenses": ["bsd-new"], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "matcher": "3-seq", - "rule_length": 212, - "matched_length": 207, - "match_coverage": 97.64, - "rule_relevance": 100 - } - }, - { - "key": "gpl-2.0", - "score": 35, - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://enterprise.dejacode.com/urn/urn:dje:license:gpl-2.0", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only", - "start_line": 53, - "end_line": 54, - "matched_rule": { - "identifier": "gpl-2.0_39.RULE", - "license_expression": "gpl-2.0", - "licenses": ["gpl-2.0"], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 6, - "matched_length": 6, - "match_coverage": 100, - "rule_relevance": 35 - } - }, - { - "key": "gpl-2.0", - "score": 94.79, - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://enterprise.dejacode.com/urn/urn:dje:license:gpl-2.0", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only", - "start_line": 57, - "end_line": 308, - "matched_rule": { - "identifier": "gpl-2.0_and_unknown_trommel_1.RULE", - "license_expression": "gpl-2.0 AND unknown", - "licenses": ["gpl-2.0", "unknown"], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": "text", - "is_license_tag": false, - "matcher": "3-seq", - "rule_length": 2285, - "matched_length": 2280, - "match_coverage": 99.78, - "rule_relevance": 95 - } - }, - { - "key": "unknown", - "score": 94.79, - "name": "Unknown license detected but not recognized", - "short_name": "unknown", - "category": "Unstated License", - "is_exception": false, - "owner": "Unspecified", - "homepage_url": "", - "text_url": "", - "reference_url": "https://enterprise.dejacode.com/urn/urn:dje:license:unknown", - "spdx_license_key": "", - "spdx_url": "", - "start_line": 57, - "end_line": 308, - "matched_rule": { - "identifier": "gpl-2.0_and_unknown_trommel_1.RULE", - "license_expression": "gpl-2.0 AND unknown", - "licenses": ["gpl-2.0", "unknown"], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": "text", - "is_license_tag": false, - "matcher": "3-seq", - "rule_length": 2285, - "matched_length": 2280, - "match_coverage": 99.78, - "rule_relevance": 95 - } - }, - { - "key": "infineon-free", - "score": 99.02, - "name": "Infineon Free Software License", - "short_name": "Infineon Free Software License", - "category": "Permissive", - "is_exception": false, - "owner": "Infineon Technologies", - "homepage_url": "", - "text_url": "", - "reference_url": "https://enterprise.dejacode.com/urn/urn:dje:license:infineon-free", - "spdx_license_key": "", - "spdx_url": "", - "start_line": 312, - "end_line": 330, - "matched_rule": { - "identifier": "infineon-free.LICENSE", - "license_expression": "infineon-free", - "licenses": ["infineon-free"], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "matcher": "3-seq", - "rule_length": 204, - "matched_length": 202, - "match_coverage": 99.02, - "rule_relevance": 100 - } - } - ], - "license_expressions": [ - "bsd-new", - "gpl-2.0", - "bsd-new", - "gpl-1.0-plus", - "bsd-new", - "bsd-new", - "gpl-2.0", - "gpl-2.0 AND unknown", - "infineon-free" - ], - "holders": [ - { "value": "Digital Bazaar, Inc.", "start_line": 27, "end_line": 28 }, - { - "value": "Free Software Foundation, Inc.", - "start_line": 56, - "end_line": 58 - }, - { - "value": "the Free Software Foundation", - "start_line": 303, - "end_line": 308 - } - ], - "copyrights": [ - { - "value": "Copyright (c) 2010, Digital Bazaar, Inc.", - "start_line": 27, - "end_line": 28 - }, - { - "value": "Copyright (c) 1989, 1991 Free Software Foundation, Inc.", - "start_line": 56, - "end_line": 58 - }, - { - "value": "copyrighted by the Free Software Foundation", - "start_line": 303, - "end_line": 308 - } - ], - "authors": [], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/package.json", - "type": "file", - "name": "package.json", - "base_name": "package", - "extension": ".json", - "size": 3483, - "date": "1985-10-26", - "sha1": "73d186d89c08e1f0a391d9ed54c6223a9122abe6", - "md5": "99a5de504755fed504c4bf3ff81b232a", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": null, - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [ - { - "key": "bsd-new", - "score": 23, - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://enterprise.dejacode.com/urn/urn:dje:license:bsd-new", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause", - "start_line": 53, - "end_line": 53, - "matched_rule": { - "identifier": "bsd-new_195.RULE", - "license_expression": "bsd-new", - "licenses": ["bsd-new"], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 4, - "matched_length": 4, - "match_coverage": 100, - "rule_relevance": 23 - } - }, - { - "key": "gpl-2.0", - "score": 17, - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://enterprise.dejacode.com/urn/urn:dje:license:gpl-2.0", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only", - "start_line": 53, - "end_line": 53, - "matched_rule": { - "identifier": "gpl-2.0_52.RULE", - "license_expression": "gpl-2.0", - "licenses": ["gpl-2.0"], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 3, - "matched_length": 3, - "match_coverage": 100, - "rule_relevance": 17 - } - } - ], - "license_expressions": ["bsd-new", "gpl-2.0"], - "holders": [], - "copyrights": [], - "authors": [], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/README.md", - "type": "file", - "name": "README.md", - "base_name": "README", - "extension": ".md", - "size": 59890, - "date": "1985-10-26", - "sha1": "129dbb42f0c534f02cc32c501e3b2682cecb2f80", - "md5": "a1a856681e0e7d308e2504d0600afe29", - "mime_type": "text/html", - "file_type": "HTML document, ASCII text, with very long lines", - "programming_language": "Objective-C", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [ - { - "key": "bsd-new", - "score": 17, - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://enterprise.dejacode.com/urn/urn:dje:license:bsd-new", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause", - "start_line": 287, - "end_line": 287, - "matched_rule": { - "identifier": "bsd-new_145.RULE", - "license_expression": "bsd-new", - "licenses": ["bsd-new"], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 3, - "matched_length": 3, - "match_coverage": 100, - "rule_relevance": 17 - } - }, - { - "key": "gpl-2.0", - "score": 41, - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://enterprise.dejacode.com/urn/urn:dje:license:gpl-2.0", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only", - "start_line": 287, - "end_line": 288, - "matched_rule": { - "identifier": "gpl-2.0_569.RULE", - "license_expression": "gpl-2.0", - "licenses": ["gpl-2.0"], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 7, - "matched_length": 7, - "match_coverage": 100, - "rule_relevance": 41 - } - } - ], - "license_expressions": ["bsd-new", "gpl-2.0"], - "holders": [], - "copyrights": [], - "authors": [], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/aes.js", - "type": "file", - "name": "aes.js", - "base_name": "aes", - "extension": ".js", - "size": 39030, - "date": "1985-10-26", - "sha1": "90527df232eae0ea7ce08dcf2960f911217b9b72", - "md5": "ffd9ded445ca952063a581f222879839", - "mime_type": "text/plain", - "file_type": "UTF-8 Unicode text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [ - { - "key": "public-domain", - "score": 50, - "name": "Public Domain", - "short_name": "Public Domain", - "category": "Public Domain", - "is_exception": false, - "owner": "Unspecified", - "homepage_url": "http://www.linfo.org/publicdomain.html", - "text_url": "", - "reference_url": "https://enterprise.dejacode.com/urn/urn:dje:license:public-domain", - "spdx_license_key": "", - "spdx_url": "", - "start_line": 4, - "end_line": 4, - "matched_rule": { - "identifier": "public-domain_79.RULE", - "license_expression": "public-domain", - "licenses": ["public-domain"], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 2, - "matched_length": 2, - "match_coverage": 100, - "rule_relevance": 50 - } - } - ], - "license_expressions": ["public-domain"], - "holders": [{ "value": "Digital Bazaar, Inc.", "start_line": 16, "end_line": 16 }], - "copyrights": [ - { - "value": "Copyright (c) 2010-2014 Digital Bazaar, Inc.", - "start_line": 16, - "end_line": 16 - } - ], - "authors": [{ "value": "Dave Longley", "start_line": 14, "end_line": 14 }], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/aesCipherSuites.js", - "type": "file", - "name": "aesCipherSuites.js", - "base_name": "aesCipherSuites", - "extension": ".js", - "size": 9136, - "date": "1985-10-26", - "sha1": "045b05adda0f47743b7cee3f62725fadb99f1c73", - "md5": "222818bbce69c4ea981ae28c47b7fc01", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [{ "value": "Digital Bazaar, Inc.", "start_line": 6, "end_line": 6 }], - "copyrights": [ - { - "value": "Copyright (c) 2009-2015 Digital Bazaar, Inc.", - "start_line": 6, - "end_line": 6 - } - ], - "authors": [{ "value": "Dave Longley", "start_line": 4, "end_line": 4 }], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/asn1.js", - "type": "file", - "name": "asn1.js", - "base_name": "asn1", - "extension": ".js", - "size": 42041, - "date": "1985-10-26", - "sha1": "91caf25651d0f0d64193e8695b37b1d029e1c2e0", - "md5": "31c47515fd9314dc256731de24be22eb", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [{ "value": "Digital Bazaar, Inc.", "start_line": 6, "end_line": 6 }], - "copyrights": [ - { - "value": "Copyright (c) 2010-2015 Digital Bazaar, Inc.", - "start_line": 6, - "end_line": 6 - } - ], - "authors": [{ "value": "Dave Longley", "start_line": 4, "end_line": 4 }], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/baseN.js", - "type": "file", - "name": "baseN.js", - "base_name": "baseN", - "extension": ".js", - "size": 5068, - "date": "1985-10-26", - "sha1": "543622db9a5900ccc928c41ac9e986f1de11f735", - "md5": "0352b162562db3f184f522bb3e520402", - "mime_type": "text/x-pascal", - "file_type": "Pascal source, ASCII text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [ - { - "key": "mit", - "score": 11, - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://enterprise.dejacode.com/urn/urn:dje:license:mit", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT", - "start_line": 7, - "end_line": 7, - "matched_rule": { - "identifier": "mit_126.RULE", - "license_expression": "mit", - "licenses": ["mit"], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 2, - "matched_length": 2, - "match_coverage": 100, - "rule_relevance": 11 - } - }, - { - "key": "mit", - "score": 96.53, - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://enterprise.dejacode.com/urn/urn:dje:license:mit", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT", - "start_line": 9, - "end_line": 29, - "matched_rule": { - "identifier": "mit_26.RULE", - "license_expression": "mit", - "licenses": ["mit"], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "matcher": "3-seq", - "rule_length": 167, - "matched_length": 167, - "match_coverage": 100, - "rule_relevance": 100 - } - } - ], - "license_expressions": ["mit", "mit"], - "holders": [], - "copyrights": [{ "value": "(c) 2016", "start_line": 11, "end_line": 11 }], - "authors": [], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/cipher.js", - "type": "file", - "name": "cipher.js", - "base_name": "cipher", - "extension": ".js", - "size": 6668, - "date": "1985-10-26", - "sha1": "ca80a4608e9365f4cbca5ac1b827286611142893", - "md5": "bb3480cf801c44614ea19445056a488e", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [{ "value": "Digital Bazaar, Inc.", "start_line": 6, "end_line": 6 }], - "copyrights": [ - { - "value": "Copyright (c) 2010-2014 Digital Bazaar, Inc.", - "start_line": 6, - "end_line": 6 - } - ], - "authors": [{ "value": "Dave Longley", "start_line": 4, "end_line": 4 }], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/cipherModes.js", - "type": "file", - "name": "cipherModes.js", - "base_name": "cipherModes", - "extension": ".js", - "size": 28610, - "date": "1985-10-26", - "sha1": "7b9f74c5719af36c2c50c004d57f092fe7a569dc", - "md5": "61ac713055415935795e061d2737945f", - "mime_type": "text/x-pascal", - "file_type": "Pascal source, ASCII text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [{ "value": "Digital Bazaar, Inc.", "start_line": 6, "end_line": 6 }], - "copyrights": [ - { - "value": "Copyright (c) 2010-2014 Digital Bazaar, Inc.", - "start_line": 6, - "end_line": 6 - } - ], - "authors": [{ "value": "Dave Longley", "start_line": 4, "end_line": 4 }], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/debug.js", - "type": "file", - "name": "debug.js", - "base_name": "debug", - "extension": ".js", - "size": 2076, - "date": "1985-10-26", - "sha1": "56598304f783ad4098ced9d7ab432609e8478bf7", - "md5": "e03dc79dc362cfc7ae295ab0ff068ea4", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [{ "value": "Digital Bazaar, Inc.", "start_line": 6, "end_line": 6 }], - "copyrights": [ - { - "value": "Copyright 2008-2013 Digital Bazaar, Inc.", - "start_line": 6, - "end_line": 6 - } - ], - "authors": [ - { - "value": "David I. Lehn ", - "start_line": 4, - "end_line": 4 - } - ], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/des.js", - "type": "file", - "name": "des.js", - "base_name": "des", - "extension": ".js", - "size": 20442, - "date": "1985-10-26", - "sha1": "19e370f995c70c2201ee4bcecb27253bb7a4a602", - "md5": "24b32569c4b62d22bfd6ca6309783ae7", - "mime_type": "text/plain", - "file_type": "ASCII text, with very long lines", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [ - { - "key": "bsd-new", - "score": 11, - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://enterprise.dejacode.com/urn/urn:dje:license:bsd-new", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause", - "start_line": 5, - "end_line": 5, - "matched_rule": { - "identifier": "bsd-new_169.RULE", - "license_expression": "bsd-new", - "licenses": ["bsd-new"], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 2, - "matched_length": 2, - "match_coverage": 100, - "rule_relevance": 11 - } - }, - { - "key": "warranty-disclaimer", - "score": 100, - "name": "Generic Bare Warranty Disclaimer", - "short_name": "Generic Bare Warranty Disclaimer", - "category": "Unstated License", - "is_exception": false, - "owner": "Unspecified", - "homepage_url": "", - "text_url": "", - "reference_url": "https://enterprise.dejacode.com/urn/urn:dje:license:warranty-disclaimer", - "spdx_license_key": "", - "spdx_url": "", - "start_line": 13, - "end_line": 23, - "matched_rule": { - "identifier": "warranty-disclaimer_8.RULE", - "license_expression": "warranty-disclaimer", - "licenses": ["warranty-disclaimer"], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 109, - "matched_length": 109, - "match_coverage": 100, - "rule_relevance": 100 - } - } - ], - "license_expressions": ["bsd-new", "warranty-disclaimer"], - "holders": [ - { "value": "Stefan Siegl", "start_line": 28, "end_line": 29 }, - { "value": "Digital Bazaar, Inc.", "start_line": 28, "end_line": 29 } - ], - "copyrights": [ - { - "value": "Copyright (c) 2012 Stefan Siegl ", - "start_line": 28, - "end_line": 29 - }, - { - "value": "Copyright (c) 2012-2014 Digital Bazaar, Inc.", - "start_line": 28, - "end_line": 29 - } - ], - "authors": [ - { "value": "Stefan Siegl", "start_line": 25, "end_line": 26 }, - { "value": "Dave Longley", "start_line": 25, "end_line": 26 } - ], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/ed25519.js", - "type": "file", - "name": "ed25519.js", - "base_name": "ed25519", - "extension": ".js", - "size": 22213, - "date": "1985-10-26", - "sha1": "e7419a511cb6acebfb83f4cf6ee25a031f3ae744", - "md5": "cbef66a1c7218ebd0c72d6aad8a701c7", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [ - { - "key": "public-domain", - "score": 50, - "name": "Public Domain", - "short_name": "Public Domain", - "category": "Public Domain", - "is_exception": false, - "owner": "Unspecified", - "homepage_url": "http://www.linfo.org/publicdomain.html", - "text_url": "", - "reference_url": "https://enterprise.dejacode.com/urn/urn:dje:license:public-domain", - "spdx_license_key": "", - "spdx_url": "", - "start_line": 7, - "end_line": 7, - "matched_rule": { - "identifier": "public-domain_79.RULE", - "license_expression": "public-domain", - "licenses": ["public-domain"], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 2, - "matched_length": 2, - "match_coverage": 100, - "rule_relevance": 50 - } - } - ], - "license_expressions": ["public-domain"], - "holders": [{ "value": "Digital Bazaar, Inc.", "start_line": 4, "end_line": 4 }], - "copyrights": [ - { - "value": "Copyright (c) 2017-2018 Digital Bazaar, Inc.", - "start_line": 4, - "end_line": 4 - } - ], - "authors": [], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/forge.js", - "type": "file", - "name": "forge.js", - "base_name": "forge", - "extension": ".js", - "size": 200, - "date": "1985-10-26", - "sha1": "a9ab5eb9eb3699ad19877248888b7ab2cba1a0d7", - "md5": "4fd842e6a9ec49af694c1e8d0e8e6e15", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [{ "value": "Digital Bazaar, Inc.", "start_line": 6, "end_line": 6 }], - "copyrights": [ - { - "value": "Copyright 2011-2016 Digital Bazaar, Inc.", - "start_line": 6, - "end_line": 6 - } - ], - "authors": [{ "value": "Dave Longley", "start_line": 4, "end_line": 4 }], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/form.js", - "type": "file", - "name": "form.js", - "base_name": "form", - "extension": ".js", - "size": 3880, - "date": "1985-10-26", - "sha1": "b4da8dbc81759f1171cb8465580b17d7cffe5a36", - "md5": "b84e91dcfc6cf9d2d6319c519c78fcb0", - "mime_type": "text/x-pascal", - "file_type": "Pascal source, ASCII text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [{ "value": "Digital Bazaar, Inc.", "start_line": 8, "end_line": 8 }], - "copyrights": [ - { - "value": "Copyright (c) 2011-2014 Digital Bazaar, Inc.", - "start_line": 8, - "end_line": 8 - } - ], - "authors": [ - { - "value": "David I. Lehn ", - "start_line": 4, - "end_line": 6 - }, - { "value": "Dave Longley", "start_line": 4, "end_line": 6 }, - { "value": "Mike Johnson", "start_line": 4, "end_line": 6 } - ], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/hmac.js", - "type": "file", - "name": "hmac.js", - "base_name": "hmac", - "extension": ".js", - "size": 3833, - "date": "1985-10-26", - "sha1": "6685ef733182c43d8dc7adc952ffe1fec52288cb", - "md5": "d89e2eba25fc31a8e47b986ca09661bb", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [{ "value": "Digital Bazaar, Inc.", "start_line": 8, "end_line": 8 }], - "copyrights": [ - { - "value": "Copyright (c) 2010-2012 Digital Bazaar, Inc.", - "start_line": 8, - "end_line": 8 - } - ], - "authors": [{ "value": "Dave Longley", "start_line": 6, "end_line": 6 }], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/http.js", - "type": "file", - "name": "http.js", - "base_name": "http", - "extension": ".js", - "size": 39472, - "date": "1985-10-26", - "sha1": "24c6c05526466f17d8692141a4fa4c9d521f7c84", - "md5": "979f388d79469b1a6500590808a72e4f", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [{ "value": "Digital Bazaar, Inc.", "start_line": 6, "end_line": 6 }], - "copyrights": [ - { - "value": "Copyright (c) 2010-2014 Digital Bazaar, Inc.", - "start_line": 6, - "end_line": 6 - } - ], - "authors": [{ "value": "Dave Longley", "start_line": 4, "end_line": 4 }], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/index.all.js", - "type": "file", - "name": "index.all.js", - "base_name": "index.all", - "extension": ".js", - "size": 366, - "date": "1985-10-26", - "sha1": "592a72a94ddc60f72667d0aef9612d4ea808bc3d", - "md5": "a01f7d8b452311a9ae6f2d104eb83ad9", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [{ "value": "Digital Bazaar, Inc.", "start_line": 6, "end_line": 6 }], - "copyrights": [ - { - "value": "Copyright 2011-2016 Digital Bazaar, Inc.", - "start_line": 6, - "end_line": 6 - } - ], - "authors": [{ "value": "Dave Longley", "start_line": 4, "end_line": 4 }], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/index.js", - "type": "file", - "name": "index.js", - "base_name": "index", - "extension": ".js", - "size": 679, - "date": "1985-10-26", - "sha1": "f10e26fad351718f2fad90f5e804114f4abfb778", - "md5": "4b46becad7ae71cec87b8b0e58a75485", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [{ "value": "Digital Bazaar, Inc.", "start_line": 6, "end_line": 6 }], - "copyrights": [ - { - "value": "Copyright 2011-2016 Digital Bazaar, Inc.", - "start_line": 6, - "end_line": 6 - } - ], - "authors": [{ "value": "Dave Longley", "start_line": 4, "end_line": 4 }], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/jsbn.js", - "type": "file", - "name": "jsbn.js", - "base_name": "jsbn", - "extension": ".js", - "size": 35188, - "date": "1985-10-26", - "sha1": "f7fac97d20ce9dd25af561f5b1b3a145c3eb18b7", - "md5": "b47f8a60adda9f9efe121d86d0b62936", - "mime_type": "text/plain", - "file_type": "ASCII text, with very long lines", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [ - { - "key": "mit-addition", - "score": 100, - "name": "MIT Addition License", - "short_name": "MIT Addition License", - "category": "Permissive", - "is_exception": false, - "owner": "Tom Wu", - "homepage_url": "http://www-cs-students.stanford.edu/~tjw/jsbn/LICENSE", - "text_url": "", - "reference_url": "https://enterprise.dejacode.com/urn/urn:dje:license:mit-addition", - "spdx_license_key": "", - "spdx_url": "", - "start_line": 17, - "end_line": 41, - "matched_rule": { - "identifier": "mit-addition.LICENSE", - "license_expression": "mit-addition", - "licenses": ["mit-addition"], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 195, - "matched_length": 195, - "match_coverage": 100, - "rule_relevance": 100 - } - } - ], - "license_expressions": ["mit-addition"], - "holders": [ - { "value": "Tom Wu", "start_line": 1, "end_line": 2 }, - { "value": "Tom Wu", "start_line": 11, "end_line": 15 }, - { "value": "Tom Wu", "start_line": 611, "end_line": 612 } - ], - "copyrights": [ - { - "value": "Copyright (c) 2005 Tom Wu", - "start_line": 1, - "end_line": 2 - }, - { - "value": "Copyright (c) 2003-2005 Tom Wu", - "start_line": 11, - "end_line": 15 - }, - { - "value": "Copyright (c) 2005-2009 Tom Wu", - "start_line": 611, - "end_line": 612 - } - ], - "authors": [], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/kem.js", - "type": "file", - "name": "kem.js", - "base_name": "kem", - "extension": ".js", - "size": 5210, - "date": "1985-10-26", - "sha1": "c4120117a245e3f34d1a7a1eef5fd423417a5250", - "md5": "4af4735b770c607e7755ed1704a823a6", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [ - { "value": "Lautaro Cozzani", "start_line": 7, "end_line": 8 }, - { "value": "Digital Bazaar, Inc.", "start_line": 7, "end_line": 8 } - ], - "copyrights": [ - { - "value": "Copyright (c) 2014 Lautaro Cozzani ", - "start_line": 7, - "end_line": 8 - }, - { - "value": "Copyright (c) 2014 Digital Bazaar, Inc.", - "start_line": 7, - "end_line": 8 - } - ], - "authors": [ - { - "value": "Lautaro Cozzani Rodriguez", - "start_line": 4, - "end_line": 5 - }, - { "value": "Dave Longley", "start_line": 4, "end_line": 5 } - ], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/log.js", - "type": "file", - "name": "log.js", - "base_name": "log", - "extension": ".js", - "size": 9170, - "date": "1985-10-26", - "sha1": "92e61093d0cc91e6a362150d0b1e5f7c6a8a751e", - "md5": "808cab62470b7de894b6c66897521961", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [{ "value": "Digital Bazaar, Inc.", "start_line": 6, "end_line": 6 }], - "copyrights": [ - { - "value": "Copyright (c) 2008-2013 Digital Bazaar, Inc.", - "start_line": 6, - "end_line": 6 - } - ], - "authors": [ - { - "value": "David I. Lehn ", - "start_line": 4, - "end_line": 4 - } - ], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/md.all.js", - "type": "file", - "name": "md.all.js", - "base_name": "md.all", - "extension": ".js", - "size": 251, - "date": "1985-10-26", - "sha1": "073f602271e1baffbd9404615a5596508e8ccb7e", - "md5": "662af2a8ea3493ed5933647229b07485", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [{ "value": "Digital Bazaar, Inc.", "start_line": 6, "end_line": 6 }], - "copyrights": [ - { - "value": "Copyright 2011-2017 Digital Bazaar, Inc.", - "start_line": 6, - "end_line": 6 - } - ], - "authors": [{ "value": "Dave Longley", "start_line": 4, "end_line": 4 }], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/md.js", - "type": "file", - "name": "md.js", - "base_name": "md", - "extension": ".js", - "size": 253, - "date": "1985-10-26", - "sha1": "26c1459a847998de5cc2c79472c24863e4c556eb", - "md5": "3523d19f4237d16c3c0ad0c2737c8c11", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [{ "value": "Digital Bazaar, Inc.", "start_line": 6, "end_line": 6 }], - "copyrights": [ - { - "value": "Copyright 2011-2017 Digital Bazaar, Inc.", - "start_line": 6, - "end_line": 6 - } - ], - "authors": [{ "value": "Dave Longley", "start_line": 4, "end_line": 4 }], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/md5.js", - "type": "file", - "name": "md5.js", - "base_name": "md5", - "extension": ".js", - "size": 7983, - "date": "1985-10-26", - "sha1": "267fef33dd4c27f7707b6f21da2ec3d628c971b6", - "md5": "7c1fbbcb504399ad7993ac35b3c9ea9f", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [{ "value": "Digital Bazaar, Inc.", "start_line": 6, "end_line": 6 }], - "copyrights": [ - { - "value": "Copyright (c) 2010-2014 Digital Bazaar, Inc.", - "start_line": 6, - "end_line": 6 - } - ], - "authors": [{ "value": "Dave Longley", "start_line": 4, "end_line": 4 }], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/mgf.js", - "type": "file", - "name": "mgf.js", - "base_name": "mgf", - "extension": ".js", - "size": 274, - "date": "1985-10-26", - "sha1": "0d7e7ca71c1fce9a92a96b1cc9b760fc1a5723ba", - "md5": "25ac64f6c0fdf703a301b3590eef0de9", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [{ "value": "Stefan Siegl", "start_line": 6, "end_line": 6 }], - "copyrights": [ - { - "value": "Copyright 2012 Stefan Siegl ", - "start_line": 6, - "end_line": 6 - } - ], - "authors": [{ "value": "Stefan Siegl", "start_line": 4, "end_line": 4 }], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/mgf1.js", - "type": "file", - "name": "mgf1.js", - "base_name": "mgf1", - "extension": ".js", - "size": 1645, - "date": "1985-10-26", - "sha1": "267cda099f5204101ac49b858561ae2e51e1458d", - "md5": "b085da051c3dcd1329f191e872b2ba38", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [ - { "value": "Stefan Siegl", "start_line": 7, "end_line": 8 }, - { "value": "Digital Bazaar, Inc.", "start_line": 7, "end_line": 8 } - ], - "copyrights": [ - { - "value": "Copyright (c) 2012 Stefan Siegl ", - "start_line": 7, - "end_line": 8 - }, - { - "value": "Copyright (c) 2014 Digital Bazaar, Inc.", - "start_line": 7, - "end_line": 8 - } - ], - "authors": [ - { "value": "Stefan Siegl", "start_line": 4, "end_line": 5 }, - { "value": "Dave Longley", "start_line": 4, "end_line": 5 } - ], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/oids.js", - "type": "file", - "name": "oids.js", - "base_name": "oids", - "extension": ".js", - "size": 6025, - "date": "1985-10-26", - "sha1": "5d2baa5161dad5ca0852ef6461cc71b119057dde", - "md5": "beb91b184a27c3f8becb3cc345490470", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [{ "value": "Digital Bazaar, Inc.", "start_line": 6, "end_line": 6 }], - "copyrights": [ - { - "value": "Copyright (c) 2010-2013 Digital Bazaar, Inc.", - "start_line": 6, - "end_line": 6 - } - ], - "authors": [{ "value": "Dave Longley", "start_line": 4, "end_line": 4 }], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/pbe.js", - "type": "file", - "name": "pbe.js", - "base_name": "pbe", - "extension": ".js", - "size": 30999, - "date": "1985-10-26", - "sha1": "3485de1bb7ba9e6d64fddb33b2face64f44963a4", - "md5": "3f8e9a6d861d3553d0cb806a7a7eb23d", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [ - { "value": "Digital Bazaar, Inc.", "start_line": 7, "end_line": 8 }, - { "value": "Stefan Siegl", "start_line": 7, "end_line": 8 } - ], - "copyrights": [ - { - "value": "Copyright (c) 2010-2013 Digital Bazaar, Inc.", - "start_line": 7, - "end_line": 8 - }, - { - "value": "Copyright (c) 2012 Stefan Siegl ", - "start_line": 7, - "end_line": 8 - } - ], - "authors": [ - { "value": "Dave Longley", "start_line": 4, "end_line": 5 }, - { - "value": "Stefan Siegl ", - "start_line": 4, - "end_line": 5 - } - ], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/pbkdf2.js", - "type": "file", - "name": "pbkdf2.js", - "base_name": "pbkdf2", - "extension": ".js", - "size": 5807, - "date": "1985-10-26", - "sha1": "511289b2d48389b416df2a57ffc8ad8d5c02e88f", - "md5": "17de53159100f4c304df8441e8188840", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [{ "value": "Digital Bazaar, Inc.", "start_line": 8, "end_line": 8 }], - "copyrights": [ - { - "value": "Copyright (c) 2010-2013 Digital Bazaar, Inc.", - "start_line": 8, - "end_line": 8 - } - ], - "authors": [{ "value": "Dave Longley", "start_line": 6, "end_line": 6 }], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/pem.js", - "type": "file", - "name": "pem.js", - "base_name": "pem", - "extension": ".js", - "size": 6456, - "date": "1985-10-26", - "sha1": "e5e318675fd4d81a996aff84e63189b1aeb0ca23", - "md5": "9c390fb0a3e2d7acba5e16e451139b97", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [{ "value": "Digital Bazaar, Inc.", "start_line": 8, "end_line": 8 }], - "copyrights": [ - { - "value": "Copyright (c) 2013-2014 Digital Bazaar, Inc.", - "start_line": 8, - "end_line": 8 - } - ], - "authors": [{ "value": "Dave Longley", "start_line": 6, "end_line": 6 }], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/pkcs1.js", - "type": "file", - "name": "pkcs1.js", - "base_name": "pkcs1", - "extension": ".js", - "size": 8376, - "date": "1985-10-26", - "sha1": "b7ef5b36c1016b7cf094bcd6e54838d9aa25b9bc", - "md5": "44cb13a4b0589c72112bff1efb9a1200", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [ - { - "key": "bsd-new", - "score": 11, - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://enterprise.dejacode.com/urn/urn:dje:license:bsd-new", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause", - "start_line": 4, - "end_line": 4, - "matched_rule": { - "identifier": "bsd-new_169.RULE", - "license_expression": "bsd-new", - "licenses": ["bsd-new"], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 2, - "matched_length": 2, - "match_coverage": 100, - "rule_relevance": 11 - } - }, - { - "key": "mit", - "score": 98.8, - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://enterprise.dejacode.com/urn/urn:dje:license:mit", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT", - "start_line": 8, - "end_line": 28, - "matched_rule": { - "identifier": "mit_160.RULE", - "license_expression": "mit", - "licenses": ["mit"], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false, - "matcher": "3-seq", - "rule_length": 167, - "matched_length": 165, - "match_coverage": 98.8, - "rule_relevance": 100 - } - }, - { - "key": "bsd-new", - "score": 17, - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://enterprise.dejacode.com/urn/urn:dje:license:bsd-new", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause", - "start_line": 37, - "end_line": 37, - "matched_rule": { - "identifier": "bsd-new_145.RULE", - "license_expression": "bsd-new", - "licenses": ["bsd-new"], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 3, - "matched_length": 3, - "match_coverage": 100, - "rule_relevance": 17 - } - } - ], - "license_expressions": ["bsd-new", "mit", "bsd-new"], - "holders": [ - { "value": "Kenji Urushima", "start_line": 10, "end_line": 10 }, - { - "value": "Ellis Pritchard, Guardian Unlimited", - "start_line": 34, - "end_line": 37 - }, - { "value": "Digital Bazaar, Inc.", "start_line": 44, "end_line": 44 } - ], - "copyrights": [ - { - "value": "Copyright (c) 2012 Kenji Urushima", - "start_line": 10, - "end_line": 10 - }, - { - "value": "Copyright (c) Ellis Pritchard, Guardian Unlimited 2003.", - "start_line": 34, - "end_line": 37 - }, - { - "value": "Copyright (c) 2013-2014 Digital Bazaar, Inc.", - "start_line": 44, - "end_line": 44 - } - ], - "authors": [ - { - "value": "Evan Jones (http://evanjones.ca/)", - "start_line": 41, - "end_line": 42 - }, - { "value": "Dave Longley", "start_line": 41, "end_line": 42 } - ], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/pkcs12.js", - "type": "file", - "name": "pkcs12.js", - "base_name": "pkcs12", - "extension": ".js", - "size": 33351, - "date": "1985-10-26", - "sha1": "e8793568ba9397c4c9545dc0b6c4623796b8074c", - "md5": "2bbce25ab1f78dfc3be211f5d14fa461", - "mime_type": "text/plain", - "file_type": "UTF-8 Unicode text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [ - { "value": "Digital Bazaar, Inc.", "start_line": 7, "end_line": 8 }, - { "value": "Stefan Siegl", "start_line": 7, "end_line": 8 } - ], - "copyrights": [ - { - "value": "Copyright (c) 2010-2014 Digital Bazaar, Inc.", - "start_line": 7, - "end_line": 8 - }, - { - "value": "Copyright (c) 2012 Stefan Siegl ", - "start_line": 7, - "end_line": 8 - } - ], - "authors": [ - { "value": "Dave Longley", "start_line": 4, "end_line": 5 }, - { - "value": "Stefan Siegl ", - "start_line": 4, - "end_line": 5 - } - ], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/pkcs7.js", - "type": "file", - "name": "pkcs7.js", - "base_name": "pkcs7", - "extension": ".js", - "size": 39266, - "date": "1985-10-26", - "sha1": "ed4c52abec7ce0f42f2ff8f48e44d3b8a3287e07", - "md5": "2d15037d97ca26bafacd0824df27a02e", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [ - { "value": "Stefan Siegl", "start_line": 7, "end_line": 8 }, - { "value": "Digital Bazaar, Inc.", "start_line": 7, "end_line": 8 } - ], - "copyrights": [ - { - "value": "Copyright (c) 2012 Stefan Siegl ", - "start_line": 7, - "end_line": 8 - }, - { - "value": "Copyright (c) 2012-2015 Digital Bazaar, Inc.", - "start_line": 7, - "end_line": 8 - } - ], - "authors": [ - { "value": "Stefan Siegl", "start_line": 4, "end_line": 5 }, - { "value": "Dave Longley", "start_line": 4, "end_line": 5 } - ], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/pkcs7asn1.js", - "type": "file", - "name": "pkcs7asn1.js", - "base_name": "pkcs7asn1", - "extension": ".js", - "size": 11462, - "date": "1985-10-26", - "sha1": "25491c12ac771208b3d8df86744310ae429237a4", - "md5": "40b5c2b9da73d64ad33e1882a05b3447", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [ - { "value": "Digital Bazaar, Inc.", "start_line": 7, "end_line": 8 }, - { "value": "Stefan Siegl", "start_line": 7, "end_line": 8 } - ], - "copyrights": [ - { - "value": "Copyright (c) 2012-2015 Digital Bazaar, Inc.", - "start_line": 7, - "end_line": 8 - }, - { - "value": "Copyright (c) 2012 Stefan Siegl ", - "start_line": 7, - "end_line": 8 - } - ], - "authors": [ - { "value": "Dave Longley", "start_line": 4, "end_line": 5 }, - { "value": "Stefan Siegl", "start_line": 4, "end_line": 5 } - ], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/pki.js", - "type": "file", - "name": "pki.js", - "base_name": "pki", - "extension": ".js", - "size": 2651, - "date": "1985-10-26", - "sha1": "3164bbb30111255cb5ef82c0a787bad9aa4f5a8e", - "md5": "1f9bba642c6670d694001b4acc2e69e3", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [{ "value": "Digital Bazaar, Inc.", "start_line": 7, "end_line": 7 }], - "copyrights": [ - { - "value": "Copyright (c) 2010-2013 Digital Bazaar, Inc.", - "start_line": 7, - "end_line": 7 - } - ], - "authors": [{ "value": "Dave Longley", "start_line": 5, "end_line": 5 }], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/prime.js", - "type": "file", - "name": "prime.js", - "base_name": "prime", - "extension": ".js", - "size": 8776, - "date": "1985-10-26", - "sha1": "9975a13e9eab54811a408d1141eff4b11d1c13ca", - "md5": "1888080ff4cf76be1dcd353e2106c5b6", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [{ "value": "Digital Bazaar, Inc.", "start_line": 6, "end_line": 6 }], - "copyrights": [ - { - "value": "Copyright (c) 2014 Digital Bazaar, Inc.", - "start_line": 6, - "end_line": 6 - } - ], - "authors": [{ "value": "Dave Longley", "start_line": 4, "end_line": 4 }], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/prime.worker.js", - "type": "file", - "name": "prime.worker.js", - "base_name": "prime.worker", - "extension": ".js", - "size": 4804, - "date": "1985-10-26", - "sha1": "de070cbbb69e45d1e75291e85b0e2559bcebd46f", - "md5": "e97099b5b60a97019d498027418ac632", - "mime_type": "text/plain", - "file_type": "ASCII text, with very long lines", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [{ "value": "Digital Bazaar, Inc.", "start_line": 6, "end_line": 6 }], - "copyrights": [ - { - "value": "Copyright (c) 2013 Digital Bazaar, Inc.", - "start_line": 6, - "end_line": 6 - } - ], - "authors": [{ "value": "Dave Longley", "start_line": 4, "end_line": 4 }], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/prng.js", - "type": "file", - "name": "prng.js", - "base_name": "prng", - "extension": ".js", - "size": 12349, - "date": "1985-10-26", - "sha1": "46401266e5f086ffb76177286389470addf6fac0", - "md5": "d5309ed65692b3c37e3f6b7d37631be1", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [ - { - "key": "public-domain", - "score": 50, - "name": "Public Domain", - "short_name": "Public Domain", - "category": "Public Domain", - "is_exception": false, - "owner": "Unspecified", - "homepage_url": "http://www.linfo.org/publicdomain.html", - "text_url": "", - "reference_url": "https://enterprise.dejacode.com/urn/urn:dje:license:public-domain", - "spdx_license_key": "", - "spdx_url": "", - "start_line": 305, - "end_line": 305, - "matched_rule": { - "identifier": "public-domain_79.RULE", - "license_expression": "public-domain", - "licenses": ["public-domain"], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 2, - "matched_length": 2, - "match_coverage": 100, - "rule_relevance": 50 - } - } - ], - "license_expressions": ["public-domain"], - "holders": [{ "value": "Digital Bazaar, Inc.", "start_line": 10, "end_line": 10 }], - "copyrights": [ - { - "value": "Copyright (c) 2010-2014 Digital Bazaar, Inc.", - "start_line": 10, - "end_line": 10 - } - ], - "authors": [{ "value": "Dave Longley", "start_line": 8, "end_line": 8 }], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/pss.js", - "type": "file", - "name": "pss.js", - "base_name": "pss", - "extension": ".js", - "size": 7854, - "date": "1985-10-26", - "sha1": "f3a70912addcae0029cef2b1376da8b686f6d50d", - "md5": "f816123d9b81439a99f4684360980631", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [{ "value": "Stefan Siegl", "start_line": 6, "end_line": 6 }], - "copyrights": [ - { - "value": "Copyright (c) 2012 Stefan Siegl ", - "start_line": 6, - "end_line": 6 - } - ], - "authors": [{ "value": "Stefan Siegl", "start_line": 4, "end_line": 4 }], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/random.js", - "type": "file", - "name": "random.js", - "base_name": "random", - "extension": ".js", - "size": 5435, - "date": "1985-10-26", - "sha1": "46d8c912b3dfb7af8904b84dcc5332402927555d", - "md5": "a4e943610f5f4d2244f7f3931d648d8f", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [{ "value": "Digital Bazaar, Inc.", "start_line": 14, "end_line": 14 }], - "copyrights": [ - { - "value": "Copyright (c) 2009-2014 Digital Bazaar, Inc.", - "start_line": 14, - "end_line": 14 - } - ], - "authors": [{ "value": "Dave Longley", "start_line": 12, "end_line": 12 }], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/rc2.js", - "type": "file", - "name": "rc2.js", - "base_name": "rc2", - "extension": ".js", - "size": 11949, - "date": "1985-10-26", - "sha1": "c3045c711707a8b125d1b97aaf1026a69166b774", - "md5": "16641e62a78d9caddaeedef8503f0129", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [{ "value": "Stefan Siegl", "start_line": 6, "end_line": 6 }], - "copyrights": [ - { - "value": "Copyright (c) 2012 Stefan Siegl ", - "start_line": 6, - "end_line": 6 - } - ], - "authors": [{ "value": "Stefan Siegl", "start_line": 4, "end_line": 4 }], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/rsa.js", - "type": "file", - "name": "rsa.js", - "base_name": "rsa", - "extension": ".js", - "size": 55193, - "date": "1985-10-26", - "sha1": "2c43cf351c3828fc7cca9ac41968b40620361892", - "md5": "603171f3dd9e050b44ae2d783ef4f567", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [{ "value": "Digital Bazaar, Inc.", "start_line": 6, "end_line": 6 }], - "copyrights": [ - { - "value": "Copyright (c) 2010-2014 Digital Bazaar, Inc.", - "start_line": 6, - "end_line": 6 - } - ], - "authors": [{ "value": "Dave Longley", "start_line": 4, "end_line": 4 }], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/sha1.js", - "type": "file", - "name": "sha1.js", - "base_name": "sha1", - "extension": ".js", - "size": 9095, - "date": "1985-10-26", - "sha1": "16042cf7c8c9827518d7b60d2302a8a555dd671c", - "md5": "e8e319f5746f9a521dcb1bc771fc7c8b", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [{ "value": "Digital Bazaar, Inc.", "start_line": 6, "end_line": 6 }], - "copyrights": [ - { - "value": "Copyright (c) 2010-2015 Digital Bazaar, Inc.", - "start_line": 6, - "end_line": 6 - } - ], - "authors": [{ "value": "Dave Longley", "start_line": 4, "end_line": 4 }], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/sha256.js", - "type": "file", - "name": "sha256.js", - "base_name": "sha256", - "extension": ".js", - "size": 9574, - "date": "1985-10-26", - "sha1": "855a27f870827608e5258f4b33b00f03f1262935", - "md5": "bf6ecaf6a4dbbf1e25ea95e499458b8e", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [{ "value": "Digital Bazaar, Inc.", "start_line": 8, "end_line": 8 }], - "copyrights": [ - { - "value": "Copyright (c) 2010-2015 Digital Bazaar, Inc.", - "start_line": 8, - "end_line": 8 - } - ], - "authors": [{ "value": "Dave Longley", "start_line": 6, "end_line": 6 }], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/sha512.js", - "type": "file", - "name": "sha512.js", - "base_name": "sha512", - "extension": ".js", - "size": 17134, - "date": "1985-10-26", - "sha1": "00079fcae2d06573b4821024472ec02b09985f17", - "md5": "3973ebed4b71b64c8caf928f7eefb134", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [{ "value": "Digital Bazaar, Inc.", "start_line": 11, "end_line": 11 }], - "copyrights": [ - { - "value": "Copyright (c) 2014-2015 Digital Bazaar, Inc.", - "start_line": 11, - "end_line": 11 - } - ], - "authors": [{ "value": "Dave Longley", "start_line": 9, "end_line": 9 }], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/socket.js", - "type": "file", - "name": "socket.js", - "base_name": "socket", - "extension": ".js", - "size": 8329, - "date": "1985-10-26", - "sha1": "b60cd379bc88fb204cb61dc47830b97ef610d72a", - "md5": "96ab574d31b6a304b1ab2b513b376ec0", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [{ "value": "Digital Bazaar, Inc.", "start_line": 6, "end_line": 6 }], - "copyrights": [ - { - "value": "Copyright (c) 2010-2013 Digital Bazaar, Inc.", - "start_line": 6, - "end_line": 6 - } - ], - "authors": [{ "value": "Dave Longley", "start_line": 4, "end_line": 4 }], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/ssh.js", - "type": "file", - "name": "ssh.js", - "base_name": "ssh", - "extension": ".js", - "size": 7163, - "date": "1985-10-26", - "sha1": "4a20f923a97c4b1a3614aab873b56fa4aa558837", - "md5": "4b65de556eac74527c253a99522dc0f6", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [ - { - "key": "bsd-new", - "score": 17, - "name": "BSD-3-Clause", - "short_name": "BSD-3-Clause", - "category": "Permissive", - "is_exception": false, - "owner": "Regents of the University of California", - "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", - "reference_url": "https://enterprise.dejacode.com/urn/urn:dje:license:bsd-new", - "spdx_license_key": "BSD-3-Clause", - "spdx_url": "https://spdx.org/licenses/BSD-3-Clause", - "start_line": 5, - "end_line": 5, - "matched_rule": { - "identifier": "bsd-new_145.RULE", - "license_expression": "bsd-new", - "licenses": ["bsd-new"], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 3, - "matched_length": 3, - "match_coverage": 100, - "rule_relevance": 17 - } - }, - { - "key": "gpl-2.0", - "score": 41, - "name": "GNU General Public License 2.0", - "short_name": "GPL 2.0", - "category": "Copyleft", - "is_exception": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", - "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", - "reference_url": "https://enterprise.dejacode.com/urn/urn:dje:license:gpl-2.0", - "spdx_license_key": "GPL-2.0-only", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-only", - "start_line": 5, - "end_line": 5, - "matched_rule": { - "identifier": "gpl-2.0_569.RULE", - "license_expression": "gpl-2.0", - "licenses": ["gpl-2.0"], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false, - "matcher": "2-aho", - "rule_length": 7, - "matched_length": 7, - "match_coverage": 100, - "rule_relevance": 41 - } - } - ], - "license_expressions": ["bsd-new", "gpl-2.0"], - "holders": [], - "copyrights": [], - "authors": [ - { - "value": "https://github.com/shellac", - "start_line": 9, - "end_line": 9 - } - ], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/task.js", - "type": "file", - "name": "task.js", - "base_name": "task", - "extension": ".js", - "size": 19780, - "date": "1985-10-26", - "sha1": "5b05bc0a0d992cd6e82cf9e420c5a70825d91029", - "md5": "5b35db78b4232a11cc162b1bf4ccaef2", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [{ "value": "Digital Bazaar, Inc.", "start_line": 8, "end_line": 8 }], - "copyrights": [ - { - "value": "Copyright (c) 2009-2013 Digital Bazaar, Inc.", - "start_line": 8, - "end_line": 8 - } - ], - "authors": [ - { "value": "Dave Longley", "start_line": 5, "end_line": 6 }, - { - "value": "David I. Lehn ", - "start_line": 5, - "end_line": 6 - } - ], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/tls.js", - "type": "file", - "name": "tls.js", - "base_name": "tls", - "extension": ".js", - "size": 132470, - "date": "1985-10-26", - "sha1": "25fc771d50828d435b726728d7e05a74c7a61948", - "md5": "28b979c1d5baa4de36243dbe686c16e6", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [{ "value": "Digital Bazaar, Inc.", "start_line": 6, "end_line": 6 }], - "copyrights": [ - { - "value": "Copyright (c) 2009-2014 Digital Bazaar, Inc.", - "start_line": 6, - "end_line": 6 - } - ], - "authors": [{ "value": "Dave Longley", "start_line": 4, "end_line": 4 }], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/tlssocket.js", - "type": "file", - "name": "tlssocket.js", - "base_name": "tlssocket", - "extension": ".js", - "size": 6967, - "date": "1985-10-26", - "sha1": "411e5a149377d8450aabc5bd063acda4f413832a", - "md5": "1765dad39ebd465cb20874f34a7099f4", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [{ "value": "Digital Bazaar, Inc.", "start_line": 6, "end_line": 6 }], - "copyrights": [ - { - "value": "Copyright (c) 2009-2012 Digital Bazaar, Inc.", - "start_line": 6, - "end_line": 6 - } - ], - "authors": [{ "value": "Dave Longley", "start_line": 4, "end_line": 4 }], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/util.js", - "type": "file", - "name": "util.js", - "base_name": "util", - "extension": ".js", - "size": 78194, - "date": "1985-10-26", - "sha1": "a77c889d1b9aa4c0d3d6e9ee90279bc664bedff8", - "md5": "416f37d30cd3922f0821d40ea540d867", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [{ "value": "Digital Bazaar, Inc.", "start_line": 6, "end_line": 6 }], - "copyrights": [ - { - "value": "Copyright (c) 2010-2018 Digital Bazaar, Inc.", - "start_line": 6, - "end_line": 6 - } - ], - "authors": [{ "value": "Dave Longley", "start_line": 4, "end_line": 4 }], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/x509.js", - "type": "file", - "name": "x509.js", - "base_name": "x509", - "extension": ".js", - "size": 102600, - "date": "1985-10-26", - "sha1": "c1f1745c26e16d5806477beff04361fbd917bba9", - "md5": "21f9e105b5d0935740d72f560c56977e", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [{ "value": "Digital Bazaar, Inc.", "start_line": 7, "end_line": 7 }], - "copyrights": [ - { - "value": "Copyright (c) 2010-2014 Digital Bazaar, Inc.", - "start_line": 7, - "end_line": 7 - } - ], - "authors": [{ "value": "Dave Longley", "start_line": 5, "end_line": 5 }], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "package/lib/xhr.js", - "type": "file", - "name": "xhr.js", - "base_name": "xhr", - "extension": ".js", - "size": 22091, - "date": "1985-10-26", - "sha1": "99e39b73e90d7a51dab76bca2d2a3809ec789ea6", - "md5": "c602cfeead2149bb6750d2d442e4a210", - "mime_type": "text/x-c", - "file_type": "C source, ASCII text", - "programming_language": "JavaScript", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [{ "value": "Digital Bazaar, Inc.", "start_line": 6, "end_line": 6 }], - "copyrights": [ - { - "value": "Copyright (c) 2010-2013 Digital Bazaar, Inc.", - "start_line": 6, - "end_line": 6 - } - ], - "authors": [{ "value": "Dave Longley", "start_line": 4, "end_line": 4 }], - "packages": [], - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - } - ] -} diff --git a/test/fixtures/scancode/32.0.8/gem.json b/test/fixtures/scancode/32.0.8/gem.json new file mode 100644 index 00000000..427dfc79 --- /dev/null +++ b/test/fixtures/scancode/32.0.8/gem.json @@ -0,0 +1,819 @@ +{ + "headers": [ + { + "tool_name": "scancode-toolkit", + "tool_version": "32.0.8", + "options": { + "input": [ + "/tmp/cd-woaPV7/data" + ], + "--classify": true, + "--copyright": true, + "--email": true, + "--generated": true, + "--info": true, + "--json-pp": "/tmp/cd-ZkI2nF", + "--license": true, + "--license-clarity-score": true, + "--license-text": true, + "--license-text-diagnostics": true, + "--package": true, + "--processes": "2", + "--strip-root": true, + "--summary": true, + "--tallies": true, + "--tallies-key-files": true, + "--timeout": "1000.0", + "--url": true + }, + "notice": "Generated with ScanCode and provided on an \"AS IS\" BASIS, WITHOUT WARRANTIES\nOR CONDITIONS OF ANY KIND, either express or implied. No content created from\nScanCode should be considered or used as legal advice. Consult an Attorney\nfor any legal advice.\nScanCode is a free software code scanning tool from nexB Inc. and others.\nVisit https://github.com/nexB/scancode-toolkit/ for support and download.", + "start_timestamp": "2023-12-08T184647.575119", + "end_timestamp": "2023-12-08T184650.443691", + "output_format_version": "3.0.0", + "duration": 2.868584632873535, + "message": null, + "errors": [], + "warnings": [], + "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-6.2.0-1016-azure-x86_64-with-glibc2.31", + "platform_version": "#16~22.04.1-Ubuntu SMP Tue Oct 10 17:11:51 UTC 2023", + "python_version": "3.9.2 (default, Feb 28 2021, 17:03:44) \n[GCC 10.2.1 20210110]" + }, + "spdx_license_list_version": "3.21", + "files_count": 12 + } + } + ], + "summary": { + "declared_license_expression": "mit", + "license_clarity_score": { + "score": 100, + "declared_license": true, + "identification_precision": true, + "has_license_text": true, + "declared_copyrights": true, + "conflicting_license_categories": false, + "ambiguous_compound_licensing": false + }, + "declared_holder": "Bryan Goines", + "primary_language": "Ruby", + "other_license_expressions": [ + { + "value": null, + "count": 10 + } + ], + "other_holders": [ + { + "value": null, + "count": 11 + } + ], + "other_languages": [] + }, + "packages": [], + "dependencies": [], + "license_detections": [ + { + "identifier": "mit-cacd5c0c-204a-85c2-affc-e4c125b2492a", + "license_expression": "mit", + "detection_count": 1 + }, + { + "identifier": "mit-d22e7790-225a-afbd-f102-103e3d7e5e9a", + "license_expression": "mit", + "detection_count": 1 + } + ], + "tallies": { + "detected_license_expression": [ + { + "value": null, + "count": 10 + }, + { + "value": "mit", + "count": 2 + } + ], + "copyrights": [ + { + "value": null, + "count": 11 + }, + { + "value": "Copyright (c) Bryan Goines", + "count": 1 + } + ], + "holders": [ + { + "value": null, + "count": 11 + }, + { + "value": "Bryan Goines", + "count": 1 + } + ], + "authors": [ + { + "value": null, + "count": 12 + } + ], + "programming_language": [ + { + "value": "Ruby", + "count": 10 + } + ] + }, + "tallies_of_key_files": { + "detected_license_expression": [ + { + "value": "mit", + "count": 2 + } + ], + "copyrights": [ + { + "value": "Copyright (c) Bryan Goines", + "count": 1 + } + ], + "holders": [ + { + "value": "Bryan Goines", + "count": 1 + } + ], + "authors": [], + "programming_language": [] + }, + "files": [ + { + "path": "LICENSE", + "type": "file", + "name": "LICENSE", + "base_name": "LICENSE", + "extension": "", + "size": 1056, + "date": "1970-01-01", + "sha1": "ecda14dd5f0e7a358e7e0d0df164c3664517f4c5", + "md5": "e76d22c8f6c577b2f3ba703942ad5b90", + "sha256": "abd89cff77938516610dec27553ef86dd152b450144938765d8e41c027637687", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": null, + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": false, + "is_script": false, + "package_data": [], + "for_packages": [], + "is_legal": true, + "is_manifest": false, + "is_readme": false, + "is_top_level": true, + "is_key_file": true, + "detected_license_expression": "mit", + "detected_license_expression_spdx": "MIT", + "license_detections": [ + { + "license_expression": "mit", + "matches": [ + { + "score": 100, + "start_line": 3, + "end_line": 20, + "matched_length": 161, + "match_coverage": 100, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "matched_text": "Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." + } + ], + "identifier": "mit-cacd5c0c-204a-85c2-affc-e4c125b2492a" + } + ], + "license_clues": [], + "percentage_of_license_text": 96.99, + "copyrights": [ + { + "copyright": "Copyright (c) 2012 Bryan Goines", + "start_line": 1, + "end_line": 1 + } + ], + "holders": [ + { + "holder": "Bryan Goines", + "start_line": 1, + "end_line": 1 + } + ], + "authors": [], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "README.md", + "type": "file", + "name": "README.md", + "base_name": "README", + "extension": ".md", + "size": 2000, + "date": "1970-01-01", + "sha1": "dbf903f42426a512ada8d326b46ea2187de39c9a", + "md5": "15bb0aeb4bf6becadb3dc0fc2d823c0c", + "sha256": "e1573ab93babc489d5dc0a89022bc6d6705271fab7dda6c9a20a982dfecd6337", + "mime_type": "text/x-ruby", + "file_type": "Ruby script, ASCII text", + "programming_language": null, + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": false, + "is_script": true, + "package_data": [], + "for_packages": [], + "is_legal": false, + "is_manifest": false, + "is_readme": true, + "is_top_level": true, + "is_key_file": true, + "detected_license_expression": "mit", + "detected_license_expression_spdx": "MIT", + "license_detections": [ + { + "license_expression": "mit", + "matches": [ + { + "score": 87.5, + "start_line": 134, + "end_line": 136, + "matched_length": 7, + "match_coverage": 100, + "matcher": "3-seq", + "license_expression": "mit", + "rule_identifier": "mit_715.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_715.RULE", + "matched_text": "License\n\n**[small]** is licensed under the MIT license" + } + ], + "identifier": "mit-d22e7790-225a-afbd-f102-103e3d7e5e9a" + } + ], + "license_clues": [], + "percentage_of_license_text": 2.59, + "copyrights": [], + "holders": [], + "authors": [], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "lib", + "type": "directory", + "name": "lib", + "base_name": "lib", + "extension": "", + "size": 0, + "date": null, + "sha1": null, + "md5": null, + "sha256": null, + "mime_type": null, + "file_type": null, + "programming_language": null, + "is_binary": false, + "is_text": false, + "is_archive": false, + "is_media": false, + "is_source": false, + "is_script": false, + "package_data": [], + "for_packages": [], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": true, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [], + "holders": [], + "authors": [], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 10, + "dirs_count": 1, + "size_count": 7015, + "scan_errors": [] + }, + { + "path": "lib/small.rb", + "type": "file", + "name": "small.rb", + "base_name": "small", + "extension": ".rb", + "size": 214, + "date": "1970-01-01", + "sha1": "a8ce4ed9aba7a73f9d7f9465d67fbaa9258e46e8", + "md5": "f70bdd7d6bc39a79d6d007f47b84dd87", + "sha256": "2620073993e58fcb6d97ca2cf0f80067355fb7c4937103a2e977ba4353d4b2de", + "mime_type": "text/x-ruby", + "file_type": "Ruby script, ASCII text", + "programming_language": "Ruby", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": true, + "package_data": [], + "for_packages": [], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [], + "holders": [], + "authors": [], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "lib/small", + "type": "directory", + "name": "small", + "base_name": "small", + "extension": "", + "size": 0, + "date": null, + "sha1": null, + "md5": null, + "sha256": null, + "mime_type": null, + "file_type": null, + "programming_language": null, + "is_binary": false, + "is_text": false, + "is_archive": false, + "is_media": false, + "is_source": false, + "is_script": false, + "package_data": [], + "for_packages": [], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [], + "holders": [], + "authors": [], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 9, + "dirs_count": 0, + "size_count": 6801, + "scan_errors": [] + }, + { + "path": "lib/small/array.rb", + "type": "file", + "name": "array.rb", + "base_name": "array", + "extension": ".rb", + "size": 127, + "date": "1970-01-01", + "sha1": "34989df9372fdac0dfb937ce9d203ac0bfa879b0", + "md5": "79a4fd2e502a630457c5aae47ec27a30", + "sha256": "6d3ddb809d2373d75aa2a7258e4b1035f347f540d3dbb4d746b77eadeae90272", + "mime_type": "text/x-ruby", + "file_type": "Ruby script, ASCII text", + "programming_language": "Ruby", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": true, + "package_data": [], + "for_packages": [], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [], + "holders": [], + "authors": [], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "lib/small/benchmark.rb", + "type": "file", + "name": "benchmark.rb", + "base_name": "benchmark", + "extension": ".rb", + "size": 414, + "date": "1970-01-01", + "sha1": "e58373037d1e93e19504f28352cac6dfd66d7396", + "md5": "60ddc306f5ae32babb39496d1947105b", + "sha256": "578e86388c910e4ca26d4753b913c1e2c8532b915d214ef4dae096a61eea1237", + "mime_type": "text/x-ruby", + "file_type": "Ruby script, ASCII text", + "programming_language": "Ruby", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": true, + "package_data": [], + "for_packages": [], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [], + "holders": [], + "authors": [], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "lib/small/hash.rb", + "type": "file", + "name": "hash.rb", + "base_name": "hash", + "extension": ".rb", + "size": 277, + "date": "1970-01-01", + "sha1": "2debe1cbe68639231003d37d5186da18eaa7e414", + "md5": "0d146e3e148047b28235a466764d6c81", + "sha256": "93a10420300d24cfea7347270ec8df007b9632842a99b509883b4d291848010b", + "mime_type": "text/x-ruby", + "file_type": "Ruby script, ASCII text", + "programming_language": "Ruby", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": true, + "package_data": [], + "for_packages": [], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [], + "holders": [], + "authors": [], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "lib/small/integer.rb", + "type": "file", + "name": "integer.rb", + "base_name": "integer", + "extension": ".rb", + "size": 239, + "date": "1970-01-01", + "sha1": "7e724fe9cc7e2ecea82d23e31ab6a7e2d0c6f962", + "md5": "a768d03756e6ee493edb21c5766e87f3", + "sha256": "987017b23cf73b341e0714d0898f6bfeaef052a5141c929066c4568381f92e1b", + "mime_type": "text/x-ruby", + "file_type": "Ruby script, ASCII text", + "programming_language": "Ruby", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": true, + "package_data": [], + "for_packages": [], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [], + "holders": [], + "authors": [], + "emails": [], + "urls": [ + { + "url": "http://www.wolframalpha.com/input/?i=year", + "start_line": 4, + "end_line": 4 + } + ], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "lib/small/math.rb", + "type": "file", + "name": "math.rb", + "base_name": "math", + "extension": ".rb", + "size": 212, + "date": "1970-01-01", + "sha1": "d4d1565475e5e1d550deaefd1038b5eec5e24c76", + "md5": "5986deaf3b0e81aaf4c6fe2fadafc88a", + "sha256": "9ce8067a4985338cb936a4b67d79697f0b5b065ec0b8715c5908966df14eaed9", + "mime_type": "text/x-ruby", + "file_type": "Ruby script, ASCII text", + "programming_language": "Ruby", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": true, + "package_data": [], + "for_packages": [], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [], + "holders": [], + "authors": [], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "lib/small/object.rb", + "type": "file", + "name": "object.rb", + "base_name": "object", + "extension": ".rb", + "size": 272, + "date": "1970-01-01", + "sha1": "85a51f87d6cc5b416b2bcedf2f3c7f934f77efff", + "md5": "404cfe484d48bc8bd80a099cb2f5a73a", + "sha256": "3a9e512a203369587cd398d56503696f1086a34aa07ff37437632103d1e482b5", + "mime_type": "text/x-ruby", + "file_type": "Ruby script, ASCII text", + "programming_language": "Ruby", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": true, + "package_data": [], + "for_packages": [], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [], + "holders": [], + "authors": [], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "lib/small/string.rb", + "type": "file", + "name": "string.rb", + "base_name": "string", + "extension": ".rb", + "size": 1323, + "date": "1970-01-01", + "sha1": "fbb1a643cb268ad16557eee015f42343dc741b0e", + "md5": "0786089e1df4076ae0fb4a3e77f59082", + "sha256": "6e0d93afb84abb15b02165dc040b1c27441afd3eca7bd318351f18d41a1fdc24", + "mime_type": "text/x-ruby", + "file_type": "Ruby script, ASCII text", + "programming_language": "Ruby", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": true, + "package_data": [], + "for_packages": [], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [], + "holders": [], + "authors": [], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "lib/small/time.rb", + "type": "file", + "name": "time.rb", + "base_name": "time", + "extension": ".rb", + "size": 3723, + "date": "1970-01-01", + "sha1": "eac78f1f6b879a205b4a65d927da751cfea4b4f8", + "md5": "5c623b0c01da04950bf2fa52a914adfc", + "sha256": "d815cd61e983424f3ffb92c3692e5e188f3e93f3bab6fef846554de1540c5d5d", + "mime_type": "text/x-ruby", + "file_type": "Ruby script, ASCII text", + "programming_language": "Ruby", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": true, + "package_data": [], + "for_packages": [], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [], + "holders": [], + "authors": [], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "lib/small/units.rb", + "type": "file", + "name": "units.rb", + "base_name": "units", + "extension": ".rb", + "size": 214, + "date": "1970-01-01", + "sha1": "a111ff8fd20a924d0354cdae572b1de5464a6d0a", + "md5": "f1e7f0960396f76358e4be13e40530f4", + "sha256": "7bf1b1cc43ddfe7c0e405be7a7a0857aec64dd8770b269dc9517f58347db19c7", + "mime_type": "text/x-ruby", + "file_type": "Ruby script, ASCII text", + "programming_language": "Ruby", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": true, + "package_data": [], + "for_packages": [], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [], + "holders": [], + "authors": [], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + } + ] +} diff --git a/test/fixtures/scancode/32.0.8/npm-basic.json b/test/fixtures/scancode/32.0.8/npm-basic.json new file mode 100644 index 00000000..e47a9a33 --- /dev/null +++ b/test/fixtures/scancode/32.0.8/npm-basic.json @@ -0,0 +1,1101 @@ +{ + "headers": [ + { + "tool_name": "scancode-toolkit", + "tool_version": "32.0.8", + "options": { + "input": [ + "/tmp/cd-sc95Qo" + ], + "--classify": true, + "--copyright": true, + "--email": true, + "--generated": true, + "--info": true, + "--json-pp": "/tmp/cd-FMpnfO", + "--license": true, + "--license-clarity-score": true, + "--license-text": true, + "--license-text-diagnostics": true, + "--package": true, + "--processes": "2", + "--strip-root": true, + "--summary": true, + "--tallies": true, + "--tallies-key-files": true, + "--timeout": "1000.0", + "--url": true + }, + "notice": "Generated with ScanCode and provided on an \"AS IS\" BASIS, WITHOUT WARRANTIES\nOR CONDITIONS OF ANY KIND, either express or implied. No content created from\nScanCode should be considered or used as legal advice. Consult an Attorney\nfor any legal advice.\nScanCode is a free software code scanning tool from nexB Inc. and others.\nVisit https://github.com/nexB/scancode-toolkit/ for support and download.", + "start_timestamp": "2023-12-08T190727.262712", + "end_timestamp": "2023-12-08T190731.702379", + "output_format_version": "3.0.0", + "duration": 4.43967866897583, + "message": null, + "errors": [], + "warnings": [], + "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-6.2.0-1016-azure-x86_64-with-glibc2.31", + "platform_version": "#16~22.04.1-Ubuntu SMP Tue Oct 10 17:11:51 UTC 2023", + "python_version": "3.9.2 (default, Feb 28 2021, 17:03:44) \n[GCC 10.2.1 20210110]" + }, + "spdx_license_list_version": "3.21", + "files_count": 7 + } + } + ], + "summary": { + "declared_license_expression": "isc", + "license_clarity_score": { + "score": 100, + "declared_license": true, + "identification_precision": true, + "has_license_text": true, + "declared_copyrights": true, + "conflicting_license_categories": false, + "ambiguous_compound_licensing": false + }, + "declared_holder": "Isaac Z. Schlueter and Contributors", + "primary_language": "JavaScript", + "other_license_expressions": [ + { + "value": null, + "count": 4 + }, + { + "value": "mit AND isc", + "count": 1 + } + ], + "other_holders": [ + { + "value": null, + "count": 6 + } + ], + "other_languages": [] + }, + "packages": [ + { + "type": "npm", + "namespace": null, + "name": "glob", + "version": "7.1.2", + "qualifiers": {}, + "subpath": null, + "primary_language": "JavaScript", + "description": "a little globber", + "release_date": null, + "parties": [ + { + "type": "person", + "role": "author", + "name": "Isaac Z. Schlueter", + "email": "i@izs.me", + "url": "http://blog.izs.me/" + } + ], + "keywords": [], + "homepage_url": null, + "download_url": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": "git://github.com/isaacs/node-glob.git", + "copyright": null, + "holder": null, + "declared_license_expression": "isc", + "declared_license_expression_spdx": "ISC", + "license_detections": [ + { + "license_expression": "isc", + "matches": [ + { + "score": 100, + "start_line": 1, + "end_line": 1, + "matched_length": 1, + "match_coverage": 100, + "matcher": "1-spdx-id", + "license_expression": "isc", + "rule_identifier": "spdx-license-identifier-isc-9931cb7ad33c2eb18f322c94660b670a84186baa", + "rule_relevance": 100, + "rule_url": null, + "matched_text": "ISC" + } + ], + "identifier": "isc-6c4320cc-eb5b-3792-8c56-b8565fff1119" + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "- ISC\n", + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": "https://www.npmjs.com/package/glob", + "repository_download_url": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", + "api_data_url": "https://registry.npmjs.org/glob/7.1.2", + "package_uid": "pkg:npm/glob@7.1.2?uuid=00b145f8-932f-4982-b5d6-0e054d09405d", + "datafile_paths": [ + "package/package.json" + ], + "datasource_ids": [ + "npm_package_json" + ], + "purl": "pkg:npm/glob@7.1.2" + } + ], + "dependencies": [ + { + "purl": "pkg:npm/fs.realpath", + "extracted_requirement": "^1.0.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/fs.realpath?uuid=93dd21b8-4539-41d0-8e49-a94201794308", + "for_package_uid": "pkg:npm/glob@7.1.2?uuid=00b145f8-932f-4982-b5d6-0e054d09405d", + "datafile_path": "package/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/inflight", + "extracted_requirement": "^1.0.4", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/inflight?uuid=74ade41f-7830-457f-a6d4-b32072ba0050", + "for_package_uid": "pkg:npm/glob@7.1.2?uuid=00b145f8-932f-4982-b5d6-0e054d09405d", + "datafile_path": "package/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/inherits", + "extracted_requirement": "2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/inherits?uuid=a9d13236-4403-4cd9-9a6f-2a9d3de35565", + "for_package_uid": "pkg:npm/glob@7.1.2?uuid=00b145f8-932f-4982-b5d6-0e054d09405d", + "datafile_path": "package/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/minimatch", + "extracted_requirement": "^3.0.4", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/minimatch?uuid=4720aa79-792a-45ba-952a-d4851be7a8dc", + "for_package_uid": "pkg:npm/glob@7.1.2?uuid=00b145f8-932f-4982-b5d6-0e054d09405d", + "datafile_path": "package/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/once", + "extracted_requirement": "^1.3.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/once?uuid=b5e23715-9908-4ed5-846f-407285037c0d", + "for_package_uid": "pkg:npm/glob@7.1.2?uuid=00b145f8-932f-4982-b5d6-0e054d09405d", + "datafile_path": "package/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/path-is-absolute", + "extracted_requirement": "^1.0.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/path-is-absolute?uuid=b5673212-9842-4924-bb9b-b007b9b935fb", + "for_package_uid": "pkg:npm/glob@7.1.2?uuid=00b145f8-932f-4982-b5d6-0e054d09405d", + "datafile_path": "package/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/mkdirp", + "extracted_requirement": "0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/mkdirp?uuid=785b02f5-9f5c-45bc-9756-06c7d91f6d4e", + "for_package_uid": "pkg:npm/glob@7.1.2?uuid=00b145f8-932f-4982-b5d6-0e054d09405d", + "datafile_path": "package/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/rimraf", + "extracted_requirement": "^2.2.8", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/rimraf?uuid=0d8164e0-8218-4ee3-9df0-d95352fb7233", + "for_package_uid": "pkg:npm/glob@7.1.2?uuid=00b145f8-932f-4982-b5d6-0e054d09405d", + "datafile_path": "package/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/tap", + "extracted_requirement": "^7.1.2", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/tap?uuid=6a8465f9-57a8-41c2-b2d9-184bf46dfc0d", + "for_package_uid": "pkg:npm/glob@7.1.2?uuid=00b145f8-932f-4982-b5d6-0e054d09405d", + "datafile_path": "package/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/tick", + "extracted_requirement": "0.0.6", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/tick?uuid=ba03712d-f498-4418-b0bd-1106b78a98dc", + "for_package_uid": "pkg:npm/glob@7.1.2?uuid=00b145f8-932f-4982-b5d6-0e054d09405d", + "datafile_path": "package/package.json", + "datasource_id": "npm_package_json" + } + ], + "license_detections": [ + { + "identifier": "isc-6c4320cc-eb5b-3792-8c56-b8565fff1119", + "license_expression": "isc", + "detection_count": 1 + }, + { + "identifier": "isc-90dc51e4-d418-5a40-d42f-6b015cf53d02", + "license_expression": "isc", + "detection_count": 1 + }, + { + "identifier": "isc-d21e4a8e-7cce-593b-6804-3c0c88f62348", + "license_expression": "isc", + "detection_count": 1 + }, + { + "identifier": "mit_and_isc-39fc4900-d3d1-3b03-adee-c12d89b75dd6", + "license_expression": "mit AND isc", + "detection_count": 1 + } + ], + "tallies": { + "detected_license_expression": [ + { + "value": null, + "count": 4 + }, + { + "value": "isc", + "count": 2 + }, + { + "value": "mit AND isc", + "count": 1 + } + ], + "copyrights": [ + { + "value": null, + "count": 6 + }, + { + "value": "Copyright (c) Isaac Z. Schlueter and Contributors", + "count": 1 + } + ], + "holders": [ + { + "value": null, + "count": 6 + }, + { + "value": "Isaac Z. Schlueter and Contributors", + "count": 1 + } + ], + "authors": [ + { + "value": null, + "count": 6 + }, + { + "value": "Isaac Z. Schlueter (http://blog.izs.me/)", + "count": 1 + } + ], + "programming_language": [ + { + "value": "JavaScript", + "count": 3 + } + ] + }, + "tallies_of_key_files": { + "detected_license_expression": [ + { + "value": "isc", + "count": 1 + } + ], + "copyrights": [ + { + "value": "Copyright (c) Isaac Z. Schlueter and Contributors", + "count": 1 + } + ], + "holders": [ + { + "value": "Isaac Z. Schlueter and Contributors", + "count": 1 + } + ], + "authors": [], + "programming_language": [] + }, + "files": [ + { + "path": "package", + "type": "directory", + "name": "package", + "base_name": "package", + "extension": "", + "size": 0, + "date": null, + "sha1": null, + "md5": null, + "sha256": null, + "mime_type": null, + "file_type": null, + "programming_language": null, + "is_binary": false, + "is_text": false, + "is_archive": false, + "is_media": false, + "is_source": false, + "is_script": false, + "package_data": [], + "for_packages": [], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": true, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [], + "holders": [], + "authors": [], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 7, + "dirs_count": 0, + "size_count": 55474, + "scan_errors": [] + }, + { + "path": "package/changelog.md", + "type": "file", + "name": "changelog.md", + "base_name": "changelog", + "extension": ".md", + "size": 1430, + "date": "2016-02-11", + "sha1": "97bfa68176e50777c07a7ba58f98ff7a1730ac00", + "md5": "00f1acff927a7059ab085d87c72bbf43", + "sha256": "9cb64aedf3ac2f4e80039a29914f4dacb1780d28d340f757717916cd2ca58f45", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": null, + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": false, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/glob@7.1.2?uuid=00b145f8-932f-4982-b5d6-0e054d09405d" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": true, + "is_key_file": false, + "detected_license_expression": "isc", + "detected_license_expression_spdx": "ISC", + "license_detections": [ + { + "license_expression": "isc", + "matches": [ + { + "score": 99, + "start_line": 51, + "end_line": 51, + "matched_length": 2, + "match_coverage": 100, + "matcher": "2-aho", + "license_expression": "isc", + "rule_identifier": "isc_22.RULE", + "rule_relevance": 99, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/isc_22.RULE", + "matched_text": "ISC license" + } + ], + "identifier": "isc-d21e4a8e-7cce-593b-6804-3c0c88f62348" + } + ], + "license_clues": [], + "percentage_of_license_text": 0.88, + "copyrights": [], + "holders": [], + "authors": [], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/common.js", + "type": "file", + "name": "common.js", + "base_name": "common", + "extension": ".js", + "size": 6167, + "date": "2016-09-29", + "sha1": "2f948b495467f2a7ac0afbb1008af557ab040143", + "md5": "0041795c4700b9e1c1cd76729517f08b", + "sha256": "e9a5f37878266f441069556ea411a60d658bdfb16aa99d3b29b53fd639a5aa3a", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/glob@7.1.2?uuid=00b145f8-932f-4982-b5d6-0e054d09405d" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": true, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [], + "holders": [], + "authors": [], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/glob.js", + "type": "file", + "name": "glob.js", + "base_name": "glob", + "extension": ".js", + "size": 19433, + "date": "2017-02-10", + "sha1": "c2e95cdccba36eaca7b12e2bcf9b383438cee52d", + "md5": "20c4c7d5e53fcaaf2781e53942dc2e32", + "sha256": "e3f3d1fd54aa24133a3d518ae7eaf26d5cbc1b9496389e18dd24ba63ea763ed3", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/glob@7.1.2?uuid=00b145f8-932f-4982-b5d6-0e054d09405d" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": true, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [], + "holders": [], + "authors": [], + "emails": [], + "urls": [ + { + "url": "https://github.com/isaacs/node-glob/issues/205", + "start_line": 587, + "end_line": 587 + } + ], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/LICENSE", + "type": "file", + "name": "LICENSE", + "base_name": "LICENSE", + "extension": "", + "size": 765, + "date": "2014-07-28", + "sha1": "bb408e929caeb1731945b2ba54bc337edb87cc66", + "md5": "82703a69f6d7411dde679954c2fd9dca", + "sha256": "4ec3d4c66cd87f5c8d8ad911b10f99bf27cb00cdfcff82621956e379186b016b", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": null, + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": false, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/glob@7.1.2?uuid=00b145f8-932f-4982-b5d6-0e054d09405d" + ], + "is_legal": true, + "is_manifest": false, + "is_readme": false, + "is_top_level": true, + "is_key_file": true, + "detected_license_expression": "isc", + "detected_license_expression_spdx": "ISC", + "license_detections": [ + { + "license_expression": "isc", + "matches": [ + { + "score": 99, + "start_line": 1, + "end_line": 1, + "matched_length": 2, + "match_coverage": 100, + "matcher": "2-aho", + "license_expression": "isc", + "rule_identifier": "isc_22.RULE", + "rule_relevance": 99, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/isc_22.RULE", + "matched_text": "ISC License" + }, + { + "score": 100, + "start_line": 5, + "end_line": 15, + "matched_length": 112, + "match_coverage": 100, + "matcher": "2-aho", + "license_expression": "isc", + "rule_identifier": "isc.LICENSE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/isc.LICENSE", + "matched_text": "Permission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted, provided that the above\ncopyright notice and this permission notice appear in all copies.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\nWITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\nANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\nWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\nACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR\nIN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE." + } + ], + "identifier": "isc-90dc51e4-d418-5a40-d42f-6b015cf53d02" + } + ], + "license_clues": [], + "percentage_of_license_text": 93.44, + "copyrights": [ + { + "copyright": "Copyright (c) Isaac Z. Schlueter and Contributors", + "start_line": 3, + "end_line": 3 + } + ], + "holders": [ + { + "holder": "Isaac Z. Schlueter and Contributors", + "start_line": 3, + "end_line": 3 + } + ], + "authors": [], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/package.json", + "type": "file", + "name": "package.json", + "base_name": "package", + "extension": ".json", + "size": 1013, + "date": "2017-05-19", + "sha1": "844f90fa8a6fbf45d581593a333f69c5cb1f2d58", + "md5": "c48f03d61da8b37477bf9711d56aea41", + "sha256": "480d04f663e9461abde03863c44122b239b2fbbf6f309133c654c0595c786c00", + "mime_type": "application/json", + "file_type": "JSON data", + "programming_language": null, + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": false, + "is_script": false, + "package_data": [ + { + "type": "npm", + "namespace": null, + "name": "glob", + "version": "7.1.2", + "qualifiers": {}, + "subpath": null, + "primary_language": "JavaScript", + "description": "a little globber", + "release_date": null, + "parties": [ + { + "type": "person", + "role": "author", + "name": "Isaac Z. Schlueter", + "email": "i@izs.me", + "url": "http://blog.izs.me/" + } + ], + "keywords": [], + "homepage_url": null, + "download_url": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": "git://github.com/isaacs/node-glob.git", + "copyright": null, + "holder": null, + "declared_license_expression": "isc", + "declared_license_expression_spdx": "ISC", + "license_detections": [ + { + "license_expression": "isc", + "matches": [ + { + "score": 100, + "start_line": 1, + "end_line": 1, + "matched_length": 1, + "match_coverage": 100, + "matcher": "1-spdx-id", + "license_expression": "isc", + "rule_identifier": "spdx-license-identifier-isc-9931cb7ad33c2eb18f322c94660b670a84186baa", + "rule_relevance": 100, + "rule_url": null, + "matched_text": "ISC" + } + ], + "identifier": "isc-6c4320cc-eb5b-3792-8c56-b8565fff1119" + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "- ISC\n", + "notice_text": null, + "source_packages": [], + "file_references": [], + "extra_data": {}, + "dependencies": [ + { + "purl": "pkg:npm/fs.realpath", + "extracted_requirement": "^1.0.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/inflight", + "extracted_requirement": "^1.0.4", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/inherits", + "extracted_requirement": "2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/minimatch", + "extracted_requirement": "^3.0.4", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/once", + "extracted_requirement": "^1.3.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/path-is-absolute", + "extracted_requirement": "^1.0.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/mkdirp", + "extracted_requirement": "0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/rimraf", + "extracted_requirement": "^2.2.8", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/tap", + "extracted_requirement": "^7.1.2", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/tick", + "extracted_requirement": "0.0.6", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + } + ], + "repository_homepage_url": "https://www.npmjs.com/package/glob", + "repository_download_url": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", + "api_data_url": "https://registry.npmjs.org/glob/7.1.2", + "datasource_id": "npm_package_json", + "purl": "pkg:npm/glob@7.1.2" + } + ], + "for_packages": [ + "pkg:npm/glob@7.1.2?uuid=00b145f8-932f-4982-b5d6-0e054d09405d" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": "mit AND isc", + "detected_license_expression_spdx": "MIT AND ISC", + "license_detections": [ + { + "license_expression": "mit AND isc", + "matches": [ + { + "score": 71.25, + "start_line": 40, + "end_line": 42, + "matched_length": 3, + "match_coverage": 100, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit_602.RULE", + "rule_relevance": 95, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_602.RULE", + "matched_text": "node [benchclean].js\"\n },\n \"license\": \"" + }, + { + "score": 100, + "start_line": 42, + "end_line": 42, + "matched_length": 2, + "match_coverage": 100, + "matcher": "2-aho", + "license_expression": "isc", + "rule_identifier": "isc_38.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/isc_38.RULE", + "matched_text": "license\": \"ISC\"" + } + ], + "identifier": "mit_and_isc-39fc4900-d3d1-3b03-adee-c12d89b75dd6" + } + ], + "license_clues": [], + "percentage_of_license_text": 3.05, + "copyrights": [], + "holders": [], + "authors": [ + { + "author": "Isaac Z. Schlueter (http://blog.izs.me/)", + "start_line": 2, + "end_line": 2 + } + ], + "emails": [ + { + "email": "i@izs.me", + "start_line": 2, + "end_line": 2 + } + ], + "urls": [ + { + "url": "http://blog.izs.me/", + "start_line": 2, + "end_line": 2 + }, + { + "url": "git://github.com/isaacs/node-glob.git", + "start_line": 8, + "end_line": 8 + } + ], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/README.md", + "type": "file", + "name": "README.md", + "base_name": "README", + "extension": ".md", + "size": 14664, + "date": "2016-09-20", + "sha1": "449f1592c9cf2d32a0d74bead66d7267218f2c4f", + "md5": "ebb6bd70ed9742c82792656adb349111", + "sha256": "1f0c4810b48885d093a9cf5390f7268bc9b3fc637362a355ed514c9711cc1999", + "mime_type": "text/plain", + "file_type": "ASCII text, with very long lines", + "programming_language": null, + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": false, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/glob@7.1.2?uuid=00b145f8-932f-4982-b5d6-0e054d09405d" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": true, + "is_top_level": true, + "is_key_file": true, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [], + "holders": [], + "authors": [], + "emails": [], + "urls": [ + { + "url": "https://travis-ci.org/isaacs/node-glob.svg?branch=master", + "start_line": 5, + "end_line": 5 + }, + { + "url": "https://travis-ci.org/isaacs/node-glob", + "start_line": 5, + "end_line": 5 + }, + { + "url": "https://ci.appveyor.com/api/projects/status/kd7f3yftf7unxlsx?svg=true", + "start_line": 5, + "end_line": 5 + }, + { + "url": "https://ci.appveyor.com/project/isaacs/node-glob", + "start_line": 5, + "end_line": 5 + }, + { + "url": "https://coveralls.io/repos/isaacs/node-glob/badge.svg?branch=master&service=github", + "start_line": 5, + "end_line": 5 + }, + { + "url": "https://coveralls.io/github/isaacs/node-glob?branch=master", + "start_line": 5, + "end_line": 5 + }, + { + "url": "https://github.com/isaacs/minimatch", + "start_line": 100, + "end_line": 100 + } + ], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/sync.js", + "type": "file", + "name": "sync.js", + "base_name": "sync", + "extension": ".js", + "size": 12002, + "date": "2016-10-07", + "sha1": "7482bc56682b97175655976b07044afcb65b0cc9", + "md5": "c29ff74e143a933770c75a66998fbeeb", + "sha256": "f04c04e9e40ea1ada97a1e414ad26d871faa0778e3b1fb0d5fc66ec6acbc243f", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/glob@7.1.2?uuid=00b145f8-932f-4982-b5d6-0e054d09405d" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": true, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [], + "holders": [], + "authors": [], + "emails": [], + "urls": [ + { + "url": "https://github.com/isaacs/node-glob/issues/167", + "start_line": 24, + "end_line": 24 + }, + { + "url": "https://github.com/isaacs/node-glob/issues/205", + "start_line": 319, + "end_line": 319 + } + ], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + } + ] +} diff --git a/test/fixtures/scancode/32.0.8/npm-large.json b/test/fixtures/scancode/32.0.8/npm-large.json new file mode 100644 index 00000000..55d032a7 --- /dev/null +++ b/test/fixtures/scancode/32.0.8/npm-large.json @@ -0,0 +1,6564 @@ +{ + "headers": [ + { + "tool_name": "scancode-toolkit", + "tool_version": "32.0.8", + "options": { + "input": [ + "/tmp/cd-o6Po3q" + ], + "--classify": true, + "--copyright": true, + "--email": true, + "--generated": true, + "--info": true, + "--json-pp": "/tmp/cd-B0LEqx", + "--license": true, + "--license-clarity-score": true, + "--license-text": true, + "--license-text-diagnostics": true, + "--package": true, + "--processes": "2", + "--strip-root": true, + "--summary": true, + "--tallies": true, + "--tallies-key-files": true, + "--timeout": "1000.0", + "--url": true + }, + "notice": "Generated with ScanCode and provided on an \"AS IS\" BASIS, WITHOUT WARRANTIES\nOR CONDITIONS OF ANY KIND, either express or implied. No content created from\nScanCode should be considered or used as legal advice. Consult an Attorney\nfor any legal advice.\nScanCode is a free software code scanning tool from nexB Inc. and others.\nVisit https://github.com/nexB/scancode-toolkit/ for support and download.", + "start_timestamp": "2023-12-08T190644.476553", + "end_timestamp": "2023-12-08T190724.891938", + "output_format_version": "3.0.0", + "duration": 40.41539764404297, + "message": null, + "errors": [], + "warnings": [], + "extra_data": { + "system_environment": { + "operating_system": "linux", + "cpu_architecture": "64", + "platform": "Linux-6.2.0-1016-azure-x86_64-with-glibc2.31", + "platform_version": "#16~22.04.1-Ubuntu SMP Tue Oct 10 17:11:51 UTC 2023", + "python_version": "3.9.2 (default, Feb 28 2021, 17:03:44) \n[GCC 10.2.1 20210110]" + }, + "spdx_license_list_version": "3.21", + "files_count": 62 + } + } + ], + "summary": { + "declared_license_expression": "(bsd-new AND gpl-2.0 AND gpl-1.0-plus) AND (bsd-new AND gpl-2.0)", + "license_clarity_score": { + "score": 100, + "declared_license": true, + "identification_precision": true, + "has_license_text": true, + "declared_copyrights": true, + "conflicting_license_categories": false, + "ambiguous_compound_licensing": false + }, + "declared_holder": "Digital Bazaar, Inc.", + "primary_language": "JavaScript", + "other_license_expressions": [ + { + "value": null, + "count": 51 + }, + { + "value": "bsd-new", + "count": 3 + }, + { + "value": "bsd-new AND gpl-2.0", + "count": 3 + }, + { + "value": "public-domain", + "count": 3 + }, + { + "value": "bsd-new AND gpl-2.0 AND gpl-1.0-plus", + "count": 2 + }, + { + "value": "mit", + "count": 2 + }, + { + "value": "unknown-license-reference", + "count": 2 + }, + { + "value": "mit-addition", + "count": 1 + }, + { + "value": "warranty-disclaimer", + "count": 1 + } + ], + "other_holders": [ + { + "value": null, + "count": 12 + }, + { + "value": "Stefan Siegl", + "count": 9 + }, + { + "value": "Tom Wu", + "count": 3 + }, + { + "value": "Free Software Foundation", + "count": 2 + }, + { + "value": "Ellis Pritchard, Guardian Unlimited Contact", + "count": 1 + }, + { + "value": "Kenji Urushima", + "count": 1 + }, + { + "value": "Lautaro Cozzani", + "count": 1 + }, + { + "value": "base-x contributors", + "count": 1 + } + ], + "other_languages": [] + }, + "packages": [ + { + "type": "npm", + "namespace": null, + "name": "node-forge", + "version": "0.7.5", + "qualifiers": {}, + "subpath": null, + "primary_language": "JavaScript", + "description": "JavaScript implementations of network transports, cryptography, ciphers, PKI, message digests, and various utilities.", + "release_date": null, + "parties": [ + { + "type": "person", + "role": "author", + "name": "Digital Bazaar, Inc.", + "email": "support@digitalbazaar.com", + "url": "http://digitalbazaar.com/" + }, + { + "type": "person", + "role": "contributor", + "name": "Dave Longley", + "email": "dlongley@digitalbazaar.com", + "url": null + }, + { + "type": "person", + "role": "contributor", + "name": "David I. Lehn", + "email": "dlehn@digitalbazaar.com", + "url": null + }, + { + "type": "person", + "role": "contributor", + "name": "Stefan Siegl", + "email": "stesie@brokenpipe.de", + "url": null + }, + { + "type": "person", + "role": "contributor", + "name": "Christoph Dorn", + "email": "christoph@christophdorn.com", + "url": null + } + ], + "keywords": [ + "aes", + "asn", + "asn.1", + "cbc", + "crypto", + "cryptography", + "csr", + "des", + "gcm", + "hmac", + "http", + "https", + "md5", + "network", + "pkcs", + "pki", + "prng", + "rc2", + "rsa", + "sha1", + "sha256", + "sha384", + "sha512", + "ssh", + "tls", + "x.509", + "x509" + ], + "homepage_url": "https://github.com/digitalbazaar/forge", + "download_url": "https://registry.npmjs.org/node-forge/-/node-forge-0.7.5.tgz", + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": "https://github.com/digitalbazaar/forge/issues", + "code_view_url": null, + "vcs_url": "git+https://github.com/digitalbazaar/forge", + "copyright": null, + "holder": null, + "declared_license_expression": "bsd-new OR gpl-2.0", + "declared_license_expression_spdx": "BSD-3-Clause OR GPL-2.0-only", + "license_detections": [ + { + "license_expression": "bsd-new OR gpl-2.0", + "matches": [ + { + "score": 100, + "start_line": 1, + "end_line": 1, + "matched_length": 7, + "match_coverage": 100, + "matcher": "1-spdx-id", + "license_expression": "bsd-new OR gpl-2.0", + "rule_identifier": "spdx-license-identifier-bsd-new OR gpl-2.0-ffc5902e4adca29baf49d630f06b90e00e13b4c2", + "rule_relevance": 100, + "rule_url": null, + "matched_text": "(BSD-3-Clause OR GPL-2.0)" + } + ], + "identifier": "bsd_new_or_gpl_2_0-d0c59c91-6701-5365-3f99-8b72a4e0946a" + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "- (BSD-3-Clause OR GPL-2.0)\n", + "notice_text": null, + "source_packages": [], + "extra_data": {}, + "repository_homepage_url": "https://www.npmjs.com/package/node-forge", + "repository_download_url": "https://registry.npmjs.org/node-forge/-/node-forge-0.7.5.tgz", + "api_data_url": "https://registry.npmjs.org/node-forge/0.7.5", + "package_uid": "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426", + "datafile_paths": [ + "package/package.json" + ], + "datasource_ids": [ + "npm_package_json" + ], + "purl": "pkg:npm/node-forge@0.7.5" + } + ], + "dependencies": [ + { + "purl": "pkg:npm/browserify", + "extracted_requirement": "^16.1.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/browserify?uuid=eb4d03a1-767e-47ea-b86e-34194d05c26b", + "for_package_uid": "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426", + "datafile_path": "package/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/commander", + "extracted_requirement": "^2.14.1", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/commander?uuid=0bc2170a-f758-486d-88d8-3a8e7ec108d7", + "for_package_uid": "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426", + "datafile_path": "package/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/cross-env", + "extracted_requirement": "^5.1.3", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/cross-env?uuid=a871f209-820c-4f3c-9ed1-450c849e945b", + "for_package_uid": "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426", + "datafile_path": "package/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/express", + "extracted_requirement": "^4.16.2", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/express?uuid=0456b85e-eabb-4253-84a5-abba410fbbb0", + "for_package_uid": "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426", + "datafile_path": "package/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/jscs", + "extracted_requirement": "^3.0.7", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/jscs?uuid=49969b2f-c629-4de0-a671-e8f9d3882e2a", + "for_package_uid": "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426", + "datafile_path": "package/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/jshint", + "extracted_requirement": "^2.9.5", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/jshint?uuid=ff66f3c3-88a4-450e-a70c-c6bed74fbe08", + "for_package_uid": "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426", + "datafile_path": "package/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/karma", + "extracted_requirement": "^2.0.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/karma?uuid=631cb2b8-5739-42ea-86ee-fe5f7774367e", + "for_package_uid": "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426", + "datafile_path": "package/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/karma-browserify", + "extracted_requirement": "^5.2.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/karma-browserify?uuid=100f9a13-6269-4837-85d8-8cd9743587e0", + "for_package_uid": "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426", + "datafile_path": "package/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/karma-chrome-launcher", + "extracted_requirement": "^2.2.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/karma-chrome-launcher?uuid=ac84ee94-816d-47d1-b2f4-7fb0b4871dea", + "for_package_uid": "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426", + "datafile_path": "package/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/karma-edge-launcher", + "extracted_requirement": "^0.4.2", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/karma-edge-launcher?uuid=a42e1edd-c89a-4319-8c24-be49604e2bef", + "for_package_uid": "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426", + "datafile_path": "package/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/karma-firefox-launcher", + "extracted_requirement": "^1.1.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/karma-firefox-launcher?uuid=0ddf3803-90fd-4ff2-8aef-47973fd21c1e", + "for_package_uid": "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426", + "datafile_path": "package/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/karma-ie-launcher", + "extracted_requirement": "^1.0.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/karma-ie-launcher?uuid=660301a3-0793-4b90-a3ba-f3dc2003099a", + "for_package_uid": "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426", + "datafile_path": "package/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/karma-mocha", + "extracted_requirement": "^1.3.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/karma-mocha?uuid=a7e15315-9b2e-4734-865a-e1599afda637", + "for_package_uid": "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426", + "datafile_path": "package/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/karma-mocha-reporter", + "extracted_requirement": "^2.2.5", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/karma-mocha-reporter?uuid=55e965c8-bd1c-48f4-a454-6609b7cd22f8", + "for_package_uid": "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426", + "datafile_path": "package/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/karma-phantomjs-launcher", + "extracted_requirement": "^1.0.2", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/karma-phantomjs-launcher?uuid=2b1043e2-31b6-4642-85e6-a614965d0117", + "for_package_uid": "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426", + "datafile_path": "package/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/karma-safari-launcher", + "extracted_requirement": "^1.0.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/karma-safari-launcher?uuid=daed79c8-91f5-458c-8801-297307daf61b", + "for_package_uid": "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426", + "datafile_path": "package/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/karma-sauce-launcher", + "extracted_requirement": "^1.2.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/karma-sauce-launcher?uuid=3628a3c8-663c-4aef-87ac-f6288958eaeb", + "for_package_uid": "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426", + "datafile_path": "package/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/karma-sourcemap-loader", + "extracted_requirement": "^0.3.7", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/karma-sourcemap-loader?uuid=887516e3-abbd-4f60-b3fb-db9080a4207d", + "for_package_uid": "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426", + "datafile_path": "package/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/karma-tap-reporter", + "extracted_requirement": "0.0.6", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/karma-tap-reporter?uuid=c5c10d7a-b131-454b-9411-7385510a9611", + "for_package_uid": "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426", + "datafile_path": "package/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/karma-webpack", + "extracted_requirement": "^2.0.13", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/karma-webpack?uuid=b83f3d87-b524-49ff-a8c6-aaa920fd48b5", + "for_package_uid": "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426", + "datafile_path": "package/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/mocha", + "extracted_requirement": "^5.0.1", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/mocha?uuid=37668bc6-eda9-4605-90cc-d066f6516528", + "for_package_uid": "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426", + "datafile_path": "package/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/mocha-lcov-reporter", + "extracted_requirement": "^1.2.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/mocha-lcov-reporter?uuid=82e940b7-a0a2-421f-b331-562e3bc4be42", + "for_package_uid": "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426", + "datafile_path": "package/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/nodejs-websocket", + "extracted_requirement": "^1.7.1", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/nodejs-websocket?uuid=3bb1b85e-27de-4bce-aebc-beabc5e7b3d5", + "for_package_uid": "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426", + "datafile_path": "package/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/nyc", + "extracted_requirement": "^11.5.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/nyc?uuid=71b48fb5-3687-4d2f-ae6b-4d410bb13510", + "for_package_uid": "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426", + "datafile_path": "package/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/opts", + "extracted_requirement": "^1.2.2", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/opts?uuid=d0b48727-5244-4696-82f5-505071a5036d", + "for_package_uid": "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426", + "datafile_path": "package/package.json", + "datasource_id": "npm_package_json" + }, + { + "purl": "pkg:npm/webpack", + "extracted_requirement": "^3.11.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {}, + "dependency_uid": "pkg:npm/webpack?uuid=ce8335d1-61bc-401f-a925-a08d4a4bcfc4", + "for_package_uid": "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426", + "datafile_path": "package/package.json", + "datasource_id": "npm_package_json" + } + ], + "license_detections": [ + { + "identifier": "bsd_new-11382060-7d38-d9f5-3c6c-080fc644c875", + "license_expression": "bsd-new", + "detection_count": 1 + }, + { + "identifier": "bsd_new-248fd191-664d-a2e1-27fc-446bab328fde", + "license_expression": "bsd-new", + "detection_count": 1 + }, + { + "identifier": "bsd_new-6b28f6af-2fd1-3b3a-cd5c-ce26df66cd65", + "license_expression": "bsd-new", + "detection_count": 1 + }, + { + "identifier": "bsd_new_and_gpl_2_0-96132c66-8d5c-c2cb-2736-40c4222f4446", + "license_expression": "bsd-new AND gpl-2.0", + "detection_count": 1 + }, + { + "identifier": "bsd_new_and_gpl_2_0-a6b02683-092d-3bca-a5d9-d4092c26aec8", + "license_expression": "bsd-new AND gpl-2.0", + "detection_count": 1 + }, + { + "identifier": "bsd_new_and_gpl_2_0-fa455b9b-a5b7-4b34-fc44-d7dc5f883e61", + "license_expression": "bsd-new AND gpl-2.0", + "detection_count": 1 + }, + { + "identifier": "bsd_new_and_gpl_2_0_and_gpl_1_0_plus-c8f71baa-f33c-91e8-b9f9-96a2afcd4772", + "license_expression": "bsd-new AND gpl-2.0 AND gpl-1.0-plus", + "detection_count": 1 + }, + { + "identifier": "bsd_new_and_gpl_2_0_and_gpl_1_0_plus-f0c399e3-9052-8ad6-854c-75a42393c6b9", + "license_expression": "bsd-new AND gpl-2.0 AND gpl-1.0-plus", + "detection_count": 1 + }, + { + "identifier": "bsd_new_or_gpl_2_0-d0c59c91-6701-5365-3f99-8b72a4e0946a", + "license_expression": "bsd-new OR gpl-2.0", + "detection_count": 1 + }, + { + "identifier": "mit-cacd5c0c-204a-85c2-affc-e4c125b2492a", + "license_expression": "mit", + "detection_count": 1 + }, + { + "identifier": "mit-e51726c2-c18f-7871-5845-3eb6a5e8e82e", + "license_expression": "mit", + "detection_count": 1 + }, + { + "identifier": "mit_addition-6bc0df68-f07a-36d8-11e3-358f6c784914", + "license_expression": "mit-addition", + "detection_count": 1 + }, + { + "identifier": "public_domain-7d8070df-6bbe-f151-eb1b-b0d3f686dcdb", + "license_expression": "public-domain", + "detection_count": 1 + }, + { + "identifier": "public_domain-a4c848e5-f69b-55ab-8079-17ddc9a439d7", + "license_expression": "public-domain", + "detection_count": 1 + }, + { + "identifier": "unknown_license_reference-f66b008c-85ad-5ecc-9554-81ad2bb8ff47", + "license_expression": "unknown-license-reference", + "detection_count": 2 + }, + { + "identifier": "warranty_disclaimer-e2279f91-9ab6-57d6-5de0-6f15ca82ed67", + "license_expression": "warranty-disclaimer", + "detection_count": 1 + } + ], + "tallies": { + "detected_license_expression": [ + { + "value": null, + "count": 51 + }, + { + "value": "bsd-new", + "count": 3 + }, + { + "value": "bsd-new AND gpl-2.0", + "count": 3 + }, + { + "value": "public-domain", + "count": 3 + }, + { + "value": "bsd-new AND gpl-2.0 AND gpl-1.0-plus", + "count": 2 + }, + { + "value": "mit", + "count": 2 + }, + { + "value": "unknown-license-reference", + "count": 2 + }, + { + "value": "mit-addition", + "count": 1 + }, + { + "value": "warranty-disclaimer", + "count": 1 + } + ], + "copyrights": [ + { + "value": "Copyright (c) Digital Bazaar, Inc.", + "count": 45 + }, + { + "value": null, + "count": 12 + }, + { + "value": "Copyright (c) Stefan Siegl ", + "count": 9 + }, + { + "value": "Copyright (c) Tom", + "count": 3 + }, + { + "value": "Copyright (c) Ellis Pritchard, Guardian Unlimited Contact ellis@nukinetics.com", + "count": 1 + }, + { + "value": "Copyright (c) Free Software Foundation, Inc.", + "count": 1 + }, + { + "value": "Copyright (c) Kenji Urushima", + "count": 1 + }, + { + "value": "Copyright (c) Lautaro Cozzani ", + "count": 1 + }, + { + "value": "Copyright base-x contributors (c)", + "count": 1 + }, + { + "value": "copyrighted by the Free Software Foundation", + "count": 1 + } + ], + "holders": [ + { + "value": "Digital Bazaar, Inc.", + "count": 45 + }, + { + "value": null, + "count": 12 + }, + { + "value": "Stefan Siegl", + "count": 9 + }, + { + "value": "Tom Wu", + "count": 3 + }, + { + "value": "Free Software Foundation", + "count": 2 + }, + { + "value": "Ellis Pritchard, Guardian Unlimited Contact", + "count": 1 + }, + { + "value": "Kenji Urushima", + "count": 1 + }, + { + "value": "Lautaro Cozzani", + "count": 1 + }, + { + "value": "base-x contributors", + "count": 1 + } + ], + "authors": [ + { + "value": "Dave Longley", + "count": 41 + }, + { + "value": null, + "count": 14 + }, + { + "value": "Stefan Siegl", + "count": 7 + }, + { + "value": "David I. Lehn ", + "count": 4 + }, + { + "value": "Stefan Siegl ", + "count": 2 + }, + { + "value": "Digital Bazaar, Inc", + "count": 1 + }, + { + "value": "Evan Jones (http://evanjones.ca/)", + "count": 1 + }, + { + "value": "Lautaro Cozzani Rodriguez", + "count": 1 + }, + { + "value": "Mike Johnson", + "count": 1 + }, + { + "value": "https://github.com/shellac", + "count": 1 + } + ], + "programming_language": [ + { + "value": "JavaScript", + "count": 53 + } + ] + }, + "tallies_of_key_files": { + "detected_license_expression": [ + { + "value": "bsd-new AND gpl-2.0 AND gpl-1.0-plus", + "count": 2 + }, + { + "value": "bsd-new AND gpl-2.0", + "count": 1 + } + ], + "copyrights": [ + { + "value": "Copyright (c) Digital Bazaar, Inc.", + "count": 1 + }, + { + "value": "Copyright (c) Free Software Foundation, Inc.", + "count": 1 + }, + { + "value": "copyrighted by the Free Software Foundation", + "count": 1 + } + ], + "holders": [ + { + "value": "Free Software Foundation", + "count": 2 + }, + { + "value": "Digital Bazaar, Inc.", + "count": 1 + } + ], + "authors": [], + "programming_language": [] + }, + "files": [ + { + "path": "package", + "type": "directory", + "name": "package", + "base_name": "package", + "extension": "", + "size": 0, + "date": null, + "sha1": null, + "md5": null, + "sha256": null, + "mime_type": null, + "file_type": null, + "programming_language": null, + "is_binary": false, + "is_text": false, + "is_archive": false, + "is_media": false, + "is_source": false, + "is_script": false, + "package_data": [], + "for_packages": [], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": true, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [], + "holders": [], + "authors": [], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 62, + "dirs_count": 4, + "size_count": 1670906, + "scan_errors": [] + }, + { + "path": "package/CHANGELOG.md", + "type": "file", + "name": "CHANGELOG.md", + "base_name": "CHANGELOG", + "extension": ".md", + "size": 5086, + "date": "1985-10-26", + "sha1": "91c325a8612a6c8e41f197ca75cc5cd34407ee93", + "md5": "46db54c68312821897afd7bd58447b5e", + "sha256": "a8ac11e6653a5e0f2fa34e0c2053159fd0ead97e8e27864b0a600853fbc7bb32", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": null, + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": false, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": true, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [], + "holders": [], + "authors": [], + "emails": [], + "urls": [ + { + "url": "https://github.com/digitalbazaar/forge-dist", + "start_line": 60, + "end_line": 60 + }, + { + "url": "https://github.com/digitalbazaar/forge", + "start_line": 138, + "end_line": 138 + } + ], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/LICENSE", + "type": "file", + "name": "LICENSE", + "base_name": "LICENSE", + "extension": "", + "size": 17972, + "date": "1985-10-26", + "sha1": "d37865c29143c75dae51139e23c28e8b685c31d4", + "md5": "3468e584d830bfb0ffd2d0af6e129136", + "sha256": "f63ff0e4e239244aa79280da2dd4811a0469e5e201caf5cbc0d97c3a1dff8e82", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": null, + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": false, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": true, + "is_manifest": false, + "is_readme": false, + "is_top_level": true, + "is_key_file": true, + "detected_license_expression": "(bsd-new AND gpl-2.0 AND gpl-1.0-plus) AND (bsd-new AND gpl-2.0)", + "detected_license_expression_spdx": "(BSD-3-Clause AND GPL-2.0-only AND GPL-1.0-or-later) AND (BSD-3-Clause AND GPL-2.0-only)", + "license_detections": [ + { + "license_expression": "bsd-new AND gpl-2.0 AND gpl-1.0-plus", + "matches": [ + { + "score": 99, + "start_line": 1, + "end_line": 1, + "matched_length": 3, + "match_coverage": 100, + "matcher": "2-aho", + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_145.RULE", + "rule_relevance": 99, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_145.RULE", + "matched_text": "the BSD License" + }, + { + "score": 100, + "start_line": 1, + "end_line": 2, + "matched_length": 8, + "match_coverage": 100, + "matcher": "2-aho", + "license_expression": "gpl-2.0", + "rule_identifier": "gpl-2.0_724.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_724.RULE", + "matched_text": "the\nGNU General Public License (GPL) Version 2." + }, + { + "score": 99, + "start_line": 4, + "end_line": 4, + "matched_length": 3, + "match_coverage": 100, + "matcher": "2-aho", + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_145.RULE", + "rule_relevance": 99, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_145.RULE", + "matched_text": "The BSD License" + }, + { + "score": 85, + "start_line": 8, + "end_line": 8, + "matched_length": 2, + "match_coverage": 100, + "matcher": "2-aho", + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl-1.0-plus_351.RULE", + "rule_relevance": 85, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_351.RULE", + "matched_text": "the GPL" + } + ], + "identifier": "bsd_new_and_gpl_2_0_and_gpl_1_0_plus-f0c399e3-9052-8ad6-854c-75a42393c6b9" + }, + { + "license_expression": "bsd-new AND gpl-2.0", + "matches": [ + { + "score": 100, + "start_line": 26, + "end_line": 26, + "matched_length": 3, + "match_coverage": 100, + "matcher": "2-aho", + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_228.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_228.RULE", + "matched_text": "New BSD License (" + }, + { + "score": 93.64, + "start_line": 26, + "end_line": 50, + "matched_length": 206, + "match_coverage": 93.64, + "matcher": "3-seq", + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_602.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_602.RULE", + "matched_text": "3-clause)\n[Copyright] ([c]) [2010], [Digital] [Bazaar], [Inc].\n[All] [rights] [reserved].\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n * Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above copyright\n notice, this list of conditions and the following disclaimer in the\n documentation and/or other materials provided with the distribution.\n * Neither the name of [Digital] [Bazaar], [Inc]. nor the\n names of its contributors may be used to endorse or promote products\n derived from this software without specific prior written [permission].\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL [DIGITAL] [BAZAAR] BE LIABLE FOR ANY\nDIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\nON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + }, + { + "score": 90, + "start_line": 53, + "end_line": 330, + "matched_length": 2459, + "match_coverage": 100, + "matcher": "2-aho", + "license_expression": "gpl-2.0", + "rule_identifier": "gpl-2.0_91.RULE", + "rule_relevance": 90, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_91.RULE", + "matched_text": "GNU GENERAL PUBLIC LICENSE\n Version 2, June 1991\n\n Copyright (C) 1989, 1991 Free Software Foundation, Inc.\n 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n Preamble\n\n The licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\n When we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\n To protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\n For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\n We protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\n Also, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\n Finally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\n The precise terms and conditions for copying, distribution and\nmodification follow.\n\n GNU GENERAL PUBLIC LICENSE\n TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n 0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n 1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n 2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\n a) You must cause the modified files to carry prominent notices\n stating that you changed the files and the date of any change.\n\n b) You must cause any work that you distribute or publish, that in\n whole or in part contains or is derived from the Program or any\n part thereof, to be licensed as a whole at no charge to all third\n parties under the terms of this License.\n\n c) If the modified program normally reads commands interactively\n when run, you must cause it, when started running for such\n interactive use in the most ordinary way, to print or display an\n announcement including an appropriate copyright notice and a\n notice that there is no warranty (or else, saying that you provide\n a warranty) and that users may redistribute the program under\n these conditions, and telling the user how to view a copy of this\n License. (Exception: if the Program itself is interactive but\n does not normally print such an announcement, your work based on\n the Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n 3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\n a) Accompany it with the complete corresponding machine-readable\n source code, which must be distributed under the terms of Sections\n 1 and 2 above on a medium customarily used for software interchange; or,\n\n b) Accompany it with a written offer, valid for at least three\n years, to give any third party, for a charge no more than your\n cost of physically performing source distribution, a complete\n machine-readable copy of the corresponding source code, to be\n distributed under the terms of Sections 1 and 2 above on a medium\n customarily used for software interchange; or,\n\n c) Accompany it with the information you received as to the offer\n to distribute corresponding source code. (This alternative is\n allowed only for noncommercial distribution and only if you\n received the program in object code or executable form with such\n an offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n 4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n 5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n 6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n 7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n 8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n 9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n 10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\n NO WARRANTY\n\n 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES." + } + ], + "identifier": "bsd_new_and_gpl_2_0-96132c66-8d5c-c2cb-2736-40c4222f4446" + } + ], + "license_clues": [], + "percentage_of_license_text": 92.78, + "copyrights": [ + { + "copyright": "Copyright (c) 2010, Digital Bazaar, Inc.", + "start_line": 27, + "end_line": 27 + }, + { + "copyright": "Copyright (c) 1989, 1991 Free Software Foundation, Inc.", + "start_line": 56, + "end_line": 56 + }, + { + "copyright": "copyrighted by the Free Software Foundation", + "start_line": 304, + "end_line": 305 + } + ], + "holders": [ + { + "holder": "Digital Bazaar, Inc.", + "start_line": 27, + "end_line": 27 + }, + { + "holder": "Free Software Foundation, Inc.", + "start_line": 56, + "end_line": 56 + }, + { + "holder": "the Free Software Foundation", + "start_line": 304, + "end_line": 305 + } + ], + "authors": [], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/package.json", + "type": "file", + "name": "package.json", + "base_name": "package", + "extension": ".json", + "size": 3483, + "date": "1985-10-26", + "sha1": "73d186d89c08e1f0a391d9ed54c6223a9122abe6", + "md5": "99a5de504755fed504c4bf3ff81b232a", + "sha256": "8ab5cc96668147304eeddbd176b02210ef179ed99e2b88736cd39121d0fcf3fd", + "mime_type": "application/json", + "file_type": "JSON data", + "programming_language": null, + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": false, + "is_script": false, + "package_data": [ + { + "type": "npm", + "namespace": null, + "name": "node-forge", + "version": "0.7.5", + "qualifiers": {}, + "subpath": null, + "primary_language": "JavaScript", + "description": "JavaScript implementations of network transports, cryptography, ciphers, PKI, message digests, and various utilities.", + "release_date": null, + "parties": [ + { + "type": "person", + "role": "author", + "name": "Digital Bazaar, Inc.", + "email": "support@digitalbazaar.com", + "url": "http://digitalbazaar.com/" + }, + { + "type": "person", + "role": "contributor", + "name": "Dave Longley", + "email": "dlongley@digitalbazaar.com", + "url": null + }, + { + "type": "person", + "role": "contributor", + "name": "David I. Lehn", + "email": "dlehn@digitalbazaar.com", + "url": null + }, + { + "type": "person", + "role": "contributor", + "name": "Stefan Siegl", + "email": "stesie@brokenpipe.de", + "url": null + }, + { + "type": "person", + "role": "contributor", + "name": "Christoph Dorn", + "email": "christoph@christophdorn.com", + "url": null + } + ], + "keywords": [ + "aes", + "asn", + "asn.1", + "cbc", + "crypto", + "cryptography", + "csr", + "des", + "gcm", + "hmac", + "http", + "https", + "md5", + "network", + "pkcs", + "pki", + "prng", + "rc2", + "rsa", + "sha1", + "sha256", + "sha384", + "sha512", + "ssh", + "tls", + "x.509", + "x509" + ], + "homepage_url": "https://github.com/digitalbazaar/forge", + "download_url": "https://registry.npmjs.org/node-forge/-/node-forge-0.7.5.tgz", + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": "https://github.com/digitalbazaar/forge/issues", + "code_view_url": null, + "vcs_url": "git+https://github.com/digitalbazaar/forge", + "copyright": null, + "holder": null, + "declared_license_expression": "bsd-new OR gpl-2.0", + "declared_license_expression_spdx": "BSD-3-Clause OR GPL-2.0-only", + "license_detections": [ + { + "license_expression": "bsd-new OR gpl-2.0", + "matches": [ + { + "score": 100, + "start_line": 1, + "end_line": 1, + "matched_length": 7, + "match_coverage": 100, + "matcher": "1-spdx-id", + "license_expression": "bsd-new OR gpl-2.0", + "rule_identifier": "spdx-license-identifier-bsd-new OR gpl-2.0-ffc5902e4adca29baf49d630f06b90e00e13b4c2", + "rule_relevance": 100, + "rule_url": null, + "matched_text": "(BSD-3-Clause OR GPL-2.0)" + } + ], + "identifier": "bsd_new_or_gpl_2_0-d0c59c91-6701-5365-3f99-8b72a4e0946a" + } + ], + "other_license_expression": null, + "other_license_expression_spdx": null, + "other_license_detections": [], + "extracted_license_statement": "- (BSD-3-Clause OR GPL-2.0)\n", + "notice_text": null, + "source_packages": [], + "file_references": [], + "extra_data": {}, + "dependencies": [ + { + "purl": "pkg:npm/browserify", + "extracted_requirement": "^16.1.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/commander", + "extracted_requirement": "^2.14.1", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/cross-env", + "extracted_requirement": "^5.1.3", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/express", + "extracted_requirement": "^4.16.2", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/jscs", + "extracted_requirement": "^3.0.7", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/jshint", + "extracted_requirement": "^2.9.5", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/karma", + "extracted_requirement": "^2.0.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/karma-browserify", + "extracted_requirement": "^5.2.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/karma-chrome-launcher", + "extracted_requirement": "^2.2.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/karma-edge-launcher", + "extracted_requirement": "^0.4.2", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/karma-firefox-launcher", + "extracted_requirement": "^1.1.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/karma-ie-launcher", + "extracted_requirement": "^1.0.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/karma-mocha", + "extracted_requirement": "^1.3.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/karma-mocha-reporter", + "extracted_requirement": "^2.2.5", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/karma-phantomjs-launcher", + "extracted_requirement": "^1.0.2", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/karma-safari-launcher", + "extracted_requirement": "^1.0.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/karma-sauce-launcher", + "extracted_requirement": "^1.2.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/karma-sourcemap-loader", + "extracted_requirement": "^0.3.7", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/karma-tap-reporter", + "extracted_requirement": "0.0.6", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/karma-webpack", + "extracted_requirement": "^2.0.13", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/mocha", + "extracted_requirement": "^5.0.1", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/mocha-lcov-reporter", + "extracted_requirement": "^1.2.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/nodejs-websocket", + "extracted_requirement": "^1.7.1", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/nyc", + "extracted_requirement": "^11.5.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/opts", + "extracted_requirement": "^1.2.2", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + }, + { + "purl": "pkg:npm/webpack", + "extracted_requirement": "^3.11.0", + "scope": "devDependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false, + "resolved_package": {}, + "extra_data": {} + } + ], + "repository_homepage_url": "https://www.npmjs.com/package/node-forge", + "repository_download_url": "https://registry.npmjs.org/node-forge/-/node-forge-0.7.5.tgz", + "api_data_url": "https://registry.npmjs.org/node-forge/0.7.5", + "datasource_id": "npm_package_json", + "purl": "pkg:npm/node-forge@0.7.5" + } + ], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": "bsd-new AND gpl-2.0", + "detected_license_expression_spdx": "BSD-3-Clause AND GPL-2.0-only", + "license_detections": [ + { + "license_expression": "bsd-new AND gpl-2.0", + "matches": [ + { + "score": 100, + "start_line": 53, + "end_line": 53, + "matched_length": 4, + "match_coverage": 100, + "matcher": "2-aho", + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_195.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_195.RULE", + "matched_text": "license\": \"(BSD-3-Clause" + }, + { + "score": 100, + "start_line": 53, + "end_line": 53, + "matched_length": 3, + "match_coverage": 100, + "matcher": "2-aho", + "license_expression": "gpl-2.0", + "rule_identifier": "gpl-2.0_52.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_52.RULE", + "matched_text": "GPL-2.0)\"," + } + ], + "identifier": "bsd_new_and_gpl_2_0-fa455b9b-a5b7-4b34-fc44-d7dc5f883e61" + } + ], + "license_clues": [], + "percentage_of_license_text": 1.58, + "copyrights": [], + "holders": [], + "authors": [ + { + "author": "Digital Bazaar, Inc", + "start_line": 6, + "end_line": 7 + } + ], + "emails": [ + { + "email": "support@digitalbazaar.com", + "start_line": 8, + "end_line": 8 + }, + { + "email": "dlongley@digitalbazaar.com", + "start_line": 12, + "end_line": 12 + }, + { + "email": "dlehn@digitalbazaar.com", + "start_line": 13, + "end_line": 13 + }, + { + "email": "stesie@brokenpipe.de", + "start_line": 14, + "end_line": 14 + }, + { + "email": "christoph@christophdorn.com", + "start_line": 15, + "end_line": 15 + } + ], + "urls": [ + { + "url": "https://github.com/digitalbazaar/forge", + "start_line": 5, + "end_line": 5 + }, + { + "url": "http://digitalbazaar.com/", + "start_line": 9, + "end_line": 9 + }, + { + "url": "https://github.com/digitalbazaar/forge/issues", + "start_line": 50, + "end_line": 50 + } + ], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/README.md", + "type": "file", + "name": "README.md", + "base_name": "README", + "extension": ".md", + "size": 59890, + "date": "1985-10-26", + "sha1": "129dbb42f0c534f02cc32c501e3b2682cecb2f80", + "md5": "a1a856681e0e7d308e2504d0600afe29", + "sha256": "6f67b573161f5c29a0d0016770fc3aee206fa510d95b51c35b500522acc1d657", + "mime_type": "text/html", + "file_type": "HTML document, ASCII text, with very long lines", + "programming_language": null, + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": false, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": true, + "is_top_level": true, + "is_key_file": true, + "detected_license_expression": "bsd-new AND gpl-2.0 AND gpl-1.0-plus", + "detected_license_expression_spdx": "BSD-3-Clause AND GPL-2.0-only AND GPL-1.0-or-later", + "license_detections": [ + { + "license_expression": "bsd-new AND gpl-2.0 AND gpl-1.0-plus", + "matches": [ + { + "score": 99, + "start_line": 287, + "end_line": 287, + "matched_length": 3, + "match_coverage": 100, + "matcher": "2-aho", + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_145.RULE", + "rule_relevance": 99, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_145.RULE", + "matched_text": "the BSD License" + }, + { + "score": 100, + "start_line": 287, + "end_line": 288, + "matched_length": 8, + "match_coverage": 100, + "matcher": "2-aho", + "license_expression": "gpl-2.0", + "rule_identifier": "gpl-2.0_724.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_724.RULE", + "matched_text": "the GNU General Public\nLicense (GPL) Version 2." + }, + { + "score": 100, + "start_line": 290, + "end_line": 290, + "matched_length": 2, + "match_coverage": 100, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "unknown-license-reference_see-license_1.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_see-license_1.RULE", + "matched_text": "See: [LICENSE](" + }, + { + "score": 99, + "start_line": 1, + "end_line": 1, + "matched_length": 3, + "match_coverage": 100, + "matcher": "2-aho", + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_145.RULE", + "rule_relevance": 99, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_145.RULE", + "matched_text": "the BSD License" + }, + { + "score": 100, + "start_line": 1, + "end_line": 2, + "matched_length": 8, + "match_coverage": 100, + "matcher": "2-aho", + "license_expression": "gpl-2.0", + "rule_identifier": "gpl-2.0_724.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_724.RULE", + "matched_text": "the\nGNU General Public License (GPL) Version 2." + }, + { + "score": 99, + "start_line": 4, + "end_line": 4, + "matched_length": 3, + "match_coverage": 100, + "matcher": "2-aho", + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_145.RULE", + "rule_relevance": 99, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_145.RULE", + "matched_text": "The BSD License" + }, + { + "score": 85, + "start_line": 8, + "end_line": 8, + "matched_length": 2, + "match_coverage": 100, + "matcher": "2-aho", + "license_expression": "gpl-1.0-plus", + "rule_identifier": "gpl-1.0-plus_351.RULE", + "rule_relevance": 85, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_351.RULE", + "matched_text": "the GPL" + }, + { + "score": 100, + "start_line": 26, + "end_line": 26, + "matched_length": 3, + "match_coverage": 100, + "matcher": "2-aho", + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_228.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_228.RULE", + "matched_text": "New BSD License (" + }, + { + "score": 93.64, + "start_line": 26, + "end_line": 50, + "matched_length": 206, + "match_coverage": 93.64, + "matcher": "3-seq", + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_602.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_602.RULE", + "matched_text": "3-clause)\n[Copyright] ([c]) [2010], [Digital] [Bazaar], [Inc].\n[All] [rights] [reserved].\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n * Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above copyright\n notice, this list of conditions and the following disclaimer in the\n documentation and/or other materials provided with the distribution.\n * Neither the name of [Digital] [Bazaar], [Inc]. nor the\n names of its contributors may be used to endorse or promote products\n derived from this software without specific prior written [permission].\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL [DIGITAL] [BAZAAR] BE LIABLE FOR ANY\nDIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\nON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + }, + { + "score": 90, + "start_line": 53, + "end_line": 330, + "matched_length": 2459, + "match_coverage": 100, + "matcher": "2-aho", + "license_expression": "gpl-2.0", + "rule_identifier": "gpl-2.0_91.RULE", + "rule_relevance": 90, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_91.RULE", + "matched_text": "GNU GENERAL PUBLIC LICENSE\n Version 2, June 1991\n\n Copyright (C) 1989, 1991 Free Software Foundation, Inc.\n 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n Preamble\n\n The licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.) You can apply it to\nyour programs, too.\n\n When we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\n To protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\n For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\n\n We protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\n Also, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\n Finally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\n The precise terms and conditions for copying, distribution and\nmodification follow.\n\n GNU GENERAL PUBLIC LICENSE\n TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n 0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License. The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage. (Hereinafter, translation is included without limitation in\nthe term \"modification\".) Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n 1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n 2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\n a) You must cause the modified files to carry prominent notices\n stating that you changed the files and the date of any change.\n\n b) You must cause any work that you distribute or publish, that in\n whole or in part contains or is derived from the Program or any\n part thereof, to be licensed as a whole at no charge to all third\n parties under the terms of this License.\n\n c) If the modified program normally reads commands interactively\n when run, you must cause it, when started running for such\n interactive use in the most ordinary way, to print or display an\n announcement including an appropriate copyright notice and a\n notice that there is no warranty (or else, saying that you provide\n a warranty) and that users may redistribute the program under\n these conditions, and telling the user how to view a copy of this\n License. (Exception: if the Program itself is interactive but\n does not normally print such an announcement, your work based on\n the Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n 3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\n a) Accompany it with the complete corresponding machine-readable\n source code, which must be distributed under the terms of Sections\n 1 and 2 above on a medium customarily used for software interchange; or,\n\n b) Accompany it with a written offer, valid for at least three\n years, to give any third party, for a charge no more than your\n cost of physically performing source distribution, a complete\n machine-readable copy of the corresponding source code, to be\n distributed under the terms of Sections 1 and 2 above on a medium\n customarily used for software interchange; or,\n\n c) Accompany it with the information you received as to the offer\n to distribute corresponding source code. (This alternative is\n allowed only for noncommercial distribution and only if you\n received the program in object code or executable form with such\n an offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it. For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable. However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n 4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License. Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n 5. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n 6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n 7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n 8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n 9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time. Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation. If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n 10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission. For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this. Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\n NO WARRANTY\n\n 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES." + } + ], + "identifier": "bsd_new_and_gpl_2_0_and_gpl_1_0_plus-c8f71baa-f33c-91e8-b9f9-96a2afcd4772", + "detection_log": [ + "unknown-reference-to-local-file" + ] + } + ], + "license_clues": [], + "percentage_of_license_text": 0.17, + "copyrights": [], + "holders": [], + "authors": [], + "emails": [ + { + "email": "support@digitalbazaar.com", + "start_line": 2046, + "end_line": 2046 + }, + { + "email": "paypal@digitalbazaar.com", + "start_line": 2054, + "end_line": 2054 + } + ], + "urls": [ + { + "url": "https://nodei.co/npm/node-forge.png?downloads=true&downloadRank=true&stars=true", + "start_line": 3, + "end_line": 3 + }, + { + "url": "https://nodei.co/npm/node-forge", + "start_line": 3, + "end_line": 3 + }, + { + "url": "https://img.shields.io/travis/digitalbazaar/forge.svg?branch=master", + "start_line": 5, + "end_line": 5 + }, + { + "url": "https://travis-ci.org/digitalbazaar/forge", + "start_line": 5, + "end_line": 5 + }, + { + "url": "http://dominictarr.github.io/crypto-bench/", + "start_line": 23, + "end_line": 23 + }, + { + "url": "http://cryptojs.altervista.org/test/simulate-threading-speed_test.html", + "start_line": 24, + "end_line": 24 + }, + { + "url": "https://npmjs.org/package/node-forge", + "start_line": 109, + "end_line": 109 + }, + { + "url": "https://github.com/digitalbazaar/forge-dist", + "start_line": 129, + "end_line": 129 + }, + { + "url": "https://www.jsdelivr.com/package/npm/node-forge", + "start_line": 138, + "end_line": 138 + }, + { + "url": "https://cdn.jsdelivr.net/npm/node-forge@0.7.0/dist/forge.min.js", + "start_line": 141, + "end_line": 141 + }, + { + "url": "https://unpkg.com/", + "start_line": 146, + "end_line": 146 + }, + { + "url": "https://unpkg.com/node-forge@0.7.0/dist/forge.min.js", + "start_line": 149, + "end_line": 149 + }, + { + "url": "https://github.com/digitalbazaar/forge/blob/cbebca3780658703d925b61b2caffb1d263a6c1d/LICENSE", + "start_line": 290, + "end_line": 290 + }, + { + "url": "https://tools.ietf.org/html/rfc4880)/", + "start_line": 743, + "end_line": 743 + }, + { + "url": "https://www.gnupg.org/", + "start_line": 743, + "end_line": 743 + }, + { + "url": "http://www.domain.net/", + "start_line": 1495, + "end_line": 1495 + }, + { + "url": "http://digitalbazaar.com/2010/07/20/javascript-tls-1/", + "start_line": 2038, + "end_line": 2038 + }, + { + "url": "http://digitalbazaar.com/2010/07/20/javascript-tls-2/", + "start_line": 2039, + "end_line": 2039 + }, + { + "url": "https://github.com/digitalbazaar/forge", + "start_line": 2044, + "end_line": 2044 + }, + { + "url": "https://github.com/digitalbazaar/forge/issues", + "start_line": 2045, + "end_line": 2045 + }, + { + "url": "https://webchat.freenode.net/?channels=#forgejs", + "start_line": 2057, + "end_line": 2057 + }, + { + "url": "https://github.com/digitalbazaar/forge/tree/0.6.x", + "start_line": 2058, + "end_line": 2058 + }, + { + "url": "http://en.wikipedia.org/wiki/Triple_DES", + "start_line": 2059, + "end_line": 2059 + }, + { + "url": "http://en.wikipedia.org/wiki/Advanced_Encryption_Standard", + "start_line": 2060, + "end_line": 2060 + }, + { + "url": "http://en.wikipedia.org/wiki/ASN.1", + "start_line": 2061, + "end_line": 2061 + }, + { + "url": "https://bower.io/", + "start_line": 2062, + "end_line": 2062 + }, + { + "url": "http://browserify.org/", + "start_line": 2063, + "end_line": 2063 + }, + { + "url": "http://en.wikipedia.org/wiki/Block_cipher_mode_of_operation", + "start_line": 2064, + "end_line": 2064 + }, + { + "url": "https://en.wikipedia.org/wiki/CommonJS", + "start_line": 2067, + "end_line": 2067 + }, + { + "url": "http://en.wikipedia.org/wiki/Data_Encryption_Standard", + "start_line": 2068, + "end_line": 2068 + }, + { + "url": "http://en.wikipedia.org/wiki/Fortuna_", + "start_line": 2070, + "end_line": 2070 + }, + { + "url": "http://en.wikipedia.org/wiki/GCM_mode", + "start_line": 2071, + "end_line": 2071 + }, + { + "url": "http://en.wikipedia.org/wiki/HMAC", + "start_line": 2072, + "end_line": 2072 + }, + { + "url": "http://en.wikipedia.org/wiki/JavaScript", + "start_line": 2073, + "end_line": 2073 + }, + { + "url": "https://karma-runner.github.io/", + "start_line": 2074, + "end_line": 2074 + }, + { + "url": "http://en.wikipedia.org/wiki/MD5", + "start_line": 2075, + "end_line": 2075 + }, + { + "url": "http://nodejs.org/", + "start_line": 2076, + "end_line": 2076 + }, + { + "url": "http://en.wikipedia.org/wiki/Certificate_signing_request", + "start_line": 2078, + "end_line": 2078 + }, + { + "url": "http://en.wikipedia.org/wiki/PKCS_%E2%99%AF12", + "start_line": 2079, + "end_line": 2079 + }, + { + "url": "http://en.wikipedia.org/wiki/PKCS", + "start_line": 2080, + "end_line": 2080 + }, + { + "url": "http://en.wikipedia.org/wiki/Cryptographic_Message_Syntax", + "start_line": 2081, + "end_line": 2081 + }, + { + "url": "https://www.paypal.com/", + "start_line": 2082, + "end_line": 2082 + }, + { + "url": "http://en.wikipedia.org/wiki/RC2", + "start_line": 2083, + "end_line": 2083 + }, + { + "url": "http://en.wikipedia.org/wiki/SHA-1", + "start_line": 2084, + "end_line": 2084 + }, + { + "url": "http://en.wikipedia.org/wiki/SHA-256", + "start_line": 2085, + "end_line": 2085 + }, + { + "url": "http://en.wikipedia.org/wiki/SHA-384", + "start_line": 2086, + "end_line": 2086 + }, + { + "url": "http://en.wikipedia.org/wiki/SHA-512", + "start_line": 2087, + "end_line": 2087 + }, + { + "url": "https://www.w3.org/TR/SRI/", + "start_line": 2088, + "end_line": 2088 + }, + { + "url": "http://en.wikipedia.org/wiki/Transport_Layer_Security", + "start_line": 2089, + "end_line": 2089 + }, + { + "url": "https://github.com/umdjs/umd", + "start_line": 2090, + "end_line": 2090 + } + ], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/dist", + "type": "directory", + "name": "dist", + "base_name": "dist", + "extension": "", + "size": 0, + "date": null, + "sha1": null, + "md5": null, + "sha256": null, + "mime_type": null, + "file_type": null, + "programming_language": null, + "is_binary": false, + "is_text": false, + "is_archive": false, + "is_media": false, + "is_source": false, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": true, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [], + "holders": [], + "authors": [], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 6, + "dirs_count": 0, + "size_count": 613978, + "scan_errors": [] + }, + { + "path": "package/dist/forge.all.min.js", + "type": "file", + "name": "forge.all.min.js", + "base_name": "forge.all.min", + "extension": ".js", + "size": 307095, + "date": "1985-10-26", + "sha1": "d984fb5030a967e1d102ff04667db7668e951057", + "md5": "587ae7e2d977f707250c4c33e8b6edac", + "sha256": "b53c5e5a58cd60c77c28728b5846fb746923ca32dddf79a8db779c7e6f277243", + "mime_type": "application/octet-stream", + "file_type": "data", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [], + "holders": [], + "authors": [], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/dist/forge.all.min.js.map", + "type": "file", + "name": "forge.all.min.js.map", + "base_name": "forge.all.min.js", + "extension": ".map", + "size": 115, + "date": "1985-10-26", + "sha1": "48638cbeda382cc166e793e998e757bae5d1f5f3", + "md5": "a0695227ecf4d150ebee644034e2bb50", + "sha256": "7f0555347f69428ee33a22ce1d73ab9cdd937259ef42fe7eb10c043ce1000b80", + "mime_type": "application/json", + "file_type": "JSON data", + "programming_language": null, + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": false, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [], + "holders": [], + "authors": [], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/dist/forge.min.js", + "type": "file", + "name": "forge.min.js", + "base_name": "forge.min", + "extension": ".js", + "size": 285391, + "date": "1985-10-26", + "sha1": "b11b0fa658b4ec8502f6826d4d6c4d0b7efb51b8", + "md5": "bb3ebe57fc19c4f17899a7f92be87498", + "sha256": "371c2dd669afea66ab96d7c9c49a7ff10cc80c4313ac65c8d9f286e742baedaa", + "mime_type": "application/octet-stream", + "file_type": "data", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [], + "holders": [], + "authors": [], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/dist/forge.min.js.map", + "type": "file", + "name": "forge.min.js.map", + "base_name": "forge.min.js", + "extension": ".map", + "size": 107, + "date": "1985-10-26", + "sha1": "55ce81cbe55106b7036421e1871270f1d2beeb33", + "md5": "9afff2f3d71fbbdae53a9b471a6d8011", + "sha256": "f32cf7f1e3e12fbe1d49bda001c11ad967bd3d5396a587a0214daf595802a9d5", + "mime_type": "application/json", + "file_type": "JSON data", + "programming_language": null, + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": false, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [], + "holders": [], + "authors": [], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/dist/prime.worker.min.js", + "type": "file", + "name": "prime.worker.min.js", + "base_name": "prime.worker.min", + "extension": ".js", + "size": 21149, + "date": "1985-10-26", + "sha1": "7504916d96e41ecb768273d4de68ac5e7aff2efa", + "md5": "89d550ec523c6ad54e235e077850b233", + "sha256": "356584a796f7d9ec0c1b8f7b6685648f888db173e505d2a5bd7acd58849fc4a2", + "mime_type": "text/plain", + "file_type": "ASCII text, with very long lines", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [], + "holders": [], + "authors": [], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/dist/prime.worker.min.js.map", + "type": "file", + "name": "prime.worker.min.js.map", + "base_name": "prime.worker.min.js", + "extension": ".map", + "size": 121, + "date": "1985-10-26", + "sha1": "c77df10579aafe86e21947c415f9907af7648ed4", + "md5": "21bed492d284d4634709bda9f2986b68", + "sha256": "73f786b89ef54b00e0cfb6969b2881e7cffa77b4be3f03e998f70993290716a8", + "mime_type": "application/json", + "file_type": "JSON data", + "programming_language": null, + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": false, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [], + "holders": [], + "authors": [], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/flash", + "type": "directory", + "name": "flash", + "base_name": "flash", + "extension": "", + "size": 0, + "date": null, + "sha1": null, + "md5": null, + "sha256": null, + "mime_type": null, + "file_type": null, + "programming_language": null, + "is_binary": false, + "is_text": false, + "is_archive": false, + "is_media": false, + "is_source": false, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": true, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [], + "holders": [], + "authors": [], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 2, + "dirs_count": 1, + "size_count": 22659, + "scan_errors": [] + }, + { + "path": "package/flash/README.md", + "type": "file", + "name": "README.md", + "base_name": "README", + "extension": ".md", + "size": 1497, + "date": "1985-10-26", + "sha1": "fc1f6f77cb8a8af6e73338dc4db418a604cd5d39", + "md5": "324d5ed3d3bede2305b1dba74e262350", + "sha256": "5e205d637ad5a5be1404f8640934fb792ff5480aa5b5f3c28123e62f5390806f", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": null, + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": false, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": true, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [], + "holders": [], + "authors": [], + "emails": [], + "urls": [ + { + "url": "http://httpd.apache.org/", + "start_line": 46, + "end_line": 46 + }, + { + "url": "https://flex.apache.org/", + "start_line": 47, + "end_line": 47 + }, + { + "url": "https://github.com/bichinger/nodejs_socket_policy_server", + "start_line": 48, + "end_line": 48 + } + ], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/flash/swf", + "type": "directory", + "name": "swf", + "base_name": "swf", + "extension": "", + "size": 0, + "date": null, + "sha1": null, + "md5": null, + "sha256": null, + "mime_type": null, + "file_type": null, + "programming_language": null, + "is_binary": false, + "is_text": false, + "is_archive": false, + "is_media": false, + "is_source": false, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [], + "holders": [], + "authors": [], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 1, + "dirs_count": 0, + "size_count": 21162, + "scan_errors": [] + }, + { + "path": "package/flash/swf/SocketPool.swf", + "type": "file", + "name": "SocketPool.swf", + "base_name": "SocketPool", + "extension": ".swf", + "size": 21162, + "date": "1985-10-26", + "sha1": "5ab6353aa898960e3a24ac29d3371492f9543f5b", + "md5": "b7ed67975b878c30aa236f3192654e4d", + "sha256": "0ebae322dc751e77e18ceef4960bcda1d1634f53a49e7030fb640cf90f1d8839", + "mime_type": "application/x-shockwave-flash", + "file_type": "Macromedia Flash data (compressed), version 14", + "programming_language": null, + "is_binary": true, + "is_text": false, + "is_archive": true, + "is_media": false, + "is_source": false, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [], + "holders": [], + "authors": [], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib", + "type": "directory", + "name": "lib", + "base_name": "lib", + "extension": "", + "size": 0, + "date": null, + "sha1": null, + "md5": null, + "sha256": null, + "mime_type": null, + "file_type": null, + "programming_language": null, + "is_binary": false, + "is_text": false, + "is_archive": false, + "is_media": false, + "is_source": false, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": true, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [], + "holders": [], + "authors": [], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 50, + "dirs_count": 0, + "size_count": 947838, + "scan_errors": [] + }, + { + "path": "package/lib/aes.js", + "type": "file", + "name": "aes.js", + "base_name": "aes", + "extension": ".js", + "size": 39030, + "date": "1985-10-26", + "sha1": "90527df232eae0ea7ce08dcf2960f911217b9b72", + "md5": "ffd9ded445ca952063a581f222879839", + "sha256": "7a9122c559585a3f9c1607b459c0851fd9afab1dbac741d92e54467e8dd8b0fe", + "mime_type": "text/plain", + "file_type": "UTF-8 Unicode text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": "public-domain", + "detected_license_expression_spdx": "LicenseRef-scancode-public-domain", + "license_detections": [ + { + "license_expression": "public-domain", + "matches": [ + { + "score": 100, + "start_line": 4, + "end_line": 4, + "matched_length": 3, + "match_coverage": 100, + "matcher": "2-aho", + "license_expression": "public-domain", + "rule_identifier": "public-domain_313.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/public-domain_313.RULE", + "matched_text": "public domain library '" + } + ], + "identifier": "public_domain-a4c848e5-f69b-55ab-8079-17ddc9a439d7" + } + ], + "license_clues": [], + "percentage_of_license_text": 0.05, + "copyrights": [ + { + "copyright": "Copyright (c) 2010-2014 Digital Bazaar, Inc.", + "start_line": 16, + "end_line": 16 + } + ], + "holders": [ + { + "holder": "Digital Bazaar, Inc.", + "start_line": 16, + "end_line": 16 + } + ], + "authors": [ + { + "author": "Dave Longley", + "start_line": 14, + "end_line": 14 + } + ], + "emails": [ + { + "email": "estark@stanford.edu", + "start_line": 7, + "end_line": 7 + }, + { + "email": "mhamburg@stanford.edu", + "start_line": 8, + "end_line": 8 + }, + { + "email": "dabo@cs.stanford.edu", + "start_line": 9, + "end_line": 9 + } + ], + "urls": [ + { + "url": "http://www.openssl.org/", + "start_line": 12, + "end_line": 12 + } + ], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/aesCipherSuites.js", + "type": "file", + "name": "aesCipherSuites.js", + "base_name": "aesCipherSuites", + "extension": ".js", + "size": 9136, + "date": "1985-10-26", + "sha1": "045b05adda0f47743b7cee3f62725fadb99f1c73", + "md5": "222818bbce69c4ea981ae28c47b7fc01", + "sha256": "961e48cdb408b40d201751800817b2c7436f78bcb64e6b933080efcba4193b3e", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [ + { + "copyright": "Copyright (c) 2009-2015 Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "holders": [ + { + "holder": "Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "authors": [ + { + "author": "Dave Longley", + "start_line": 4, + "end_line": 4 + } + ], + "emails": [], + "urls": [ + { + "url": "https://www.nccgroup.trust/us/about-us/newsroom-and-events/blog/2011/february/double-hmac-verification/", + "start_line": 264, + "end_line": 264 + } + ], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/asn1.js", + "type": "file", + "name": "asn1.js", + "base_name": "asn1", + "extension": ".js", + "size": 42041, + "date": "1985-10-26", + "sha1": "91caf25651d0f0d64193e8695b37b1d029e1c2e0", + "md5": "31c47515fd9314dc256731de24be22eb", + "sha256": "15fcfedff2bf17e3771a0dcfdc95bdb4c96cd7a08a2b79aa064cb56890f303b5", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [ + { + "copyright": "Copyright (c) 2010-2015 Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "holders": [ + { + "holder": "Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "authors": [ + { + "author": "Dave Longley", + "start_line": 4, + "end_line": 4 + } + ], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/baseN.js", + "type": "file", + "name": "baseN.js", + "base_name": "baseN", + "extension": ".js", + "size": 5068, + "date": "1985-10-26", + "sha1": "543622db9a5900ccc928c41ac9e986f1de11f735", + "md5": "0352b162562db3f184f522bb3e520402", + "sha256": "08175e677127132340002bdb63dd19ba41c0baae546936032c7d6a6335e219b6", + "mime_type": "text/x-Algol68", + "file_type": "Algol 68 source, ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": "mit", + "detected_license_expression_spdx": "MIT", + "license_detections": [ + { + "license_expression": "mit", + "matches": [ + { + "score": 100, + "start_line": 7, + "end_line": 7, + "matched_length": 4, + "match_coverage": 100, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit_368.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_368.RULE", + "matched_text": "Which is MIT licensed:" + }, + { + "score": 100, + "start_line": 9, + "end_line": 9, + "matched_length": 4, + "match_coverage": 100, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit_26.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mit_26.RULE", + "matched_text": "The MIT License (MIT)" + }, + { + "score": 100, + "start_line": 13, + "end_line": 29, + "matched_length": 161, + "match_coverage": 100, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "matched_text": "Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\n * DEALINGS IN THE SOFTWARE." + } + ], + "identifier": "mit-e51726c2-c18f-7871-5845-3eb6a5e8e82e" + } + ], + "license_clues": [], + "percentage_of_license_text": 25.68, + "copyrights": [ + { + "copyright": "Copyright base-x contributors (c) 2016", + "start_line": 11, + "end_line": 11 + } + ], + "holders": [ + { + "holder": "base-x contributors", + "start_line": 11, + "end_line": 11 + } + ], + "authors": [], + "emails": [], + "urls": [ + { + "url": "https://github.com/cryptocoinjs/base-x", + "start_line": 5, + "end_line": 5 + } + ], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/cipher.js", + "type": "file", + "name": "cipher.js", + "base_name": "cipher", + "extension": ".js", + "size": 6668, + "date": "1985-10-26", + "sha1": "ca80a4608e9365f4cbca5ac1b827286611142893", + "md5": "bb3480cf801c44614ea19445056a488e", + "sha256": "67e3547ac39aaa8862d9519f55571dc0deef6e1d3d6a48ea6d6b653fb7a35a3f", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [ + { + "copyright": "Copyright (c) 2010-2014 Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "holders": [ + { + "holder": "Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "authors": [ + { + "author": "Dave Longley", + "start_line": 4, + "end_line": 4 + } + ], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/cipherModes.js", + "type": "file", + "name": "cipherModes.js", + "base_name": "cipherModes", + "extension": ".js", + "size": 28610, + "date": "1985-10-26", + "sha1": "7b9f74c5719af36c2c50c004d57f092fe7a569dc", + "md5": "61ac713055415935795e061d2737945f", + "sha256": "5b8daecb9bf5a74ea5f190af716cbd0dc92959f4675618023da2ab0038f972fb", + "mime_type": "text/x-Algol68", + "file_type": "Algol 68 source, ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [ + { + "copyright": "Copyright (c) 2010-2014 Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "holders": [ + { + "holder": "Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "authors": [ + { + "author": "Dave Longley", + "start_line": 4, + "end_line": 4 + } + ], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/debug.js", + "type": "file", + "name": "debug.js", + "base_name": "debug", + "extension": ".js", + "size": 2076, + "date": "1985-10-26", + "sha1": "56598304f783ad4098ced9d7ab432609e8478bf7", + "md5": "e03dc79dc362cfc7ae295ab0ff068ea4", + "sha256": "b791dfe1f401261b0cb7d1377681534db3c5ce82222e959aa914bf9d54eb8549", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [ + { + "copyright": "Copyright 2008-2013 Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "holders": [ + { + "holder": "Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "authors": [ + { + "author": "David I. Lehn ", + "start_line": 4, + "end_line": 4 + } + ], + "emails": [ + { + "email": "dlehn@digitalbazaar.com", + "start_line": 4, + "end_line": 4 + } + ], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/des.js", + "type": "file", + "name": "des.js", + "base_name": "des", + "extension": ".js", + "size": 20442, + "date": "1985-10-26", + "sha1": "19e370f995c70c2201ee4bcecb27253bb7a4a602", + "md5": "24b32569c4b62d22bfd6ca6309783ae7", + "sha256": "2cefea0f9e0abc366dad4ce4b7b4e56b7ae547f1371a27a56e06970c984d885e", + "mime_type": "text/plain", + "file_type": "ASCII text, with very long lines", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": "bsd-new AND warranty-disclaimer", + "detected_license_expression_spdx": "BSD-3-Clause AND LicenseRef-scancode-warranty-disclaimer", + "license_detections": [ + { + "license_expression": "bsd-new", + "matches": [ + { + "score": 90, + "start_line": 5, + "end_line": 5, + "matched_length": 2, + "match_coverage": 100, + "matcher": "2-aho", + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_169.RULE", + "rule_relevance": 90, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_169.RULE", + "matched_text": "BSD-licensed" + } + ], + "identifier": "bsd_new-248fd191-664d-a2e1-27fc-446bab328fde" + }, + { + "license_expression": "warranty-disclaimer", + "matches": [ + { + "score": 100, + "start_line": 13, + "end_line": 23, + "matched_length": 108, + "match_coverage": 100, + "matcher": "2-aho", + "license_expression": "warranty-disclaimer", + "rule_identifier": "warranty-disclaimer_8.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/warranty-disclaimer_8.RULE", + "matched_text": "THIS SOFTWARE IS PROVIDED \"AS IS\" AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE." + } + ], + "identifier": "warranty_disclaimer-e2279f91-9ab6-57d6-5de0-6f15ca82ed67" + } + ], + "license_clues": [], + "percentage_of_license_text": 4.23, + "copyrights": [ + { + "copyright": "Copyright (c) 2012 Stefan Siegl ", + "start_line": 28, + "end_line": 28 + }, + { + "copyright": "Copyright (c) 2012-2014 Digital Bazaar, Inc.", + "start_line": 29, + "end_line": 29 + } + ], + "holders": [ + { + "holder": "Stefan Siegl", + "start_line": 28, + "end_line": 28 + }, + { + "holder": "Digital Bazaar, Inc.", + "start_line": 29, + "end_line": 29 + } + ], + "authors": [ + { + "author": "Stefan Siegl", + "start_line": 25, + "end_line": 25 + }, + { + "author": "Dave Longley", + "start_line": 26, + "end_line": 26 + } + ], + "emails": [ + { + "email": "stesie@brokenpipe.de", + "start_line": 28, + "end_line": 28 + } + ], + "urls": [ + { + "url": "http://www.tero.co.uk/des/", + "start_line": 8, + "end_line": 8 + }, + { + "url": "http://www.netdealing.com/", + "start_line": 11, + "end_line": 11 + } + ], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/ed25519.js", + "type": "file", + "name": "ed25519.js", + "base_name": "ed25519", + "extension": ".js", + "size": 22213, + "date": "1985-10-26", + "sha1": "e7419a511cb6acebfb83f4cf6ee25a031f3ae744", + "md5": "cbef66a1c7218ebd0c72d6aad8a701c7", + "sha256": "683380063a4e1e0944e90f8233e8096e0101534eec040c237ee2bb9b2e89938e", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": "public-domain", + "detected_license_expression_spdx": "LicenseRef-scancode-public-domain", + "license_detections": [ + { + "license_expression": "public-domain", + "matches": [ + { + "score": 100, + "start_line": 6, + "end_line": 7, + "matched_length": 6, + "match_coverage": 100, + "matcher": "2-aho", + "license_expression": "public-domain", + "rule_identifier": "public-domain_222.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/public-domain_222.RULE", + "matched_text": "which is\n * in the public domain." + } + ], + "identifier": "public_domain-7d8070df-6bbe-f151-eb1b-b0d3f686dcdb" + } + ], + "license_clues": [], + "percentage_of_license_text": 0.17, + "copyrights": [ + { + "copyright": "Copyright (c) 2017-2018 Digital Bazaar, Inc.", + "start_line": 4, + "end_line": 4 + } + ], + "holders": [ + { + "holder": "Digital Bazaar, Inc.", + "start_line": 4, + "end_line": 4 + } + ], + "authors": [], + "emails": [], + "urls": [ + { + "url": "https://github.com/dchest/tweetnacl-js", + "start_line": 9, + "end_line": 9 + }, + { + "url": "https://tools.ietf.org/html/rfc8032", + "start_line": 26, + "end_line": 26 + } + ], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/forge.js", + "type": "file", + "name": "forge.js", + "base_name": "forge", + "extension": ".js", + "size": 200, + "date": "1985-10-26", + "sha1": "a9ab5eb9eb3699ad19877248888b7ab2cba1a0d7", + "md5": "4fd842e6a9ec49af694c1e8d0e8e6e15", + "sha256": "4300955cc75f3cb5b71287b0fa37ec07d3a6bb721a9f6f8b7db19328801046bf", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [ + { + "copyright": "Copyright 2011-2016 Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "holders": [ + { + "holder": "Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "authors": [ + { + "author": "Dave Longley", + "start_line": 4, + "end_line": 4 + } + ], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/form.js", + "type": "file", + "name": "form.js", + "base_name": "form", + "extension": ".js", + "size": 3880, + "date": "1985-10-26", + "sha1": "b4da8dbc81759f1171cb8465580b17d7cffe5a36", + "md5": "b84e91dcfc6cf9d2d6319c519c78fcb0", + "sha256": "a2f6e0fbab87d5acb02e08c8f92ea8269445f9f35ee1706fb82246ba8f5aba12", + "mime_type": "text/x-Algol68", + "file_type": "Algol 68 source, ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [ + { + "copyright": "Copyright (c) 2011-2014 Digital Bazaar, Inc.", + "start_line": 8, + "end_line": 8 + } + ], + "holders": [ + { + "holder": "Digital Bazaar, Inc.", + "start_line": 8, + "end_line": 8 + } + ], + "authors": [ + { + "author": "David I. Lehn ", + "start_line": 4, + "end_line": 4 + }, + { + "author": "Dave Longley", + "start_line": 5, + "end_line": 5 + }, + { + "author": "Mike Johnson", + "start_line": 6, + "end_line": 6 + } + ], + "emails": [ + { + "email": "dlehn@digitalbazaar.com", + "start_line": 4, + "end_line": 4 + } + ], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/hmac.js", + "type": "file", + "name": "hmac.js", + "base_name": "hmac", + "extension": ".js", + "size": 3833, + "date": "1985-10-26", + "sha1": "6685ef733182c43d8dc7adc952ffe1fec52288cb", + "md5": "d89e2eba25fc31a8e47b986ca09661bb", + "sha256": "bab6d0f322458186f6d123cfdd208ab1298a64ab6925b478968a0dfb446a8fa9", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [ + { + "copyright": "Copyright (c) 2010-2012 Digital Bazaar, Inc.", + "start_line": 8, + "end_line": 8 + } + ], + "holders": [ + { + "holder": "Digital Bazaar, Inc.", + "start_line": 8, + "end_line": 8 + } + ], + "authors": [ + { + "author": "Dave Longley", + "start_line": 6, + "end_line": 6 + } + ], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/http.js", + "type": "file", + "name": "http.js", + "base_name": "http", + "extension": ".js", + "size": 39472, + "date": "1985-10-26", + "sha1": "24c6c05526466f17d8692141a4fa4c9d521f7c84", + "md5": "979f388d79469b1a6500590808a72e4f", + "sha256": "691d3add34d5ece3248ff37e239b026983f0fe594c1165993cdf0fb13efe857f", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [ + { + "copyright": "Copyright (c) 2010-2014 Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "holders": [ + { + "holder": "Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "authors": [ + { + "author": "Dave Longley", + "start_line": 4, + "end_line": 4 + } + ], + "emails": [], + "urls": [ + { + "url": "http://www.someurl.com/", + "start_line": 921, + "end_line": 921 + } + ], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/index.all.js", + "type": "file", + "name": "index.all.js", + "base_name": "index.all", + "extension": ".js", + "size": 366, + "date": "1985-10-26", + "sha1": "592a72a94ddc60f72667d0aef9612d4ea808bc3d", + "md5": "a01f7d8b452311a9ae6f2d104eb83ad9", + "sha256": "48fa7454923f3baa3dd5a5bf9475892aa5f272c4cc8b5a0ec4f3d6c2370ac631", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [ + { + "copyright": "Copyright 2011-2016 Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "holders": [ + { + "holder": "Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "authors": [ + { + "author": "Dave Longley", + "start_line": 4, + "end_line": 4 + } + ], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/index.js", + "type": "file", + "name": "index.js", + "base_name": "index", + "extension": ".js", + "size": 679, + "date": "1985-10-26", + "sha1": "f10e26fad351718f2fad90f5e804114f4abfb778", + "md5": "4b46becad7ae71cec87b8b0e58a75485", + "sha256": "f2de63ad743ae7e2040cc834ea2c1af88c7f24aab3fa9d596b14c006ccffdf5b", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [ + { + "copyright": "Copyright 2011-2016 Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "holders": [ + { + "holder": "Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "authors": [ + { + "author": "Dave Longley", + "start_line": 4, + "end_line": 4 + } + ], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/jsbn.js", + "type": "file", + "name": "jsbn.js", + "base_name": "jsbn", + "extension": ".js", + "size": 35188, + "date": "1985-10-26", + "sha1": "f7fac97d20ce9dd25af561f5b1b3a145c3eb18b7", + "md5": "b47f8a60adda9f9efe121d86d0b62936", + "sha256": "772216c6547bc6ae0e538d12bd6be1b26e6c32159399047aa016515d33769019", + "mime_type": "text/plain", + "file_type": "ASCII text, with very long lines", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": "unknown-license-reference AND mit-addition", + "detected_license_expression_spdx": "LicenseRef-scancode-unknown-license-reference AND MIT-Wu", + "license_detections": [ + { + "license_expression": "unknown-license-reference", + "matches": [ + { + "score": 100, + "start_line": 3, + "end_line": 3, + "matched_length": 4, + "match_coverage": 100, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "unknown-license-reference_283.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_283.RULE", + "matched_text": "See \"LICENSE\" for details." + } + ], + "identifier": "unknown_license_reference-f66b008c-85ad-5ecc-9554-81ad2bb8ff47" + }, + { + "license_expression": "mit-addition", + "matches": [ + { + "score": 100, + "start_line": 11, + "end_line": 11, + "matched_length": 8, + "match_coverage": 100, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "lead-in_unknown_2.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lead-in_unknown_2.RULE", + "matched_text": "This software is covered under the following copyright:" + }, + { + "score": 100, + "start_line": 17, + "end_line": 41, + "matched_length": 193, + "match_coverage": 100, + "matcher": "2-aho", + "license_expression": "mit-addition", + "rule_identifier": "mit-addition.LICENSE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit-addition.LICENSE", + "matched_text": "Permission is hereby granted, free of charge, to any person obtaining\n * a copy of this software and associated documentation files (the\n * \"Software\"), to deal in the Software without restriction, including\n * without limitation the rights to use, copy, modify, merge, publish,\n * distribute, sublicense, and/or sell copies of the Software, and to\n * permit persons to whom the Software is furnished to do so, subject to\n * the following conditions:\n *\n * The above copyright notice and this permission notice shall be\n * included in all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS-IS\" AND WITHOUT WARRANTY OF ANY KIND,\n * EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY\n * WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.\n *\n * IN NO EVENT SHALL TOM WU BE LIABLE FOR ANY SPECIAL, INCIDENTAL,\n * INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER\n * RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER OR NOT ADVISED OF\n * THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF LIABILITY, ARISING OUT\n * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n *\n * In addition, the following condition applies:\n *\n * All redistributions must retain an intact copy of this copyright notice\n * and disclaimer." + } + ], + "identifier": "mit_addition-6bc0df68-f07a-36d8-11e3-358f6c784914" + }, + { + "license_expression": "unknown-license-reference", + "matches": [ + { + "score": 100, + "start_line": 613, + "end_line": 613, + "matched_length": 4, + "match_coverage": 100, + "matcher": "2-aho", + "license_expression": "unknown-license-reference", + "rule_identifier": "unknown-license-reference_283.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_283.RULE", + "matched_text": "See \"LICENSE\" for details (" + } + ], + "identifier": "unknown_license_reference-f66b008c-85ad-5ecc-9554-81ad2bb8ff47" + } + ], + "license_clues": [], + "percentage_of_license_text": 3.46, + "copyrights": [ + { + "copyright": "Copyright (c) 2005 Tom Wu", + "start_line": 1, + "end_line": 1 + }, + { + "copyright": "Copyright (c) 2003-2005 Tom Wu", + "start_line": 11, + "end_line": 14 + }, + { + "copyright": "Copyright (c) 2005-2009 Tom Wu", + "start_line": 611, + "end_line": 611 + } + ], + "holders": [ + { + "holder": "Tom Wu", + "start_line": 1, + "end_line": 1 + }, + { + "holder": "Tom Wu", + "start_line": 14, + "end_line": 14 + }, + { + "holder": "Tom Wu", + "start_line": 611, + "end_line": 611 + } + ], + "authors": [], + "emails": [ + { + "email": "tjw@cs.Stanford.EDU", + "start_line": 47, + "end_line": 47 + } + ], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/kem.js", + "type": "file", + "name": "kem.js", + "base_name": "kem", + "extension": ".js", + "size": 5210, + "date": "1985-10-26", + "sha1": "c4120117a245e3f34d1a7a1eef5fd423417a5250", + "md5": "4af4735b770c607e7755ed1704a823a6", + "sha256": "f113b8b8c300030e68722592c855bb4c09f7bc657b74bb497b0a357f34304f1f", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [ + { + "copyright": "Copyright (c) 2014 Lautaro Cozzani ", + "start_line": 7, + "end_line": 7 + }, + { + "copyright": "Copyright (c) 2014 Digital Bazaar, Inc.", + "start_line": 8, + "end_line": 8 + } + ], + "holders": [ + { + "holder": "Lautaro Cozzani", + "start_line": 7, + "end_line": 7 + }, + { + "holder": "Digital Bazaar, Inc.", + "start_line": 8, + "end_line": 8 + } + ], + "authors": [ + { + "author": "Lautaro Cozzani Rodriguez", + "start_line": 4, + "end_line": 4 + }, + { + "author": "Dave Longley", + "start_line": 5, + "end_line": 5 + } + ], + "emails": [ + { + "email": "lautaro.cozzani@scytl.com", + "start_line": 7, + "end_line": 7 + } + ], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/log.js", + "type": "file", + "name": "log.js", + "base_name": "log", + "extension": ".js", + "size": 9170, + "date": "1985-10-26", + "sha1": "92e61093d0cc91e6a362150d0b1e5f7c6a8a751e", + "md5": "808cab62470b7de894b6c66897521961", + "sha256": "eb3e84924a70b324b7cebe65c44809ab1ee14f950c463a376ec1c47ec1bb260c", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [ + { + "copyright": "Copyright (c) 2008-2013 Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "holders": [ + { + "holder": "Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "authors": [ + { + "author": "David I. Lehn ", + "start_line": 4, + "end_line": 4 + } + ], + "emails": [ + { + "email": "dlehn@digitalbazaar.com", + "start_line": 4, + "end_line": 4 + } + ], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/md.all.js", + "type": "file", + "name": "md.all.js", + "base_name": "md.all", + "extension": ".js", + "size": 251, + "date": "1985-10-26", + "sha1": "073f602271e1baffbd9404615a5596508e8ccb7e", + "md5": "662af2a8ea3493ed5933647229b07485", + "sha256": "6a10918cc8f727cc8cec20fee5e13f55c11e30b3f03b8800108cabb299211d4d", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [ + { + "copyright": "Copyright 2011-2017 Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "holders": [ + { + "holder": "Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "authors": [ + { + "author": "Dave Longley", + "start_line": 4, + "end_line": 4 + } + ], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/md.js", + "type": "file", + "name": "md.js", + "base_name": "md", + "extension": ".js", + "size": 253, + "date": "1985-10-26", + "sha1": "26c1459a847998de5cc2c79472c24863e4c556eb", + "md5": "3523d19f4237d16c3c0ad0c2737c8c11", + "sha256": "ebfc33ed52d3c8cf2d584310fe0f45b23d911f532deef8044844bf2271b04402", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [ + { + "copyright": "Copyright 2011-2017 Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "holders": [ + { + "holder": "Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "authors": [ + { + "author": "Dave Longley", + "start_line": 4, + "end_line": 4 + } + ], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/md5.js", + "type": "file", + "name": "md5.js", + "base_name": "md5", + "extension": ".js", + "size": 7983, + "date": "1985-10-26", + "sha1": "267fef33dd4c27f7707b6f21da2ec3d628c971b6", + "md5": "7c1fbbcb504399ad7993ac35b3c9ea9f", + "sha256": "ed58ce89d124a276a083280bd7003b09c294c4063e6925d83fe422664a51f810", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [ + { + "copyright": "Copyright (c) 2010-2014 Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "holders": [ + { + "holder": "Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "authors": [ + { + "author": "Dave Longley", + "start_line": 4, + "end_line": 4 + } + ], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/mgf.js", + "type": "file", + "name": "mgf.js", + "base_name": "mgf", + "extension": ".js", + "size": 274, + "date": "1985-10-26", + "sha1": "0d7e7ca71c1fce9a92a96b1cc9b760fc1a5723ba", + "md5": "25ac64f6c0fdf703a301b3590eef0de9", + "sha256": "2d6d851d6791d0cc1697342edf275993e745fd8c33ef13ad7201026d8a0eea54", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [ + { + "copyright": "Copyright 2012 Stefan Siegl ", + "start_line": 6, + "end_line": 6 + } + ], + "holders": [ + { + "holder": "Stefan Siegl", + "start_line": 6, + "end_line": 6 + } + ], + "authors": [ + { + "author": "Stefan Siegl", + "start_line": 4, + "end_line": 4 + } + ], + "emails": [ + { + "email": "stesie@brokenpipe.de", + "start_line": 6, + "end_line": 6 + } + ], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/mgf1.js", + "type": "file", + "name": "mgf1.js", + "base_name": "mgf1", + "extension": ".js", + "size": 1645, + "date": "1985-10-26", + "sha1": "267cda099f5204101ac49b858561ae2e51e1458d", + "md5": "b085da051c3dcd1329f191e872b2ba38", + "sha256": "9a4acd26ee423034995a811c357e69a6c2368480664b62862982f5c404cfcc0e", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [ + { + "copyright": "Copyright (c) 2012 Stefan Siegl ", + "start_line": 7, + "end_line": 7 + }, + { + "copyright": "Copyright (c) 2014 Digital Bazaar, Inc.", + "start_line": 8, + "end_line": 8 + } + ], + "holders": [ + { + "holder": "Stefan Siegl", + "start_line": 7, + "end_line": 7 + }, + { + "holder": "Digital Bazaar, Inc.", + "start_line": 8, + "end_line": 8 + } + ], + "authors": [ + { + "author": "Stefan Siegl", + "start_line": 4, + "end_line": 4 + }, + { + "author": "Dave Longley", + "start_line": 5, + "end_line": 5 + } + ], + "emails": [ + { + "email": "stesie@brokenpipe.de", + "start_line": 7, + "end_line": 7 + } + ], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/oids.js", + "type": "file", + "name": "oids.js", + "base_name": "oids", + "extension": ".js", + "size": 6025, + "date": "1985-10-26", + "sha1": "5d2baa5161dad5ca0852ef6461cc71b119057dde", + "md5": "beb91b184a27c3f8becb3cc345490470", + "sha256": "7ccfb34b913b468630e18c27531d688b7c3e1ae77143049c3abc4f724bf34e9f", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [ + { + "copyright": "Copyright (c) 2010-2013 Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "holders": [ + { + "holder": "Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "authors": [ + { + "author": "Dave Longley", + "start_line": 4, + "end_line": 4 + } + ], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/pbe.js", + "type": "file", + "name": "pbe.js", + "base_name": "pbe", + "extension": ".js", + "size": 30999, + "date": "1985-10-26", + "sha1": "3485de1bb7ba9e6d64fddb33b2face64f44963a4", + "md5": "3f8e9a6d861d3553d0cb806a7a7eb23d", + "sha256": "71104b4a255514edec3c220658086d7b6b273f911f9b5e77cd635cefb1b06aa1", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [ + { + "copyright": "Copyright (c) 2010-2013 Digital Bazaar, Inc.", + "start_line": 7, + "end_line": 7 + }, + { + "copyright": "Copyright (c) 2012 Stefan Siegl ", + "start_line": 8, + "end_line": 8 + } + ], + "holders": [ + { + "holder": "Digital Bazaar, Inc.", + "start_line": 7, + "end_line": 7 + }, + { + "holder": "Stefan Siegl", + "start_line": 8, + "end_line": 8 + } + ], + "authors": [ + { + "author": "Dave Longley", + "start_line": 4, + "end_line": 4 + }, + { + "author": "Stefan Siegl ", + "start_line": 5, + "end_line": 5 + } + ], + "emails": [ + { + "email": "stesie@brokenpipe.de", + "start_line": 5, + "end_line": 5 + } + ], + "urls": [ + { + "url": "http://www.openssl.org/docs/crypto/EVP_BytesToKey.html", + "start_line": 925, + "end_line": 925 + } + ], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/pbkdf2.js", + "type": "file", + "name": "pbkdf2.js", + "base_name": "pbkdf2", + "extension": ".js", + "size": 5807, + "date": "1985-10-26", + "sha1": "511289b2d48389b416df2a57ffc8ad8d5c02e88f", + "md5": "17de53159100f4c304df8441e8188840", + "sha256": "ed63447ffc57d68ba5d4032445e2348eb35be99b4a5d18f48cd36b0ad6fa56f9", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [ + { + "copyright": "Copyright (c) 2010-2013 Digital Bazaar, Inc.", + "start_line": 8, + "end_line": 8 + } + ], + "holders": [ + { + "holder": "Digital Bazaar, Inc.", + "start_line": 8, + "end_line": 8 + } + ], + "authors": [ + { + "author": "Dave Longley", + "start_line": 6, + "end_line": 6 + } + ], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/pem.js", + "type": "file", + "name": "pem.js", + "base_name": "pem", + "extension": ".js", + "size": 6456, + "date": "1985-10-26", + "sha1": "e5e318675fd4d81a996aff84e63189b1aeb0ca23", + "md5": "9c390fb0a3e2d7acba5e16e451139b97", + "sha256": "4fe5ffdc44dc48af02108cfdd586fb955c54dcc8b6d599bfcadd6f4c550f8744", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [ + { + "copyright": "Copyright (c) 2013-2014 Digital Bazaar, Inc.", + "start_line": 8, + "end_line": 8 + } + ], + "holders": [ + { + "holder": "Digital Bazaar, Inc.", + "start_line": 8, + "end_line": 8 + } + ], + "authors": [ + { + "author": "Dave Longley", + "start_line": 6, + "end_line": 6 + } + ], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/pkcs1.js", + "type": "file", + "name": "pkcs1.js", + "base_name": "pkcs1", + "extension": ".js", + "size": 8376, + "date": "1985-10-26", + "sha1": "b7ef5b36c1016b7cf094bcd6e54838d9aa25b9bc", + "md5": "44cb13a4b0589c72112bff1efb9a1200", + "sha256": "523b3801bcdde57a3fb2f9f33b1929e225f26f120b94e8dc7833dff08d87274d", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": "bsd-new AND mit", + "detected_license_expression_spdx": "BSD-3-Clause AND MIT", + "license_detections": [ + { + "license_expression": "bsd-new", + "matches": [ + { + "score": 95, + "start_line": 4, + "end_line": 4, + "matched_length": 3, + "match_coverage": 100, + "matcher": "2-aho", + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_612.RULE", + "rule_relevance": 95, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_612.RULE", + "matched_text": "and BSD licensed" + } + ], + "identifier": "bsd_new-11382060-7d38-d9f5-3c6c-080fc644c875" + }, + { + "license_expression": "mit", + "matches": [ + { + "score": 100, + "start_line": 12, + "end_line": 28, + "matched_length": 161, + "match_coverage": 100, + "matcher": "2-aho", + "license_expression": "mit", + "rule_identifier": "mit.LICENSE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE", + "matched_text": "Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE." + } + ], + "identifier": "mit-cacd5c0c-204a-85c2-affc-e4c125b2492a" + }, + { + "license_expression": "bsd-new", + "matches": [ + { + "score": 99, + "start_line": 37, + "end_line": 37, + "matched_length": 5, + "match_coverage": 100, + "matcher": "2-aho", + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_192.RULE", + "rule_relevance": 99, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_192.RULE", + "matched_text": "Distributed under the BSD License." + } + ], + "identifier": "bsd_new-6b28f6af-2fd1-3b3a-cd5c-ce26df66cd65" + } + ], + "license_clues": [], + "percentage_of_license_text": 14.51, + "copyrights": [ + { + "copyright": "Copyright (c) 2012 Kenji Urushima", + "start_line": 10, + "end_line": 10 + }, + { + "copyright": "Copyright (c) Ellis Pritchard, Guardian Unlimited 2003. Contact ellis@nukinetics.com", + "start_line": 35, + "end_line": 36 + }, + { + "copyright": "Copyright (c) 2013-2014 Digital Bazaar, Inc.", + "start_line": 44, + "end_line": 44 + } + ], + "holders": [ + { + "holder": "Kenji Urushima", + "start_line": 10, + "end_line": 10 + }, + { + "holder": "Ellis Pritchard, Guardian Unlimited Contact", + "start_line": 35, + "end_line": 36 + }, + { + "holder": "Digital Bazaar, Inc.", + "start_line": 44, + "end_line": 44 + } + ], + "authors": [ + { + "author": "Evan Jones (http://evanjones.ca/)", + "start_line": 41, + "end_line": 41 + }, + { + "author": "Dave Longley", + "start_line": 42, + "end_line": 42 + } + ], + "emails": [ + { + "email": "ellis@nukinetics.com", + "start_line": 36, + "end_line": 36 + } + ], + "urls": [ + { + "url": "https://github.com/kjur/jsjws/blob/master/rsa.js", + "start_line": 6, + "end_line": 6 + }, + { + "url": "http://webrsa.cvs.sourceforge.net/viewvc/webrsa/Client/RSAES-OAEP.js?content-type=text/plain", + "start_line": 30, + "end_line": 30 + }, + { + "url": "http://www.rsa.com/rsalabs/node.asp?id=2125", + "start_line": 39, + "end_line": 39 + }, + { + "url": "http://evanjones.ca/", + "start_line": 41, + "end_line": 41 + } + ], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/pkcs12.js", + "type": "file", + "name": "pkcs12.js", + "base_name": "pkcs12", + "extension": ".js", + "size": 33351, + "date": "1985-10-26", + "sha1": "e8793568ba9397c4c9545dc0b6c4623796b8074c", + "md5": "2bbce25ab1f78dfc3be211f5d14fa461", + "sha256": "e5fa2068eb1111fcfa28c6c6ca3efbfcbfefdec1aacae9f30522206f21ca0c79", + "mime_type": "text/plain", + "file_type": "UTF-8 Unicode text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [ + { + "copyright": "Copyright (c) 2010-2014 Digital Bazaar, Inc.", + "start_line": 7, + "end_line": 7 + }, + { + "copyright": "Copyright (c) 2012 Stefan Siegl ", + "start_line": 8, + "end_line": 8 + } + ], + "holders": [ + { + "holder": "Digital Bazaar, Inc.", + "start_line": 7, + "end_line": 7 + }, + { + "holder": "Stefan Siegl", + "start_line": 8, + "end_line": 8 + } + ], + "authors": [ + { + "author": "Dave Longley", + "start_line": 4, + "end_line": 4 + }, + { + "author": "Stefan Siegl ", + "start_line": 5, + "end_line": 5 + } + ], + "emails": [ + { + "email": "stesie@brokenpipe.de", + "start_line": 5, + "end_line": 5 + } + ], + "urls": [ + { + "url": "ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-12/pkcs-12-tc1.pdf", + "start_line": 11, + "end_line": 11 + } + ], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/pkcs7.js", + "type": "file", + "name": "pkcs7.js", + "base_name": "pkcs7", + "extension": ".js", + "size": 39266, + "date": "1985-10-26", + "sha1": "ed4c52abec7ce0f42f2ff8f48e44d3b8a3287e07", + "md5": "2d15037d97ca26bafacd0824df27a02e", + "sha256": "52b70b8b0473a510498dc2279a475850ccce2241aa9d260c453cda8769a3dfc7", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [ + { + "copyright": "Copyright (c) 2012 Stefan Siegl ", + "start_line": 7, + "end_line": 7 + }, + { + "copyright": "Copyright (c) 2012-2015 Digital Bazaar, Inc.", + "start_line": 8, + "end_line": 8 + } + ], + "holders": [ + { + "holder": "Stefan Siegl", + "start_line": 7, + "end_line": 7 + }, + { + "holder": "Digital Bazaar, Inc.", + "start_line": 8, + "end_line": 8 + } + ], + "authors": [ + { + "author": "Stefan Siegl", + "start_line": 4, + "end_line": 4 + }, + { + "author": "Dave Longley", + "start_line": 5, + "end_line": 5 + } + ], + "emails": [ + { + "email": "stesie@brokenpipe.de", + "start_line": 7, + "end_line": 7 + } + ], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/pkcs7asn1.js", + "type": "file", + "name": "pkcs7asn1.js", + "base_name": "pkcs7asn1", + "extension": ".js", + "size": 11462, + "date": "1985-10-26", + "sha1": "25491c12ac771208b3d8df86744310ae429237a4", + "md5": "40b5c2b9da73d64ad33e1882a05b3447", + "sha256": "abb829d24752a297e9d57cd2cc238f4381ffd7afc554b4a4f0d373b7ea6ce491", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [ + { + "copyright": "Copyright (c) 2012-2015 Digital Bazaar, Inc.", + "start_line": 7, + "end_line": 7 + }, + { + "copyright": "Copyright (c) 2012 Stefan Siegl ", + "start_line": 8, + "end_line": 8 + } + ], + "holders": [ + { + "holder": "Digital Bazaar, Inc.", + "start_line": 7, + "end_line": 7 + }, + { + "holder": "Stefan Siegl", + "start_line": 8, + "end_line": 8 + } + ], + "authors": [ + { + "author": "Dave Longley", + "start_line": 4, + "end_line": 4 + }, + { + "author": "Stefan Siegl", + "start_line": 5, + "end_line": 5 + } + ], + "emails": [ + { + "email": "stesie@brokenpipe.de", + "start_line": 8, + "end_line": 8 + } + ], + "urls": [ + { + "url": "http://www.ietf.org/rfc/rfc2315.txt", + "start_line": 11, + "end_line": 11 + } + ], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/pki.js", + "type": "file", + "name": "pki.js", + "base_name": "pki", + "extension": ".js", + "size": 2651, + "date": "1985-10-26", + "sha1": "3164bbb30111255cb5ef82c0a787bad9aa4f5a8e", + "md5": "1f9bba642c6670d694001b4acc2e69e3", + "sha256": "43f1b98dbd39a0c8277b7c0d44325a851712ce5434146ca2a2587a2a7ae1bb1e", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [ + { + "copyright": "Copyright (c) 2010-2013 Digital Bazaar, Inc.", + "start_line": 7, + "end_line": 7 + } + ], + "holders": [ + { + "holder": "Digital Bazaar, Inc.", + "start_line": 7, + "end_line": 7 + } + ], + "authors": [ + { + "author": "Dave Longley", + "start_line": 5, + "end_line": 5 + } + ], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/prime.js", + "type": "file", + "name": "prime.js", + "base_name": "prime", + "extension": ".js", + "size": 8776, + "date": "1985-10-26", + "sha1": "9975a13e9eab54811a408d1141eff4b11d1c13ca", + "md5": "1888080ff4cf76be1dcd353e2106c5b6", + "sha256": "5c63550c13aa4351c210b0766a8ad4a1f23101e1968c6244be7aad8f008e4073", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [ + { + "copyright": "Copyright (c) 2014 Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "holders": [ + { + "holder": "Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "authors": [ + { + "author": "Dave Longley", + "start_line": 4, + "end_line": 4 + } + ], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/prime.worker.js", + "type": "file", + "name": "prime.worker.js", + "base_name": "prime.worker", + "extension": ".js", + "size": 4804, + "date": "1985-10-26", + "sha1": "de070cbbb69e45d1e75291e85b0e2559bcebd46f", + "md5": "e97099b5b60a97019d498027418ac632", + "sha256": "8bd5f4d624f13ec40977954a2f19d1a033f0d22de091adc46d6836e628214fc4", + "mime_type": "text/plain", + "file_type": "ASCII text, with very long lines", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [ + { + "copyright": "Copyright (c) 2013 Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "holders": [ + { + "holder": "Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "authors": [ + { + "author": "Dave Longley", + "start_line": 4, + "end_line": 4 + } + ], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/prng.js", + "type": "file", + "name": "prng.js", + "base_name": "prng", + "extension": ".js", + "size": 12349, + "date": "1985-10-26", + "sha1": "46401266e5f086ffb76177286389470addf6fac0", + "md5": "d5309ed65692b3c37e3f6b7d37631be1", + "sha256": "119bb525707beffbce8c3a0b74cf99da163f33c01ce6e67fc8947538f7f919cf", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [ + { + "score": 70, + "start_line": 305, + "end_line": 305, + "matched_length": 2, + "match_coverage": 100, + "matcher": "2-aho", + "license_expression": "public-domain", + "rule_identifier": "public-domain_bare_words.RULE", + "rule_relevance": 70, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/public-domain_bare_words.RULE", + "matched_text": "Public Domain). */" + } + ], + "percentage_of_license_text": 0.13, + "copyrights": [ + { + "copyright": "Copyright (c) 2010-2014 Digital Bazaar, Inc.", + "start_line": 10, + "end_line": 10 + } + ], + "holders": [ + { + "holder": "Digital Bazaar, Inc.", + "start_line": 10, + "end_line": 10 + } + ], + "authors": [ + { + "author": "Dave Longley", + "start_line": 8, + "end_line": 8 + } + ], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/pss.js", + "type": "file", + "name": "pss.js", + "base_name": "pss", + "extension": ".js", + "size": 7854, + "date": "1985-10-26", + "sha1": "f3a70912addcae0029cef2b1376da8b686f6d50d", + "md5": "f816123d9b81439a99f4684360980631", + "sha256": "c9e83c50451bd90735030cf3fe3d2a68403f678853a6d300cfa3e59b813e7f9b", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [ + { + "copyright": "Copyright (c) 2012 Stefan Siegl ", + "start_line": 6, + "end_line": 6 + } + ], + "holders": [ + { + "holder": "Stefan Siegl", + "start_line": 6, + "end_line": 6 + } + ], + "authors": [ + { + "author": "Stefan Siegl", + "start_line": 4, + "end_line": 4 + } + ], + "emails": [ + { + "email": "stesie@brokenpipe.de", + "start_line": 6, + "end_line": 6 + } + ], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/random.js", + "type": "file", + "name": "random.js", + "base_name": "random", + "extension": ".js", + "size": 5435, + "date": "1985-10-26", + "sha1": "46d8c912b3dfb7af8904b84dcc5332402927555d", + "md5": "a4e943610f5f4d2244f7f3931d648d8f", + "sha256": "8303b8a79983eaaffa584fd1f0b1a9ff6252ef433d6be66ad5fe2336b05d453d", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [ + { + "copyright": "Copyright (c) 2009-2014 Digital Bazaar, Inc.", + "start_line": 14, + "end_line": 14 + } + ], + "holders": [ + { + "holder": "Digital Bazaar, Inc.", + "start_line": 14, + "end_line": 14 + } + ], + "authors": [ + { + "author": "Dave Longley", + "start_line": 12, + "end_line": 12 + } + ], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/rc2.js", + "type": "file", + "name": "rc2.js", + "base_name": "rc2", + "extension": ".js", + "size": 11949, + "date": "1985-10-26", + "sha1": "c3045c711707a8b125d1b97aaf1026a69166b774", + "md5": "16641e62a78d9caddaeedef8503f0129", + "sha256": "d2eb78b77441d9784f5edfced1ad2f49cb35c2a956687ce9d754cf40bbd1b3c3", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [ + { + "copyright": "Copyright (c) 2012 Stefan Siegl ", + "start_line": 6, + "end_line": 6 + } + ], + "holders": [ + { + "holder": "Stefan Siegl", + "start_line": 6, + "end_line": 6 + } + ], + "authors": [ + { + "author": "Stefan Siegl", + "start_line": 4, + "end_line": 4 + } + ], + "emails": [ + { + "email": "stesie@brokenpipe.de", + "start_line": 6, + "end_line": 6 + } + ], + "urls": [ + { + "url": "http://www.ietf.org/rfc/rfc2268.txt", + "start_line": 9, + "end_line": 9 + } + ], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/rsa.js", + "type": "file", + "name": "rsa.js", + "base_name": "rsa", + "extension": ".js", + "size": 55193, + "date": "1985-10-26", + "sha1": "2c43cf351c3828fc7cca9ac41968b40620361892", + "md5": "603171f3dd9e050b44ae2d783ef4f567", + "sha256": "823d4824bfec4856c422815aa15cbb498653cc29da7319278223c6d577ea6b9f", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [ + { + "copyright": "Copyright (c) 2010-2014 Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "holders": [ + { + "holder": "Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "authors": [ + { + "author": "Dave Longley", + "start_line": 4, + "end_line": 4 + } + ], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/sha1.js", + "type": "file", + "name": "sha1.js", + "base_name": "sha1", + "extension": ".js", + "size": 9095, + "date": "1985-10-26", + "sha1": "16042cf7c8c9827518d7b60d2302a8a555dd671c", + "md5": "e8e319f5746f9a521dcb1bc771fc7c8b", + "sha256": "33838f38756a8669fe6c2579a15f28c0fd5402290ca926be791f249f151d856c", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [ + { + "copyright": "Copyright (c) 2010-2015 Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "holders": [ + { + "holder": "Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "authors": [ + { + "author": "Dave Longley", + "start_line": 4, + "end_line": 4 + } + ], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/sha256.js", + "type": "file", + "name": "sha256.js", + "base_name": "sha256", + "extension": ".js", + "size": 9574, + "date": "1985-10-26", + "sha1": "855a27f870827608e5258f4b33b00f03f1262935", + "md5": "bf6ecaf6a4dbbf1e25ea95e499458b8e", + "sha256": "54b2f4c0ee9d4a561b6d18b1713fddeb815ea1c9d50537f7cbb4fc4474ab732d", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [ + { + "copyright": "Copyright (c) 2010-2015 Digital Bazaar, Inc.", + "start_line": 8, + "end_line": 8 + } + ], + "holders": [ + { + "holder": "Digital Bazaar, Inc.", + "start_line": 8, + "end_line": 8 + } + ], + "authors": [ + { + "author": "Dave Longley", + "start_line": 6, + "end_line": 6 + } + ], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/sha512.js", + "type": "file", + "name": "sha512.js", + "base_name": "sha512", + "extension": ".js", + "size": 17134, + "date": "1985-10-26", + "sha1": "00079fcae2d06573b4821024472ec02b09985f17", + "md5": "3973ebed4b71b64c8caf928f7eefb134", + "sha256": "d1ef78948ced90b5d55276d273d61ca119e1ec38b240b3eeed1ad17bb4195ec2", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [ + { + "copyright": "Copyright (c) 2014-2015 Digital Bazaar, Inc.", + "start_line": 11, + "end_line": 11 + } + ], + "holders": [ + { + "holder": "Digital Bazaar, Inc.", + "start_line": 11, + "end_line": 11 + } + ], + "authors": [ + { + "author": "Dave Longley", + "start_line": 9, + "end_line": 9 + } + ], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/socket.js", + "type": "file", + "name": "socket.js", + "base_name": "socket", + "extension": ".js", + "size": 8329, + "date": "1985-10-26", + "sha1": "b60cd379bc88fb204cb61dc47830b97ef610d72a", + "md5": "96ab574d31b6a304b1ab2b513b376ec0", + "sha256": "689715cdeeba3274d6763ab92716a8a3dc1d24a684ea88fee9e2aca72e2dade0", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [ + { + "copyright": "Copyright (c) 2010-2013 Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "holders": [ + { + "holder": "Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "authors": [ + { + "author": "Dave Longley", + "start_line": 4, + "end_line": 4 + } + ], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/ssh.js", + "type": "file", + "name": "ssh.js", + "base_name": "ssh", + "extension": ".js", + "size": 7163, + "date": "1985-10-26", + "sha1": "4a20f923a97c4b1a3614aab873b56fa4aa558837", + "md5": "4b65de556eac74527c253a99522dc0f6", + "sha256": "6f27454e3fc028c8a6b1c02ae98969aace558ee0c1b6784e8fb12d4419e46d24", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": "bsd-new AND gpl-2.0", + "detected_license_expression_spdx": "BSD-3-Clause AND GPL-2.0-only", + "license_detections": [ + { + "license_expression": "bsd-new AND gpl-2.0", + "matches": [ + { + "score": 99, + "start_line": 5, + "end_line": 5, + "matched_length": 3, + "match_coverage": 100, + "matcher": "2-aho", + "license_expression": "bsd-new", + "rule_identifier": "bsd-new_145.RULE", + "rule_relevance": 99, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_145.RULE", + "matched_text": "the BSD License" + }, + { + "score": 100, + "start_line": 5, + "end_line": 5, + "matched_length": 8, + "match_coverage": 100, + "matcher": "2-aho", + "license_expression": "gpl-2.0", + "rule_identifier": "gpl-2.0_724.RULE", + "rule_relevance": 100, + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-2.0_724.RULE", + "matched_text": "the GNU General Public License (GPL) Version 2." + } + ], + "identifier": "bsd_new_and_gpl_2_0-a6b02683-092d-3bca-a5d9-d4092c26aec8" + } + ], + "license_clues": [], + "percentage_of_license_text": 1.29, + "copyrights": [], + "holders": [], + "authors": [ + { + "author": "https://github.com/shellac", + "start_line": 9, + "end_line": 9 + } + ], + "emails": [], + "urls": [ + { + "url": "https://github.com/digitalbazaar/forge/blob/cbebca3780658703d925b61b2caffb1d263a6c1d/LICENSE", + "start_line": 7, + "end_line": 7 + }, + { + "url": "https://github.com/shellac", + "start_line": 9, + "end_line": 9 + } + ], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/task.js", + "type": "file", + "name": "task.js", + "base_name": "task", + "extension": ".js", + "size": 19780, + "date": "1985-10-26", + "sha1": "5b05bc0a0d992cd6e82cf9e420c5a70825d91029", + "md5": "5b35db78b4232a11cc162b1bf4ccaef2", + "sha256": "486c16cd12dbbb73e96d458ee17578779c0d20b63972c57e449f49e4b121cbf9", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [ + { + "copyright": "Copyright (c) 2009-2013 Digital Bazaar, Inc.", + "start_line": 8, + "end_line": 8 + } + ], + "holders": [ + { + "holder": "Digital Bazaar, Inc.", + "start_line": 8, + "end_line": 8 + } + ], + "authors": [ + { + "author": "Dave Longley", + "start_line": 5, + "end_line": 5 + }, + { + "author": "David I. Lehn ", + "start_line": 6, + "end_line": 6 + } + ], + "emails": [ + { + "email": "dlehn@digitalbazaar.com", + "start_line": 6, + "end_line": 6 + } + ], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/tls.js", + "type": "file", + "name": "tls.js", + "base_name": "tls", + "extension": ".js", + "size": 132470, + "date": "1985-10-26", + "sha1": "25fc771d50828d435b726728d7e05a74c7a61948", + "md5": "28b979c1d5baa4de36243dbe686c16e6", + "sha256": "53a0a16369644abf501625992954190f3f0ccaf6cde2c1b1219ff8813f4ceede", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [ + { + "copyright": "Copyright (c) 2009-2014 Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "holders": [ + { + "holder": "Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "authors": [ + { + "author": "Dave Longley", + "start_line": 4, + "end_line": 4 + } + ], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/tlssocket.js", + "type": "file", + "name": "tlssocket.js", + "base_name": "tlssocket", + "extension": ".js", + "size": 6967, + "date": "1985-10-26", + "sha1": "411e5a149377d8450aabc5bd063acda4f413832a", + "md5": "1765dad39ebd465cb20874f34a7099f4", + "sha256": "99728e72301548ee5233c16bc0417f07892022d24fd178dfb9c0a40aff541a47", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [ + { + "copyright": "Copyright (c) 2009-2012 Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "holders": [ + { + "holder": "Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "authors": [ + { + "author": "Dave Longley", + "start_line": 4, + "end_line": 4 + } + ], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/util.js", + "type": "file", + "name": "util.js", + "base_name": "util", + "extension": ".js", + "size": 78194, + "date": "1985-10-26", + "sha1": "a77c889d1b9aa4c0d3d6e9ee90279bc664bedff8", + "md5": "416f37d30cd3922f0821d40ea540d867", + "sha256": "3f7064d30f9bcf1dcc0205a4346460902f6baf1bd314e47b78488b71159cf71b", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [ + { + "copyright": "Copyright (c) 2010-2018 Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "holders": [ + { + "holder": "Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "authors": [ + { + "author": "Dave Longley", + "start_line": 4, + "end_line": 4 + } + ], + "emails": [], + "urls": [ + { + "url": "http://stackoverflow.com/questions/679915/how-do-i-test-for-an-empty-javascript-object-from-json/679937#679937", + "start_line": 2591, + "end_line": 2591 + }, + { + "url": "http://snipplr.com/view/5945/javascript-numberformat--ported-from-php/", + "start_line": 2663, + "end_line": 2663 + }, + { + "url": "http://kevin.vanzonneveld.net/", + "start_line": 2666, + "end_line": 2666 + }, + { + "url": "http://www.jsfromhell.com/", + "start_line": 2667, + "end_line": 2667 + }, + { + "url": "http://crestidg.com/", + "start_line": 2669, + "end_line": 2669 + }, + { + "url": "http://www.winternet.no/", + "start_line": 2671, + "end_line": 2671 + }, + { + "url": "http://snipplr.com/view/5949/format-humanize-file-byte-size-presentation-in-javascript/", + "start_line": 2690, + "end_line": 2690 + } + ], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/x509.js", + "type": "file", + "name": "x509.js", + "base_name": "x509", + "extension": ".js", + "size": 102600, + "date": "1985-10-26", + "sha1": "c1f1745c26e16d5806477beff04361fbd917bba9", + "md5": "21f9e105b5d0935740d72f560c56977e", + "sha256": "dab0a985c4f528cf3df1a601392b34878f2cb0563cfddb2d7c9e5a576904cea7", + "mime_type": "text/plain", + "file_type": "ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [ + { + "copyright": "Copyright (c) 2010-2014 Digital Bazaar, Inc.", + "start_line": 7, + "end_line": 7 + } + ], + "holders": [ + { + "holder": "Digital Bazaar, Inc.", + "start_line": 7, + "end_line": 7 + } + ], + "authors": [ + { + "author": "Dave Longley", + "start_line": 5, + "end_line": 5 + } + ], + "emails": [], + "urls": [], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + }, + { + "path": "package/lib/xhr.js", + "type": "file", + "name": "xhr.js", + "base_name": "xhr", + "extension": ".js", + "size": 22091, + "date": "1985-10-26", + "sha1": "99e39b73e90d7a51dab76bca2d2a3809ec789ea6", + "md5": "c602cfeead2149bb6750d2d442e4a210", + "sha256": "c020d82279be1e366ac09336e946e20f5e72d8abec05e34f6598fe40938d4588", + "mime_type": "text/x-c", + "file_type": "C source, ASCII text", + "programming_language": "JavaScript", + "is_binary": false, + "is_text": true, + "is_archive": false, + "is_media": false, + "is_source": true, + "is_script": false, + "package_data": [], + "for_packages": [ + "pkg:npm/node-forge@0.7.5?uuid=7fbe44cf-91a5-463a-b07a-559bfbebc426" + ], + "is_legal": false, + "is_manifest": false, + "is_readme": false, + "is_top_level": false, + "is_key_file": false, + "detected_license_expression": null, + "detected_license_expression_spdx": null, + "license_detections": [], + "license_clues": [], + "percentage_of_license_text": 0, + "copyrights": [ + { + "copyright": "Copyright (c) 2010-2013 Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "holders": [ + { + "holder": "Digital Bazaar, Inc.", + "start_line": 6, + "end_line": 6 + } + ], + "authors": [ + { + "author": "Dave Longley", + "start_line": 4, + "end_line": 4 + } + ], + "emails": [], + "urls": [ + { + "url": "https://myserver.com/", + "start_line": 98, + "end_line": 98 + } + ], + "is_generated": false, + "files_count": 0, + "dirs_count": 0, + "size_count": 0, + "scan_errors": [] + } + ] +} diff --git a/test/unit/providers/process/scancodeTests.js b/test/unit/providers/process/scancodeTests.js index baa7f891..f9392ec8 100644 --- a/test/unit/providers/process/scancodeTests.js +++ b/test/unit/providers/process/scancodeTests.js @@ -50,20 +50,20 @@ describe('ScanCode misc', () => { describe('ScanCode process', () => { it('should handle gems', async () => { - const { request, processor } = setup('2.9.8/gem.json') + const { request, processor } = setup('32.0.8/gem.json') await processor.handle(request) expect(request.document._metadata.toolVersion).to.equal('1.2.0') expect(flatten(processor.attachFiles.args.map(x => x[1]))).to.have.members([]) }) it('should handle simple npms', async () => { - const { request, processor } = setup('2.9.8/npm-basic.json') + const { request, processor } = setup('32.0.8/npm-basic.json') await processor.handle(request) expect(flatten(processor.attachFiles.args.map(x => x[1]))).to.have.members(['package/package.json']) }) it('should handle large npms', async () => { - const { request, processor } = setup('2.9.8/npm-large.json') + const { request, processor } = setup('32.0.8/npm-large.json') await processor.handle(request) expect(flatten(processor.attachFiles.args.map(x => x[1]))).to.have.members(['package/package.json']) })