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

inspecjs

Package Overview
Dependencies
Maintainers
6
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

inspecjs - npm Package Compare versions

Comparing version 2.8.1 to 2.10.2

16

lib/compat_impl/compat_inspec_1_0.js

@@ -142,2 +142,7 @@ "use strict";

compute_status() {
if (this.attested &&
this.attestationStatus &&
!['failed', 'passed'].includes(this.attestationStatus)) {
throw new Error(`Attestation for control ${this.wraps.id} exists with invalid status: ${this.attestationStatus}`);
}
if (!this.status_list || this.status_list.includes('error')) {

@@ -158,13 +163,2 @@ return profileError;

}
else if (this.attested) {
if (this.attestationStatus === 'failed') {
return 'Failed';
}
else if (this.attestationStatus === 'passed') {
return 'Passed';
}
else {
throw new Error(`Attestation for control ${this.wraps.id} exists with invalid status: ${this.attestationStatus}`);
}
}
else if (this.status_list.includes('skipped')) {

@@ -171,0 +165,0 @@ return 'Not Reviewed';

{
"name": "inspecjs",
"version": "2.8.1",
"version": "2.10.2",
"description": "Schema definitions, classes on top, and utilities to deal with HDF files",

@@ -5,0 +5,0 @@ "files": [

Sorry, the diff of this file is not supported yet

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