Socket
Socket
Sign inDemoInstall

@snyk/error-catalog-nodejs-public

Package Overview
Dependencies
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@snyk/error-catalog-nodejs-public - npm Package Compare versions

Comparing version 3.18.6 to 4.0.1

2

package.json
{
"name": "@snyk/error-catalog-nodejs-public",
"version": "3.18.6",
"version": "4.0.1",
"type": "commonjs",

@@ -5,0 +5,0 @@ "author": "snyk.io",

@@ -26,31 +26,14 @@ /*

OpenSourceEcosystems: {
UnsupportedEcosystem: string;
UnparseableManifest: string;
LockFileOutOfSync: string;
UnparseableLockFile: string;
UnknownDependencyVersion: string;
MissingHeader: string;
MissingPayload: string;
UnprocessableFile: string;
SourceNotSupported: string;
CannotGetFileFromSource: string;
NoReleasedVersionForVersionsRange: string;
TimeoutWhenProcessingTheDepTree: string;
TooManyManifestFiles: string;
FailedToApplyDependencyUpdates: string;
UnknownBlobEncodingOnGithub: string;
NoResultsFromForkerProcesses: string;
ChildProcessExecution: string;
NoValidPackageUpgrades: string;
NoDependencyUpdates: string;
MissingRequiredRequestHeader: string;
CouldNotParseJSONFile: string;
Base64Encode: string;
Base64Decode: string;
MissingSupportedFile: string;
MissingEnvironmentVariable: string;
NoOutputFromIsolatedBuilds: string;
FailedToRelock: string;
InvalidConfiguration: string;
UnsupportedManifestFile: string;
UnsupportedTargetFramework: string;
MissingStaticMainFunction: string;
PublishFailed: string;
PrivateModule: string;

@@ -60,2 +43,4 @@ GoModFileMissing: string;

IncompleteProject: string;
InconsistentVendoring: string;
UnsupportedExternalFileGenerationSCM: string;
MissingRequirementFromPom: string;

@@ -74,2 +59,5 @@ UnableToResolveValueForProperty: string;

CannotCreateGitHost: string;
NoReleasedVersionForVersionsRange: string;
SourceNotSupported: string;
TimeoutWhenProcessingTheDepTree: string;
NoRepoFoundForTheNPMPackage: string;

@@ -80,3 +68,15 @@ CouldNotParseNPMRegistryURL: string;

BadNPMVersion: string;
UnknownBlobEncodingOnGithub: string;
NoResultsFromForkerProcesses: string;
ChildProcessExecution: string;
NoValidPackageUpgrades: string;
NoDependencyUpdates: string;
CouldNotParseJSONFile: string;
Base64Encode: string;
Base64Decode: string;
MissingSupportedFile: string;
InvalidConfiguration: string;
UnsupportedRequirementsFile: string;
TooManyManifestFiles: string;
FailedToApplyDependencyUpdates: string;
};

@@ -108,2 +108,3 @@ PurlVulnerabilityFetching: {

BuildEnvironmentNotFound: string;
UnsupportedEcosystem: string;
};

@@ -156,4 +157,8 @@ OpenSourceProjectSnapshots: {

FailedToGenerateHash: string;
FailedToCreatePRTemplate: string;
FailedToReadPRTemplate: string;
FailedToDeletePRTemplate: string;
PRTemplateInvalidPayload: string;
};
};
export default _default;

@@ -28,31 +28,14 @@ /*

OpenSourceEcosystems: {
UnsupportedEcosystem: 'SNYK-OS-0001',
UnparseableManifest: 'SNYK-OS-0002',
LockFileOutOfSync: 'SNYK-OS-0003',
UnparseableLockFile: 'SNYK-OS-0004',
UnknownDependencyVersion: 'SNYK-OS-0005',
MissingPayload: 'SNYK-OS-0006',
UnprocessableFile: 'SNYK-OS-0007',
SourceNotSupported: 'SNYK-OS-0008',
CannotGetFileFromSource: 'SNYK-OS-0009',
NoReleasedVersionForVersionsRange: 'SNYK-OS-0010',
TimeoutWhenProcessingTheDepTree: 'SNYK-OS-0011',
TooManyManifestFiles: 'SNYK-OS-0012',
FailedToApplyDependencyUpdates: 'SNYK-OS-0013',
UnknownBlobEncodingOnGithub: 'SNYK-OS-0014',
NoResultsFromForkerProcesses: 'SNYK-OS-0015',
ChildProcessExecution: 'SNYK-OS-0016',
NoValidPackageUpgrades: 'SNYK-OS-0017',
NoDependencyUpdates: 'SNYK-OS-0018',
MissingRequiredRequestHeader: 'SNYK-OS-0019',
CouldNotParseJSONFile: 'SNYK-OS-0020',
Base64Encode: 'SNYK-OS-0021',
Base64Decode: 'SNYK-OS-0022',
MissingSupportedFile: 'SNYK-OS-0023',
MissingEnvironmentVariable: 'SNYK-OS-0024',
NoOutputFromIsolatedBuilds: 'SNYK-OS-0025',
FailedToRelock: 'SNYK-OS-0026',
InvalidConfiguration: 'SNYK-OS-0027',
UnparseableManifest: 'SNYK-OS-0001',
UnparseableLockFile: 'SNYK-OS-0002',
UnknownDependencyVersion: 'SNYK-OS-0003',
MissingHeader: 'SNYK-OS-0004',
MissingPayload: 'SNYK-OS-0005',
UnprocessableFile: 'SNYK-OS-0006',
CannotGetFileFromSource: 'SNYK-OS-0007',
MissingEnvironmentVariable: 'SNYK-OS-0008',
UnsupportedManifestFile: 'SNYK-OS-DOTNET-0001',
UnsupportedTargetFramework: 'SNYK-OS-DOTNET-0002',
MissingStaticMainFunction: 'SNYK-OS-DOTNET-0003',
PublishFailed: 'SNYK-OS-DOTNET-0004',
PrivateModule: 'SNYK-OS-GO-0001',

@@ -62,2 +45,4 @@ GoModFileMissing: 'SNYK-OS-GO-0002',

IncompleteProject: 'SNYK-OS-GO-0004',
InconsistentVendoring: 'SNYK-OS-GO-0005',
UnsupportedExternalFileGenerationSCM: 'SNYK-OS-GO-0006',
MissingRequirementFromPom: 'SNYK-OS-MAVEN-0001',

@@ -76,2 +61,5 @@ UnableToResolveValueForProperty: 'SNYK-OS-MAVEN-0002',

CannotCreateGitHost: 'SNYK-OS-MAVEN-0013',
NoReleasedVersionForVersionsRange: 'SNYK-OS-MAVEN-0014',
SourceNotSupported: 'SNYK-OS-MAVEN-0015',
TimeoutWhenProcessingTheDepTree: 'SNYK-OS-MAVEN-0016',
NoRepoFoundForTheNPMPackage: 'SNYK-OS-NODEJS-0001',

@@ -82,3 +70,15 @@ CouldNotParseNPMRegistryURL: 'SNYK-OS-NODEJS-0002',

BadNPMVersion: 'SNYK-OS-NODEJS-0005',
UnknownBlobEncodingOnGithub: 'SNYK-OS-NODEJS-0006',
NoResultsFromForkerProcesses: 'SNYK-OS-NODEJS-0007',
ChildProcessExecution: 'SNYK-OS-NODEJS-0008',
NoValidPackageUpgrades: 'SNYK-OS-NODEJS-0009',
NoDependencyUpdates: 'SNYK-OS-NODEJS-0010',
CouldNotParseJSONFile: 'SNYK-OS-NODEJS-0011',
Base64Encode: 'SNYK-OS-NODEJS-0012',
Base64Decode: 'SNYK-OS-NODEJS-0013',
MissingSupportedFile: 'SNYK-OS-NODEJS-0014',
InvalidConfiguration: 'SNYK-OS-NODEJS-0015',
UnsupportedRequirementsFile: 'SNYK-OS-PIP-0001',
TooManyManifestFiles: 'SNYK-OS-PIP-0002',
FailedToApplyDependencyUpdates: 'SNYK-OS-PIP-0003',
},

@@ -110,2 +110,3 @@ PurlVulnerabilityFetching: {

BuildEnvironmentNotFound: 'SNYK-OS-8002',
UnsupportedEcosystem: 'SNYK-OS-8003',
},

@@ -158,4 +159,8 @@ OpenSourceProjectSnapshots: {

FailedToGenerateHash: 'SNYK-PR-TEMPLATE-0006',
FailedToCreatePRTemplate: 'SNYK-PR-TEMPLATE-0007',
FailedToReadPRTemplate: 'SNYK-PR-TEMPLATE-0008',
FailedToDeletePRTemplate: 'SNYK-PR-TEMPLATE-0009',
PRTemplateInvalidPayload: 'SNYK-PR-TEMPLATE-0010',
},
};
//# sourceMappingURL=error-codes.js.map

@@ -116,1 +116,66 @@ /*

}
/**
* @class
* @name FailedToCreatePRTemplateError
* @description Snyk could not create pull request template.
*
* See more:
* - [https://docs.snyk.io/scan-application-code/snyk-open-source/open-source-basics/customize-pr-templates-closed-beta](https://docs.snyk.io/scan-application-code/snyk-open-source/open-source-basics/customize-pr-templates-closed-beta)
* @summary Unable to create pull request template
* @category Fix
* @param {string} details the specific details that causes this error
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
* @param {Error} [cause] the `Error` type that caused this error to be thrown
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
*/
export declare class FailedToCreatePRTemplateError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
}
/**
* @class
* @name FailedToReadPRTemplateError
* @description Snyk could not get pull request template.
*
* See more:
* - [https://docs.snyk.io/scan-application-code/snyk-open-source/open-source-basics/customize-pr-templates-closed-beta](https://docs.snyk.io/scan-application-code/snyk-open-source/open-source-basics/customize-pr-templates-closed-beta)
* @summary Unable to get pull request template
* @category Fix
* @param {string} details the specific details that causes this error
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
* @param {Error} [cause] the `Error` type that caused this error to be thrown
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
*/
export declare class FailedToReadPRTemplateError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
}
/**
* @class
* @name FailedToDeletePRTemplateError
* @description Snyk could not delete pull request template.
*
* See more:
* - [https://docs.snyk.io/scan-application-code/snyk-open-source/open-source-basics/customize-pr-templates-closed-beta](https://docs.snyk.io/scan-application-code/snyk-open-source/open-source-basics/customize-pr-templates-closed-beta)
* @summary Unable to delete pull request template
* @category Fix
* @param {string} details the specific details that causes this error
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
* @param {Error} [cause] the `Error` type that caused this error to be thrown
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
*/
export declare class FailedToDeletePRTemplateError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
}
/**
* @class
* @name PRTemplateInvalidPayloadError
* @description The pull request template payload is invalid.
* @summary Invalid payload
* @category Fix
* @param {string} details the specific details that causes this error
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
* @param {Error} [cause] the `Error` type that caused this error to be thrown
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
*/
export declare class PRTemplateInvalidPayloadError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
}

