snyk 1.773.0 → 1.777.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/64.index.js +4 -0
- package/dist/cli/64.index.js.map +1 -1
- package/dist/cli/85.index.js +309 -0
- package/dist/cli/85.index.js.map +1 -0
- package/dist/cli/875.index.js +26 -0
- package/dist/cli/875.index.js.map +1 -0
- package/dist/cli/959.index.js +1 -1
- package/dist/cli/970.index.js +2912 -12
- package/dist/cli/970.index.js.map +1 -1
- package/dist/cli/commands/{help.d.ts → help/index.d.ts} +0 -0
- package/dist/cli/commands/help/markdown-renderer.d.ts +1 -0
- package/dist/cli/commands/help/reflow-text.d.ts +28 -0
- package/dist/cli/exit-codes.d.ts +5 -0
- package/dist/cli/index.js +121 -17
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/main.d.ts +1 -0
- package/dist/cli/thirdPartyNotice.json +11 -2
- package/dist/lib/unexpected-error.d.ts +8 -0
- package/help/README.md +1 -45
- package/help/commands-md/snyk-auth.md +57 -45
- package/help/commands-md/snyk-code.md +71 -55
- package/help/commands-md/snyk-config.md +82 -61
- package/help/commands-md/snyk-container.md +101 -75
- package/help/commands-md/snyk-help.md +51 -40
- package/help/commands-md/snyk-iac.md +133 -101
- package/help/commands-md/snyk-ignore.md +63 -48
- package/help/commands-md/snyk-monitor.md +229 -176
- package/help/commands-md/snyk-policy.md +53 -41
- package/help/commands-md/snyk-protect.md +59 -41
- package/help/commands-md/snyk-test.md +229 -176
- package/help/commands-md/snyk-wizard.md +50 -39
- package/help/commands-md/snyk-woof.md +53 -41
- package/help/commands-md/snyk.md +31 -370
- package/package.json +7 -8
- package/dist/cli/862.index.js +0 -46
- package/dist/cli/862.index.js.map +0 -1
- package/help/_about-this-project/README.md +0 -3
- package/help/_about-this-project/why-we-are-bundling-dependencies.md +0 -11
- package/help/commands-docs/_ENVIRONMENT.md +0 -35
- package/help/commands-docs/_EXAMPLES.md +0 -46
- package/help/commands-docs/_EXIT_CODES.md +0 -8
- package/help/commands-docs/_NOTICES.md +0 -5
- package/help/commands-docs/_SNYK_COMMAND_HEADER.md +0 -54
- package/help/commands-docs/_SNYK_COMMAND_OPTIONS.md +0 -222
- package/help/commands-docs/_SNYK_GLOBAL_OPTIONS.md +0 -16
- package/help/commands-docs/auth.md +0 -18
- package/help/commands-docs/code.md +0 -37
- package/help/commands-docs/config.md +0 -47
- package/help/commands-docs/container.md +0 -63
- package/help/commands-docs/help.md +0 -11
- package/help/commands-docs/iac-examples.md +0 -24
- package/help/commands-docs/iac.md +0 -76
- package/help/commands-docs/ignore-examples.md +0 -4
- package/help/commands-docs/ignore.md +0 -28
- package/help/commands-docs/monitor.md +0 -9
- package/help/commands-docs/policy.md +0 -14
- package/help/commands-docs/protect.md +0 -14
- package/help/commands-docs/test.md +0 -9
- package/help/commands-docs/wizard.md +0 -16
- package/help/commands-docs/woof.md +0 -14
- package/help/commands-man/snyk-auth.1 +0 -84
- package/help/commands-man/snyk-code.1 +0 -95
- package/help/commands-man/snyk-config.1 +0 -107
- package/help/commands-man/snyk-container.1 +0 -119
- package/help/commands-man/snyk-help.1 +0 -73
- package/help/commands-man/snyk-iac.1 +0 -157
- package/help/commands-man/snyk-ignore.1 +0 -88
- package/help/commands-man/snyk-monitor.1 +0 -251
- package/help/commands-man/snyk-policy.1 +0 -76
- package/help/commands-man/snyk-protect.1 +0 -76
- package/help/commands-man/snyk-test.1 +0 -251
- package/help/commands-man/snyk-wizard.1 +0 -82
- package/help/commands-man/snyk-woof.1 +0 -76
- package/help/commands-man/snyk.1 +0 -350
- package/help/commands-txt/snyk-auth.txt +0 -101
- package/help/commands-txt/snyk-code.txt +0 -120
- package/help/commands-txt/snyk-config.txt +0 -128
- package/help/commands-txt/snyk-container.txt +0 -150
- package/help/commands-txt/snyk-help.txt +0 -90
- package/help/commands-txt/snyk-iac.txt +0 -196
- package/help/commands-txt/snyk-ignore.txt +0 -108
- package/help/commands-txt/snyk-monitor.txt +0 -357
- package/help/commands-txt/snyk-policy.txt +0 -93
- package/help/commands-txt/snyk-protect.txt +0 -97
- package/help/commands-txt/snyk-test.txt +0 -357
- package/help/commands-txt/snyk-wizard.txt +0 -104
- package/help/commands-txt/snyk-woof.txt +0 -94
- package/help/commands-txt/snyk.txt +0 -464
- package/help/generator/generate-docs.sh +0 -19
- package/help/generator/generator.ts +0 -152
- package/help/generator/ronn-ng.dockerfile +0 -8
- package/help/ide.svg +0 -1
- package/help/monitor.svg +0 -1
- package/help/snyk-cli-screenshot.png +0 -0
package/dist/cli/64.index.js
CHANGED
|
@@ -199196,6 +199196,7 @@ function parseManifestFile(manifestFileContents) {
|
|
|
199196
199196
|
}
|
|
199197
199197
|
exports.parseManifestFile = parseManifestFile;
|
|
199198
199198
|
function getTopLevelDeps({ targetFile, includeDev, includePeerDeps = false, applyYarn2Resolutions = false, }) {
|
|
199199
|
+
var _a, _b;
|
|
199199
199200
|
let dependencies = [];
|
|
199200
199201
|
const dependenciesIterator = Object.entries(Object.assign(Object.assign(Object.assign({}, targetFile.dependencies), (includeDev ? targetFile.devDependencies : null)), (targetFile.optionalDependencies || {})));
|
|
199201
199202
|
for (const [name, version] of dependenciesIterator) {
|
|
@@ -199209,6 +199210,9 @@ function getTopLevelDeps({ targetFile, includeDev, includePeerDeps = false, appl
|
|
|
199209
199210
|
}
|
|
199210
199211
|
if (includePeerDeps && targetFile.peerDependencies) {
|
|
199211
199212
|
for (const [name, version] of Object.entries(targetFile.peerDependencies)) {
|
|
199213
|
+
if ((_b = (_a = targetFile === null || targetFile === void 0 ? void 0 : targetFile.peerDependenciesMeta) === null || _a === void 0 ? void 0 : _a[name]) === null || _b === void 0 ? void 0 : _b.optional) {
|
|
199214
|
+
continue;
|
|
199215
|
+
}
|
|
199212
199216
|
dependencies.push({
|
|
199213
199217
|
name,
|
|
199214
199218
|
version,
|