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

@rapid-io/protocol

Package Overview
Dependencies
Maintainers
6
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rapid-io/protocol - npm Package Compare versions

Comparing version 0.0.71 to 0.0.72

test/validator.test.js

21

lib/schema/ca-ch.js

@@ -15,21 +15,2 @@ 'use strict'

},
'chan-id': {
anyOf: [
{
type: 'string',
pattern: '^[a-zA-Z0-9-_]+$',
},
{
type: 'object',
properties: {
pref: {
type: 'string',
pattern: '^[a-zA-Z0-9-_]+$',
},
},
required: ['pref'],
additionalProperties: false,
},
],
},
'sub-id': {

@@ -40,3 +21,3 @@ type: 'string',

},
required: ['evt-id', 'chan-id', 'sub-id'],
required: ['evt-id', 'sub-id'],
additionalProperties: false,

@@ -43,0 +24,0 @@ },

@@ -15,6 +15,2 @@ 'use strict'

},
'col-id': {
type: 'string',
pattern: '^[a-zA-Z0-9-_]+$',
},
'sub-id': {

@@ -25,3 +21,3 @@ type: 'string',

},
required: ['evt-id', 'col-id', 'sub-id'],
required: ['evt-id', 'sub-id'],
additionalProperties: false,

@@ -28,0 +24,0 @@ },

@@ -27,3 +27,3 @@ 'use strict'

},
required: ['evt-id', 'chan-id', 'body'],
required: ['evt-id', 'chan-id', 'sub-id', 'body'],
additionalProperties: false,

@@ -30,0 +30,0 @@ },

{
"name": "@rapid-io/protocol",
"version": "0.0.71",
"version": "0.0.72",
"description": "Protocol and validation for Rapid.io",
"main": "./lib/index.js",
"scripts": {
"test": "jest",
"test:watch": "jest --watch"
},
"dependencies": {

@@ -13,4 +17,5 @@ "ajv": "^5.0.0",

"babel-eslint": "^7.1.0",
"eslint": "^3.13.1"
"eslint": "^3.13.1",
"jest": "^20.0.4"
}
}
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