@@ -18,3 +18,3 @@ /*

Object.defineProperty(exports, "__esModule", { value: true });
exports.FailedToGenerateHashError = exports.FailedToLoadCompiledYamlError = exports.FailedToParsePullRequestAttributesError = exports.FailedToCompilePrTemplateError = exports.PullRequestTemplateNotFoundError = exports.FailedToGetPullRequestAttributesError = void 0;
exports.PRTemplateInvalidPayloadError = exports.FailedToDeletePRTemplateError = exports.FailedToReadPRTemplateError = exports.FailedToCreatePRTemplateError = exports.FailedToGenerateHashError = exports.FailedToLoadCompiledYamlError = exports.FailedToParsePullRequestAttributesError = exports.FailedToCompilePrTemplateError = exports.PullRequestTemplateNotFoundError = exports.FailedToGetPullRequestAttributesError = void 0;
const problem_error_1 = require("../problem-error");

@@ -196,2 +196,117 @@ /**

exports.FailedToGenerateHashError = FailedToGenerateHashError;
/**
* @class
* @name FailedToCreatePRTemplateError
* @description Snyk could not create pull request template.
*
* See more:
* - [https://docs.snyk.io/scan-application-code/snyk-open-source/open-source-basics/customize-pr-templates-closed-beta](https://docs.snyk.io/scan-application-code/snyk-open-source/open-source-basics/customize-pr-templates-closed-beta)
* @summary Unable to create pull request template
* @category Fix
* @param {string} details the specific details that causes this error
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
* @param {Error} [cause] the `Error` type that caused this error to be thrown
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
*/
class FailedToCreatePRTemplateError extends problem_error_1.ProblemError {
constructor(details, additionalData, cause, instance) {
super({
title: 'Unable to create pull request template',
type: 'https://docs.snyk.io/more-info/error-catalog#snyk-pr-template-0007',
status: 500,
errorCode: 'SNYK-PR-TEMPLATE-0007',
level: 'error',
instance,
}, details, Object.assign({ links: [
'https://docs.snyk.io/scan-application-code/snyk-open-source/open-source-basics/customize-pr-templates-closed-beta',
] }, additionalData), cause);
this.name = this.constructor.name;
}
}
exports.FailedToCreatePRTemplateError = FailedToCreatePRTemplateError;
/**
* @class
* @name FailedToReadPRTemplateError
* @description Snyk could not get pull request template.
*
* See more:
* - [https://docs.snyk.io/scan-application-code/snyk-open-source/open-source-basics/customize-pr-templates-closed-beta](https://docs.snyk.io/scan-application-code/snyk-open-source/open-source-basics/customize-pr-templates-closed-beta)
* @summary Unable to get pull request template
* @category Fix
* @param {string} details the specific details that causes this error
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
* @param {Error} [cause] the `Error` type that caused this error to be thrown
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
*/
class FailedToReadPRTemplateError extends problem_error_1.ProblemError {
constructor(details, additionalData, cause, instance) {
super({
title: 'Unable to get pull request template',
type: 'https://docs.snyk.io/more-info/error-catalog#snyk-pr-template-0008',
status: 500,
errorCode: 'SNYK-PR-TEMPLATE-0008',
level: 'error',
instance,
}, details, Object.assign({ links: [
'https://docs.snyk.io/scan-application-code/snyk-open-source/open-source-basics/customize-pr-templates-closed-beta',
] }, additionalData), cause);
this.name = this.constructor.name;
}
}
exports.FailedToReadPRTemplateError = FailedToReadPRTemplateError;
/**
* @class
* @name FailedToDeletePRTemplateError
* @description Snyk could not delete pull request template.
*
* See more:
* - [https://docs.snyk.io/scan-application-code/snyk-open-source/open-source-basics/customize-pr-templates-closed-beta](https://docs.snyk.io/scan-application-code/snyk-open-source/open-source-basics/customize-pr-templates-closed-beta)
* @summary Unable to delete pull request template
* @category Fix
* @param {string} details the specific details that causes this error
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
* @param {Error} [cause] the `Error` type that caused this error to be thrown
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
*/
class FailedToDeletePRTemplateError extends problem_error_1.ProblemError {
constructor(details, additionalData, cause, instance) {
super({
title: 'Unable to delete pull request template',
type: 'https://docs.snyk.io/more-info/error-catalog#snyk-pr-template-0009',
status: 500,
errorCode: 'SNYK-PR-TEMPLATE-0009',
level: 'error',
instance,
}, details, Object.assign({ links: [
'https://docs.snyk.io/scan-application-code/snyk-open-source/open-source-basics/customize-pr-templates-closed-beta',
] }, additionalData), cause);
this.name = this.constructor.name;
}
}
exports.FailedToDeletePRTemplateError = FailedToDeletePRTemplateError;
/**
* @class
* @name PRTemplateInvalidPayloadError
* @description The pull request template payload is invalid.
* @summary Invalid payload
* @category Fix
* @param {string} details the specific details that causes this error
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
* @param {Error} [cause] the `Error` type that caused this error to be thrown
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
*/
class PRTemplateInvalidPayloadError extends problem_error_1.ProblemError {
constructor(details, additionalData, cause, instance) {
super({
title: 'Invalid payload',
type: 'https://docs.snyk.io/more-info/error-catalog#snyk-pr-template-0010',
status: 400,
errorCode: 'SNYK-PR-TEMPLATE-0010',
level: 'error',
instance,
}, details, Object.assign({ links: [] }, additionalData), cause);
this.name = this.constructor.name;
}
}
exports.PRTemplateInvalidPayloadError = PRTemplateInvalidPayloadError;
//# sourceMappingURL=Fix-error-catalog.js.map

