New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vite-express

Package Overview
Dependencies
Maintainers
0
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-express - npm Package Compare versions

Comparing version 0.18.0 to 0.19.0

4

dist/main.d.ts

@@ -5,3 +5,3 @@ import express from "express";

import https from "https";
import { ServeStaticOptions } from "serve-static";
import { ExpressStaticGzipOptions } from "express-static-gzip";
import type { HmrOptions } from "vite";

@@ -42,3 +42,3 @@ type ViteConfig = {

build: typeof build;
static: (options?: ServeStaticOptions) => express.RequestHandler<core.ParamsDictionary, any, any, import("qs").ParsedQs, Record<string, any>>;
static: (options?: ExpressStaticGzipOptions) => express.RequestHandler<core.ParamsDictionary, any, any, import("qs").ParsedQs, Record<string, any>>;
getViteConfig: typeof getViteConfig;

@@ -45,0 +45,0 @@ Verbosity: typeof Verbosity;

'use strict';
var express = require('express');
var fs = require('fs');
var path = require('path');
var pc = require('picocolors');
var expressStaticGzip = require('express-static-gzip');

@@ -22,3 +22,3 @@ /******************************************************************************

***************************************************************************** */
/* global Reflect, Promise, SuppressedError, Symbol */
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */

@@ -160,3 +160,3 @@

}
return express.static(distPath, Object.assign({ index: false }, _State.staticOptions));
return expressStaticGzip(distPath, Object.assign({ index: false }, _State.staticOptions));
});

@@ -163,0 +163,0 @@ }

{
"name": "vite-express",
"version": "0.18.0",
"version": "0.19.0",
"main": "dist/main.js",

@@ -24,5 +24,8 @@ "types": "dist/main.d.ts",

"dependencies": {
"express-static-gzip": "^2.1.7",
"picocolors": "^1.0.0"
},
"devDependencies": {
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.9.1",
"@rollup/plugin-terser": "^0.4.4",

@@ -44,2 +47,3 @@ "@rollup/plugin-typescript": "^11.1.5",

"express": "^4.18.2",
"globals": "^15.9.0",
"husky": "^9.1.4",

@@ -46,0 +50,0 @@ "lint-staged": "^15.1.0",

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