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 3.0.3 to 3.0.4

dist/@types/errors.d.ts

2

dist/util/routes.js

@@ -14,2 +14,3 @@ "use strict";

const middleware_1 = require("../util/middleware");
const errors_1 = require("../@types/errors");
/**

@@ -43,2 +44,3 @@ * Registers an endpoint to a a route.

context.status = 500;
console.warn(errors_1.Errors.RESPONSE_MISMATCH);
yield continueToPost();

@@ -45,0 +47,0 @@ return;

@@ -6,2 +6,3 @@ import Router from "koa-router";

import type { Next } from "koa";
import { Errors } from "@/@types/errors";

@@ -61,2 +62,3 @@ type MethodRegistrationFunction = (

context.status = 500;
console.warn(Errors.RESPONSE_MISMATCH);
await continueToPost();

@@ -63,0 +65,0 @@ return;

2

package.json
{
"name": "18h",
"description": "A Next.js style dynamic API router for Koa-based APIs.",
"version": "3.0.3",
"version": "3.0.4",
"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