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

node-sarif-builder

Package Overview
Dependencies
Maintainers
1
Versions
138
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-sarif-builder - npm Package Compare versions

Comparing version 0.1.1-alpha202201100714.0 to 0.1.1-alpha202201100723.0

2

package.json
{
"name": "node-sarif-builder",
"version": "0.1.1-alpha202201100714.0",
"version": "0.1.1-alpha202201100723.0",
"description": "Module to help building SARIF log files",

@@ -5,0 +5,0 @@ "main": "build/main/index.js",

@@ -38,4 +38,6 @@ import * as fs from 'fs-extra';

buildSarifJsonString() {
const sarifJson = JSON.stringify(this.log, null, 2);
buildSarifJsonString(indent = false) {
const sarifJson = indent
? JSON.stringify(this.log, null, 2)
: JSON.stringify(this.log);
if (sarifJson.includes('SARIF_BUILDER_INVALID')) {

@@ -42,0 +44,0 @@ throw new Error(

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