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

rjq-api-koa

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rjq-api-koa - npm Package Compare versions

Comparing version 1.0.3 to 2.0.0

8

index.js

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

const assert = require('assert')
const Koa = require('koa')

@@ -7,7 +6,8 @@ const Router = require('koa-router')

module.exports = function (path, options) {
module.exports = function ({path = '/rjq-api', connection, queues} = {}) {
const app = new Koa()
const router = new Router()
assert(path, 'missing route path')
const api = rjqApi(options)
const api = rjqApi({
queues, connection
})
router

@@ -14,0 +14,0 @@ .get('/', function (ctx) {

{
"name": "rjq-api-koa",
"version": "1.0.3",
"version": "2.0.0",
"description": "Koa middleware for rjq-api",

@@ -13,3 +13,3 @@ "main": "index.js",

"koa-router": "^7.1.1",
"rjq-api": "^1.0.0"
"rjq-api": "^1.2.1"
},

@@ -16,0 +16,0 @@ "devDependencies": {

Sorry, the diff of this file is not supported yet

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