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

@sinet/validation

Package Overview
Dependencies
Maintainers
4
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sinet/validation - npm Package Compare versions

Comparing version 1.2.5 to 1.2.6

2

package.json
{
"name": "@sinet/validation",
"version": "1.2.5",
"version": "1.2.6",
"description": "",

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

@@ -63,3 +63,3 @@ 'use strict';

.optional()
.items( Joi.object().optional().keys( require( './template-attachments-schema' ) ) )
.items( Joi.object().optional().keys( require( './template-attachment' ) ) )
.description( 'The template attachments' ),

@@ -66,0 +66,0 @@

@@ -62,3 +62,3 @@ 'use strict';

// Get common template schema
.keys( require( './template-schema' )( level ) )
.keys( require( './template' )( level ) )
.description( 'The template data of the observation' ),

@@ -75,3 +75,3 @@

// Get common evidences schema
.items( Joi.object().optional().keys( require( './master-evidences-schema' ) ) )
.items( Joi.object().optional().keys( require( './master-evidences' ) ) )
.description( 'All of the evidences assigned in the observation' ),

@@ -88,3 +88,3 @@

// Get common prescibed resources schema
.items( Joi.object().optional().keys( require( './master-prescribed-resources-schema' ) ) )
.items( Joi.object().optional().keys( require( './master-prescribed-resource' ) ) )
.description( 'All of the prescribed resources assigned in the observation' ),

@@ -91,0 +91,0 @@

@@ -43,3 +43,3 @@ 'use strict';

// Get common rubric schema
.items( Joi.object().optional().keys( require( './rubric-schema' ) ) )
.items( Joi.object().optional().keys( require( './rubric' ) ) )
.description( 'The rubric data of the template -- Sanitizes HTML' ),

@@ -59,3 +59,3 @@

.optional()
.items( Joi.object().optional().keys( require( './template-attachments-schema' ) ) )
.items( Joi.object().optional().keys( require( './template-attachment' ) ) )
.description( 'The template attachments' ),

@@ -72,3 +72,3 @@

.optional()
.items( Joi.object().optional().keys( require( './indicators-schema' )( level ) ) )
.items( Joi.object().optional().keys( require( './indicator' )( level ) ) )
.description( 'Indicators array -- Sanitizes HTML' ),

@@ -86,3 +86,3 @@

.optional()
.items( Joi.object().optional().keys( require( './template-attachments-schema' ) ) )
.items( Joi.object().optional().keys( require( './template-attachment' ) ) )
.description( 'The template attachments' ),

@@ -97,3 +97,3 @@

// Get common rubric schema
.items( Joi.object().optional().keys( require( './rubric-schema' ) ) )
.items( Joi.object().optional().keys( require( './rubric' ) ) )
.description( 'The rubric data of the group -- Sanitizes HTML' ),

@@ -100,0 +100,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