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

@vercel/remix

Package Overview
Dependencies
Maintainers
9
Versions
137
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vercel/remix - npm Package Compare versions

Comparing version 2.7.2-preset.1 to 2.7.2-preset.2

13

dist/vite.js

@@ -34,3 +34,2 @@ /**

let entryServerPath;
let addedEntryServer = false;
let routeConfigs = new Map();

@@ -65,10 +64,4 @@ let bundleConfigs = new Map();

let appDirectory = remixUserConfig.appDirectory ?? "app";
let entryServerFile = fs.readdirSync(appDirectory).find(f => path.basename(f, path.extname(f)) === 'entry.server');
if (entryServerFile) {
entryServerPath = path.join(appDirectory, entryServerFile);
} else {
entryServerPath = path.join(appDirectory, "entry.server.jsx");
addedEntryServer = true;
fs.cpSync(path.join(__dirname, "defaults/entry.server.jsx"), entryServerPath);
}
entryServerPath = path.join(appDirectory, "entry.server.jsx");
fs.cpSync(path.join(__dirname, "defaults/entry.server.jsx"), entryServerPath);
}

@@ -87,3 +80,3 @@ config = flattenAndSort(config);

}) => {
if (addedEntryServer && entryServerPath) {
if (entryServerPath) {
fs.rmSync(entryServerPath);

@@ -90,0 +83,0 @@ }

{
"name": "@vercel/remix",
"version": "2.7.2-preset.1",
"version": "2.7.2-preset.2",
"description": "Isomorphic runtime + adapter for Remix on Vercel",

@@ -5,0 +5,0 @@ "repository": {

@@ -34,3 +34,2 @@ /**

let entryServerPath;
let addedEntryServer = false;
let routeConfigs = new Map();

@@ -65,10 +64,4 @@ let bundleConfigs = new Map();

let appDirectory = remixUserConfig.appDirectory ?? "app";
let entryServerFile = fs.readdirSync(appDirectory).find(f => path.basename(f, path.extname(f)) === 'entry.server');
if (entryServerFile) {
entryServerPath = path.join(appDirectory, entryServerFile);
} else {
entryServerPath = path.join(appDirectory, "entry.server.jsx");
addedEntryServer = true;
fs.cpSync(path.join(__dirname, "defaults/entry.server.jsx"), entryServerPath);
}
entryServerPath = path.join(appDirectory, "entry.server.jsx");
fs.cpSync(path.join(__dirname, "defaults/entry.server.jsx"), entryServerPath);
}

@@ -87,3 +80,3 @@ config = flattenAndSort(config);

}) => {
if (addedEntryServer && entryServerPath) {
if (entryServerPath) {
fs.rmSync(entryServerPath);

@@ -90,0 +83,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