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

@tinyhttp/app

Package Overview
Dependencies
Maintainers
1
Versions
305
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tinyhttp/app - npm Package Compare versions

Comparing version 0.2.20 to 0.2.21

6

CHANGELOG.md
# @tinyhttp/app
## 0.2.21
### Patch Changes
- Refactor logger
## 0.2.19

@@ -4,0 +10,0 @@

2

dist/index.js

@@ -464,3 +464,3 @@ import { STATUS_CODES, METHODS, createServer } from 'http';

const applyHandler = (h) => async (req, res, next) => {
if (isAsync(h) || h instanceof Promise) {
if (isAsync(h)) {
await h(req, res, next);

@@ -467,0 +467,0 @@ }

{
"name": "@tinyhttp/app",
"version": "0.2.20",
"version": "0.2.21",
"description": "tinyhttp core with App, Request, Response and Router",

@@ -5,0 +5,0 @@ "type": "module",

@@ -53,3 +53,3 @@ ![](https://tinyhttp.v1rtl.site/cover.jpg)

import { App } from '@tinyhttp/app'
import logger from '@tinyhttp/logger'
import { logger } from '@tinyhttp/logger'

@@ -56,0 +56,0 @@ const app = new App()

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