Socket
Socket
Sign inDemoInstall

h3

Package Overview
Dependencies
Maintainers
1
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

h3 - npm Package Compare versions

Comparing version 0.2.10 to 0.2.11

3

dist/index.js

@@ -470,6 +470,7 @@ 'use strict';

function createError(input) {
var _a;
if (input instanceof H3Error) {
return input;
}
const err = new H3Error(input.message);
const err = new H3Error((_a = input.message) != null ? _a : input.statusMessage);
if (input.statusCode) {

@@ -476,0 +477,0 @@ err.statusCode = input.statusCode;

{
"name": "h3",
"version": "0.2.10",
"version": "0.2.11",
"description": "Tiny JavaScript Server",

@@ -5,0 +5,0 @@ "repository": "unjs/h3",

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