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

@hono/vite-dev-server

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hono/vite-dev-server - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

10

dist/dev-server.js

@@ -35,7 +35,11 @@ import { getRequestListener } from "@hono/node-server";

}
const appModule = await server2.ssrLoadModule(entry);
let appModule;
try {
appModule = await server2.ssrLoadModule(entry);
} catch (e) {
return next(e);
}
const app = appModule["default"];
if (!app) {
console.error(`Failed to find a named export "default" from ${entry}`);
return next();
return next(new Error(`Failed to find a named export "default" from ${entry}`));
}

@@ -42,0 +46,0 @@ getRequestListener(async (request) => {

{
"name": "@hono/vite-dev-server",
"description": "Vite dev-server plugin for Hono",
"version": "0.3.1",
"version": "0.3.2",
"types": "dist/index.d.ts",

@@ -6,0 +6,0 @@ "module": "dist/index.js",

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