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.5.0 to 0.5.1

15

dist/cloudflare-pages/cloudflare-pages.js
const nullScript = "export default { fetch: () => new Response(null, { status: 404 }) };";
let mf = void 0;
const getEnv = (options) => async () => {
const { Miniflare } = await import("miniflare");
mf = new Miniflare({
modules: true,
script: nullScript,
...options
});
if (!mf) {
const { Miniflare } = await import("miniflare");
mf = new Miniflare({
modules: true,
script: nullScript,
...options
});
}
const env = {

@@ -28,2 +30,3 @@ ...await mf.getBindings(),

mf?.dispose();
mf = void 0;
};

@@ -30,0 +33,0 @@ const plugin = (options) => {

6

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

@@ -61,3 +61,3 @@ "module": "dist/index.js",

"glob": "^10.3.10",
"hono": "^3.12.6",
"hono": "^4.0.1",
"playwright": "^1.39.0",

@@ -67,3 +67,3 @@ "publint": "^0.2.5",

"tsup": "^7.2.0",
"vite": "^5.0.12",
"vite": "^5.1.1",
"vitest": "^0.34.6"

@@ -70,0 +70,0 @@ },

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