@@ -48,1 +48,18 @@ /*

}
/**
* @class
* @name UnsupportedEcosystemError
* @description The language or package manager is not supported.
*
* See more:
* - [https://docs.snyk.io/scan-applications/supported-languages-and-frameworks/supported-languages-frameworks-and-feature-availability-overview#open-source-and-licensing-snyk-open-source](https://docs.snyk.io/scan-applications/supported-languages-and-frameworks/supported-languages-frameworks-and-feature-availability-overview#open-source-and-licensing-snyk-open-source)
* @summary Unsupported Ecosystem
* @category IsolatedBuilds
* @param {string} details the specific details that causes this error
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
* @param {Error} [cause] the `Error` type that caused this error to be thrown
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
*/
export declare class UnsupportedEcosystemError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
}

@@ -18,3 +18,3 @@ /*

Object.defineProperty(exports, "__esModule", { value: true });
exports.BuildEnvironmentNotFoundError = exports.InvalidRequestError = void 0;
exports.UnsupportedEcosystemError = exports.BuildEnvironmentNotFoundError = exports.InvalidRequestError = void 0;
const problem_error_1 = require("../problem-error");

@@ -76,2 +76,32 @@ /**

exports.BuildEnvironmentNotFoundError = BuildEnvironmentNotFoundError;
/**
* @class
* @name UnsupportedEcosystemError
* @description The language or package manager is not supported.
*
* See more:
* - [https://docs.snyk.io/scan-applications/supported-languages-and-frameworks/supported-languages-frameworks-and-feature-availability-overview#open-source-and-licensing-snyk-open-source](https://docs.snyk.io/scan-applications/supported-languages-and-frameworks/supported-languages-frameworks-and-feature-availability-overview#open-source-and-licensing-snyk-open-source)
* @summary Unsupported Ecosystem
* @category IsolatedBuilds
* @param {string} details the specific details that causes this error
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
* @param {Error} [cause] the `Error` type that caused this error to be thrown
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
*/
class UnsupportedEcosystemError extends problem_error_1.ProblemError {
constructor(details, additionalData, cause, instance) {
super({
title: 'Unsupported Ecosystem',
type: 'https://docs.snyk.io/more-info/error-catalog#snyk-os-8003',
status: 400,
errorCode: 'SNYK-OS-8003',
level: 'error',
instance,
}, details, Object.assign({ links: [
'https://docs.snyk.io/scan-applications/supported-languages-and-frameworks/supported-languages-frameworks-and-feature-availability-overview#open-source-and-licensing-snyk-open-source',
] }, additionalData), cause);
this.name = this.constructor.name;
}
}
exports.UnsupportedEcosystemError = UnsupportedEcosystemError;
//# sourceMappingURL=IsolatedBuilds-error-catalog.js.map

@@ -19,19 +19,2 @@ /*

* @class
* @name UnsupportedEcosystemError
* @description The language or package manager is not supported.
*
* See more:
* - [https://docs.snyk.io/products/snyk-open-source/language-and-package-manager-support](https://docs.snyk.io/products/snyk-open-source/language-and-package-manager-support)
* @summary Unsupported Ecosystem
* @category OpenSourceEcosystems
* @param {string} details the specific details that causes this error
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
* @param {Error} [cause] the `Error` type that caused this error to be thrown
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
*/
export declare class UnsupportedEcosystemError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
}
/**
* @class
* @name UnparseableManifestError

@@ -51,16 +34,2 @@ * @description The provided manifest file could not be parsed as it has invalid syntax or does not match the expected schema. Review the manifest file, then try again.

* @class
* @name LockFileOutOfSyncError
* @description Some of the dependencies that are expected to be in the lock file are missing, usually indicating that the lock file is out of sync with the provided manifest file. Re-sync the lock file, then try again.
* @summary Lock file out of sync with manifest file
* @category OpenSourceEcosystems
* @param {string} details the specific details that causes this error
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
* @param {Error} [cause] the `Error` type that caused this error to be thrown
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
*/
export declare class LockFileOutOfSyncError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
}
/**
* @class
* @name UnparseableLockFileError

@@ -97,5 +66,5 @@ * @description The provided lock file could not be parsed as it has invalid syntax or does not match the expected schema. Review the lock file, then try again.

* @class
* @name MissingPayloadError
* @description The server could not process the request.
* @summary Payload missing required elements
* @name MissingHeaderError
* @description The server encountered a request that is missing a mandatory request header.
* @summary Missing required request header
* @category OpenSourceEcosystems

@@ -107,3 +76,3 @@ * @param {string} details the specific details that causes this error

*/
export declare class MissingPayloadError extends ProblemError {
export declare class MissingHeaderError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);

@@ -113,5 +82,5 @@ }

* @class
* @name UnprocessableFileError
* @description The dependency service could not process the files.
* @summary Files cannot be processed
* @name MissingPayloadError
* @description The server could not process the request.
* @summary Payload missing required elements
* @category OpenSourceEcosystems

@@ -123,3 +92,3 @@ * @param {string} details the specific details that causes this error

*/
export declare class UnprocessableFileError extends ProblemError {
export declare class MissingPayloadError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);

@@ -129,5 +98,5 @@ }

