New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@capriza/as-inspector

Package Overview
Dependencies
Maintainers
4
Versions
156
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@capriza/as-inspector - npm Package Compare versions

Comparing version 0.2.63 to 0.2.64

2

package.json
{
"name": "@capriza/as-inspector",
"version": "0.2.63",
"version": "0.2.64",
"description": "Capriza AS inspector",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -53,2 +53,3 @@ const path = require('path');

//adding id to the transformed approval - when inspector does actions, it will have id
if(!ap.error && !ap.id) {

@@ -60,9 +61,12 @@ ap.id = ap.private.id;

//add valid approvals to LocalAPI.approvals:
if(approvalsObj.approvals && approvalsObj.approvals.length > 0) approvalsObj.approvals.forEach(ap=>{
//add valid approvals to LocalAPI.approvals:
if (approvalsObj.approvals && approvalsObj.approvals.length > 0) approvalsObj.approvals.forEach(ap => {
//handle approved/rejected:
if (ap.deleted){
if (!ap.error && !ap.id) {
ap.id = ap.private.id;
}
if (ap.deleted) {
delete LocalAPI.approvals[ap.id];
}else{
LocalAPI.approvals[ap.id]=ap;
} else if (!ap.error) {
LocalAPI.approvals[ap.id] = ap;
}

@@ -69,0 +73,0 @@ });

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