Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@snyk/code-client

Package Overview
Dependencies
Maintainers
1
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@snyk/code-client - npm Package Compare versions

Comparing version 3.0.0 to 3.1.0

7

dist/interfaces/analysis-result.interface.d.ts

@@ -14,2 +14,9 @@ import { Log } from 'sarif';

}
export interface RuleProperties {
tags: string[];
exampleCommitFixes?: ExampleCommitFix[];
exampleCommitDescriptions?: string[];
precision: string;
cwe?: string[];
}
interface ExampleCommitFix {

@@ -16,0 +23,0 @@ commitURL: string;

11

dist/sarif_converter.js

@@ -48,2 +48,8 @@ "use strict";

const suggestionId = `${language}/${suggestion.rule}`;
const ruleProperties = {
tags: [language, ...suggestion.tags, ...suggestion.categories],
exampleCommitFixes: suggestion.exampleCommitFixes,
exampleCommitDescriptions: suggestion.exampleCommitDescriptions,
precision: 'very-high'
};
const rule = {

@@ -62,6 +68,3 @@ id: suggestionId,

},
properties: {
tags: [language, ...suggestion.tags, ...suggestion.categories],
precision: 'very-high',
},
properties: ruleProperties
};

@@ -68,0 +71,0 @@ if ((_a = suggestion.cwe) === null || _a === void 0 ? void 0 : _a.length) {

@@ -73,3 +73,3 @@ {

},
"version": "3.0.0"
"version": "3.1.0"
}

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