* @class
* @name SourceNotSupportedError
* @description The source used is not supported by fetcher. The supported sources are: github, bitbucket, gitlab.
* @summary Source is not supported
* @name UnprocessableFileError
* @description The dependency service could not process the files.
* @summary Files cannot be processed
* @category OpenSourceEcosystems

@@ -139,3 +108,3 @@ * @param {string} details the specific details that causes this error

*/
export declare class SourceNotSupportedError extends ProblemError {
export declare class UnprocessableFileError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);

@@ -159,5 +128,5 @@ }

* @class
* @name NoReleasedVersionForVersionsRangeError
* @description There was no version released for the specified versions range.
* @summary No released version for versions range
* @name MissingEnvironmentVariableError
* @description The server encountered a critical operation that requires a specific environment variable, but the variable is not set or is not accessible within the current environment.
* @summary Missing environment variable
* @category OpenSourceEcosystems

@@ -169,3 +138,3 @@ * @param {string} details the specific details that causes this error

*/
export declare class NoReleasedVersionForVersionsRangeError extends ProblemError {
export declare class MissingEnvironmentVariableError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);

@@ -175,5 +144,11 @@ }

* @class
* @name TimeoutWhenProcessingTheDepTreeError
* @description There was an timeout when processing the dependecy tree.
* @summary Timeout when processing the dependency tree
* @name UnsupportedManifestFileError
* @description The provided manifest file is not supported by Snyk for .NET.
*
* See more:
* - [https://docs.snyk.io/scan-applications/supported-languages-and-frameworks/.net#snyk-web-ui-git-repository-integration](https://docs.snyk.io/scan-applications/supported-languages-and-frameworks/.net#snyk-web-ui-git-repository-integration)
* - [https://docs.snyk.io/scan-applications/supported-languages-and-frameworks/.net#dependencies-managed-by-packagereference](https://docs.snyk.io/scan-applications/supported-languages-and-frameworks/.net#dependencies-managed-by-packagereference)
* - [https://docs.snyk.io/scan-applications/supported-languages-and-frameworks/.net#dependencies-managed-by-packages.config](https://docs.snyk.io/scan-applications/supported-languages-and-frameworks/.net#dependencies-managed-by-packages.config)
* - [https://docs.snyk.io/scan-applications/supported-languages-and-frameworks/.net#cli-options-for-use-with-other-dependencies](https://docs.snyk.io/scan-applications/supported-languages-and-frameworks/.net#cli-options-for-use-with-other-dependencies)
* @summary Unsupported manifest file type for remediation
* @category OpenSourceEcosystems

@@ -185,3 +160,3 @@ * @param {string} details the specific details that causes this error

*/
export declare class TimeoutWhenProcessingTheDepTreeError extends ProblemError {
export declare class UnsupportedManifestFileError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);

@@ -191,5 +166,5 @@ }

* @class
* @name TooManyManifestFilesError
* @description Too many manifest files were provided in the request body.
* @summary Received more manifests than expected
* @name UnsupportedTargetFrameworkError
* @description The provided manifest file defines a `<TargetFramework>` or `<TargetFrameworks>` that is not currently supported by Snyk's .NET scanning solution.
* @summary Target framework not supported
* @category OpenSourceEcosystems

@@ -201,3 +176,3 @@ * @param {string} details the specific details that causes this error

*/
export declare class TooManyManifestFilesError extends ProblemError {
export declare class UnsupportedTargetFrameworkError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);

@@ -207,5 +182,23 @@ }

* @class
* @name FailedToApplyDependencyUpdatesError
* @description An error occured while updating dependencies.
* @summary Failed to apply dependency updates
* @name MissingStaticMainFunctionError
* @description This error occurs when no static Main method with a correct signature is found in the code that produces an executable file.
* It also occurs if the entry point function, `Main`, is defined with the wrong case, such as lower-case main.
*
* In order to fix this issue, ensure that your program has a .cs file that contains a main function, such as
* ```c#
* namespace Example
* {
* class Program
* {
* static void Main(string[] args)
* {
* Console.WriteLine("hello world");
* }
* }
* }
* ```
*
* See more:
* - [https://learn.microsoft.com/en-us/dotnet/csharp/misc/cs5001](https://learn.microsoft.com/en-us/dotnet/csharp/misc/cs5001)
* @summary Your C# code is missing a static Main function
* @category OpenSourceEcosystems

@@ -217,3 +210,3 @@ * @param {string} details the specific details that causes this error

*/
export declare class FailedToApplyDependencyUpdatesError extends ProblemError {
export declare class MissingStaticMainFunctionError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);

@@ -223,5 +216,18 @@ }

* @class
* @name UnknownBlobEncodingOnGithubError
* @description Unknown blob encoding on Github.
* @summary Unknown blob encoding on Github
* @name PublishFailedError
* @description This error occurs when running `dotnet publish --sc --framework <your-target-framework>` fails to generate a
* self-contained binary. Snyk needs to run this command in order to adequately determine the dependency tree for your project. If this command fails, Snyk cannot continue.
*
* Steps to determine why this happened:
*
* * Checkout a clean version of your project in a temporary folder
* * Run `dotnet publish --sc --framework <your-target-framework> ` on your project, and confirm this step fails.
*
* If this step is successful locally, it is possible that Snyk is running another version of the .NET SDK. To tell Snyk which version of the .NET SDK to use, consider using the [global.json](https://learn.microsoft.com/en-us/dotnet/core/tools/global-json) solution provided by Microsoft.
*
* See more:
* - [https://learn.microsoft.com/en-us/dotnet/core/tools/sdk-errors/](https://learn.microsoft.com/en-us/dotnet/core/tools/sdk-errors/)
* - [https://learn.microsoft.com/en-us/dotnet/core/tools/global-json](https://learn.microsoft.com/en-us/dotnet/core/tools/global-json)
* - [https://github.com/snyk/snyk-nuget-plugin/blob/885486aa656c28d3db465c8d22710770d5cc6773/lib/nuget-parser/cli/dotnet.ts#L67](https://github.com/snyk/snyk-nuget-plugin/blob/885486aa656c28d3db465c8d22710770d5cc6773/lib/nuget-parser/cli/dotnet.ts#L67)
* @summary The dotnet CLI is unable to generate a self-contained binary
* @category OpenSourceEcosystems

@@ -233,3 +239,3 @@ * @param {string} details the specific details that causes this error

*/
export declare class UnknownBlobEncodingOnGithubError extends ProblemError {
export declare class PublishFailedError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);

@@ -239,5 +245,9 @@ }

* @class
* @name NoResultsFromForkerProcessesError
* @description No result from forked process.
* @summary No result from forked process
* @name PrivateModuleError
* @description Snyk could not access the private modules within your go.mod files.
*
* See more:
* - [https://docs.snyk.io/scan-applications/supported-languages-and-frameworks/go#go-modules-and-snyk-cli](https://docs.snyk.io/scan-applications/supported-languages-and-frameworks/go#go-modules-and-snyk-cli)
* - [https://docs.snyk.io/scan-applications/supported-languages-and-frameworks/go#go-modules-and-git](https://docs.snyk.io/scan-applications/supported-languages-and-frameworks/go#go-modules-and-git)
* @summary Failed to access private module
* @category OpenSourceEcosystems

@@ -249,3 +259,3 @@ * @param {string} details the specific details that causes this error

*/
export declare class NoResultsFromForkerProcessesError extends ProblemError {
export declare class PrivateModuleError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);

@@ -255,5 +265,9 @@ }

* @class
* @name ChildProcessExecutionError
* @description The child process encountered an error during execution.
* @summary Child Process Execution Error
* @name GoModFileMissingError
* @description A go.mod file was not found in the current directory or any parent directory.
*
* See more:
* - [https://docs.snyk.io/scan-applications/supported-languages-and-frameworks/go#go-modules-and-snyk-cli](https://docs.snyk.io/scan-applications/supported-languages-and-frameworks/go#go-modules-and-snyk-cli)
* - [https://docs.snyk.io/scan-applications/supported-languages-and-frameworks/go#go-modules-and-git](https://docs.snyk.io/scan-applications/supported-languages-and-frameworks/go#go-modules-and-git)
* @summary Go mod file not found
* @category OpenSourceEcosystems

@@ -265,3 +279,3 @@ * @param {string} details the specific details that causes this error

*/
export declare class ChildProcessExecutionError extends ProblemError {
export declare class GoModFileMissingError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);

@@ -271,5 +285,13 @@ }

* @class
* @name NoValidPackageUpgradesError
* @description The system attempted to find valid upgrades for the packages specified in the lock file, but none were available.
* @summary No valid package upgrades
* @name SsoReAuthRequiredError
* @description Your code is cloned on an isolated environment using Git as it is required by Snyk to analyze its dependencies.
*
* Your Organization has enabled or enforced SAML SSO after you authorized Snyk to access your code, and a re-authentication is therefore required.
*
* The error you're seeing is usually reproducible by attempting to do a `git clone` of your repository with incorrectly configured credentials.
* Verify your authentication configuration with your Git cloud provider and try again.
*
* See more:
* - [https://docs.github.com/en/enterprise-cloud@latest/authentication/authenticating-with-saml-single-sign-on/about-authentication-with-saml-single-sign-on#about-oauth-apps-github-apps-and-saml-sso](https://docs.github.com/en/enterprise-cloud@latest/authentication/authenticating-with-saml-single-sign-on/about-authentication-with-saml-single-sign-on#about-oauth-apps-github-apps-and-saml-sso)
* @summary OAuth re-authorization required
* @category OpenSourceEcosystems

@@ -281,3 +303,3 @@ * @param {string} details the specific details that causes this error

*/
export declare class NoValidPackageUpgradesError extends ProblemError {
export declare class SsoReAuthRequiredError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);

@@ -287,5 +309,16 @@ }

* @class
* @name NoDependencyUpdatesError
* @description There are no available updates for the dependencies.
* @summary No dependency updates
* @name IncompleteProjectError
* @description Generating the dependency graph requires Snyk to run go list `go list -deps -json` inside the project. If the operation fails, creating a full dependency graph cannot continue.
*
* This error means that you need some cleanup, such as `go mod tidy`) or your project deployment process contains a code generation step such as `protobuf` or similar that is not currently supported by Snyk.
*
* To verify if this is the case, clone your project in a clean environment, run go list `go list -deps -json` and verify whether the operation fails.
*
* If Snyk cannot process your code successfully, insert the Snyk CLI as part of your deployment pipeline.
*
* See more:
* - [https://docs.snyk.io/snyk-cli](https://docs.snyk.io/snyk-cli)
* - [https://github.com/snyk/snyk-go-plugin](https://github.com/snyk/snyk-go-plugin)
* - [https://github.com/golang/go/blob/master/src/cmd/go/internal/list/list.go](https://github.com/golang/go/blob/master/src/cmd/go/internal/list/list.go)
* @summary Your project repository is missing required files
* @category OpenSourceEcosystems

@@ -297,3 +330,3 @@ * @param {string} details the specific details that causes this error

*/
export declare class NoDependencyUpdatesError extends ProblemError {
export declare class IncompleteProjectError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);

@@ -303,5 +336,18 @@ }

* @class
* @name MissingRequiredRequestHeaderError
* @description The server encountered a request that is missing a mandatory request header.
* @summary Missing required request header
* @name InconsistentVendoringError
* @description Generating the dependency graph requires Snyk to run `go list -deps -json` inside the project. If the operation fails, creating a full dependency graph cannot continue.
*
* This error means that there is inconsistency between your `vendor/modules.txt` file and your `go.mod` file. To remediate, you need to:
*
* * `go mod vendor`
* * `go mod tidy`
*
* Next, commit those changes to your repo. Snyk does not manipulate with your code on our end by design, which is why this is not done automatically.
*
* To verify if this is the case, clone your project in a clean environment, run go list `go list -deps -json` and verify whether the operation fails.
* Then try and run the above mentioned commands and see if your SCM system reports changes in files.
*
* See more:
* - [https://go.dev/ref/mod#go-mod-vendor](https://go.dev/ref/mod#go-mod-vendor)
* @summary Your project repository has inconsistent vendoring information
* @category OpenSourceEcosystems

@@ -313,3 +359,3 @@ * @param {string} details the specific details that causes this error

*/
export declare class MissingRequiredRequestHeaderError extends ProblemError {
export declare class InconsistentVendoringError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);

@@ -319,5 +365,7 @@ }

* @class
* @name CouldNotParseJSONFileError
* @description An error occurred while attempting to parse a JSON file.
* @summary Could not parse JSON file
* @name UnsupportedExternalFileGenerationSCMError
* @description Snyk currently does not support external file generation in your project. This limitation is due to Snyk's lack of visibility into the third-party generator tools you may be using and the specific commands required to generate these files.
*
* Snyk can only work with the files available in your repository and does not have insight into the generation process for external files.
* @summary Unsupported external file generation
* @category OpenSourceEcosystems

@@ -329,3 +377,3 @@ * @param {string} details the specific details that causes this error

*/
export declare class CouldNotParseJSONFileError extends ProblemError {
export declare class UnsupportedExternalFileGenerationSCMError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);

@@ -335,5 +383,5 @@ }

* @class
* @name Base64EncodeError
* @description An error occurred while attempting to perform Base64 encoding.
* @summary Could not Base64 encode
* @name MissingRequirementFromPomError
* @description The required property is missing from the pom object.
* @summary Missing property
* @category OpenSourceEcosystems

@@ -345,3 +393,3 @@ * @param {string} details the specific details that causes this error

*/
export declare class Base64EncodeError extends ProblemError {
export declare class MissingRequirementFromPomError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);

@@ -351,5 +399,5 @@ }

* @class
* @name Base64DecodeError
* @description An error occurred while attempting to perform Base64 decoding.
* @summary Could not Base64 decode
* @name UnableToResolveValueForPropertyError
* @description The targeted property could not be resolved with a valid value.
* @summary Unable to resolve value for property
* @category OpenSourceEcosystems

@@ -361,3 +409,3 @@ * @param {string} details the specific details that causes this error

*/
export declare class Base64DecodeError extends ProblemError {
export declare class UnableToResolveValueForPropertyError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);

@@ -367,5 +415,5 @@ }

* @class
* @name MissingSupportedFileError
* @description Could not find supported file.
* @summary Missing supported file
* @name UnableToResolveVersionForPropertyError
* @description The targeted property could not be resolved with a valid version.
* @summary Unable to resolve version for property
* @category OpenSourceEcosystems

@@ -377,3 +425,3 @@ * @param {string} details the specific details that causes this error

*/
export declare class MissingSupportedFileError extends ProblemError {
export declare class UnableToResolveVersionForPropertyError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);

@@ -383,5 +431,5 @@ }

* @class
* @name MissingEnvironmentVariableError
* @description The server encountered a critical operation that requires a specific environment variable, but the variable is not set or is not accessible within the current environment.
* @summary Missing environment variable
* @name CyclicPropertyDetectedInPomFileError
* @description There is circular dependency among properties in the Maven project's configuration file (POM), preventing proper resolution and causing an error.
* @summary Cyclic property detected in POM file
* @category OpenSourceEcosystems

@@ -393,3 +441,3 @@ * @param {string} details the specific details that causes this error

*/
export declare class MissingEnvironmentVariableError extends ProblemError {
export declare class CyclicPropertyDetectedInPomFileError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);

@@ -399,5 +447,5 @@ }

* @class
* @name NoOutputFromIsolatedBuildsError
* @description The response from isolated builds had no output.
* @summary No output from isolated builds
* @name UnableToParseXMLError
* @description There is an error parsing the XML file. This could be referring to either pom.xml or maven-metadata.xml.
* @summary Error parsing the XML file
* @category OpenSourceEcosystems

@@ -409,3 +457,3 @@ * @param {string} details the specific details that causes this error

*/
export declare class NoOutputFromIsolatedBuildsError extends ProblemError {
export declare class UnableToParseXMLError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);

@@ -415,5 +463,5 @@ }

* @class
* @name FailedToRelockError
* @description An error occurred while attempting to relock.
* @summary Failed to relock
* @name InvalidCoordinatesError
* @description The coordinates provided for a project were invalid.
* @summary Invalid coordinates provided
* @category OpenSourceEcosystems

@@ -425,3 +473,3 @@ * @param {string} details the specific details that causes this error

*/
export declare class FailedToRelockError extends ProblemError {
export declare class InvalidCoordinatesError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);

@@ -431,5 +479,5 @@ }

* @class
* @name InvalidConfigurationError
* @description The configuration parameter does not meet the expected data type. Please ensure the provided value is of the correct data type.
* @summary Invalid configuration
* @name SkippedGroupError
* @description Skipping a specific groupId starting due to remapped coordinates.
* @summary Skipping group
* @category OpenSourceEcosystems

@@ -441,3 +489,3 @@ * @param {string} details the specific details that causes this error

*/
export declare class InvalidConfigurationError extends ProblemError {
export declare class SkippedGroupError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);

@@ -447,11 +495,5 @@ }

