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

18h

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

18h - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

2

dist/index.js

@@ -51,3 +51,3 @@ "use strict";

const { pre = [], post = [] } = middleware || {};
const parsingMiddleware = accept ? [body_parser_1.handleParseError, body_parser_1.parseBody] : [];
const parsingMiddleware = accept ? [body_parser_1.handleParseError, (0, body_parser_1.parseBody)()] : [];
const middlewareChain = [

@@ -54,0 +54,0 @@ ...parsingMiddleware,

@@ -42,3 +42,3 @@ import Koa, { Next } from "koa";

const { pre = [], post = [] } = middleware || {};
const parsingMiddleware = accept ? [handleParseError, parseBody] : [];
const parsingMiddleware = accept ? [handleParseError, parseBody()] : [];
const middlewareChain = [

@@ -45,0 +45,0 @@ ...parsingMiddleware,

{
"name": "18h",
"description": "A Next.js style dynamic API router for Koa-based APIs.",
"version": "2.2.0",
"version": "2.2.1",
"repository": {

@@ -6,0 +6,0 @@ "url": "https://github.com/ridafkih/18h"

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