From c4f9b9fb868b09a2704c9bc551a4036caa99d974 Mon Sep 17 00:00:00 2001 From: Ladislav Kolacek Date: Thu, 20 Jul 2023 14:07:51 +0200 Subject: [PATCH] Remove tests to depreceate lockfileversion 1 Removing Unit and Integration tests with lockfileversion 1 STONEBLD-1108 Signed-off-by: Ladislav Kolacek --- .../npm_bundled_lockfile1/.build-config.json | 13 - .../test_data/npm_bundled_lockfile1/bom.json | 651 ------------ .../fetch_deps_sha256sums.json | 6 - .../.build-config.json | 13 - .../npm_lockfile1_yarn_registry/bom.json | 819 --------------- .../fetch_deps_sha256sums.json | 68 -- .../.build-config.json | 13 - .../npm_smoketest_lockfile1/bom.json | 942 ------------------ .../container/Containerfile | 23 - .../fetch_deps_sha256sums.json | 74 -- tests/integration/test_npm.py | 30 - tests/unit/package_managers/test_npm.py | 166 --- 12 files changed, 2818 deletions(-) delete mode 100644 tests/integration/test_data/npm_bundled_lockfile1/.build-config.json delete mode 100644 tests/integration/test_data/npm_bundled_lockfile1/bom.json delete mode 100644 tests/integration/test_data/npm_bundled_lockfile1/fetch_deps_sha256sums.json delete mode 100644 tests/integration/test_data/npm_lockfile1_yarn_registry/.build-config.json delete mode 100644 tests/integration/test_data/npm_lockfile1_yarn_registry/bom.json delete mode 100644 tests/integration/test_data/npm_lockfile1_yarn_registry/fetch_deps_sha256sums.json delete mode 100644 tests/integration/test_data/npm_smoketest_lockfile1/.build-config.json delete mode 100644 tests/integration/test_data/npm_smoketest_lockfile1/bom.json delete mode 100644 tests/integration/test_data/npm_smoketest_lockfile1/container/Containerfile delete mode 100644 tests/integration/test_data/npm_smoketest_lockfile1/fetch_deps_sha256sums.json diff --git a/tests/integration/test_data/npm_bundled_lockfile1/.build-config.json b/tests/integration/test_data/npm_bundled_lockfile1/.build-config.json deleted file mode 100644 index 9fc045250..000000000 --- a/tests/integration/test_data/npm_bundled_lockfile1/.build-config.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "environment_variables": [], - "project_files": [ - { - "abspath": "${test_case_tmpdir}/npm_bundled_lockfile1-source/package-lock.json", - "template": "{\n \"name\": \"npm-cachi2-bundled\",\n \"version\": \"1.0.0\",\n \"lockfileVersion\": 1,\n \"requires\": true,\n \"dependencies\": {\n \"ansi-regex\": {\n \"version\": \"2.0.0\",\n \"resolved\": \"https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.0.0.tgz\",\n \"integrity\": \"sha512-jCcLjwL2jOaTcRIaJkoRteMwNXg8nfJvwT/9K91kwZhH7bf4lsprqZ2+Qa7tSp8BYtejobOCBkDreC07q0KmZw==\"\n },\n \"builtin-modules\": {\n \"version\": \"1.1.1\",\n \"resolved\": \"https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz\",\n \"integrity\": \"sha512-wxXCdllwGhI2kCC0MnvTGYTMvnVZTvqgypkiTI8Pa5tcz2i6VqsqwYGgqwXji+4RgCzms6EajE4IxiUH6HH8nQ==\"\n },\n \"bundle-dependencies\": {\n \"version\": \"1.0.2\",\n \"resolved\": \"https://registry.npmjs.org/bundle-dependencies/-/bundle-dependencies-1.0.2.tgz\",\n \"integrity\": \"sha512-fM9Q9hJcX1ZYnyjveHTptFZqpLKDO2gdxRhuB8MNSYEQvC6kImDDH2038J/tHfcuV0JRGUj8n8axDY0AnFkXfA==\",\n \"dev\": true,\n \"requires\": {\n \"yargs\": \"^4.1.0\"\n },\n \"dependencies\": {\n \"ansi-regex\": {\n \"version\": \"2.0.0\",\n \"bundled\": true,\n \"dev\": true\n },\n \"builtin-modules\": {\n \"version\": \"1.1.1\",\n \"bundled\": true,\n \"dev\": true\n },\n \"camelcase\": {\n \"version\": \"2.1.0\",\n \"bundled\": true,\n \"dev\": true\n },\n \"cliui\": {\n \"version\": \"3.1.0\",\n \"bundled\": true,\n \"dev\": true,\n \"requires\": {\n \"string-width\": \"^1.0.1\",\n \"strip-ansi\": \"^3.0.0\",\n \"wrap-ansi\": \"^1.0.0\"\n }\n },\n \"code-point-at\": {\n \"version\": \"1.0.0\",\n \"bundled\": true,\n \"dev\": true,\n \"requires\": {\n \"number-is-nan\": \"^1.0.0\"\n }\n },\n \"decamelize\": {\n \"version\": \"1.1.2\",\n \"bundled\": true,\n \"dev\": true,\n \"requires\": {\n \"escape-string-regexp\": \"^1.0.4\"\n }\n },\n \"error-ex\": {\n \"version\": \"1.3.0\",\n \"bundled\": true,\n \"dev\": true,\n \"requires\": {\n \"is-arrayish\": \"^0.2.1\"\n }\n },\n \"escape-string-regexp\": {\n \"version\": \"1.0.5\",\n \"bundled\": true,\n \"dev\": true\n },\n \"find-up\": {\n \"version\": \"1.1.0\",\n \"bundled\": true,\n \"dev\": true,\n \"requires\": {\n \"path-exists\": \"^2.0.0\",\n \"pinkie-promise\": \"^2.0.0\"\n }\n },\n \"graceful-fs\": {\n \"version\": \"4.1.3\",\n \"bundled\": true,\n \"dev\": true\n },\n \"hosted-git-info\": {\n \"version\": \"2.1.4\",\n \"bundled\": true,\n \"dev\": true\n },\n \"invert-kv\": {\n \"version\": \"1.0.0\",\n \"bundled\": true,\n \"dev\": true\n },\n \"is-arrayish\": {\n \"version\": \"0.2.1\",\n \"bundled\": true,\n \"dev\": true\n },\n \"is-builtin-module\": {\n \"version\": \"1.0.0\",\n \"bundled\": true,\n \"dev\": true,\n \"requires\": {\n \"builtin-modules\": \"^1.0.0\"\n }\n },\n \"is-fullwidth-code-point\": {\n \"version\": \"1.0.0\",\n \"bundled\": true,\n \"dev\": true,\n \"requires\": {\n \"number-is-nan\": \"^1.0.0\"\n }\n },\n \"is-utf8\": {\n \"version\": \"0.2.1\",\n \"bundled\": true,\n \"dev\": true\n },\n \"lcid\": {\n \"version\": \"1.0.0\",\n \"bundled\": true,\n \"dev\": true,\n \"requires\": {\n \"invert-kv\": \"^1.0.0\"\n }\n },\n \"load-json-file\": {\n \"version\": \"1.1.0\",\n \"bundled\": true,\n \"dev\": true,\n \"requires\": {\n \"graceful-fs\": \"^4.1.2\",\n \"parse-json\": \"^2.2.0\",\n \"pify\": \"^2.0.0\",\n \"pinkie-promise\": \"^2.0.0\",\n \"strip-bom\": \"^2.0.0\"\n }\n },\n \"lodash.assign\": {\n \"version\": \"4.0.3\",\n \"bundled\": true,\n \"dev\": true,\n \"requires\": {\n \"lodash.keys\": \"^4.0.0\",\n \"lodash.rest\": \"^4.0.0\"\n }\n },\n \"lodash.keys\": {\n \"version\": \"4.0.3\",\n \"bundled\": true,\n \"dev\": true\n },\n \"lodash.rest\": {\n \"version\": \"4.0.1\",\n \"bundled\": true,\n \"dev\": true\n },\n \"normalize-package-data\": {\n \"version\": \"2.3.5\",\n \"bundled\": true,\n \"dev\": true,\n \"requires\": {\n \"hosted-git-info\": \"^2.1.4\",\n \"is-builtin-module\": \"^1.0.0\",\n \"semver\": \"2 || 3 || 4 || 5\",\n \"validate-npm-package-license\": \"^3.0.1\"\n }\n },\n \"number-is-nan\": {\n \"version\": \"1.0.0\",\n \"bundled\": true,\n \"dev\": true\n },\n \"object-assign\": {\n \"version\": \"4.0.1\",\n \"bundled\": true,\n \"dev\": true\n },\n \"os-locale\": {\n \"version\": \"1.4.0\",\n \"bundled\": true,\n \"dev\": true,\n \"requires\": {\n \"lcid\": \"^1.0.0\"\n }\n },\n \"parse-json\": {\n \"version\": \"2.2.0\",\n \"bundled\": true,\n \"dev\": true,\n \"requires\": {\n \"error-ex\": \"^1.2.0\"\n }\n },\n \"path-exists\": {\n \"version\": \"2.1.0\",\n \"bundled\": true,\n \"dev\": true,\n \"requires\": {\n \"pinkie-promise\": \"^2.0.0\"\n }\n },\n \"path-type\": {\n \"version\": \"1.1.0\",\n \"bundled\": true,\n \"dev\": true,\n \"requires\": {\n \"graceful-fs\": \"^4.1.2\",\n \"pify\": \"^2.0.0\",\n \"pinkie-promise\": \"^2.0.0\"\n }\n },\n \"pify\": {\n \"version\": \"2.3.0\",\n \"bundled\": true,\n \"dev\": true\n },\n \"pinkie\": {\n \"version\": \"2.0.4\",\n \"bundled\": true,\n \"dev\": true\n },\n \"pinkie-promise\": {\n \"version\": \"2.0.0\",\n \"bundled\": true,\n \"dev\": true,\n \"requires\": {\n \"pinkie\": \"^2.0.0\"\n }\n },\n \"pkg-conf\": {\n \"version\": \"1.1.1\",\n \"bundled\": true,\n \"dev\": true,\n \"requires\": {\n \"find-up\": \"^1.0.0\",\n \"object-assign\": \"^4.0.1\",\n \"read-pkg\": \"^1.0.0\",\n \"symbol\": \"^0.2.1\"\n }\n },\n \"read-pkg\": {\n \"version\": \"1.1.0\",\n \"bundled\": true,\n \"dev\": true,\n \"requires\": {\n \"load-json-file\": \"^1.0.0\",\n \"normalize-package-data\": \"^2.3.2\",\n \"path-type\": \"^1.0.0\"\n }\n },\n \"read-pkg-up\": {\n \"version\": \"1.0.1\",\n \"bundled\": true,\n \"dev\": true,\n \"requires\": {\n \"find-up\": \"^1.0.0\",\n \"read-pkg\": \"^1.0.0\"\n }\n },\n \"require-main-filename\": {\n \"version\": \"1.0.1\",\n \"bundled\": true,\n \"dev\": true\n },\n \"semver\": {\n \"version\": \"5.1.0\",\n \"bundled\": true,\n \"dev\": true\n },\n \"spdx-correct\": {\n \"version\": \"1.0.2\",\n \"bundled\": true,\n \"dev\": true,\n \"requires\": {\n \"spdx-license-ids\": \"^1.0.2\"\n }\n },\n \"spdx-exceptions\": {\n \"version\": \"1.0.4\",\n \"bundled\": true,\n \"dev\": true\n },\n \"spdx-expression-parse\": {\n \"version\": \"1.0.2\",\n \"bundled\": true,\n \"dev\": true,\n \"requires\": {\n \"spdx-exceptions\": \"^1.0.4\",\n \"spdx-license-ids\": \"^1.0.0\"\n }\n },\n \"spdx-license-ids\": {\n \"version\": \"1.2.0\",\n \"bundled\": true,\n \"dev\": true\n },\n \"string-width\": {\n \"version\": \"1.0.1\",\n \"bundled\": true,\n \"dev\": true,\n \"requires\": {\n \"code-point-at\": \"^1.0.0\",\n \"is-fullwidth-code-point\": \"^1.0.0\",\n \"strip-ansi\": \"^3.0.0\"\n }\n },\n \"strip-ansi\": {\n \"version\": \"3.0.1\",\n \"bundled\": true,\n \"dev\": true,\n \"requires\": {\n \"ansi-regex\": \"^2.0.0\"\n }\n },\n \"strip-bom\": {\n \"version\": \"2.0.0\",\n \"bundled\": true,\n \"dev\": true,\n \"requires\": {\n \"is-utf8\": \"^0.2.0\"\n }\n },\n \"symbol\": {\n \"version\": \"0.2.1\",\n \"bundled\": true,\n \"dev\": true\n },\n \"validate-npm-package-license\": {\n \"version\": \"3.0.1\",\n \"bundled\": true,\n \"dev\": true,\n \"requires\": {\n \"spdx-correct\": \"~1.0.0\",\n \"spdx-expression-parse\": \"~1.0.0\"\n }\n },\n \"window-size\": {\n \"version\": \"0.2.0\",\n \"bundled\": true,\n \"dev\": true\n },\n \"wrap-ansi\": {\n \"version\": \"1.0.0\",\n \"bundled\": true,\n \"dev\": true,\n \"requires\": {\n \"string-width\": \"^1.0.1\"\n }\n },\n \"y18n\": {\n \"version\": \"3.2.0\",\n \"bundled\": true,\n \"dev\": true\n },\n \"yargs\": {\n \"version\": \"4.1.0\",\n \"bundled\": true,\n \"dev\": true,\n \"requires\": {\n \"camelcase\": \"^2.0.1\",\n \"cliui\": \"^3.0.3\",\n \"decamelize\": \"^1.1.1\",\n \"os-locale\": \"^1.4.0\",\n \"pkg-conf\": \"^1.1.1\",\n \"read-pkg-up\": \"^1.0.1\",\n \"require-main-filename\": \"^1.0.0\",\n \"string-width\": \"^1.0.1\",\n \"window-size\": \"^0.2.0\",\n \"y18n\": \"^3.2.0\",\n \"yargs-parser\": \"^2.1.0\"\n }\n },\n \"yargs-parser\": {\n \"version\": \"2.1.0\",\n \"bundled\": true,\n \"dev\": true,\n \"requires\": {\n \"camelcase\": \"^2.1.0\",\n \"lodash.assign\": \"^4.0.2\"\n }\n }\n }\n },\n \"fecha\": {\n \"version\": \"4.2.3\",\n \"resolved\": \"https://registry.npmjs.org/fecha/-/fecha-4.2.3.tgz\",\n \"integrity\": \"sha512-OP2IUU6HeYKJi3i0z4A19kHMQoLVs4Hc+DPqqxI2h/DPZHTm/vjsfC6P0b4jCMy14XizLBqvndQ+UilD7707Jw==\"\n }\n }\n}\n" - }, - { - "abspath": "${test_case_tmpdir}/npm_bundled_lockfile1-source/package.json", - "template": "{\n \"name\": \"npm-cachi2-bundled\",\n \"version\": \"1.0.0\",\n \"description\": \"Verify cachi2's handling of direct and indirect bundled dependencies.\",\n \"main\": \"index.js\",\n \"scripts\": {\n \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://github.com/cachito-testing/npm-cachi2-bundled.git\"\n },\n \"keywords\": [],\n \"author\": \"\",\n \"license\": \"ISC\",\n \"bugs\": {\n \"url\": \"https://github.com/cachito-testing/npm-cachi2-bundled/issues\"\n },\n \"homepage\": \"https://github.com/cachito-testing/npm-cachi2-bundled#readme\",\n \"devDependencies\": {\n \"bundle-dependencies\": \"^1.0.2\"\n },\n \"dependencies\": {\n \"ansi-regex\": \"^2.0.0\",\n \"builtin-modules\": \"^1.1.1\",\n \"fecha\": \"^4.2.3\"\n },\n \"bundleDependencies\": [\n \"fecha\",\n \"builtin-modules\"\n ]\n}\n" - } - ] -} diff --git a/tests/integration/test_data/npm_bundled_lockfile1/bom.json b/tests/integration/test_data/npm_bundled_lockfile1/bom.json deleted file mode 100644 index 75184b5a4..000000000 --- a/tests/integration/test_data/npm_bundled_lockfile1/bom.json +++ /dev/null @@ -1,651 +0,0 @@ -{ - "bomFormat": "CycloneDX", - "components": [ - { - "name": "ansi-regex", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/ansi-regex@2.0.0", - "type": "library", - "version": "2.0.0" - }, - { - "name": "builtin-modules", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/builtin-modules@1.1.1", - "type": "library", - "version": "1.1.1" - }, - { - "name": "bundle-dependencies", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/bundle-dependencies@1.0.2", - "type": "library", - "version": "1.0.2" - }, - { - "name": "camelcase", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/camelcase@2.1.0", - "type": "library", - "version": "2.1.0" - }, - { - "name": "cliui", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/cliui@3.1.0", - "type": "library", - "version": "3.1.0" - }, - { - "name": "code-point-at", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/code-point-at@1.0.0", - "type": "library", - "version": "1.0.0" - }, - { - "name": "decamelize", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/decamelize@1.1.2", - "type": "library", - "version": "1.1.2" - }, - { - "name": "error-ex", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/error-ex@1.3.0", - "type": "library", - "version": "1.3.0" - }, - { - "name": "escape-string-regexp", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/escape-string-regexp@1.0.5", - "type": "library", - "version": "1.0.5" - }, - { - "name": "fecha", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/fecha@4.2.3", - "type": "library", - "version": "4.2.3" - }, - { - "name": "find-up", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/find-up@1.1.0", - "type": "library", - "version": "1.1.0" - }, - { - "name": "graceful-fs", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/graceful-fs@4.1.3", - "type": "library", - "version": "4.1.3" - }, - { - "name": "hosted-git-info", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/hosted-git-info@2.1.4", - "type": "library", - "version": "2.1.4" - }, - { - "name": "invert-kv", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/invert-kv@1.0.0", - "type": "library", - "version": "1.0.0" - }, - { - "name": "is-arrayish", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/is-arrayish@0.2.1", - "type": "library", - "version": "0.2.1" - }, - { - "name": "is-builtin-module", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/is-builtin-module@1.0.0", - "type": "library", - "version": "1.0.0" - }, - { - "name": "is-fullwidth-code-point", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/is-fullwidth-code-point@1.0.0", - "type": "library", - "version": "1.0.0" - }, - { - "name": "is-utf8", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/is-utf8@0.2.1", - "type": "library", - "version": "0.2.1" - }, - { - "name": "lcid", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/lcid@1.0.0", - "type": "library", - "version": "1.0.0" - }, - { - "name": "load-json-file", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/load-json-file@1.1.0", - "type": "library", - "version": "1.1.0" - }, - { - "name": "lodash.assign", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/lodash.assign@4.0.3", - "type": "library", - "version": "4.0.3" - }, - { - "name": "lodash.keys", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/lodash.keys@4.0.3", - "type": "library", - "version": "4.0.3" - }, - { - "name": "lodash.rest", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/lodash.rest@4.0.1", - "type": "library", - "version": "4.0.1" - }, - { - "name": "normalize-package-data", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/normalize-package-data@2.3.5", - "type": "library", - "version": "2.3.5" - }, - { - "name": "npm-cachi2-bundled", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/npm-cachi2-bundled@1.0.0?vcs_url=git%2Bhttps://github.com/cachito-testing/npm-cachi2-bundled.git%4087937b938d5c737bc4d62f3759478dd5e3e9ebb6", - "type": "library", - "version": "1.0.0" - }, - { - "name": "number-is-nan", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/number-is-nan@1.0.0", - "type": "library", - "version": "1.0.0" - }, - { - "name": "object-assign", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/object-assign@4.0.1", - "type": "library", - "version": "4.0.1" - }, - { - "name": "os-locale", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/os-locale@1.4.0", - "type": "library", - "version": "1.4.0" - }, - { - "name": "parse-json", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/parse-json@2.2.0", - "type": "library", - "version": "2.2.0" - }, - { - "name": "path-exists", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/path-exists@2.1.0", - "type": "library", - "version": "2.1.0" - }, - { - "name": "path-type", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/path-type@1.1.0", - "type": "library", - "version": "1.1.0" - }, - { - "name": "pify", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/pify@2.3.0", - "type": "library", - "version": "2.3.0" - }, - { - "name": "pinkie-promise", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/pinkie-promise@2.0.0", - "type": "library", - "version": "2.0.0" - }, - { - "name": "pinkie", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/pinkie@2.0.4", - "type": "library", - "version": "2.0.4" - }, - { - "name": "pkg-conf", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/pkg-conf@1.1.1", - "type": "library", - "version": "1.1.1" - }, - { - "name": "read-pkg-up", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/read-pkg-up@1.0.1", - "type": "library", - "version": "1.0.1" - }, - { - "name": "read-pkg", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/read-pkg@1.1.0", - "type": "library", - "version": "1.1.0" - }, - { - "name": "require-main-filename", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/require-main-filename@1.0.1", - "type": "library", - "version": "1.0.1" - }, - { - "name": "semver", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/semver@5.1.0", - "type": "library", - "version": "5.1.0" - }, - { - "name": "spdx-correct", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/spdx-correct@1.0.2", - "type": "library", - "version": "1.0.2" - }, - { - "name": "spdx-exceptions", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/spdx-exceptions@1.0.4", - "type": "library", - "version": "1.0.4" - }, - { - "name": "spdx-expression-parse", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/spdx-expression-parse@1.0.2", - "type": "library", - "version": "1.0.2" - }, - { - "name": "spdx-license-ids", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/spdx-license-ids@1.2.0", - "type": "library", - "version": "1.2.0" - }, - { - "name": "string-width", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/string-width@1.0.1", - "type": "library", - "version": "1.0.1" - }, - { - "name": "strip-ansi", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/strip-ansi@3.0.1", - "type": "library", - "version": "3.0.1" - }, - { - "name": "strip-bom", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/strip-bom@2.0.0", - "type": "library", - "version": "2.0.0" - }, - { - "name": "symbol", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/symbol@0.2.1", - "type": "library", - "version": "0.2.1" - }, - { - "name": "validate-npm-package-license", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/validate-npm-package-license@3.0.1", - "type": "library", - "version": "3.0.1" - }, - { - "name": "window-size", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/window-size@0.2.0", - "type": "library", - "version": "0.2.0" - }, - { - "name": "wrap-ansi", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/wrap-ansi@1.0.0", - "type": "library", - "version": "1.0.0" - }, - { - "name": "y18n", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/y18n@3.2.0", - "type": "library", - "version": "3.2.0" - }, - { - "name": "yargs-parser", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/yargs-parser@2.1.0", - "type": "library", - "version": "2.1.0" - }, - { - "name": "yargs", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/yargs@4.1.0", - "type": "library", - "version": "4.1.0" - } - ], - "metadata": { - "tools": [ - { - "name": "cachi2", - "vendor": "red hat" - } - ] - }, - "specVersion": "1.4", - "version": 1 -} diff --git a/tests/integration/test_data/npm_bundled_lockfile1/fetch_deps_sha256sums.json b/tests/integration/test_data/npm_bundled_lockfile1/fetch_deps_sha256sums.json deleted file mode 100644 index dd30d834a..000000000 --- a/tests/integration/test_data/npm_bundled_lockfile1/fetch_deps_sha256sums.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "npm/ansi-regex-2.0.0.tgz": "sha256:b0af737038784f9ae8076ee3045a8e2a8bf001e6def549f13d4f0d6cd668f358", - "npm/builtin-modules-1.1.1.tgz": "sha256:e789717824e8688269c241c203d9f615cf15286d6217d74defc7f395b0da5f11", - "npm/bundle-dependencies-1.0.2.tgz": "sha256:4820aca8c59a33282ad27a86c166fa939d68fc829de9f856f69401ddbca0a3cd", - "npm/fecha-4.2.3.tgz": "sha256:d41ef3f7fd17cc5a1725aab659600af53ece2b886ea5fd66eac7d25a523a07a8" -} diff --git a/tests/integration/test_data/npm_lockfile1_yarn_registry/.build-config.json b/tests/integration/test_data/npm_lockfile1_yarn_registry/.build-config.json deleted file mode 100644 index 2224fd973..000000000 --- a/tests/integration/test_data/npm_lockfile1_yarn_registry/.build-config.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "environment_variables": [], - "project_files": [ - { - "abspath": "${test_case_tmpdir}/npm_lockfile1_yarn_registry-source/package-lock.json", - "template": "{\n \"name\": \"npm-cachi2-yarn-registry-test\",\n \"version\": \"1.0.0\",\n \"lockfileVersion\": 1,\n \"requires\": true,\n \"dependencies\": {\n \"@types/prop-types\": {\n \"version\": \"15.7.5\",\n \"resolved\": \"https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.5.tgz\",\n \"integrity\": \"sha1-XxnSuFqY6VWANvajysyIGUIPBc8= sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w==\"\n },\n \"@types/react\": {\n \"version\": \"18.2.14\",\n \"resolved\": \"https://registry.yarnpkg.com/@types/react/-/react-18.2.14.tgz\",\n \"integrity\": \"sha1-+npv7PHONcqU50h09wxWzoj3oSc= sha512-A0zjq+QN/O0Kpe30hA1GidzyFjatVvrpIvWLxD+xv67Vt91TWWgco9IvrJBkeyHm1trGaFS/FSGqPlhyeZRm0g==\",\n \"requires\": {\n \"@types/prop-types\": \"*\",\n \"@types/scheduler\": \"*\",\n \"csstype\": \"^3.0.2\"\n }\n },\n \"@types/react-dom\": {\n \"version\": \"18.2.6\",\n \"resolved\": \"https://registry.yarnpkg.com/@types/react-dom/-/react-dom-18.2.6.tgz\",\n \"integrity\": \"sha1-rWIfpxqNspr3wxtBsuo9im9BRNE= sha512-2et4PDvg6PVCyS7fuTc4gPoksV58bW0RwSxWKcPRcHZf0PRUGq03TKcD/rUHe3azfV6/5/biUBJw+HhCQjaP0A==\",\n \"requires\": {\n \"@types/react\": \"*\"\n }\n },\n \"@types/scheduler\": {\n \"version\": \"0.16.3\",\n \"resolved\": \"https://registry.yarnpkg.com/@types/scheduler/-/scheduler-0.16.3.tgz\",\n \"integrity\": \"sha1-zvCePsmvHWPSpsxbODpzfiTm3PU= sha512-5cJ8CB4yAx7BH1oMvdU0Jh9lrEXyPkar6F9G/ERswkCuvP4KQZfZkSjcMbAICCpQTN4OuZn8tz0HiKv9TGZgrQ==\"\n },\n \"accepts\": {\n \"version\": \"1.3.8\",\n \"resolved\": \"https://registry.yarnpkg.com/accepts/-/accepts-1.3.8.tgz\",\n \"integrity\": \"sha1-C/C+EltnAUrcsLCSHmLbe//hay4= sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==\",\n \"requires\": {\n \"mime-types\": \"~2.1.34\",\n \"negotiator\": \"0.6.3\"\n }\n },\n \"array-flatten\": {\n \"version\": \"1.1.1\",\n \"resolved\": \"https://registry.yarnpkg.com/array-flatten/-/array-flatten-1.1.1.tgz\",\n \"integrity\": \"sha1-ml9pkFGx5wczKPKgCJaLZOopVdI= sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==\"\n },\n \"body-parser\": {\n \"version\": \"1.20.1\",\n \"resolved\": \"https://registry.yarnpkg.com/body-parser/-/body-parser-1.20.1.tgz\",\n \"integrity\": \"sha1-sYEqiRLBlc03Gj7l5m+qIzilxmg= sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw==\",\n \"requires\": {\n \"bytes\": \"3.1.2\",\n \"content-type\": \"~1.0.4\",\n \"debug\": \"2.6.9\",\n \"depd\": \"2.0.0\",\n \"destroy\": \"1.2.0\",\n \"http-errors\": \"2.0.0\",\n \"iconv-lite\": \"0.4.24\",\n \"on-finished\": \"2.4.1\",\n \"qs\": \"6.11.0\",\n \"raw-body\": \"2.5.1\",\n \"type-is\": \"~1.6.18\",\n \"unpipe\": \"1.0.0\"\n },\n \"dependencies\": {\n \"debug\": {\n \"version\": \"2.6.9\",\n \"resolved\": \"https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz\",\n \"integrity\": \"sha1-XRKFFd8TT/Mn6QpMk/Tgd6U2NB8= sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==\",\n \"requires\": {\n \"ms\": \"2.0.0\"\n }\n },\n \"ms\": {\n \"version\": \"2.0.0\",\n \"resolved\": \"https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz\",\n \"integrity\": \"sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g= sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==\"\n }\n }\n },\n \"bytes\": {\n \"version\": \"3.1.2\",\n \"resolved\": \"https://registry.yarnpkg.com/bytes/-/bytes-3.1.2.tgz\",\n \"integrity\": \"sha1-iwvuuYYFrfGxKPpDhkA8AJ4CIaU= sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==\"\n },\n \"call-bind\": {\n \"version\": \"1.0.2\",\n \"resolved\": \"https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.2.tgz\",\n \"integrity\": \"sha1-sdTonmiBGcPJqQOtMKuy9qkZvjw= sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==\",\n \"requires\": {\n \"function-bind\": \"^1.1.1\",\n \"get-intrinsic\": \"^1.0.2\"\n }\n },\n \"content-disposition\": {\n \"version\": \"0.5.4\",\n \"resolved\": \"https://registry.yarnpkg.com/content-disposition/-/content-disposition-0.5.4.tgz\",\n \"integrity\": \"sha1-i4K076yCUSoCuwsdzsnSxejrW/4= sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==\",\n \"requires\": {\n \"safe-buffer\": \"5.2.1\"\n }\n },\n \"content-type\": {\n \"version\": \"1.0.5\",\n \"resolved\": \"https://registry.yarnpkg.com/content-type/-/content-type-1.0.5.tgz\",\n \"integrity\": \"sha1-i3cxYmVtHRCGeEyPI6VM5tc9eRg= sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==\"\n },\n \"cookie\": {\n \"version\": \"0.5.0\",\n \"resolved\": \"https://registry.yarnpkg.com/cookie/-/cookie-0.5.0.tgz\",\n \"integrity\": \"sha1-0fXXGt7GVYxY84mYfDZqpH6ZT4s= sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==\"\n },\n \"cookie-signature\": {\n \"version\": \"1.0.6\",\n \"resolved\": \"https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.0.6.tgz\",\n \"integrity\": \"sha1-4wOogrNCzD7oylE6eZmXNNqzriw= sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==\"\n },\n \"csstype\": {\n \"version\": \"3.1.2\",\n \"resolved\": \"https://registry.yarnpkg.com/csstype/-/csstype-3.1.2.tgz\",\n \"integrity\": \"sha1-HUv51XLxHBQDHwQ24cELwfVx9Qs= sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==\"\n },\n \"debug\": {\n \"version\": \"4.3.4\",\n \"resolved\": \"https://registry.npmjs.org/debug/-/debug-4.3.4.tgz\",\n \"integrity\": \"sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==\",\n \"requires\": {\n \"ms\": \"2.1.2\"\n }\n },\n \"depd\": {\n \"version\": \"2.0.0\",\n \"resolved\": \"https://registry.yarnpkg.com/depd/-/depd-2.0.0.tgz\",\n \"integrity\": \"sha1-tpYWPMdXVg0JzyLMj60Vcbeedt8= sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==\"\n },\n \"destroy\": {\n \"version\": \"1.2.0\",\n \"resolved\": \"https://registry.yarnpkg.com/destroy/-/destroy-1.2.0.tgz\",\n \"integrity\": \"sha1-SANzVQmti+VSk0xn32FPlOZvoBU= sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==\"\n },\n \"ee-first\": {\n \"version\": \"1.1.1\",\n \"resolved\": \"https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz\",\n \"integrity\": \"sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0= sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==\"\n },\n \"encodeurl\": {\n \"version\": \"1.0.2\",\n \"resolved\": \"https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz\",\n \"integrity\": \"sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k= sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==\"\n },\n \"escape-html\": {\n \"version\": \"1.0.3\",\n \"resolved\": \"https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz\",\n \"integrity\": \"sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg= sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==\"\n },\n \"etag\": {\n \"version\": \"1.8.1\",\n \"resolved\": \"https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz\",\n \"integrity\": \"sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc= sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==\"\n },\n \"express\": {\n \"version\": \"4.18.2\",\n \"resolved\": \"https://registry.yarnpkg.com/express/-/express-4.18.2.tgz\",\n \"integrity\": \"sha1-P6vggpbpMMeWwZ48UWl5OGup/Vk= sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ==\",\n \"requires\": {\n \"accepts\": \"~1.3.8\",\n \"array-flatten\": \"1.1.1\",\n \"body-parser\": \"1.20.1\",\n \"content-disposition\": \"0.5.4\",\n \"content-type\": \"~1.0.4\",\n \"cookie\": \"0.5.0\",\n \"cookie-signature\": \"1.0.6\",\n \"debug\": \"2.6.9\",\n \"depd\": \"2.0.0\",\n \"encodeurl\": \"~1.0.2\",\n \"escape-html\": \"~1.0.3\",\n \"etag\": \"~1.8.1\",\n \"finalhandler\": \"1.2.0\",\n \"fresh\": \"0.5.2\",\n \"http-errors\": \"2.0.0\",\n \"merge-descriptors\": \"1.0.1\",\n \"methods\": \"~1.1.2\",\n \"on-finished\": \"2.4.1\",\n \"parseurl\": \"~1.3.3\",\n \"path-to-regexp\": \"0.1.7\",\n \"proxy-addr\": \"~2.0.7\",\n \"qs\": \"6.11.0\",\n \"range-parser\": \"~1.2.1\",\n \"safe-buffer\": \"5.2.1\",\n \"send\": \"0.18.0\",\n \"serve-static\": \"1.15.0\",\n \"setprototypeof\": \"1.2.0\",\n \"statuses\": \"2.0.1\",\n \"type-is\": \"~1.6.18\",\n \"utils-merge\": \"1.0.1\",\n \"vary\": \"~1.1.2\"\n },\n \"dependencies\": {\n \"debug\": {\n \"version\": \"2.6.9\",\n \"resolved\": \"https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz\",\n \"integrity\": \"sha1-XRKFFd8TT/Mn6QpMk/Tgd6U2NB8= sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==\",\n \"requires\": {\n \"ms\": \"2.0.0\"\n }\n },\n \"ms\": {\n \"version\": \"2.0.0\",\n \"resolved\": \"https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz\",\n \"integrity\": \"sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g= sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==\"\n }\n }\n },\n \"finalhandler\": {\n \"version\": \"1.2.0\",\n \"resolved\": \"https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.2.0.tgz\",\n \"integrity\": \"sha1-fSP+VzGyB7RkDk/NAK7B+SB6ezI= sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==\",\n \"requires\": {\n \"debug\": \"2.6.9\",\n \"encodeurl\": \"~1.0.2\",\n \"escape-html\": \"~1.0.3\",\n \"on-finished\": \"2.4.1\",\n \"parseurl\": \"~1.3.3\",\n \"statuses\": \"2.0.1\",\n \"unpipe\": \"~1.0.0\"\n },\n \"dependencies\": {\n \"debug\": {\n \"version\": \"2.6.9\",\n \"resolved\": \"https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz\",\n \"integrity\": \"sha1-XRKFFd8TT/Mn6QpMk/Tgd6U2NB8= sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==\",\n \"requires\": {\n \"ms\": \"2.0.0\"\n }\n },\n \"ms\": {\n \"version\": \"2.0.0\",\n \"resolved\": \"https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz\",\n \"integrity\": \"sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g= sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==\"\n }\n }\n },\n \"forwarded\": {\n \"version\": \"0.2.0\",\n \"resolved\": \"https://registry.yarnpkg.com/forwarded/-/forwarded-0.2.0.tgz\",\n \"integrity\": \"sha1-ImmTZCiq1MFcfr6XeahL8LKoGBE= sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==\"\n },\n \"fresh\": {\n \"version\": \"0.5.2\",\n \"resolved\": \"https://registry.yarnpkg.com/fresh/-/fresh-0.5.2.tgz\",\n \"integrity\": \"sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac= sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==\"\n },\n \"function-bind\": {\n \"version\": \"1.1.1\",\n \"resolved\": \"https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz\",\n \"integrity\": \"sha1-pWiZ0+o8m6uHS7l3O3xe3pL0iV0= sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==\"\n },\n \"get-intrinsic\": {\n \"version\": \"1.2.1\",\n \"resolved\": \"https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.1.tgz\",\n \"integrity\": \"sha1-0pVkT+1FBfyc3pUsN+4StHeoPYI= sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw==\",\n \"requires\": {\n \"function-bind\": \"^1.1.1\",\n \"has\": \"^1.0.3\",\n \"has-proto\": \"^1.0.1\",\n \"has-symbols\": \"^1.0.3\"\n }\n },\n \"has\": {\n \"version\": \"1.0.3\",\n \"resolved\": \"https://registry.yarnpkg.com/has/-/has-1.0.3.tgz\",\n \"integrity\": \"sha1-ci18v8H2qoJB8W3YFOAR4fQeh5Y= sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==\",\n \"requires\": {\n \"function-bind\": \"^1.1.1\"\n }\n },\n \"has-proto\": {\n \"version\": \"1.0.1\",\n \"resolved\": \"https://registry.yarnpkg.com/has-proto/-/has-proto-1.0.1.tgz\",\n \"integrity\": \"sha1-GIXBMFU4lYr/Rp/vN5N8InlUCOA= sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==\"\n },\n \"has-symbols\": {\n \"version\": \"1.0.3\",\n \"resolved\": \"https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.3.tgz\",\n \"integrity\": \"sha1-u3ssQ0klHc6HsSX3vfh0qnyLOfg= sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==\"\n },\n \"http-errors\": {\n \"version\": \"2.0.0\",\n \"resolved\": \"https://registry.yarnpkg.com/http-errors/-/http-errors-2.0.0.tgz\",\n \"integrity\": \"sha1-t3dKFIbvc892Z6ya4IWMASxXudM= sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==\",\n \"requires\": {\n \"depd\": \"2.0.0\",\n \"inherits\": \"2.0.4\",\n \"setprototypeof\": \"1.2.0\",\n \"statuses\": \"2.0.1\",\n \"toidentifier\": \"1.0.1\"\n }\n },\n \"iconv-lite\": {\n \"version\": \"0.4.24\",\n \"resolved\": \"https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz\",\n \"integrity\": \"sha1-ICK0sl+93CHS9SSXSkdKr+czkIs= sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==\",\n \"requires\": {\n \"safer-buffer\": \">= 2.1.2 < 3\"\n }\n },\n \"inherits\": {\n \"version\": \"2.0.4\",\n \"resolved\": \"https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz\",\n \"integrity\": \"sha1-D6LGT5MpF8NDOg3tVTY6rjdBa3w= sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==\"\n },\n \"ipaddr.js\": {\n \"version\": \"1.9.1\",\n \"resolved\": \"https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.9.1.tgz\",\n \"integrity\": \"sha1-v/OFQ+64mEglB5/zoqjmy9RngbM= sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==\"\n },\n \"media-typer\": {\n \"version\": \"0.3.0\",\n \"resolved\": \"https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz\",\n \"integrity\": \"sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g= sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==\"\n },\n \"merge-descriptors\": {\n \"version\": \"1.0.1\",\n \"resolved\": \"https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-1.0.1.tgz\",\n \"integrity\": \"sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E= sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==\"\n },\n \"methods\": {\n \"version\": \"1.1.2\",\n \"resolved\": \"https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz\",\n \"integrity\": \"sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4= sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==\"\n },\n \"mime\": {\n \"version\": \"1.6.0\",\n \"resolved\": \"https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz\",\n \"integrity\": \"sha1-Ms2eXGRVO9WNGaVor0Uqz/BJgbE= sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==\"\n },\n \"mime-db\": {\n \"version\": \"1.52.0\",\n \"resolved\": \"https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz\",\n \"integrity\": \"sha1-u6vNwChZ9JhzAchW4zh85exDv3A= sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==\"\n },\n \"mime-types\": {\n \"version\": \"2.1.35\",\n \"resolved\": \"https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz\",\n \"integrity\": \"sha1-OBqHG2KnNEUGYK497uRIE/cNlZo= sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==\",\n \"requires\": {\n \"mime-db\": \"1.52.0\"\n }\n },\n \"ms\": {\n \"version\": \"2.1.2\",\n \"resolved\": \"https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz\",\n \"integrity\": \"sha1-0J0fNXtEP0kzgqjrPM0YOHKuYAk= sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==\"\n },\n \"negotiator\": {\n \"version\": \"0.6.3\",\n \"resolved\": \"https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.3.tgz\",\n \"integrity\": \"sha1-WOMjpy/twNb5zU0x/kn1FHlZDM0= sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==\"\n },\n \"object-inspect\": {\n \"version\": \"1.12.3\",\n \"resolved\": \"https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.3.tgz\",\n \"integrity\": \"sha1-umLf/WfuJWyMCG365p4BbNHxmLk= sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==\"\n },\n \"on-finished\": {\n \"version\": \"2.4.1\",\n \"resolved\": \"https://registry.yarnpkg.com/on-finished/-/on-finished-2.4.1.tgz\",\n \"integrity\": \"sha1-WMjEQRblSEWtV/FKsQsDUzGErD8= sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==\",\n \"requires\": {\n \"ee-first\": \"1.1.1\"\n }\n },\n \"parseurl\": {\n \"version\": \"1.3.3\",\n \"resolved\": \"https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.3.tgz\",\n \"integrity\": \"sha1-naGee+6NEt/wUT7Vt2lXeTvC6NQ= sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==\"\n },\n \"path-to-regexp\": {\n \"version\": \"0.1.7\",\n \"resolved\": \"https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.7.tgz\",\n \"integrity\": \"sha1-32BBeABfUi8V60SQ5yR6G/qmf4w= sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==\"\n },\n \"proxy-addr\": {\n \"version\": \"2.0.7\",\n \"resolved\": \"https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.7.tgz\",\n \"integrity\": \"sha1-8Z/mnOqzEe65S0LnDowgcPm6ECU= sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==\",\n \"requires\": {\n \"forwarded\": \"0.2.0\",\n \"ipaddr.js\": \"1.9.1\"\n }\n },\n \"qs\": {\n \"version\": \"6.11.0\",\n \"resolved\": \"https://registry.yarnpkg.com/qs/-/qs-6.11.0.tgz\",\n \"integrity\": \"sha1-/Q2WNEb3pl4TZ+AavYVClFPww3o= sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==\",\n \"requires\": {\n \"side-channel\": \"^1.0.4\"\n }\n },\n \"range-parser\": {\n \"version\": \"1.2.1\",\n \"resolved\": \"https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.1.tgz\",\n \"integrity\": \"sha1-PPNwI9GZ4cJNGlW4SADC8+ZGgDE= sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==\"\n },\n \"raw-body\": {\n \"version\": \"2.5.1\",\n \"resolved\": \"https://registry.yarnpkg.com/raw-body/-/raw-body-2.5.1.tgz\",\n \"integrity\": \"sha1-/hsWKLGBtwAhXl/UI4n5i3E5KFc= sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==\",\n \"requires\": {\n \"bytes\": \"3.1.2\",\n \"http-errors\": \"2.0.0\",\n \"iconv-lite\": \"0.4.24\",\n \"unpipe\": \"1.0.0\"\n }\n },\n \"safe-buffer\": {\n \"version\": \"5.2.1\",\n \"resolved\": \"https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz\",\n \"integrity\": \"sha1-Hq+fqb2x/dTsdfWPnNtOa3gn7sY= sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==\"\n },\n \"safer-buffer\": {\n \"version\": \"2.1.2\",\n \"resolved\": \"https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz\",\n \"integrity\": \"sha1-RPoWGwGHuVSd2Eu5GAL5vYOFzWo= sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==\"\n },\n \"sax\": {\n \"version\": \"0.1.1\",\n \"resolved\": \"https://registry.yarnpkg.com/sax/-/sax-0.1.1.tgz\",\n \"integrity\": \"sha1-j7/aAAwtA/arlG1qy7/KE/9/Mr8= sha512-Ai+AtDgJw1fvUoUHwZO2TrI/3R0G76Y3jQ0Bf0riZL57ZPr7QvOm2FBe44S51C+qXoJjT2WKY0bZ60diGZsFZw==\"\n },\n \"send\": {\n \"version\": \"0.18.0\",\n \"resolved\": \"https://registry.yarnpkg.com/send/-/send-0.18.0.tgz\",\n \"integrity\": \"sha1-ZwFnzGVLBfWqSnZ/kRO7NxvHBr4= sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==\",\n \"requires\": {\n \"debug\": \"2.6.9\",\n \"depd\": \"2.0.0\",\n \"destroy\": \"1.2.0\",\n \"encodeurl\": \"~1.0.2\",\n \"escape-html\": \"~1.0.3\",\n \"etag\": \"~1.8.1\",\n \"fresh\": \"0.5.2\",\n \"http-errors\": \"2.0.0\",\n \"mime\": \"1.6.0\",\n \"ms\": \"2.1.3\",\n \"on-finished\": \"2.4.1\",\n \"range-parser\": \"~1.2.1\",\n \"statuses\": \"2.0.1\"\n },\n \"dependencies\": {\n \"debug\": {\n \"version\": \"2.6.9\",\n \"resolved\": \"https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz\",\n \"integrity\": \"sha1-XRKFFd8TT/Mn6QpMk/Tgd6U2NB8= sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==\",\n \"requires\": {\n \"ms\": \"2.0.0\"\n },\n \"dependencies\": {\n \"ms\": {\n \"version\": \"2.0.0\",\n \"resolved\": \"https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz\",\n \"integrity\": \"sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g= sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==\"\n }\n }\n },\n \"ms\": {\n \"version\": \"2.1.3\",\n \"resolved\": \"https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz\",\n \"integrity\": \"sha1-V0yBOM4dK1hh8LRFedut1gxmFbI= sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==\"\n }\n }\n },\n \"serve-static\": {\n \"version\": \"1.15.0\",\n \"resolved\": \"https://registry.yarnpkg.com/serve-static/-/serve-static-1.15.0.tgz\",\n \"integrity\": \"sha1-+q7wjP/goaYvYMrQxOUTz/CslUA= sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==\",\n \"requires\": {\n \"encodeurl\": \"~1.0.2\",\n \"escape-html\": \"~1.0.3\",\n \"parseurl\": \"~1.3.3\",\n \"send\": \"0.18.0\"\n }\n },\n \"setprototypeof\": {\n \"version\": \"1.2.0\",\n \"resolved\": \"https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.2.0.tgz\",\n \"integrity\": \"sha1-ZsmiSnP5/CjL5msJ/tPTPcrxtCQ= sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==\"\n },\n \"side-channel\": {\n \"version\": \"1.0.4\",\n \"resolved\": \"https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.4.tgz\",\n \"integrity\": \"sha1-785cj9wQTudRslxY1CkAEfpeos8= sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==\",\n \"requires\": {\n \"call-bind\": \"^1.0.0\",\n \"get-intrinsic\": \"^1.0.2\",\n \"object-inspect\": \"^1.9.0\"\n }\n },\n \"statuses\": {\n \"version\": \"2.0.1\",\n \"resolved\": \"https://registry.yarnpkg.com/statuses/-/statuses-2.0.1.tgz\",\n \"integrity\": \"sha1-VcsADM8dSHKL0jxoWgY5mM8aG2M= sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==\"\n },\n \"toidentifier\": {\n \"version\": \"1.0.1\",\n \"resolved\": \"https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.1.tgz\",\n \"integrity\": \"sha1-O+NDIaiKgg7RvYDfqjPkefu43TU= sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==\"\n },\n \"type-is\": {\n \"version\": \"1.6.18\",\n \"resolved\": \"https://registry.yarnpkg.com/type-is/-/type-is-1.6.18.tgz\",\n \"integrity\": \"sha1-TlUs0F3wlGfcvE73Od6J8s83wTE= sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==\",\n \"requires\": {\n \"media-typer\": \"0.3.0\",\n \"mime-types\": \"~2.1.24\"\n }\n },\n \"unpipe\": {\n \"version\": \"1.0.0\",\n \"resolved\": \"https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz\",\n \"integrity\": \"sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw= sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==\"\n },\n \"utils-merge\": {\n \"version\": \"1.0.1\",\n \"resolved\": \"https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz\",\n \"integrity\": \"sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM= sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==\"\n },\n \"vary\": {\n \"version\": \"1.1.2\",\n \"resolved\": \"https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz\",\n \"integrity\": \"sha1-IpnwLG3tMNSllhsLn3RSShj2NPw= sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==\"\n }\n }\n}\n" - }, - { - "abspath": "${test_case_tmpdir}/npm_lockfile1_yarn_registry-source/package.json", - "template": "{\n \"name\": \"npm-cachi2-yarn-registry-test\",\n \"version\": \"1.0.0\",\n \"description\": \"\",\n \"main\": \"index.js\",\n \"scripts\": {\n \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://github.com/cachito-testing/cachito-npm-workspaces.git\"\n },\n \"keywords\": [],\n \"author\": \"\",\n \"license\": \"ISC\",\n \"bugs\": {\n \"url\": \"https://github.com/cachito-testing/cachito-npm-workspaces/issues\"\n },\n \"homepage\": \"https://github.com/cachito-testing/cachito-npm-workspaces#readme\",\n \"dependencies\": {\n \"express\": \"^4.18.2\",\n \"@types/react-dom\": \"^18.0.1\",\n \"debug\": \"\",\n \"sax\": \"0.1.1\"\n }\n}\n" - } - ] -} diff --git a/tests/integration/test_data/npm_lockfile1_yarn_registry/bom.json b/tests/integration/test_data/npm_lockfile1_yarn_registry/bom.json deleted file mode 100644 index bde7c48a5..000000000 --- a/tests/integration/test_data/npm_lockfile1_yarn_registry/bom.json +++ /dev/null @@ -1,819 +0,0 @@ -{ - "bomFormat": "CycloneDX", - "components": [ - { - "name": "@types/prop-types", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/%40types/prop-types@15.7.5", - "type": "library", - "version": "15.7.5" - }, - { - "name": "@types/react-dom", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/%40types/react-dom@18.2.6", - "type": "library", - "version": "18.2.6" - }, - { - "name": "@types/react", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/%40types/react@18.2.14", - "type": "library", - "version": "18.2.14" - }, - { - "name": "@types/scheduler", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/%40types/scheduler@0.16.3", - "type": "library", - "version": "0.16.3" - }, - { - "name": "accepts", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/accepts@1.3.8", - "type": "library", - "version": "1.3.8" - }, - { - "name": "array-flatten", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/array-flatten@1.1.1", - "type": "library", - "version": "1.1.1" - }, - { - "name": "body-parser", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/body-parser@1.20.1", - "type": "library", - "version": "1.20.1" - }, - { - "name": "bytes", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/bytes@3.1.2", - "type": "library", - "version": "3.1.2" - }, - { - "name": "call-bind", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/call-bind@1.0.2", - "type": "library", - "version": "1.0.2" - }, - { - "name": "content-disposition", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/content-disposition@0.5.4", - "type": "library", - "version": "0.5.4" - }, - { - "name": "content-type", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/content-type@1.0.5", - "type": "library", - "version": "1.0.5" - }, - { - "name": "cookie-signature", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/cookie-signature@1.0.6", - "type": "library", - "version": "1.0.6" - }, - { - "name": "cookie", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/cookie@0.5.0", - "type": "library", - "version": "0.5.0" - }, - { - "name": "csstype", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/csstype@3.1.2", - "type": "library", - "version": "3.1.2" - }, - { - "name": "debug", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/debug@2.6.9", - "type": "library", - "version": "2.6.9" - }, - { - "name": "debug", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/debug@4.3.4", - "type": "library", - "version": "4.3.4" - }, - { - "name": "depd", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/depd@2.0.0", - "type": "library", - "version": "2.0.0" - }, - { - "name": "destroy", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/destroy@1.2.0", - "type": "library", - "version": "1.2.0" - }, - { - "name": "ee-first", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/ee-first@1.1.1", - "type": "library", - "version": "1.1.1" - }, - { - "name": "encodeurl", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/encodeurl@1.0.2", - "type": "library", - "version": "1.0.2" - }, - { - "name": "escape-html", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/escape-html@1.0.3", - "type": "library", - "version": "1.0.3" - }, - { - "name": "etag", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/etag@1.8.1", - "type": "library", - "version": "1.8.1" - }, - { - "name": "express", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/express@4.18.2", - "type": "library", - "version": "4.18.2" - }, - { - "name": "finalhandler", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/finalhandler@1.2.0", - "type": "library", - "version": "1.2.0" - }, - { - "name": "forwarded", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/forwarded@0.2.0", - "type": "library", - "version": "0.2.0" - }, - { - "name": "fresh", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/fresh@0.5.2", - "type": "library", - "version": "0.5.2" - }, - { - "name": "function-bind", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/function-bind@1.1.1", - "type": "library", - "version": "1.1.1" - }, - { - "name": "get-intrinsic", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/get-intrinsic@1.2.1", - "type": "library", - "version": "1.2.1" - }, - { - "name": "has-proto", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/has-proto@1.0.1", - "type": "library", - "version": "1.0.1" - }, - { - "name": "has-symbols", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/has-symbols@1.0.3", - "type": "library", - "version": "1.0.3" - }, - { - "name": "has", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/has@1.0.3", - "type": "library", - "version": "1.0.3" - }, - { - "name": "http-errors", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/http-errors@2.0.0", - "type": "library", - "version": "2.0.0" - }, - { - "name": "iconv-lite", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/iconv-lite@0.4.24", - "type": "library", - "version": "0.4.24" - }, - { - "name": "inherits", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/inherits@2.0.4", - "type": "library", - "version": "2.0.4" - }, - { - "name": "ipaddr.js", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/ipaddr.js@1.9.1", - "type": "library", - "version": "1.9.1" - }, - { - "name": "media-typer", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/media-typer@0.3.0", - "type": "library", - "version": "0.3.0" - }, - { - "name": "merge-descriptors", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/merge-descriptors@1.0.1", - "type": "library", - "version": "1.0.1" - }, - { - "name": "methods", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/methods@1.1.2", - "type": "library", - "version": "1.1.2" - }, - { - "name": "mime-db", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/mime-db@1.52.0", - "type": "library", - "version": "1.52.0" - }, - { - "name": "mime-types", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/mime-types@2.1.35", - "type": "library", - "version": "2.1.35" - }, - { - "name": "mime", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/mime@1.6.0", - "type": "library", - "version": "1.6.0" - }, - { - "name": "ms", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/ms@2.0.0", - "type": "library", - "version": "2.0.0" - }, - { - "name": "ms", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/ms@2.1.2", - "type": "library", - "version": "2.1.2" - }, - { - "name": "ms", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/ms@2.1.3", - "type": "library", - "version": "2.1.3" - }, - { - "name": "negotiator", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/negotiator@0.6.3", - "type": "library", - "version": "0.6.3" - }, - { - "name": "npm-cachi2-yarn-registry-test", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/npm-cachi2-yarn-registry-test@1.0.0?vcs_url=git%2Bhttps://github.com/cachito-testing/npm-cachi2-registry-yarnpkg.git%40666e85812266bdad8795e75025ce053ecbb060d9", - "type": "library", - "version": "1.0.0" - }, - { - "name": "object-inspect", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/object-inspect@1.12.3", - "type": "library", - "version": "1.12.3" - }, - { - "name": "on-finished", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/on-finished@2.4.1", - "type": "library", - "version": "2.4.1" - }, - { - "name": "parseurl", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/parseurl@1.3.3", - "type": "library", - "version": "1.3.3" - }, - { - "name": "path-to-regexp", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/path-to-regexp@0.1.7", - "type": "library", - "version": "0.1.7" - }, - { - "name": "proxy-addr", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/proxy-addr@2.0.7", - "type": "library", - "version": "2.0.7" - }, - { - "name": "qs", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/qs@6.11.0", - "type": "library", - "version": "6.11.0" - }, - { - "name": "range-parser", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/range-parser@1.2.1", - "type": "library", - "version": "1.2.1" - }, - { - "name": "raw-body", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/raw-body@2.5.1", - "type": "library", - "version": "2.5.1" - }, - { - "name": "safe-buffer", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/safe-buffer@5.2.1", - "type": "library", - "version": "5.2.1" - }, - { - "name": "safer-buffer", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/safer-buffer@2.1.2", - "type": "library", - "version": "2.1.2" - }, - { - "name": "sax", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/sax@0.1.1", - "type": "library", - "version": "0.1.1" - }, - { - "name": "send", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/send@0.18.0", - "type": "library", - "version": "0.18.0" - }, - { - "name": "serve-static", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/serve-static@1.15.0", - "type": "library", - "version": "1.15.0" - }, - { - "name": "setprototypeof", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/setprototypeof@1.2.0", - "type": "library", - "version": "1.2.0" - }, - { - "name": "side-channel", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/side-channel@1.0.4", - "type": "library", - "version": "1.0.4" - }, - { - "name": "statuses", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/statuses@2.0.1", - "type": "library", - "version": "2.0.1" - }, - { - "name": "toidentifier", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/toidentifier@1.0.1", - "type": "library", - "version": "1.0.1" - }, - { - "name": "type-is", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/type-is@1.6.18", - "type": "library", - "version": "1.6.18" - }, - { - "name": "unpipe", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/unpipe@1.0.0", - "type": "library", - "version": "1.0.0" - }, - { - "name": "utils-merge", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/utils-merge@1.0.1", - "type": "library", - "version": "1.0.1" - }, - { - "name": "vary", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/vary@1.1.2", - "type": "library", - "version": "1.1.2" - } - ], - "metadata": { - "tools": [ - { - "name": "cachi2", - "vendor": "red hat" - } - ] - }, - "specVersion": "1.4", - "version": 1 -} diff --git a/tests/integration/test_data/npm_lockfile1_yarn_registry/fetch_deps_sha256sums.json b/tests/integration/test_data/npm_lockfile1_yarn_registry/fetch_deps_sha256sums.json deleted file mode 100644 index d8cefa18b..000000000 --- a/tests/integration/test_data/npm_lockfile1_yarn_registry/fetch_deps_sha256sums.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "npm/accepts-1.3.8.tgz": "sha256:bf189aca3f8278229fc71526b8d5d2bae42e9eb2dae4992f2d3a944d32d06d75", - "npm/array-flatten-1.1.1.tgz": "sha256:1aca1277ec265d578b3ff517a8a7a07dbab5e6edd349775830ef38c38d6426ed", - "npm/body-parser-1.20.1.tgz": "sha256:b351860179971e924b8d03497e00d015b16eb7eb9a2a8bbc1efd169194081b56", - "npm/bytes-3.1.2.tgz": "sha256:835e37ad5a40da45eaed6e32d99847627a15b2a4671741182521fe48dee3c581", - "npm/call-bind-1.0.2.tgz": "sha256:c3956f8ad486c8ed25508d016738e3fc2126f9b77c89a080263cdf05e214341a", - "npm/content-disposition-0.5.4.tgz": "sha256:e494c8a7b68ac22ca1ea01e004e937e6fdfc696bc80d719664da43bc4b365452", - "npm/content-type-1.0.5.tgz": "sha256:ac31d098405f0242dd712218f38a14a6202bd4eb01067db05db765d9a9bd12c8", - "npm/cookie-0.5.0.tgz": "sha256:57895adc607e57b8824715e41537f7f84b06baac73be4fb2ec8212d5eeafd756", - "npm/cookie-signature-1.0.6.tgz": "sha256:89f345e24abee506e690eb6ff5bd1973957f916cba72b2a224ab2355544d5313", - "npm/csstype-3.1.2.tgz": "sha256:00e373e92e16bde6ba69aba88adb8813e96c856db14456f0cbf010cab1abd916", - "npm/debug-2.6.9.tgz": "sha256:34ae48c66698f1f81e2a2e6e322f34e8a88b0986a3fa7b74bb5ea14c0edb1c98", - "npm/debug-4.3.4.tgz": "sha256:04922c9b2e37a6858df2b870a278d1d3a8aaad7ec4c3bd84427f0d53cbf28bcf", - "npm/depd-2.0.0.tgz": "sha256:28a58a2056093441f1d00d677d95918d2e4b3e98bac86237159101cae315d4a7", - "npm/destroy-1.2.0.tgz": "sha256:8dfd27e86cf54949a76ab5171df6c242d8b007d3ace136b67984fd64a171cfa8", - "npm/ee-first-1.1.1.tgz": "sha256:5148e8eb7e222b2a09127618bbdb5033daf6262cfc735d3101ea98620128b99c", - "npm/encodeurl-1.0.2.tgz": "sha256:cb46598dbb11155157acb5eeeedf93dd9c4522783a9c92c4240a0ad259dc4e8d", - "npm/escape-html-1.0.3.tgz": "sha256:a101155c3cbdfb1e4f98f2f83c8b5e392db6accfa606df0eba8b87a5762b0366", - "npm/etag-1.8.1.tgz": "sha256:f6a96c78a973d2ab660c9efeee6aa74a399cd9e770625ba1ed95e1aca9fd0faf", - "npm/express-4.18.2.tgz": "sha256:8a4a69997fb326bd5966256709dbce2acff6cd53e048fc017c28b8c85f91c37e", - "npm/finalhandler-1.2.0.tgz": "sha256:583e4b226a729e6d47cca3b9859a1755f2c953ae78fc2d75d8fe16dbbeb99235", - "npm/forwarded-0.2.0.tgz": "sha256:9b5a5de95fb85fcb58db5e4fcd94ce8ab9f0476d02202e20a5225cec60431c99", - "npm/fresh-0.5.2.tgz": "sha256:25e676f9f00a8dddc7214f46258b71c0188a0ee004903f05109ecfce9a5a844c", - "npm/function-bind-1.1.1.tgz": "sha256:2d552e7c98b4c3acbf6420cc2eed535e592bb987ed2b32e35795bf777dd2e082", - "npm/get-intrinsic-1.2.1.tgz": "sha256:0cf8aaf9d9853f5e171795a46903f1b95b5c7adce5d92ff6b5524198f0e7ce5d", - "npm/has-1.0.3.tgz": "sha256:c38cf9eefce04e58ec3e945bfe448b9236d64f9337f6bf6e1f62e1c5b6b05573", - "npm/has-proto-1.0.1.tgz": "sha256:a710d56d692d60025d0e31da21ae6c3a80b4e11a0099137067f94ec5aec1f651", - "npm/has-symbols-1.0.3.tgz": "sha256:ddcc17682f1e12a9d00a1a8b656af941ed584914e55fc5caf1c2e7ce892ce6a6", - "npm/http-errors-2.0.0.tgz": "sha256:c14fd379e5a2c70199843d6711312375d568816a688cdebddc2c8168466ad7b7", - "npm/iconv-lite-0.4.24.tgz": "sha256:576c64f2098ed44c3d5e48d7a9dc65512700c1d6a969a71a74d474da8e734635", - "npm/inherits-2.0.4.tgz": "sha256:d94dbc6c1bb3c5ac0fb12a73ade187108fc60de273a1b754f55044eb5e24afaf", - "npm/ipaddr.js-1.9.1.tgz": "sha256:7441d9623f67fe4160eccfd82ae9a404dcd55e1e4f1b68e06e2374dade4e8fee", - "npm/media-typer-0.3.0.tgz": "sha256:2dfad81441b4f9225bdc15c3739b49bc4fdb80187989dcf35a4086645bab741f", - "npm/merge-descriptors-1.0.1.tgz": "sha256:880a3b47ccffbacb13d305f808be60bb48a772828a36b6f6188c911f1f76a409", - "npm/methods-1.1.2.tgz": "sha256:dfd206d1c4023f131d2edc0f79ee54f3abc31f3a001b10039e2823f64064a03c", - "npm/mime-1.6.0.tgz": "sha256:215210390e617ac355b422692c7096476e3fe648176cb72b40075a03c9cc379a", - "npm/mime-db-1.52.0.tgz": "sha256:b8e70bb4d52acd5d0d1ed848c0e6e3c903a533aa500acffbe003f011b18f9e3b", - "npm/mime-types-2.1.35.tgz": "sha256:49734fc98906e9baaacf8034923470a4c84de72943a7c005face63360701d1c3", - "npm/ms-2.0.0.tgz": "sha256:362152ab8864181fc3359a3c440eec58ce3e18f773b0dde4d88a84fe13d73ecb", - "npm/ms-2.1.2.tgz": "sha256:1157a6e30d3ffe1b9fcaf3a39caf159f8dc981199a3380c78ddd89f73bcefb48", - "npm/ms-2.1.3.tgz": "sha256:f6616e15e530ed552f9daa2d3ce71963947c6bc7c98c9b64fd3e673fd02622c6", - "npm/negotiator-0.6.3.tgz": "sha256:912e687ba0f7e94f8e323e29e307db4a1838629399ff635412ae2a5d39765213", - "npm/object-inspect-1.12.3.tgz": "sha256:4ae8a8dea6633e7574a21135318dbd6f6e385b466739444cd8aab5cebe0e22aa", - "npm/on-finished-2.4.1.tgz": "sha256:f64d42f1049c386cdac5204737e09564271639b2b7d203a3ea07ec07d5ddbd0a", - "npm/parseurl-1.3.3.tgz": "sha256:56ef4bfa11e097ce8196b26fa04b42d6091c32498fcab4478e6dd298435f021a", - "npm/path-to-regexp-0.1.7.tgz": "sha256:de5462f169a8975b74b0fbb63bd6a4de62516a60f9de7075b5cd3fa882c98f36", - "npm/proxy-addr-2.0.7.tgz": "sha256:a0d1b6f34f6d4e733429ba95f7adb7833c8ceab916ba574a93f8a8476bee46d9", - "npm/qs-6.11.0.tgz": "sha256:01d91ce44dbb4259dd304f96bc62be5fbbb0dc9f82b26d644c4a7ab5150ee235", - "npm/range-parser-1.2.1.tgz": "sha256:905266e2662590b009e38dc096d4e4e103aafda9cb67e658ca985b2d0ad2f926", - "npm/raw-body-2.5.1.tgz": "sha256:47a39c8dbfb29c162877c2009ce97537538c697a4286df3763f5a228d4b86b22", - "npm/safe-buffer-5.2.1.tgz": "sha256:5d181804516c4a693a384272a7bd0e42d17e0d4b301ccfbe408669ccafdcb3e8", - "npm/safer-buffer-2.1.2.tgz": "sha256:78812f65ae3b98071ce1c9bacbe0666f4220d0b2753c2a11530eb27df440a3b3", - "npm/sax-0.1.1.tgz": "sha256:0e88965da3ad5dea6bb94f1bf22035ea5c9844fd9e8f5a8d29235ab3ebd9178e", - "npm/send-0.18.0.tgz": "sha256:f69a729f09ed7cc4669925d27753f9702cb89d922eac29e1f7155d2c00b81b14", - "npm/serve-static-1.15.0.tgz": "sha256:49f7a6ef21fd21c4066d71c5ca934446a7471f05b8163d5abbadbc990149965b", - "npm/setprototypeof-1.2.0.tgz": "sha256:c83bcc6ea632567e3f6928a83a1c0c7073519aaca9b88b847a3b404417eadfe2", - "npm/side-channel-1.0.4.tgz": "sha256:352b84bca536881ae429da1b0574e6805572bdc0312384033f0445204b06d735", - "npm/statuses-2.0.1.tgz": "sha256:919840434d9af8b0252e769af0593628594aeacf9cad8dd946528fe29e372f5a", - "npm/toidentifier-1.0.1.tgz": "sha256:186fcc77488de327daf911d362d4e773bab9909f1df2a5f0c20b875205b92e08", - "npm/type-is-1.6.18.tgz": "sha256:94dab5853380e14378bab3fc4e4def824efd0d32783341f9c0ec98b6137dc3ae", - "npm/types-prop-types-15.7.5.tgz": "sha256:419d6d3356a2aee9a5a1d24e623c5236970655e3e7c66ed30328a8b2aad42ea0", - "npm/types-react-18.2.14.tgz": "sha256:0a74cb2e2ab1519dde64b3c4fa6970d7a03bff2468f34e65af45faeb34749ef0", - "npm/types-react-dom-18.2.6.tgz": "sha256:4db64f2009ff7aba3a648f31ea5321a5b771fb2365cc08f70ad1102475813f42", - "npm/types-scheduler-0.16.3.tgz": "sha256:e4034e4c768f0b329020cf27c2cf551517126663e99fd61735d336e0848efd1d", - "npm/unpipe-1.0.0.tgz": "sha256:2dfb5e06d1d4bf1fe9f0fa7f633c4a2fde04d8b41cf0b9bd249a42561d5edfb6", - "npm/utils-merge-1.0.1.tgz": "sha256:ded95d8fedda75712b7282073ee7e5b7359646d3f6cd4b1ed3b0ddfe5dae5036", - "npm/vary-1.1.2.tgz": "sha256:7378860671377a35e7a443ecfdca0745cfd066f595c90d581b827defea246e71" -} diff --git a/tests/integration/test_data/npm_smoketest_lockfile1/.build-config.json b/tests/integration/test_data/npm_smoketest_lockfile1/.build-config.json deleted file mode 100644 index a6b2381f6..000000000 --- a/tests/integration/test_data/npm_smoketest_lockfile1/.build-config.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "environment_variables": [], - "project_files": [ - { - "abspath": "${test_case_tmpdir}/npm_smoketest_lockfile1-source/package-lock.json", - "template": "{\n \"name\": \"npm_test\",\n \"version\": \"1.1.0\",\n \"lockfileVersion\": 1,\n \"requires\": true,\n \"dependencies\": {\n \"@types/prop-types\": {\n \"version\": \"15.7.5\",\n \"resolved\": \"https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.5.tgz\",\n \"integrity\": \"sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w==\"\n },\n \"@types/react\": {\n \"version\": \"18.0.35\",\n \"resolved\": \"https://registry.npmjs.org/@types/react/-/react-18.0.35.tgz\",\n \"integrity\": \"sha512-6Laome31HpetaIUGFWl1VQ3mdSImwxtFZ39rh059a1MNnKGqBpC88J6NJ8n/Is3Qx7CefDGLgf/KhN/sYCf7ag==\",\n \"requires\": {\n \"@types/prop-types\": \"*\",\n \"@types/scheduler\": \"*\",\n \"csstype\": \"^3.0.2\"\n }\n },\n \"@types/react-dom\": {\n \"version\": \"18.0.11\",\n \"resolved\": \"https://registry.npmjs.org/@types/react-dom/-/react-dom-18.0.11.tgz\",\n \"integrity\": \"sha512-O38bPbI2CWtgw/OoQoY+BRelw7uysmXbWvw3nLWO21H1HSh+GOlqPuXshJfjmpNlKiiSDG9cc1JZAaMmVdcTlw==\",\n \"requires\": {\n \"@types/react\": \"*\"\n }\n },\n \"@types/scheduler\": {\n \"version\": \"0.16.3\",\n \"resolved\": \"https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.3.tgz\",\n \"integrity\": \"sha512-5cJ8CB4yAx7BH1oMvdU0Jh9lrEXyPkar6F9G/ERswkCuvP4KQZfZkSjcMbAICCpQTN4OuZn8tz0HiKv9TGZgrQ==\"\n },\n \"abbrev\": {\n \"version\": \"2.0.0\",\n \"resolved\": \"https://registry.npmjs.org/abbrev/-/abbrev-2.0.0.tgz\",\n \"integrity\": \"sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ==\"\n },\n \"accepts\": {\n \"version\": \"1.3.8\",\n \"resolved\": \"https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz\",\n \"integrity\": \"sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==\",\n \"requires\": {\n \"mime-types\": \"~2.1.34\",\n \"negotiator\": \"0.6.3\"\n }\n },\n \"array-flatten\": {\n \"version\": \"1.1.1\",\n \"resolved\": \"https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz\",\n \"integrity\": \"sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==\"\n },\n \"bar\": {\n \"version\": \"file:bar\",\n \"requires\": {\n \"uuid\": \"^9.0.0\"\n }\n },\n \"bitbucket-cachi2-npm-without-deps\": {\n \"version\": \"git+ssh://git@bitbucket.org/cachi-testing/cachi2-without-deps.git#9e164b97043a2d91bbeb992f6cc68a3d1015086a\",\n \"from\": \"bitbucket-cachi2-npm-without-deps@git@bitbucket.org:cachi-testing/cachi2-without-deps.git\"\n },\n \"bitbucket-cachi2-npm-without-deps-second\": {\n \"version\": \"git+ssh://git@bitbucket.org/cachi-testing/cachi2-without-deps-second.git#09992d418fc44a2895b7a9ff27c4e32d6f74a982\",\n \"from\": \"bitbucket-cachi2-npm-without-deps-second@git+https://bitbucket.org/cachi-testing/cachi2-without-deps-second.git\"\n },\n \"body-parser\": {\n \"version\": \"1.20.1\",\n \"resolved\": \"https://registry.npmjs.org/body-parser/-/body-parser-1.20.1.tgz\",\n \"integrity\": \"sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw==\",\n \"requires\": {\n \"bytes\": \"3.1.2\",\n \"content-type\": \"~1.0.4\",\n \"debug\": \"2.6.9\",\n \"depd\": \"2.0.0\",\n \"destroy\": \"1.2.0\",\n \"http-errors\": \"2.0.0\",\n \"iconv-lite\": \"0.4.24\",\n \"on-finished\": \"2.4.1\",\n \"qs\": \"6.11.0\",\n \"raw-body\": \"2.5.1\",\n \"type-is\": \"~1.6.18\",\n \"unpipe\": \"1.0.0\"\n }\n },\n \"bytes\": {\n \"version\": \"3.1.2\",\n \"resolved\": \"https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz\",\n \"integrity\": \"sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==\"\n },\n \"cachito-npm-without-deps\": {\n \"version\": \"https://github.com/cachito-testing/cachito-npm-without-deps/raw/tarball/cachito-npm-without-deps-1.0.0.tgz\",\n \"integrity\": \"sha512-Q+cfkK1fnrNJqxiig/iVSZTe83OWLdxhuGa96k1IJJ5nkTxrhNyh6MUZ6YHKH8xitDgpIQSojuntctt2pB7+3g==\"\n },\n \"call-bind\": {\n \"version\": \"1.0.2\",\n \"resolved\": \"https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz\",\n \"integrity\": \"sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==\",\n \"requires\": {\n \"function-bind\": \"^1.1.1\",\n \"get-intrinsic\": \"^1.0.2\"\n }\n },\n \"classnames\": {\n \"version\": \"2.3.2\",\n \"resolved\": \"https://registry.npmjs.org/classnames/-/classnames-2.3.2.tgz\",\n \"integrity\": \"sha512-CSbhY4cFEJRe6/GQzIk5qXZ4Jeg5pcsP7b5peFSDpffpe1cqjASH/n9UTjBwOp6XpMSTwQ8Za2K5V02ueA7Tmw==\"\n },\n \"colors\": {\n \"version\": \"1.4.0\",\n \"resolved\": \"https://registry.npmjs.org/colors/-/colors-1.4.0.tgz\",\n \"integrity\": \"sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==\"\n },\n \"content-disposition\": {\n \"version\": \"0.5.4\",\n \"resolved\": \"https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz\",\n \"integrity\": \"sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==\",\n \"requires\": {\n \"safe-buffer\": \"5.2.1\"\n }\n },\n \"content-type\": {\n \"version\": \"1.0.5\",\n \"resolved\": \"https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz\",\n \"integrity\": \"sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==\"\n },\n \"cookie\": {\n \"version\": \"0.5.0\",\n \"resolved\": \"https://registry.npmjs.org/cookie/-/cookie-0.5.0.tgz\",\n \"integrity\": \"sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==\"\n },\n \"cookie-signature\": {\n \"version\": \"1.0.6\",\n \"resolved\": \"https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz\",\n \"integrity\": \"sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==\"\n },\n \"csstype\": {\n \"version\": \"3.1.2\",\n \"resolved\": \"https://registry.npmjs.org/csstype/-/csstype-3.1.2.tgz\",\n \"integrity\": \"sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==\"\n },\n \"dateformat\": {\n \"version\": \"5.0.3\",\n \"resolved\": \"https://registry.npmjs.org/dateformat/-/dateformat-5.0.3.tgz\",\n \"integrity\": \"sha512-Kvr6HmPXUMerlLcLF+Pwq3K7apHpYmGDVqrxcDasBg86UcKeTSNWbEzU8bwdXnxnR44FtMhJAxI4Bov6Y/KUfA==\"\n },\n \"debug\": {\n \"version\": \"2.6.9\",\n \"resolved\": \"https://registry.npmjs.org/debug/-/debug-2.6.9.tgz\",\n \"integrity\": \"sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==\",\n \"requires\": {\n \"ms\": \"2.0.0\"\n }\n },\n \"depd\": {\n \"version\": \"2.0.0\",\n \"resolved\": \"https://registry.npmjs.org/depd/-/depd-2.0.0.tgz\",\n \"integrity\": \"sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==\"\n },\n \"destroy\": {\n \"version\": \"1.2.0\",\n \"resolved\": \"https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz\",\n \"integrity\": \"sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==\"\n },\n \"ee-first\": {\n \"version\": \"1.1.1\",\n \"resolved\": \"https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz\",\n \"integrity\": \"sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==\"\n },\n \"eggs\": {\n \"version\": \"file:eggs-packages/eggs\",\n \"requires\": {\n \"classnames\": \"^2.3.2\"\n }\n },\n \"encodeurl\": {\n \"version\": \"1.0.2\",\n \"resolved\": \"https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz\",\n \"integrity\": \"sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==\"\n },\n \"escape-html\": {\n \"version\": \"1.0.3\",\n \"resolved\": \"https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz\",\n \"integrity\": \"sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==\"\n },\n \"etag\": {\n \"version\": \"1.8.1\",\n \"resolved\": \"https://registry.npmjs.org/etag/-/etag-1.8.1.tgz\",\n \"integrity\": \"sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==\"\n },\n \"express\": {\n \"version\": \"4.18.2\",\n \"resolved\": \"https://registry.npmjs.org/express/-/express-4.18.2.tgz\",\n \"integrity\": \"sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ==\",\n \"requires\": {\n \"accepts\": \"~1.3.8\",\n \"array-flatten\": \"1.1.1\",\n \"body-parser\": \"1.20.1\",\n \"content-disposition\": \"0.5.4\",\n \"content-type\": \"~1.0.4\",\n \"cookie\": \"0.5.0\",\n \"cookie-signature\": \"1.0.6\",\n \"debug\": \"2.6.9\",\n \"depd\": \"2.0.0\",\n \"encodeurl\": \"~1.0.2\",\n \"escape-html\": \"~1.0.3\",\n \"etag\": \"~1.8.1\",\n \"finalhandler\": \"1.2.0\",\n \"fresh\": \"0.5.2\",\n \"http-errors\": \"2.0.0\",\n \"merge-descriptors\": \"1.0.1\",\n \"methods\": \"~1.1.2\",\n \"on-finished\": \"2.4.1\",\n \"parseurl\": \"~1.3.3\",\n \"path-to-regexp\": \"0.1.7\",\n \"proxy-addr\": \"~2.0.7\",\n \"qs\": \"6.11.0\",\n \"range-parser\": \"~1.2.1\",\n \"safe-buffer\": \"5.2.1\",\n \"send\": \"0.18.0\",\n \"serve-static\": \"1.15.0\",\n \"setprototypeof\": \"1.2.0\",\n \"statuses\": \"2.0.1\",\n \"type-is\": \"~1.6.18\",\n \"utils-merge\": \"1.0.1\",\n \"vary\": \"~1.1.2\"\n }\n },\n \"finalhandler\": {\n \"version\": \"1.2.0\",\n \"resolved\": \"https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz\",\n \"integrity\": \"sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==\",\n \"requires\": {\n \"debug\": \"2.6.9\",\n \"encodeurl\": \"~1.0.2\",\n \"escape-html\": \"~1.0.3\",\n \"on-finished\": \"2.4.1\",\n \"parseurl\": \"~1.3.3\",\n \"statuses\": \"2.0.1\",\n \"unpipe\": \"~1.0.0\"\n }\n },\n \"foo\": {\n \"version\": \"file:foo\",\n \"requires\": {\n \"abbrev\": \"^2.0.0\"\n }\n },\n \"forwarded\": {\n \"version\": \"0.2.0\",\n \"resolved\": \"https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz\",\n \"integrity\": \"sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==\"\n },\n \"fresh\": {\n \"version\": \"0.5.2\",\n \"resolved\": \"https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz\",\n \"integrity\": \"sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==\"\n },\n \"function-bind\": {\n \"version\": \"1.1.1\",\n \"resolved\": \"https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz\",\n \"integrity\": \"sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==\"\n },\n \"get-intrinsic\": {\n \"version\": \"1.2.0\",\n \"resolved\": \"https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.0.tgz\",\n \"integrity\": \"sha512-L049y6nFOuom5wGyRc3/gdTLO94dySVKRACj1RmJZBQXlbTMhtNIgkWkUHq+jYmZvKf14EW1EoJnnjbmoHij0Q==\",\n \"requires\": {\n \"function-bind\": \"^1.1.1\",\n \"has\": \"^1.0.3\",\n \"has-symbols\": \"^1.0.3\"\n }\n },\n \"has\": {\n \"version\": \"1.0.3\",\n \"resolved\": \"https://registry.npmjs.org/has/-/has-1.0.3.tgz\",\n \"integrity\": \"sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==\",\n \"requires\": {\n \"function-bind\": \"^1.1.1\"\n }\n },\n \"has-symbols\": {\n \"version\": \"1.0.3\",\n \"resolved\": \"https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz\",\n \"integrity\": \"sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==\"\n },\n \"http-errors\": {\n \"version\": \"2.0.0\",\n \"resolved\": \"https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz\",\n \"integrity\": \"sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==\",\n \"requires\": {\n \"depd\": \"2.0.0\",\n \"inherits\": \"2.0.4\",\n \"setprototypeof\": \"1.2.0\",\n \"statuses\": \"2.0.1\",\n \"toidentifier\": \"1.0.1\"\n }\n },\n \"iconv-lite\": {\n \"version\": \"0.4.24\",\n \"resolved\": \"https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz\",\n \"integrity\": \"sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==\",\n \"requires\": {\n \"safer-buffer\": \">= 2.1.2 < 3\"\n }\n },\n \"inherits\": {\n \"version\": \"2.0.4\",\n \"resolved\": \"https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz\",\n \"integrity\": \"sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==\"\n },\n \"ipaddr.js\": {\n \"version\": \"1.9.1\",\n \"resolved\": \"https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz\",\n \"integrity\": \"sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==\"\n },\n \"is-positive\": {\n \"version\": \"git+ssh://git@github.com/kevva/is-positive.git#97edff6f525f192a3f83cea1944765f769ae2678\",\n \"integrity\": \"sha512-8ND1j3y9/HP94TOvGzr69/FgbkX2ruOldhLEsTWwcJVfo4oRjwemJmJxt7RJkKYH8tz7vYBP9JcKQY8CLuJ90Q==\",\n \"from\": \"is-positive@github:kevva/is-positive\"\n },\n \"media-typer\": {\n \"version\": \"0.3.0\",\n \"resolved\": \"https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz\",\n \"integrity\": \"sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==\"\n },\n \"merge-descriptors\": {\n \"version\": \"1.0.1\",\n \"resolved\": \"https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz\",\n \"integrity\": \"sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==\"\n },\n \"methods\": {\n \"version\": \"1.1.2\",\n \"resolved\": \"https://registry.npmjs.org/methods/-/methods-1.1.2.tgz\",\n \"integrity\": \"sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==\"\n },\n \"mime\": {\n \"version\": \"1.6.0\",\n \"resolved\": \"https://registry.npmjs.org/mime/-/mime-1.6.0.tgz\",\n \"integrity\": \"sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==\"\n },\n \"mime-db\": {\n \"version\": \"1.52.0\",\n \"resolved\": \"https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz\",\n \"integrity\": \"sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==\"\n },\n \"mime-types\": {\n \"version\": \"2.1.35\",\n \"resolved\": \"https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz\",\n \"integrity\": \"sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==\",\n \"requires\": {\n \"mime-db\": \"1.52.0\"\n }\n },\n \"ms\": {\n \"version\": \"2.0.0\",\n \"resolved\": \"https://registry.npmjs.org/ms/-/ms-2.0.0.tgz\",\n \"integrity\": \"sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==\"\n },\n \"negotiator\": {\n \"version\": \"0.6.3\",\n \"resolved\": \"https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz\",\n \"integrity\": \"sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==\"\n },\n \"not-baz\": {\n \"version\": \"file:baz\",\n \"requires\": {\n \"bitbucket-cachi2-npm-without-deps\": \"git@bitbucket.org:cachi-testing/cachi2-without-deps.git\",\n \"dateformat\": \"^5.0.3\"\n }\n },\n \"object-inspect\": {\n \"version\": \"1.12.3\",\n \"resolved\": \"https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz\",\n \"integrity\": \"sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==\"\n },\n \"on-finished\": {\n \"version\": \"2.4.1\",\n \"resolved\": \"https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz\",\n \"integrity\": \"sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==\",\n \"requires\": {\n \"ee-first\": \"1.1.1\"\n }\n },\n \"parseurl\": {\n \"version\": \"1.3.3\",\n \"resolved\": \"https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz\",\n \"integrity\": \"sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==\"\n },\n \"path-to-regexp\": {\n \"version\": \"0.1.7\",\n \"resolved\": \"https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz\",\n \"integrity\": \"sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==\"\n },\n \"proxy-addr\": {\n \"version\": \"2.0.7\",\n \"resolved\": \"https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz\",\n \"integrity\": \"sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==\",\n \"requires\": {\n \"forwarded\": \"0.2.0\",\n \"ipaddr.js\": \"1.9.1\"\n }\n },\n \"qs\": {\n \"version\": \"6.11.0\",\n \"resolved\": \"https://registry.npmjs.org/qs/-/qs-6.11.0.tgz\",\n \"integrity\": \"sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==\",\n \"requires\": {\n \"side-channel\": \"^1.0.4\"\n }\n },\n \"range-parser\": {\n \"version\": \"1.2.1\",\n \"resolved\": \"https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz\",\n \"integrity\": \"sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==\"\n },\n \"raw-body\": {\n \"version\": \"2.5.1\",\n \"resolved\": \"https://registry.npmjs.org/raw-body/-/raw-body-2.5.1.tgz\",\n \"integrity\": \"sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==\",\n \"requires\": {\n \"bytes\": \"3.1.2\",\n \"http-errors\": \"2.0.0\",\n \"iconv-lite\": \"0.4.24\",\n \"unpipe\": \"1.0.0\"\n }\n },\n \"safe-buffer\": {\n \"version\": \"5.2.1\",\n \"resolved\": \"https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz\",\n \"integrity\": \"sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==\"\n },\n \"safer-buffer\": {\n \"version\": \"2.1.2\",\n \"resolved\": \"https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz\",\n \"integrity\": \"sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==\"\n },\n \"sax\": {\n \"version\": \"0.1.1\",\n \"resolved\": \"https://registry.npmjs.org/sax/-/sax-0.1.1.tgz\",\n \"integrity\": \"sha512-Ai+AtDgJw1fvUoUHwZO2TrI/3R0G76Y3jQ0Bf0riZL57ZPr7QvOm2FBe44S51C+qXoJjT2WKY0bZ60diGZsFZw==\"\n },\n \"send\": {\n \"version\": \"0.18.0\",\n \"resolved\": \"https://registry.npmjs.org/send/-/send-0.18.0.tgz\",\n \"integrity\": \"sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==\",\n \"requires\": {\n \"debug\": \"2.6.9\",\n \"depd\": \"2.0.0\",\n \"destroy\": \"1.2.0\",\n \"encodeurl\": \"~1.0.2\",\n \"escape-html\": \"~1.0.3\",\n \"etag\": \"~1.8.1\",\n \"fresh\": \"0.5.2\",\n \"http-errors\": \"2.0.0\",\n \"mime\": \"1.6.0\",\n \"ms\": \"2.1.3\",\n \"on-finished\": \"2.4.1\",\n \"range-parser\": \"~1.2.1\",\n \"statuses\": \"2.0.1\"\n },\n \"dependencies\": {\n \"ms\": {\n \"version\": \"2.1.3\",\n \"resolved\": \"https://registry.npmjs.org/ms/-/ms-2.1.3.tgz\",\n \"integrity\": \"sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==\"\n }\n }\n },\n \"serve-static\": {\n \"version\": \"1.15.0\",\n \"resolved\": \"https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz\",\n \"integrity\": \"sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==\",\n \"requires\": {\n \"encodeurl\": \"~1.0.2\",\n \"escape-html\": \"~1.0.3\",\n \"parseurl\": \"~1.3.3\",\n \"send\": \"0.18.0\"\n }\n },\n \"setprototypeof\": {\n \"version\": \"1.2.0\",\n \"resolved\": \"https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz\",\n \"integrity\": \"sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==\"\n },\n \"side-channel\": {\n \"version\": \"1.0.4\",\n \"resolved\": \"https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz\",\n \"integrity\": \"sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==\",\n \"requires\": {\n \"call-bind\": \"^1.0.0\",\n \"get-intrinsic\": \"^1.0.2\",\n \"object-inspect\": \"^1.9.0\"\n }\n },\n \"spam\": {\n \"version\": \"file:spam-packages/spam\",\n \"requires\": {\n \"colors\": \"^1.4.0\"\n }\n },\n \"statuses\": {\n \"version\": \"2.0.1\",\n \"resolved\": \"https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz\",\n \"integrity\": \"sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==\"\n },\n \"toidentifier\": {\n \"version\": \"1.0.1\",\n \"resolved\": \"https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz\",\n \"integrity\": \"sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==\"\n },\n \"type-is\": {\n \"version\": \"1.6.18\",\n \"resolved\": \"https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz\",\n \"integrity\": \"sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==\",\n \"requires\": {\n \"media-typer\": \"0.3.0\",\n \"mime-types\": \"~2.1.24\"\n }\n },\n \"unpipe\": {\n \"version\": \"1.0.0\",\n \"resolved\": \"https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz\",\n \"integrity\": \"sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==\"\n },\n \"utils-merge\": {\n \"version\": \"1.0.1\",\n \"resolved\": \"https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz\",\n \"integrity\": \"sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==\"\n },\n \"uuid\": {\n \"version\": \"9.0.0\",\n \"resolved\": \"https://registry.npmjs.org/uuid/-/uuid-9.0.0.tgz\",\n \"integrity\": \"sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==\"\n },\n \"vary\": {\n \"version\": \"1.1.2\",\n \"resolved\": \"https://registry.npmjs.org/vary/-/vary-1.1.2.tgz\",\n \"integrity\": \"sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==\"\n }\n }\n}\n" - }, - { - "abspath": "${test_case_tmpdir}/npm_smoketest_lockfile1-source/package.json", - "template": "{\n \"name\": \"npm_test\",\n \"version\": \"1.1.0\",\n \"main\": \"index.js\",\n \"scripts\": {\n \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://github.com/cachito-testing/cachito-npm-workspaces.git\"\n },\n \"keywords\": [],\n \"author\": \"\",\n \"license\": \"ISC\",\n \"bugs\": {\n \"url\": \"https://github.com/cachito-testing/cachito-npm-workspaces/issues\"\n },\n \"homepage\": \"https://github.com/cachito-testing/cachito-npm-workspaces#readme\",\n \"workspaces\": [\n \"foo\",\n \"./bar\",\n \"baz\",\n \"spam-packages/spam\",\n \"eggs-packages/*\"\n ],\n \"description\": \"\",\n \"dependencies\": {\n \"express\": \"^4.18.2\",\n \"@types/react-dom\": \"^18.0.1\",\n \"debug\": \"\",\n \"sax\": \"0.1.1\",\n \"is-positive\": \"\",\n \"cachito-npm-without-deps\": \"\",\n \"bitbucket-cachi2-npm-without-deps-second\": \"\"\n }\n}\n" - } - ] -} diff --git a/tests/integration/test_data/npm_smoketest_lockfile1/bom.json b/tests/integration/test_data/npm_smoketest_lockfile1/bom.json deleted file mode 100644 index 24e4ab30d..000000000 --- a/tests/integration/test_data/npm_smoketest_lockfile1/bom.json +++ /dev/null @@ -1,942 +0,0 @@ -{ - "bomFormat": "CycloneDX", - "components": [ - { - "name": "@types/prop-types", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/%40types/prop-types@15.7.5", - "type": "library", - "version": "15.7.5" - }, - { - "name": "@types/react-dom", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/%40types/react-dom@18.0.11", - "type": "library", - "version": "18.0.11" - }, - { - "name": "@types/react", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/%40types/react@18.0.35", - "type": "library", - "version": "18.0.35" - }, - { - "name": "@types/scheduler", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/%40types/scheduler@0.16.3", - "type": "library", - "version": "0.16.3" - }, - { - "name": "abbrev", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/abbrev@2.0.0", - "type": "library", - "version": "2.0.0" - }, - { - "name": "accepts", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/accepts@1.3.8", - "type": "library", - "version": "1.3.8" - }, - { - "name": "array-flatten", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/array-flatten@1.1.1", - "type": "library", - "version": "1.1.1" - }, - { - "name": "bar", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/bar?vcs_url=git%2Bhttps://github.com/cachito-testing/npm-cachi2-smoketest.git%40e5bd11ca3a7aacd81aa195275d679d954848c71c#bar", - "type": "library" - }, - { - "name": "bitbucket-cachi2-npm-without-deps-second", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/bitbucket-cachi2-npm-without-deps-second?vcs_url=git%2Bssh://git%40bitbucket.org/cachi-testing/cachi2-without-deps-second.git%4009992d418fc44a2895b7a9ff27c4e32d6f74a982", - "type": "library" - }, - { - "name": "bitbucket-cachi2-npm-without-deps", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/bitbucket-cachi2-npm-without-deps?vcs_url=git%2Bssh://git%40bitbucket.org/cachi-testing/cachi2-without-deps.git%409e164b97043a2d91bbeb992f6cc68a3d1015086a", - "type": "library" - }, - { - "name": "body-parser", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/body-parser@1.20.1", - "type": "library", - "version": "1.20.1" - }, - { - "name": "bytes", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/bytes@3.1.2", - "type": "library", - "version": "3.1.2" - }, - { - "name": "cachito-npm-without-deps", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/cachito-npm-without-deps?checksum=sha512:43e71f90ad5f9eb349ab18a283f8954994def373962ddc61b866bdea4d48249e67913c6b84dca1e8c519e981ca1fcc62b438292104a88ee9ed72db76a41efede&download_url=https://github.com/cachito-testing/cachito-npm-without-deps/raw/tarball/cachito-npm-without-deps-1.0.0.tgz", - "type": "library" - }, - { - "name": "call-bind", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/call-bind@1.0.2", - "type": "library", - "version": "1.0.2" - }, - { - "name": "classnames", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/classnames@2.3.2", - "type": "library", - "version": "2.3.2" - }, - { - "name": "colors", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/colors@1.4.0", - "type": "library", - "version": "1.4.0" - }, - { - "name": "content-disposition", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/content-disposition@0.5.4", - "type": "library", - "version": "0.5.4" - }, - { - "name": "content-type", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/content-type@1.0.5", - "type": "library", - "version": "1.0.5" - }, - { - "name": "cookie-signature", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/cookie-signature@1.0.6", - "type": "library", - "version": "1.0.6" - }, - { - "name": "cookie", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/cookie@0.5.0", - "type": "library", - "version": "0.5.0" - }, - { - "name": "csstype", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/csstype@3.1.2", - "type": "library", - "version": "3.1.2" - }, - { - "name": "dateformat", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/dateformat@5.0.3", - "type": "library", - "version": "5.0.3" - }, - { - "name": "debug", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/debug@2.6.9", - "type": "library", - "version": "2.6.9" - }, - { - "name": "depd", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/depd@2.0.0", - "type": "library", - "version": "2.0.0" - }, - { - "name": "destroy", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/destroy@1.2.0", - "type": "library", - "version": "1.2.0" - }, - { - "name": "ee-first", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/ee-first@1.1.1", - "type": "library", - "version": "1.1.1" - }, - { - "name": "eggs", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/eggs?vcs_url=git%2Bhttps://github.com/cachito-testing/npm-cachi2-smoketest.git%40e5bd11ca3a7aacd81aa195275d679d954848c71c#eggs-packages/eggs", - "type": "library" - }, - { - "name": "encodeurl", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/encodeurl@1.0.2", - "type": "library", - "version": "1.0.2" - }, - { - "name": "escape-html", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/escape-html@1.0.3", - "type": "library", - "version": "1.0.3" - }, - { - "name": "etag", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/etag@1.8.1", - "type": "library", - "version": "1.8.1" - }, - { - "name": "express", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/express@4.18.2", - "type": "library", - "version": "4.18.2" - }, - { - "name": "finalhandler", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/finalhandler@1.2.0", - "type": "library", - "version": "1.2.0" - }, - { - "name": "foo", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/foo?vcs_url=git%2Bhttps://github.com/cachito-testing/npm-cachi2-smoketest.git%40e5bd11ca3a7aacd81aa195275d679d954848c71c#foo", - "type": "library" - }, - { - "name": "forwarded", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/forwarded@0.2.0", - "type": "library", - "version": "0.2.0" - }, - { - "name": "fresh", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/fresh@0.5.2", - "type": "library", - "version": "0.5.2" - }, - { - "name": "function-bind", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/function-bind@1.1.1", - "type": "library", - "version": "1.1.1" - }, - { - "name": "get-intrinsic", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/get-intrinsic@1.2.0", - "type": "library", - "version": "1.2.0" - }, - { - "name": "has-symbols", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/has-symbols@1.0.3", - "type": "library", - "version": "1.0.3" - }, - { - "name": "has", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/has@1.0.3", - "type": "library", - "version": "1.0.3" - }, - { - "name": "http-errors", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/http-errors@2.0.0", - "type": "library", - "version": "2.0.0" - }, - { - "name": "iconv-lite", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/iconv-lite@0.4.24", - "type": "library", - "version": "0.4.24" - }, - { - "name": "inherits", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/inherits@2.0.4", - "type": "library", - "version": "2.0.4" - }, - { - "name": "ipaddr.js", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/ipaddr.js@1.9.1", - "type": "library", - "version": "1.9.1" - }, - { - "name": "is-positive", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/is-positive?vcs_url=git%2Bssh://git%40github.com/kevva/is-positive.git%4097edff6f525f192a3f83cea1944765f769ae2678", - "type": "library" - }, - { - "name": "media-typer", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/media-typer@0.3.0", - "type": "library", - "version": "0.3.0" - }, - { - "name": "merge-descriptors", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/merge-descriptors@1.0.1", - "type": "library", - "version": "1.0.1" - }, - { - "name": "methods", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/methods@1.1.2", - "type": "library", - "version": "1.1.2" - }, - { - "name": "mime-db", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/mime-db@1.52.0", - "type": "library", - "version": "1.52.0" - }, - { - "name": "mime-types", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/mime-types@2.1.35", - "type": "library", - "version": "2.1.35" - }, - { - "name": "mime", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/mime@1.6.0", - "type": "library", - "version": "1.6.0" - }, - { - "name": "ms", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/ms@2.0.0", - "type": "library", - "version": "2.0.0" - }, - { - "name": "ms", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/ms@2.1.3", - "type": "library", - "version": "2.1.3" - }, - { - "name": "negotiator", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/negotiator@0.6.3", - "type": "library", - "version": "0.6.3" - }, - { - "name": "not-baz", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/not-baz?vcs_url=git%2Bhttps://github.com/cachito-testing/npm-cachi2-smoketest.git%40e5bd11ca3a7aacd81aa195275d679d954848c71c#baz", - "type": "library" - }, - { - "name": "npm_test", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/npm_test@1.1.0?vcs_url=git%2Bhttps://github.com/cachito-testing/npm-cachi2-smoketest.git%40e5bd11ca3a7aacd81aa195275d679d954848c71c", - "type": "library", - "version": "1.1.0" - }, - { - "name": "object-inspect", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/object-inspect@1.12.3", - "type": "library", - "version": "1.12.3" - }, - { - "name": "on-finished", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/on-finished@2.4.1", - "type": "library", - "version": "2.4.1" - }, - { - "name": "parseurl", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/parseurl@1.3.3", - "type": "library", - "version": "1.3.3" - }, - { - "name": "path-to-regexp", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/path-to-regexp@0.1.7", - "type": "library", - "version": "0.1.7" - }, - { - "name": "proxy-addr", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/proxy-addr@2.0.7", - "type": "library", - "version": "2.0.7" - }, - { - "name": "qs", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/qs@6.11.0", - "type": "library", - "version": "6.11.0" - }, - { - "name": "range-parser", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/range-parser@1.2.1", - "type": "library", - "version": "1.2.1" - }, - { - "name": "raw-body", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/raw-body@2.5.1", - "type": "library", - "version": "2.5.1" - }, - { - "name": "safe-buffer", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/safe-buffer@5.2.1", - "type": "library", - "version": "5.2.1" - }, - { - "name": "safer-buffer", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/safer-buffer@2.1.2", - "type": "library", - "version": "2.1.2" - }, - { - "name": "sax", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/sax@0.1.1", - "type": "library", - "version": "0.1.1" - }, - { - "name": "send", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/send@0.18.0", - "type": "library", - "version": "0.18.0" - }, - { - "name": "serve-static", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/serve-static@1.15.0", - "type": "library", - "version": "1.15.0" - }, - { - "name": "setprototypeof", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/setprototypeof@1.2.0", - "type": "library", - "version": "1.2.0" - }, - { - "name": "side-channel", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/side-channel@1.0.4", - "type": "library", - "version": "1.0.4" - }, - { - "name": "spam", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/spam?vcs_url=git%2Bhttps://github.com/cachito-testing/npm-cachi2-smoketest.git%40e5bd11ca3a7aacd81aa195275d679d954848c71c#spam-packages/spam", - "type": "library" - }, - { - "name": "statuses", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/statuses@2.0.1", - "type": "library", - "version": "2.0.1" - }, - { - "name": "toidentifier", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/toidentifier@1.0.1", - "type": "library", - "version": "1.0.1" - }, - { - "name": "type-is", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/type-is@1.6.18", - "type": "library", - "version": "1.6.18" - }, - { - "name": "unpipe", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/unpipe@1.0.0", - "type": "library", - "version": "1.0.0" - }, - { - "name": "utils-merge", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/utils-merge@1.0.1", - "type": "library", - "version": "1.0.1" - }, - { - "name": "uuid", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/uuid@9.0.0", - "type": "library", - "version": "9.0.0" - }, - { - "name": "vary", - "properties": [ - { - "name": "cachi2:found_by", - "value": "cachi2" - } - ], - "purl": "pkg:npm/vary@1.1.2", - "type": "library", - "version": "1.1.2" - } - ], - "metadata": { - "tools": [ - { - "name": "cachi2", - "vendor": "red hat" - } - ] - }, - "specVersion": "1.4", - "version": 1 -} diff --git a/tests/integration/test_data/npm_smoketest_lockfile1/container/Containerfile b/tests/integration/test_data/npm_smoketest_lockfile1/container/Containerfile deleted file mode 100644 index 99891b2fe..000000000 --- a/tests/integration/test_data/npm_smoketest_lockfile1/container/Containerfile +++ /dev/null @@ -1,23 +0,0 @@ -FROM docker.io/node:10 - -# Test disabled network access -RUN if curl -IsS www.google.com; then echo "Has network access!"; exit 1; fi - -# Print cachi2 env vars file -RUN cat /tmp/cachi2.env - -# Check pip deps -RUN ls /tmp/npm_smoketest_lockfile1-output/deps/npm - -# Check content of source repository folder -RUN ls /tmp/npm_smoketest_lockfile1-source/ - -RUN cat /tmp/npm_smoketest_lockfile1-source/package-lock.json -RUN cat /tmp/npm_smoketest_lockfile1-source/package.json - -WORKDIR /tmp/npm_smoketest_lockfile1-source -# Install packages -RUN . /tmp/cachi2.env && npm i - -RUN mkdir /opt/source && cp -r /tmp/npm_smoketest_lockfile1-source/* /opt/source/ -WORKDIR /opt/source/ diff --git a/tests/integration/test_data/npm_smoketest_lockfile1/fetch_deps_sha256sums.json b/tests/integration/test_data/npm_smoketest_lockfile1/fetch_deps_sha256sums.json deleted file mode 100644 index d05a80708..000000000 --- a/tests/integration/test_data/npm_smoketest_lockfile1/fetch_deps_sha256sums.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "npm/abbrev-2.0.0.tgz": "sha256:d902db7eb4863e8f6d7d5e176295381eefb84fcd1e8f6be95cf517c744e75231", - "npm/accepts-1.3.8.tgz": "sha256:bf189aca3f8278229fc71526b8d5d2bae42e9eb2dae4992f2d3a944d32d06d75", - "npm/array-flatten-1.1.1.tgz": "sha256:1aca1277ec265d578b3ff517a8a7a07dbab5e6edd349775830ef38c38d6426ed", - "npm/bitbucket.org/cachi-testing/cachi2-without-deps-second/cachi2-without-deps-second-external-gitcommit-09992d418fc44a2895b7a9ff27c4e32d6f74a982.tgz": "gitcommit:09992d418fc44a2895b7a9ff27c4e32d6f74a982", - "npm/bitbucket.org/cachi-testing/cachi2-without-deps/cachi2-without-deps-external-gitcommit-9e164b97043a2d91bbeb992f6cc68a3d1015086a.tgz": "gitcommit:9e164b97043a2d91bbeb992f6cc68a3d1015086a", - "npm/body-parser-1.20.1.tgz": "sha256:b351860179971e924b8d03497e00d015b16eb7eb9a2a8bbc1efd169194081b56", - "npm/bytes-3.1.2.tgz": "sha256:835e37ad5a40da45eaed6e32d99847627a15b2a4671741182521fe48dee3c581", - "npm/call-bind-1.0.2.tgz": "sha256:c3956f8ad486c8ed25508d016738e3fc2126f9b77c89a080263cdf05e214341a", - "npm/classnames-2.3.2.tgz": "sha256:1efe6ad1b89dada842896e1eef0e1caebfbef1e62aeeb080d3b963289cec1bab", - "npm/colors-1.4.0.tgz": "sha256:b50eb83eda7cc37519809e240338fded8e625169945bbfe6d4156445c6610498", - "npm/content-disposition-0.5.4.tgz": "sha256:e494c8a7b68ac22ca1ea01e004e937e6fdfc696bc80d719664da43bc4b365452", - "npm/content-type-1.0.5.tgz": "sha256:ac31d098405f0242dd712218f38a14a6202bd4eb01067db05db765d9a9bd12c8", - "npm/cookie-0.5.0.tgz": "sha256:57895adc607e57b8824715e41537f7f84b06baac73be4fb2ec8212d5eeafd756", - "npm/cookie-signature-1.0.6.tgz": "sha256:89f345e24abee506e690eb6ff5bd1973957f916cba72b2a224ab2355544d5313", - "npm/csstype-3.1.2.tgz": "sha256:00e373e92e16bde6ba69aba88adb8813e96c856db14456f0cbf010cab1abd916", - "npm/dateformat-5.0.3.tgz": "sha256:61a810cad0d222e652453bb5cb73aa926d05f7ada9e7f01534cdaa4570bf2d5c", - "npm/debug-2.6.9.tgz": "sha256:34ae48c66698f1f81e2a2e6e322f34e8a88b0986a3fa7b74bb5ea14c0edb1c98", - "npm/depd-2.0.0.tgz": "sha256:28a58a2056093441f1d00d677d95918d2e4b3e98bac86237159101cae315d4a7", - "npm/destroy-1.2.0.tgz": "sha256:8dfd27e86cf54949a76ab5171df6c242d8b007d3ace136b67984fd64a171cfa8", - "npm/ee-first-1.1.1.tgz": "sha256:5148e8eb7e222b2a09127618bbdb5033daf6262cfc735d3101ea98620128b99c", - "npm/encodeurl-1.0.2.tgz": "sha256:cb46598dbb11155157acb5eeeedf93dd9c4522783a9c92c4240a0ad259dc4e8d", - "npm/escape-html-1.0.3.tgz": "sha256:a101155c3cbdfb1e4f98f2f83c8b5e392db6accfa606df0eba8b87a5762b0366", - "npm/etag-1.8.1.tgz": "sha256:f6a96c78a973d2ab660c9efeee6aa74a399cd9e770625ba1ed95e1aca9fd0faf", - "npm/express-4.18.2.tgz": "sha256:8a4a69997fb326bd5966256709dbce2acff6cd53e048fc017c28b8c85f91c37e", - "npm/external-cachito-npm-without-deps/cachito-npm-without-deps-external-sha512-43e71f90ad5f9eb349ab18a283f8954994def373962ddc61b866bdea4d48249e67913c6b84dca1e8c519e981ca1fcc62b438292104a88ee9ed72db76a41efede.tgz": "sha256:1b07232aba6771f00179855f96b7151f673124afc177989555c1bf7e07250560", - "npm/finalhandler-1.2.0.tgz": "sha256:583e4b226a729e6d47cca3b9859a1755f2c953ae78fc2d75d8fe16dbbeb99235", - "npm/forwarded-0.2.0.tgz": "sha256:9b5a5de95fb85fcb58db5e4fcd94ce8ab9f0476d02202e20a5225cec60431c99", - "npm/fresh-0.5.2.tgz": "sha256:25e676f9f00a8dddc7214f46258b71c0188a0ee004903f05109ecfce9a5a844c", - "npm/function-bind-1.1.1.tgz": "sha256:2d552e7c98b4c3acbf6420cc2eed535e592bb987ed2b32e35795bf777dd2e082", - "npm/get-intrinsic-1.2.0.tgz": "sha256:f1adf6a77d2fc20ba0dd6a00d542b73d0a6b3b9dc82fe3ea83290b2625d20b04", - "npm/github.com/kevva/is-positive/is-positive-external-gitcommit-97edff6f525f192a3f83cea1944765f769ae2678.tgz": "gitcommit:97edff6f525f192a3f83cea1944765f769ae2678", - "npm/has-1.0.3.tgz": "sha256:c38cf9eefce04e58ec3e945bfe448b9236d64f9337f6bf6e1f62e1c5b6b05573", - "npm/has-symbols-1.0.3.tgz": "sha256:ddcc17682f1e12a9d00a1a8b656af941ed584914e55fc5caf1c2e7ce892ce6a6", - "npm/http-errors-2.0.0.tgz": "sha256:c14fd379e5a2c70199843d6711312375d568816a688cdebddc2c8168466ad7b7", - "npm/iconv-lite-0.4.24.tgz": "sha256:576c64f2098ed44c3d5e48d7a9dc65512700c1d6a969a71a74d474da8e734635", - "npm/inherits-2.0.4.tgz": "sha256:d94dbc6c1bb3c5ac0fb12a73ade187108fc60de273a1b754f55044eb5e24afaf", - "npm/ipaddr.js-1.9.1.tgz": "sha256:7441d9623f67fe4160eccfd82ae9a404dcd55e1e4f1b68e06e2374dade4e8fee", - "npm/media-typer-0.3.0.tgz": "sha256:2dfad81441b4f9225bdc15c3739b49bc4fdb80187989dcf35a4086645bab741f", - "npm/merge-descriptors-1.0.1.tgz": "sha256:880a3b47ccffbacb13d305f808be60bb48a772828a36b6f6188c911f1f76a409", - "npm/methods-1.1.2.tgz": "sha256:dfd206d1c4023f131d2edc0f79ee54f3abc31f3a001b10039e2823f64064a03c", - "npm/mime-1.6.0.tgz": "sha256:215210390e617ac355b422692c7096476e3fe648176cb72b40075a03c9cc379a", - "npm/mime-db-1.52.0.tgz": "sha256:b8e70bb4d52acd5d0d1ed848c0e6e3c903a533aa500acffbe003f011b18f9e3b", - "npm/mime-types-2.1.35.tgz": "sha256:49734fc98906e9baaacf8034923470a4c84de72943a7c005face63360701d1c3", - "npm/ms-2.0.0.tgz": "sha256:362152ab8864181fc3359a3c440eec58ce3e18f773b0dde4d88a84fe13d73ecb", - "npm/ms-2.1.3.tgz": "sha256:f6616e15e530ed552f9daa2d3ce71963947c6bc7c98c9b64fd3e673fd02622c6", - "npm/negotiator-0.6.3.tgz": "sha256:912e687ba0f7e94f8e323e29e307db4a1838629399ff635412ae2a5d39765213", - "npm/object-inspect-1.12.3.tgz": "sha256:4ae8a8dea6633e7574a21135318dbd6f6e385b466739444cd8aab5cebe0e22aa", - "npm/on-finished-2.4.1.tgz": "sha256:f64d42f1049c386cdac5204737e09564271639b2b7d203a3ea07ec07d5ddbd0a", - "npm/parseurl-1.3.3.tgz": "sha256:56ef4bfa11e097ce8196b26fa04b42d6091c32498fcab4478e6dd298435f021a", - "npm/path-to-regexp-0.1.7.tgz": "sha256:de5462f169a8975b74b0fbb63bd6a4de62516a60f9de7075b5cd3fa882c98f36", - "npm/proxy-addr-2.0.7.tgz": "sha256:a0d1b6f34f6d4e733429ba95f7adb7833c8ceab916ba574a93f8a8476bee46d9", - "npm/qs-6.11.0.tgz": "sha256:01d91ce44dbb4259dd304f96bc62be5fbbb0dc9f82b26d644c4a7ab5150ee235", - "npm/range-parser-1.2.1.tgz": "sha256:905266e2662590b009e38dc096d4e4e103aafda9cb67e658ca985b2d0ad2f926", - "npm/raw-body-2.5.1.tgz": "sha256:47a39c8dbfb29c162877c2009ce97537538c697a4286df3763f5a228d4b86b22", - "npm/safe-buffer-5.2.1.tgz": "sha256:5d181804516c4a693a384272a7bd0e42d17e0d4b301ccfbe408669ccafdcb3e8", - "npm/safer-buffer-2.1.2.tgz": "sha256:78812f65ae3b98071ce1c9bacbe0666f4220d0b2753c2a11530eb27df440a3b3", - "npm/sax-0.1.1.tgz": "sha256:0e88965da3ad5dea6bb94f1bf22035ea5c9844fd9e8f5a8d29235ab3ebd9178e", - "npm/send-0.18.0.tgz": "sha256:f69a729f09ed7cc4669925d27753f9702cb89d922eac29e1f7155d2c00b81b14", - "npm/serve-static-1.15.0.tgz": "sha256:49f7a6ef21fd21c4066d71c5ca934446a7471f05b8163d5abbadbc990149965b", - "npm/setprototypeof-1.2.0.tgz": "sha256:c83bcc6ea632567e3f6928a83a1c0c7073519aaca9b88b847a3b404417eadfe2", - "npm/side-channel-1.0.4.tgz": "sha256:352b84bca536881ae429da1b0574e6805572bdc0312384033f0445204b06d735", - "npm/statuses-2.0.1.tgz": "sha256:919840434d9af8b0252e769af0593628594aeacf9cad8dd946528fe29e372f5a", - "npm/toidentifier-1.0.1.tgz": "sha256:186fcc77488de327daf911d362d4e773bab9909f1df2a5f0c20b875205b92e08", - "npm/type-is-1.6.18.tgz": "sha256:94dab5853380e14378bab3fc4e4def824efd0d32783341f9c0ec98b6137dc3ae", - "npm/types-prop-types-15.7.5.tgz": "sha256:419d6d3356a2aee9a5a1d24e623c5236970655e3e7c66ed30328a8b2aad42ea0", - "npm/types-react-18.0.35.tgz": "sha256:b54e3cd6ec400f7cf54c45fdaf2bab69ca16711050599f0aea228cc16b249641", - "npm/types-react-dom-18.0.11.tgz": "sha256:ef1cb08620a9b00c912d25c1232e9dd92d337e30952e54a6218b153568ca1937", - "npm/types-scheduler-0.16.3.tgz": "sha256:e4034e4c768f0b329020cf27c2cf551517126663e99fd61735d336e0848efd1d", - "npm/unpipe-1.0.0.tgz": "sha256:2dfb5e06d1d4bf1fe9f0fa7f633c4a2fde04d8b41cf0b9bd249a42561d5edfb6", - "npm/utils-merge-1.0.1.tgz": "sha256:ded95d8fedda75712b7282073ee7e5b7359646d3f6cd4b1ed3b0ddfe5dae5036", - "npm/uuid-9.0.0.tgz": "sha256:567f987accbdaf335dc77e9d387b296965dae6831e941b6bb29c0ba29c47634f", - "npm/vary-1.1.2.tgz": "sha256:7378860671377a35e7a443ecfdca0745cfd066f595c90d581b827defea246e71" -} diff --git a/tests/integration/test_npm.py b/tests/integration/test_npm.py index 43ac009ef..c5d6c863e 100644 --- a/tests/integration/test_npm.py +++ b/tests/integration/test_npm.py @@ -12,27 +12,6 @@ @pytest.mark.parametrize( "test_params", [ - # Test case checks loading npm dependencies in SBOM format for source repo - # Plus fetching the dependencies - pytest.param( - utils.TestParameters( - repo="https://github.com/cachito-testing/npm-cachi2-smoketest.git", - ref="e5bd11ca3a7aacd81aa195275d679d954848c71c", - packages=({"path": ".", "type": "npm"},), - check_vendor_checksums=False, - ), - id="npm_smoketest_lockfile1", - ), - # bundled dependencies, see the repo README for more details - pytest.param( - utils.TestParameters( - repo="https://github.com/cachito-testing/npm-cachi2-bundled.git", - ref="87937b938d5c737bc4d62f3759478dd5e3e9ebb6", - packages=({"path": ".", "type": "npm"},), - check_vendor_checksums=False, - ), - id="npm_bundled_lockfile1", - ), pytest.param( utils.TestParameters( repo="https://github.com/cachito-testing/npm-cachi2-bundled.git", @@ -42,15 +21,6 @@ ), id="npm_bundled_lockfile3", ), - pytest.param( - utils.TestParameters( - repo="https://github.com/cachito-testing/npm-cachi2-registry-yarnpkg.git", - ref="666e85812266bdad8795e75025ce053ecbb060d9", - packages=({"path": ".", "type": "npm"},), - check_vendor_checksums=False, - ), - id="npm_lockfile1_yarn_registry", - ), pytest.param( utils.TestParameters( repo="https://github.com/cachito-testing/npm-cachi2-registry-yarnpkg.git", diff --git a/tests/unit/package_managers/test_npm.py b/tests/unit/package_managers/test_npm.py index 65dacca80..270a976dc 100644 --- a/tests/unit/package_managers/test_npm.py +++ b/tests/unit/package_managers/test_npm.py @@ -835,172 +835,6 @@ def test_resolve_npm_validation( @pytest.mark.parametrize( "main_pkg_subpath, package_lock_json, expected_output", [ - pytest.param( - ".", - { - "name": "foo", - "version": "1.0.0", - "lockfileVersion": 1, - "dependencies": { - "bar": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/bar/-/bar-2.0.0.tgz", - "integrity": "sha512-JCB8C6SnDoQf", - }, - }, - }, - { - "package": { - "name": "foo", - "version": "1.0.0", - "purl": f"pkg:npm/foo@1.0.0?vcs_url={MOCK_REPO_VCS_URL}", - }, - "dependencies": [ - { - "name": "bar", - "version": "2.0.0", - "purl": "pkg:npm/bar@2.0.0", - } - ], - "projectfiles": [ - ProjectFile(abspath="/some/path", template="some text"), - ProjectFile(abspath="/some/other/path", template="some other text"), - ], - }, - id="npm_v1_lockfile", - ), - pytest.param( - ".", - { - "name": "foo", - "version": "1.0.0", - "lockfileVersion": 1, - "dependencies": { - "bar": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/bar/-/bar-2.0.0.tgz", - "integrity": "sha512-JCB8C6SnDoQf", - "dependencies": { - "bar": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/bar/-/bar-3.0.0.tgz", - "integrity": "sha512-YOLOYOLO", - }, - "spam": { - "version": "4.0.0", - "bundled": True, - }, - }, - }, - }, - }, - { - "package": { - "name": "foo", - "version": "1.0.0", - "purl": f"pkg:npm/foo@1.0.0?vcs_url={MOCK_REPO_VCS_URL}", - }, - "dependencies": [ - { - "name": "bar", - "version": "2.0.0", - "purl": "pkg:npm/bar@2.0.0", - }, - { - "name": "bar", - "version": "3.0.0", - "purl": "pkg:npm/bar@3.0.0", - }, - { - "name": "spam", - "version": "4.0.0", - "purl": "pkg:npm/spam@4.0.0", - }, - ], - "projectfiles": [ - ProjectFile(abspath="/some/path", template="some text"), - ProjectFile(abspath="/some/other/path", template="some other text"), - ], - }, - id="npm_v1_lockfile_nested_deps", - ), - pytest.param( - ".", - { - "name": "foo", - "version": "1.0.0", - "lockfileVersion": 1, - "dependencies": { - "bar": { - "version": "https://foohub.org/bar/-/bar-2.0.0.tgz", - "integrity": "sha512-JCB8C6SnDoQf", - }, - "baz": { - "version": "file:baz", - }, - "spam": { - "version": "git+ssh://git@github.com/spam/spam.git#deadbeef", - }, - }, - }, - { - "package": { - "name": "foo", - "version": "1.0.0", - "purl": f"pkg:npm/foo@1.0.0?vcs_url={MOCK_REPO_VCS_URL}", - }, - "dependencies": [ - { - "name": "bar", - "purl": "pkg:npm/bar?checksum=sha512:24207c0ba4a70e841f&download_url=https://foohub.org/bar/-/bar-2.0.0.tgz", - }, - { - "name": "baz", - "purl": f"pkg:npm/baz?vcs_url={MOCK_REPO_VCS_URL}#baz", - }, - { - "name": "spam", - "purl": f"pkg:npm/spam?vcs_url={urlq('git+ssh://git@github.com/spam/spam.git@deadbeef')}", - }, - ], - "projectfiles": [ - ProjectFile(abspath="/some/path", template="some text"), - ProjectFile(abspath="/some/other/path", template="some other text"), - ], - }, - id="npm_v1_lockfile_non_registry_deps", - ), - pytest.param( - "subpath", - { - "name": "foo", - "version": "1.0.0", - "lockfileVersion": 1, - "dependencies": { - "baz": { - "version": "file:baz", - }, - }, - }, - { - "package": { - "name": "foo", - "version": "1.0.0", - "purl": f"pkg:npm/foo@1.0.0?vcs_url={MOCK_REPO_VCS_URL}#subpath", - }, - "dependencies": [ - { - "name": "baz", - "purl": f"pkg:npm/baz?vcs_url={MOCK_REPO_VCS_URL}#subpath/baz", - }, - ], - "projectfiles": [ - ProjectFile(abspath="/some/path", template="some text"), - ProjectFile(abspath="/some/other/path", template="some other text"), - ], - }, - id="npm_v1_at_subpath_with_file_dep", - ), pytest.param( ".", {