You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

vite

Package Overview
Dependencies
Maintainers
4
Versions
716
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite - npm Package Compare versions

Comparing version
8.0.0-beta.14
to
8.0.0-beta.15
+4
dist/node/chunks/build.js
import "./logger.js";
import { A as clearLine, B as resolveLibFilename, D as build, E as ChunkMetadataMap, F as onRollupLog, G as toOutputFilePathInJS, H as resolveUserExternal, I as resolveBuildEnvironmentOptions, K as toOutputFilePathWithoutRuntime, L as resolveBuildOutputs, M as createToImportMetaURLBasedRelativeRuntime, N as enhanceRollupError, O as buildEnvironmentOptionsDefaults, P as injectEnvironmentToHooks, R as resolveBuildPlugins, T as BuildEnvironment, U as toOutputFilePathInCss, V as resolveRolldownOptions, W as toOutputFilePathInHtml, j as createBuilder, k as builderOptionsDefaults, z as resolveBuilderOptions } from "./node.js";
export { createBuilder, resolveBuildPlugins };
import "./logger.js";
import { _ as resolveDevEnvironmentOptions, d as defineConfig, f as getDefaultEnvironmentOptions, g as resolveConfig, h as resolveBaseUrl, m as loadConfigFromFile, p as isResolvedConfig, v as resolveDevToolsConfig, y as sortUserPlugins } from "./node.js";
export { resolveConfig };

Sorry, the diff of this file is too big to display