* @class
* @name UnsupportedManifestFileError
* @description The provided manifest file is not supported by Snyk for .NET.
*
* See more:
* - [https://docs.snyk.io/scan-application-code/snyk-open-source/snyk-open-source-supported-languages-and-package-managers/snyk-for-.net#git-services-for-.net-projects](https://docs.snyk.io/scan-application-code/snyk-open-source/snyk-open-source-supported-languages-and-package-managers/snyk-for-.net#git-services-for-.net-projects)
* - [https://docs.snyk.io/scan-application-code/snyk-open-source/snyk-open-source-supported-languages-and-package-managers/snyk-for-.net#dependencies-managed-by-packagereference](https://docs.snyk.io/scan-application-code/snyk-open-source/snyk-open-source-supported-languages-and-package-managers/snyk-for-.net#dependencies-managed-by-packagereference)
* - [https://docs.snyk.io/scan-application-code/snyk-open-source/snyk-open-source-supported-languages-and-package-managers/snyk-for-.net#dependencies-managed-by-packages.config](https://docs.snyk.io/scan-application-code/snyk-open-source/snyk-open-source-supported-languages-and-package-managers/snyk-for-.net#dependencies-managed-by-packages.config)
* - [https://docs.snyk.io/scan-application-code/snyk-open-source/snyk-open-source-supported-languages-and-package-managers/snyk-for-.net#paket-dependencies-managed-by-paket](https://docs.snyk.io/scan-application-code/snyk-open-source/snyk-open-source-supported-languages-and-package-managers/snyk-for-.net#paket-dependencies-managed-by-paket)
* @summary Unsupported manifest file type for remediation
* @name PomFileNotFoundError
* @description The pom file was not found in Maven repository.
* @summary Pom file not found
* @category OpenSourceEcosystems

@@ -463,3 +505,3 @@ * @param {string} details the specific details that causes this error

*/
export declare class UnsupportedManifestFileError extends ProblemError {
export declare class PomFileNotFoundError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);

@@ -469,5 +511,5 @@ }

* @class
* @name UnsupportedTargetFrameworkError
* @description The provided manifest file defines a `<TargetFramework>` or `<TargetFrameworks>` that is not currently supported by Snyk's .NET scanning solution.
* @summary Target framework not supported
* @name MissingProjectFromPomError
* @description A project element is missing from POM.
* @summary Missing project from POM
* @category OpenSourceEcosystems

@@ -479,3 +521,3 @@ * @param {string} details the specific details that causes this error

*/
export declare class UnsupportedTargetFrameworkError extends ProblemError {
export declare class MissingProjectFromPomError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);

@@ -485,9 +527,5 @@ }

* @class
* @name PrivateModuleError
* @description Snyk could not access the private modules within your go.mod files.
*
* See more:
* - [https://docs.snyk.io/scan-application-code/snyk-open-source/snyk-open-source-supported-languages-and-package-managers/snyk-for-golang#go-modules-and-snyk-cli](https://docs.snyk.io/scan-application-code/snyk-open-source/snyk-open-source-supported-languages-and-package-managers/snyk-for-golang#go-modules-and-snyk-cli)
* - [https://docs.snyk.io/scan-application-code/snyk-open-source/snyk-open-source-supported-languages-and-package-managers/snyk-for-golang#go-modules-and-git](https://docs.snyk.io/scan-application-code/snyk-open-source/snyk-open-source-supported-languages-and-package-managers/snyk-for-golang#go-modules-and-git)
* @summary Failed to access private module
* @name CannotResolveTargetPomFromXmlError
* @description Cannot resolve the targeted POM from the input XML.
* @summary Cannot resolve the target POM from the input XML
* @category OpenSourceEcosystems

@@ -499,3 +537,3 @@ * @param {string} details the specific details that causes this error

*/
export declare class PrivateModuleError extends ProblemError {
export declare class CannotResolveTargetPomFromXmlError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);

@@ -505,9 +543,5 @@ }

* @class
* @name GoModFileMissingError
* @description A go.mod file was not found in the current directory or any parent directory.
*
* See more:
* - [https://docs.snyk.io/scan-application-code/snyk-open-source/snyk-open-source-supported-languages-and-package-managers/snyk-for-golang#go-modules-and-snyk-cli](https://docs.snyk.io/scan-application-code/snyk-open-source/snyk-open-source-supported-languages-and-package-managers/snyk-for-golang#go-modules-and-snyk-cli)
* - [https://docs.snyk.io/scan-application-code/snyk-open-source/snyk-open-source-supported-languages-and-package-managers/snyk-for-golang#go-modules-and-git](https://docs.snyk.io/scan-application-code/snyk-open-source/snyk-open-source-supported-languages-and-package-managers/snyk-for-golang#go-modules-and-git)
* @summary Go mod file not found
* @name CannotResolveTargetPomFromRepoError
* @description Cannot resolve the targeted POM from the repository.
* @summary Cannot resolve the target POM from the repository
* @category OpenSourceEcosystems

@@ -519,3 +553,3 @@ * @param {string} details the specific details that causes this error

*/
export declare class GoModFileMissingError extends ProblemError {
export declare class CannotResolveTargetPomFromRepoError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);

@@ -525,13 +559,5 @@ }

* @class
* @name SsoReAuthRequiredError
* @description Your code is cloned on an isolated environment using Git as it is required by Snyk to analyze its dependencies.
*
* Your Organization has enabled or enforced SAML SSO after you authorized Snyk to access your code, and a re-authentication is therefore required.
*
* The error you're seeing is usually reproducible by attempting to do a `git clone` of your repository with incorrectly configured credentials.
* Verify your authentication configuration with your Git cloud provider and try again.
*
* See more:
* - [https://docs.github.com/en/enterprise-cloud@latest/authentication/authenticating-with-saml-single-sign-on/about-authentication-with-saml-single-sign-on#about-oauth-apps-github-apps-and-saml-sso](https://docs.github.com/en/enterprise-cloud@latest/authentication/authenticating-with-saml-single-sign-on/about-authentication-with-saml-single-sign-on#about-oauth-apps-github-apps-and-saml-sso)
* @summary OAuth re-authorization required
* @name CannotGetBuildFileFromRepoError
* @description Cannot get the build file repository.
* @summary Cannot get the build file repository
* @category OpenSourceEcosystems

@@ -543,3 +569,3 @@ * @param {string} details the specific details that causes this error

*/
export declare class SsoReAuthRequiredError extends ProblemError {
export declare class CannotGetBuildFileFromRepoError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);

@@ -549,16 +575,5 @@ }

* @class
* @name IncompleteProjectError
* @description Generating the dependency graph requires Snyk to run go list `go list -deps -json` inside the Project. If the operation fails, creating a full dependency graph cannot continue.
*
* This error usually means that you need some cleanup, such as `go mod tidy`) or your Project deployment process contains a code generation step such as `protobuf` or something similar that is not currently supported by Snyk.
*
* To verify if this is the case, clone your Project in a clean environment, run go list `go list -deps -json` and verify whether the operation fails.
*
* If Snyk cannot process your code successfully, insert the Snyk CLI as part of your deployment pipeline.
*
* See more:
* - [https://docs.snyk.io/snyk-cli](https://docs.snyk.io/snyk-cli)
* - [https://github.com/snyk/snyk-go-plugin](https://github.com/snyk/snyk-go-plugin)
* - [https://github.com/golang/go/blob/master/src/cmd/go/internal/list/list.go](https://github.com/golang/go/blob/master/src/cmd/go/internal/list/list.go)
* @summary Your project repository is missing required files
* @name CannotCreateGitHostError
* @description Cannot create source URL.
* @summary Unable to create hosted git info
* @category OpenSourceEcosystems

@@ -570,3 +585,3 @@ * @param {string} details the specific details that causes this error

*/
export declare class IncompleteProjectError extends ProblemError {
export declare class CannotCreateGitHostError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);

@@ -576,5 +591,5 @@ }

* @class
* @name MissingRequirementFromPomError
* @description The required property is missing from the pom object.
* @summary Missing property
* @name NoReleasedVersionForVersionsRangeError
* @description There was no version released for the specified versions range.
* @summary No released version for versions range
* @category OpenSourceEcosystems

@@ -586,3 +601,3 @@ * @param {string} details the specific details that causes this error

*/
export declare class MissingRequirementFromPomError extends ProblemError {
export declare class NoReleasedVersionForVersionsRangeError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);

@@ -592,5 +607,5 @@ }

* @class
* @name UnableToResolveValueForPropertyError
* @description The targeted property could not be resolved with a valid value.
* @summary Unable to resolve value for property
* @name SourceNotSupportedError
* @description The source used is not supported by fetcher. The supported sources are: github, bitbucket, gitlab.
* @summary Source is not supported
* @category OpenSourceEcosystems

@@ -602,3 +617,3 @@ * @param {string} details the specific details that causes this error

*/
export declare class UnableToResolveValueForPropertyError extends ProblemError {
export declare class SourceNotSupportedError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);

@@ -608,5 +623,5 @@ }

* @class
* @name UnableToResolveVersionForPropertyError
* @description The targeted property could not be resolved with a valid version.
* @summary Unable to resolve version for property
* @name TimeoutWhenProcessingTheDepTreeError
* @description There was an timeout when processing the dependecy tree.
* @summary Timeout when processing the dependency tree
* @category OpenSourceEcosystems

@@ -618,3 +633,3 @@ * @param {string} details the specific details that causes this error

*/
export declare class UnableToResolveVersionForPropertyError extends ProblemError {
export declare class TimeoutWhenProcessingTheDepTreeError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);

@@ -624,5 +639,5 @@ }

* @class
* @name CyclicPropertyDetectedInPomFileError
* @description There is circular dependency among properties in the Maven project's configuration file (POM), preventing proper resolution and causing an error.
* @summary Cyclic property detected in POM file
* @name NoRepoFoundForTheNPMPackageError
* @description No repository found for the NPM package.
* @summary No repository found for A NPM package
* @category OpenSourceEcosystems

@@ -634,3 +649,3 @@ * @param {string} details the specific details that causes this error

*/
export declare class CyclicPropertyDetectedInPomFileError extends ProblemError {
export declare class NoRepoFoundForTheNPMPackageError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);

@@ -640,5 +655,5 @@ }

* @class
* @name UnableToParseXMLError
* @description There is an error parsing the XML file. This could be referring to either pom.xml or maven-metadata.xml.
* @summary Error parsing the XML file
* @name CouldNotParseNPMRegistryURLError
* @description Could not parse NPM registry URL.
* @summary Could not parse NPM registry URL
* @category OpenSourceEcosystems

@@ -650,3 +665,3 @@ * @param {string} details the specific details that causes this error

*/
export declare class UnableToParseXMLError extends ProblemError {
export declare class CouldNotParseNPMRegistryURLError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);

@@ -656,5 +671,5 @@ }

