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 5.9.1 to 5.9.2

2

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

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

@@ -38,2 +38,3 @@ /*

PublishFailed: string;
MissingMSBuildCondition: string;
PrivateModule: string;

@@ -40,0 +41,0 @@ GoModFileMissing: string;

@@ -40,2 +40,3 @@ /*

PublishFailed: 'SNYK-OS-DOTNET-0004',
MissingMSBuildCondition: 'SNYK-OS-DOTNET-0006',
PrivateModule: 'SNYK-OS-GO-0001',

@@ -42,0 +43,0 @@ GoModFileMissing: 'SNYK-OS-GO-0002',

@@ -236,2 +236,57 @@ /*

* @class
* @name MissingMSBuildConditionError
* @description The `dotnet` tool was unable to locate the `.targets`, `.csproj` or `.props` file responsible for one or more MSBuild conditions in your project file.
*
* The tool encountered an error like
* ```
* /path/to/file/project.csproj(33,13): error MSB4100: Expected "$(SomeCondition)" to evaluate to a boolean instead of "", in condition "!$(SomeCondition)".
* ```
*
* This means the condition definition is missing in the project file that is currently being restored and in any project linked to it from there.
*
* Snyk can scan only the project files accessible in the current repository or the private dependencies available to Snyk.
*
* For example, if your code has the following structure:
*
* ```title=project.targets
* <Project>
* <PropertyGroup>
* <SomeCondition Condition="'$(SomeCondition)' == ''">false</SomeCondition>
* </PropertyGroup>
* </Project>
* ```
*
* And
*
* ```title=project.csproj
* <Project Sdk='Microsoft.NET.Sdk'>
* <Import Project='..\external-libraries\some-library\project.targets' />
* <PropertyGroup>
* <TargetFrameworks>net8.0</TargetFrameworks>
* </PropertyGroup>
* <ItemGroup Condition='!$(SomeCondition)'>
* <PackageReference Include='Newtonsoft.Json' Version='13.0.3' />
* </ItemGroup>
* </Project>
* ```
*
* And `external-libraries` is not a part of your repository currently being scanned, Snyk is not able to find it.
*
* This error occurs when your code depends on external libraries that are added to or generated from your source code using external tools unknown to Snyk or as part of a build step in your build or a deployment pipeline.
*
* See more:
* - [https://learn.microsoft.com/en-us/visualstudio/msbuild/msbuild-conditional-constructs](https://learn.microsoft.com/en-us/visualstudio/msbuild/msbuild-conditional-constructs)
* @summary Missing MSBuild Condition Construct in project file
* @category OpenSourceEcosystems
* @param {string} details the specific details that causes this error
* @param {Classification} classification the error classification determining if the error is user-actionable or not
* @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 MissingMSBuildConditionError extends ProblemError {
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
}
/**
* @class
* @name PrivateModuleError

@@ -238,0 +293,0 @@ * @description Snyk could not access the private modules within your go.mod files.

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