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 2.1.1 to 2.2.0

21

dist/sarif_converter.js

@@ -83,3 +83,3 @@ "use strict";

};
const getResults = (suggestions) => {
function getResults(suggestions) {
const output = [];

@@ -112,4 +112,10 @@ for (const [, suggestion] of Object.entries(suggestions)) {

},
],
]
};
if (suggestion.fingerprints) {
result.fingerprints = {};
suggestion.fingerprints.forEach(fingerprinting => {
result.fingerprints[fingerprinting.version] = fingerprinting.fingerprint;
});
}
const codeThreadFlows = [];

@@ -167,5 +173,7 @@ let i = 0;

}
const { message, argumentArray } = getArgumentsAndMessage(helpers, result.message.text);
result.message.text = message;
result.message.arguments = argumentArray;
if (result.message.text) {
const { message, argumentArray } = getArgumentsAndMessage(helpers, result.message.text);
result.message.text = message;
result.message.arguments = argumentArray;
}
const newResult = {

@@ -186,3 +194,4 @@ ...result,

return output;
};
}
;
//custom string splice implementation

@@ -189,0 +198,0 @@ function stringSplice(str, index, count, add) {

@@ -11,7 +11,6 @@ {

"scripts": {
"build": "tsc",
"compile": "tsc -p ./",
"build": "tsc -p ./",
"prepare": "npm run build",
"lint": "npx eslint src/**/*.ts",
"lint:fix": "npx eslint --fix src/**/*.ts",
"prepare": "npm run build",
"watch": "tsc -watch -p ./",

@@ -69,3 +68,3 @@ "test": "jest --coverage --runInBand --detectOpenHandles"

},
"version": "2.1.1"
"version": "2.2.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