* @class
* @name InvalidCoordinatesError
* @description The coordinates provided for a project were invalid.
* @summary Invalid coordinates provided
* @name CouldNotFindBrokerURLError
* @description Could not find a broker resolved URL.
* @summary Could not find a broker resolved URL
* @category OpenSourceEcosystems

@@ -666,3 +681,3 @@ * @param {string} details the specific details that causes this error

*/
export declare class InvalidCoordinatesError extends ProblemError {
export declare class CouldNotFindBrokerURLError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);

@@ -672,5 +687,5 @@ }

* @class
* @name SkippedGroupError
* @description Skipping a specific groupId starting due to remapped coordinates.
* @summary Skipping group
* @name UnableToReplaceBrokerURLError
* @description Unable to replace all broker urls in lock file.
* @summary Unable to replace broker URL
* @category OpenSourceEcosystems

@@ -682,3 +697,3 @@ * @param {string} details the specific details that causes this error

*/
export declare class SkippedGroupError extends ProblemError {
export declare class UnableToReplaceBrokerURLError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);

@@ -688,5 +703,5 @@ }

* @class
* @name PomFileNotFoundError
* @description The pom file was not found in Maven repository.
* @summary Pom file not found
* @name BadNPMVersionError
* @description The NPM version is not supported.
* @summary Bad NPM version
* @category OpenSourceEcosystems

