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

apicco-lib

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apicco-lib - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

6

build.js

@@ -115,3 +115,3 @@ const path = require('path');

return compose([
const middleware = compose([
router.routes(),

@@ -126,4 +126,8 @@ router.allowedMethods({

]);
middleware.router = router;
return middleware;
}
module.exports = buildAPI;
/* eslint-env jest */
const koaRouter = require('koa-router');
const buildAPI = require('./build');

@@ -88,2 +89,7 @@

});
test('assigns koa-router to returned apicco middleware', async () => {
const middleware = buildAPI();
expect(middleware.router).toBeInstanceOf(koaRouter);
});
});

2

package.json
{
"name": "apicco-lib",
"version": "1.2.1",
"version": "1.2.2",
"description": "",

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

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