import "./logger.js";
import { $ as depsLogString, J as addOptimizedDepInfo, Q as depsFromOptimizedDepInfo, X as createIsOptimizedDepFile, Y as cleanupDepsCacheStaleDirs, Z as createIsOptimizedDepUrl, at as isDepOptimizationDisabled, ct as optimizeExplicitEnvironmentDeps, dt as optimizedDepNeedsInterop, et as discoverProjectDependencies, ft as runOptimizeDeps, it as initDepsOptimizerMetadata, lt as optimizedDepInfoFromFile, nt as getDepsCacheDir, ot as loadCachedDepOptimizationMetadata, pt as toDiscoveredDependencies, q as addManuallyIncludedOptimizeDeps, rt as getOptimizedDepPath, st as optimizeDeps, tt as extractExportsData, ut as optimizedDepInfoFromId } from "./node.js";
export { optimizeDeps };
import "./logger.js";
import { S as resolvePreviewOptions, x as preview } from "./node.js";
export { preview };
import "./logger.js";
import { _t as createServerCloseFn, bt as serverConfigDefaults, gt as createServer, ht as _createServer, vt as resolveServerOptions, yt as restartServerWithUrls } from "./node.js";
export { createServer };
+4
-4
import "@vite/env";
//#region \0@oxc-project+runtime@0.113.0/helpers/typeof.js
//#region \0@oxc-project+runtime@0.114.0/helpers/typeof.js
function _typeof(o) {

@@ -14,3 +14,3 @@ "@babel/helpers - typeof";

//#endregion
//#region \0@oxc-project+runtime@0.113.0/helpers/toPrimitive.js
//#region \0@oxc-project+runtime@0.114.0/helpers/toPrimitive.js
function toPrimitive(t, r) {

@@ -28,3 +28,3 @@ if ("object" != _typeof(t) || !t) return t;

//#endregion
//#region \0@oxc-project+runtime@0.113.0/helpers/toPropertyKey.js
//#region \0@oxc-project+runtime@0.114.0/helpers/toPropertyKey.js
function toPropertyKey(t) {

@@ -36,3 +36,3 @@ var i = toPrimitive(t, "string");

//#endregion
//#region \0@oxc-project+runtime@0.113.0/helpers/defineProperty.js
//#region \0@oxc-project+runtime@0.114.0/helpers/defineProperty.js
function _defineProperty(e, r, t) {

@@ -39,0 +39,0 @@ return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {

@@ -570,3 +570,3 @@ import { o as __toESM } from "./chunks/chunk.js";

filterDuplicateOptions(options);
const { createServer } = await import("./chunks/fetchableEnvironments.js").then((n) => n.x);
const { createServer } = await import("./chunks/server.js");
try {

@@ -628,3 +628,3 @@ const server = await createServer({

filterDuplicateOptions(options);
const { createBuilder } = await import("./chunks/fetchableEnvironments.js").then((n) => n.h);
const { createBuilder } = await import("./chunks/build.js");
const buildOptions = cleanGlobalCLIOptions(cleanBuilderCLIOptions(options));

@@ -654,4 +654,4 @@ try {

filterDuplicateOptions(options);
const { resolveConfig } = await import("./chunks/fetchableEnvironments.js").then((n) => n.r);
const { optimizeDeps } = await import("./chunks/fetchableEnvironments.js").then((n) => n.v);
const { resolveConfig } = await import("./chunks/config.js");
const { optimizeDeps } = await import("./chunks/optimizer.js");
try {

@@ -673,3 +673,3 @@ await optimizeDeps(await resolveConfig({

filterDuplicateOptions(options);
const { preview } = await import("./chunks/fetchableEnvironments.js").then((n) => n.u);
const { preview } = await import("./chunks/preview.js");
try {

@@ -676,0 +676,0 @@ const server = await preview({

import { F as defaultAllowedOrigins, N as VERSION, _ as DEFAULT_SERVER_CONDITIONS, d as DEFAULT_CLIENT_MAIN_FIELDS, h as DEFAULT_EXTERNAL_CONDITIONS, n as createLogger, u as DEFAULT_CLIENT_CONDITIONS, v as DEFAULT_SERVER_MAIN_FIELDS } from "./chunks/logger.js";
import { A as createIdResolver, B as perEnvironmentPlugin, C as DevEnvironment, D as formatPostcssSourceMap, E as fetchModule, F as loadEnv, G as normalizePath, H as isCSSRequest, I as resolveEnvPrefix, J as withFilter, K as rolldownVersion, L as transformWithOxc, M as createServerModuleRunner, N as createServerModuleRunnerTransport, O as preprocessCSS, P as buildErrorMessage, R as transformWithEsbuild, S as send, T as isFileServingAllowed, U as mergeAlias, V as createFilter, W as mergeConfig, _ as optimizeDeps, a as loadConfigFromFile, b as createServer, c as runnerImport, d as createRunnableDevEnvironment, f as isRunnableDevEnvironment, g as createBuilder, i as defineConfig, j as ssrTransform, k as searchForWorkspaceRoot, l as preview, m as build, n as isFetchableDevEnvironment, o as resolveConfig, p as BuildEnvironment, q as rollupVersion, s as sortUserPlugins, t as createFetchableDevEnvironment, w as isFileLoadingAllowed, y as createServerHotChannel, z as perEnvironmentState } from "./chunks/fetchableEnvironments.js";
import { parseAst as parseAst$1, parseAstAsync as parseAstAsync$1 } from "rolldown/parseAst";
import { esmExternalRequirePlugin } from "rolldown/plugins";
import { minify, minifySync, parse, parseSync } from "rolldown/utils";
import { At as ssrTransform, Bt as createFilter, C as createRunnableDevEnvironment, Ct as isFileLoadingAllowed, D as build, Dt as preprocessCSS, Et as formatPostcssSourceMap, Ft as resolveEnvPrefix, Gt as rolldownVersion, Ht as mergeAlias, It as transformWithOxc, Kt as rollupVersion, Lt as transformWithEsbuild, Mt as createServerModuleRunnerTransport, Nt as buildErrorMessage, Ot as searchForWorkspaceRoot, Pt as loadEnv, Rt as perEnvironmentState, St as DevEnvironment, T as BuildEnvironment, Tt as fetchModule, Ut as mergeConfig, Vt as isCSSRequest, Wt as normalizePath, a as parse, b as runnerImport, c as parseSync, d as defineConfig, g as resolveConfig, gt as createServer, i as minifySync, j as createBuilder, jt as createServerModuleRunner, kt as createIdResolver, l as createFetchableDevEnvironment, m as loadConfigFromFile, mt as createServerHotChannel, n as esmExternalRequirePlugin, o as parseAst, qt as withFilter, r as minify, s as parseAstAsync, st as optimizeDeps, t as esbuildVersion, u as isFetchableDevEnvironment, w as isRunnableDevEnvironment, wt as isFileServingAllowed, x as preview, xt as send, y as sortUserPlugins, zt as perEnvironmentPlugin } from "./chunks/node.js";
//#region src/node/index.ts
/** @deprecated - use `parse` instead */
const parseAst = parseAst$1;
/** @deprecated - use `parseAsync` instead */
const parseAstAsync = parseAstAsync$1;
const esbuildVersion = "0.25.0";
//#endregion
export { BuildEnvironment, DevEnvironment, build, buildErrorMessage, createBuilder, createFetchableDevEnvironment, createFilter, createIdResolver, createLogger, createRunnableDevEnvironment, createServer, createServerHotChannel, createServerModuleRunner, createServerModuleRunnerTransport, defaultAllowedOrigins, DEFAULT_CLIENT_CONDITIONS as defaultClientConditions, DEFAULT_CLIENT_MAIN_FIELDS as defaultClientMainFields, DEFAULT_EXTERNAL_CONDITIONS as defaultExternalConditions, DEFAULT_SERVER_CONDITIONS as defaultServerConditions, DEFAULT_SERVER_MAIN_FIELDS as defaultServerMainFields, defineConfig, esbuildVersion, esmExternalRequirePlugin, fetchModule, formatPostcssSourceMap, isCSSRequest, isFetchableDevEnvironment, isFileLoadingAllowed, isFileServingAllowed, isRunnableDevEnvironment, loadConfigFromFile, loadEnv, mergeAlias, mergeConfig, minify, minifySync, ssrTransform as moduleRunnerTransform, normalizePath, optimizeDeps, parse, parseAst, parseAstAsync, parseSync, perEnvironmentPlugin, perEnvironmentState, preprocessCSS, preview, resolveConfig, resolveEnvPrefix, rolldownVersion, rollupVersion, runnerImport, searchForWorkspaceRoot, send, sortUserPlugins, transformWithEsbuild, transformWithOxc, VERSION as version, withFilter };

@@ -1101,3 +1101,4 @@ let SOURCEMAPPING_URL = "sourceMa";

let meta = mod.meta, moduleId = meta.id, { importers } = mod, importee = callstack[callstack.length - 1];
if (importee && importers.add(importee), (callstack.includes(moduleId) || this.isCircularModule(mod) || this.isCircularImport(importers, moduleId)) && mod.exports) return this.processImport(mod.exports, meta, metadata);
if (importee && importers.add(importee), mod.evaluated && mod.promise) return this.processImport(await mod.promise, meta, metadata);
if ((callstack.includes(moduleId) || this.isCircularModule(mod) || this.isCircularImport(importers, moduleId)) && mod.exports) return this.processImport(mod.exports, meta, metadata);
let debugTimer;

@@ -1104,0 +1105,0 @@ this.debug && (debugTimer = setTimeout(() => {

{
"name": "vite",
"version": "8.0.0-beta.14",
"version": "8.0.0-beta.15",
"type": "module",

@@ -63,8 +63,7 @@ "license": "MIT",

"dependencies": {
"@oxc-project/runtime": "0.113.0",
"fdir": "^6.5.0",
"@oxc-project/runtime": "0.114.0",
"lightningcss": "^1.31.1",
"picomatch": "^4.0.3",
"postcss": "^8.5.6",
"rolldown": "1.0.0-rc.4",
"rolldown": "1.0.0-rc.5",
"tinyglobby": "^0.2.15"

@@ -79,6 +78,5 @@ },

"@jridgewell/trace-mapping": "^0.3.31",
"@oxc-project/types": "0.113.0",
"@oxc-project/types": "0.114.0",
"@polka/compression": "^1.0.0-next.25",
"@rollup/plugin-alias": "^5.1.1",
"@rollup/plugin-commonjs": "^29.0.0",
"@rollup/plugin-alias": "^6.0.0",
"@rollup/plugin-dynamic-import-vars": "2.1.4",

@@ -85,0 +83,0 @@ "@rollup/pluginutils": "^5.3.0",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display