@@ -698,3 +713,3 @@ * @param {string} details the specific details that causes this error

*/
export declare class PomFileNotFoundError extends ProblemError {
export declare class BadNPMVersionError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);

@@ -704,5 +719,5 @@ }

* @class
* @name MissingProjectFromPomError
* @description A project element is missing from POM.
* @summary Missing project from POM
* @name UnknownBlobEncodingOnGithubError
* @description Unknown blob encoding on Github.
* @summary Unknown blob encoding on Github
* @category OpenSourceEcosystems

@@ -714,3 +729,3 @@ * @param {string} details the specific details that causes this error

*/
export declare class MissingProjectFromPomError extends ProblemError {
export declare class UnknownBlobEncodingOnGithubError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);

@@ -720,5 +735,5 @@ }

* @class
* @name CannotResolveTargetPomFromXmlError
* @description Cannot resolve the targeted POM from the input XML.
* @summary Cannot resolve the target POM from the input XML
* @name NoResultsFromForkerProcessesError
* @description No result from forked process.
* @summary No result from forked process
* @category OpenSourceEcosystems

@@ -730,3 +745,3 @@ * @param {string} details the specific details that causes this error

*/
export declare class CannotResolveTargetPomFromXmlError extends ProblemError {
export declare class NoResultsFromForkerProcessesError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);

