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

darcon

Package Overview
Dependencies
Maintainers
1
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

darcon - npm Package Compare versions

Comparing version 1.3.85 to 1.3.86

2

package.json
{
"name": "darcon",
"version": "1.3.85",
"version": "1.3.86",
"description": "Simple Messaging/Service Bus for node entities over NatsIO",

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

@@ -13,3 +13,3 @@ let attributesRespected = [ 'user', 'files' ]

routes (fastify) { },
preValidation (path) { return {} }
preValidation (fastify, path) { return { } }
},

@@ -16,0 +16,0 @@

@@ -22,3 +22,3 @@ let Clerobee = require('clerobee')

if ( options.standard ) {
fastify.post( '/:division/:entity/:message', fastifyConfig.preValidation ? fastifyConfig.preValidation( '/:division/:entity/:message' ) : {}, async function (request, reply) {
fastify.post( '/:division/:entity/:message', fastifyConfig.preValidation ? fastifyConfig.preValidation( fastify, '/:division/:entity/:message' ) : {}, async function (request, reply) {
let newRequest = extractRequest( request, options )

@@ -40,3 +40,3 @@ let content = newRequest.body

if ( options.darcon ) {
fastify.post( options.darcon, fastifyConfig.preValidation ? fastifyConfig.preValidation( '/:division/:entity/:message' ) : {}, async function (request, reply) {
fastify.post( options.darcon, fastifyConfig.preValidation ? fastifyConfig.preValidation( fastify, '/:division/:entity/:message' ) : {}, async function (request, reply) {
let newRequest = extractRequest( request, options )

@@ -43,0 +43,0 @@ let content = newRequest.body

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