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

@monokle/validation

Package Overview
Dependencies
Maintainers
5
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@monokle/validation - npm Package Compare versions

Comparing version 0.28.0 to 0.28.1

18

lib/common/sarif.d.ts

@@ -0,1 +1,3 @@

import { Suppression } from '@monokle/types';
export type { Suppression, ExternalSuppression, SuppressionStatus, SuppressionKind } from '@monokle/types';
/**

@@ -60,18 +62,2 @@ * A response as defined by Static Analysis Results Interchange Format.

/**
* A request to suppress a result.
*
* @see https://docs.oasis-open.org/sarif/sarif/v2.1.0/csprd01/sarif-v2.1.0-csprd01.html#_Toc10541171
*/
export declare type Suppression = {
guid?: string;
kind: SuppressionKind;
status: SuppressionStatus;
justification?: string;
};
export declare type ExternalSuppression = Suppression & {
guid: string;
};
export declare type SuppressionKind = 'inSource' | 'external';
export declare type SuppressionStatus = 'underReview' | 'accepted' | 'rejected';
/**
* A suggestion to fix a problem.

@@ -78,0 +64,0 @@ *

4

lib/pluginLoaders/PluginLoader.js

@@ -5,4 +5,4 @@ import kbpPlugin from '../validators/practices/plugin.js';

import { dynamicImportCustomPluginLoader } from './dynamicImportLoader.js';
import { DEV_MODE_TOKEN, DevCustomValidator, KubernetesSchemaValidator, MetadataValidator, OpenPolicyAgentValidator, ResourceLinksValidator, SchemaLoader, SimpleCustomValidator, YamlValidator } from '../validators';
import { RemoteWasmLoader } from "../validators/open-policy-agent/wasmLoader/RemoteWasmLoader.browser";
import { DEV_MODE_TOKEN, DevCustomValidator, KubernetesSchemaValidator, MetadataValidator, OpenPolicyAgentValidator, ResourceLinksValidator, SchemaLoader, SimpleCustomValidator, YamlValidator, } from '../validators/index.js';
import { RemoteWasmLoader } from '../validators/open-policy-agent/wasmLoader/RemoteWasmLoader.browser.js';
export class DefaultPluginLoader {

@@ -9,0 +9,0 @@ _registry = {};

@@ -1,3 +0,4 @@

import { ExternalSuppression, Suppression, SuppressionKind, ValidationResult, ValidationRun } from '../../common/sarif.js';
import { Suppression, SuppressionKind, ValidationResult, ValidationRun } from '../../common/sarif.js';
import { Resource } from '../../common/types.js';
export type { AnnotationsSuppression, FingerprintSuppression } from '@monokle/types';
export declare type ResourceApi = {

@@ -13,9 +14,1 @@ getResource: () => Resource | undefined;

}
export interface AnnotationsSuppression extends Suppression {
kind: 'inSource';
status: 'accepted';
}
export interface FingerprintSuppression extends ExternalSuppression {
kind: 'external';
fingerprint: string;
}

@@ -1,2 +0,2 @@

import { FingerPrints, ValidationResult } from '../common/sarif';
import { FingerPrints, ValidationResult } from '../common/sarif.js';
export declare function fingerprint(result: ValidationResult): FingerPrints;

@@ -3,0 +3,0 @@ /**

{
"name": "@monokle/validation",
"version": "0.28.0",
"version": "0.28.1",
"description": "Kubernetes resource validation",

@@ -5,0 +5,0 @@ "author": "Kubeshop",

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