@@ -736,5 +751,5 @@ }

* @class
* @name CannotResolveTargetPomFromRepoError
* @description Cannot resolve the targeted POM from the repository.
* @summary Cannot resolve the target POM from the repository
* @name ChildProcessExecutionError
* @description The child process encountered an error during execution.
* @summary Child Process Execution Error
* @category OpenSourceEcosystems

@@ -746,3 +761,3 @@ * @param {string} details the specific details that causes this error

*/
export declare class CannotResolveTargetPomFromRepoError extends ProblemError {
export declare class ChildProcessExecutionError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);

@@ -752,5 +767,5 @@ }

* @class
* @name CannotGetBuildFileFromRepoError
* @description Cannot get the build file repository.
* @summary Cannot get the build file repository
* @name NoValidPackageUpgradesError
* @description The system attempted to find valid upgrades for the packages specified in the lock file, but none were available.
* @summary No valid package upgrades
* @category OpenSourceEcosystems

@@ -762,3 +777,3 @@ * @param {string} details the specific details that causes this error

*/
export declare class CannotGetBuildFileFromRepoError extends ProblemError {
export declare class NoValidPackageUpgradesError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);

@@ -768,5 +783,5 @@ }

* @class
* @name CannotCreateGitHostError
* @description Cannot create source URL.
* @summary Unable to create hosted git info
* @name NoDependencyUpdatesError
* @description There are no available updates for the dependencies.
* @summary No dependency updates
* @category OpenSourceEcosystems

@@ -778,3 +793,3 @@ * @param {string} details the specific details that causes this error

*/
export declare class CannotCreateGitHostError extends ProblemError {
export declare class NoDependencyUpdatesError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);

@@ -784,5 +799,5 @@ }

* @class
* @name NoRepoFoundForTheNPMPackageError
* @description No repository found for the NPM package.
* @summary No repository found for A NPM package
* @name CouldNotParseJSONFileError
* @description An error occurred while attempting to parse a JSON file.
* @summary Could not parse JSON file
* @category OpenSourceEcosystems

@@ -794,3 +809,3 @@ * @param {string} details the specific details that causes this error

*/
export declare class NoRepoFoundForTheNPMPackageError extends ProblemError {
export declare class CouldNotParseJSONFileError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);

@@ -800,5 +815,5 @@ }

* @class
* @name CouldNotParseNPMRegistryURLError
* @description Could not parse NPM registry URL.
* @summary Could not parse NPM registry URL
* @name Base64EncodeError
* @description An error occurred while attempting to perform Base64 encoding.
* @summary Could not Base64 encode
* @category OpenSourceEcosystems

@@ -810,3 +825,3 @@ * @param {string} details the specific details that causes this error

*/
export declare class CouldNotParseNPMRegistryURLError extends ProblemError {
export declare class Base64EncodeError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);

@@ -816,5 +831,5 @@ }

* @class
* @name CouldNotFindBrokerURLError
* @description Could not find a broker resolved URL.
* @summary Could not find a broker resolved URL
* @name Base64DecodeError
* @description An error occurred while attempting to perform Base64 decoding.
* @summary Could not Base64 decode
* @category OpenSourceEcosystems

@@ -826,3 +841,3 @@ * @param {string} details the specific details that causes this error

*/
export declare class CouldNotFindBrokerURLError extends ProblemError {
export declare class Base64DecodeError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);

@@ -832,5 +847,5 @@ }

* @class
* @name UnableToReplaceBrokerURLError
* @description Unable to replace all broker urls in lock file.
* @summary Unable to replace broker URL
* @name MissingSupportedFileError
* @description Could not find supported file.
* @summary Missing supported file
* @category OpenSourceEcosystems

@@ -842,3 +857,3 @@ * @param {string} details the specific details that causes this error

*/
export declare class UnableToReplaceBrokerURLError extends ProblemError {
export declare class MissingSupportedFileError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);

@@ -848,5 +863,5 @@ }

* @class
* @name BadNPMVersionError
* @description The NPM version is not supported.
* @summary Bad NPM version
* @name InvalidConfigurationError
* @description The configuration parameter does not meet the expected data type. Please ensure the provided value is of the correct data type.
* @summary Invalid configuration
* @category OpenSourceEcosystems

@@ -858,3 +873,3 @@ * @param {string} details the specific details that causes this error

*/
export declare class BadNPMVersionError extends ProblemError {
export declare class InvalidConfigurationError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);

@@ -868,3 +883,3 @@ }

* See more:
* - [https://docs.snyk.io/scan-application-code/snyk-open-source/snyk-open-source-supported-languages-and-package-managers/snyk-for-python#git-services-for-pip-projects](https://docs.snyk.io/scan-application-code/snyk-open-source/snyk-open-source-supported-languages-and-package-managers/snyk-for-python#git-services-for-pip-projects)
* - [https://docs.snyk.io/scan-applications/supported-languages-and-frameworks/python#pip-and-git-repositories](https://docs.snyk.io/scan-applications/supported-languages-and-frameworks/python#pip-and-git-repositories)
* @summary Unsupported manifest file type for remediation

@@ -880,1 +895,29 @@ * @category OpenSourceEcosystems

}
/**
* @class
* @name TooManyManifestFilesError
* @description Too many manifest files were provided in the request body.
* @summary Received more manifests than expected
* @category OpenSourceEcosystems
* @param {string} details the specific details that causes this error
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
* @param {Error} [cause] the `Error` type that caused this error to be thrown
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
*/
export declare class TooManyManifestFilesError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
}
/**
* @class
* @name FailedToApplyDependencyUpdatesError
* @description An error occured while updating dependencies.
* @summary Failed to apply dependency updates
* @category OpenSourceEcosystems
* @param {string} details the specific details that causes this error
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
* @param {Error} [cause] the `Error` type that caused this error to be thrown
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
*/
export declare class FailedToApplyDependencyUpdatesError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string);
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc